Electronics Projects - DC Motor Speed Control Using H-Bridge - EngineersGarage

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Like 1M Follow @EngineersGarage Sign in / Register

Home Projects & Tutorials Articles Forums Digi-Key Store News Contact Us Submit

Arduino Projects | Raspberry Pi | Electronic Circuits | AVR | PIC | 8051 | Electronic Projects

DC Motor Control Using H Bridge


Description Circuit Diagram Circuit Diagram 2

Nordic Semi nRF9160 SiP:


Nordic's nRF9160 SiP solves complex
wireless design challenges and
Prototype PCB from $5
The Affordable Option for PCBs & Assembly! 2-4days' delivery,Made in China. OPEN
possesses a comprehensive set of
qualifications that are needed to pcbway.com
utilize cellular technology through
high integration and pre-certification Contributor: Ashutosh Bhatt
for global operation.

Schurter DD14 Series Power This article explains how one can change the direction and speed of mini DC motor using very simple circuit built using readily and easily available
Entry Module: handy components. First we will see how we can change the direction of motor and then we will see how we can vary the speed of DC motor. Then I
SCHURTER's DD14 series power will explain very simple DC motor controller circuit that changes direction as well as varies the speed of DC motor. So let us start.
entry module with double-stage
filter combines an IEC C14 appliance
inlet with 2-pole switch and 2-pole Tell me how to change direction of rotation of DC motor?
fuse holder. A depth-saving 2-stage
filter further enhances EMC It is very simple. Most of mini DC motors have two terminals because they are series type (armature and field windings are connected in series) DC
performance. motors. Please refer the figure given below.
Harwin M225 Series:
Harwin's M225 connector series is a
2.00 mm pitch, high-performance
range designedWe useindustrial
to resist cookies on this site to enhance your user experience
levels of vibration and shock in a OK, I agree More Info
package suitableBy for
clicking any link on this page you are giving your consent for us to set cookies.
automated
assembly at high volumes.

TE Connectivity POD-LOK
Pre-Insulated Receptacle
Terminals:
TE's pre-insulated POD-LOK
receptacle terminals combine
positive lock receptacles with glow
wire test, UL 94 V-0 rated housings
for a strip form, ergonomic, low
insertion force receptacle/integral
robust housing.

LATEST NEWS

Digi-Key Brings Forth The Most


Efficient and Simplified BOM
MTBF Prediction Service
Renesas Electronics Plans To
Fig. 1: Image showing H-Bridge circuit used for controlling direction of rotation of a DC Motor
Introduce RZ/G Linux Platform
Solution That Supports IEC 62443 As shown in figure there are two terminals ‘A’ and ‘B’ of DC motor. Now if we connect terminal A with +Ve supply and terminal B with –Ve supply or
International Protection Of ground the current will flow from motor from A to B and motor will rotate in one direction – say clockwise (CW) or forward direction. Now as shown in
Industrial Control Systems Against second figure we change the supply terminals. Now B is connected with +Ve and A is connected to ground. The current will flow from motor from B to
Cyberattacks Standards A and motor will rotate in other direction (counter clockwise – CCW or reverse).
Digi-Key Introduces Supplier-
Driven KiCas Library So next question is how to give reversible supply to motor?

What Do You Know About IP65 The arrangement is shown in right side of figure. Four switches are connected in between +Ve supply and ground and DC motor is connected in
Certified Waterproof Panel PCs? between two switches as shown. Such circuit arrangement is known as H-bridge because it looks like letter ‘H’ (H-bridge circuits are most widely used in
Software Development DC motor drivers). Let us see how it gives reverse supply to motor.
Framework For PIC® and SAM
If SW1 and SW4 are pressed simultaneously then current will flow from +Ve – SW1 – A – B – SW4 – Gnd. So motor will rotate in one direction. Open
Microcontrollers Unified Under
(release) SW1 and SW4 to stop motor. Now if SW2 and SW3 are pressed current will flow from +Ve – SW2 – B – A – SW3 – Gnd. So motor gets reverse
MPLAB® Harmony Version 3.0
supply and it will rotate in another direction.
...more news
(Caution: care has to be taken that SW1 and SW3 or SW2 and SW4 must not be pressed simultaneously otherwise it will short circuit the supply)
LATEST BLOGS

BCI: Aiding Medical Science


by Synchronising Mind with
Machine

Extended Reality: Blurring


boundaries

Growing Popularity of Smart


Home Ecosystems

Tips and Business Ideas for


Electronic Engineers who
aspire to become
Entrepreneurs

Solar Engineering: The World


of Opportunities

Growing Role of Electronics in


Healthcare Ecosystem

ACTIVE FORUM TOPICS Fig. 2: Circuit Diagram of H-Bridge built by transistor for controlling DC motor speed and rotation

PIC24FV16KM202 UART Setup The circuit replaces the switches with NPN type transistors. We all know that transistor works as switch. For NPN transistor if we give +Ve input to base
it will turn ON and if we give 0 input it will be turned OFF.
Featured Project Development
State of the Art Novel So in this circuit if Q1 and Q4 are turned ON simultaneously the motor will rotate forward and if Q2 and Q3 are turned ON then motor will rotate
InFlowTech: ·1-Gearturbine reverse.
RotaryTurbo, ·2-
Imploturbocompressor Isn’t it very simple?
Imploducted
Motor can be rotated forward and reverse using 4 transistors only.
RC lowpass filter
Now let us move to vary the speed of DC motor. The DC motor speed varies as applied input voltage varies. As you increase applied input voltage the
choose spi protocol
speed will increase and vice versa. Applying max rated voltage will rotate motor at full speed (caution: do not apply more than max rated voltage to
More motor otherwise motor windings may get burnt).

FEATURED ARDUINO PROJECTS Now the question is how to apply variable voltage to motor?

Getting Started with Arduino One of the very popular methods for generating variable DC voltage is pulse width modulation (PWM). It is explained in figure given below.

LCD Arduino Interfacing

Xbee Arduino Interfacing

Interface GPS with Arduino

Interface SD Card with Arduino

Call using Keyboard, GSM & Arduino

SPI Module of Arduino

... more arduino projects

LATEST PROJECTS

Fastest Finger First using J-K


Flip Flops

Portable UART Data


Receiver/Tester

32 Servo Motor Controller Fig. 3: Graph showing Pulse Width Modulation for controlling speed of DC Motor
Program using ATMEGA32
Pulse width modulation means varying the width (duty) of pulse. Width means ON time Ton of pulse. The average output voltage (Vdc or Vavg) is given
Miniature Volt Meter cum by equation
Battery Voltage Monitor
Vdc = [Ton / (Ton+Toff)] × Vs

It directly depends upon Ton. As shown in above figure if duty is 50% the average output voltage Vdc is exactly the half of Vs. If duty is increased to
Oscilloscope innovation.
75%, Vdc also increases to 3/4th of Vs and if duty is decreased to 25%, Vdc reduces to 1/4th of Vs. Thus as pulse width varies the average output
Measurement confidence.
voltage varies. So we have to apply PWM to DC motor to vary its speed.

Obviously the next question is how to generate PWM?

Any guesses...........?

Yes, the answer is IC NE555. This chip can be used to generate PWM. Here is the IC NE555 circuit to generate PWM output

Match your needs with the right Connections: IC NE555 is connected in astable mode. +12 biasing is given to Vcc pin (8). Reset pin (4) is also given +Ve supply to enable internal flip
oscilloscope flop. Two diodes connected back to back at discharge pin (7). One 1K resistor is connected between Vcc and discharge pin. A 10 K pot along with two
Get More Information diodes D1 and D2 is connected between threshold pin (6) and discharge pin in such a way that as it is increased, the resistance for charging capacitor
increases and resistance for discharging capacitor decreases.

Operation: when supply is given to circuit, the capacitor charges through R2-D2-R1A. The output of circuit is high. When capacitor charges to 2/3 Vcc,
the internal threshold comparator gives output that makes circuit output low. So if R1 is increased - R1A is more - capacitor charging time increased –
high output time (Ton) is more – duty cycle is more. Afterwards capacitor discharges through R1B – D1. So if R1 is decreased – R1B is more – capacitor
discharging time is increased – low output time (Toff) is more – duty cycle is less.

R&S®RTM3000 combines the power So this circuit generates PWM and width of pulse varies as pot R1 is varied.
of ten
Finally we need transistor H bridge circuit to alter the direction of DC motor and IC NE555 based PWM generator circuit to vary the speed of DC motor.
Get More Information
Here is the complete circuit.

The output of PWM generator circuit is given to H-Bridge circuit through SPDT switch. As we change the position of SPDT switch, the signal is either
applied to Q1 and Q4 or Q2 and Q3. So the SPDT switch alters the direction of motor. And the pot R1 varies width of output pulse applied to H-bridge
circuit. So it varies the speed of motor.

Here is the snap of circuit built on bread board

R&S®RTA4000 brings the power of


10 to a new level.
Get More Information

R&S®RTC1000 - From embedded


developers to service technicians to
educators
Get More Information

Fig. 4: Prototype of H-Bridge Circuit on a breadboard

So this is the simple circuit control speed and direction of DC motor. It can control DC motors having 12 V or 500 mA current ratings. For higher voltage
or current rating motors one can use darlington pair transistors (TIP122, TIP142 etc) or power MOSFETS (IRF series) or even SCR (TYN series)

Exclusive Digi-key Tools


Embedded Integrated Circuit
Hardware Connectors Transducers
computers Circuits Protection

Simple DC Motor Controller 1

Simple DC Motor Controller 2

Log In or Register to post comments

Comments

Very helpful
Submitted by JAYANTA DEY on Fri, 08/04/2016 - 16:41

Very helpful

Log In or Register to post comments

Very good tutorial for


Submitted by pradip on Sat, 09/04/2016 - 12:47

Very good tutorial for beginners.........

Log In or Register to post comments

Is the output of Hbridge also


Submitted by Aby on Fri, 08/09/2017 - 15:15

Is the output of Hbridge also in pulses of voltage?

Log In or Register to post comments

Home

Copyright © 2012 EngineersGarage. All rights reserved. Privacy Policy | Refund Policy | Advertise | About Us | Careers

You might also like