Sawtooth wave

related topics
{system, computer, user}
{math, energy, light}
{math, number, function}
{@card@, make, design}

The sawtooth wave (or saw wave) is a kind of non-sinusoidal waveform. It is named a sawtooth based on its resemblance to the teeth on the blade of a saw.

The convention is that a sawtooth wave ramps upward and then sharply drops. However, there are also sawtooth waves in which the wave ramps downward and then sharply rises. The latter type of sawtooth wave is called a "reverse sawtooth wave" or "inverse sawtooth wave".

The piecewise linear function

based on the floor function of time t is an example of a sawtooth wave with period 1.

A more general form, in the range −1 to 1, and with period a, is

This sawtooth function has the same phase as the sine function.

A sawtooth wave's sound is harsh and clear and its spectrum contains both even and odd harmonics of the fundamental frequency. Because it contains all the integer harmonics, it is one of the best waveforms to use for synthesizing musical sounds, particularly bowed string instruments like violins and cellos, using subtractive synthesis.

A sawtooth can be constructed using additive synthesis. The infinite Fourier series

converges to an inverse sawtooth wave. A conventional sawtooth can be constructed using

In digital synthesis, these series are only summed over k such that the highest harmonic, Nmax, is less than the Nyquist frequency (half the sampling frequency). This summation can generally be more efficiently calculated with a fast Fourier transform. If the waveform is digitally created directly in the time domain using a non-bandlimited form, such as y = x - floor(x), infinite harmonics are sampled and the resulting tone contains aliasing distortion.

An audio demonstration of a sawtooth played at 440 Hz (A4) and 880 Hz (A5) and 1760 Hz (A6) is available below. Both bandlimited (non-aliased) and aliased tones are presented.

Applications

  • The sawtooth and square waves are the most common starting points used to create sounds with subtractive analog and virtual analog music synthesizers.
  • The sawtooth wave is the form of the vertical and horizontal deflection signals used to generate a raster on CRT-based television or monitor screens. Oscilloscopes also use a sawtooth wave for their horizontal deflection, though they typically use electrostatic deflection.
    • On the wave's "ramp", the magnetic field produced by the deflection yoke drags the electron beam across the face of the CRT, creating a scan line.
    • On the wave's "cliff", the magnetic field suddenly collapses, causing the electron beam to return to its resting position as quickly as possible.
    • The voltage applied to the deflection yoke is adjusted by various means (transformers, capacitors, center-tapped windings) so that the half-way voltage on the sawtooth's cliff is at the zero mark, meaning that a negative voltage will cause deflection in one direction, and a positive voltage deflection in the other; thus, a center-mounted deflection yoke can use the whole screen area to depict a trace. Frequency is 15.734 kHz on NTSC, 15.625 kHz for PAL and SECAM).
    • The vertical deflection system operates the same way as the horizontal, though at a much lower frequency (59.94 Hz on NTSC, 50 Hz for PAL and SECAM).
    • The ramp portion of the wave must appear as a straight line. If otherwise, it indicates that the voltage isn't increasing linearly, and therefore that the magnetic field produced by the deflection yoke is not linear. As a result, the electron beam will accelerate during the non-linear portions. This would result in a television image "squished" in the direction of the non-linearity. Extreme cases will show marked brightness increases, since the electron beam spends more time on that side of the picture.
    • The first television receivers had controls allowing users to adjust the picture's vertical or horizontal linearity. Such controls were not present on later sets as the stability of electronic components had improved.

Full article ▸

related documents
Ionospheric sounding
Phase modulation
Duty cycle
Rotational delay
Capture effect
Frequency standard
Scanline rendering
Index-matching material
Noise level
Wire-frame model
Wavelet compression
Rock Ridge
Cacti (software)
Wikipedia:Federal Standard 1037C terms/telecommunications encryption terms
A20 handler
Light pen
EtherType
Password authentication protocol
IBM 604
PowerBASIC
Data processing
Klez (computer worm)
Sircam
Netwide Assembler
Planar (computer graphics)
TAT-14
Java remote method invocation
Acme (text editor)
Telecommunications in Portugal
Enlightenment (window manager)