# 锯齿波

**锯齿波**是一种周期性波形，它在每个周期内线性上升或下降，然后突然跳回起始值，因此其图形酷似锯齿。它可以写成一系列首尾相接的截断斜坡函数构成的无限序列，也可以写成由振幅和周期缩放的小数部分函数的闭式形式：\( S(x) = A \cdot \mathrm{frac}(x/T + \phi) \)，其中 \( \mathrm{frac}(x) = x - \lfloor x \rfloor \)，\( A \) 为振幅，\( T \) 为周期，\( \phi \) 为相位。<sup>[1](https://mathworld.wolfram.com/SawtoothWave.html)</sup>它与方波、三角波一起，是电子学和声音合成中的标准几何波形之一。<sup>[2](https://www.cs.cmu.edu/~15322/book/ch03/03.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 周期性斜坡：\( S(x) = A \cdot \mathrm{frac}(x/T + \phi) \)，即一系列截断斜坡函数<sup>[1](https://mathworld.wolfram.com/SawtoothWave.html)</sup> |
| 傅里叶级数 | 当 \( \phi = 0 \)、\( A = 1 \)、\( T = 2L \) 时：\( f(x) = \tfrac{1}{2} - \tfrac{1}{\pi} \sum_{n=1}^{\infty} \tfrac{1}{n} \sin(n\pi x/L) \)<sup>[1](https://mathworld.wolfram.com/SawtoothWave.html)</sup> |
| 谐波成分 | 所有谐波均存在，振幅按 \( 1/k \) 衰减；系数 \( a_k = 2(-1)^{k+1}/(\pi k) \)<sup>[2](https://www.cs.cmu.edu/~15322/book/ch03/03.html)</sup> |
| 能量分布 | 约60.8%的信号能量集中在基频，而方波为81.1%，三角波为98.6%<sup>[3](https://dreyandersson.com/music-production-terms/sawtooth-wave/4/)</sup> |
| 吉布斯现象 | 有限项傅里叶近似在每个跳变附近出现过冲和下冲，幅度恒为约18%，与所加谐波数量无关<sup>[4](https://www.seas.ucla.edu/dsplab/fgp/over.html)</sup> |
| 经典用途 | 示波器时基扫描、电视扫描偏转，以及开关变换器中脉宽调制的斜坡<sup>[5](https://www.engr.colostate.edu/ECE311/lab05/Lab_Notes_5.pdf)</sup><sup> • </sup><sup>[6](https://patents.google.com/patent/US2221015A/en)</sup><sup> • </sup><sup>[7](https://www.ti.com/document-viewer/ja-jp/lit/html/SSZTC38)</sup> |
| 数字实现陷阱 | 理想波形在理论上具有无限带宽，因此朴素的数字生成会产生混叠；BLIT、DPW和PolyBLEP等带限方法可抑制混叠<sup>[8](https://www.researchgate.net/publication/224608391_Efficient_Antialiasing_Oscillator_Algorithms_Using_Low-Order_Fractional_Delay_Filters)</sup> |

## 傅里叶级数

由于锯齿波是周期性的，它可以精确分解为基频整数倍处的一系列正弦波之和，即各次谐波。将y轴置于两个不连续点之间的中点处，级数的一种常见形式为

\[ \sin(x) - \tfrac{1}{2}\sin(2x) + \tfrac{1}{3}\sin(3x) - \tfrac{1}{4}\sin(4x) + \cdots \]<sup>[9](https://kconrad.math.uconn.edu/math1132s10/sawtooth.html)</sup>

按照犹他大学讲义中的约定，锯齿波是以 \( 2\pi \) 为周期的奇函数，在 \( 0 < x \le \pi \) 上等于 \( \tfrac{1}{2}(\pi - x) \)，其傅里叶正弦级数为 \( \sum_{n=1}^{\infty} \tfrac{1}{n} \sin(nx) \)。<sup>[10](https://www.math.utah.edu/~gustafso/s2015/2280/pdeSlides/fourierSeries.pdf)</sup>卡内基梅隆大学的计算机音乐教材给出了余弦形式的系数 \( a_k = 2(-1)^{k+1}/(\pi k) \)，并指出比例关系比具体常数更为重要。<sup>[2](https://www.cs.cmu.edu/~15322/book/ch03/03.html)</sup>

**谐波结构。** 方波和三角波只含奇次谐波，而锯齿波则不同，它包含所有谐波——奇次与偶次——振幅按 \( 1/k \) 衰减。<sup>[2](https://www.cs.cmu.edu/~15322/book/ch03/03.html)</sup><sup> • </sup><sup>[11](https://hyperphysics.gsu.edu/hbase/Audio/geowv.html)</sup>这种缓慢的衰减（约每倍频程6 dB）意味着高次谐波仍然很强，赋予该波形明亮、嗡嗡作响的特质；方波具有相同的 \( 1/k \) 衰减但缺少偶次谐波，听起来空洞；三角波按 \( 1/k^2 \) 衰减，是三者中听感最平滑的。<sup>[2](https://www.cs.cmu.edu/~15322/book/ch03/03.html)</sup><sup> • </sup><sup>[12](https://mac.kaist.ac.kr/pubs/ValimakiPeknenNam-jasa2012.pdf)</sup>从能量角度看，锯齿波只有约60.8%的功率位于基频，是三种几何波形中基频占比最低的。<sup>[3](https://dreyandersson.com/music-production-terms/sawtooth-wave/4/)</sup>脉冲波中会出现相关的频谱：占空比为 \( 1/n \) 的脉冲，其频谱与锯齿波相同，只是次数为 \( n \) 的整数倍的谐波均缺失。<sup>[13](https://theory.stanford.edu/~blynn/sound/synth.html)</sup>

**吉布斯现象。** 将级数截断到有限项后，在每个不连续点附近会产生过冲和下冲，这一效应称为吉布斯现象。它只在完整的无限级数中消失，但在任何有限近似中都存在，这使其成为信号处理中的一个重要问题。<sup>[9](https://kconrad.math.uconn.edu/math1132s10/sawtooth.html)</sup>随着谐波数量的增加，纹波向跳变处靠拢且频率升高，但其过冲幅度保持不变，约为18%，无论使用多少项。<sup>[4](https://www.seas.ucla.edu/dsplab/fgp/over.html)</sup>该效应最早由英国数学家亨利·威尔布拉汉（Henry Wilbraham，1825–1883）于1848年发现并分析。<sup>[14](https://www.cfm.brown.edu/people/dobrush/am34/MuPad/mupad34.html)</sup>帐篷（三角）函数等连续波形则不出现这种振荡，这就是为什么该效应在方波和锯齿波上远比三角波明显。<sup>[15](https://farside.ph.utexas.edu/teaching/315/Waves/node36.html)</sup>

## 模拟电路中的生成

模拟锯齿波发生器通过受控电流给电容充电，再快速放电，产生带有快速回程（或称回扫）的线性斜坡。斜坡的线性度是核心设计难题。在真空管时代，密勒积分器（利用密勒效应将有效栅阳极电容乘以 \( 1 + A \)）与负跨导管结合，产生了线性锯齿波振荡器；其作为锯齿波发生器的能力直到1940年前后才得到充分研究，如B. C. 弗莱明-威廉姆斯（B. C. Fleming-Williams）的单管时基电路（《无线电工程师》，1940年4月）。<sup>[16](https://www.r-type.org/articles/art-292.htm)</sup>

**电视与雷达。** 偏转线圈中的锯齿电流扫描阴极射线管的电子束：缓慢的斜坡描绘每一行，快速回扫将电子束送回起点。1940年约翰·C·威尔逊（John C. Wilson）的一项哈泽尔坦专利描述了一种周期性波形发生器，特别适用于在电视系统中产生锯齿波形的扫描场，频率和振幅可分别调节。<sup>[6](https://patents.google.com/patent/US2221015A/en)</sup>1962年一项归洛克希德飞机公司所有的专利描述了一种单晶体管半导体锯齿波发生器，可提供基本线性的电流锯齿波，满足电视摄像机、接收机和雷达显示器的扫描需求。<sup>[17](https://patents.google.com/patent/US3043992A/en)</sup>示波器的水平时基同样是一种锯齿波。<sup>[5](https://www.engr.colostate.edu/ECE311/lab05/Lab_Notes_5.pdf)</sup>

**开关变换器。** 在开关电源变换器的电压模式控制中，馈入脉宽调制比较器的斜坡是PWM控制器内部产生的锯齿波形；比较器根据该斜坡与误差放大器输出的交点设定开关占空比。<sup>[7](https://www.ti.com/document-viewer/ja-jp/lit/html/SSZTC38)</sup>函数发生器同样提供锯齿波输出，扫频仪器使用锯齿扫频形状，仅从起始频率扫到终止频率，而三角扫频则会返回。<sup>[18](https://helpfiles.keysight.com/csg/n5186/Content/GPSS/Connectors.htm)</sup>

## 声音合成

锯齿波是减法合成的基本原材料，在减法合成中，谐波丰富的振荡器信号经时变滤波器塑形。由于它包含所有谐波且幅度为 \( 1/n \)，它是标准波形中谐波最丰富者之一，也是滤波器的常见输入；早期模拟合成器用它来生成各种簧片乐器音色。<sup>[19](https://sound-au.com/articles/waveforms%2Bharmonics.htm)</sup><sup> • </sup><sup>[20](https://plasticsynth.com/academy/waveforms)</sup>当锯齿波的回程斜率减慢至接近上升斜率时，它连续过渡为三角波——即锯齿波的完全对称版本，只含奇次谐波；两个斜率之间的任何不对称都会按不对称程度重新引入偶次谐波。<sup>[19](https://sound-au.com/articles/waveforms%2Bharmonics.htm)</sup>

**数字振荡器中的混叠。** 数学上完美的锯齿波包含无限多谐波，因此任何朴素的数字采样都会将奈奎斯特频率以上的内容折返到可听范围内，形成非谐波混叠。<sup>[8](https://www.researchgate.net/publication/224608391_Efficient_Antialiasing_Oscillator_Algorithms_Using_Low-Order_Fractional_Delay_Filters)</sup><sup> • </sup><sup>[21](https://synthengineer.com/blog/dsp-oscillator-design)</sup>由于频谱仅以约每倍频程6 dB衰减，仅靠过采样需要极高的比率才能充分抑制，因此人们开发了一系列带限和准带限算法：使用低阶分数延迟滤波器的带限脉冲串（BLIT）合成、微分多项式波形（DPW）方法，以及在每个不连续点附近拼接修正函数的带限阶跃（BLEP）修正。<sup>[8](https://www.researchgate.net/publication/224608391_Efficient_Antialiasing_Oscillator_Algorithms_Using_Low-Order_Fractional_Delay_Filters)</sup><sup> • </sup><sup>[22](https://doi.org/10.1109/TASL.2009.2026507)</sup>一项听感研究发现，BLIT、DPW和四阶多项式带限阶跃算法分别在基频不超过1、2、4 kHz时感知上无混叠。<sup>[23](https://pubmed.ncbi.nlm.nih.gov/23039464/)</sup>2012年一项关于积分多项式插值的研究发现，积分三阶B样条修正函数在44.1 kHz采样率下对锯齿波仿真在基频不超过7.8 kHz时感知上无混叠，其四阶变体在整个钢琴音域27.5 Hz至4.2 kHz范围内均无混叠。<sup>[12](https://mac.kaist.ac.kr/pubs/ValimakiPeknenNam-jasa2012.pdf)</sup>

## 相关形式

锯齿波的近亲包括斜坡函数——它是斜坡函数的周期拼接；三角波——其对称对应物；以及方波和阶梯函数——它们共享其不连续点。<sup>[1](https://mathworld.wolfram.com/SawtoothWave.html)</sup>在仪器仪表中，同一形状用作扫频：是德科技（Keysight）扫频函数发生器的一种预设使用锯齿扫频，仅沿一个方向从起始频率扫到终止频率，而三角扫频则来回扫描，速率可独立设定。<sup>[18](https://helpfiles.keysight.com/csg/n5186/Content/GPSS/Connectors.htm)</sup>

## References

1. [Sawtooth Wave, Wolfram MathWorld](https://mathworld.wolfram.com/SawtoothWave.html)
2. [Basic waveform shapes, CMU Intro to Computer Music](https://www.cs.cmu.edu/~15322/book/ch03/03.html)
3. [Sawtooth Wave: How It Sounds, Harmonics and Formula, Drey Andersson](https://dreyandersson.com/music-production-terms/sawtooth-wave/4/)
4. [Fourier Series and Gibbs Phenomenon Overview, UCLA DSP Lab](https://www.seas.ucla.edu/dsplab/fgp/over.html)
5. [Signals and Systems Laboratory 5, Colorado State University](https://www.engr.colostate.edu/ECE311/lab05/Lab_Notes_5.pdf)
6. [US2221015A, Periodic wave generator (J. C. Wilson, Hazeltine, 1940), Google Patents](https://patents.google.com/patent/US2221015A/en)
7. [Understanding and Comparing Voltage-Mode and Current-Mode Control, TI Technical Article SSZTC38](https://www.ti.com/document-viewer/ja-jp/lit/html/SSZTC38)
8. [Nam, Välimäki, Abel, Smith (2010). Efficient Antialiasing Oscillator Algorithms Using Low-Order Fractional Delay Filters, IEEE TASLP](https://www.researchgate.net/publication/224608391_Efficient_Antialiasing_Oscillator_Algorithms_Using_Low-Order_Fractional_Delay_Filters)
9. [A Sawtooth Wave, Keith Conrad, University of Connecticut](https://kconrad.math.uconn.edu/math1132s10/sawtooth.html)
10. [Fourier Series lecture notes, University of Utah](https://www.math.utah.edu/~gustafso/s2015/2280/pdeSlides/fourierSeries.pdf)
11. [Geometric Waves, HyperPhysics, Georgia State University](https://hyperphysics.gsu.edu/hbase/Audio/geowv.html)
12. [Välimäki, Pekonen, Nam (2012). Perceptually informed synthesis of bandlimited classical waveforms using integrated polynomial interpolation, J. Acoust. Soc. Am. 131](https://mac.kaist.ac.kr/pubs/ValimakiPeknenNam-jasa2012.pdf)
13. [Sound Synthesis, Stanford University](https://theory.stanford.edu/~blynn/sound/synth.html)
14. [Fourier Series, Brown University Applied Mathematics](https://www.cfm.brown.edu/people/dobrush/am34/MuPad/mupad34.html)
15. [Fourier Analysis, University of Texas at Austin](https://farside.ph.utexas.edu/teaching/315/Waves/node36.html)
16. [Linear Saw-Tooth Oscillator, The Vintage Radio and Communications Website (r-type.org)](https://www.r-type.org/articles/art-292.htm)
17. [US3043992A, Sawtooth wave generator (S. A. Schwartz, Lockheed, 1962), Google Patents](https://patents.google.com/patent/US3043992A/en)
18. [Swept Function Generator, Sweep Shape, Keysight help files](https://helpfiles.keysight.com/csg/n5186/Content/GPSS/Connectors.htm)
19. [Waveforms & Harmonic Structure, Elliott Sound Products](https://sound-au.com/articles/waveforms%2Bharmonics.htm)
20. [Sound & waveforms, PlasticSynth Academy](https://plasticsynth.com/academy/waveforms)
21. [Designing Musical Oscillators: DSP Patterns That Sing, SynthEngineer](https://synthengineer.com/blog/dsp-oscillator-design)
22. [Välimäki, Pekonen (2009). Alias-Suppressed Oscillators Based on Differentiated Polynomial Waveforms, IEEE TASL 18(4)](https://doi.org/10.1109/TASL.2009.2026507)
23. [Audibility of aliasing distortion in sawtooth signals and its implications for oscillator algorithm design, PubMed](https://pubmed.ncbi.nlm.nih.gov/23039464/)

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

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Harmonic analysis, transforms, and integral equations

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/sawtooth-wave

English original: https://www.edgepedia.org/sawtooth-wave
