A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

IIR Filter Design and Realization

Graduate Depth 155 in the knowledge graph ☐ I know this ☆ Set as goal
1topic build on this
1,052prerequisites beneath it
See this on the map →
Digital Signal Processing FundamentalsZ-Transform Properties and Inverse Techniques+3 more→→Impulse Invariance for Digital Filter Design
iir-filter filter-design digital-filters

Core Idea

Infinite Impulse Response (IIR) filters have feedback and can achieve steep rolloff with low order. Design methods (Butterworth, Chebyshev, Elliptic) map analog filters to the digital domain via bilinear transform or impulse invariance. Realization structures (Direct Form I/II, cascade, parallel) balance computational efficiency and numerical stability.

Explainer

From your prerequisites in z-transforms and DSP fundamentals, you know that digital filters are characterized by difference equations: the output at each time step depends on current and past inputs and — for IIR filters — on past outputs as well. That feedback is the defining feature, and it creates poles in the z-domain that give IIR filters a long (theoretically infinite) impulse response. The practical payoff is efficiency: sharp frequency selectivity that would require a 30th-order FIR filter to match can be achieved with a 5th or 6th order IIR. For computationally constrained real-time systems — audio codecs, sensor processing, control loops — this order reduction is decisive.

The standard IIR design workflow begins in the analog domain, exploiting classical analog filter theory. You first choose a filter type based on the passband and stopband requirements. Butterworth filters have maximally flat magnitude in the passband — no ripple at all — at the cost of a gradual rolloff. They are the conservative choice when you cannot tolerate passband variation. Chebyshev Type I filters allow equiripple in the passband to achieve a steeper rolloff for the same order; Type II moves the ripple to the stopband instead. Elliptic (Cauer) filters place equiripple in both the passband and stopband and achieve the steepest possible rolloff for a given filter order — optimal in the minimax sense — at the cost of more complex pole-zero geometry. Once you have chosen the type and specified the cutoff frequencies, ripple tolerances, and required attenuation, the analog prototype poles are determined by closed-form formulas.

Translating the analog prototype H_a(s) to a digital filter H(z) is done via the bilinear transform: substitute s = (2/T)·(z−1)/(z+1). This maps the entire left half of the s-plane to the interior of the unit circle in the z-plane, guaranteeing that a stable analog filter produces a stable digital filter. The entire imaginary jω axis maps onto the unit circle, so there is no aliasing of spectral content — a critical advantage over the alternative mapping method (impulse invariance), which aliases the frequency axis for wideband filters. The bilinear transform introduces frequency warping: the mapping from analog frequency Ω to digital frequency ω is nonlinear — ω = 2·arctan(ΩT/2) — compressing high analog frequencies toward the Nyquist frequency. You must compensate by pre-warping your design cutoff frequencies before designing the analog prototype: the analog cutoff Ω_c = (2/T)·tan(ω_c/2), where ω_c is the desired digital cutoff. After the bilinear transform, the pre-warped frequency lands precisely where you want it in the digital spectrum.

Once H(z) is obtained, it must be realized as a network of delays, multiplications, and additions. Direct Form I implements the numerator and denominator polynomials sequentially, requiring 2N delay registers for an N-th order filter. Direct Form II (the standard form) shares delay registers between the recursive and non-recursive sections, halving the register count to N. However, high-order filters in any Direct Form are numerically sensitive in fixed-point arithmetic: small quantization errors in the coefficients shift pole locations significantly, and poles can drift outside the unit circle, destabilizing the filter. The remedy is cascade realization: factor H(z) into second-order sections (biquads), pair each conjugate pole pair with a nearby zero, and implement each biquad in its own Direct Form II. A biquad has only 5 coefficients, its poles are far from the unit circle boundary in the z-plane, and quantization sensitivity is dramatically reduced. Parallel realization — partial-fraction expansion of H(z) — is an alternative that also uses second-order sections and offers advantages for certain signal flow architectures. For virtually all fixed-point IIR implementations, cascade of second-order sections is the default choice.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Double Integrals: Definition and Setup → Iterated Integrals and Fubini's Theorem → Double Integrals over Rectangular Regions → Double Integrals over General Regions → Applications of Double Integrals: Area, Mass, and Moments → Triple Integrals in Cartesian Coordinates → Triple Integrals in Cylindrical and Spherical Coordinates → Change of Variables and the Jacobian Determinant → Applications of Triple Integrals: Volume and Mass → Vector Fields and Their Representations → Line Integrals of Vector Fields → Work and Circulation → Line Integrals of Scalar and Vector Functions → Fundamental Theorem for Line Integrals → Conservative Vector Fields → Conservative Vector Fields and Potential Functions → Curl and Divergence of Vector Fields → Curl and Divergence → Divergence Theorem → Electric Flux and Divergence Theorem → Gauss's Law: Integral Form and Meaning → Solving Problems with Gauss's Law → Conductors in Electrostatic Equilibrium → Capacitance and Capacitors → Dielectrics → Dielectric Constant and Relative Permittivity → Electric Field Inside Dielectric Materials → Dielectric Materials and Polarization → Dielectric Susceptibility and Permittivity → Energy Density in Electric Fields → Electric Current and Current Density → Electrical Resistance and Resistivity → Ohm's Law and Circuit Elements → Electromotive Force (EMF) and Batteries → Kirchhoff's Circuit Laws: Voltage and Current → DC Circuit Network Analysis Methods → Transient Response in RC Circuits → RC Circuits → LC and RLC Circuits → AC Circuits: Fundamentals → Impedance and Reactance → AC Power and Resonance → Electromagnetic Waves → Frequency-Dependent Permittivity and Dispersion → Electromagnetic Waves in Anisotropic Media → Birefringence and Dichroism → Wave Plates: Quarter-Wave and Half-Wave Plates → Circular and Elliptical Polarization Production → Polarization States: Linear, Circular, and Elliptical → Linear Superposition of Waves → Superposition Principle in Electrostatics → Electric Field Lines and Visualization → Electric Potential and Potential Energy → Electric Potential and Voltage → Ideal Voltage and Current Sources → Series, Parallel, and Combined Resistor Networks → Voltage Divider Principle and Applications → Kirchhoff's Voltage and Current Laws → Nodal Analysis Method → Linearity, Superposition, and Scaling → AC Steady-State Circuit Analysis → AC Circuit Analysis Using Phasors → AC Power Analysis → Resonance in RLC Circuits → Frequency Response and Bode Plots → Notch Filters and Resonator Design → Anti-Aliasing Filters and Pre-Sampling Design → Decimation, Anti-Aliasing, and Downsampling → Aliasing, Anti-Aliasing Filters, and Signal Reconstruction → Digital Signal Processing Fundamentals → IIR Filter Design and Realization

Longest path: 156 steps · 1052 total prerequisite topics

Prerequisites (5)

Leads To (1)