Several people asked for more information about anti-alias filters used with analog-to-digital converters to remove unwanted signals. This column describes a filter-selection “gotcha,” and includes references to anti-alias-filter information. An example in a previous column explained how to use the upper frequency of the signals you want to measure along with the dynamic range of an ADC to determine characteristics needed for an anti-alias-filter.
Suppose you have a 16-bit ADC (96 dB dynamic range) and want to digitize signals between 0Hz and 1,500Hz. In a 2-pole Butterworth filter with a cutoff, or corner, frequency (fc) of 1,500Hz, attenuation doesn’t reach -96 dB until about 377kHz. An 8-pole Butterworth low-pass filter, with a 1,500Hz cutoff frequency, provides a -96 dB attenuation at 6,000Hz. So the more poles in a filter, the narrower the bandwidth of signals for the ADC -- the condition you want.
This plot shows attenuation for an 8-pole Butterworth filter with a 2,000Hz cutoff frequency.
Filter specifications, however, define cutoff frequency as the point where attenuation reaches -3 dB, or 0.707 times the original signal. In both filters described above, a signal at 1,500Hz will lose 30 percent of its amplitude. So, ignore the cutoff frequency and specify a filter that doesn’t attenuate any signals at or below the 1,500Hz limit used in the above examples. Microchip’s FilterLab software created a 2-pole Butterworth filter with a 4,560Hz cutoff frequency. No attenuation occurs up to 1,500Hz and attenuation reaches -96 dB at about 1MHz. That’s a wide bandwidth.
An 8-pole Butterworth low-pass filter will work better. Attenuation to -96 dB occurs at 8,000Hz instead of at 1 MHz, and the filter has a cutoff of 2,000Hz (see figure). The narrower bandwidth means less noise above 1,500Hz, and no aliased data for signals above 8,000Hz.
Four filter types -- Butterworth, Bessel, Chebyshev, and Elliptic -- answer most anti-aliasing needs. Butterworth and Bessel filters have a flat amplitude response over the pass band, although Bessel filters have a slower attenuation rate. Elliptical and Chebyshev filters introduce amplitude ripple in the pass band, but have steeper attenuation above the cutoff frequency.
Keep in mind all real-world filters have some time delay, or phase shift, between their input and output, and the delay depends on the frequency of the input signal. A low-pass Bessel filter, for example, has a linear phase delay across its pass band. When you must preserve phase and time relationships between signals, a linear-phase filter will work well.
Hi, Rob. You can get some unusual results because signals at higher frequencies alias, or fold, into the bandwidth over which you want to make measurements. The alising arises from the sampling of signals at discrete time intervals. Upcoming columns get into more details and explain how to use aliasing to "shift" signals to lower "frequencies" on purpose. Stay tuned. --Jon
Hi Jon, As always, great technical article. I'll definitely be waiting for the additional articles on Anti-Alias Filters so I can share this information with my Integrated Circuits class at ITT Tech Institute. Keep the tech articles coming!
Correct, Rob. Information at higher frequencies (or outside the bandwidth of interest) can interfere with sampled data if not removed with a filter beforehand.
IF there are signals with frequency content above the Nyquist frequency ( half the sample rate ), AND analog anti-aliasing filtering is not used prior to Analog to Digital Conversion, the signals will appear as signals between DC and the Nyquist frequency ... AND once digitized, the aliased signals cannot be separated nor recognized as being invalid - can be a Major issue.
From my experience anti-alias filtering is usually a compromise and typically you set the sample rate higher than the desired max needed frequency to allow some roll-off without significantly compromising the data of interest.
Modern ADC systems typically sample at their max rate and use anti-alias filters set appropriately high... the data is then Digitally low pass filtered and Decimated to create lower effective sample rates with no analog anti-aliasing filter artifacts...
The Machinist Calc Pro computes speeds and feed rates for milling, turning, and drilling: cutting speed, spindle speed, feed rate (inches/minute), cutting feed, etc.
During a recent meeting with engineering-school faculty and alumni, Contributing Technical Editor Jon Titus talked about whether colleges should educate generalists or specialists. What do you think?
From Dell / Intel® New Paradigms in Design Work Scott Hamilton, vertical market strategist for Dell Precision workstations, 5/2/2013 3
Early in my career, I worked as a draftsman and remember the days of drawing on vellum with numbered pencils and Mylar with plastic lead. This was a fun experience in the sense that I ...
I've been using workstations for more than 10 years and love finding ways to get more performance from my system. With demanding professional applications that require more power each ...
A lasting memory from my first job as an engineer in an auto assembly plant is standing on hard concrete at six in the morning, vending-machine coffee clutched in hand, listening to ...
A quick look into the merger of two powerhouse 3D printing OEMs and the new leader in rapid prototyping solutions, Stratasys. The industrial revolution is now led by 3D printing and engineers are given the opportunity to fully maximize their design capabilities, reduce their time-to-market and functionally test prototypes cheaper, faster and easier. Bruce Bradshaw, Director of Marketing in North America, will explore the large product offering and variety of materials that will help CAD designers articulate their product design with actual, physical prototypes. This broadcast will dive deep into technical information including application specific stories from real world customers and their experiences with 3D printing. 3D Printing is
To save this item to your list of favorite Design News content so you can find it later in your Profile page, click the "Save It" button next to the item.
If you found this interesting or useful, please use the links to the services below to share it with other readers. You will need a free account with each service to share an item via that service.