# 倒谱

**倒谱**（cepstrum）是一种信号处理表示，通过对[傅里叶变换](https://www.edgepedia.org/zh/fourier-transform)取对数后再做逆傅里叶变换得到。它由B. P. Bogert、M. J. R. Healy和J. W. Tukey于1963年提出，最初是作为检测回声的工具，后来通过与同态滤波的关联成为语音分析的基础。<sup>[1](https://mathworld.wolfram.com/Cepstrum.html)</sup><sup> • </sup><sup>[2](https://www-i6.informatik.rwth-aachen.de/web/Teaching/Lectures/WS10_11/asr/literature/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 对傅里叶变换取对数后的逆傅里叶变换；实倒谱使用幅度对数，\( c(q) = \mathcal{F}^{-1}[\ln \lvert \mathcal{F}[x(t)] \rvert](q) \)<sup>[1](https://mathworld.wolfram.com/Cepstrum.html)</sup> |
| 自变量 | 倒频率（quefrency），当原始信号的时间变量具有时间单位时，其单位为时间<sup>[1](https://mathworld.wolfram.com/Cepstrum.html)</sup> |
| 起源 | Bogert、Healy和Tukey，1963年，动机为回声检测；名称由“spectrum”字母换位而来<sup>[2](https://www-i6.informatik.rwth-aachen.de/web/Teaching/Lectures/WS10_11/asr/literature/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer.pdf)</sup><sup> • </sup><sup>[3](https://www.fceia.unr.edu.ar/prodivoz/Oppenheim_Schafer_2004.pdf)</sup> |
| 关键性质 | 复倒谱将卷积变为加法，当\( x[n] = x_1[n] * x_2[n] \)时，\( \hat{x}[n] = \hat{x}_1[n] + \hat{x}_2[n] \)<sup>[2](https://www-i6.informatik.rwth-aachen.de/web/Teaching/Lectures/WS10_11/asr/literature/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer.pdf)</sup> |
| 语音应用 | 在等于基音周期的倒频率处出现峰值；对于80至450 Hz的基频，峰值位于2.2至12.5毫秒处<sup>[3](https://www.fceia.unr.edu.ar/prodivoz/Oppenheim_Schafer_2004.pdf)</sup><sup> • </sup><sup>[4](https://wiki.aalto.fi/spaces/ITSP/pages/149885068/Cepstrum%2Band%2BMFCC)</sup> |
| 衍生特征 | 梅尔频率倒谱系数（MFCC），至今仍是语音识别系统最常见的输入特征<sup>[4](https://wiki.aalto.fi/spaces/ITSP/pages/149885068/Cepstrum%2Band%2BMFCC)</sup><sup> • </sup><sup>[5](https://doi.org/10.1109/ACCESS.2022.3223444)</sup> |
| 机械诊断 | 倒谱和倒谱预白化用于在振动信号中查找轴承和齿轮箱故障频率<sup>[6](https://onlinelibrary.wiley.com/doi/10.1155/2016/2378435)</sup> |

## 定义与变体

信号\( x \)的实倒谱，有时直接称为倒谱，计算方法是对\( x \)的傅里叶变换的幅度取自然对数，然后对所得序列应用逆傅里叶变换：<sup>[7](https://www.mathworks.com/help/signal/ug/cepstrum-analysis.html)</sup>

\[ c_x[n] = \frac{1}{2\pi} \int_{-\pi}^{\pi} \log \lvert X(e^{j\omega}) \rvert \, e^{j\omega n} \, d\omega. \]

**复倒谱**则使用傅里叶变换的复对数，并一致地选择相位：<sup>[1](https://mathworld.wolfram.com/Cepstrum.html)</sup>

\[ \hat{x}[n] = \frac{1}{2\pi} \int_{-\pi}^{\pi} \log \{ X(e^{j\omega}) \} \, e^{j\omega n} \, d\omega, \]

其中\( \log \{ X(e^{j\omega}) \} = \log \lvert X(e^{j\omega}) \rvert + j \arg[X(e^{j\omega})] \)。<sup>[2](https://www-i6.informatik.rwth-aachen.de/web/Teaching/Lectures/WS10_11/asr/literature/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer.pdf)</sup>对于实信号，实倒谱是复倒谱的偶部，\( c[n] = (\hat{x}[n] + \hat{x}[-n])/2 \)。<sup>[2](https://www-i6.informatik.rwth-aachen.de/web/Teaching/Lectures/WS10_11/asr/literature/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer.pdf)</sup>一种相关的约定是功率倒谱，它对功率谱取对数然后对结果平方；使用功率谱的对数而非幅度对数会使结果相差一个因子2。<sup>[1](https://mathworld.wolfram.com/Cepstrum.html)</sup><sup> • </sup><sup>[4](https://wiki.aalto.fi/spaces/ITSP/pages/149885068/Cepstrum%2Band%2BMFCC)</sup>

两种变体的区别在于它们保留了什么。由于实倒谱仅基于傅里叶变换的幅度，原始序列无法从中重建；复倒谱保留相位信息，可逆回时域。<sup>[7](https://www.mathworks.com/help/signal/ug/cepstrum-analysis.html)</sup><sup> • </sup><sup>[3](https://www.fceia.unr.edu.ar/prodivoz/Oppenheim_Schafer_2004.pdf)</sup>在MATLAB的信号处理工具箱中，`rceps`计算实倒谱，还可以返回一个与输入具有相同实倒谱的唯一最小相位序列，而`cceps`和`icceps`分别计算和求逆复倒谱。<sup>[7](https://www.mathworks.com/help/signal/ug/cepstrum-analysis.html)</sup>

## 对数为何重要

这种构造的目的是将乘法或卷积关系转化为加法关系。在傅里叶域中，两个信号的卷积变为其频谱的乘积，\( Y[k] = X[k]W[k] \)；取对数得到\( \log Y[k] = \log X[k] + \log W[k] \)，这个和可以被线性滤波分离。<sup>[8](https://web.stanford.edu/class/ee269/Lecture_5_Cepstrum_MFCC.pdf)</sup>复倒谱算子恰好具有这一性质：若\( x[n] = x_1[n] * x_2[n] \)，则\( \hat{x}[n] = \hat{x}_1[n] + \hat{x}_2[n] \)。<sup>[2](https://www-i6.informatik.rwth-aachen.de/web/Teaching/Lectures/WS10_11/asr/literature/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer.pdf)</sup>

同样的机制也是回声检测的基础。含回声信号的傅里叶频谱的对数具有一个加性周期分量，它仅取决于回声的大小和延迟，因此对对数谱做进一步的[傅里叶分析](https://www.edgepedia.org/zh/fourier-analysis)即可揭示回声。<sup>[2](https://www-i6.informatik.rwth-aachen.de/web/Teaching/Lectures/WS10_11/asr/literature/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer.pdf)</sup>一个MATLAB实例在100 Hz采样的45 Hz正弦波后0.2秒处加入半幅度回声；合成信号的复倒谱在0.2秒处显示一个峰值，标记了回声延迟。<sup>[7](https://www.mathworks.com/help/signal/ug/cepstrum-analysis.html)</sup>以这种方式产生的周期性倒谱分量称为倒谐波（rahmonics）。<sup>[1](https://mathworld.wolfram.com/Cepstrum.html)</sup>

## 起源与术语

Bogert、Healy和Tukey通过换位“spectrum”中的字母创造了cepstrum一词，并创造了一整族镜像术语：自变量称为倒频率（quefrency），对对数幅度谱进行线性滤波称为滤波（liftering），周期性分量称为倒谐波（rahmonics）。<sup>[2](https://www-i6.informatik.rwth-aachen.de/web/Teaching/Lectures/WS10_11/asr/literature/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer.pdf)</sup>他们最初的定义是围绕模拟信号的频谱分析松散地构建的，动机是地震信号中的回声检测，在那里它被证明远优于自相关函数，因为它对信号的频谱形状不敏感。<sup>[2](https://www-i6.informatik.rwth-aachen.de/web/Teaching/Lectures/WS10_11/asr/literature/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer.pdf)</sup><sup> • </sup><sup>[9](https://www.sciencedirect.com/science/article/pii/S0888327016305556)</sup>

这个术语造成了持久的语言学困扰。按“spectrum”类比，其自然发音应为kepstrum，而拼写却暗示sepstrum；了解词源的人采用的发音是kepstrum，一些作者为了明确发音就这样拼写。<sup>[3](https://www.fceia.unr.edu.ar/prodivoz/Oppenheim_Schafer_2004.pdf)</sup>

## 同态滤波与语音

[Alan V. Oppenheim](https://www.edgepedia.org/zh/alan-v-oppenheim)的MIT博士论文引入了同态系统——将乘法和卷积等非线性关系转换为线性关系以便在变换域中应用线性滤波的非线性映射；对对数谱执行逆傅里叶变换以获得一种新型倒谱，是Ronald Schafer的MIT博士论文《通过离散广义线性滤波消除回声》（1968）的基础。<sup>[9](https://www.sciencedirect.com/science/article/pii/S0888327016305556)</sup><sup> • </sup><sup>[3](https://www.fceia.unr.edu.ar/prodivoz/Oppenheim_Schafer_2004.pdf)</sup>1965年Cooley–Tukey快速傅里叶变换论文提供了实现所需变换的高效手段。<sup>[3](https://www.fceia.unr.edu.ar/prodivoz/Oppenheim_Schafer_2004.pdf)</sup>

语音天然适合这一框架，因为语音模型将信号表示为声道冲激响应与准周期性声门脉冲串的卷积。<sup>[3](https://www.fceia.unr.edu.ar/prodivoz/Oppenheim_Schafer_2004.pdf)</sup>Michael Noll在贝尔电话实验室[Manfred Schroeder](https://www.edgepedia.org/zh/manfred-r-schroeder)的启发下，将倒谱用于短时基音检测：浊音语音段的对数谱呈现以谐波间隔为间距的波纹，倒谱在相应的倒频率处显示峰值，该倒频率等于基音周期。<sup>[3](https://www.fceia.unr.edu.ar/prodivoz/Oppenheim_Schafer_2004.pdf)</sup>在一个已发表的例子中，基音周期约12.5 ms的50 ms加窗元音段在倒谱中产生12.5 ms处的第一个倒谐波峰值。<sup>[3](https://www.fceia.unr.edu.ar/prodivoz/Oppenheim_Schafer_2004.pdf)</sup>对于基频在80至450 Hz之间的语音，相应的倒谱峰值位于2.2至12.5毫秒之间，估计基频就归结为在该倒频率范围内找到最高的倒谱峰值。<sup>[4](https://wiki.aalto.fi/spaces/ITSP/pages/149885068/Cepstrum%2Band%2BMFCC)</sup>

滤波（liftering）分离两个卷积分量。对倒谱应用低通滤波器，保留第一个倒谐波峰值以下的低倒频率分量，可保留对数谱的缓慢变化部分，它对应声道的共振结构，即共振峰。<sup>[3](https://www.fceia.unr.edu.ar/prodivoz/Oppenheim_Schafer_2004.pdf)</sup><sup> • </sup><sup>[4](https://wiki.aalto.fi/spaces/ITSP/pages/149885068/Cepstrum%2Band%2BMFCC)</sup>在倒谱中，低倒频率携带关于对数谱缓慢变化特征的信息，而共振峰信息跨系数的解释并不直接，因为它分布在多个系数上。<sup>[4](https://wiki.aalto.fi/spaces/ITSP/pages/149885068/Cepstrum%2Band%2BMFCC)</sup>

## MFCC与现代应用

倒谱最著名的衍生物是梅尔频率倒谱系数（MFCC）表示。对数谱在按梅尔感知刻度间隔的频率上采样，通常使用三角形加权滤波器，对所得参数做离散余弦变换（DCT）即得到MFCC；DCT近似地去相关各系数。<sup>[4](https://wiki.aalto.fi/spaces/ITSP/pages/149885068/Cepstrum%2Band%2BMFCC)</sup>由于对数功率谱是实且对称的，逆DFT等价于DCT。<sup>[10](https://www.inf.ed.ac.uk/teaching/courses/asr/2019-20/asr04-signal.pdf)</sup>MFCC量化频谱的总体形状——对识别元音重要的频谱包络——同时去除精细频谱结构，且计算高效。<sup>[4](https://wiki.aalto.fi/spaces/ITSP/pages/149885068/Cepstrum%2Band%2BMFCC)</sup>其已知弱点包括对加性噪声的鲁棒性差、三角形滤波器的任意选择以及用于合成的求逆困难。<sup>[4](https://wiki.aalto.fi/spaces/ITSP/pages/149885068/Cepstrum%2Band%2BMFCC)</sup>一项2019–2022年的深度学习语音识别模型综述发现，Nassif及其同事调查的174篇论文（发表于2006至2018年）中约69%仍使用MFCC作为输入特征。<sup>[5](https://doi.org/10.1109/ACCESS.2022.3223444)</sup>

倒谱分析也扩展到了机械诊断。倒谱可以计算频域中周期分量的平均间隔，这使其适合在变化工况下量化轴承故障特征，Randall及其同事引入了倒谱预白化，在包络分析之前去除确定性分量。<sup>[6](https://onlinelibrary.wiley.com/doi/10.1155/2016/2378435)</sup>倒谱、复倒谱和同态反卷积的应用已在音频处理、语音处理、地球物理、雷达和医学成像中得到探索。<sup>[3](https://www.fceia.unr.edu.ar/prodivoz/Oppenheim_Schafer_2004.pdf)</sup>

## References

1. [Weisstein, Eric W. "Cepstrum." MathWorld–A Wolfram Resource.](https://mathworld.wolfram.com/Cepstrum.html)
2. [Rabiner, L. R., and Schafer, R. W. Introduction to Digital Speech Processing, sections 5.1–5.2.](https://www-i6.informatik.rwth-aachen.de/web/Teaching/Lectures/WS10_11/asr/literature/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer/Introduction_to_Digital_Speech_Processing_Lawrence_R_Rabiner_and_Ronald_W_Schafer.pdf)
3. [Oppenheim, A. V., and Schafer, R. W. "From frequency to quefrency: a history of the cepstrum." IEEE Signal Processing Magazine 21(5), 2004.](https://www.fceia.unr.edu.ar/prodivoz/Oppenheim_Schafer_2004.pdf)
4. [Cepstrum and MFCC, Introduction to Speech Processing, Aalto University Wiki.](https://wiki.aalto.fi/spaces/ITSP/pages/149885068/Cepstrum%2Band%2BMFCC)
5. [Mel Frequency Cepstral Coefficient and its Applications: A Review. IEEE Access, 2022.](https://doi.org/10.1109/ACCESS.2022.3223444)
6. [Teng et al. "Detection and Quantization of Bearing Fault in Direct Drive Wind Turbine via Comparative Analysis." Shock and Vibration, 2016.](https://onlinelibrary.wiley.com/doi/10.1155/2016/2378435)
7. [Cepstrum Analysis, MATLAB & Simulink documentation, MathWorks.](https://www.mathworks.com/help/signal/ug/cepstrum-analysis.html)
8. [EE269 Lecture 5: Cepstrum and MFCC, Stanford University.](https://web.stanford.edu/class/ee269/Lecture_5_Cepstrum_MFCC.pdf)
9. [Randall, R. B. "A history of cepstrum analysis and its application to mechanical problems." Mechanical Systems and Signal Processing.](https://www.sciencedirect.com/science/article/pii/S0888327016305556)
10. [Speech Signal Analysis lecture notes, University of Edinburgh.](https://www.inf.ed.ac.uk/teaching/courses/asr/2019-20/asr04-signal.pdf)

---
*Initially written 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/cepstrum

English original: https://www.edgepedia.org/cepstrum
