Your Equation

Library / Signal processing and digital filters / DSP-42

Signal processing and digital filters

Response of cascaded second-order sections

Combined response of up to three filter sections at the same frequency, as the complex product of their responses.

Ref
DSP-42
Rev
v1
Field
Signal processing and digital filters
Result
|Htotal|

Filters in cascade multiply their frequency responses: H_total(ω) = H₁(ω)H₂(ω)H₃(ω). The magnitudes multiply and the phases add. Use 1 + 0i for an unused section and include any separate scalar gain once. Cascading second-order sections is the standard way to build high-order IIR filters, because it keeps each section’s poles well conditioned.

Combined response of up to three filter sections at the same frequency, as the complex product of their responses. Set unused sections to 1 + 0i, and include any separate scalar gain once. The product keeps each section’s phase. The page returns the gain; the real part, imaginary part and phase are in the derived rows.

Calculator

Solve for
−1010
−1010
−1010
−1010
−1010
−1010
  • Real part of H_total0
  • Imaginary part of H_total2
  • Phase of H_total90 °

What drives the result

Each variable is moved across its typical range while the others stay at the values above. The longest bar is the key driver.

Total gain () current value 2
Re H2Real part, section 2Key driver
1.4128.3
Im H2Imaginary part, section 2
1.4128.3
Re H1Real part, section 1
1.4114.2
Im H1Imaginary part, section 1
1.4114.2
Im H3Imaginary part, section 3
010
Re H3Real part, section 3
10.2
  • The cascade has a gain of 2 and a phase of 90°, which is the sum of the three section phases.
  • The magnitudes 1.41, 0.707 and 2 multiply to 2.
Chart data as tables

Ranked variables

VariableTypical rangeLowest resultHighest resultSwing ()Local stepChange in result
Re H2 Real part, section 2−10 to 10 1.41428.3226.91+0.4 +45.6 %
Im H2 Imaginary part, section 2−10 to 10 1.41428.3226.91+0.4 −27.9 %
Re H1 Real part, section 1−10 to 10 1.41414.2112.8+0.4 +21.7 %
Im H1 Imaginary part, section 1−10 to 10 1.41414.2112.8+0.4 +21.7 %
Im H3 Imaginary part, section 3−10 to 10 01010+0.4 +20 %
Re H3 Real part, section 3−10 to 10 210.28.198+0.4 +1.98 %

Sweep of Imaginary part, section 3

Imaginary part, section 3Total gain
−1010
−7.57.5
−55
−2.52.5
00
2.52.5
55
7.57.5
1010

Sweep one variable

Total gain ()Hover, touch, or use the arrow keys on the chart
0246810 −10−50510 Imaginary part, section 3 now 2

Variables and how each one contributes

|Htotal|

Total gain

Result ·

What the equation gives you. Everything else feeds it.

Re H1

Real part, section 1

· typical −10 to 10

The real part of the response of section 1. Rotates and scales the total response together with the other sections. Raising it by 10 % (to 1.1) moves the result by +5.12 %, from 2 to 2.102.

Im H1

Imaginary part, section 1

· typical −10 to 10

The imaginary part of the response of section 1. Rotates and scales the total response together with the other sections. Raising it by 10 % (to 1.1) moves the result by +5.12 %, from 2 to 2.102.

Re H2

Real part, section 2

· typical −10 to 10

The real part of the response of section 2. Rotates and scales the total response together with the other sections. Raising it by 10 % (to 0.55) moves the result by +5.12 %, from 2 to 2.102.

Im H2

Imaginary part, section 2

· typical −10 to 10

The imaginary part of the response of section 2. Rotates and scales the total response together with the other sections. Raising it by 10 % (to −0.55) moves the result by +5.12 %, from 2 to 2.102.

Re H3

Real part, section 3

· typical −10 to 10

The real part of the response of section 3. Rotates and scales the total response together with the other sections. Raising it by 10 % (to 0) moves the result by +0 %, from 2 to 2.

Im H3

Imaginary part, section 3

· typical −10 to 10

The imaginary part of the response of section 3. Rotates and scales the total response together with the other sections. Raising it by 10 % (to 2.2) moves the result by +10 %, from 2 to 2.2.

Worked example with the values above

  1. First two sections: (1 + 1i) × (0.5 − 0.5i) = 1 + 0i.
  2. Times section 3, 0 + 2i: 0 + 2i.
  3. |H_total| = 2.

Assumptions and limits

  • A stable, linear, time-invariant filter at a steady sinusoidal frequency in rad/sample.
  • Phase that is consistently unwrapped, with magnitude not equal to zero at the frequency used.

Common mistakes

  • Using wrapped phase, which jumps by 2π and ruins the delay.
  • Mixing hertz and rad/sample in the delay formulas.
  • Applying the forward–backward result to a single pass or to a record with large end transients.

Statistics and uncertainty

Phase and group delay come from phase differences, so they amplify noise where the magnitude is small and fail at zeros of the response. A secant estimate also carries an error of order Δω² times the third derivative of phase.

Where it is used

  • Evaluating gain, phase and delay of a digital filter at a chosen frequency.
  • Combining sections and predicting zero-phase filtering.

Maths you need

  • Frequency response: H(ω) evaluated on the unit circle
  • Group delay: the negative slope of phase against frequency
  • Phase delay: the negative phase divided by frequency

Related formulas

Practise this formula