|
|
|
Acceleration Data
Acquisition Acceleration data
acquisition systems can profit from built-in John C. Cole, Most acceleration measurement applications use a successive approximation (SA) analog-to-digital (A/D) converter, preceded by an anti-aliasing filter, to convert the data into a collectible form. The resulting digital data are then either analyzed in sampled form or further processed to reduce their storage size. Often, a microprocessor is used to compute spectral content by means of a fast Fourier transform (FFT) or the root-mean-square (rms) value of the sampled data. Unfortunately, the budget for such applications is often exceeded when the cost of the requisite anti-aliasing filters is factored in. If the anti-aliasing function could be incorporated into the microprocessor portion of the system, high performance could be retained at a low overall system cost. The objectives of this article are to describe the advantages of an acceleration data
acquisition (DA) system that uses a Conventional A/D System The anti-aliasing filter portions of conventional SA A/D-based systems have been widely discussed and as such are easily designed (see Figure 1). The problems with these filters are that they typically require a fair amount of PCB board space; they must be built with precision resistors and capacitors; and, in some cases, they require precision tuning of the component values. They are also not easily changed. The sensor is the device that measures the acceleration, converting that property into an electrical parameter such as voltage, current, resistance, or capacitance. The signal conditioning circuit converts the sensor output into a standardized electrical parameter such as a voltage between 5 V and +5 V. It typically contains circuits that adjust the gain, offset, and variation with temperature of the sensor's output. It may also include an analog anti-aliasing filter that limits the bandwidth of its output to a bandwidth of interest for the signal. An A/D converter is used to sample the output of the signal conditioner periodically at a particular rate. Most instrumentation applications use an SA A/D converter preceded by a sample-and-hold. Resolution is measured by the number of bits in the digital output of the A/D converter, typically from 8 bits to 16 bits.
sampling rate are preserved in the sample values. Frequency components above half the sample rate, referred to as the Nyquist frequency or Nyquist rate, are aliased or "folded" into the range between zero and the Nyquist frequency. The aliasing process essentially converts frequency components above the Nyquist frequency into noise that contaminates the signals below the Nyquist frequency. Once folding has occurred in the sampling process, aliased noise cannot be separated from the signal component by any subsequent filtering. Figure 2A is an example of an original signal spectrum, and 2B shows the spectrum after sampling. The high-frequency peak could be either from the acceleration present or from one of the noise sources mentioned above. Anti-Aliasing Filters. Anti-aliasing filters, applied before A/D conversion, are designed to reduce the aliased noise by reducing the amplitude of frequency components above the Nyquist frequency to acceptable values. These low-pass filters are designed to pass frequencies below the Nyquist rate and reject those above it. Figure 2C shows how a filter applied to the same signal used in Figure 2A reduces the aliased noise.
Quantization or truncation noise results from the limited number of discrete values that can be measured with the number of bits in the A/D converter. The instantaneous value of this noise is the difference between the actual signal and its quantized value. It is usually modeled as a random variable with a uniform distribution over ±1/2 of the least significant bit (LSB). Quantization noise can be modeled as additive white noise whose rms value is equal to 1/6 LSB and whose power is spread uniformly over the range of zero to the Nyquist frequency. Sampling Rate/Anti-Aliasing Filter Tradeoffs. To avoid aliasing noise, the anti-aliasing filter should have:
If we choose a sampling rate only slightly higher than twice the highest signal frequency of interest, then we need to have an anti-aliasing filter that cuts off very quickly at the Nyquist rate. Filters with a sharp cutoff at an exact frequency require a large number of operational amplifiers and highly accurate resistors and capacitors. On the other hand, if we choose a sampling rate equal to 810 * the highest frequency of interest, then the filter can have a cutoff over a wide frequency range. We can in fact even allow some aliasing as long as nothing is aliased into the frequency band of interest, since we can remove it after sampling using a sharp cutoff digital filter in software. So by increasing the sampling rate above its minimum value, we benefit by making it easier to design and implement the anti-aliasing filters. With reasonably high sampling rates, anti-aliasing filters actually may not be needed with most piezoresistive and capacitive MEMS accelerometers, since these accelerometers have a built-in two-pole mechanical filter that is typically in the 15 kHz range.
A block diagram of a first order
Oversampling. A Oversampling is beneficial in two ways. First, the very high Nyquist frequency means
that even the accelerometer's built-in mechanical filter is more than enough to prevent
aliasing of the acceleration data. Second, the very large quantization noise from a 1-bit
quantizer is spread over the very large frequency band up to the Nyquist rate, with the
result that only a small amount of the noise appears in the 010 Hz band of interest. In
a Decimation Filter. The high-rate stream of 0s and 1s is generally not useful for processing and storage. What is normally needed are 8- to 16-bit values at a much lower rate, say 100 Hz, a form similar to what one would get from an SA A/D converter. A decimation filter is used to make this conversion. Counter As a Decimation Filter. The simplest form of decimation filter is a counter. The counter is initially zeroed and then turned on to count the number of 1s during a period of time. The count value is recorded and the counter is rezeroed for the next period of time. A counter is particularly useful for low-frequency applications such as level sensors, which require high resolution. The zeros of a counter's transfer function correspond to frequencies that would alias to DC, the frequency of interest. Even for higher frequency applications, since sampling is usually done at about 810 * the highest frequency of interest, the frequency response is down more than an order of magnitude at the first frequency that would alias into the bandwidth of interest. Digital Decimation Filter. A generalized decimation filter performs
the same function as the anti-aliasing filter in a conventional A/D system. In a general
form, it is a digital, low-pass filter that takes as its input each single-bit sample. For
each input bit, which it considers either positive or negative full scale, it computes a
multiple-bit output value, say 1632 bits. Decimation by "n" is the process of
using only one of every n values calculated. To reduce the 500 kHz
As with the anti-aliasing filter, the cutoff frequency of the decimation filter is selected to some value larger than the highest frequency of interest and lower than half the final sampling rate. In addition to filtering out those frequencies that would alias into the band of interest, it also filters the out-of-band quantization noise. A counter, which is part of many microprocessors, can be used as a simple decimation filter. It counts the number of 1s during a time interval, T, at which time its value is recorded and the counter is reset to zero. The impulse response of this type of filter is a rectangular pulse that is zero except for the time interval 0T, which corresponds to a frequency response of sin(2¼fT)/2¼fT (see Figure 4). Low-bandwidth digital filters running at high rates require careful design to avoid
roundoff problems since coefficients are either small or very near 1.0. This problem can
be reduced by performing decimation in two steps. First, a counter is used to decimate
from the Benefits of a
First, the A/D converter is located at the sensor itself. By transferring data in digital form, between the sensor and data acquisition system, we eliminate all ambient noise pickup from hostile equipment environments. Accelerometers with a high power supply rejection ratio also reduce power supply noise in the sensor output. A digital decimation filter can be performed in software, and its frequency response is easily altered by changing the filter coefficients. The final sampling rate and number of bits are also software adjustable. Hardware anti-aliasing filters and a fixed resolution SA A/D are not so easily changed. The power consumption of a Implementation of a The analog output from any type of accelerometer can be used with The Model 1010 digital accelerometer, available in full-scale ranges of 5 g, 10 g, 25 g, 50 g, 100 g, and 200 g, operates on ~1 mA of current at 5 VDC. It has over 40 dB of power supply rejection, and operates over a 55°C to 125°C temperature range. Information on the 1010 and other Silicon Designs accelerometers is available at www.silicon designs.com Reference 1. Steven R. Norsworthy et al. 1997. Delta Sigma Data Converters, IEEE Press. John C. Cole is President, Silicon Designs, Inc., 1445 NW Mall St., Issaquah, WA 98027-5344; 425-391-8329, fax 425-391-0446, jcole@silicondesigns.com |
|
|