Professional Documents
Culture Documents
Home (https://resources.pcb.cadence.com/)
»
Blog (https://resources.pcb.cadence…
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.
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-
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-
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.
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.
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.
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…
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
Media Center
Newsroom
Blogs
Forums
Contact Us
General Inquiry
Customer Support
Media Relations
Email
LEARN MORE
(http://www5.cadence.co
Golden-Demo-
Subscribe
Connect with us