Single-port controlled H-bridge motor driving circuit and electric appliance

文档序号:1204069 发布日期:2020-09-01 浏览:27次 中文

阅读说明:本技术 一种单口控制的h桥电机驱动电路及电器 (Single-port controlled H-bridge motor driving circuit and electric appliance ) 是由 谢海军 于 2020-05-15 设计创作,主要内容包括:本发明涉及一种单口控制的H桥电机驱动电路及电器。H桥电机驱动电路由第一开关管NMOS1、第二开关管NMOS2、第三开关管NMOS3和第四开关管NMOS4组成,第一半桥驱动芯片IC1分别控制第一开关管NMOS1和第三开关管NMOS3的通断,第二半桥驱动芯片IC2分别控制第二开关管NMOS2和第四开关管NMOS4的通断;同一个PWM输出端口分别连接第一半桥驱动芯片IC1和第二半桥驱动芯片IC2,且PWM输出端口通过反相器IC3连接第二半桥驱动芯片IC2。本发明仅需一个I/O口即可实现对电机正反转的控制,节省主控器资源;同时有效地防止H桥电机驱动电路的上下MOS管同时直通而产生的大电流损坏MOS管,提高产品的可靠性。(The invention relates to a single-port controlled H-bridge motor driving circuit and an electric appliance. The H-bridge motor driving circuit consists of a first switch tube NMOS1, a second switch tube NMOS2, a third switch tube NMOS3 and a fourth switch tube NMOS4, a first half-bridge driving chip IC1 controls the on-off of the first switch tube NMOS1 and the third switch tube NMOS3 respectively, and a second half-bridge driving chip IC2 controls the on-off of the second switch tube NMOS2 and the fourth switch tube NMOS4 respectively; the same PWM output port is connected to the first half-bridge driver IC1 and the second half-bridge driver IC2, respectively, and the PWM output port is connected to the second half-bridge driver IC2 through the inverter IC 3. The invention can realize the control of the positive and negative rotation of the motor by only one I/O port, thereby saving the resources of the main controller; meanwhile, the MOS tube is effectively prevented from being damaged by large current generated by the simultaneous direct connection of the upper MOS tube and the lower MOS tube of the H-bridge motor driving circuit, and the reliability of the product is improved.)

1. A single-port controlled H-bridge motor driving circuit is characterized by comprising a first half-bridge driving chip IC1, a second half-bridge driving chip IC2, a first switch tube NMOS1, a second switch tube NMOS2, a third switch tube NMOS3, a fourth switch tube NMOS4 and a phase inverter IC 3;

an input pin IN of the first half-bridge driving chip IC1 is connected with a PWM output port, a power supply pin VDD of the first half-bridge driving chip IC1 is connected with a first power supply, and a grounding pin GND of the first half-bridge driving chip IC1 is grounded; a high level output pin HO of the first half-bridge driving chip IC1 is connected with the gate of the first switch tube NMOS1, and a low level output pin LO of the first half-bridge driving chip IC1 is connected with the gate of the third switch tube NMOS 3; the drain electrode of the first switch tube NMOS1 is connected with a second power supply, and the source electrode of the first switch tube NMOS1 is connected with the first input end of the motor; the drain electrode of the third switching tube NMOS3 is connected with the first input end of the motor, and the source electrode of the third switching tube NMOS3 is grounded;

the PWM output port is connected with the input end of the inverter IC3, the output end of the inverter IC3 is connected with the input pin IN of the second half-bridge driving chip IC2, the power supply end of the inverter IC3 is connected with a third power supply, and the ground end of the inverter IC3 is grounded; a power supply pin VDD of the second half-bridge driver chip IC2 is connected with the first power supply, and a ground pin GND of the second half-bridge driver chip IC2 is grounded; a high level output pin HO of the second half-bridge driver chip IC2 is connected to the gate of the second switch NMOS2, and a low level output pin LO of the second half-bridge driver chip IC2 is connected to the gate of the fourth switch NMOS 4; the drain electrode of the second switch tube NMOS2 is connected with the second power supply, and the source electrode of the second switch tube NMOS2 is connected with the second input end of the motor; the drain electrode of the fourth switch tube NMOS4 is connected with the second input end of the motor, and the source electrode of the fourth switch tube NMOS4 is grounded;

