Difference between revisions of "Pulse Width Modulation"
m |
m |
||
Line 33: | Line 33: | ||
When using a integrated chip, one of the concerns is heat sinking. It is because there are lots of power dissipation and we need to take the heat away. Usually, these chips come with some way to attach to piece of metal or copper (a heatsink). |
When using a integrated chip, one of the concerns is heat sinking. It is because there are lots of power dissipation and we need to take the heat away. Usually, these chips come with some way to attach to piece of metal or copper (a heatsink). |
||
For a practical circuit that controls a DC motor using PWM, see PWM Circuit Using PIC. |
Revision as of 13:18, 9 June 2006
To control the speed of the motor, the switches of an H-bridge are opened and closed at different rates in order to apply different average voltages across the motor. This technique is called pulse width modulation. Let's look at the following diagrams:
In the above diagrams, V is the voltage across the motor and t is time. By switching quickly, we can create an average voltage across across the motor. The speed of the motor can be adjusted by changing the pulse-width ratio:
Pulse-Width Ratio =
of the voltage applied across its terminals. If the motor only has to turn in 1 direction, we can just use a half bridge:
There are different ways to control the speed of a DC motor:
- switching from full positive to full negative
- full positive to open
- full negative to open
- braking by shorting
- free wheeling by leaving the circuit open.
One of the possibilities is to use a full-bridge chip, such as the L6201 shown below:
When using a integrated chip, one of the concerns is heat sinking. It is because there are lots of power dissipation and we need to take the heat away. Usually, these chips come with some way to attach to piece of metal or copper (a heatsink).
For a practical circuit that controls a DC motor using PWM, see PWM Circuit Using PIC.