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:
As is a pulse wave, its value is for and for . The above expression then becomes:
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:
“Look through the whole history of countries professing the Romish religion, and you will uniformly find the leaven of this besetting and accursed principle of actionthat the end will sanction any means.”
—Samuel Taylor Coleridge (17721834)
“The principle of asceticism never was, nor ever can be, consistently pursued by any living creature. Let but one tenth part of the inhabitants of the earth pursue it consistently, and in a days time they will have turned it into a Hell.”
—Jeremy Bentham (17481832)
“Antagonistic cooperation is the principle of all markets and many marriages.”
—Mason Cooley (b. 1927)