if the PWM output port outputs a high level, a high level output pin HO of the first half-bridge driving chip IC1 outputs a high level, and the NMOS1 of the first switch tube is conducted; a low level output pin LO of the first half-bridge driving chip IC1 outputs a low level, and the third switch tube NMOS3 is turned off; the PWM output port outputs a high level which is inverted by the phase inverter IC3 and then outputs a low level, the high level output pin HO of the second half-bridge driving chip IC2 outputs a low level, the NMOS2 of the second switching tube is turned off, the LO of the low level output pin LO of the second half-bridge driving chip IC2 outputs a high level, the NMOS4 of the fourth switching tube is turned on, and the motor rotates according to a first preset direction;

if the PWM output port outputs a low level, a high level output pin HO of the first half-bridge driving chip IC1 outputs a low level, and the NMOS1 of the first switch tube is turned off; a low level output pin LO of the first half-bridge driving chip IC1 outputs a high level, and the third switching tube NMOS3 is turned on; the PWM output port outputs a low level which is inverted by the phase inverter IC3 and then outputs a high level, a high level output pin HO of the second half-bridge driving chip IC2 outputs a high level, the second switching tube NMOS2 is switched on, a low level output pin LO of the second half-bridge driving chip IC2 outputs a low level, the fourth switching tube NMOS4 is switched off, and the motor rotates according to a second preset direction; the first preset direction and the second preset direction are opposite rotating directions.

2. The H-bridge motor drive circuit of claim 1, wherein if the PWM output port outputs a high level, the speed of the motor can be adjusted by adjusting the duty cycle of the PWM signal.

3. The H-bridge motor drive circuit of claim 1, wherein if the PWM output port outputs a low level, the speed of the motor can be adjusted by adjusting the duty cycle of the PWM signal.

4. The single-port controlled H-bridge motor driving circuit of claim 1, further comprising a resistor R1, wherein the source of the third switching transistor NMOS3 is connected to the first end of the resistor R1, the source of the fourth switching transistor NMOS4 is connected to the first end of the resistor R1, and the second end of the resistor R1 is grounded.

5. The H-bridge motor driving circuit with single port control according to claim 4, further comprising an operational amplifier, wherein an input end of the operational amplifier is connected to the first end of the resistor R1, and an output end of the operational amplifier outputs the amplified sampling current.

6. The single-port controlled H-bridge motor drive circuit according to claim 1, wherein the first power supply is a 12V dc power supply, the second power supply is a 12V dc power supply, and the third power supply is a 3.3V dc power supply.

7. An electrical appliance comprising a motor, characterized in that the electrical appliance further comprises a single-port controlled H-bridge motor drive circuit according to any one of claims 1 to 6.

Technical Field

The invention relates to the field of motor driving, in particular to a single-port controlled H-bridge motor driving circuit and an electric appliance.

Background

In the prior art, an H-bridge circuit is usually used for driving the forward rotation and the reverse rotation of a motor, and the H-bridge circuit controls the on and off of four MOS tubes by using two I/O ports of a main controller, so that the aim of controlling the forward rotation and the reverse rotation of the motor is fulfilled. There are two disadvantages to using such a circuit: firstly, the resource of master controller occupies manyly, secondly the master control needs two IO mouths to control the switch and the shutoff of MOS pipe, can have two upper and lower direct phenomena of MOS pipe of H bridge circuit, leads to the MOS pipe to damage.

Disclosure of Invention

The present invention provides a single-port controlled H-bridge motor driving circuit and an electrical appliance, which are designed to solve the above-mentioned drawbacks of the prior art.

The technical scheme adopted by the invention for solving the technical problems is as follows: a single-port controlled H-bridge motor driving circuit is constructed, and comprises a first half-bridge driving chip IC1, a second half-bridge driving chip IC2, a first switching tube NMOS1, a second switching tube NMOS2, a third switching tube NMOS3, a fourth switching tube NMOS4 and a phase inverter IC 3;

an input pin IN of the first half-bridge driving chip IC1 is connected with a PWM output port, a power supply pin VDD of the first half-bridge driving chip IC1 is connected with a first power supply, and a grounding pin GND of the first half-bridge driving chip IC1 is grounded; a high level output pin HO of the first half-bridge driving chip IC1 is connected with the gate of the first switch tube NMOS1, and a low level output pin LO of the first half-bridge driving chip IC1 is connected with the gate of the third switch tube NMOS 3; the drain electrode of the first switch tube NMOS1 is connected with a second power supply, and the source electrode of the first switch tube NMOS1 is connected with the first input end of the motor; the drain electrode of the third switching tube NMOS3 is connected with the first input end of the motor, and the source electrode of the third switching tube NMOS3 is grounded;

