H-bridge drive circuit schematic diagram and enable control and direction logic
Source: InternetPublisher:笑流年 Keywords: Transistor power supply DC/DC Updated: 2020/11/08
The circuit is named after "H-bridge drive circuit" because its shape resembles the letter H. The four transistors form the four vertical legs of H, and the motor is the horizontal bar in H.
1. H-bridge drive circuit
Figure 1 shows a typical DC motor control circuit. The circuit is named after "H-bridge drive circuit" because its shape resembles the letter H. The four transistors form the four vertical legs of H, and the motor is the horizontal bar in H (note: Figure 1 and the following two figures are only schematic diagrams, not complete circuit diagrams, in which the drive circuit of the transistors is not shown).
As shown in the figure, the H-bridge motor drive circuit includes 4 transistors and a motor. For the motor to run, a pair of transistors on the diagonal must be turned on. Depending on the conduction status of different transistor pairs, current may flow through the motor from left to right or from right to left, thereby controlling the steering of the motor.
![H-bridge drive circuit schematic diagram and enable control and direction logic](http://www.eeworld.com.cn/circuit/upload/3982980be7fb7616c00768117a8eef96/e1e700f4a3883a6b2bd7ed1f185bc9ed.jpg)
For the motor to run, a pair of transistors on the diagonal must be conducting. For example, as shown in Figure 2, when the Q1 tube and the Q4 tube are turned on, the current passes through the motor from the positive pole of the power supply through Q1 from left to right, and then returns to the negative pole of the power supply via Q4. As shown by the current arrow in the figure, the current flowing in this direction will drive the motor to rotate clockwise. When transistors Q1 and Q4 are turned on, current will flow through the motor from left to right, thereby driving the motor to rotate in a specific direction (the arrow around the motor indicates clockwise direction).
![H-bridge drive circuit schematic diagram and enable control and direction logic](http://www.eeworld.com.cn/circuit/upload/3982980be7fb7616c00768117a8eef96/892dd39060522cbb539374a5b87f96a8.jpg)
Figure 3 shows the situation when another pair of transistors Q2 and Q3 are turned on, and the current will flow through the motor from right to left. When transistors Q2 and Q3 are turned on, current will flow through the motor from right to left, driving the motor to rotate in the other direction (the arrow around the motor indicates the counterclockwise direction).
![H-bridge drive circuit schematic diagram and enable control and direction logic](http://www.eeworld.com.cn/circuit/upload/3982980be7fb7616c00768117a8eef96/74ba511ba8e4d5fad75bf98013c9f235.jpg)
2. Enable control and direction logic
When driving a motor, it is very important to ensure that two transistors on the same side of the H-bridge do not conduct at the same time. If transistors Q1 and Q2 are turned on at the same time, the current will flow from the anode through the two transistors directly back to the cathode. At this time, there is no other load in the circuit except the triode, so the current on the circuit may reach the maximum value (this current is only limited by the power supply performance), or even burn out the triode. Based on the above reasons, in actual driving circuits, hardware circuits are usually used to conveniently control the switching of transistors.
The improved circuit adds 4 AND gates and 2 NOT gates to the basic H-bridge circuit. The four AND gates are connected to the same "enable" conduction signal, so that this signal can control the switch of the entire circuit. The two NOT gates provide a directional input, which can ensure that only one triode can be turned on on the same side leg of the H bridge at any time. (Like the schematic diagram earlier in this section, the circuit diagram shown in Figure 4 is not a complete circuit diagram. In particular, the direct connection between the AND gate and the transistor in the figure will not work properly.)
![H-bridge drive circuit schematic diagram and enable control and direction logic](http://www.eeworld.com.cn/circuit/upload/3982980be7fb7616c00768117a8eef96/8e1c0861d40133158c9d5a6d8158e5ea.jpg)
Using the above method, the operation of the motor only needs to be controlled by three signals: two direction signals and an enable signal. If the DIR-L signal is 0, the DIR-R signal is 1, and the enable signal is 1, then the transistors Q1 and Q4 are turned on, and the current flows through the motor from left to right (as shown in Figure 5); if DIR-L signal changes to 1 and the DIR-R signal changes to 0, then Q2 and Q3 will conduct and the current will flow through the motor in the opposite direction.
![H-bridge drive circuit schematic diagram and enable control and direction logic](http://www.eeworld.com.cn/circuit/upload/3982980be7fb7616c00768117a8eef96/4bf904f2b635041bda0a2128e2083c47.jpg)
In actual use, it is very troublesome to use discrete components to make an H-bridge. Fortunately, there are many packaged H-bridge integrated circuits on the market, which can be used after connecting the power supply, motor and control signals. At the rated voltage and current Very convenient and reliable to use inside. For example, the commonly used L293D, L298N, TA7257P, SN754410, etc.
H-bridge drive circuit with two discrete components:
![H-bridge drive circuit schematic diagram and enable control and direction logic](http://www.eeworld.com.cn/circuit/upload/3982980be7fb7616c00768117a8eef96/0221853d05ffc7774ae90938886b0f40.jpg)
- How to use a simple circuit to achieve a smooth soft-start for an isolated converter
- Practical and convenient fax machine power supply control circuit
- BA6104 five-digit LED level meter driver integrated circuit basic application circuit
- How to use SBR to improve power conversion efficiency
- Low cost and high performance LED constant current power supply
- A novel and practical DC low voltage stabilized power supply
- Integrated regulated power supply with continuously adjustable output voltage
- 3~15V 10A adjustable voltage regulated power supply
- LM317T voltage regulation adjustable circuit diagram explanation
- Circuit diagram explanation: simple switching power supply circuit diagram
- Detailed explanation of the working principle of linear regulated power supply
- Current Detection Circuit Design Tips
- 3V-5V level conversion circuit diagram
- Circular drive circuit diagram composed of 3 triodes
- Long-distance FM transmitter circuit diagram made of high-frequency triode
- Transistor reference basic bias circuit-current negative feedback type
- Three types of transistor amplification circuits and their characteristics - common emitter circuit
- One of the soft-start regulated power supply circuits
- 20V, 500mA regulated power supply circuit
- output circuit