You are on page 1of 8

Learn By Topic Design Insights Product Videos

Training Videos (https://resources.pcb.cadence.com/trainingvideos)

Latest Blogs (https://resources.pcb.cadence.com/blog) Contact Us (https://www5.cadence.com/contact_us.html)


 

Home (https://resources.pcb.cadence.com/)
»
Blog (https://resources.pcb.cadence…

Anti-aliasing Filter Design and


LEARN MORE
Applications
(http://www5.cadence.co
Golden-Demo- in Sampling
CADENCE PCB SOLUTIONS (HTTPS://RESOURCES.PCB.CADENCE.COM/AUTHORS/CADENCE-PCB-SOLUTIONS)

Aliasing is a well-known phenomenon in digital photography, but it also arises in analog-to-


digital conversion.

Whenever I watched car commercials where the camera pans along the driving vehicle, there
was always one particular speed where the spokes in the wheels appeared to remain
stationary or even move backwards. When I was younger, I racked my brain trying to figure
out how this was possible and why viewing the wheels on camera made a difference. I later
learned about sampling rates with digital systems and how this leads to a phenomenon
called aliasing.
When aliasing occurs, the signal you’re trying to sample appears to have a constant level, i.e.,
you cannot observe an oscillation. This happens when the sampling period is equal to the
oscillation period, and the sampling device will only reliably measure a fixed signal. This
problem can be overcome in a few ways, depending on the harmonic content of your analog
signal and the speed of your system.

Anti-aliasing Filter Design Points

An anti-aliasing filter is effectively a low-pass filter that is placed on the input of an analog-
digital converter (ADC) (https://resources.orcad.com/schematic-capture-circuit-
simulation/2019-beginner-tips-for-a-precise-analog-to-digital-conversion-circuit). In
theory, any type of active low-pass filter with unity gain can be used as an anti-aliasing filter.
LEARN MORE
Any anti-aliasing filter design intends to remove high frequency content from the signal you
(http://www5.cadence.co
wantGolden-Demo-
to sample with the goal of preventing aliasing. In this way, the goal in anti-aliasing filter
design is to set the filter’s -3 dB cutoff frequency equal to half the sampling frequency.

When sampling an analog signal with a specific center frequency, aliasing will occur if the
sampling frequency is less than double the center frequency. In other words, if the signal’s
center frequency is more than half the sampling frequency, then aliasing will occur, and the
ADC will detect a low alias frequency signal in error, rather than detecting the desired center
frequency of the input high frequency signal. In the case when aliasing occurs, the ADC will
output a series of digital pulses that quantifies a signal with frequency equal to the
difference between the sampling rate and the center frequency. This particular sampling
frequency at which the system can prevent aliasing is called the Nyquist frequency.

The relationship between accuracy in the detected signal and the sampling rate is shown in
the image below. As long as your sampling rate is high enough (more than double the signal
frequency), you can always detect the signal with high accuracy; quantization becomes
more accurate as long as you do not increase the noise level. The tradeoff here is that the
ADC uses more power, so it generates more heat.

 
LEARN MORE
(http://www5.cadence.co
Golden-Demo-

Accuracy in signal sampling as the sampling rate increases.

Sinusoidal vs. Arbitrary Analog Signals

If you’re trying to sample a perfect sinusoid (https://resources.pcb.cadence.com/blog/2019-


considering-a-sinusoidal-source-in-circuit-analysis-and-design), the only job of an anti-
aliasing filter is to remove noise. You are effectively trying to sample a single sinusoidal
frequency, and you’ll only need to set the sampling rate to at least double the signal
frequency. Your primary consideration at this point should be to use a device with the
correct resolution and remove noise in order to prevent quantization errors.

If you’re working with an arbitrary analog signal, such as an RF pulse for radio-over-fiber or a
voltage impulse for a laser driver circuit, your application might require sampling the signal
as part of a feedback loop or signal conditioning loop. Arbitrary signals contain harmonic
components that are spread out over a broad spectrum, and the frequency content may
exceed the Nyquist frequency. This means any frequency content you try to sample above
the Nyquist frequency will cause aliasing. When the input signal is quantified, the digital
output will reflect a distorted version of the original input.

This issue with sampling and aliasing is illustrated in the figure below. The graph shows a
spectrum for an arbitrary signal (red curve). Note that the sampling rate (fs) is set higher
than the end of the spectrum. However, the Nyquist frequency (half the sampling rate) falls
into the middle of the spectrum. Any frequency components below the Nyquist frequency
can be accurately sampled, while all higher order frequencies will be aliased and will be
interpreted incorrectly as low frequency components by the ADC.
 

LEARN MORE
(http://www5.cadence.co
Golden-Demo-

Schematic showing aliasing and distortion with an arbitrary analog signal

In this example situation, you have two options to prevent the digitized output from failing to
accurately reflect the input analog signal:

1. Increase the sampling rate so that the Nyquist frequency is larger than the end of the
frequency spectrum. As arbitrary signals have frequency content that extends out to
infinity, you cannot increase the sampling rate to infinity. The other option is to choose a
suitable maximum frequency that you need to sample. This brings us to the second
point...

2. You should use an anti-aliasing filter to remove all frequency content greater than the
Nyquist frequency.

This second point should illustrate the advantage of an anti-aliasing filter. An anti-aliasing
filter is just a low pass filter (https://resources.pcb.cadence.com/blog/2019-low-pass-filter-
transfer-functions) with the cutoff frequency (i.e., the -3 dB frequency) set to the Nyquist
frequency. This filter cuts out any higher order frequency content in the input signal as any
frequencies higher than the Nyquist frequency would be aliased. With these frequencies
removed from the signal, the ADC can now sample the remaining harmonic content without
creating false low-frequency errors.

Designing an Anti-aliasing Filter For Use With an ADC


Anti-aliasing filters are typically designed as higher order active filters using a low-noise op-
amp. The goal is to design the filter with unity gain across the pass band and to set the -3 dB
cutoff frequency to be set precisely equal to the Nyquist frequency, which in turn is half your
intended sampling rate. If you are using an adjustable ADC, always set the -3 dB cutoff to
correspond to the Nyquist frequency for the smallest sampling frequency you intend to use
in your system.

Anti-aliasing filter design is all about engineering the transfer function for an active filter.
This can be as simple as selecting a wideband op-amp and wiring a low pass RC filter to the
non-inverting input. A slightly more advanced design is to use higher order filtering as this
will provide stronger rolloff beyond the -3 dB point in a Bode plot
(https://resources.pcb.cadence.com/blog/2019-generating-and-understanding-bode-plots-
LEARN MORE
in-filter-and-amplifier-design). An example is shown below.
(http://www5.cadence.co
Golden-Demo-
 

Example second order active low-pass filter that can be used as an anti-aliasing filter.

In the case your signal chain has high noise floor


(https://resources.pcb.cadence.com/blog/2019-identifying-noise-sources-to-reduce-the-
noise-floor-in-your-pcb), you can always increase the sampling rate to spread noise out over
a larger bandwidth, and then pass the signal through an anti-aliasing filter with the desired
cutoff frequency. This is one way to work with noisy signals with an ADC and an anti-aliasing
filter. 

This also allows you to use an anti-aliasing filter with a lower cutoff frequency alongside an
ADC with adjustable sampling rate. In the event that the noise floor becomes too high, you
can increase the sampling rate while keeping the cutoff frequency at the original value. This
spreading of noise over a broader bandwidth reduces the level of noise that propagates to
the ADC output, which reduces quantization error and allows higher resolution to be used.

Creating an anti-aliasing filter and bringing it into your application is much easier when you
the right PCB design and analysis software (https://www.cadence.com/content/cadence-
www/global/en_US/home/tools/pcb-design-and-analysis.html). OrCAD PSpice Simulator
(https://www.orcad.com/pspice-free-trial) and Cadence’s full suite of analysis tools
(https://www.cadence.com/content/cadence-www/global/en_US/home/tools/pcb-design-
and-analysis/si-pi-analysis-point-tools.html) allow you to simulate the behavior of your
signal chain and how your filter will sample analog signals. You’ll also have access to
manufacturer part search tools as you select the components you need for an anti-aliasing
filter and gain the ability to quickly associate a PSpice model to these filters if you do not
already find a simulation model for them.

If you’re looking to learn more about how Cadence has the solution for you, talk to us and our
team of experts (https://www5.cadence.com/Contact-Us.html). You can also visit
our YouTube channel (https://www.youtube.com/playlist?
list=PLt_iQPAivTWCRO1VLly0p1LOdIt889Y3G) for videos about Simulation and System
Analysis as well as check out what’s new with our suite of design and analysis tools.

LEARN MORE
(http://www5.cadence.co
About the Author
Golden-Demo-

Cadence PCB solutions is a complete front to back design tool to enable fast and efficient product creation.
Cadence enables users accurately shorten design cycles to hand off to manufacturing through modern, IPC-
2581 industry standard.

Follow on Linkedin (https://www.linkedin.com/company/cadencepcb)

Visit Website (https://www.cadence.com/content/cadence-www/global/en_US/home/tools/pcb-design-and-analysis.html)

More Content by Cadence PCB Solutions (https://resources.pcb.cadence.com/authors/cadence-pcb-solutions)

PREVIOUS ARTICLE
(https://resources.pcb.cadence.com/blog/2020-frequency- NEXT ARTICLE
(https://resources.pcb.cadence.com/blog/2020-modeling-a-
mixer-circuits-applications-and-topology-types) relay-with-diode-for-surge-protection)
Frequency Mixer Circuits: Appli… Modeling a Relay with Diode for…
Frequency mixer circuits offers superior frequ… The transient analysis tools in PSpice are ide…

MOST RECENT ARTICLES


(https://resources.pcb.cadence.co (https://resources.pcb.cadence.co (https://resources.pcb.cadence.co (https://resour
real-world-applications-of- how-to-stop-radio-frequency- an-overview-of-frequency- co-channel-in
cloud-software) interference) bands-and-their-applications) crosstalk-in-m
communicatio

Real World Applications How to Stop Radio An Overview of Co-Chann


of Cloud Software Frequency Interference Frequency Bands and Interferen
Their Applications Crosstalk i
Cloud software opens up Learn how to stop radio Communic
a whole new range of frequency interference Learn more about
possibilities for advanced by using shielding, electromagnetic Learn more
tools including those filtering, or grounding frequency bands and susceptibil
used in engineering
Read Article techniques.
Read Article their many
Read applications in
Article Read Art
communic
development our brief article crosstalk a

Return to Home (https://resources.pcb.cadence.com/)


A Great Place to Do Great Work!
Seventh year on the FORTUNE 100 list
Our Culture
Join The Team

Products
LEARN MORE
(http://www5.cadence.co Custom IC and RF
Golden-Demo-
Digital Design and Signoff

IC Package

IP

PCB Design

System Analysis

Verification

All Products

Company

About Us

Events

Leadership Team

Investor Relations

Alliances

Careers

Cadence Academic Network

Media Center

Newsroom

Designed with Cadence

Blogs

Forums
Contact Us

General Inquiry

Customer Support

Media Relations

Global Office Locator

Subscribe to Monthly Newsletter

Email
LEARN MORE
(http://www5.cadence.co
Golden-Demo-
Subscribe

© 2022 Cadence Design Systems, Inc. All Rights Reserved.


Terms of Use | Privacy Policy | US Trademarks | Do Not Sell My Personal
Information

Connect with us
   

You might also like