Pulse-width modulation of a signal or power source involves the modulation of its duty cycle, to either convey information over a communications channel or control the amount of power sent to a load.
Pulse-width modulation uses a square wave whose duty cycle is modulated resulting in the variation of the average value of the waveform. If we consider a square 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 square wave, its value is for
This latter expression can be fairly simplified in many cases where
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 green 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.
The output signal is compared with limits, which correspond to a reference signal offset by a constant. Every time the output signal reaches one of the limits, the PWM signal changes state.
The output signal is subtracted from a reference signal to form an error signal. This error is integrated, and when the integral of the error exceeds the limits, the output changes state.
Three types of pulse-width modulation (PWM) are possible.
Pulses of various lengths (the information itself) will be sent at regular intervals (the carrier frequency of the modulation).
_ _ _ _ _ _ _ _ | | | | | | | | | | | | | | | | Clock | | | | | | | | | | | | | | | | __| |____| |____| |____| |____| |____| |____| |____| |____
_ __ ____ ____ _ Data | | | | | | | | | | | | | | | | | | | | _________| |____| |___| |________| |_| |___________
Data 0 1 2 4 0 4 1 0
The inclusion of a clock signal is not necessary, as the leading edge of the data signal can be used as the clock if a small offset is added to the data value in order to avoid a data value with a zero length pulse.
PWM can be used to reduce the total amount of power delivered to a load without losses normally incurred when a power source is limited by resistive means. This is because the average power delivered is proportional to the modulation duty cycle. With a sufficiently high modulation rate, passive electronic filters can be used to smooth the pulse train and recover an average analog waveform.
High frequency PWM power control systems are easily realisable with semiconductor switches. The discrete on/off states of the modulation are used to control the state of the switch(es) which correspondingly control the voltage across or current through the load. The major advantage of this system is the switches are either off and not conducting any current, or on and have (ideally) no voltage drop across them. The product of the current and the voltage at any given time defines the power dissipated by the switch, thus (ideally) no power is dissipated by the switch. Reallistically, semiconductor switches such as MOSFETs or BJTs are non-ideal switches, but high efficiency controllers can still be built.
Examples of PWM use are DC motor speed control, Class D audio amplifiers and light dimmers common in homes. In the light dimmer case the electricity being modulated is AC. Simple adjustment to the brightness of the light can be implemented by setting at what voltage in the AC cycle the dimmer begins to conduct electricity to the light bulb (using a triac). Because the duty cycle of the modulation is the same as the AC frequency of the line (50 Hz or 60 Hz in most countries) and PWM dimmers are often used with incandescent lamps, the human eye sees only the average intensity (see flicker fusion). Their intensity when dimmed this way is the same as the intensity they would have given the same average power via constant current (as from a resistive dimmer). LEDs, on the other hand, do flicker instantaneously and would appear steady only because of the flicker fusion effect.
PWM is also used in efficient voltage regulators. By switching voltage to the load with the appropriate duty cycle, the output will approximate a voltage at the desired level. The switching noise is usually filtered with an inductor and a capacitor.
One method measures the output voltage. When it is lower than the desired voltage, it turns on the switch. When the output voltage is above the desired voltage, it turns off the switch.
A new class of audio amplifiers based on the PWM principle is becoming popular. Called "Class-D amplifiers", these amplifiers produce a PWM equivalent of the analogue input signal which is fed to the loudspeaker via a suitable filter network to block the carrier and recover the original audio. These amplifiers are characterised by very good efficiency figures (≥ 90%) and compact size/light weight for large power outputs.
Pulsweitenmodulation | Modulación por anchura de pulsos | Modulation de largeur d'impulsion | Modulazione di larghezza di impulso | Pulse Width Modulation | Modulação por largura de pulso | Широтно-импульсная модуляция | துடிப்பு நீள பண்பேற்றம்
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Pulse-width modulation".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world