# Boxcar averager

Block diagram of boxcar averager.

A boxcar averager (alternative names are gated integrator and boxcar integrator) is an electronic test instrument that integrates the signal input voltage after a defined waiting time (trigger delay) over a specified period of time (gate width) and then averages over multiple integration results (samples) – for a mathematical description see boxcar function.

Zurich Instruments boxcar averager.

The main purpose of this measurement technique is to improve signal to noise ratio in pulsed experiments with often low duty cycle by the following three mechanisms: 1) signal integration acts as a first averaging step that strongly suppresses noise components with a frequency of the reciprocal gate width and higher, 2) time-domain based selection of signal parts that actually carry information of interest and neglect of all signal parts where only noise is present, and 3) averaging over a defined number of periods provides low-pass filtering and convenient adjustment of time resolution.

Artifex Engineering gated integrator
Timing diagram of a boxcar averager.

Similar to lock-in amplifiers, boxcar averagers are mostly used for the analysis of periodic signals. Whereas the lock-in can be understood as sophisticated band pass filters with adjustable center frequency and bandwidth, the boxcar averager allows to define the signal of interest and resulting time resolution mostly in the time domain.

## Principle of operation

The boxcar operation is defined by a trigger delay, a gate width and the number of trigger events (i.e., samples) that are averaged over in the buffer.

The principle of operation can be understood as a two-step process: signal integration over the desired gate width and averaging the integrated signal over a defined amount of periods/trigger events

Considering a simple implementation of the core circuitry looks like regular RC low-pass filter that can be gated by a switch S.

Equivalent circuit diagram describing the core functionality of a gated integrator.

Provided the filter time constant τ = RC is set to sufficiently large values with respect to the gate width, the output voltage is to a good approximation the integral of the input signal with a signal bandwidth of B = 1/(4RC). The output of this filter can then be subjected to another analog circuit for subsequent averaging. After each trigger event this sampling circuit has to be set back before receiving the next pulse. The time it takes for this reset is one of the major speed limitations for analog implementations, where maximum trigger rates of a few 10 kHz are typical even though the gate width itself can be as low as a few ten picoseconds and delay is set to zero.

## History

The origin of the boxcar averager dates back to as early as 1950 where the technique helped to improve signal quality in experiments investigating nuclear magnetic resonances with pulsed schemes.[1]). The first reported application of "boxcar circuits to NMR was Holcomb and Norberg".[2][3] In their 1955 paper Holcomb and Norberg credit the invention of the “boxcar integrator” to a large extent to L. S. Kypta and H. W. Knoebel.[citation needed]

## References

1. ^ D. Ware and P. Mansfield mention in a publication of 1966 “Much of the early work on “boxcar” circuits, including a theoretical analysis is contained in J. L. Lawson and G. E. Uhlenbeck, Threshold Signals, MIT Radiation Laboratory Series (McGraw-Hill Book Company, Inc., New York, 1950; J. L. Lawson and G. E. Uhlenbeck, Threshold Signals, MIT Radiation Laboratory Series (McGraw-Hill Book Company, Inc., New York, 1950
2. ^ Holcomb, D. F.; Norberg, R. E. (1955-05-15). "Nuclear Spin Relaxation in Alkali Metals". Physical Review. American Physical Society (APS). 98 (4): 1074–1091. doi:10.1103/physrev.98.1074. ISSN 0031-899X.
3. ^ Ware, D.; Mansfield, P. (1966). "High Stability Boxcar Integrator for Fast NMR Transients in Solids". Review of Scientific Instruments. AIP Publishing. 37 (9): 1167–1171. doi:10.1063/1.1720449. ISSN 0034-6748.