Motor control system with hardware short circuit protection
By adopting a hardware short-circuit protection solution in the motor control system, using a microcontroller and a comparison circuit to determine the short-circuit of the three-phase inverter circuit, quickly closing the MOS tube, the problem of short-circuit overcurrent in the motor control system is solved, and the high-reliability protection effect is achieved .
Patent Information
- Application Number
- CN202420445721.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-07
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2034-03-07
AI Technical Summary
In motor control systems, when the upper and lower bridges of the three-phase inverter circuit are turned on at the same time, it may cause short circuit and overcurrent, damaging the motor and MOS tubes, and the prior art is difficult to effectively prevent such damage.
A motor control system with hardware short circuit protection is designed, using microcontroller microcontroller, full-bridge drive circuit, three-phase inverter circuit, sampling circuit and comparison circuit. By sampling the voltage at the lower bridge end of the three-phase inverter circuit, we can determine whether the system is Short circuit and output corresponding logic level signals to control the full-bridge driving circuit, so that the MOS tube is turned off in a very short time to prevent overcurrent.
It realizes fast response and high reliability hardware protection, prevents repeated overcurrent of the system, and effectively protects MOS tubes and motors.
Smart Images

Figure CN222107580U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of motor control system protection, in particular to a motor control system with hardware short-circuit protection. Background Art
[0002] Motor control is widely used in our lives. The stable operation of the motor is the key to motor control. The short circuit of the control system during the operation of the motor is a very noteworthy problem. When the system is short-circuited, the upper and lower bridges of the three-phase inverter circuit are turned on at the same time, causing overcurrent, which will damage the motor and MOS tube. In order to avoid this situation, a motor control system with hardware short-circuit protection is proposed. Utility Model Content
[0003] The utility model aims to provide a motor control system with hardware short-circuit protection, which has the characteristics of short response time and high reliability.
[0004] In order to achieve the above-mentioned purpose, the technical solution of the utility model is a motor control system with hardware short-circuit protection, including a single-chip microcontroller, a full-bridge drive circuit, a three-phase inverter circuit, a sampling circuit, a comparison circuit and an AND gate circuit;
[0005] The output end of the sampling circuit for collecting the voltage at the lower bridge end of the three-phase inverter circuit is connected to the input end of the comparison circuit, the output end of the comparison circuit is respectively connected to the single-chip microcontroller and the input end of the AND gate circuit, the LOCK protection signal output end of the single-chip microcontroller is connected to the input end of the AND gate circuit, the output end of the AND gate circuit is connected to the input end of the full-bridge drive circuit, the PWM control signal output end of the single-chip microcontroller is connected to the input end of the full-bridge drive circuit, the output end of the full-bridge drive circuit is connected to the input end of the three-phase inverter circuit, and the output end of the three-phase inverter circuit is connected to the motor;
[0006] The comparison circuit compares the voltage collected by the sampling circuit with the set threshold to determine whether the system is short-circuited, and outputs the corresponding logic level signal as the input of the single-chip microcontroller and the AND gate circuit. At the same time, the single-chip microcontroller outputs a PWM wave as the input of the full-bridge drive circuit, and the AND gate circuit outputs the corresponding logic level signal to act on the full-bridge drive circuit to control the on and off of the MOS tube of the three-phase inverter circuit.
[0007] Furthermore, the sampling circuit includes an a-phase sampling circuit, a b-phase sampling circuit and a c-phase sampling circuit connected to the lower bridge end of the three-phase inverter circuit through one end of the sampling resistors R1, R2 and R3 respectively, wherein the other ends of the sampling resistors R1, R2 and R3 are connected to one end of the grounding resistor R0, and the other end of the grounding resistor R0 is grounded.
[0008] Furthermore, the comparison circuit includes comparators COMP1, COMP2 and COMP3, each of which has one end connected to a 3.3V power supply, and the other ends of comparators COMP1, COMP2 and COMP3 are all grounded. The same-direction input ends of comparators COMP1, COMP2 and COMP3 are connected to a resistor R7, one end of which is connected to a 3.3V power supply, and a resistor R8, one end of which is grounded. The reverse input ends of comparators COMP1, COMP2 and COMP3 are respectively connected to the a-phase sampling circuit, the b-phase sampling circuit and the c-phase sampling circuit in the sampling circuit. The output ends of comparators COMP1 and COMP2 are connected to the input end of AND gate 1 in the AND gate circuit, the output end of AND gate 1 and the output end of comparator COMP3 are connected to the input end of AND gate 2, and the output end of AND gate 2 serves as the output of the AND gate circuit.
[0009] Furthermore, the a-phase sampling circuit of the sampling circuit includes a resistor R4 whose one end is connected to the sampling resistor R1 and one end of the source of the MOS tube Q2 in the three-phase inverter circuit, and the other end of the resistor R4 is connected to one end of the capacitor C1 and the inverting input end of the comparator COMP1 in the comparison circuit, wherein the other end of the capacitor C1 is grounded;
[0010] The b-phase sampling circuit of the sampling circuit includes a resistor R5 whose one end is connected to the sampling resistor R2 and one end of the source of the MOS tube Q4 in the three-phase inverter circuit, and the other end of the resistor R5 is connected to one end of the capacitor C2 and the inverting input end of the comparator COMP2 in the comparison circuit, wherein the other end of the capacitor C2 is grounded;
[0011] The c-phase sampling circuit of the sampling circuit includes a resistor R6 whose one end is connected to the sampling resistor R3 and one end of the source of the MOS tube Q6 in the three-phase inverter circuit, and the other end of the resistor R6 is interconnected with one end of the capacitor C3 and the inverting input end of the comparator COMP3 in the comparison circuit, wherein the other end of the capacitor C3 is grounded.
[0012] Furthermore, the comparison circuit also includes resistors R9, R10 and R11, each of which has one end connected to a 3.3V power supply, wherein the other end of the resistor R9 is connected to the output end of the comparator COMP1 and an input end of an AND gate in the AND gate circuit, the other end of the resistor R10 is connected to the output end of the comparator COMP2 and an input end of an AND gate in the AND gate circuit, and the other end of the resistor R11 is connected to the output end of the comparator COMP3 and an input end of an AND gate in the AND gate circuit.
[0013] Compared with the prior art, the utility model has the following beneficial effects:
[0014] (1) The utility model samples the voltage at the lower bridge end of the three-phase inverter circuit through a sampling circuit, and then determines whether the system is short-circuited through a comparison circuit, and then outputs a corresponding logic level signal to the single-chip microcontroller and the AND gate circuit. The single-chip microcontroller will also output a corresponding logic level signal to the AND gate circuit. When the system is short-circuited, the AND gate circuit outputs a logic low level signal to act on the full-bridge drive circuit, forcing the full-bridge drive circuit to output a low level signal, and turning off all MOS tubes in the three-phase inverter circuit in a very short time, thereby achieving a hardware protection function, protecting the MOS tube and the motor, with a short response time and high reliability.
[0015] (2) When the system is short-circuited, the logic low level signal output by the microcontroller of the single-chip computer is used as the input of the AND gate circuit, so that the AND gate circuit always outputs the logic low level signal to prevent the system from repeatedly over-current. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 The structural diagram of the utility model;
[0017] Figure 2 Sampling circuit structure schematic diagram of the utility model;
[0018] Figure 3 A schematic diagram of the comparison circuit structure in the utility model. DETAILED DESCRIPTION
[0019] The utility model is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0020] like Figure 1A motor control system with hardware short-circuit protection shown in the figure includes a single-chip microcontroller, a full-bridge drive circuit, a three-phase inverter circuit, a sampling circuit, a comparison circuit and an AND gate circuit; the output end of the sampling circuit for collecting the voltage at the lower bridge end of the three-phase inverter circuit is connected to the input end of the comparison circuit, and the sampling circuit samples the voltage at both ends of the sampling resistor as the input of the comparison circuit; the output end of the comparison circuit is respectively connected to the single-chip microcontroller and the input end of the AND gate circuit, and the comparison circuit compares the signal output by the sampling circuit with the set threshold value, and outputs a logic level signal FAULT as the input of the single-chip microcontroller and the AND gate circuit; the LOCK protection signal output end of the single-chip microcontroller is connected to the input end of the AND gate circuit, when the system is normal, the single-chip microcontroller outputs a logic high level signal LOCK as the input of the AND gate circuit, and when the system is short-circuited, the single-chip microcontroller outputs a logic low level signal LOCK as the input of the AND gate circuit The output of the AND gate circuit is connected to the input of the full-bridge drive circuit. When the system is normal, the AND gate circuit outputs a logic high-level signal OC that acts on the SD pin of the full-bridge drive circuit, and the system operates normally. When the system is short-circuited, the AND gate circuit outputs a low-level signal OC that acts on the input pin SD of the full-bridge drive circuit, and the SD pin is valid, forcing the output pins HO and LO of the full-bridge drive circuit to output a low level, turning off the MOS tube to achieve hardware protection function; the PWM control signal output of the single-chip microcontroller is connected to the input of the full-bridge drive circuit. The single-chip microcontroller outputs three groups of PWM waves as the input of the full-bridge drive circuit, and the full-bridge drive circuit amplifies the PWM signal input by the single-chip microcontroller; the output of the full-bridge drive circuit is connected to the input of the three-phase inverter circuit, and the output of the three-phase inverter circuit is connected to the motor to control the on-off of the MOS tube of the three-phase inverter circuit to generate U, V, and W three-phase voltage signals to drive the motor.
[0021] It should be noted that see Figure 2 and Figure 3The sampling circuit includes a phase a sampling circuit, a phase b sampling circuit and a phase c sampling circuit which are connected to the lower bridge end of the three-phase inverter circuit through one end of the sampling resistors R1, R2 and R3 respectively, wherein the other ends of the sampling resistors R1, R2 and R3 are connected to one end of the grounding resistor R0, and the other end of the grounding resistor R0 is grounded; the comparison circuit includes comparators COMP1, COMP2 and COMP3, each of which has one end connected to a 3.3V power supply, and the other ends of the comparators COMP1, COMP2 and COMP3 are all grounded. The same-direction input terminals of comparator COMP2 and comparator COMP3 are connected to a resistor R7 having one end connected to a 3.3V power supply and a resistor R8 having one end connected to the ground; the reverse input terminals of comparator COMP1, comparator COMP2 and comparator COMP3 are respectively connected to the a-phase sampling circuit, the b-phase sampling circuit and the c-phase sampling circuit in the sampling circuit; the output terminals of comparator COMP1 and comparator COMP2 are connected to an input terminal of an AND gate 1 in the AND gate circuit; the output terminal of the AND gate 1 and the output terminal of comparator COMP3 are connected to an input terminal of an AND gate 2; and the output terminal of the AND gate 2 serves as the output of the AND gate circuit.
[0022] like Figure 2 As shown, the a-phase sampling circuit in the sampling circuit includes a resistor R4 connected with the sampling resistor R1 and the source end of the MOS tube Q2 in the three-phase inverter circuit, and the other end of the resistor R4 is connected to one end of the capacitor C1 and the inverting input end of the comparator COMP1 in the comparison circuit, wherein the other end of the capacitor C1 is grounded; the b-phase sampling circuit includes a resistor R5 connected with the sampling resistor R2 and the source end of the MOS tube Q4 in the three-phase inverter circuit, and the other end of the resistor R5 is connected to one end of the capacitor C2 and the inverting input end of the comparator COMP2 in the comparison circuit, wherein the other end of the capacitor C2 is grounded; the c-phase sampling circuit includes a resistor R6 connected with the sampling resistor R3 and the source end of the MOS tube Q6 in the three-phase inverter circuit, and the other end of the resistor R6 is connected to one end of the capacitor C3 and the inverting input end of the comparator COMP3 in the comparison circuit, wherein the other end of the capacitor C3 is grounded; wherein the three groups of resistors and capacitors form an RC low-pass filter function to remove the high-order harmonic signals of the internal switch tube.
[0023] like Figure 3As shown, the comparison circuit also includes resistors R9, R10 and R11, each of which has one end connected to a 3.3V power supply, wherein the other end of the resistor R9 is connected to the output end of the comparator COMP1 and the input end of the AND gate 1 in the AND gate circuit, the other end of the resistor R10 is connected to the output end of the comparator COMP2 and the input end of the AND gate 1 in the AND gate circuit, and the other end of the resistor R11 is connected to the output end of the comparator COMP3 and the input end of the AND gate 2 in the AND gate circuit; wherein, the output signals Do1 and Do2 of the comparator COMP1 and the comparator COMP2 are used as the input ends of the AND gate 1, the output end of the AND gate 1 and the output signal Do3 of the comparator COMP3 are used as the input ends of the AND gate 2, and the output end of the AND gate 2 outputs the signal FAULT as the input end of the lower-level AND gate circuit and the single-chip microcontroller; when the system is normal, the AND gate 2 outputs a logic high level signal FAULT, and when the system is short-circuited, the AND gate 2 outputs a logic low level signal FAULT.
[0024] When the utility model is in operation, the sampling circuit samples the voltage at both ends of the sampling resistor as the input of the comparison circuit, and the comparison circuit compares the signal output by the sampling circuit with the set threshold value to determine whether the system is short-circuited, and then outputs the logic level signal FAULT as the input of the single-chip microcontroller and the AND gate circuit;
[0025] When the system is normal, the comparison circuit outputs a logic high-level signal FAULT and the single-chip microcontroller outputs a logic high-level signal LOCK as the input of the AND gate circuit. The AND gate circuit outputs a logic high-level signal OC that acts on the SD pin of the full-bridge drive circuit. At the same time, the single-chip microcontroller outputs three sets of PWM waves as the input of the full-bridge drive circuit. The full-bridge drive circuit amplifies the PWM signal input by the single-chip microcontroller, and generates U, V, and W three-phase voltage signals to drive the motor according to the conduction sequence of the MOS tubes of the three-phase inverter circuit. The system operates normally.
[0026] When the system is short-circuited, the comparison circuit outputs a logic low-level signal FAULT and the single-chip microcontroller outputs a logic low-level signal LOCK as the input of the AND gate circuit. The AND gate circuit outputs a logic low-level signal OC that acts on the SD pin of the full-bridge drive circuit. The SD pin is effective, forcing the full-bridge drive circuit output pins HO and LO to output a low level, turning off the MOS tube to achieve hardware protection. At this time, since the logic low-level signal LOCK output by the single-chip microcontroller serves as the input of the AND gate circuit, the AND gate circuit always outputs a logic low-level signal OC as the input of the full-bridge drive circuit to prevent the system from repeated overcurrent.
[0027] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A motor control system with hardware short-circuit protection, characterized in that: It includes a single-chip microcontroller, a full-bridge drive circuit, a three-phase inverter circuit, a sampling circuit, a comparison circuit and an AND gate circuit; The output end of the sampling circuit for collecting the voltage at the lower bridge end of the three-phase inverter circuit is connected to the input end of the comparison circuit, the output end of the comparison circuit is respectively connected to the single-chip microcontroller and the input end of the AND gate circuit, the LOCK protection signal output end of the single-chip microcontroller is connected to the input end of the AND gate circuit, the output end of the AND gate circuit is connected to the input end of the full-bridge drive circuit, the PWM control signal output end of the single-chip microcontroller is connected to the input end of the full-bridge drive circuit, the output end of the full-bridge drive circuit is connected to the input end of the three-phase inverter circuit, and the output end of the three-phase inverter circuit is connected to the motor; The comparison circuit compares the voltage collected by the sampling circuit with the set threshold value to determine whether the system is short-circuited, and outputs the corresponding logic level signal as the input of the single-chip microcontroller and the AND gate circuit. The single-chip microcontroller outputs a PWM wave as the input of the full-bridge drive circuit. The AND gate circuit outputs the corresponding logic level signal to act on the full-bridge drive circuit to control the on and off of the MOS tube of the three-phase inverter circuit.
2. The motor control system with hardware short-circuit protection according to claim 1, characterized in that: The sampling circuit includes an a-phase sampling circuit, a b-phase sampling circuit and a c-phase sampling circuit which are connected to the lower bridge end of the three-phase inverter circuit through one end of the sampling resistors R1, R2 and R3 respectively, wherein the other ends of the sampling resistors R1, R2 and R3 are connected to one end of the grounding resistor R0, and the other end of the grounding resistor R0 is grounded.
3. The motor control system with hardware short-circuit protection as claimed in claim 2, characterized in that: The comparison circuit includes comparators COMP1, COMP2 and COMP3, each of which has one end connected to a 3.3V power supply, and the other ends of comparators COMP1, COMP2 and COMP3 are all grounded. The same-direction input ends of comparators COMP1, COMP2 and COMP3 are connected to a resistor R7, one end of which is connected to a 3.3V power supply, and a resistor R8, one end of which is grounded. The reverse input ends of comparators COMP1, COMP2 and COMP3 are respectively connected to the a-phase sampling circuit, the b-phase sampling circuit and the c-phase sampling circuit in the sampling circuit. The output ends of comparators COMP1 and COMP2 are connected to the input end of an AND gate 1 in the AND gate circuit. The output end of the AND gate 1 and the output end of comparator COMP3 are connected to the input end of an AND gate 2, and the output end of the AND gate 2 serves as the output of the AND gate circuit.
4. The motor control system with hardware short-circuit protection as claimed in claim 3, characterized in that: The a-phase sampling circuit of the sampling circuit includes a resistor R4 whose one end is connected to the sampling resistor R1 and one end of the source of the MOS tube Q2 in the three-phase inverter circuit, and the other end of the resistor R4 is connected to one end of the capacitor C1 and the inverting input end of the comparator COMP1 in the comparison circuit, wherein the other end of the capacitor C1 is grounded; The b-phase sampling circuit of the sampling circuit includes a resistor R5 whose one end is connected to the sampling resistor R2 and one end of the source of the MOS tube Q4 in the three-phase inverter circuit, and the other end of the resistor R5 is connected to one end of the capacitor C2 and the inverting input end of the comparator COMP2 in the comparison circuit, wherein the other end of the capacitor C2 is grounded; The c-phase sampling circuit of the sampling circuit includes a resistor R6 whose one end is connected to the sampling resistor R3 and one end of the source of the MOS tube Q6 in the three-phase inverter circuit, and the other end of the resistor R6 is interconnected with one end of the capacitor C3 and the inverting input end of the comparator COMP3 in the comparison circuit, wherein the other end of the capacitor C3 is grounded.
5. The motor control system with hardware short-circuit protection as claimed in claim 4, characterized in that: The comparison circuit also includes resistors R9, R10 and R11, each of which has one end connected to a 3.3V power supply, wherein the other end of resistor R9 is connected to the output end of comparator COMP1 and an input end of an AND gate in an AND gate circuit, the other end of resistor R10 is connected to the output end of comparator COMP2 and an input end of an AND gate in an AND gate circuit, and the other end of resistor R11 is connected to the output end of comparator COMP3 and an input end of an AND gate in an AND gate circuit.
