Need of an H-bridge
When driving the motor in only one direction, we only need an on/off switch. But in most of robotics applications, we need to reverse the motion of the motor many a times. This is accomplished by what is called an a Half-Bridge or a push/pull driver.
Circuitry of the H-bridge
2 Switch Bridge
The simplest of the H-bridge uses two switches, which provide a path to either the positive terminal or the negative terminal, due to which the motor is able to turn in either directions. By using only one of the switches at a time, a short circuit is avoided. The other terminal of the motor is permanently connected to the GND.(Ground 0V). If both the terminals of the motor are connected to the positive or negative supply, we obtain a condition known as an Electric Brake.
4 Switch H-Bridge
For the motor to spin, the battery current must flow from the Positive supply, through the Motor,
The Simplest of all H-bridges
We can make a full H-bridge using 2 three-way (SPDT) switches, a DC motor, and a 9v battery. It can be placed into any acceptable H-bridge state: forward, reverse, electric brake (positive), electric brake (negative), or neutral. Each switch in the circuit has three positions, On/Off/On, and switches the center contact between the two outer contacts (or in this case, the positive and negative battery wires). This method shows the simplicity of a basic H-bridge circuit, but does not provide speed control (it is either on or off). Although this might be a rugged circuit, its use is limited, so it is usually only good for testing and educational purposes.
DPDT (Double pole double throw) Relay H-Bridge
Arduino for direction control.The relay mosfet can be controlled by any Arduino digital output pin, whereas the speed control mosfet should be controlled by an Arduino PWM output. Next we connect the mosfet Drain pin to the Relay as shown in Figure 3-14, and the mosfet Source pin to the main Ground supply. The prototyping PCB makes this easier to put together and you can add screw-terminals for easy wiring. The voltage and current limits of this circuit are dependent on the mosfet and relay ratings, giving this circuit potential despite using a mechanical relay switch.
The Code for this bridge will be given later.
And don't worry if you do not get this right away! Take your time. You can also build the circuit, and then understand its functioning.
H-Bridge ICs
To build your own H-bridge, but leave the designing to a professional, you might be interested in an Hbridge
IC. An H-bridge IC is a complete H-bridge circuit that is contained on a tiny integrated circuit
chip. These are usually fitted into a circuit with very few extra components, typically only a few resistors
and a regulated power supply for the logic controls. When using an H-bridge IC, you can usually expect
shoot-through protection, thermal overload protection, and high frequency capabilities. Although these
H-bridge chips are far less likely to be destroyed by user error than a completely homemade design, they
also have much lower power ratings than a homemade H-bridge, typically under 3amps of continuous
current. There are several H-bridge IC chips that include all four switches and a method of controlling them
safely. The L293D is a Dual H-bridge IC that can handle up to 36 volts and 600 milliamp per motor. The
L298N is a larger version of the L293D that can handle up to 2amps (see Figure 3-16). There are a few ICs that can control up to 25amps, but they are expensive and hard to find. There are several H-bridge ICs
that work for some of the smaller projects i will post(hopefully), but the larger bots require a higher powered H-bridge capable of conducting 10amps or more.
0 comments:
Post a Comment
Do Comment on Anything you like or dont like!