Second-order sections and zero-phase filtering
| Problem | Apply a high-order IIR filter without numerical failure; filter a recorded signal without shifting its features in time |
| Devised by | Cascade (second-order-section) realisations: James Kaiser (1966) and Leland Jackson (1970); forward-backward filtering: a standard offline technique, with the choice of initial states analysed by Fredrik Gustafsson (1996) |
| Accuracy | Sections, their steady states and both kinds of filtering agree with SciPy to or better |
| Cost | multiply-adds per section per sample; zero-phase filtering costs two passes over the signal plus a short padding at each end |
| Read first | IIR structures: direct forms, biquads, notch, peak and comb filters, Digital IIR design by the bilinear transform |
| API | zpk2sos, tf2sos, sos2tf, sosfilt, sosfilt_zi, lfilter, lfilter_zi, filtfilt, sosfiltfilt, Padding |
Overview
Two practical problems arise as soon as IIR filters are used on real data.
The first is numerical. A filter of order written as one ratio of polynomials, , has its poles determined by the coefficients of . For narrow or high-order filters those poles are packed close together near , and then they depend so sensitively on the coefficients that rounding error alone can push one outside the unit circle: the filter becomes unstable although the design is not. The cure is to write the filter as a product of second-order sections, , each with two poles and two zeros. Every pole is then the root of a quadratic, which is well conditioned, and the cascade works at orders where the single polynomial fails.
The second is the phase. Any causal filter delays its output; an IIR filter delays different frequencies by different amounts, which distorts the shape of a pulse and moves its peak. When the whole record is available (a measurement, an image row, a sound file), the delay can be removed: filter the signal forwards, then filter the result backwards. The second pass undoes the phase shift of the first, so the overall filter has zero phase and the magnitude response . The ends of the record need care, and the second half of this entry is about how to start each pass so that its transient is small.
Where it is used
Two practical problems with high-order IIR filters are solved here: numerical failure and phase distortion.
- Offline analysis. Zero-phase (forward-backward) filtering is the standard way to filter a recorded ECG, EEG, accelerometer or seismic trace without shifting its peaks in time.
- Stable high-order filters. Cascaded second-order sections are what the filter design tools of MATLAB and SciPy return by default for orders above a few, because the transfer-function form is numerically fragile.
- Preprocessing for machine learning. Band-pass filtering of sensor data before feature extraction.
History
The sensitivity of high-order recursive filters to their coefficients was recognised with the first digital filters. James Kaiser (1966)
showed how quickly pole positions degrade as the order grows and recommended realising a filter as a cascade or parallel combination of
first- and second-order sections. Leland Jackson (1970) analysed the roundoff noise of these structures and how the pairing of poles with
zeros and the ordering of the sections affect it; the rules used here (pair each pole with the nearest zeros, put the sections with poles
nearest the unit circle last) follow that line of work and are those of SciPy’s zpk2sos.
Forward-backward filtering is older than digital computers in spirit (it is how an optical or mechanical system with a symmetric impulse
response behaves) and became standard in offline signal processing with MATLAB’s filtfilt. Fredrik Gustafsson (1996) showed how to choose
the initial states of the two passes so that the forward-backward result matches what a longer record would have given; SciPy’s
lfilter_zi, used here, starts each pass in the steady state of a step, which removes most of the start-up transient at much lower cost.
The idea
Why the direct form fails
Let be a simple root of , and perturb one coefficient, . To first order the root moves by
where the product runs over the other roots. When the poles cluster, every factor is small, the product is tiny, and is huge. A Butterworth low-pass with cutoff Nyquist and order 12 has all twelve poles within about of ; a relative error of in one coefficient is enough to move a pole by more than the distance to the unit circle. The table shows the step response computed from the coefficients and (in double precision, with the exact algorithm) against the same filter as sections:
Table 14.5. Step response of Butterworth low-pass filters in direct form and as second-order sections.
| Butterworth order | cutoff (× Nyquist) | direct form: final error of the unit step | sections: final error |
|---|---|---|---|
| 4 | 0.05 | 4.1e-13 | 1.3e-14 |
| 8 | 0.05 | 3.3e-8 | 7.3e-15 |
| 12 | 0.05 | 5.7e-5 | 1.3e-15 |
| 12 | 0.02 | diverges (output reaches 6e35) | 5.8e-14 |
| 16 | 0.05 | diverges (output reaches 2e88) | 1.8e-15 |
| 20 | 0.1 | 1.8e-1 | 1.3e-15 |
The direct form loses accuracy steadily with the order and then diverges; the cascade is accurate to rounding error in every case.
Figure 14.11. Step responses in direct form and as sections.
The two agree for the first 150 samples. Then the direct form, whose computed poles include one outside the unit circle, grows without bound, while the cascade settles at 1.
Second-order sections
Write each section with its poles and zeros :
Now the pole radius is , and an error in changes it by only : no product of small distances appears, whatever the order of the whole filter. Filtering is the composition of the sections, each a five-coefficient recursion. Following SciPy, a filter is stored as rows , and a design is converted from its zeros, poles and gain by three rules:
- Pair poles with nearby zeros. Take the poles in order of closeness to the unit circle, each with its conjugate (or with the next real pole), and give that section the zeros nearest to the poles. A pole and a nearby zero partly cancel, so each section’s gain stays moderate.
- Put the sharpest sections last. Poles near the unit circle make a large resonant peak. Placed last, that peak does not amplify the signal that the other sections still have to process, which limits overflow in fixed-point arithmetic and noise amplification in floating point.
- Put the overall gain in the first section, so that the signal is scaled down before any resonance amplifies it.
An odd number of poles leaves one real pole; it gets a section of its own with a pole and a zero at the origin. Designing in zero-pole-gain
form and converting with zpk2sos avoids ever forming the fragile polynomial. tf2sos exists for filters given only as and , but it
must first find their roots, and repeated roots (the Butterworth numerator has an -fold root at ) are ill conditioned: two
correct implementations split them differently, so their sections can differ in the fourth significant digit while describing the same
filter.
Starting in steady state
A filter that starts from rest sees its input jump from 0 to at the first sample, and responds with a transient. If instead the input had been constant at for ever, the filter would be in a steady state, and that state can be computed. In transposed direct form II the state evolves as
With a constant input the output is constant too, , and the state stops changing. Substituting into the update and setting gives the linear system
where is the companion matrix of . For example, has and ; its steady state for a unit input is , and indeed . Scaling this state by starts the filter as if the signal had always been at its first value. For a cascade, each section’s state is scaled also by the DC gain of the sections before it, since that is the size of the step that reaches it.
Zero phase
Filtering a real signal with impulse response multiplies its spectrum by . Reversing a signal in time conjugates its spectrum, so filtering forwards, reversing, filtering again and reversing back multiplies the spectrum by
a real, non-negative response: zero phase, and the magnitude squared. In decibels the attenuation doubles, so a filter whose response is dB at its cutoff is dB there after two passes. The equivalent impulse response, , is symmetric about 0, which is why the result is not causal: the output at time uses samples after , so the whole record must be available.
Figure 14.12. One pass against zero phase.
A fourth-order low-pass removes the noise in both cases. One pass delays every pulse by about 20 samples and rounds the step at 200 into a slow rise; the forward-backward result keeps the pulses in place and the step symmetric.
The ends of the record
Each pass starts with a transient, and the backward pass starts at the end of the record. Two devices keep these small:
- Padding. The signal is extended by
padlensamples at each end before filtering (by default three times the filter length), and the extension is discarded afterwards. The default odd extension reflects the signal through its end point, , which keeps both the value and the slope continuous; an even extension (a mirror) keeps the value but makes a corner; a constant extension makes a corner in the slope too. - Steady-state initial conditions. Each pass starts from the steady state for its own first sample, as above.
The table measures both on a slowly rising signal whose low-pass output is known, with a third-order filter:
Table 14.6. Error at the ends of the record for each padding, and without steady-state initial conditions.
| padding | largest error, first 30 samples | in the middle | last 30 samples |
|---|---|---|---|
| odd (default) | 1.2e-2 | 1.8e-4 | 1.8e-2 |
| even | 1.2e-1 | 1.8e-4 | 3.8e-2 |
| constant | 5.5e-2 | 1.8e-4 | 2.8e-2 |
| none | 5.5e-2 | 1.8e-4 | 1.5e-1 |
| odd, but each pass starting from rest | 3.2e-2 | 1.8e-4 | 1.2e0 |
In the middle of the record every variant has the same small error, set by the filter itself. At the ends, odd padding is best because the signal’s trend continues into the padding. Without the steady-state start, the backward pass begins from rest at a value near 2 and its transient reaches the last samples: an error of order one.
Algorithm
zpk2sos, from zeros , poles and gain :
- If there are no poles and no zeros, return the single section .
- Pad and with roots at the origin until they have the same, even, length; there will be sections.
- Split each set into conjugate pairs (one representative with positive imaginary part) and real roots.
- For each section from the last to the first:
- take the pole nearest the unit circle; its partner is , or for a real pole the next real pole nearest the circle;
- choose the zeros: the zero nearest , with its conjugate if it is complex, or with the nearest remaining real zero if it is real (two special cases keep real and complex roots paired consistently, as in SciPy);
- the section is over , expanded into real coefficients.
- Multiply the numerator of the first section by .
sosfilt, with sections normalised by : for each section in order, run every sample through
, , , starting from the given state; the output of one section is the
input of the next.
lfilter_zi: normalise by , pad and to the same length , and solve the system
by Gaussian elimination. sosfilt_zi: for each section, its lfilter_zi times the
product of the DC gains of the earlier sections.
filtfilt and sosfiltfilt:
- Choose the padding length:
padlen, or forfiltfiltand forsosfiltfiltwith sections, where counts the trailing zero coefficients that all sections share (SciPy’s rule). Require the signal to be longer than the padding. - Extend the signal by the chosen padding.
- Filter forwards, starting from the steady state times the first padded sample.
- Reverse, filter again starting from the steady state times the (new) first sample, and reverse back.
- Remove the padding.
The cost is two filtering passes over padlen samples.
Implementation
Converting zeros and poles to sections:
/// Second-order sections from the zeros, poles and gain of a digital filter (SciPy's `zpk2sos`
/// with the default `pairing='nearest'`).
///
/// Poles are taken in order of closeness to the unit circle, each with its conjugate (or with the
/// next real pole), and paired with the nearest zeros. The sections are stored with the poles
/// nearest the unit circle *last*, where their large resonant gain has the least effect on the
/// rest of the cascade, and the overall gain is put in the first section.
pub fn zpk2sos(z: &[C], p: &[C], k: f64) -> Result<Vec<Section>, ErrorsJSL> {
if z.is_empty() && p.is_empty() {
return Ok(vec![[k, 0.0, 0.0, 1.0, 0.0, 0.0]]);
}
// Equal numbers of poles and zeros (extra ones at the origin), and an even count.
let mut z: Vec<C> = z.to_vec();
let mut p: Vec<C> = p.to_vec();
while p.len() < z.len() {
p.push(C::new(0.0, 0.0));
}
while z.len() < p.len() {
z.push(C::new(0.0, 0.0));
}
let n_sections = p.len().div_ceil(2);
if p.len() % 2 == 1 {
p.push(C::new(0.0, 0.0));
z.push(C::new(0.0, 0.0));
}
let (zc, zr) = cplxreal(&z)?;
let (pc, pr) = cplxreal(&p)?;
let mut z: Vec<C> = zc.into_iter().chain(zr.into_iter().map(|r| C::new(r, 0.0))).collect();
let mut p: Vec<C> = pc.into_iter().chain(pr.into_iter().map(|r| C::new(r, 0.0))).collect();
let is_real = |v: &C| v.im == 0.0;
let mut sos = vec![[0.0; 6]; n_sections];
for si in (0..n_sections).rev() {
let p1 = p.remove(worst(&p));
let real_poles_left = p.iter().filter(|v| is_real(v)).count();
if is_real(&p1) && real_poles_left == 0 {
// The last real pole: pair it with the nearest real zero (and a pole and zero at 0).
let i = nearest(&z, p1, Some(true)).ok_or(ErrorsJSL::RuntimeError("no real zero to pair"))?;
let z1 = z.remove(i);
sos[si] = single_section(&[z1, C::new(0.0, 0.0)], &[p1, C::new(0.0, 0.0)]);
} else if p.len() + 1 == z.len()
&& !is_real(&p1)
&& real_poles_left == 1
&& z.iter().filter(|v| is_real(v)).count() == 1
{
// One real pole and one real zero remain: this complex pole must take a complex zero.
let i = nearest(&z, p1, Some(false)).ok_or(ErrorsJSL::RuntimeError("no complex zero to pair"))?;
let z1 = z.remove(i);
sos[si] = single_section(&[z1, z1.conj()], &[p1, p1.conj()]);
} else {
let p2 = if is_real(&p1) {
let reals: Vec<usize> = (0..p.len()).filter(|&i| is_real(&p[i])).collect();
let candidates: Vec<C> = reals.iter().map(|&i| p[i]).collect();
p.remove(reals[worst(&candidates)])
} else {
p1.conj()
};
if z.is_empty() {
sos[si] = single_section(&[], &[p1, p2]);
} else {
let z1 = z.remove(nearest(&z, p1, None).expect("non-empty"));
if !is_real(&z1) {
sos[si] = single_section(&[z1, z1.conj()], &[p1, p2]);
} else if !z.is_empty() {
let i = nearest(&z, p1, Some(true)).ok_or(ErrorsJSL::RuntimeError("no real zero to pair"))?;
let z2 = z.remove(i);
sos[si] = single_section(&[z1, z2], &[p1, p2]);
} else {
sos[si] = single_section(&[z1], &[p1, p2]);
}
}
}
}
for c in &mut sos[0][..3] {
*c *= k;
}
Ok(sos)
}
Filtering through the cascade:
/// Filters `x` through the cascade of sections (SciPy's `sosfilt`), each in transposed direct
/// form II, and returns the output with the final state of each section.
///
/// `zi` gives the initial state of each section (two values per section); `None` starts from
/// rest. Coefficients are normalised by each section's `a0`.
pub fn sosfilt(sos: &[Section], x: &[f64], zi: Option<&[[f64; 2]]>) -> Result<(Vec<f64>, Vec<[f64; 2]>), ErrorsJSL> {
validate(sos)?;
let mut state: Vec<[f64; 2]> = match zi {
Some(z) if z.len() != sos.len() => return Err(ErrorsJSL::IncompatibleArraySizes((z.len(), sos.len()))),
Some(z) => z.to_vec(),
None => vec![[0.0; 2]; sos.len()],
};
let coefficients: Vec<[f64; 5]> = sos
.iter()
.map(|s| [s[0] / s[3], s[1] / s[3], s[2] / s[3], s[4] / s[3], s[5] / s[3]])
.collect();
let mut y = x.to_vec();
for (c, z) in coefficients.iter().zip(state.iter_mut()) {
let [b0, b1, b2, a1, a2] = *c;
for v in y.iter_mut() {
let input = *v;
let out = b0 * input + z[0];
z[0] = b1 * input - a1 * out + z[1];
z[1] = b2 * input - a2 * out;
*v = out;
}
}
Ok((y, state))
}
The steady state:
/// The initial state of [`lfilter`] for the steady state of a unit step (SciPy's `lfilter_zi`).
///
/// In steady state the input and output are constant, `x = 1` and `y = H(1)`, and the state
/// stops changing: `z = Aᵀ_c z + (b[1..] − a[1..] b[0])`, where `A_c` is the companion matrix of
/// the denominator. So `z` solves `(I − A_cᵀ) z = b[1..] − a[1..] b[0]`.
pub fn lfilter_zi(b: &[f64], a: &[f64]) -> Result<Vec<f64>, ErrorsJSL> {
let (b, a) = normalise(b, a)?;
let m = b.len() - 1;
if m == 0 {
return Ok(Vec::new());
}
// I − companion(a)ᵀ: the first column holds 1 + a[1], a[2], …; the superdiagonal holds −1.
let mut mat = vec![0.0; m * m];
for i in 0..m {
mat[i * m + i] = 1.0;
mat[i * m] += a[i + 1];
if i + 1 < m {
mat[i * m + i + 1] = -1.0;
}
}
let mut rhs: Vec<f64> = (0..m).map(|i| b[i + 1] - a[i + 1] * b[0]).collect();
// Gaussian elimination with partial pivoting.
for col in 0..m {
let piv = (col..m).max_by(|&i, &j| mat[i * m + col].abs().total_cmp(&mat[j * m + col].abs())).unwrap();
if mat[piv * m + col].abs() < 1e-300 {
return Err(ErrorsJSL::RuntimeError("the filter has a pole at z = 1, so no steady state exists"));
}
if piv != col {
for k in 0..m {
mat.swap(col * m + k, piv * m + k);
}
rhs.swap(col, piv);
}
for row in col + 1..m {
let f = mat[row * m + col] / mat[col * m + col];
if f != 0.0 {
for k in col..m {
mat[row * m + k] -= f * mat[col * m + k];
}
rhs[row] -= f * rhs[col];
}
}
}
for row in (0..m).rev() {
let s: f64 = (row + 1..m).map(|k| mat[row * m + k] * rhs[k]).sum();
rhs[row] = (rhs[row] - s) / mat[row * m + row];
}
Ok(rhs)
}
Forward-backward filtering through sections:
/// Zero-phase filtering through second-order sections (SciPy's `sosfiltfilt`), the robust
/// choice for high-order filters. The default padding is `3 (2 n_sections + 1 − t)` samples,
/// where `t` counts trailing zero coefficients shared by all sections, as in SciPy.
pub fn sosfiltfilt(sos: &[Section], x: &[f64], padding: Padding, padlen: Option<usize>) -> Result<Vec<f64>, ErrorsJSL> {
let zero_b2 = sos.iter().filter(|s| s[2] == 0.0).count();
let zero_a2 = sos.iter().filter(|s| s[5] == 0.0).count();
let ntaps = 2 * sos.len() + 1 - zero_b2.min(zero_a2);
let edge = edge_length(x, padding, padlen, ntaps)?;
let ext = extend(x, edge, padding);
let zi = sosfilt_zi(sos)?;
let scaled = |s: f64| zi.iter().map(|v| [v[0] * s, v[1] * s]).collect::<Vec<[f64; 2]>>();
let (forward, _) = sosfilt(sos, &ext, Some(&scaled(ext[0])))?;
let reversed: Vec<f64> = forward.iter().rev().copied().collect();
let (backward, _) = sosfilt(sos, &reversed, Some(&scaled(reversed[0])))?;
let mut y: Vec<f64> = backward.into_iter().rev().collect();
if edge > 0 {
y = y[edge..y.len() - edge].to_vec();
}
Ok(y)
}
- Sections are rows
[b0, b1, b2, a0, a1, a2](Section = [f64; 6]), as in SciPy; states are two values per section. tf2sosfinds roots as eigenvalues of the companion matrix, so complex roots come in exact conjugate pairs.- Padding choices are
Padding::Odd(default in SciPy),Even,ConstantandNone;padlenoverrides the default length. - Only real signals and coefficients are supported.
In practice
//! A narrow, high-order low-pass filter as second-order sections, applied once and with zero phase.
use lib_jsl_dsp::continuous::filter::design::IirFilterBandType;
use lib_jsl_dsp::discrete::filters::butterworth::{ButterOutput, ButterOutputType, butter};
use lib_jsl_dsp::discrete::filters::sos::{sosfilt, zpk2sos};
use lib_jsl_dsp::discrete::filters::zero_phase::{Padding, sosfiltfilt};
use std::f64::consts::PI;
fn main() {
// A 10th-order Butterworth low-pass at 0.02 × Nyquist, designed as zeros, poles and gain.
let ButterOutput::Zpk(zpk) = butter(10, &[0.02], IirFilterBandType::Lowpass, Some(ButterOutputType::Zpk), None).unwrap() else {
unreachable!()
};
let sos = zpk2sos(&zpk.z.to_vec(), &zpk.p.to_vec(), zpk.k.re).unwrap();
println!("{} sections; the last holds the poles nearest the unit circle:", sos.len());
for s in &sos {
println!(" b = [{:+.3e}, {:+.3e}, {:+.3e}] a = [1, {:+.6}, {:+.6}]", s[0], s[1], s[2], s[4], s[5]);
}
// A slow sine (0.004 × Nyquist) plus a fast one (0.2 × Nyquist) to be removed.
let x: Vec<f64> = (0..3000).map(|n| (PI * 0.004 * n as f64).sin() + 0.5 * (PI * 0.2 * n as f64).sin()).collect();
let slow: Vec<f64> = (0..3000).map(|n| (PI * 0.004 * n as f64).sin()).collect();
let (once, _) = sosfilt(&sos, &x, None).unwrap();
let twice = sosfiltfilt(&sos, &x, Padding::Odd, None).unwrap();
let rms = |y: &[f64]| (y[500..2500].iter().zip(&slow[500..2500]).map(|(a, b)| (a - b).powi(2)).sum::<f64>() / 2000.0).sqrt();
// The delay of one pass: the lag that best aligns its output with the slow sine.
let lag = (0..200).min_by(|&a, &b| {
let e = |k: usize| (500..2500).map(|n| (once[n] - slow[n - k]).powi(2)).sum::<f64>();
e(a).total_cmp(&e(b))
}).unwrap();
println!("RMS error against the slow sine: one pass {:.3}, zero phase {:.4}", rms(&once), rms(&twice));
println!("one pass delays the slow sine by about {lag} samples; zero phase by none");
}
5 sections; the last holds the poles nearest the unit circle:
b = [+7.686e-16, +1.537e-15, +7.686e-16] a = [1, -1.879492, +0.883208]
b = [+1.000e0, +2.000e0, +1.000e0] a = [1, -1.890297, +0.894035]
b = [+1.000e0, +2.000e0, +1.000e0] a = [1, -1.911197, +0.914976]
b = [+1.000e0, +2.000e0, +1.000e0] a = [1, -1.940730, +0.944568]
b = [+1.000e0, +2.000e0, +1.000e0] a = [1, -1.976638, +0.980546]
RMS error against the slow sine: one pass 0.847, zero phase 0.0001
one pass delays the slow sine by about 102 samples; zero phase by none
The overall gain of about sits in the first section, and (the squared pole radius) rises towards 1 from section to section. Filtered once, the slow sine comes out about 102 samples late, so it disagrees with the original by almost its full amplitude; filtered forwards and backwards it is reproduced to while the fast component is gone.
Strengths
- Sections make high-order and narrow-band IIR filters usable; the cost per sample is the same as the direct form’s.
- Zero-phase filtering keeps peaks, edges and pulse shapes in place, with a magnitude response that is simply .
- Steady-state starts and odd padding make the ends of a record almost as accurate as its middle.
Weaknesses
- Zero-phase filtering needs the whole record and is not causal, so it cannot run in real time.
- The squared magnitude response moves the dB point inwards; design for the response wanted after two passes.
tf2soson coefficients with repeated roots is ill conditioned; design in zero-pole-gain form instead.- Signals shorter than the padding are rejected.
Exercises
- Show that a section with poles has and , and find how much an error in moves when is close to 1 and is small. Why is this still much better than the direct form?
- Derive the steady state of the second-order section (in transposed direct form II) directly from the
recurrence, and check it against
lfilter_zi. - Show that forward-backward filtering with a filter whose response is dB at gives dB there. What cutoff should a Butterworth design of order have so that the zero-phase result is dB at ?
- Filter a step with
sosfiltfiltusing each padding and no padding, and plot the first 50 samples. Which padding preserves the step best, and why does odd padding make the result symmetric about the step? - Design a 16th-order Butterworth low-pass at Nyquist, compute its frequency response from and and from the sections, and compare. Is the direct form’s response wrong, or only its filtering? Explain.
Hints and answers
- Expand . From , , which is large when is small, but it involves only this section’s two poles; in the direct form the corresponding factor is a product over all the other poles, each close.
- In steady state with , ; the transposed form has , , , so and .
- The two passes give , so dB becomes dB. For a Butterworth response , the zero-phase power response is , which is dB at ; so design with cutoff (after prewarping).
- Odd padding continues the trend of each end, so the padded signal is flat on both sides of a step; the result is symmetric about the step’s midpoint because the equivalent impulse response is symmetric. Constant padding is also exact for a step far from the ends; no padding leaves a transient at each end.
- The frequency response is a ratio of polynomial values and is computed accurately either way; the failure is in the recursion, whose computed poles (implied by the rounded coefficients during filtering) leave the unit circle.
Further reading
- J. F. Kaiser, “Digital filters”, chapter 7 in F. F. Kuo and J. F. Kaiser (eds.), System Analysis by Digital Computer, Wiley, 1966.
- L. B. Jackson, “Roundoff-noise analysis for fixed-point digital filters realized in cascade or parallel form”, IEEE Transactions on Audio and Electroacoustics 18 (1970) 107–122.
- F. Gustafsson, “Determining the initial states in forward-backward filtering”, IEEE Transactions on Signal Processing 44 (1996) 988–992.
- A. V. Oppenheim and R. W. Schafer, Discrete-Time Signal Processing, 3rd ed., Pearson, 2010, chapter 6 (structures for discrete-time systems).