# 匹配滤波

匹配滤波是一种信号处理方法，它将数据与预期信号的模板进行相关运算，从而在有噪数据中检测出已知的信号模式，产生一个统计量，其信噪比（SNR）是所有线性滤波器所能达到的最大值。对于加性高斯噪声中的已知信号，它是最优检测器：在固定虚警概率下，没有其他滤波器能给出更高的检测概率。<sup>[1](https://digitalcommons.uri.edu/ele_facpubs/1288)</sup><sup> • </sup><sup>[2](https://link.springer.com/article/10.12942/lrr-2012-4)</sup> 该滤波器的冲激响应是模板在时间上反转并取共轭，因此其在信号到达时刻的输出就是模板与数据的内积。<sup>[3](https://faculty.nps.edu/rcristi/EO3404/C-Filters/text/3-Matched-Filters.pdf)</sup> 它是雷达与声呐脉冲检测、数字通信接收机、图像[模板匹配](https://www.edgepedia.org/zh/template-matching)，以及 LIGO、Virgo 和 KAGRA 数据中针对并合致密双星引力波的匹配滤波搜索的基础。<sup>[4](https://ar5iv.labs.arxiv.org/html/2107.09378)</sup>

| 关键事实 | 数值 |
|---|---|
| 输出统计量 | 数据与模板的相关，采样并阈值化；在平稳高斯噪声中等价于似然比检验<sup>[2](https://link.springer.com/article/10.12942/lrr-2012-4)</sup> |
| 冲激响应 | 时间反转、共轭的模板：\( h(t) = s(T-t) \)<sup>[5](https://web.mit.edu/16.36/2006directory/lectures/Lectures89.pdf)</sup> |
| 最大输出信噪比 | \( 2E_{s}/N_{0} \)（连续时间，白噪声密度 \( N_{0} \)）；离散时间为 \( E/\sigma^{2} \)<sup>[5](https://web.mit.edu/16.36/2006directory/lectures/Lectures89.pdf)</sup><sup> • </sup><sup>[6](https://ocw.mit.edu/courses/6-011-introduction-to-communication-control-and-signal-processing-spring-2010/61ec3ac814f18a1f05b4ce0c90e89282_MIT6_011S10_chap14.pdf)</sup> |
| 处理增益 | 等于模板长度 \( N \)；输入信噪比 0 dB、含 50 个采样点的线性调频信号给出 17 dB 的输出峰值信噪比<sup>[3](https://faculty.nps.edu/rcristi/EO3404/C-Filters/text/3-Matched-Filters.pdf)</sup> |
| 有色噪声 | 先对数据预白化，再与白化后的模板匹配<sup>[6](https://ocw.mit.edu/courses/6-011-introduction-to-communication-control-and-signal-processing-spring-2010/61ec3ac814f18a1f05b4ce0c90e89282_MIT6_011S10_chap14.pdf)</sup> |
| 引力波模板库 | 每次 CBC 搜索使用 \( 10^{5} \) 至 \( 10^{6} \) 个模板；信噪比阈值通常为 4 至 8<sup>[7](https://indico.in2p3.fr/event/33553/contributions/145150/attachments/87760/132524/GdR%202024%20matched%20filtering%20review.pdf)</sup> |
| 快速实现 | 基于 FFT 的滤波计算量为 \( O(N \log N) \)，而非 \( O(N^{2}) \)<sup>[8](https://eprints.gla.ac.uk/266724/1/266724.pdf)</sup> |

## 工作原理

该滤波器通过最大化线性滤波器在某一时刻采样的输出信噪比来导出。对于在双边密度为 \( N_{0}/2 \) 的加性白高斯噪声中于 \( [0,T] \) 上观测到的信号 \( s(t) \)，采样器处的信噪比为

\[ \mathrm{SNR} = \frac{\left[ \int_{0}^{T} s(\tau)\, h(T-\tau)\, d\tau \right]^{2}}{\left( N_{0}/2 \right) \int_{0}^{T} h^{2}(T-t)\, dt}, \]

[柯西–施瓦茨不等式](https://www.edgepedia.org/zh/cauchy-schwarz-inequality)将此量上界约束为 \( 2E_{s}/N_{0} \)，当且仅当 \( h(t) = s(T-t) \) 时取等号。<sup>[5](https://web.mit.edu/16.36/2006directory/lectures/Lectures89.pdf)</sup> 在离散时间中，同样的论证给出冲激响应 \( h[n] = s[-n] \)（在模板支撑集上）而其余为零，检测性能完全由信号能量 \( E \) 与噪声方差 \( \sigma^{2} \) 之比决定。<sup>[6](https://ocw.mit.edu/courses/6-011-introduction-to-communication-control-and-signal-processing-spring-2010/61ec3ac814f18a1f05b4ce0c90e89282_MIT6_011S10_chap14.pdf)</sup> 在频域中，最大化响应为 \( H(\Omega) = C\, X^{*}(\Omega)/S_{nn}(\Omega) \cdot e^{-j\Omega n_{0}} \)，即共轭的信号频谱除以噪声功率谱密度；对于白噪声，这简化为 \( h[n] = (C/N_{0})\, x[n_{0}-n] \)，而匹配模板的滤波器输出正比于信号的自相关函数，在到达时刻达到峰值。<sup>[9](https://socratic-software.github.io/stochastica/Chap_9.html)</sup>

相关解释直接可得：匹配滤波接收机等价于将接收信号 \( r(t) \) 与模板 \( s(t) \) 相乘并在模板持续时间内积分。<sup>[5](https://web.mit.edu/16.36/2006directory/lectures/Lectures89.pdf)</sup> 同一统计量也作为平稳高斯噪声中确定性信号的似然比检验出现，方法是将数据与模板相关并将结果与阈值比较；最优信噪比为 \( \rho := \sqrt{\langle h|h\rangle} \)，其中 \( \rho^{2} = 4 \int_{0}^{\infty} |\tilde{h}(f)|^{2}/S_{n}(f)\, df \)。<sup>[2](https://link.springer.com/article/10.12942/lrr-2012-4)</sup> 匹配滤波器在所有线性滤波器中使信噪比最大化，这一性质与噪声概率分布无关，但最强的检测保证——通过内曼–皮尔逊准则——要求高斯噪声。<sup>[2](https://link.springer.com/article/10.12942/lrr-2012-4)</sup><sup> • </sup><sup>[4](https://ar5iv.labs.arxiv.org/html/2107.09378)</sup>

## 实现方法

实用的检测器有四个步骤。第一，选择模板：即预期的信号波形，或覆盖未知信号参数范围的模板库。第二，当噪声为有色噪声时进行白化：首先应用白化滤波器 \( h_{w}[n] \)（只要噪声功率谱密度严格为正即存在），然后匹配滤波器与白化后的脉冲 \( p[n] = s[n] * h_{w}[n] \) 匹配，给出 \( h_{m}[n] = p[-n] \)。<sup>[6](https://ocw.mit.edu/courses/6-011-introduction-to-communication-control-and-signal-processing-spring-2010/61ec3ac814f18a1f05b4ce0c90e89282_MIT6_011S10_chap14.pdf)</sup> 第三，计算相关，可以直接计算，或对长数据在频域中计算：精确统计量需要求数据协方差矩阵 \( C \) 的逆，对于长信号这可能无法装入内存，因此标准实现用[循环矩阵](https://www.edgepedia.org/zh/circulant-matrix)近似 \( C \) 并应用穆尔–彭罗斯伪逆，在频谱比低于容差（如 \( 10^{-8} \)）时将其置零。<sup>[4](https://ar5iv.labs.arxiv.org/html/2107.09378)</sup> 第四，对输出峰值进行阈值化，通常取相关序列标准差的 \( u \) 倍，\( u \) 在 3 到 5 之间。<sup>[4](https://ar5iv.labs.arxiv.org/html/2107.09378)</sup>

当信号位置未知时，虚警控制需要谨慎处理。特定虚警概率由最大峰值的次序统计量计算，在成像应用中，基于高斯的峰值误检估计 \( \Phi(u) \) 在阈值 \( u = 4 \) 时可能比正确的基于峰值概率密度函数的值 \( \Psi(u) \) 小约 30 倍。<sup>[4](https://ar5iv.labs.arxiv.org/html/2107.09378)</sup><sup> • </sup><sup>[10](https://www.aanda.org/articles/aa/full_html/2016/05/aa27463-15/aa27463-15.html)</sup> 在引力波搜索中，虚警率通过将不同探测器的数据进行时间滑动互相对照来经验性地估计；低于约每 100 年 1 次的虚警率标志着候选事件不太可能由噪声产生。<sup>[7](https://indico.in2p3.fr/event/33553/contributions/145150/attachments/87760/132524/GdR%202024%20matched%20filtering%20review.pdf)</sup>

## 起源

该方法源于战时雷达接收研究。J. H. 范弗莱克（J. H. Van Vleck）和[戴维·米德尔顿](https://www.edgepedia.org/zh/david-middleton-physicist)（David Middleton）在 1946 年发表于《应用物理学杂志》的《噪声存在下脉冲信号视觉、听觉与仪表接收的理论比较》中引入了该滤波器；P. M. 伍德沃德（P. M. Woodward）1951 年关于雷达接收机的论述讨论了同一滤波器（除一个缩放因子 \( 2/N_{0} \) 外），并归功于范弗莱克和米德尔顿的论文。<sup>[11](https://doi.org/10.1063/1.1707666)</sup><sup> • </sup><sup>[1](https://digitalcommons.uri.edu/ele_facpubs/1288)</sup><sup> • </sup><sup>[12](https://www.norbertwiener.umd.edu/crowds/documents/Woodward51.pdf)</sup> G. 都灵（G. Turin）的教程《匹配滤波器导论》（1960 年，《IEEE 信息论汇刊》）——大多数教科书遵循其证明方法——以及西奥多·G. 伯索尔（Theodore G. Birdsall）的频域证明《理解频域中的匹配滤波器》（1976 年，《IEEE 教育汇刊》）成为标准阐述。<sup>[13](https://doi.org/10.1109/tit.1960.1057571)</sup><sup> • </sup><sup>[14](https://doi.org/10.1109/te.1976.4321082)</sup><sup> • </sup><sup>[15](https://journals.sagepub.com/doi/full/10.1177/0020720918815997)</sup>

## 变体

有几种命名形式对基本滤波器进行了改编。归一化匹配滤波器对归一化内积 \( |\langle x/\|x\|, y/\|y\| \rangle| \) 进行阈值化，其值限制在 \( [0,1] \) 内，当两个信号形状相同时取最大值；对于非时限目标，这退化为归一化互相关。<sup>[16](https://eng.libretexts.org/Bookshelves/Electrical_Engineering/Signal_Processing_and_Modeling/Signals_and_Systems_%28Baraniuk_et_al.%29/13%3A_Capstone_Signal_Processing_Topics/13.04%3A_Matched_Filter_Detector)</sup> 广义或白化匹配滤波器通过上述 \( G^{*}(f)/|H_{N}(f)|^{2} \) 响应处理有色噪声。<sup>[17](https://www.lntwww.lnt.ei.tum.de/Theory_of_Stochastic_Signals/Matched_Filter)</sup> 宽线性匹配滤波器通过同时使用协方差矩阵和伪协方差矩阵，将严格线性滤波器扩展到非圆复数噪声；对于圆噪声，严格线性滤波器的信噪比恰好是宽线性滤波器的一半。<sup>[18](https://arxiv.org/pdf/2401.16729v2.pdf)</sup> 当信号参数未知时，匹配滤波器库对每个候选模板运行一个滤波器；引力波模板库将模板放置在六边形 \( A_{2}^{*} \) 格点上，使得失配分布在 0 和最大值之间基本平坦。<sup>[19](https://arxiv.org/html/1303.2005)</sup>

## 应用

雷达和声呐接收机使用匹配滤波器检测脉冲回波并估计到达时间，通信接收机将其用作高斯噪声中的最优检测器。<sup>[3](https://faculty.nps.edu/rcristi/EO3404/C-Filters/text/3-Matched-Filters.pdf)</sup><sup> • </sup><sup>[16](https://eng.libretexts.org/Bookshelves/Electrical_Engineering/Signal_Processing_and_Modeling/Signals_and_Systems_%28Baraniuk_et_al.%29/13%3A_Capstone_Signal_Processing_Topics/13.04%3A_Matched_Filter_Detector)</sup> 最突出的现代应用是引力波检测。FINDCHIRP 算法被 LIGO 科学合作组织和 Virgo 用于并合致密双星搜索，它实现了最优滤波器，并针对未知信号参数和非平稳、非高斯探测器伪影进行了创新。<sup>[20](https://doi.org/10.1103/physrevd.85.122006)</sup> 当前的 LIGO/Virgo/KAGRA 致密双星搜索运行四条基于模板的匹配滤波流水线：PyCBC、GstLAL、MBTA 和 SPIIR；O4 观测运行中 GstLAL 模板库包含约 \( 2 \times 10^{6} \) 个模板，GstLAL 在 GW150914 的探测中发挥了关键作用，并且是第一个在低延迟下探测到 GW170817 的流水线。<sup>[7](https://indico.in2p3.fr/event/33553/contributions/145150/attachments/87760/132524/GdR%202024%20matched%20filtering%20review.pdf)</sup><sup> • </sup><sup>[21](https://arxiv.org/html/2410.16416)</sup>

## 局限与替代方案

该方法的核心局限在于它需要模板的函数形式：当预期信号的形状不可获得时，没有构建匹配滤波器的通用程序。<sup>[4](https://ar5iv.labs.arxiv.org/html/2107.09378)</sup> 失配会定量地降低性能：任何满足奈奎斯特零干扰准则的非匹配滤波器在信噪比上损失一个因子 \( G^{2} \)，等于脉冲与滤波器之间归一化互相关的平方，对于滚降系数为 0.5 的升余弦脉冲约为 0.967。<sup>[15](https://journals.sagepub.com/doi/full/10.1177/0020720918815997)</sup> 在致密双星搜索中，模板库的大小设置为使最坏情况下的信噪比损失保持很小；97% 的最小匹配确保在最坏失配位置处丢失的信号少于 10%。<sup>[19](https://arxiv.org/html/1303.2005)</sup> 即使 3% 的模板失配也能产生很大的卡方值，因此 FINDCHIRP 对修正的、失配加权的卡方统计量而非固定统计量进行阈值化，现代流水线使用时频、自相关和模板库卡方判别量来拒绝非高斯伪影。<sup>[20](https://doi.org/10.1103/physrevd.85.122006)</sup><sup> • </sup><sup>[7](https://indico.in2p3.fr/event/33553/contributions/145150/attachments/87760/132524/GdR%202024%20matched%20filtering%20review.pdf)</sup> 对于连续波搜索，参数空间如此之大，以至于直接实现的最优匹配滤波在计算上不可行，这促使了有意且可接受的次优分层搜索。<sup>[22](https://ar5iv.labs.arxiv.org/html/gr-qc/9912029)</sup>

机器学习检测器是近期的替代方案，且两者关系密切：使用一组模板的匹配滤波在形式上等价于一个特定的浅层前馈网络，该网络可以从模板解析地构建，然后在数据上训练；更深的变体处理最优决策区域非凸的非高斯噪声。<sup>[23](https://ar5iv.labs.arxiv.org/html/2104.03961)</sup> 混合设计将信噪比图——来自 256 个模板的匹配滤波信噪比时间序列堆叠——输入神经网络，达到与 PyCBC 相当的灵敏度。<sup>[24](https://arxiv.org/pdf/2512.12399)</sup>

计算量随模板数量增长。对 \( M \) 个样本的直接时域相关计算量为 \( O(M^{2}) \)，通过快速[傅里叶变换](https://www.edgepedia.org/zh/fourier-transform)降至 \( O(M \log M) \)；引力波模板库可达到约 \( 10^{12} \) 个模板，经典计算约需 \( 10^{6} \) CPU 小时，这促使高思佳（Sijia Gao）及其同事在 2022 年《[物理评论研究](https://www.edgepedia.org/zh/physical-review-research)》中提出了量子 Grover 搜索，加速比正比于模板数量的平方根。<sup>[8](https://eprints.gla.ac.uk/266724/1/266724.pdf)</sup> GPU 实现大幅降低成本：卡方否决在 GPU 上运行速度约快 20 倍，GstLAL LLOID 引擎的 PyTorch 改编版在 [NVIDIA A100](https://www.edgepedia.org/zh/nvidia-a100) 上相比单个 CPU 核心达到最高 169 倍的加速。<sup>[20](https://doi.org/10.1103/physrevd.85.122006)</sup><sup> • </sup><sup>[21](https://arxiv.org/html/2410.16416)</sup> 在巴拉克·扎凯（Barak Zackay）及其同事（2018 年，arXiv）的相对分箱方法基础上，2025 年的一种比值滤波方法从参考模板的序列重建邻近模板的信噪比时间序列，与标准匹配滤波的一致性达到 \( O(10^{-4}) \)，同时将计算成本至少降低约 25%。<sup>[25](https://doi.org/10.48550/arxiv.1806.08792)</sup><sup> • </sup><sup>[26](https://arxiv.org/html/2511.12894)</sup>

## References

1. [The ubiquitous matched filter: A tutorial and application to radar detection (Kay & Rangaswamy)](https://digitalcommons.uri.edu/ele_facpubs/1288)
2. [Gravitational-Wave Data Analysis. Formalism and Sample Applications: The Gaussian Case (Living Reviews in Relativity)](https://link.springer.com/article/10.12942/lrr-2012-4)
3. [Matched Filters (NPS EO3404 course text, R. Cristi)](https://faculty.nps.edu/rcristi/EO3404/C-Filters/text/3-Matched-Filters.pdf)
4. [Everything you always wanted to know about matched filters (but were afraid to ask) (Vio et al.)](https://ar5iv.labs.arxiv.org/html/2107.09378)
5. [Lectures 8 & 9: Signal Detection: matched filter (MIT 16.36, Eytan Modiano)](https://web.mit.edu/16.36/2006directory/lectures/Lectures89.pdf)
6. [Signals, Systems and Inference, Chapter 14: Signal Detection (Oppenheim & Verghese, MIT OCW)](https://ocw.mit.edu/courses/6-011-introduction-to-communication-control-and-signal-processing-spring-2010/61ec3ac814f18a1f05b4ce0c90e89282_MIT6_011S10_chap14.pdf)
7. [Analysis of ground-based detector data with a focus on matched filtering (GdR 2024 review talk, Tito Dal Canton)](https://indico.in2p3.fr/event/33553/contributions/145150/attachments/87760/132524/GdR%202024%20matched%20filtering%20review.pdf)
8. [Quantum algorithm for gravitational-wave matched filtering (Phys. Rev. Research 4, 023006)](https://eprints.gla.ac.uk/266724/1/266724.pdf)
9. [The Matched Filter, Introduction to Stochastic Signal Processing (Ch. 9)](https://socratic-software.github.io/stochastica/Chap_9.html)
10. [The correct estimate of the probability of false detection of the matched filter in weak-signal detection problems (Astronomy & Astrophysics)](https://www.aanda.org/articles/aa/full_html/2016/05/aa27463-15/aa27463-15.html)
11. [J. H. Van Vleck, David Middleton (1946). A Theoretical Comparison of the Visual, Aural, and Meter Reception of Pulsed Signals in the Presence of Noise. Journal of Applied Physics.](https://doi.org/10.1063/1.1707666)
12. [Theory of Radar Receivers (P.M. Woodward, 1951)](https://www.norbertwiener.umd.edu/crowds/documents/Woodward51.pdf)
13. [G. Turin (1960). An introduction to matched filters. IEEE Transactions on Information Theory.](https://doi.org/10.1109/tit.1960.1057571)
14. [Theodore G. Birdsall (1976). On Understanding the Matched Filter in the Frequency Domain. IEEE Transactions on Education.](https://doi.org/10.1109/te.1976.4321082)
15. [An elucidating proof that a matched filter is optimum (Int. J. Electrical Engineering Education)](https://journals.sagepub.com/doi/full/10.1177/0020720918815997)
16. [13.04: Matched Filter Detector (eng.libretexts.org)](https://eng.libretexts.org/Bookshelves/Electrical_Engineering/Signal_Processing_and_Modeling/Signals_and_Systems_%28Baraniuk_et_al.%29/13%3A_Capstone_Signal_Processing_Topics/13.04%3A_Matched_Filter_Detector)
17. [Matched Filter - Theory of Stochastic Signals (LNTwww, TU Munich)](https://www.lntwww.lnt.ei.tum.de/Theory_of_Stochastic_Signals/Matched_Filter)
18. [Widely Linear Matched Filter: A Lynchpin towards the Interpretability of Complex-valued CNNs (2024)](https://arxiv.org/pdf/2401.16729v2.pdf)
19. [The Balancing Act Of Template Bank Construction: Inspiral Waveform Template Banks For Gravitational-Wave Detectors](https://arxiv.org/html/1303.2005)
20. [Bruce Allen and colleagues (2012). FINDCHIRP: An algorithm for detection of gravitational waves from inspiraling compact binaries. Physical review. D. Particles, fields, gravitation, and cosmology/Physical review. D. Particles and fields.](https://doi.org/10.1103/physrevd.85.122006)
21. [Scalable matched-filtering pipeline for gravitational-wave searches of compact binary mergers (2024)](https://arxiv.org/html/2410.16416)
22. [An Efficient Matched Filtering Algorithm for the Detection of Continuous Gravitational Wave Signals](https://ar5iv.labs.arxiv.org/html/gr-qc/9912029)
23. [Generalized Approach to Matched Filtering using Neural Networks (2021)](https://ar5iv.labs.arxiv.org/html/2104.03961)
24. [Hybrid algorithm combining matched filtering and convolutional neural networks for gravitational wave detection (December 2025)](https://arxiv.org/pdf/2512.12399)
25. [Zackay, Barak, Dai, Liang, Venumadhav, Tejaswi (2018). Relative Binning and Fast Likelihood Evaluation for Gravitational Wave Parameter Estimation. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1806.08792)
26. [Efficient Reconstruction of Matched-Filter SNR Time Series from Nearby Templates for CBC Searches (November 2025)](https://arxiv.org/html/2511.12894)

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

Topic: 技术与人造世界 › 通信与日常技术 › 接收机信号处理方法

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/matched-filtering

English original: https://www.edgepedia.org/matched-filtering
