Pulse-width Modulation - Principle

Principle

Pulse-width modulation uses a rectangular pulse wave whose pulse width is modulated resulting in the variation of the average value of the waveform. If we consider a pulse waveform with a low value, a high value and a duty cycle D (see figure 1), the average value of the waveform is given by:


\bar y=\frac{1}{T}\int^T_0f(t)\,dt.

As is a pulse wave, its value is for and for . The above expression then becomes:


\begin{align}
\bar y &=\frac{1}{T}\left(\int_0^{DT}y_{max}\,dt+\int_{DT}^T y_{min}\,dt\right)\\
&= \frac{D\cdot T\cdot y_{max}+ T\left(1-D\right)y_{min}}{T}\\
&= D\cdot y_{max}+ \left(1-D\right)y_{min}.
\end{align}

This latter expression can be fairly simplified in many cases where as . From this, it is obvious that the average value of the signal is directly dependent on the duty cycle D.

The simplest way to generate a PWM signal is the intersective method, which requires only a sawtooth or a triangle waveform (easily generated using a simple oscillator) and a comparator. When the value of the reference signal (the red sine wave in figure 2) is more than the modulation waveform (blue), the PWM signal (magenta) is in the high state, otherwise it is in the low state.

Read more about this topic:  Pulse-width Modulation

Famous quotes containing the word principle:

    Life is a game in which the rules are constantly changing; nothing spoils a game more than those who take it seriously. Adultery? Phooey! You should never subjugate yourself to another nor seek the subjugation of someone else to yourself. If you follow that Crispian principle you will be able to say “Phooey,” too, instead of reaching for your gun when you fancy yourself betrayed.
    Quentin Crisp (b. 1908)

    If there be one principle more deeply rooted than any other in the mind of every American, it is that we should have nothing to do with conquest.
    Thomas Jefferson (1743–1826)

    Thus it seemed that this one hillside illustrated the principle of all the operations of Nature. The Maker of this earth but patented a leaf. What Champollion will decipher this hieroglyphic for us, that we may turn over a new leaf at last?
    Henry David Thoreau (1817–1862)