Motor driving circuit
By using a first-stage voltage conversion module, MOTO_IC module and current sampling module in the motor drive circuit, the problem of detecting motor current delay and unstable switching of the working direction is solved, and the motor is efficient and accurate forward and reverse control is achieved.
Patent Information
- Application Number
- CN202420475994.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-12
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2034-03-12
AI Technical Summary
The existing motor driving methods have problems such as delay in the motor current, unstable switching of the working direction, and high power, resulting in high control delay and susceptible to interference.
The first-stage voltage conversion module, MOTO_IC module and current sampling module are adopted to realize voltage conversion through the LDO chip. The MOTO_IC module replaces the electromagnetic relay, and the current sampling module replaces the Hall sensor, directly obtaining the output current to reduce delay and interference.
It reduces the power of the motor drive circuit, improves the life and frequency of the working direction switching, reduces information delay and external interference, and achieves efficient and accurate motor forward and reverse control.
Smart Images

Figure CN222029845U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of motor control, in particular to a motor drive circuit. Background Art
[0002] The existing motor drive method mainly uses a Hall signal linear current sensor as a test point for detecting the motor current, and realizes the switching of the motor working direction through an electromagnetic relay, and achieves the purpose of secondary voltage conversion by setting two voltage conversion chips to realize the power supply of the sensor and the MCU. The secondary level is to convert the voltage through two chips. There will be a certain delay in realizing the detection of the motor current through the Hall signal linear current sensor and transmitting the detection information to the MCU, and the effect of real-time sampling control cannot be achieved, and the Hall signal linear current sensor is easily interfered; there is a possibility of sparking when the motor working direction is switched by means of an electromagnetic relay, and the theoretical life of the mechanical sensor is not high, which cannot meet the long-term and high-frequency switching of the motor working direction; finally, the secondary voltage conversion power supply method makes the power of the entire motor drive circuit high. In this way, the control delay of the forward and reverse rotation of the motor is high and is easily interfered. Utility Model Content
[0003] In order to overcome the defects of the prior art, the utility model provides a motor drive circuit to solve the above problems.
[0004] The technical solution adopted by the utility model to solve the technical problem is: a motor drive circuit, including a primary voltage conversion module, an MCU, a MOTO_IC module and a current sampling module;
[0005] The primary voltage conversion module includes an LDO chip, the input end of the LDO chip is electrically connected to the external power supply VCC, the output end of the LDO chip is electrically connected to the power input end of the MCU, and the input end of the LDO chip is electrically connected to the power input end of the MOTO_IC module;
[0006] The forward signal output end of the MCU is electrically connected to the forward signal input end of the MOTO_IC module, the reverse signal output end of the MCU is electrically connected to the reverse signal input end of the MOTO_IC module, the positive output end of the MOTO_IC module is electrically connected to the positive pole MOTO+ of the motor, the negative output end of the MOTO_IC module is electrically connected to the negative pole MOTO- of the motor, and the current feedback end of the MOTO_IC module is electrically connected to the feedback signal input end of the MCU through a current sampling module.
[0007] Preferably, the primary voltage conversion module also includes an analog input isolation inductor R2, one end of the analog input isolation inductor R2 is electrically connected to the output end of the LDO chip, and the other end of the analog input isolation inductor R2 is electrically connected to the analog voltage input end of the MCU.
[0008] It is worth noting that the primary voltage conversion module further includes a clamping diode D2, one end of the clamping diode D2 is electrically connected to the output end of the LDO chip, and the other end of the clamping diode D2 is electrically connected to the ground GND.
[0009] Preferably, it also includes a filter capacitor C2, a filter capacitor C3 and a filter capacitor C4, one end of the filter capacitor C2 is electrically connected to the external power supply VCC, the other end of the filter capacitor C2 is electrically connected to the ground GND, one end of the filter capacitor C2 is also electrically connected to the power input end of the MOTO_IC module and one end of the filter capacitor C3 respectively, one end of the filter capacitor C3 is electrically connected to the input end of the LDO chip, and the other end of the filter capacitor C3 is electrically connected to the ground GND; one end of the filter capacitor C4 is electrically connected to the output end of the LDO chip, and the other end of the filter capacitor C4 is electrically connected to the ground GND.
[0010] Optionally, the current sampling circuit includes a resistor R7, a resistor R8, a resistor R9, a resistor R13, a filter capacitor C9 and a filter capacitor C10, one end of the resistor R7 is electrically connected to the current feedback end of the MOTO_IC module, the other end of the resistor R7 is electrically connected to the ground GND, one end of the resistor R8 is electrically connected to the current feedback end of the MOTO_IC module, the other end of the resistor R8 is respectively electrically connected to one end of the resistor R9 and one end of the filter capacitor C9, the other end of the filter capacitor C9 is electrically connected to the ground GND, the other end of the resistor R9 is respectively electrically connected to one end of the filter capacitor C10 and one end of the resistor R13, the other end of the resistor R13 is electrically connected to the feedback signal input end of the MCU, and the other end of the filter capacitor C10 is electrically connected to the ground GND.
[0011] Specifically, the model of the LDO chip is 78M05.
[0012] Optionally, the model of the MOTO_IC module is TMI8340.
[0013] The beneficial effect of the utility model is that in the motor drive circuit, only one LDO chip is provided to achieve the purpose of primary voltage conversion to reduce circuit power, and then a MOTO_IC module is used to replace a traditional electromagnetic relay to increase service life and to meet the needs of long-term, high-frequency switching of the motor working direction. Finally, a current sampling module is used to directly obtain the output current of the MOTO_IC module when controlling the motor and input it into the MCU to replace the traditional Hall effect sensor, thereby reducing information delay and external interference, so as to achieve the purpose of efficiently and accurately controlling the forward and reverse rotation of the motor. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 A circuit diagram of a motor drive circuit in one embodiment of the utility model;
[0015] Figure 2 A circuit diagram of an MCU in one embodiment of the utility model;
[0016] Figure 3 One fact of the present invention comes from the circuit diagram of the red MOTO_IC module. DETAILED DESCRIPTION
[0017] The specific implementation methods of the present invention are further described below in conjunction with the accompanying drawings. It should be noted that the description of these implementation methods is used to help understand the present invention, but does not constitute a limitation of the present invention. In addition, the technical features involved in each implementation method of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0018] like Figure 1-3 As shown, a motor drive circuit includes a primary voltage conversion module, an MCU, a MOTO_IC module and a current sampling module;
[0019] The primary voltage conversion module includes an LDO chip, the input end of the LDO chip is electrically connected to the external power supply VCC. Specifically, the external power supply VCC is used to provide a 24V voltage, which will output a 5V voltage after passing through the fuse F1 and the anti-reverse diode D1 and then the LDO chip. The output end of the LDO chip is connected to the power input end of the MCU (i.e., Figure 2 The power input terminal of the MCU is also electrically connected to the ground GND through a capacitor C6 for filtering, and the input terminal of the LDO chip is electrically connected to the power input terminal of the MOTO_IC module;
[0020] like Figure 2 and 3As shown, the MCU is provided with a forward input terminal P_MOTO, a reverse input terminal N_MOTO and a shutdown input terminal RUN, and the forward signal output terminal ( Figure 2 The port 2 of the MCU is electrically connected to the forward signal input terminal of the MOTO_IC module, and the reverse signal output terminal of the MCU ( Figure 2 Port 3 of the MCU is electrically connected to the inversion signal input terminal of the MOTO_IC module, the positive output terminal of the MOTO_IC module is electrically connected to the positive pole MOTO+ of the motor, the negative output terminal of the MOTO_IC module is electrically connected to the negative pole MOTO- of the motor, and the current feedback terminal of the MOTO_IC module is electrically connected to the feedback signal input terminal of the MCU through the current sampling module.
[0021] In the motor drive circuit, only one LDO chip is set to achieve the purpose of primary voltage conversion to reduce circuit power, and then the MOTO_IC module is used to replace the traditional electromagnetic relay to improve the service life and to meet the long-term and high-frequency switching of the motor working direction. Finally, the output current of the MOTO_IC module when controlling the motor is directly obtained through the current sampling module and input into the MCU to replace the traditional Hall effect sensor, thereby reducing information delay and reducing external interference, so as to achieve the purpose of efficiently and accurately controlling the forward and reverse rotation of the motor.
[0022] It is worth noting that the primary voltage conversion module further includes an analog input isolation inductor R2, one end of which is electrically connected to the output end of the LDO chip, and the other end of which is electrically connected to the analog voltage input end of the MCU ( Figure 2 The analog input isolation inductor R2 is provided to separate the power input and analog input of the MCU.
[0023] The other end of the analog input isolation inductor R2 is also electrically connected to one end of the resistor R5, and the other end of the resistor R5 is electrically connected to the output end of the voltage reference chip PWR_IC, and the output end of the voltage reference chip PWR_IC is electrically connected to the voltage reference input end of the MCU ( Figure 2 The other end of the analog input isolation inductor R2 is also electrically connected to one end of the resistor R10, the other end of the resistor R10 is electrically connected to one end of the adjustable resistor R6, the other end of the adjustable resistor R6 is electrically connected to the analog ground AGND, and the adjustment end of the adjustable resistor R6 is electrically connected to the current limiting value adjustment input end ( Figure 2The port 13 of the MCU is electrically connected, so that the adjustable resistor R6 samples a voltage of 0-5V and sets the current limit value by inputting it into the MCU; the port 5 of the MCU is electrically connected to the ground GND, the port 6 of the MCU is electrically connected to the analog ground AGND, and the port 10 of the MCU is electrically connected to the digital tube SEG.
[0024] Preferably, the primary voltage conversion module further includes a clamping diode D2, one end of the clamping diode D2 is electrically connected to the output end of the LDO chip, and the other end of the clamping diode D2 is electrically connected to the ground GND. The other end of the clamping diode D2 is electrically connected to the analog ground AGND through a resistor R3. The clamping diode D2 is provided to prevent the voltage surge from impacting the subsequent circuit.
[0025] Optionally, it also includes a filter capacitor C2, a filter capacitor C3 and a filter capacitor C4, one end of the filter capacitor C2 is electrically connected to an external power supply VCC, the other end of the filter capacitor C2 is electrically connected to the ground GND, and one end of the filter capacitor C2 is also electrically connected to the power input terminal of the MOTO_IC module and one end of the filter capacitor C3, respectively. Specifically, one end of the filter capacitor C2 is electrically connected to one end of the inductor R1, and the other end of the inductor R1 is electrically connected to the power input terminal of the MOTO_IC module. The inductor R1 serves to isolate the analog input of the MOTO_IC module. In addition, the other end of the inductor R1 is electrically connected to the ground GND through the filter capacitor C1, one end of the filter capacitor C3 is electrically connected to the input terminal of the LDO chip, and the other end of the filter capacitor C3 is electrically connected to the ground GND; one end of the filter capacitor C4 is electrically connected to the output terminal of the LDO chip, and the other end of the filter capacitor C4 is electrically connected to the ground GND, and the ground terminal of the LDO chip is also electrically connected to the ground GND. In this embodiment, the filter capacitor C1 , the filter capacitor C2 , the filter capacitor C3 and the filter capacitor C4 all play a filtering role.
[0026] Specifically, the current sampling circuit includes a resistor R7, a resistor R8, a resistor R9, a resistor R13, a filter capacitor C9 and a filter capacitor C10, one end of the resistor R7 is electrically connected to the current feedback end of the MOTO_IC module, the other end of the resistor R7 is electrically connected to the ground GND, one end of the resistor R8 is electrically connected to the current feedback end of the MOTO_IC module, the other end of the resistor R8 is electrically connected to one end of the resistor R9 and one end of the filter capacitor C9, respectively, the other end of the filter capacitor C9 is electrically connected to the ground GND, the other end of the resistor R9 is electrically connected to one end of the filter capacitor C10 and one end of the resistor R13, respectively, and the other end of the resistor R13 is electrically connected to the feedback signal input end of the MCU ( Figure 2The other end of the filter capacitor C10 is electrically connected to the ground GND. The current output to the motor by the MOTO_IC module passes through the current feedback end and is divided by the resistor R7 and is shunted by the resistors R8, R9 and R13 to feed back to the MCU to implement the sampling of the motor current. The filter capacitors C9 and C10 are set to play a filtering role.
[0027] Preferably, the model of the LDO chip is 78M05.
[0028] Preferably, the model of the MOTO_IC module is TMI8340. The MOTO_IC module can control the forward and reverse rotation of the motor according to the output signal of the MCU.
[0029] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the described embodiments. For those skilled in the art, various changes, modifications, substitutions and variations of these embodiments are made without departing from the principles and spirit of the present invention, and still fall within the scope of protection of the present invention.
Claims
1. A motor drive circuit, characterized in that: It includes a primary voltage conversion module, MCU, MOTO_IC module and current sampling module; The primary voltage conversion module includes an LDO chip, the input end of the LDO chip is electrically connected to the external power supply VCC, the output end of the LDO chip is electrically connected to the power input end of the MCU, and the input end of the LDO chip is electrically connected to the power input end of the MOTO_IC module; The forward signal output end of the MCU is electrically connected to the forward signal input end of the MOTO_IC module, the reverse signal output end of the MCU is electrically connected to the reverse signal input end of the MOTO_IC module, the positive output end of the MOTO_IC module is electrically connected to the positive pole MOTO+ of the motor, the negative output end of the MOTO_IC module is electrically connected to the negative pole MOTO- of the motor, and the current feedback end of the MOTO_IC module is electrically connected to the feedback signal input end of the MCU through a current sampling module.
2. A motor drive circuit according to claim 1, characterized in that: The primary voltage conversion module also includes an analog input isolation inductor R2, one end of the analog input isolation inductor R2 is electrically connected to the output end of the LDO chip, and the other end of the analog input isolation inductor R2 is electrically connected to the analog voltage input end of the MCU.
3. The motor drive circuit according to claim 1, characterized in that: The primary voltage conversion module further includes a clamping diode D2, one end of the clamping diode D2 is electrically connected to the output end of the LDO chip, and the other end of the clamping diode D2 is electrically connected to the ground GND.
4. The motor drive circuit according to claim 1, characterized in that: It also includes a filter capacitor C2, a filter capacitor C3 and a filter capacitor C4, one end of the filter capacitor C2 is electrically connected to the external power supply VCC, the other end of the filter capacitor C2 is electrically connected to the ground GND, one end of the filter capacitor C2 is also electrically connected to the power input end of the MOTO_IC module and one end of the filter capacitor C3 respectively, one end of the filter capacitor C3 is electrically connected to the input end of the LDO chip, and the other end of the filter capacitor C3 is electrically connected to the ground GND; one end of the filter capacitor C4 is electrically connected to the output end of the LDO chip, and the other end of the filter capacitor C4 is electrically connected to the ground GND.
5. The motor drive circuit according to claim 1, characterized in that: The motor drive circuit also includes a current sampling circuit, which includes a resistor R7, a resistor R8, a resistor R9, a resistor R13, a filter capacitor C9 and a filter capacitor C10, one end of the resistor R7 is electrically connected to the current feedback end of the MOTO_IC module, the other end of the resistor R7 is electrically connected to the ground GND, one end of the resistor R8 is electrically connected to the current feedback end of the MOTO_IC module, the other end of the resistor R8 is respectively electrically connected to one end of the resistor R9 and one end of the filter capacitor C9, the other end of the filter capacitor C9 is electrically connected to the ground GND, the other end of the resistor R9 is respectively electrically connected to one end of the filter capacitor C10 and one end of the resistor R13, the other end of the resistor R13 is electrically connected to the feedback signal input end of the MCU, and the other end of the filter capacitor C10 is electrically connected to the ground GND.
6. The motor drive circuit according to claim 1, characterized in that: The model of the LDO chip is 78M05.
7. The motor drive circuit according to claim 1, characterized in that: The model of the MOTO_IC module is TMI8340.
