IIRフィルタ設計
導入済み
7:22
デジタル信号処理
Digital signal processing rebuilds the continuous theory for samples, where arithmetic is exact: N samples in, N numbers out, and every promise can be…
英語のナレーション・英語と中国語の字幕を切り替え可能
このレッスンの内容
| English | 意味 |
|---|---|
| IIR/ˌaɪ aɪ ˈɑː/ | 無限パルス応答 |
| bilinear transform/baɪˈlɪnɪə trænsˈfɔːm/ | 双線形変換 |
| warp/wɔːp/ | ワープ |
| Prewarp/prɪˈwɔːp/ | |
| prewarped/prɪˈwɔːpt/ | プリウォーピング |
| poles/pəʊlz/ | Singularities of a system function, typically roots of its denominator after cancelling common factors. |
Five numbers instead of 67
- The FIR filter in lesson 1204 needed 67 taps. An IIR 无限脉冲响应 filter feeds its own output back, so a few coefficients give a long response: a second-order low-pass needs only 5.
- It gets there by reusing a century of analog filter designs through one substitution.
バイクアドは3つの分子係数と3つの分母係数を持ち、そのうち1つは規格化されて 1 に設定されている。保存すべき係数はいくつあるか。
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
分子係数3個と分母係数2個。 67-タップFIRでは 67 を保持する。
The bilinear transform
- The bilinear transform 双线性变换 substitutes $s = \dfrac{2}{T}\cdot\dfrac{1 - z^{-1}}{1 + z^{-1}}$ into an analog filter.
- It maps the analog left half-plane inside the unit circle, so every stable analog filter becomes a stable digital one.
s平面の各部分を、双線形変換によって対応する位置にマッチさせよ。
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
安定なアナログ極が円の内部に配置されるため、安定性は自動的に引き継がれる。
Warp and prewarp
- The whole analog frequency axis is squeezed once around the unit circle. This warp 弯曲 grows towards the Nyquist frequency.
- So each critical frequency is prewarped 预畸变 first: $\omega_{a} = \dfrac{2}{T}\tan\left(\dfrac{\omega_{d}T}{2}\right)$.

f_s = 1 kHzにおいて、フィルタが遮断する周波数が200 Hzである場合、設計に用いるべき逆変調されたアナログ周波数はrad/sでいくつか?最も近い整数を求めよ。
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
$2000\tan(0.2\pi) = 2000 \times 0.7265 = 1453$ rad/s、 $2\pi \times 200 = 1257$ よりも十分に高い。
Worked example: the biquad
- 2nd-order Butterworth, 100 Hz, $f_{s} = 1$ kHz. Prewarp 预畸变: $\omega_{a} = 2000\tan(0.1\pi) = 649.8$ rad/s, so $K = 1/\tan(0.1\pi) = 3.078$.
- $\dfrac{1}{s^{2} + 1.4142s + 1}$ becomes $H(z) = \dfrac{1 + 2z^{-1} + z^{-2}}{14.82 - 16.94z^{-1} + 6.12z^{-2}}$.
Worked example: verify it
- DC: the denominator sums to 4.00, and so does the numerator, so $H(1) = 1$. At 100 Hz the response is exactly $-3.0$ dB. The poles 极点 sit at $|z| = 0.643$, inside the circle.
- Skip the prewarp and the cutoff lands at 96.9 Hz. Also set $T = 1$ ($K = 1$) and it lands at 250 Hz.
H(z) の分子は 1 + 2z^(−1) + z^(−2) であり、分母係数の和は 4 である。DCゲインはいくつか。
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
DCにおいて z = 1 であるため、分子は 1 + 2 + 1 = 4 となり、 4/4 = 1 となる。
100 Hzの設計は逆変調なしで行われ、直接2π × 100 rad/sを用いている。−3 dB点はどこに位置するか?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
warp は周波数を圧縮するため、逆 warped な設計は低い位置に収束する。 250 Hz は T = 1 と設定した場合の異なるスリップである。
The cost
- 5 coefficients against 67 taps, but they buy less. A second-order filter rolls off at only 12 dB per octave, far gentler than the 67-tap FIR's 50 Hz transition; a sharp IIR 无限脉冲响应 needs a higher order. And the phase is not linear, especially near the cutoff.
- In fixed-point arithmetic the denominator coefficients are sensitive: rounding 6.12 moves the cutoff.
Designing with T = 1 (K = 1) puts the cutoff at a quarter of the sample rate. Where is that for f_s = 8 kHz, in Hz?
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
K = 1 の場合、カットオフは $\tan(\omega T/2) = 1$ が成立する点であり、それは $f_{s}/4 = 2000$ Hz である。
Three common slips
- Skipping the prewarp. 96.9 Hz instead of 100 is small; 2.86 kHz instead of 4 kHz at $f_{s} = 10$ kHz is not.
- $T = 1$ with frequencies in hertz. The cutoff moves to a quarter of the sample rate.
- Expecting linear phase. IIR 无限脉冲响应 phase bends most near the poles.
対称FIRフィルタと同様に、IIRバイコアドは厳密に線形位相を持つ。
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
位相はカットオフ付近で歪む。波形形状が重要であれば、対称FIRを使用せよ。
Recap
- Bilinear: the left half-plane maps inside the unit circle, so stability is automatic.
- Prewarp every critical frequency with $\dfrac{2}{T}\tan(\omega_{d}T/2)$.
| IIR 无限脉冲响应 | FIR | |
|---|---|---|
| Feedback | yes | no |
| Coefficients here | 5 | 67 taps |
| Phase | bends near the poles | linear |
| Stability | must be checked | always stable |
何が問題でしたか?この内容はサイトの運営チームだけが確認します。