H Bridge motor driver theory & practical circuit using transistors- animation/ simulation: Getting started with Robotics

What is H Bridge driver circuit? How to build an H Bridge circuit? H Bridge is a topic of great discussion in Robotics engineering and automation and H bridge motor (driver) controllers are the most common circuit for many robotics hobbyists. Further H Bridge driver circuits are the initial step of getting started with robotics (how to make robots? build a robot, etc). This Transistor H Bridge tutorial is devoted to the theory and practical construction of simple H bridges for controlling DC motors. An H-bridge is a type of driver circuit that you can use to spin a DC motor both clockwise and counterclockwise. H Bridge ICs are also available, L293 dual H Bridge IC is used in many robotic applications.

Circuit diagram

H+Bridge+motor+driver+theory+%2526+practical+circuit+using+transistors +animation+simulation+Getting+started+with+Robotics+1 H Bridge motor driver theory & practical circuit using transistors  animation/ simulation: Getting started with Robotics

Components required

  1. Resistors (100Ω x 4, 1kΩ x 2)                           
  2. Switches x 2
  3. Transistors (NPN x 2, PNP x 2)
  4. Load (DC Motor)

Working of H bridge circuit

  • From the circuit diagram when SW1 is closed, the 0V appear at the base of Q1 and Q3.
H+Bridge+motor+driver+theory+%2526+practical+circuit+using+transistors +animation+simulation+Getting+started+with+Robotics+3 H Bridge motor driver theory & practical circuit using transistors  animation/ simulation: Getting started with Robotics
  • Then transistor Q3 becomes ON since it is PNP, it needs LOW voltage to turn ON. But transistor Q1 remains OFF, because it is NPN and requires HIGH potential at the base to turn ON.
  • SW2 is not closed so that transistor Q2 is ON and transistor Q4 is OFF because HIGH potential appear at the base terminals.
  • So a current path exists via Q3-> motor-> Q2 so the motor rotates in a particular direction (say clockwise direction).
  • Consider SW2 is closed and SW1 is open, similarly Q4 and Q1 are ON and Q3 and Q2 are OFF.
H+Bridge+motor+driver+theory+%2526+practical+circuit+using+transistors +animation+simulation+Getting+started+with+Robotics+4 H Bridge motor driver theory & practical circuit using transistors  animation/ simulation: Getting started with Robotics
  • Then the current path is reversed, that is Q4-> motor ->Q1, this allows rotating the motor in opposite direction (anti clockwise direction).
  • Thus an H bridge driver can effectively control the rotation of motor in both directions.
  • If both inputs are simultaneously HIGH or LOW, then the Motor is in Rest.
H+Bridge+motor+driver+theory+%2526+practical+circuit+using+transistors +animation+simulation+Getting+started+with+Robotics+2 H Bridge motor driver theory & practical circuit using transistors  animation/ simulation: Getting started with Robotics
H+Bridge+motor+driver+theory+%2526+practical+circuit+using+transistors +animation+simulation+Getting+started+with+Robotics+5 H Bridge motor driver theory & practical circuit using transistors  animation/ simulation: Getting started with Robotics
  • Please have a look through the simulation/ animation of H bridge driver circuit.

Table showing the working

Please read: L293 IC based H Bridge DC Motor driver circuit
H bridge input H Bridge motor driver theory & practical circuit using transistors  animation/ simulation: Getting started with Robotics

Simulation/ Animation of H bridge circuit

Animation+H+Bridge+motor+driver+theory+&+practical+circuit+using+transistors +animation+simulation+Getting+started+with+Robotics+animation1 H Bridge motor driver theory & practical circuit using transistors  animation/ simulation: Getting started with Robotics

Hope this animation makes the concept clear. Don’t hesitate to comment if you like this.

4 thoughts on “H Bridge motor driver theory & practical circuit using transistors- animation/ simulation: Getting started with Robotics

    • Hi Saqlain,
      This is an example circuit. You may use any PNP+NPN transistor configuration depends on the application. For example High power application use high current transistors. The same circuit is available in an embedded IC. Check out L293 H Bridge IC

  1. Wow, thanks so much for this great explanation and demonstration! I’d seen the circuit before, and understood what it was supposed to do, but never really tried to understand it. Your explanation made it so simple! I’ve already read through a lot of your circuits and gotten some great ideas, so thanks for this whole website.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>