# 时频分析

时频分析是一族信号处理方法，它同时在时间和频率上表示信号，使频率成分随时间的变化变得可见。对于频谱会发生变化的非平稳信号，这种分析是必要的：傅里叶功率谱显示了数据中存在哪些频率，却不揭示频率成分的变化发生在何处。<sup>[1](https://apps.dtic.mil/sti/tr/pdf/ADA385576.pdf)</sup> 该领域分为[原子分解](https://www.edgepedia.org/zh/atomic-decomposition)和能量分布两大类：原子分解用局部化的基本函数构建信号（[短时傅里叶变换](https://www.edgepedia.org/zh/short-time-fourier-transform)、加博尔表示和[小波变换](https://www.edgepedia.org/zh/wavelet-transform)），能量分布则估计二维能量密度（维格纳–维尔分布、科恩类及相关仿射分布）。<sup>[2](https://tftb.nongnu.org/tutorial.pdf)</sup> 加博尔于1946年将这一思想表述为二维“信息图”，图中面积与所传递的独立数据量成正比。<sup>[3](https://jcsphysics.net/lit/gabor1946.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 目的 | 对非平稳信号进行联合时频描述，此时单一全局频谱不够用<sup>[2](https://tftb.nongnu.org/tutorial.pdf)</sup> |
| 不确定性下界 | 一个时频原子的面积至少为1/2，仅高斯窗能达到此下界<sup>[4](https://www.di.ens.fr/~mallat/College/Chap4-Time-Frequency.pdf)</sup>；等价约定写作 \( BT \geq 1/(4\pi) \)<sup>[5](https://ar5iv.labs.arxiv.org/html/2101.06707)</sup> |
| 频谱图 | STFT的幅度平方，是一种非线性显示，丢弃相位且一般不可逆；STFT本身是线性的，在适当的框架条件下可逆，分辨率固定<sup>[6](https://www.mathworks.com/help/signal/ug/time-frequency-gallery.html)</sup> |
| STFT代价 | N个长度为N的FFT，完整离散计算约需 \( O(N^{2} \log N) \) 次运算<sup>[7](https://www.egr.msu.edu/~aviyente/ece802lecture2.pdf)</sup> |
| 维格纳–维尔 | 联合分辨率最高，时频展布约为最佳频谱图的一半，但交叉项可达分量幅度的两倍<sup>[8](https://www.maths.lu.se/fileadmin/maths/personal_staff/mariasandsten/TFkompver4.pdf)</sup><sup> • </sup><sup>[5](https://ar5iv.labs.arxiv.org/html/2101.06707)</sup> |
| 同步挤压 | 锐化、可逆的基于小波的表示，还能重构信号模态<sup>[9](https://www.math.ucdavis.edu/~saito/data/synchrosqueezing/daubechies-lu-wu_synchrosqueezing.pdf)</sup> |

## 工作原理

普通频谱是对全部时间积分。时频表示则报告局部频谱内容，只要各成分有起始、终止或频率变化，这一点就很重要。对于多成分信号，一维瞬时频率不够用，需要时间和频率的二维函数。<sup>[2](https://tftb.nongnu.org/tutorial.pdf)</sup>

所有方法都受不确定性原理约束：信号不可能在时间和频率上同时具有任意小的支撑。<sup>[2](https://tftb.nongnu.org/tutorial.pdf)</sup> 在常用约定中，窗的时间宽度与带宽之积有下界，最小面积的时频原子是高斯调制的正弦波；加博尔称这类原子为“基本信号”，每个携带一个“信息量子”。<sup>[3](https://jcsphysics.net/lit/gabor1946.pdf)</sup> 用窗的均方根时间宽度 \( \sigma_t \) 和以普通频率表示的均方根带宽 \( \sigma_f \) 写出，下界为 \( \sigma_t \sigma_f \geq \frac{1}{4\pi} \)（等价地，以角频率表示为 \( \sigma_t \sigma_\omega \geq 1/2 \)）；其他文献将同一约束表述为最小面积1/2，这是宽度定义约定上的差异，而非物理上的分歧。<sup>[5](https://ar5iv.labs.arxiv.org/html/2101.06707)</sup><sup> • </sup><sup>[4](https://www.di.ens.fr/~mallat/College/Chap4-Time-Frequency.pdf)</sup><sup> • </sup><sup>[10](https://www.crewes.org/Documents/ResearchReports/2016/CRR201668.pdf)</sup> 加博尔变换是带高斯窗的短时傅里叶变换，以等号满足该下界，因此给出任何线性方法所能达到的最佳联合分辨率。<sup>[5](https://ar5iv.labs.arxiv.org/html/2101.06707)</sup> 维格纳–维尔分布完全绕开了窗：它由信号本身计算，时频展布约为最优加窗频谱图的一半。<sup>[8](https://www.maths.lu.se/fileadmin/maths/personal_staff/mariasandsten/TFkompver4.pdf)</sup>

## 实现方法

**短时傅里叶变换。** 将信号乘以以时间t为中心的窗，对乘积取傅里叶变换，并对每个时刻重复此过程，得到每个t处的局部频谱。<sup>[2](https://tftb.nongnu.org/tutorial.pdf)</sup> 离散形式为 \( S[m,l] = \sum_{n} f[n]\, g[n-m]\, e^{-j 2\pi l \cdot n/N} \)，按N个长度为N的FFT计算，需 \( O(N^{2} \log N) \) 次运算；常用窗有汉明窗、矩形窗和指数窗。<sup>[7](https://www.egr.msu.edu/~aviyente/ece802lecture2.pdf)</sup><sup> • </sup><sup>[11](https://course.ece.cmu.edu/~ece491/lectures/L27/Intro_STFT.pdf)</sup> 时间分辨率等于窗的有效时长，频率分辨率等于其有效带宽，因此仅窗长就决定了这一权衡；通常取FFT长度L大于窗长M，且L为2的幂。<sup>[8](https://www.maths.lu.se/fileadmin/maths/personal_staff/mariasandsten/TFkompver4.pdf)</sup> 该变换可逆：当平移后的窗之和为常数时可用重叠相加法（50%重叠的汉明窗满足条件），或对每列做逆FFT再乘以对偶窗，默认取最小能量的规范对偶窗。<sup>[11](https://course.ece.cmu.edu/~ece491/lectures/L27/Intro_STFT.pdf)</sup><sup> • </sup><sup>[12](https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.ShortTimeFFT.html)</sup> 频谱图即STFT的幅度平方，是标准显示方式。<sup>[6](https://www.mathworks.com/help/signal/ug/time-frequency-gallery.html)</sup>

**连续小波变换。** CWT不用单一窗，而是将信号投影到由母小波经平移和伸缩导出的小波上，在高频用短窗、低频用长窗，且保持恒定比值。<sup>[2](https://tftb.nongnu.org/tutorial.pdf)</sup> 频率按倍频程对数递增，尺度 \( s = 2^{n/m} \)，m为每倍频程的声部数。<sup>[10](https://www.crewes.org/Documents/ResearchReports/2016/CRR201668.pdf)</sup> 所得尺度图在低频处频率分辨率比频谱图更细，在高频处更粗，因为小波的频率展布与 \( 1/s \) 成正比。<sup>[4](https://www.di.ens.fr/~mallat/College/Chap4-Time-Frequency.pdf)</sup> 解析莫莱小波时间局部化更好，凸起小波频率局部化更好，因此瞬态信号宜用莫莱小波。<sup>[13](https://www.mathworks.com/help/wavelet/ug/cwt-based-time-frequency-analysis.html)</sup>

**维格纳–维尔与科恩类。** 维格纳–维尔分布将信号与其经时间和频率平移、复共轭的副本做相关。它始终为实值，其边缘分别等于瞬时功率和谱能量密度，可在每个输入时间采样点上按信号采样间隔的网格计算，且局部可取负值。<sup>[6](https://www.mathworks.com/help/signal/ug/time-frequency-gallery.html)</sup> 由于是二次型，两个信号组合后的变换不是各自频谱之和，而是包含交叉谱，表现为分量之间的寄生干涉。<sup>[14](https://yadda.icm.edu.pl/baztech/element/bwmeta1.element.baztech-c5f4b2b7-70d6-4a57-8cae-ad39c89a7cce/c/Majkowski_Joint_4_2014.pdf)</sup> 科恩类是对时间和频率平移协变的二次时频分布族，每个成员可用不同核函数对维格纳–维尔分布做平均得到。<sup>[4](https://www.di.ens.fr/~mallat/College/Chap4-Time-Frequency.pdf)</sup> 平滑伪维格纳–维尔分布用两个独立的平滑窗g(t)和H(f)对其滤波，在时间和频率上平滑以抑制交叉项，代价是分辨率下降；崔–威廉姆斯分布和博恩–乔丹分布是科恩类的其他成员，通过不同核函数衰减交叉项。<sup>[5](https://ar5iv.labs.arxiv.org/html/2101.06707)</sup><sup> • </sup><sup>[15](https://www.nature.com/articles/s41467-020-20539-9)</sup>

## 起源

该领域的数学根源在于1930年前后的早期量子力学，以及信息论和信号分析的理论基础。<sup>[16](https://springerlink.fh-diploma.de/book/10.1007/978-1-4612-0003-1)</sup> 维格纳（E. Wigner）在1932年《[物理评论](https://www.edgepedia.org/zh/physical-review)》一篇关于量子力学热力学平衡的论文中提出了以他命名的分布。<sup>[17](https://doi.org/10.1103/physrev.40.749)</sup> 加博尔（D. Gabor）1946年在《电气工程师学会杂志》发表的《通信理论》一文定义了加窗傅里叶原子、不确定性关系和信息图。<sup>[18](https://doi.org/10.1049/ji-1.1947.0015)</sup> 科恩（Leon Cohen）1966年在《[数学物理杂志](https://www.edgepedia.org/zh/journal-of-mathematical-physics)》发表的《广义相空间分布函数》确立了现以他命名的二次分布类。<sup>[19](https://doi.org/10.1063/1.1931206)</sup> 重分配思想后来成为锐化方法的核心，由古寺（Kunihiko Kodera）、德维勒达里（Claude De Villedary）和让德兰（Roger Gendrin）于1976年在《地球与行星内部物理学》上针对地球物理信号提出。<sup>[20](https://doi.org/10.1016/0031-9201%2876%2990044-3)</sup> 小波变换是对母小波做平移和伸缩的仿射积分算子，源于地球物理学中的提议，数学家将其更名为连续小波变换；其容许性定理最早由卡尔德隆（Calderón）于1964年证明，两种变换的离散版本后来在希尔伯特空间框架理论中获得了坚实基础。<sup>[10](https://www.crewes.org/Documents/ResearchReports/2016/CRR201668.pdf)</sup><sup> • </sup><sup>[21](https://heil.math.gatech.edu/papers/siam.pdf)</sup><sup> • </sup><sup>[4](https://www.di.ens.fr/~mallat/College/Chap4-Time-Frequency.pdf)</sup>

## 变体

**重分配与同步挤压。** 重分配将每个谱估计移到其所在单元的能量中心，对啁啾信号（频率随时间连续扫变的信号）和冲激给出精确局部化。<sup>[6](https://www.mathworks.com/help/signal/ug/time-frequency-gallery.html)</sup> 现代同步挤压小波变换由多贝西（Ingrid Daubechies）、卢剑锋（Jianfeng Lu）和吴浩铁（Hau-Tieng Wu）于2010年在《应用与计算调和分析》上提出，将小波分析与重分配相结合而保持可逆，并可证明地分解一类定义良好的、分离较好的近似谐波分量；候选瞬时频率按下式计算：\( \omega_{s}(a,b) = -i\,(W_{s}(a,b))^{-1} \frac{\partial}{\partial b} W_{s}(a,b) \)。<sup>[22](https://doi.org/10.1016/j.acha.2010.08.002)</sup><sup> • </sup><sup>[9](https://www.math.ucdavis.edu/~saito/data/synchrosqueezing/daubechies-lu-wu_synchrosqueezing.pdf)</sup> 塔库尔（Gaurav Thakur）、布雷夫多（Eugene Brevdo）、富奇卡尔（Neven S. Fučkar）和吴浩铁2013年在《信号处理》上的算法论文证明了对有界扰动和高斯白噪声的鲁棒性。<sup>[23](https://arxiv.org/pdf/1105.0010)</sup> 该族后来的成员包括同步提取变换、多重同步挤压变换，以及用于机械信号的时间重分配同步挤压变换。<sup>[24](https://doi.org/10.1109/tie.2017.2696503)</sup><sup> • </sup><sup>[25](https://doi.org/10.1109/tie.2018.2868296)</sup><sup> • </sup><sup>[26](https://doi.org/10.1016/j.ymssp.2018.08.004)</sup>

**其他改进。** 斯托克韦尔变换是带频率相关高斯窗的短时傅里叶变换。<sup>[5](https://ar5iv.labs.arxiv.org/html/2101.06707)</sup> 恒Q加博尔变换在直到奈奎斯特频率的对数间隔频率上使用中心频率与带宽之比恒定的窗，并允许稳定、完美重构的逆变换。<sup>[6](https://www.mathworks.com/help/signal/ug/time-frequency-gallery.html)</sup> 超小波变换将带宽约束逐渐增强的小波集合以几何平均方式组合，保持单个小波的时间分辨率，同时在上频带获得频率分辨率。<sup>[15](https://www.nature.com/articles/s41467-020-20539-9)</sup>

## 应用

时频工具广泛应用于雷达和声呐信号处理、生物医学、电信、地震学和汽车发动机技术。<sup>[27](https://tfsa.ucg.ac.me/pap/tfsa-001052.pdf)</sup> 在语音、生物医学脑电图和心电图、地震、电网和机械振动测试中，固定分辨率的STFT与位置相关的小波分辨率之间的取舍是标准的设计决策。<sup>[14](https://yadda.icm.edu.pl/baztech/element/bwmeta1.element.baztech-c5f4b2b7-70d6-4a57-8cae-ad39c89a7cce/c/Majkowski_Joint_4_2014.pdf)</sup> 在地震反射数据中，连续小波变换比固定170毫秒滑窗STFT更好地分离了分量。<sup>[10](https://www.crewes.org/Documents/ResearchReports/2016/CRR201668.pdf)</sup> 超小波可分辨人类和啮齿动物脑信号中的高频爆发，并揭示单次试验中平均所掩盖的瞬态振荡事件。<sup>[15](https://www.nature.com/articles/s41467-020-20539-9)</sup> 同步挤压已在LIGO引力波信号、2017年9月8日Mw 8.2恰帕斯地震和[波波卡特佩特火山](https://www.edgepedia.org/zh/popocatepetl)的火山地震颤动上得到演示，并应用于地球物理学、古气候研究、医学研究以及机械和土木工程。<sup>[28](https://pmc.ncbi.nlm.nih.gov/articles/PMC6048578/)</sup> 生物医学用途包括从光电容积脉搏波估计心率和呼吸率、心电图诊断以及从脑电图标注睡眠阶段。<sup>[29](https://ar5iv.labs.arxiv.org/html/2004.00501)</sup>

## 局限与替代方案

**失效模式。** 线性方法将快速瞬态抹平到窗宽：在222和800毫秒处有瞬态的测试信号中，STFT仅将其显示为宽带功率增加，而CWT准确定位了它们。<sup>[13](https://www.mathworks.com/help/wavelet/ug/cwt-based-time-frequency-analysis.html)</sup> 维格纳–维尔的交叉项出现在分量中间，且可达分量本身的两倍大，与间隔无关；而频谱图的交叉项主要在分量于时频平面上接近时出现。<sup>[8](https://www.maths.lu.se/fileadmin/maths/personal_staff/mariasandsten/TFkompver4.pdf)</sup> 频谱图既不满足时间边缘也不满足频率边缘，因此不是真正的能量分布。<sup>[7](https://www.egr.msu.edu/~aviyente/ece802lecture2.pdf)</sup> 没有单一表示能满足物理上正确的联合能量密度的所有性质，因此每种选择都会丢弃一些东西。<sup>[1](https://apps.dtic.mil/sti/tr/pdf/ADA385576.pdf)</sup>

**EMD与希尔伯特–黄变换。** 经验模态分解由[黄锷](https://www.edgepedia.org/zh/norden-e-huang)（Norden E. Huang）及其同事在1998年《皇家学会A辑学报》论文中提出，将信号筛分为本征模态函数，并应用[希尔伯特变换](https://www.edgepedia.org/zh/hilbert-transform)形成希尔伯特谱。<sup>[30](https://doi.org/10.1098/rspa.1998.0193)</sup> EMD存在模态混叠、分裂、混叠和端点伪影；集合EMD通过注入零均值高斯白噪声减少模态混叠，但不同噪声实现可能产生不同数量的模态。<sup>[31](https://imgw.univie.ac.at/fileadmin/user_upload/i_img/Geophyik/Publikationen_bis_2018/Tary_2014_Spectral.pdf)</sup> 同步挤压以更坚实的数学实现了EMD所追求的自适应分解，但适合窄带谐波分量而非连续宽带频谱，且它增强可读性而不提高局部化能力——后者受不确定性原理限制。<sup>[9](https://www.math.ucdavis.edu/~saito/data/synchrosqueezing/daubechies-lu-wu_synchrosqueezing.pdf)</sup><sup> • </sup><sup>[28](https://pmc.ncbi.nlm.nih.gov/articles/PMC6048578/)</sup> 2015年《数字信号处理》的一篇综述认为，同步挤压变换更高的集中度“似乎并不意味着更好的分辨率特性”，主要提供比底层变换更悦目的图像。<sup>[32](https://dl.acm.org/doi/10.1016/j.dsp.2015.03.004)</sup>

**学习方法。** TFA-Net是潘萍萍（Pingping Pan）及其同事2022年在IEEE TNNLS上提出的端到端深度学习时频分析工具，直接学习基函数，而非对固定变换做后处理。<sup>[33](https://doi.org/10.1109/tnnls.2022.3157723)</sup>

## References

1. [Linear and Quadratic Time-Frequency Representations (DTIC report ADA385576)](https://apps.dtic.mil/sti/tr/pdf/ADA385576.pdf)
2. [Time-Frequency Toolbox Tutorial (tftb)](https://tftb.nongnu.org/tutorial.pdf)
3. [Theory of Communication (D. Gabor, 1946, Journal of the IEE)](https://jcsphysics.net/lit/gabor1946.pdf)
4. [A Wavelet Tour of Signal Processing, Chapter 4: Time Frequency (S. Mallat)](https://www.di.ens.fr/~mallat/College/Chap4-Time-Frequency.pdf)
5. [Fourier, Gabor, Morlet or Wigner: Comparison of Time-Frequency Transforms](https://ar5iv.labs.arxiv.org/html/2101.06707)
6. [Time-Frequency Gallery, MATLAB & Simulink](https://www.mathworks.com/help/signal/ug/time-frequency-gallery.html)
7. [Introduction to Time-Frequency Distributions (Selin Aviyente, Michigan State University)](https://www.egr.msu.edu/~aviyente/ece802lecture2.pdf)
8. [Time-Frequency Analysis (lecture notes, Maria Sandsten, Lund University)](https://www.maths.lu.se/fileadmin/maths/personal_staff/mariasandsten/TFkompver4.pdf)
9. [Synchrosqueezed wavelet transforms: an empirical mode decomposition-like tool (Daubechies, Lu, Wu, ACHA 2011)](https://www.math.ucdavis.edu/~saito/data/synchrosqueezing/daubechies-lu-wu_synchrosqueezing.pdf)
10. [Jean Morlet and the Continuous Wavelet Transform (CREWES Research Report)](https://www.crewes.org/Documents/ResearchReports/2016/CRR201668.pdf)
11. [Introduction to the Short-Time Fourier Transform (STFT), Richard M. Stern, CMU 18-491 lecture](https://course.ece.cmu.edu/~ece491/lectures/L27/Intro_STFT.pdf)
12. [scipy.signal.ShortTimeFFT, SciPy v1.18.0 Manual](https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.ShortTimeFFT.html)
13. [CWT-Based Time-Frequency Analysis, MATLAB Example](https://www.mathworks.com/help/wavelet/ug/cwt-based-time-frequency-analysis.html)
14. [Joint Time-Frequency and Wavelet Analysis – An Introduction](https://yadda.icm.edu.pl/baztech/element/bwmeta1.element.baztech-c5f4b2b7-70d6-4a57-8cae-ad39c89a7cce/c/Majkowski_Joint_4_2014.pdf)
15. [Time-frequency super-resolution with superlets (Nature Communications)](https://www.nature.com/articles/s41467-020-20539-9)
16. [Foundations of Time-Frequency Analysis (K. Gröchenig, Birkhäuser, 2001)](https://springerlink.fh-diploma.de/book/10.1007/978-1-4612-0003-1)
17. [E. Wigner (1932). On the Quantum Correction For Thermodynamic Equilibrium. Physical Review.](https://doi.org/10.1103/physrev.40.749)
18. [D. Gabor (1947). Theory of communication. Journal of the Institution of Electrical Engineers, Part 1, General.](https://doi.org/10.1049/ji-1.1947.0015)
19. [Leon Cohen (1966). Generalized Phase-Space Distribution Functions. Journal of Mathematical Physics.](https://doi.org/10.1063/1.1931206)
20. [A new method for the numerical analysis of non-stationary signals (Physics of The Earth and Planetary Interiors, 1976)](https://doi.org/10.1016/0031-9201%2876%2990044-3)
21. [Continuous and Discrete Wavelet Transforms (C. E. Heil and D. F. Walnut, SIAM Review, 1989)](https://heil.math.gatech.edu/papers/siam.pdf)
22. [Ingrid Daubechies, Jianfeng Lu, Hau-Tieng Wu (2010). Synchrosqueezed wavelet transforms: An empirical mode decomposition-like tool. Applied and Computational Harmonic Analysis.](https://doi.org/10.1016/j.acha.2010.08.002)
23. [The Synchrosqueezing algorithm for time-varying spectral analysis (Thakur, Brevdo, Fučkar, Wu; Signal Processing 93 (2013) 1079–1094)](https://arxiv.org/pdf/1105.0010)
24. [Gang Yu, Mingjin Yu, Chuanyan Xu (2017). Synchroextracting Transform. IEEE Transactions on Industrial Electronics.](https://doi.org/10.1109/tie.2017.2696503)
25. [Gang Yu, Zhonghua Wang, Ping Zhao (2018). Multisynchrosqueezing Transform. IEEE Transactions on Industrial Electronics.](https://doi.org/10.1109/tie.2018.2868296)
26. [Dong He and colleagues (2018). Time-reassigned synchrosqueezing transform: The algorithm and its applications in mechanical signal processing. Mechanical Systems and Signal Processing.](https://doi.org/10.1016/j.ymssp.2018.08.004)
27. [Time-Frequency Signal Analysis with Applications (Stanković et al.)](https://tfsa.ucg.ac.me/pap/tfsa-001052.pdf)
28. [Analysis of time-varying signals using continuous wavelet and synchrosqueezed transforms (Phil. Trans. R. Soc. A, 2018)](https://pmc.ncbi.nlm.nih.gov/articles/PMC6048578/)
29. [Current state of nonlinear-type time-frequency analysis and applications to high-frequency biomedical signals (Wu, 2020)](https://ar5iv.labs.arxiv.org/html/2004.00501)
30. [Norden E. Huang and colleagues (1998). The empirical mode decomposition and the Hilbert spectrum for nonlinear and non-stationary time series analysis. Proceedings of the Royal Society A Mathematical Physical and Engineering Sciences.](https://doi.org/10.1098/rspa.1998.0193)
31. [Spectral estimation: What is new? What is next? (Tary et al., 2014, geophysics review)](https://imgw.univie.ac.at/fileadmin/user_upload/i_img/Geophyik/Publikationen_bis_2018/Tary_2014_Spectral.pdf)
32. [Linear and synchrosqueezed time-frequency representations revisited (Digital Signal Processing, 2015)](https://dl.acm.org/doi/10.1016/j.dsp.2015.03.004)
33. [Pingping Pan and colleagues (2023). TFA-Net: A Deep Learning-Based Time-Frequency Analysis Tool.. PubMed.](https://doi.org/10.1109/tnnls.2022.3157723)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/time-frequency-analysis

English original: https://www.edgepedia.org/time-frequency-analysis
