Signal Processing · Study · FE Electrical and Computer · FE → PE Prep
Signal Processing
5% of exam
Sampling and aliasing, Nyquist, analog filters, digital filters and Z-transforms.
3 concepts
A. Sampling
Sampling and the Nyquist Theorem
Why sampling above twice the highest frequency is mandatory, how aliasing folds energy down, and how anti-alias filtering and reconstruction recover the original signal.
Every digital signal processing chain begins with a decision that cannot be undone: how fast to sample. Sample fast enough and the discrete sequence carries every bit of information the original analog signal held; sample too slowly and high-frequency content is permanently disguised as low-frequency content — aliasing — with no algorithm able to recover the truth afterward. The FE-ECE exam tests this as the gateway to the whole Signal Processing topic, and the handbook states the rule compactly in its Instrumentation 'Sampling' note: the sample rate must exceed twice the highest frequency in the signal, fs>2fN
. Points are lost in the bookkeeping: confusing the signal's highest frequency with the Nyquist rate, or forgetting the folding that happens when the rule is broken.
Sampling rate and the sampling theorem
Sampling means recording the analog signal x(t) only at the instants t=nTs, producing the sequence x[n]=x(nTs). The sample rate is fs=1/Ts in samples per second (Hz). The Nyquist–Shannon sampling theorem says a band-limited signal whose highest frequency component is fmax is completely determined by its samples provided you sample strictly faster than twice that highest frequency. The handbook denotes the highest signal frequency fN and writes the requirement as fs>2fN.
fs=Ts1,fs>2fmax
Nyquist rate vs. Nyquist frequency
Two terms sit one factor of two apart and the exam exploits the confusion. The Nyquist rate is the minimum acceptable sampling rate, 2fmax — a property of the signal you are about to sample. The folding frequency is fs/2 — a property of the sampler you have chosen, the highest signal frequency that a given fs can represent without ambiguity. Read each problem for which one it is asking: 'minimum sample rate' means 2fmax; 'highest frequency that can be captured' means fs/2. A terminology caution: the FE handbook loosely uses 'Nyquist frequency' two different ways — in Instrumentation it labels the highest signal frequency fN that way (fs>2fN), and in 'Sampled Messages' it calls the rate 2W the Nyquist frequency; this guide uses the standard convention in which the folding frequency is fs/2.
fNyquist rate=2fmax,ffold=2fs
Aliasing: how the disguise happens
Sampling at rate fs makes the spectrum periodic: every real frequency component appears repeated at ±kfs for all integers k. When a component sits above the folding frequency fs/2, one of those replicas lands inside the baseband [0,fs/2] and is indistinguishable from a genuine low-frequency component. A signal at f therefore appears at the alias frequency obtained by subtracting the nearest integer multiple of fs and taking the absolute value — energy 'folds' down across fs/2. This is irreversible: once two frequencies map to the same sample sequence, no later processing can separate them.
falias=∣f−kfs∣,k=round(fsf)
Anti-alias filtering
Because aliasing cannot be undone, it must be prevented before the sampler. An anti-alias filter is an analog low-pass filter placed ahead of the analog-to-digital converter that attenuates everything above the folding frequency so those components are too small to corrupt the band of interest. The handbook's signal-conditioning note makes exactly this point: signal conditioning is 'often required to prevent alias frequencies from being measured.' In practice you set fs comfortably above 2fmax to leave a transition (guard) band, because real filters cannot drop to zero instantly at the cutoff.
fc,AAF≤2fs
Reconstruction and the ideal interpolator
Going back from samples to a continuous signal is reconstruction. The ideal reconstructor passes the sampled sequence through an ideal low-pass filter of cutoff fs/2, which in the time domain interpolates the samples with shifted sinc functions — the Whittaker–Shannon formula. When the sampling theorem was satisfied the result is exactly x(t); when it was violated the reconstructor faithfully rebuilds the aliased (wrong) signal instead. Real converters approximate this with a sample-and-hold (zero-order hold) followed by an analog reconstruction (smoothing) low-pass filter.
x(t)=n=−∞∑∞x[n]sinc(Tst−nTs)
Exam strategy
Decide first which quantity is asked. 'Minimum sampling rate' or 'Nyquist rate' is 2fmax; 'maximum signal frequency for this rate' or 'folding frequency' is fs/2. For an alias question, compute falias=∣f−kfs∣ with k the nearest integer to f/fs — a component just below fs aliases to just above 0, and one at exactly fs/2 sits on the fold. Remember fs>2fmax is strict: a 1 kHz tone sampled at exactly 2 kHz is the textbook failure (you can land on the zero crossings). When a problem mentions an anti-alias filter, its cutoff is at or below fs/2, not at fs.
Key equations
Sampling interval and ratefs=Ts1
Ts = time between samples (s); fs = sample rate (samples/s = Hz). The fundamental link for every sampling problem.
Sampling theorem (Nyquist criterion)fs>2fmax
Sample strictly faster than twice the highest frequency fmax
Nyquist ratefNR=2fmax
Minimum acceptable sample rate (Hz). A property of the signal. Used when a problem asks for the smallest fs
Folding (Nyquist) frequencyffold=2fs
Alias frequencyfalias=∣f−kfs∣,k=round(fsf)
First-zone alias (folding)falias=fs−f(fs/2<f<fs)
Anti-alias filter cutofffc≤2fs
Analog low-pass cutoff placed before the ADC; attenuates content above the folding frequency so it cannot alias into the band of interest.
Problem. A signal containing tones at 1.5kHz and 3.5kHz is sampled at fs=5kHz. Which tone is captured correctly, and at what frequency does the other one appear?
Solution. Folding frequency: fs/2=2.5kHz. The 1.5kHz tone is below the fold, so it is captured correctly at 1.5kHz.
The 3.5kHz
falias=∣3.5−(1)(5)∣=1.5kHz
Choosing a sample rate with a guard band
Problem. An instrument signal has no energy above 18kHz. (a) What is the minimum (Nyquist) sample rate? (b) If you sample at 44kHz, what is the folding frequency, and is the signal safe from aliasing?
Solution. (a) Nyquist rate =2fmax=2(18)=36kHz
Out-of-band interference folding into audio
Problem. An audio ADC samples at fs=44.1kHz. A 30kHz ultrasonic interferer leaks past a weak anti-alias filter. Where does it appear in the recorded baseband?
Solution. Folding frequency: 44.1/2=22.05kHz
Common pitfalls
•Confusing Nyquist rate (2fmax, a property of the signal) with the folding frequency (fs/2, a property of the sampler) — they differ by exactly a factor of two and the wrong one is a stock distractor.
•Treating fs=2fmax as adequate. The theorem requires a STRICT inequality fs>2fmax; sampling a sinusoid at exactly twice its frequency can land on zero crossings and lose it entirely.
•Computing the alias as f−fs without the absolute value or the nearest-multiple rounding — for f between fs/2
•Putting the anti-alias filter cutoff at fs instead of ≤fs/2. It must stop content above the FOLDING frequency, not above the sample rate.
•Believing aliasing can be filtered out after sampling. Once two frequencies share the same samples they are inseparable — anti-aliasing must happen in the analog domain before the ADC.
•Forgetting that real signals are not perfectly band-limited, so practical designs sample well above 2fmax to leave a guard band for the filter transition region.
•Tripping over the word 'Nyquist frequency': the handbook uses it loosely (for fN and for 2W), so anchor on the unambiguous quantities — Nyquist rate =2fmax
References
NCEES FE Reference Handbook — Instrumentation, Measurement, and Control: Sampling — States $f_s > 2 f_N$ and the alias-frequency concept; also gives $\Delta V=(V_H-V_L)/2^n$ for ADC resolution.
NCEES FE Reference Handbook — Electrical and Computer Engineering: Sampled Messages — Reconstruction from samples taken at $f_s > 2W$; labels $2W$ the Nyquist frequency.
Oppenheim & Schafer, Discrete-Time Signal Processing — Sampling theorem and ideal reconstruction (sinc interpolation).
B. Analog filters
Analog Filters
Read and design first- and second-order RC and RLC filters: transfer functions, cutoff and resonant frequencies, roll-off rate, and the asymptotic Bode magnitude sketch the exam expects.
Unlocks with an access pass — one-time payment, no auto-renew. View passes
Pass holders
C. Digital filters
Digital Filters and the Z-Transform
Move from difference equations to H(z), classify FIR vs IIR, locate poles and zeros, and apply the |z|<1 stability test that the FE-ECE digital-filter questions hinge on.
Unlocks with an access pass — one-time payment, no auto-renew. View passes
Pass holders
present in the band-limited signal to avoid aliasing. Handbook 'Sampling' note:
fs>2fN
.
.
Highest frequency a chosen fs can represent without ambiguity (Hz). A property of the sampler. Frequencies above it alias.
Apparent (baseband) frequency that a component f>fs/2 takes after sampling. k is the nearest integer multiple of fs to f.
Quick form when f lies in the first zone above the fold: the apparent frequency is the mirror image about fs/2.
Whittaker–Shannon formula; exactly recovers a band-limited x(t) from its samples when the sampling theorem was satisfied.
Quantization step of an n-bit converter over range [VL,VH] (V). Sampling sets the time axis of the digitized signal; this companion handbook formula sets the amplitude axis.
tone is above the fold and aliases. Nearest multiple of
fs
:
k=round(3.5/5)=1
, so
falias=∣3.5−1⋅5∣=1.5kHz
.
The
3.5kHz
tone masquerades as
1.50kHz
— it lands exactly on top of the real
1.5kHz
tone. Sanity check: a tone at
fs−f=5−3.5=1.5kHz
, consistent.
. Any
fs
strictly above this works.
(b) Folding frequency
=fs/2=44/2=22.0kHz
. Since
fmax=18kHz<22kHz
, all signal energy is below the fold, so nothing aliases — the
4kHz
guard band (
22−18
) gives the anti-alias filter room to roll off.
Sanity check:
44kHz>36kHz
Nyquist rate, so the theorem is satisfied.
; the
30kHz
interferer is above it, so it aliases.
k=round(30/44.1)=1
, so
falias=∣30−1⋅44.1∣=14.1kHz
.
The ultrasonic tone folds down to
14.1kHz
— squarely in the audible band, which is exactly why a sharp anti-alias filter is required. Sanity check: