Pulse Width Modulation

From Mech
(Difference between revisions)
Jump to: navigation, search

Revision as of 14:00, 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:

Pwm1.jpg Pwm2.jpg

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 = \begin{matrix}\frac{t_{on}}{t_{period}}\end{matrix}

of the voltage applied across its terminals. If the motor only has to turn in 1 direction, we can just use a half bridge:

Half b.jpg

There are different ways to control the speed of a DC motor:

  1. switching from full positive to full negative</P>
  2. full positive to open</P>
  3. full negative to open</P>
  4. braking by shorting</P>
  5. free wheeling by leaving the circuit open.</P>

One of the possibilities is to use a L293D chip shown below:


When using a L293D 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. One of the ways to do this is to connect pins of the L293 to piece of metal or copper.

Personal tools