# 陷波滤波器

陷波滤波器是一种阻带极窄、具有两个通带的带阻滤波器：它抑制一个窄频带（例如50或60赫兹的市电分量），而让频谱的其余部分基本保持不变。<sup>[1](https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.iirnotch.html)</sup><sup> • </sup><sup>[2](https://www.ias.ac.in/article/fulltext/sadh/015/03/0133-0155)</sup> 陷波内的干扰分量被强烈衰减，频谱其余部分变化很小；代价是陷波附近出现相位失真<sup>[3](http://facta.junis.ni.ac.rs/eae/fu2k13/fu01.pdf)</sup>，以及滤波后信号起始处可能出现振铃。<sup>[4](https://arxiv.org/html/2406.10706)</sup>

| 关键事实 | 数值 |
|---|---|
| 定义 | 阻带极窄、具有两个通带的带阻滤波器<sup>[2](https://www.ias.ac.in/article/fulltext/sadh/015/03/0133-0155)</sup> |
| 品质因数 | \( Q = \omega_0 / \mathrm{BW} \)，中心频率除以−3 dB带宽<sup>[1](https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.iirnotch.html)</sup> |
| 典型数字形式 | 二阶IIR双二阶：零点位于 \( e^{j\omega_0} \)，极点位于 \( r \cdot e^{j\omega_0} \)<sup>[3](http://facta.junis.ni.ac.rs/eae/fu2k13/fu01.pdf)</sup> |
| 双参数结果 | 二阶数字陷波完全由陷波频率和3 dB抑制带宽表征，可用两个乘法器实现<sup>[5](https://doi.org/10.1109/tcs.1974.1083889)</sup> |
| 实际模拟深度 | 有源双T/Fliege陷波约为40–50 dB；六阶Bainter拓扑可低至−100 dB以下<sup>[6](https://www.ti.com/lit/an/slyt235/slyt235.pdf)</sup><sup> • </sup><sup>[7](https://www.ti.com/lit/an/slyt613/slyt613.pdf)</sup> |
| 主要权衡 | 选择性越高（\( Q \)越高、极点越靠近单位圆），瞬态越长、舍入噪声越大<sup>[8](https://www.sciencedirect.com/science/article/abs/pii/S0263224112001133)</sup><sup> • </sup><sup>[3](http://facta.junis.ni.ac.rs/eae/fu2k13/fu01.pdf)</sup> |
| 典型用途 | 心电图和生物医学信号中的50/60赫兹工频及其谐波、电网锁相环、电机逆变器中的EMI抑制<sup>[9](https://link.springer.com/article/10.1186/s13634-015-0210-5)</sup><sup> • </sup><sup>[10](https://www.sciencedirect.com/science/article/abs/pii/S0378779617300664)</sup> |

## 工作原理

陷波由一对置于干扰频率上的传输零点产生。在标准二阶数字原型中，一对共轭复数零点位于单位圆上的 \( e^{j\omega_0} \) 处，而一对共轭极点位于 \( r \cdot e^{j\omega_0} \) 处，其中 \( r < 1 \) 但接近1，使通带响应保持在1附近并决定陷波宽度：增大极点半径 \( r \) 会收窄−3 dB带宽。<sup>[3](http://facta.junis.ni.ac.rs/eae/fu2k13/fu01.pdf)</sup> 品质因数 \( Q = \omega_0 / \mathrm{BW} \) 表征−3 dB带宽相对于中心频率的大小。<sup>[1](https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.iirnotch.html)</sup>

从双二阶的角度看，\( H(z) = g \cdot (1 + \beta_1 z^{-1} + \beta_2 z^{-2})/(1 + a_1 z^{-1} + a_2 z^{-2}) \)；零点角度即反谐振频率，零点半径影响陷波的深度和宽度，极点半径 \( R \) 决定 \( Q \)。<sup>[11](https://ccrma.stanford.edu/~jos/fp2/BiQuad_Section.html)</sup> 等价的模拟形式将稳定的二阶陷波写为 \( H(s) = 1/[1 + A(s)] \)，其中 \( A(s) \) 是一个相位从0递减到−2π的全通滤波器；双线性变换给出数字形式 \( G_1(z) = 1/[1 + A(z)] \)。<sup>[12](https://www.eurasip.org/Proceedings/Eusipco/Eusipco2006/papers/1568980195.pdf)</sup>

## 实现方法

**数字IIR设计。** 二阶原型由归一化陷波频率 \( \omega_0 \) 和带宽确定；MATLAB的 `iirnotch` 接受 \( w_0 \) 和 \( bw \)，其中 \( 0 < w_0 < 1 \)，1.0对应每样本π弧度，返回分子和分母系数，并有一个可选参数用于将带宽设在−3 dB以外的水平。<sup>[13](https://www.mathworks.com/help/dsp/ref/iirnotch.html)</sup> 直接I型双二阶计算 \( y(n) = v(n) + \beta_1 v(n-1) + \beta_2 v(n-2) - a_1 y(n-1) - a_2 y(n-2) \)。<sup>[11](https://ccrma.stanford.edu/~jos/fp2/BiQuad_Section.html)</sup> Hirano、Nishimura和Mitra证明，这种滤波器由陷波频率和3 dB抑制带宽唯一表征，因此只需两个乘法器即可实现，并给出了两个参数取指定值时的设计步骤。<sup>[5](https://doi.org/10.1109/tcs.1974.1083889)</sup> 使用巴特沃斯多项式的全通设计在 \( \omega = 0 \) 和 \( \omega = \pi \) 处给出最大平坦幅度，而切比雪夫和椭圆多项式给出等波纹通带。<sup>[12](https://www.eurasip.org/Proceedings/Eusipco/Eusipco2006/papers/1568980195.pdf)</sup>

**数字FIR设计。** 线性相位FIR陷波滤波器必须具有奇数长度 \( N = 2M+1 \)；预滤波器 \( n_p(z) = (1 - 2\cos\omega_0 z^{-1} + z^{-2})^r \) 在陷波频率处放置 \( r \) 个零点。<sup>[2](https://www.ias.ac.in/article/fulltext/sadh/015/03/0133-0155)</sup>

**模拟实现。** 双T网络用单个运放实现陷波，但难以调谐，需要六个高精度元件；\( R_0 \) 电阻的失配会迅速将陷波深度侵蚀到10 dB以下。<sup>[6](https://www.ti.com/lit/an/slyt235/slyt235.pdf)</sup> Fliege拓扑只需四个精密元件——两个相同电阻和两个相同电容——可容忍轻微失配而不侵蚀深度，并允许独立调节 \( Q \) 和中心频率。<sup>[6](https://www.ti.com/lit/an/slyt235/slyt235.pdf)</sup> 在高阶带阻拓扑中，六阶Sallen-Key的陷波仅达到约−15 dB，MFB版本约−36.6 dB，而六阶Bainter滤波器达到−100 dB以下；Bainter陷波的 \( Q \) 取决于放大器增益而非元件匹配，因此深度对温度漂移或老化不敏感。<sup>[7](https://www.ti.com/lit/an/slyt613/slyt613.pdf)</sup>

## 起源

早期数字工作包括R. Carney 1963年发表在《IEEE空间电子与遥测汇刊》上的关于具有跟踪要求的数字陷波滤波器设计的论文<sup>[14](https://doi.org/10.1109/tset.1963.4337624)</sup>，以及A.G. Constantinides 1969年发表在《电子学快报》上的短文《数字陷波滤波器》。<sup>[15](https://doi.org/10.1049/el:19690150)</sup> 双乘法器二阶设计在《IEEE电路与系统汇刊》（21(4):540–546）的一篇论文中确立。<sup>[5](https://doi.org/10.1109/tcs.1974.1083889)</sup> Yu、Mitra和Babic指出，IIR陷波设计曾由Carney考虑，后来由Hirano及其同事研究，而FIR陷波设计在他们1990年发表于《Sadhana》的预滤波器-均衡器方法之前很少受到关注。<sup>[2](https://www.ias.ac.in/article/fulltext/sadh/015/03/0133-0155)</sup><sup> • </sup><sup>[16](https://doi.org/10.1007/bf02812034)</sup> 后来的设计路线包括Joshi和Dutta Roy 1998年的不同通带增益IIR设计<sup>[17](https://doi.org/10.1049/ip-vis:19981687)</sup>、Tseng和Pei 2001年的最优极点配置稳定设计<sup>[18](https://doi.org/10.1109/78.960414)</sup>，以及Pei和Tseng 1997年的基于全通的多陷波设计。<sup>[19](https://doi.org/10.1109/82.554450)</sup> 自适应路线可追溯到Nehorai 1985年的最小参数[自适应陷波滤波器](https://www.edgepedia.org/zh/adaptive-notch-filter)<sup>[20](https://doi.org/10.1109/tassp.1985.1164643)</sup>、Ferdjallah和Barr 1994年针对生物医学信号中电力线噪声的单位圆CLMS设计<sup>[21](https://doi.org/10.1109/10.293240)</sup>，以及Li、Takahashi和Takebe 1993年的可变 \( Q \) 自适应算法。<sup>[22](https://doi.org/10.1002/ecjc.4430760802)</sup> 瞬态抑制变体包括Piskorowski 2009年的数字 \( Q \) 可变陷波<sup>[23](https://doi.org/10.1109/tim.2009.2026605)</sup>和Tan、Jiang和Wang 2012年的极点半径可变陷波<sup>[24](https://doi.org/10.1109/tim.2012.2184013)</sup>，后者建立在Fettweis 1986年发表于《IEEE会刊》的波数字滤波器框架之上。<sup>[25](https://doi.org/10.1109/proc.1986.13458)</sup>

## 变体

**自适应陷波滤波器（ANF）** 跟踪移动的干扰频率。DEESHA双二阶的传递函数为 \( H_{N,I}(Z) = [1 - (1-r^2)p \cdot Z^{-1} + z^{-2}]/[1 - pZ^{-1} + r^2 z^{-2}] \)，其中 \( p = (1+r^2)\cos(\Omega_N) \) 通过自适应调整来获取陷波频率，\( r \) 控制带宽；它是一种恒定带宽设计，在白噪声中给出无偏收敛。<sup>[26](https://www.ias.ac.in/article/fulltext/sadh/023/01/0073-0082)</sup> 当 \( a_2 = 1 \) 时，Rao-Kung ANF与Nehorai的滤波器变得相同，而Cho-Choi-Lee格型ANF是DEESHA的重新表述。<sup>[26](https://www.ias.ac.in/article/fulltext/sadh/023/01/0073-0082)</sup> Li 1993年的算法使 \( Q \) 因数与滤波器中心频率和所跟踪正弦波频率之间的距离成反比变化。<sup>[22](https://doi.org/10.1002/ecjc.4430760802)</sup>

**多陷波与级联陷波。** 级联二阶单陷波节仅限于少数陷波频率和极窄带宽；Pei和Tseng的全通方法将多陷波规格转换为等效全通滤波器，要求 \( \theta_A(\omega_{Ni}) = -(2i-1)\pi \)。<sup>[9](https://link.springer.com/article/10.1186/s13634-015-0210-5)</sup> 时变设计使用时变极点半径 \( r(n) \) 来缩短瞬态而不降低长期选择性。<sup>[8](https://www.sciencedirect.com/science/article/abs/pii/S0263224112001133)</sup>

**在控制环和锁相环中。** 用于并网的基于陷波的锁相环使用一个自适应陷波（用于不平衡）加两个非自适应陷波（用于谐波）的混合方案，以简单锁相环获得快速动态响应和高效的谐波滤除。<sup>[10](https://www.sciencedirect.com/science/article/abs/pii/S0378779617300664)</sup>

## 应用

多陷波滤波器是低压生物医学测量中对抗电力线工频干扰及其谐波的标准工具。<sup>[8](https://www.sciencedirect.com/science/article/abs/pii/S0263224112001133)</sup> 一个记录在案的心电图示例以720赫兹采样，使用 \( [0.2778\pi, 0.5556\pi, 0.8333\pi] \) 处的陷波和 \( 0.01\pi \) 带宽来去除电力线基波和谐波。<sup>[9](https://link.springer.com/article/10.1186/s13634-015-0210-5)</sup> 在电力电子中，自适应陷波数字有源EMI滤波器减少电机逆变器中的传导发射。<sup>[27](https://doi.org/10.1109/emceurope57790.2023.10274230)</sup>

## 局限与替代方案

**深度与调谐。** 现实中有源陷波深度即使仿真显示远不止于此，也限于约40–50 dB；在中心频率±1%范围内调谐可给出100:1的抑制，但在±10%范围内仅10:1。<sup>[6](https://www.ti.com/lit/an/slyt235/slyt235.pdf)</sup>

**漂移与稳定性。** 在锁相环应用中，电网频率变化显著降低固定陷波的抑制能力，这促使人们采用自适应陷波滤波器；ANF无论电网如何漂移都能抑制谐波，但实现复杂度和计算成本相当高。<sup>[10](https://www.sciencedirect.com/science/article/abs/pii/S0378779617300664)</sup> 对于IIR设计，如果 \( r \) 太接近1，舍入噪声（与 \( 1/\varepsilon^2 \) 成正比，其中 \( \varepsilon = 1 - r \)）会变得非常大，有限字长实现会引入[极限环](https://www.edgepedia.org/zh/limit-cycle)；IIR滤波器可能不稳定且缺乏线性相位，而FIR滤波器无条件稳定且可给出精确线性相位。<sup>[3](http://facta.junis.ni.ac.rs/eae/fu2k13/fu01.pdf)</sup> 在级联自适应单元中，第二个正弦分量会使检测到的频率产生偏差，频率越接近，偏差越大。<sup>[28](https://ace.ucv.ro/sintes11/Volume2/5%20ELECTRONICS/E04%20-%20CIOCHINA%20Silviu.pdf)</sup>

**选择性与瞬态。** 更尖锐的陷波（来自更多FIR系数或更靠近单位圆的IIR极点）会增加瞬态响应的持续时间，因此选择性和短瞬态是矛盾的设计目标。<sup>[8](https://www.sciencedirect.com/science/article/abs/pii/S0263224112001133)</sup> 在固定阶数下，通过将极点推向零点可获得更高 \( Q \)，但稳定性限制了这一点，因此改善砖墙近似需要增加阶数。<sup>[29](https://www.mathworks.com/help/dsp/ug/design-of-peaking-and-notching-filters.html)</sup>

**替代方案。** 在相同滤波器阶数下，IIR陷波滤波器比FIR具有更窄的阻带和更高的品质因数，而FIR提供线性相位和稳定性。<sup>[9](https://link.springer.com/article/10.1186/s13634-015-0210-5)</sup> 梳状滤波器是一种陷波滤波器，其零点在频带上周期性出现，用于抑制电力线谐波。<sup>[30](https://inspirajournals.com/uploads/Issues/1138111298.pdf)</sup>

**工具。** MATLAB的 `iirnotch` 于R2011a引入，在R2024a中被弃用，改为推荐使用 `designNotchPeakIIR`。<sup>[13](https://www.mathworks.com/help/dsp/ref/iirnotch.html)</sup>

## References

1. [iirnotch, SciPy v1.18.0 Manual](https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.iirnotch.html)
2. [Design of linear phase FIR notch filters (Yu, Mitra, Babic), Sadhana, 1990](https://www.ias.ac.in/article/fulltext/sadh/015/03/0133-0155)
3. [FIR notch filter design, a review (Dutta Roy, Kumar, Jain), Facta Universitatis, 2013](http://facta.junis.ni.ac.rs/eae/fu2k13/fu01.pdf)
4. [Notch Filters without Transient Effects: A Constrained Optimization Design (arXiv, 2024)](https://arxiv.org/html/2406.10706)
5. [Design of digital notch filters (Hirano, Nishimura, Mitra), IEEE Transactions on Circuits and Systems, 1974](https://doi.org/10.1109/tcs.1974.1083889)
6. [High-speed notch filters (Texas Instruments application report slyt235)](https://www.ti.com/lit/an/slyt235/slyt235.pdf)
7. [Bandstop filters and the Bainter topology (TI, Bonnie C. Baker)](https://www.ti.com/lit/an/slyt613/slyt613.pdf)
8. [Suppressing harmonic powerline interference using multiple-notch filtering methods with improved transient behavior (Measurement, 2012)](https://www.sciencedirect.com/science/article/abs/pii/S0263224112001133)
9. [A generalized design framework for IIR digital multiple notch filters, EURASIP Journal on Advances in Signal Processing, 2015](https://link.springer.com/article/10.1186/s13634-015-0210-5)
10. [Analysis and design of notch filter-based PLLs for grid-connected applications (Electric Power Systems Research)](https://www.sciencedirect.com/science/article/abs/pii/S0378779617300664)
11. [The BiQuad Section (Stanford CCRMA, Julius O. Smith)](https://ccrma.stanford.edu/~jos/fp2/BiQuad_Section.html)
12. [Design of IIR Notch Filters with Maximally Flat or Equiripple Magnitude Characteristics (EUSIPCO 2006)](https://www.eurasip.org/Proceedings/Eusipco/Eusipco2006/papers/1568980195.pdf)
13. [iirnotch - Second-order IIR notch filter - MATLAB](https://www.mathworks.com/help/dsp/ref/iirnotch.html)
14. [R. Carney (1963). Design of a Digital Notch Filter with Tracking Requirements. IEEE Transactions on Space Electronics and Telemetry.](https://doi.org/10.1109/tset.1963.4337624)
15. [A.G. Constantinides (1969). Digital notch filters. Electronics Letters.](https://doi.org/10.1049/el:19690150)
16. [Tian-Hu Yu, Sanjit K Mitra, Hrvoje Babic (1990). Design of linear phase FIR notch filters. Sadhana.](https://doi.org/10.1007/bf02812034)
17. [Y.V. Joshi, S.C. Dutta Roy (1998). Design of IIR notch filters with different passband gains. IEE Proceedings - Vision Image and Signal Processing.](https://doi.org/10.1049/ip-vis:19981687)
18. [Chien-Cheng Tseng, Soo-Chang Pei (2001). Stable IIR notch filter design with optimal pole placement. IEEE Transactions on Signal Processing.](https://doi.org/10.1109/78.960414)
19. [Soo-Chang Pei, Chien-Cheng Tseng (1997). IIR multiple notch filter design based on allpass filter. IEEE Transactions on Circuits and Systems II Analog and Digital Signal Processing.](https://doi.org/10.1109/82.554450)
20. [A. Nehorai (1985). A minimal parameter adaptive notch filter with constrained poles and zeros. IEEE Transactions on Acoustics Speech and Signal Processing.](https://doi.org/10.1109/tassp.1985.1164643)
21. [M. Ferdjallah, R.E. Barr (1994). Adaptive digital notch filter design on the unit circle for the removal of powerline noise from biomedical signals. IEEE Transactions on Biomedical Engineering.](https://doi.org/10.1109/10.293240)
22. [Shang Li, Nobuaki Takahashi, Tsuyoshi Takebe (1993). Fast stabilized adaptive algorithm for IIR bandpass/notch filters for a single sinusoid detection. Electronics and Communications in Japan (Part III Fundamental Electronic Science).](https://doi.org/10.1002/ecjc.4430760802)
23. [J. Piskorowski (2009). Digital $Q$-Varying Notch IIR Filter With Transient Suppression. IEEE Transactions on Instrumentation and Measurement.](https://doi.org/10.1109/tim.2009.2026605)
24. [Li Tan, Jean Jiang, Liangmo Wang (2012). Pole-Radius-Varying IIR Notch Filter With Transient Suppression. IEEE Transactions on Instrumentation and Measurement.](https://doi.org/10.1109/tim.2012.2184013)
25. [A. Fettweis (1986). Wave digital filters: Theory and practice. Proceedings of the IEEE.](https://doi.org/10.1109/proc.1986.13458)
26. [Review of adaptive notch filters and line enhancers (Sādhanā, 1998)](https://www.ias.ac.in/article/fulltext/sadh/023/01/0073-0082)
27. [Machine-Learning-Based Parameterization of Adaptive Notch Filters for CM Noise Reduction in Motor Inverters (2023, TU Dortmund)](https://doi.org/10.1109/emceurope57790.2023.10274230)
28. [Adaptive Notch IIR Filters: An Implementation on Motorola SC140 (Ciochină, Ciochină, Roman)](https://ace.ucv.ro/sintes11/Volume2/5%20ELECTRONICS/E04%20-%20CIOCHINA%20Silviu.pdf)
29. [Design Peak and Notch Filters - MATLAB](https://www.mathworks.com/help/dsp/ug/design-of-peaking-and-notching-filters.html)
30. [Notch and Comb Filter Design: Analysis and Review (Inspira JMME)](https://inspirajournals.com/uploads/Issues/1138111298.pdf)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Oct 15, 2026 · Last review: Sep 30, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Algorithms and computational methods › Numerical, string, and geometric algorithms

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/notch-filter

English original: https://www.edgepedia.org/notch-filter
