The Boxcar averaging function smooths out high frequency noise to give a clear signal. It is most useful in situations where signals have been oversampled and it can be used to increase vertical resolution, lower noise and improve dynamic characteristics such as signal-to-noise ratio (SNR) and spurious free dynamic range (SFDR). It uses a mathematical signal processing function to effectively recalculate the vertical value of each acquired data point by averaging it with adjacent sample points.
The top trace (blue) shows a sine wave with a significant level of noise. The signal displays the raw data that has been acquired by an M4i.4450 digitizer with a resolution of 14 Bits and a sampling rate of 500 MS/s. The middle trace (orange) and lower trace (red) show the effect of applying Boxcar averaging functions to the raw data using 8 and 64 adjacent points respectively. Both of the averaged traces display significantly lower noise levels.
To allow maximum flexibility, the Boxcar function allows users to select the number of adjacent points to be averaged from 2 to 256. The averaged data is subsequently stored with higher resolution by an amount that is proportional to the number of points selected. For example, selecting two adjacent points would increase the resolution of a 16 Bit digitizer to that equivalent to 17 Bits, selecting four adjacent points equates to 18 Bits and selecting the maximum 256 points would produce a theoretical 24 Bits.
The downside of Boxcar averaging is that the averaged waveforms are effectively filtered so that some high-frequency signal content may be lost. However, if the signals of interest are at frequencies well below the sampling rate of the digitizer, then the technique offers a number of advantages. For example, unlike traditional averaging methods, Boxcar averaging works for single shot acquisitions without the need for multiple trigger events or a repeatable signal. Boxcar averaged waveforms are also decimated (by the averaging factor) so that stored waveforms are reduced in size and can be transferred and processed faster. Even though the resulting waveforms are decimated, the Spectrum implementation makes sure that the trigger detection is still running with full sampling speed so that there is always a very precise timing relationship between the averaged signal and the trigger position.
The Boxcar averaging mode is fully programmable with Spectrum’s standard drivers that support all of the most common programming languages. For those users not wanting to write their own programs, Spectrum offers SBench 6-Pro, an easy-to-use, graphical user interface. SBench 6 provides control of all the digitizer’s operating modes and settings. It displays, stores and processes waveforms and can even be used to document results.