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:
“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 (17431826)
“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 (18171862)