Bilinear Transform Method
When a Butterworth analog low-pass prototype with cutoff at 1 rad/s is transformed into a digital IIR filter with cutoff at 1 kHz using a 8 kHz sampling rate, the bilinear transform maps the entire imaginary axis of the s-plane onto the unit circle of the z-plane — but it compresses the frequency axis logarithmically, causing the digital frequency to be a warped version of the analog frequency. This frequency warping is not a bug; it is managed by prewarping the critical frequency before design, and the technique completely eliminates the aliasing problem that plagues the impulse invariance method.
Circular Convolution
When you compute the DFT of x[n] = {1, 2, 3, 4} and h[n] = {1, 1, 1, 1}, multiply their DFTs pointwise, and take the IDFT, the result is circular convolution — not the linear convolution you would compute by hand. Understanding why the two differ and when they agree is the key exam concept, because the entire efficiency advantage of overlap-add and overlap-save FIR filtering methods hinges on choosing an N large enough that circular and linear convolution produce identical results.
DFT
Running a 4-point DFT on the sequence x[n] = {1, 2, 3, 4} is one of the most repeated problems in Anna University DSP papers, and it appears simple until you forget that W_4 = e^(-j2π/4) = e^(-jπ/2) = -j. The DFT takes a finite, discrete-time sequence sampled at, say, 8 kHz and produces a discrete set of complex frequency coefficients — four input samples give exactly four output bins, each corresponding to a frequency of k × (f_s/N).
Digital Filter Design
Given a specification: passband edge 1 kHz, stopband edge 2 kHz, passband ripple 1 dB, stopband attenuation 40 dB, sample rate 8 kHz — a digital filter design problem is really a four-step translation from requirements to coefficients. Most exam questions hand you exactly these numbers, ask for filter type, filter order, cutoff frequency, and either the H(z) expression or the difference equation. The method you pick — window, frequency sampling, bilinear, impulse invariance — determines both the accuracy and the difficulty of the arithmetic.
DSP Architecture
Inside a TMS320C54x DSP processor running an FIR filter on a GSM speech codec at 13 kbps, a single Multiply-Accumulate (MAC) instruction completes one multiply, one accumulate, and two data memory fetches simultaneously in a single clock cycle — something a general-purpose Intel processor cannot do without multiple cycles. This parallelism is what makes DSPs different from microprocessors, and the architectural features that enable it are the direct subject of university exam questions.
FFT Algorithm
Calculating a 1024-point DFT the direct way costs 1,048,576 complex multiplications — on a DSP processor doing 100 MMACS, that takes about 10 ms. The Cooley-Tukey FFT reduces this to just 5120 complex multiplications for N = 1024 by recursively splitting the DFT into smaller ones, which is why every real-time audio equaliser and spectrum analyser uses FFT and not direct DFT computation.
FIR Filter
A 31-tap FIR low-pass filter implemented on a TMS320C55x DSP to remove 50 Hz power line noise from an ECG signal sampled at 500 Hz is one of the cleanest examples of why engineers choose FIR over IIR. Every tap is a delayed, scaled copy of the input: y[n] = Σ h[k] · x[n-k] for k = 0 to 30. The 31 coefficients h[k] are symmetric about k = 15, and this symmetry is the direct reason the filter has exactly linear phase — all frequency components are delayed by the same 15 samples.
IIR Filter
A telephone channel bandlimiting filter running on a DSP at 8 kHz sample rate achieves a sharp roll-off at 3.4 kHz using just a 4th-order Butterworth IIR filter — an equivalent FIR design would need over 100 taps to match. IIR filters use feedback: y[n] = Σ b[k]·x[n-k] − Σ a[k]·y[n-k], where the a[k] coefficients drive poles in the z-plane. Those poles are what create sharp magnitude responses with fewer coefficients, but also what makes stability a constant concern.
Impulse Invariance Method
Before the bilinear transform became the dominant method, DSP textbooks used impulse invariance to design the digital version of a Butterworth LPF for a speech codec — the idea is appealing: make the digital filter's impulse response a sampled version of the analog prototype's impulse response. Applied to a 4th-order Chebyshev analog filter for an 8 kHz sampled telephone speech system, the method works well because speech energy above 4 kHz is negligible, so the aliasing inherent in the method does not cause audible degradation. Whenever the signal is genuinely band-limited to well below fs/2, impulse invariance is valid and straightforward to apply.
Multirate Signal Processing
When a digital audio workstation downsamples a 96 kHz studio recording to 44.1 kHz for CD distribution, it cannot simply keep every other sample — an anti-aliasing low-pass filter running at 96 kHz must first remove all frequency content above 22.05 kHz before the downsampling step discards samples. This combination of filtering and rate changing is multirate signal processing, and the efficiency of the polyphase filter implementation determines whether the DSP processor in the workstation runs cool or hits 100% CPU.
Notes
DSP — Short notes
10 topics · One-page revision notes for each concept.