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:
“You may call a jay a bird. Well, so he is, in a measurebecause hes got feathers on him, and dont belong to no church, perhaps; but otherwise he is just as much a human as you be. And Ill tell you for why. A jays gifts and instincts, and feelings, and interests, cover the whole ground. A jay hasnt got any more principle than a Congressman.”
—Mark Twain [Samuel Langhorne Clemens] (18351910)
“We have been here over forty years, a longer period than the children of Israel wandered through the wilderness, coming to this Capitol pleading for this recognition of the principle that the Government derives its just powers from the consent of the governed. Mr. Chairman, we ask that you report our resolution favorably if you can but unfavorably if you must; that you report one way or the other, so that the Senate may have the chance to consider it.”
—Anna Howard Shaw (18471919)
“The principle of all sovereignty resides essentially in the nation.”
—French National Assembly. Declaration of the Rights of Man (Sept. 1791)

