Pulse Width Modulation explanation

• physio
In summary, PWM creates a signal that varies its voltage based on how long the pulses are on. This can be used to control things like LEDs, motors, and other devices. It is a way to encode information in a signal, and is used in electric motors and other devices.
physio
I have read a lot of articles on pulse width modulation and I am none the wiser as to how it generates different voltages by simply varying the pulse width of the waveform. What I read was that if you have a rectangular wave train of some amplitude and change the 'ON' period the "NET" voltage also changes! I don't understand what it means by "NET" voltage. If you have an LED and if you apply the same pulse train at some frequency then shouldn't the LED simply turn ON(+V volts) and OFF(0V). Why do we have a dimming effect? Also, based upon this explanation can anyone derive the expression of the average voltage i.e (Ton/T*V) volts. Why is it a ratio of Ton to T?

hi there,

Im no expert at this and some one else may answer it in a clearer way
I will have a go with the way I understand it and what you maybe haven't realized is that a PWM signal is a ratio between the on time and the off time.
Take a PWM signal of 10 second period and a duty cycle of 100% and a supply voltage of 10V. That means the voltage, 10V, will be supplied for 100% of the time or all of the 10 seconds.
if you reduced the duty cycle to 50% then the voltage would be there for only 5 sec and off for the next 5 sec. And I suspect the avg voltage would be 5V.
Not sure if in this case avg and NET are the same thing ?

lets see what others say :)

Dave

physio said:
I have read a lot of articles on pulse width modulation and I am none the wiser as to how it generates different voltages by simply varying the pulse width of the waveform. What I read was that if you have a rectangular wave train of some amplitude and change the 'ON' period the "NET" voltage also changes! I don't understand what it means by "NET" voltage. If you have an LED and if you apply the same pulse train at some frequency then shouldn't the LED simply turn ON(+V volts) and OFF(0V). Why do we have a dimming effect? Also, based upon this explanation can anyone derive the expression of the average voltage i.e (Ton/T*V) volts. Why is it a ratio of Ton to T?

phisio,

Have you checked the Wiki page on pulse width modulation (PWM) yet? There find many graphic examples and descriptions how PWM is used. It has most of the important facts you need.
http://en.wikipedia.org/wiki/Pulse-width_modulation

Cheers,
Bobbywhy

I did check it out but it doesn't give a sound explanation to the questions posed.

physio said:
I did check it out but it doesn't give a sound explanation to the questions posed.

Thats probably because you are asking the wrong question. PWM is not about turning LEDs on and off, it is a CODING scheme where, as the previous posts have indicated, the information is encoded in the pulse width.

EDIT: OOPS ... I now see that it IS used in the way you indicate. Sorry. I had only been aware of it as an information coding scheme.

Actually, pulse width modulation simply works on the amount of Charge passed during the active ('on') time of the pulses. This charge is integrated in an RC combination to give an average Voltage - based on the average rate of charge going into the capacitor (smoothing / low pass filtering, if you like) - this can give you a continuously variable output value of Volts from a continuously varying value of duty cycle, which is very well suited to a non-linear transmission channel.
Its a good principle for making a high efficiency amplifier as there is (approaching) zero power dissipation in the amplifying device, because it is On or Off for most of the time and the oly significant power is dissipated during the switching transitions.

Look at any graph of voltage vs time.
"Average" is the area beneath the curve and that's why a DC voltmeter plugged into a wall outlet reads zero - a sinewave is symmetric with equal areas above and below zero so average is zro.

To get average of a PWM wave you'd just add the areas of the individual rectangular pulses.
Wide pulses have more area than skinny ones.

here's an article that makes that basic point, for backlighting LED's with PWM.
http://www.tftcentral.co.uk/articles/pulse_width_modulation.htm

In AC motor drives you PWM an AC wave, and to get power you have to take RMS instead of average .

hope this gets you started.

old jim

What is pulse width modulation (PWM)?

Pulse width modulation (PWM) is a technique used to control the amount of power delivered to a system by varying the width of a pulse of current. This is achieved by rapidly turning a power source on and off at a specific frequency, with the width of the on-time (or duty cycle) determining the amount of power delivered.

How does PWM work?

PWM works by rapidly switching a power source on and off at a specific frequency. The ratio of the on-time to the total time determines the average power delivered. For example, if the on-time is 50% of the total time, the average power delivered will be 50% of the maximum power.

What are the benefits of using PWM?

PWM offers several benefits, including the ability to efficiently control power delivery without the use of bulky and expensive components. It also allows for precise control of power delivery, making it useful for applications such as motor speed control and LED dimming.

What are some common applications of PWM?

PWM is commonly used in applications where precise control of power delivery is required, such as in motor speed control, LED dimming, and power converters. It is also used in audio amplifiers to control the loudness of sound.

How is PWM different from analog signal?

PWM is a digital signal, meaning it has only two states: on or off. In contrast, an analog signal can have an infinite number of states. PWM can be used to simulate an analog signal by varying the duty cycle, but it is not a true analog signal. Additionally, PWM is more efficient than analog signals for power control as it does not rely on dissipating excess energy as heat.

Replies
11
Views
2K
Replies
5
Views
1K
Replies
8
Views
2K
Replies
15
Views
3K
Replies
2
Views
1K
Replies
6
Views
9K
Replies
5
Views
903
Replies
9
Views
2K
Replies
16
Views
7K
Replies
1
Views
2K