Energy-saving motor drive circuit and control method thereof
By designing an energy-saving motor drive circuit and utilizing the energy recovered when the motor stops rotating and supplying it to the microprocessor, the problem of energy waste in small motor drive circuits is solved and the energy-saving effect of the motor drive circuit is achieved.
Patent Information
- Application Number
- CN202311874088.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-12-29
AI Technical Summary
Existing small motor drive circuits have the problem of energy waste, especially when the motor stops rotating, the energy cannot be effectively utilized.
An energy-saving motor drive circuit is designed, which uses the energy when the motor stops rotating to recycle the stored energy through the discharge circuit and power management circuit and supply it to the microprocessor, thereby reducing energy waste. The circuit includes a motor conduction control circuit, a discharge circuit, a path management circuit and a power management circuit. It controls the start and stop of the motor through the PWM signal of the microprocessor, forming a discharge circuit to recover energy.
It effectively utilizes the back electromotive force when the motor stops rotating, reduces energy waste, and achieves energy saving effects. At the same time, a small number of components are added to reduce costs.
Smart Images

Figure CN117748998B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of motor technology, and more specifically, to an energy-saving motor drive circuit and a control method thereof. Background Art
[0002] In the prior art, there is a small motor in a game controller and some small consumer products. In order to save costs, the driving circuit of this small motor is usually composed of a triode or a MOS tube. The advantages of this motor driving circuit are simple circuit and low cost, but this circuit also has a disadvantage, that is, there is a problem of energy waste. The present invention improves this circuit, and achieves energy saving at low cost. Summary of the invention
[0003] In order to solve the problem of energy waste in motors in the prior art, an energy-saving motor drive circuit and a control method thereof are proposed. When the motor stops rotating, the energy stored in the motor is used through a power management circuit to power a microprocessor, thereby achieving energy saving.
[0004] The technical solution of the present invention is as follows:
[0005] The present invention discloses an energy-saving motor drive circuit, which includes a motor conduction control circuit, a discharge circuit, a path management circuit, a control circuit, a power management circuit, and a microprocessor.
[0006] The output end of the motor conduction control circuit is used to be connected to the negative pole of the external motor.
[0007] The first input end of the discharge circuit is used for connecting to the negative pole of the external motor.
[0008] The input end of the motor conduction control circuit is electrically connected to the first output end of the microprocessor.
[0009] The input end of the control circuit is electrically connected to the second output end of the microprocessor; the output end of the control circuit is electrically connected to the second input end of the discharge circuit.
[0010] The output end of the discharge circuit is electrically connected to the first input end of the power management circuit.
[0011] The output terminal of the path management circuit is electrically connected to the second input terminal of the power management circuit.
[0012] The power supply terminal of the microprocessor is electrically connected to the output terminal of the power management circuit.
[0013] Preferably, the motor conduction control circuit includes a first MOS tube, a first resistor, and a second resistor.
[0014] The drain of the first MOS tube serves as the output end of the motor conduction control circuit and is used to be electrically connected to the negative pole of the motor.
[0015] The source of the first MOS tube is grounded, and the gate of the first MOS tube is electrically connected to one end of the first resistor and one end of the second resistor respectively; the other end of the first resistor is electrically connected to the PWM20 port of the microprocessor; the PWM20 port of the microprocessor serves as the first output end of the microprocessor; the other end of the second resistor is grounded.
[0016] Furthermore, the discharge circuit includes a second MOS tube and a first diode.
[0017] The source of the second MOS tube is electrically connected to the negative pole of the motor as the first input end of the discharge circuit.
[0018] The drain of the second MOS tube is electrically connected to the anode of the first diode; the cathode of the first diode is electrically connected to the first input terminal of the power management circuit as the output terminal of the discharge circuit; the output terminal of the power management circuit generates VDD.
[0019] Furthermore, the path management circuit includes a second diode.
[0020] The anode of the second diode is used for an external power supply, and the cathode of the second diode is electrically connected to the second input terminal of the power management circuit as the output terminal of the path management circuit.
[0021] Furthermore, the control circuit includes a third resistor, a third MOS tube, a fourth resistor, and a fifth resistor.
[0022] The two ends of the third resistor are electrically connected to the source and drain of the second MOS tube respectively; the drain of the third MOS tube is electrically connected to the gate of the second MOS tube; the drain of the third MOS tube serves as the output end of the control circuit, and the gate of the second MOS tube serves as the second input end of the discharge circuit.
[0023] The source of the third MOS tube is grounded, the gate of the third MOS tube is electrically connected to one end of the fourth resistor and one end of the fifth resistor, the other end of the fourth resistor is electrically connected to the PWM21 port of the microprocessor; the other end of the fourth resistor serves as the input end of the control circuit; the PWM21 port of the microprocessor serves as the second output end of the microprocessor.
[0024] The other end of the fifth resistor is grounded.
[0025] Furthermore, the power terminal of the microprocessor is electrically connected to VDD.
[0026] Another aspect of the present invention provides a method for controlling an energy-saving motor drive circuit, using the energy-saving motor drive circuit as described above, comprising the following steps:
[0027] The PWM20 terminal of the microprocessor sends a start control signal to the motor through the motor conduction control circuit to control the motor to rotate until time t1.
[0028] During the ΔT1 time before the time t1, the PWM21 terminal of the microprocessor sends a conduction control signal to the control circuit to control the discharge circuit to be turned on.
[0029] After time t1, the PWM20 terminal of the microprocessor sends a stop control signal to the motor through the motor conduction control circuit to control the motor to stop rotating.
[0030] At this time, the motor, discharge circuit and power management circuit form a discharge circuit, thereby storing the energy stored in the motor in the power management chip, and the power management circuit supplies power to the microprocessor until the stored energy is released, thereby completing a control time cycle.
[0031] Furthermore, within the time T1, the path management circuit provides power to the power management circuit.
[0032] Furthermore, when the power management chip has released all the stored energy, a shutdown control signal is sent to the control circuit through the PWM21 terminal of the microprocessor to control the discharge circuit to be disconnected.
[0033] The invention also discloses a motor system, comprising a motor and the energy-saving motor driving circuit.
[0034] The positive pole of the motor is connected to VCC.
[0035] The negative pole of the motor is electrically connected to the output end of the motor conduction control circuit and the first input end of the discharge circuit respectively.
[0036] The energy-saving motor driving circuit executes the energy-saving motor driving circuit control method to control the motor.
[0037] Beneficial effects of the present invention:
[0038] 1. The back electromotive force generated when the motor stops rotating is utilized through the discharge circuit, instead of part of the energy being dissipated through the diode like in the traditional circuit, thus achieving the effect of energy saving.
[0039] 2. By adding a small number of components, energy saving can be achieved and costs can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1A principle block diagram of an energy-saving motor drive circuit provided in an embodiment.
[0041] Figure 2 A circuit connection diagram of an energy-saving motor drive circuit provided in an embodiment.
[0042] Figure 3 A waveform diagram of an energy-saving motor drive circuit control method provided in an embodiment. DETAILED DESCRIPTION
[0043] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0044] Example 1
[0045] An energy-saving motor drive circuit, such as Figure 1 , Figure 2 As shown, it includes a motor conduction control circuit 1, a discharge circuit 2, a path management circuit 3, a control circuit 4, a power management circuit 5, and a microprocessor 6.
[0046] The output end of the motor conduction control circuit 1 is used to connect to the negative pole of the external motor 7 .
[0047] The first input end of the discharge circuit 2 is used for connecting to the negative pole of the external motor 7 .
[0048] The input end of the motor conduction control circuit 1 is electrically connected to the first output end of the microprocessor 6 .
[0049] The input end of the control circuit 4 is electrically connected to the second output end of the microprocessor 6 ; the output end of the control circuit 4 is electrically connected to the second input end of the discharge circuit 2 .
[0050] The output terminal of the discharge circuit 2 is electrically connected to the first input terminal of the power management circuit 5 .
[0051] The output terminal of the path management circuit 3 is electrically connected to the second input terminal of the power management circuit 5 .
[0052] The power supply terminal of the microprocessor 6 is electrically connected to the output terminal of the power management circuit 5 .
[0053] The motor conduction control circuit 1 is used for conduction and control between the motor 7 and the microprocessor 6 .
[0054] The discharge circuit 2 is used to recover the back electromotive force generated by the motor 7 when it rotates and stops, thereby recovering electric energy.
[0055] The path management circuit 3 is used to provide power support to the power management circuit 5 .
[0056] In this embodiment, the motor 7 is the motor Motor20, the microprocessor 6 is the microprocessor U21, and the power management circuit 5 is the power management circuit U20.
[0057] The motor conduction control circuit 1 includes a first MOS transistor Q20, a first resistor R20, and a second resistor R21.
[0058] The drain of the first MOS transistor Q20 serves as the output end of the motor conduction control circuit 1 and is used to be electrically connected to the negative electrode of the motor 7 .
[0059] The source of the first MOS tube Q20 is grounded, and the gate of the first MOS tube Q20 is electrically connected to one end of the first resistor R20 and one end of the second resistor R21 respectively; the other end of the first resistor R20 is electrically connected to the PWM20 port of the microprocessor 6; the PWM20 port of the microprocessor 6 serves as the first output end of the microprocessor 6; the other end of the second resistor R21 is grounded.
[0060] More specifically, the discharge circuit 2 includes a second MOS transistor Q21 and a first diode D21.
[0061] The source of the second MOS transistor Q21 is electrically connected to the negative electrode of the motor 7 as the first input terminal of the discharge circuit 2 .
[0062] The drain of the second MOS transistor Q21 is electrically connected to the anode of the first diode D21; the cathode of the first diode D21 is electrically connected to the first input terminal of the power management circuit 5 as the output terminal of the discharge circuit 2; the output terminal of the power management circuit 5 generates VDD.
[0063] More specifically, the path management circuit 3 includes a second diode D20.
[0064] The anode of the second diode D20 is used for an external power supply, and the cathode of the second diode D20 is electrically connected to the second input terminal of the power management circuit 5 as the output terminal of the path management circuit 3 .
[0065] More specifically, the control circuit 4 includes a third resistor R22, a third MOS transistor Q22, a fourth resistor R23, and a fifth resistor R24.
[0066] The two ends of the third resistor R22 are electrically connected to the source and drain of the second MOS transistor Q21 respectively; the drain of the third MOS transistor Q22 is electrically connected to the gate of the second MOS transistor Q21; the drain of the third MOS transistor Q22 serves as the output end of the control circuit 4, and the gate of the second MOS transistor Q21 serves as the second input end of the discharge circuit 2.
[0067] The source of the third MOS tube Q22 is grounded, the gate of the third MOS tube Q22 is electrically connected to one end of the fourth resistor R23 and one end of the fifth resistor R24, the other end of the fourth resistor R23 is electrically connected to the PWM21 port of the microprocessor 6; the other end of the fourth resistor R23 serves as the input end of the control circuit 4; the PWM21 port of the microprocessor 6 serves as the second output end of the microprocessor 6.
[0068] The other end of the fifth resistor R24 is grounded.
[0069] More specifically, the power terminal of the microprocessor 6 is electrically connected to VDD.
[0070] Example 2
[0071] In this embodiment, a method for controlling an energy-saving motor drive circuit adopts an energy-saving motor drive circuit as described in Embodiment 1, and includes the following steps:
[0072] The PWM20 terminal of the microprocessor 6 sends a start control signal to the motor 7 through the motor conduction control circuit 1 to control the motor 7 to rotate until time t1.
[0073] During the time ΔT1 before the time t1, the PWM21 terminal of the microprocessor 6 sends a conduction control signal to the control circuit 4 to control the discharge circuit 2 to be turned on.
[0074] After time t1, the PWM20 terminal of the microprocessor 6 sends a stop control signal to the motor 7 through the motor conduction control circuit 1 to control the motor 7 to stop rotating.
[0075] At this time, the motor 7, the discharge circuit 2 and the power management circuit 5 form a discharge circuit, thereby storing the energy stored in the motor 7 in the power management chip, and the power management circuit 5 supplies power to the microprocessor 6 until the stored energy is released, thereby completing a control time cycle.
[0076] During the time T1 , the path management circuit 3 provides power to the power management circuit 5 .
[0077] When the power management chip has released all the stored energy, a shutdown control signal is sent to the control circuit 4 through the PWM21 terminal of the microprocessor 6 to control the discharge circuit 2 to be disconnected.
[0078] In this embodiment, if Figure 3 As shown, the specific steps of controlling the motor 7 are as follows:
[0079] The microprocessor U21 generates PWM20 waveform and PWM21 waveform to control the first MOS tube Q20 and the third MOS tube Q22 respectively; the microprocessor U21 turns on the first MOS tube Q20 by changing PWM20 to a high level at time t0, thereby controlling the motor Motor20 to start rotating.
[0080] The steps for utilizing the energy stored in the motor 7 are as follows:
[0081] The method of releasing the stored energy of the motor 7 is as follows:
[0082] A period of time ΔT1 before the moment t1 when the motor Motor20 stops rotating, PWM21 starts to change from a low level to a high level. At this time, the third MOS tube Q22 is turned on, the level at point C is a low level, and the second MOS tube Q21 is turned on; point C is the connection point between the gate of the second MOS tube Q21 and the drain of the third MOS tube Q22.
[0083] At time t1, PWM20 changes from a high level to a low level, at which time the third MOS tube Q20 is turned off and the motor Motor20 stops rotating.
[0084] At the connection between the negative electrode of the motor Motor20 and the drain of the third MOS tube Q20, a back electromotive force is generated. At this time, the motor Motor20, the second MOS tube Q21, the diode D21 and the power management circuit U20 form a discharge circuit, and the energy stored in the motor Motor20 is utilized through the power management circuit U20. The voltage VDD generated by the power management circuit U20 is used to power the microprocessor U21.
[0085] During the ΔT2 time when the energy of motor Motor20 is released, PWM21 remains at a high level. Assuming that the energy of motor Motor20 is released at time t2, after a delay of ΔT1, PWM21 changes from a high level to a low level, MOS tube Q22 is turned off, point C is a high level, and MOS tube Q21 is also turned off, completing a control time cycle.
[0086] Example 3
[0087] In this embodiment, a motor system includes a motor 7 and the energy-saving motor driving circuit as described in Embodiment 1.
[0088] The positive pole of the motor 7 is connected to VCC.
[0089] The negative pole of the motor 7 is electrically connected to the output end of the motor conduction control circuit 1 and the first input end of the discharge circuit 2 respectively.
[0090] The energy-saving motor driving circuit executes the energy-saving motor driving circuit control method described in Example 2 to control the motor 7.
[0091] The drain of the first MOS transistor Q20 serves as a first port of the motor conduction control circuit and is electrically connected to the negative electrode of the motor Motor20 .
[0092] The source of the first MOS transistor Q20 is grounded, and the gate of the first MOS transistor Q20 is electrically connected to one end of the first resistor R20 and one end of the second resistor R21 respectively; the other end of the first resistor R20 is electrically connected to the PWM20 port of the microprocessor U21; the other end of the second resistor R21 is grounded. Provide a default low level.
[0093] The cathode point B of the motor Motor20 is electrically connected to the source of the P-type second MOS tube Q21, the drain of the second MOS tube Q21 is electrically connected to the anode of the first diode D21, the cathode of the first diode D21 is electrically connected to the input end of the power management circuit U20, and the output end of the power management circuit U20 generates a voltage VDD for powering other parts of the system such as the microprocessor U21. This part of the circuit is a discharge circuit for the back electromotive force generated by the motor from rotation to stop, and is the main circuit for recycling electric energy.
[0094] The input end of the power management circuit U20 is electrically connected to the cathode of a diode D20, and the anode of the second diode D20 is connected to the input end VSYS of the system power supply. This part belongs to the path management part, and its function is to provide power to the power management circuit U20 when the state of the motor is not within the ΔT2 time.
[0095] The negative electrode point B of the motor Motor20 is electrically connected to the drain of the N-type MOS tube Q22 through a resistor R22, and at the same time, the drain of the third MOS tube Q22 is electrically connected to the gate of the second MOS tube Q21. The source of the third MOS tube Q22 is grounded, and the gate of the third MOS tube Q22 is electrically connected to the microprocessor U21 through a resistor R23. At the same time, the gate of the third MOS tube Q22 is grounded through a resistor R24 to provide a default low level. This part of the circuit is the control circuit of the second MOS tube Q21, which controls the conduction and shutdown of the second MOS tube Q21.
[0096] Obviously, the above embodiments of the present invention are only examples for clearly explaining the present invention, and are not intended to limit the implementation methods of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention shall be included in the protection scope of the claims of the present invention.
Claims
1. An energy-saving motor drive circuit, characterized in that: It includes a motor conduction control circuit (1), a discharge circuit (2), a path management circuit (3), a control circuit (4), a power management circuit (5), and a microprocessor (6); The output end of the motor conduction control circuit (1) is used to connect to the negative pole of the external motor (7); The first input end of the discharge circuit (2) is used to be connected to the negative pole of an external motor (7); The input end of the motor conduction control circuit (1) is electrically connected to the first output end of the microprocessor (6); The input end of the control circuit (4) is electrically connected to the second output end of the microprocessor (6); the output end of the control circuit (4) is electrically connected to the second input end of the discharge circuit (2); The output end of the discharge circuit (2) is electrically connected to the input end of the power management circuit (5); The output end of the path management circuit (3) is electrically connected to the input end of the power management circuit (5); The power supply terminal of the microprocessor (6) is electrically connected to the output terminal of the power management circuit (5); The motor conduction control circuit (1) comprises a first MOS tube (Q20), a first resistor (R20), and a second resistor (R21); The drain of the first MOS tube (Q20) serves as the output end of the motor conduction control circuit (1) and is used to be electrically connected to the negative electrode of the motor (7); The source of the first MOS tube (Q20) is grounded, and the gate of the first MOS tube (Q20) is electrically connected to one end of the first resistor (R20) and one end of the second resistor (R21) respectively; the other end of the first resistor (R20) is electrically connected to the PWM20 port of the microprocessor (6); the PWM20 port of the microprocessor (6) serves as the first output end of the microprocessor (6); the other end of the second resistor (R21) is grounded; The discharge circuit (2) comprises a second MOS tube (Q21) and a first diode (D21); The source electrode of the second MOS tube (Q21) is electrically connected to the negative electrode of the motor (7) as the first input end of the discharge circuit (2); The drain of the second MOS tube (Q21) is electrically connected to the positive electrode of the first diode (D21); the negative electrode of the first diode (D21) is electrically connected to the first input end of the power management circuit (5) as the output end of the discharge circuit (2); the output end of the power management circuit (5) generates VDD; The path management circuit (3) comprises a second diode (D20); The anode of the second diode (D20) is used for an external power supply, and the cathode of the second diode (D20) is electrically connected to the input end of the power management circuit (5) as the output end of the path management circuit (3); The control circuit (4) comprises a third resistor (R22), a third MOS tube (Q22), a fourth resistor (R23), and a fifth resistor (R24); The two ends of the third resistor (R22) are electrically connected to the source and gate of the second MOS tube (Q21) respectively; the drain of the third MOS tube (Q22) is electrically connected to the gate of the second MOS tube (Q21); the drain of the third MOS tube (Q22) serves as the output end of the control circuit (4), and the gate of the second MOS tube (Q21) serves as the second input end of the discharge circuit (2); The source of the third MOS tube (Q22) is grounded, the gate of the third MOS tube (Q22) is electrically connected to one end of a fourth resistor (R23) and one end of a fifth resistor (R24), the other end of the fourth resistor (R23) is electrically connected to a PWM21 port of a microprocessor (6); the other end of the fourth resistor (R23) serves as an input end of the control circuit (4); and the PWM21 port of the microprocessor (6) serves as a second output end of the microprocessor (6); The other end of the fifth resistor (R24) is grounded; The power supply terminal of the microprocessor (6) is electrically connected to VDD.
2. A method for controlling an energy-saving motor drive circuit, using an energy-saving motor drive circuit as claimed in claim 1, characterized in that: The following steps are involved: The PWM20 terminal of the microprocessor (6) sends a start control signal to the motor (7) through the motor conduction control circuit (1), thereby controlling the motor (7) to rotate until time t1; Before t1 During the time T1, a conduction control signal is sent to the control circuit (4) via the PWM21 terminal of the microprocessor (6), so as to control the discharge circuit (2) to be turned on; After time t1, the PWM20 terminal of the microprocessor (6) sends a stop control signal to the motor (7) through the motor conduction control circuit (1), thereby controlling the motor (7) to stop rotating; At this time, the motor (7), the discharge circuit (2) and the power management circuit (5) form a discharge circuit, thereby storing the energy stored in the motor (7) in the power management chip, and the power management circuit (5) supplies power to the microprocessor (6) until the stored energy is released, thereby completing a control time cycle.
3. The energy-saving motor drive circuit control method according to claim 2, characterized in that: Before time T1, the path management circuit (3) provides electrical energy to the power management circuit (5).
4. The energy-saving motor drive circuit control method according to claim 3, characterized in that: When the power management chip has released all the stored energy, a shutdown control signal is sent to the control circuit (4) via the PWM21 terminal of the microprocessor (6), thereby controlling the discharge circuit (2) to be disconnected.
5. A motor system, characterized in that: comprising a motor (7) and an energy-saving motor drive circuit as claimed in any one of claims 1; The positive pole of the motor (7) is connected to VCC; The negative pole of the motor (7) is electrically connected to the output end of the motor conduction control circuit (1) and the first input end of the discharge circuit (2) respectively; The energy-saving motor drive circuit executes the energy-saving motor drive circuit control method according to any one of claims 2 to 4 to control the motor (7).
