Drive current Tustin low-pass
A current feedback channel is sampled much faster than the frequency range of interest.
Model inputs
- Filter architecture
- First-order Tustin
- Sample rate
- 8000 Hz
- Digital cutoff
- 320 Hz
- Test frequency
- 500 Hz
Model inputs
Discrete transfer & step samples
Below Nyquist- Cutoff gain
- −3.0103dB
- Test phase
- −57.58°
- Test delay
- 0.14782ms
- Noise BW
- 448.64Hz
Calculated results
- b0
- 0.11216024447519345
- b1
- 0.11216024447519345
- b2
- 0
- a1
- -0.7756795110496132
- a2
- 0
- DC gain
- 1×
- Cutoff attenuation
- −3.0103dB
- Cutoff phase
- −45°
- Cutoff group delay
- 2.0105samples
- Cutoff group delay
- 0.25132ms
- Test attenuation
- −5.4148dB
- Test phase
- −57.58°
- Test group delay
- 1.1826samples
- Test group delay
- 0.14782ms
- 95% first crossing
- 1.5ms
- 99% first crossing
- 2.25ms
- Equivalent noise bandwidth
- 448.64Hz
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.