the PWM output port is connected with the input end of the inverter IC3, the output end of the inverter IC3 is connected with the input pin IN of the second half-bridge driving chip IC2, the power supply end of the inverter IC3 is connected with a third power supply, and the ground end of the inverter IC3 is grounded; a power supply pin VDD of the second half-bridge driver chip IC2 is connected with the first power supply, and a ground pin GND of the second half-bridge driver chip IC2 is grounded; a high level output pin HO of the second half-bridge driver chip IC2 is connected to the gate of the second switch NMOS2, and a low level output pin LO of the second half-bridge driver chip IC2 is connected to the gate of the fourth switch NMOS 4; the drain electrode of the second switch tube NMOS2 is connected with the second power supply, and the source electrode of the second switch tube NMOS2 is connected with the second input end of the motor; the drain electrode of the fourth switch tube NMOS4 is connected with the second input end of the motor, and the source electrode of the fourth switch tube NMOS4 is grounded;

if the PWM output port outputs a high level, a high level output pin HO of the first half-bridge driving chip IC1 outputs a high level, and the NMOS1 of the first switch tube is conducted; a low level output pin LO of the first half-bridge driving chip IC1 outputs a low level, and the third switch tube NMOS3 is turned off; the PWM output port outputs a high level which is inverted by the phase inverter IC3 and then outputs a low level, the high level output pin HO of the second half-bridge driving chip IC2 outputs a low level, the NMOS2 of the second switching tube is turned off, the LO of the low level output pin LO of the second half-bridge driving chip IC2 outputs a high level, the NMOS4 of the fourth switching tube is turned on, and the motor rotates according to a first preset direction;

if the PWM output port outputs a low level, a high level output pin HO of the first half-bridge driving chip IC1 outputs a low level, and the NMOS1 of the first switch tube is turned off; a low level output pin LO of the first half-bridge driving chip IC1 outputs a high level, and the third switching tube NMOS3 is turned on; the PWM output port outputs a low level which is inverted by the phase inverter IC3 and then outputs a high level, a high level output pin HO of the second half-bridge driving chip IC2 outputs a high level, the second switching tube NMOS2 is switched on, a low level output pin LO of the second half-bridge driving chip IC2 outputs a low level, the fourth switching tube NMOS4 is switched off, and the motor rotates according to a second preset direction; the first preset direction and the second preset direction are opposite rotating directions.

Further, in the single-port controlled H-bridge motor driving circuit of the present invention, if the PWM output port outputs a high level, the rotation speed of the motor may be adjusted by adjusting the duty ratio of the PWM signal.

Further, in the single-port controlled H-bridge motor driving circuit of the present invention, if the PWM output port outputs a low level, the rotation speed of the motor may be adjusted by adjusting the duty ratio of the PWM signal.

Further, the single-port controlled H-bridge motor driving circuit further includes a resistor R1, a source of the third switching transistor NMOS3 is connected to the first end of the resistor R1, a source of the fourth switching transistor NMOS4 is connected to the first end of the resistor R1, and a second end of the resistor R1 is grounded.

Further, the single-port controlled H-bridge motor driving circuit further comprises an operational amplifier, an input end of the operational amplifier is connected with the first end of the resistor R1, and an output end of the operational amplifier outputs the amplified sampling current.

Further, in the single-port controlled H-bridge motor driving circuit of the present invention, the first power supply is a 12V dc power supply, the second power supply is a 12V dc power supply, and the third power supply is a 3.3V dc power supply.

In addition, the invention also provides an electric appliance, which comprises a motor and the electric appliance also comprises the H-bridge motor driving circuit controlled by the single port.

The single-port controlled H-bridge motor driving circuit and the electric appliance have the following beneficial effects: the invention can realize the control of the positive and negative rotation of the motor by only one I/O port, thereby saving the resources of the main controller; meanwhile, the MOS tube is effectively prevented from being damaged by large current generated by the simultaneous direct connection of the upper MOS tube and the lower MOS tube of the H-bridge motor driving circuit, and the reliability of the product is improved.

Drawings

The invention will be further described with reference to the accompanying drawings and examples, in which:

FIG. 1 is a circuit diagram of an H-bridge motor driving circuit with single port control provided by an embodiment;

fig. 2 is a circuit diagram of an H-bridge motor driving circuit with single port control according to an embodiment.

Detailed Description

For a more clear understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:步进马达的驱动电路及其驱动方法、使用其的电子机器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!