Digital cutoff close to Nyquist
A numerical reference uses a cutoff close to half the sample rate to test coefficient handling.
Model inputs
- Filter architecture
- Butterworth biquad
- Sample rate
- 1000 Hz
- Digital cutoff
- 480 Hz
- Test frequency
- 500 Hz
Model inputs
Discrete transfer & step samples
Below Nyquist- Cutoff gain
- −3.0103dB
- Test phase
- −180°
- Test delay
- 11.239ms
- Noise BW
- 477.84Hz
Calculated results
- b0
- 0.9149691441130826
- b1
- 1.8299382882261652
- b2
- 0.9149691441130826
- a1
- 1.822694925196308
- a2
- 0.8371816512560225
- DC gain
- 1×
- Cutoff attenuation
- −3.0103dB
- Cutoff phase
- −90°
- Cutoff group delay
- 11.284samples
- Cutoff group delay
- 11.284ms
- Test attenuation
- −∞dB
- Test phase
- −180°
- Test group delay
- 11.239samples
- Test group delay
- 11.239ms
- 95% first crossing
- 1ms
- 99% first crossing
- 1ms
- Equivalent noise bandwidth
- 477.84Hz
Model and interpretation
Full methodologySet cutoff in digital frequency
Cutoff is strictly between DC and Nyquist. EMA uses the exact digital half-power coefficient. Tustin and Butterworth prewarp the cutoff before bilinear conversion. The denominator uses a0 = 1 and the negative-feedback convention shown above.
Read phase and delay separately
Phase is ∠H(eʲω). Group delay is −d∠H/dω in samples and can differ sharply from phase delay. At a Nyquist transmission zero the displayed phase is the one-sided limit. The noise bandwidth is the one-sided integral of |H|² at unity DC.
Check how the firmware represents it
Step times show the first sample at or past 95% and 99%, with the input step at n = 0. Near DC or Nyquist, implement a suitable factored or high-precision realization and recheck coefficient quantization.