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:

    For me chemistry represented an indefinite cloud of future potentialities which enveloped my life to come in black volutes torn by fiery flashes, like those which had hidden Mount Sinai. Like Moses, from that cloud I expected my law, the principle of order in me, around me, and in the world.... I would watch the buds swell in spring, the mica glint in the granite, my own hands, and I would say to myself: “I will understand this, too, I will understand everything.”
    Primo Levi (1919–1987)

    Whether our feet are compressed in iron shoes, our faces hidden with veils and masks; whether yoked with cows to draw the plow through its furrows, or classed with idiots, lunatics and criminals in the laws and constitutions of the State, the principle is the same; for the humiliations of the spirit are as real as the visible badges of servitude.
    Elizabeth Cady Stanton (1815–1902)

    It is funny that men who are supposed to be scientific cannot get themselves to realise the basic principle of physics, that action and reaction are equal and opposite, that when you persecute people you always rouse them to be strong and stronger.
    Gertrude Stein (1874–1946)