Drive circuit for hub motor

By introducing components such as an MCU module, a drive module group, a switch module group, and a trigger module group into the hub motor drive circuit, and combining them with a Hall sensor and a shaping module, the problem of unstable drive current of the hub motor under uneven or steep working conditions is solved, and stable output of drive current and performance optimization are achieved.

CN224164789UActive Publication Date: 2026-04-24XIAN ZHONGQING JUNYI NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
XIAN ZHONGQING JUNYI NETWORK TECH CO LTD
Filing Date
2025-05-20
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

Existing hub motor drive circuits suffer from unstable drive current under uneven or steep conditions, affecting performance optimization and cost control.

Method used

The system employs an MCU module, a drive module group, a switch module group, a trigger module group, a temperature sensor, and a power conversion module. The MCU module controls the drive module and the switch module to achieve stable output of drive current. The system combines a Hall sensor and a shaping module for closed-loop speed control and uses parallel MOSFETs to shunt current to stabilize the current.

Benefits of technology

The stability of the drive current of the hub motor drive circuit under various operating conditions has been achieved, improving the performance optimization and cost control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224164789U_ABST
    Figure CN224164789U_ABST
Patent Text Reader

Abstract

The utility model discloses a drive circuit for a hub motor. The drive circuit comprises an MCU module; the driving module group is connected with the MCU module; the driving module group comprises a plurality of driving modules, and the number of the driving modules is consistent with that of the hub motors; the switch module group is connected with the driving module group and the hub motor; the switch module group comprises a plurality of switch modules, and the number of the switch modules is consistent with that of the driving modules; the trigger module group is connected with the MCU module; and the power supply conversion module is connected with the power supply equipment, the MCU module, the driving module group and the trigger module group, and is used for converting the power supply voltage provided by the power supply equipment into the voltage required by the MCU module, the driving module group and the trigger module group. The driving circuit of the scheme is stable in driving current under a specific working condition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of motor drive technology, and in particular to a drive circuit for a hub motor. Background Technology

[0002] In-wheel motors, as highly integrated drive devices, are widely used in electric vehicles such as electric cars and electric bicycles due to their advantages such as compact structure, high transmission efficiency, and good space utilization. However, existing in-wheel motor drive circuits still have several technical problems that restrict their performance optimization and cost control.

[0003] When existing hub motor-based tools are applied to specific working conditions, such as uneven ground, steep slopes, or other challenging terrains, the hub motor's drive circuit suffers from unstable drive current. Utility Model Content

[0004] An embodiment of this application provides a drive circuit for a hub motor.

[0005] Embodiments of this application provide a drive circuit for a hub motor, comprising:

[0006] MCU module;

[0007] The drive module group is connected to the MCU module; the drive module group includes several drive modules, and the number of drive modules is the same as the number of hub motors.

[0008] The switch module group is connected to the drive module group and the hub motor; the switch module group includes several switch modules, and the number of switch modules is the same as the number of drive modules.

[0009] Trigger module group, connected to MCU module;

[0010] Temperature sensor, which collects the temperature from the switch module, is connected to the MCU module;

[0011] The power conversion module connects to the power supply equipment, MCU module, driver module group, and trigger module group, and is used to convert the power supply voltage provided by the power supply equipment into the voltage required by the MCU module, driver module group, and trigger module group.

[0012] In one embodiment, the driving module includes: a first driving chip and a second driving chip;

[0013] Pin 1 of the first driver chip is connected to one end of the forty-third capacitor and one end of the fifty-sixth resistor, respectively. The other end of the forty-third capacitor is grounded; the other end of the fifty-sixth resistor is connected to the power conversion module.

[0014] Pin 2 of the first driver chip is connected to one end of the 59th resistor, one end of the 48th capacitor, one end of the 67th resistor, and pin 3 of the second driver chip; the other end of the 59th resistor is connected to the MCU module.

[0015] Pin 3 of the first driver chip is connected to one end of the 72nd resistor, one end of the 77th resistor, one end of the 59th capacitor, and pin 2 of the second driver chip, respectively; the other end of the 72nd resistor is connected to the other end of the 48th capacitor and the other end of the 59th capacitor and grounded; the other end of the 77th resistor is connected to the MCU module.

[0016] Pin 5 of the first driver chip is connected to one end of the forty-ninth capacitor and the negative terminal of the first diode. The positive terminal of the first diode is connected to one end of the sixty-fourth resistor. The other end of the sixty-fourth resistor is connected to one end of the fiftieth capacitor, one end of the seventy-eighth resistor, and the power conversion module. The other end of the fiftieth capacitor is connected to the negative terminal of the power supply equipment. The other end of the forty-ninth capacitor is connected to pin 8 of the first driver chip and to the hub motor.

[0017] Pin 6 of the first driver chip is connected to one end of the sixty-second resistor;

[0018] Pin 7 of the first driver chip is connected to one end of the 70th resistor; the other end of the 70th resistor and the other end of the 62nd resistor are connected to the switch module.

[0019] Pin 1 of the second driver chip is connected to one end of the fifty-sixth capacitor and the power conversion module; the other end of the fifty-sixth capacitor is grounded.

[0020] Pin 5 of the second driver chip is connected to one end of the sixty-first capacitor and the other end of the seventy-eighth resistor, respectively; the other end of the sixty-first capacitor is connected to pin 8 of the second driver chip and is connected to the negative terminal of the power supply device.

[0021] Pin 6 of the second driver chip is connected to one end of the seventy-fifth resistor;

[0022] Pin 7 of the second driver chip is connected to one end of the 83rd resistor; the other end of the 83rd resistor and the other end of the 75th resistor are connected to the switch module.

[0023] Pin 4 of the first driver chip and pin 4 of the second driver chip are grounded.

[0024] In one embodiment, the switching module includes: a first MOSFET to a twelfth MOSFET;

[0025] Pin 1 of the first MOSFET is connected to one end of the first resistor and one end of the fourth capacitor, respectively.

[0026] Pin 3 of the first MOSFET is connected to the other end of the fourth capacitor, one end of the seventh resistor, pin 2 of the seventh MOSFET, pin 2 of the eighth MOSFET, pin 3 of the second MOSFET, and one end of the fifth capacitor.

[0027] Pin 1 of the second MOSFET is connected to one end of the second resistor and the other end of the fifth capacitor, respectively.

[0028] Pin 1 of the third MOSFET is connected to one end of the third resistor and one end of the sixth capacitor, respectively.

[0029] Pin 3 of the third MOSFET is connected to the other end of the sixth capacitor, one end of the eighth resistor, pin 2 of the ninth MOSFET, pin 2 of the tenth MOSFET, pin 3 of the fourth MOSFET, and one end of the seventh capacitor.

[0030] Pin 1 of the fourth MOSFET is connected to one end of the fourth resistor and the other end of the seventh capacitor.

[0031] Pin 1 of the fifth MOSFET is connected to one end of the fifth resistor and one end of the eighth capacitor.

[0032] Pin 3 of the fifth MOSFET is connected to the other end of the eighth capacitor, one end of the ninth resistor, pin 2 of the eleventh MOSFET, pin 2 of the twelfth MOSFET, pin 3 of the sixth MOSFET, and one end of the ninth capacitor.

[0033] Pin 1 of the sixth MOSFET is connected to one end of the sixth resistor and the other end of the ninth capacitor.

[0034] Pin 1 of the seventh MOSFET is connected to one end of the tenth resistor and one end of the thirteenth capacitor, respectively.

[0035] Pin 3 of the seventh MOSFET is connected to the other end of the thirteenth capacitor, one end of the first current sampling resistor, one end of the tenth capacitor, pin 3 of the eighth MOSFET, and one end of the fourteenth capacitor; the other end of the tenth capacitor is connected to one end of the first capacitor.

[0036] Pin 1 of the eighth MOSFET is connected to one end of the eleventh resistor and the other end of the fourteenth capacitor.

[0037] Pin 1 of the ninth MOSFET is connected to one end of the twelfth resistor and one end of the fifteenth capacitor.

[0038] Pin 3 of the ninth MOSFET is connected to the other end of the fifteenth capacitor, one end of the second current sampling resistor, one end of the eleventh capacitor, pin 3 of the tenth MOSFET, and one end of the sixteenth capacitor; the other end of the eleventh capacitor is connected to one end of the second capacitor.

[0039] Pin 1 of the tenth MOSFET is connected to one end of the thirteenth resistor and the other end of the sixteenth capacitor.

[0040] Pin 1 of the eleventh MOSFET is connected to one end of the fourteenth resistor and one end of the seventeenth capacitor.

[0041] Pin 3 of the eleventh MOSFET is connected to the other end of the seventeenth capacitor, one end of the third current sampling resistor, one end of the twelfth capacitor, pin 3 of the twelfth MOSFET, and one end of the eighteenth capacitor; the other end of the twelfth capacitor is connected to one end of the third capacitor.

[0042] Pin 1 of the twelfth MOSFET is connected to one end of the fifteenth resistor and the other end of the eighteenth capacitor.

[0043] The other ends of the first current sampling resistor, the second current sampling resistor, and the third current sampling resistor are all connected to one end of the sixteenth resistor, one end of the seventeenth resistor, and one end of the eighteenth resistor.

[0044] The other ends of the first resistor to the eighteenth resistor are all connected to the drive module;

[0045] Pin 2 of the first MOSFET, pin 2 of the second MOSFET, pin 2 of the third MOSFET, pin 2 of the fourth MOSFET, pin 2 of the fifth MOSFET, pin 2 of the sixth MOSFET, and the other end of the first capacitor are all connected to the positive terminal of the power supply device.

[0046] In one embodiment, the trigger module group includes: an accelerator pedal trigger module, a manual trigger module, an automatic switching trigger module, and an emergency stop trigger module.

[0047] In one embodiment, it further includes a Hall sensor, which is mounted on the hub motor and electrically connected to the MCU module.

[0048] In one embodiment, it further includes: a communication module connected to the MCU module, wherein the MCU module communicates with the host computer through the communication module.

[0049] In one embodiment, a current acquisition group is also included, which acquires the current of the first current sampling resistor, the second current sampling resistor, and the third current sampling resistor, respectively. The current acquisition group is connected to the MCU module.

[0050] In one embodiment, a voltage acquisition unit is also included to acquire the voltage at the output end of the power supply device, and the voltage acquisition unit is connected to the MCU module.

[0051] In one embodiment, it further includes a shaping module connected between the Hall sensor and the MCU module.

[0052] Compared with the prior art, this application has the following advantages: In this solution, the MCU module controls the drive module group to drive the corresponding switch module group based on the trigger signal from the trigger module group, thereby controlling the rotation or stopping of the hub motor and its speed. The drive current of this drive circuit for the hub motor is stable. Attached Figure Description

[0053] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0054] Figure 1 This is a schematic diagram of the electrical principle of the drive circuit for the hub motor according to an embodiment of this application;

[0055] Figure 2 This is a circuit diagram of the drive module in the drive circuit of the hub motor according to an embodiment of this application;

[0056] Figure 3 This is a circuit diagram of the switching module in the drive circuit of the hub motor according to an embodiment of this application;

[0057] Figure 4 This is a circuit diagram of the shaping module in the drive circuit of the hub motor according to an embodiment of this application;

[0058] Figure 5 This application describes an auxiliary protection module circuit used in the drive circuit of a hub motor. Figure 1 ;

[0059] Figure 6 This application describes an auxiliary protection module circuit used in the drive circuit of a hub motor. Figure 2 . Detailed Implementation

[0060] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0061] In the description of this application, it should be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.

[0062] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation", "connection" and "joining" should be interpreted broadly, for example, they can refer to fixed connection, detachable connection, or integral connection; for those skilled in the art, the specific meaning of the above terms in this application can be understood according to the specific circumstances.

[0063] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0064] Reference Figure 1 An embodiment of this application provides a drive circuit for a hub motor, comprising:

[0065] MCU module 1;

[0066] Drive module group 2 is connected to MCU module 1; drive module group 2 includes several drive modules, the number of which is the same as the number of hub motors.

[0067] Switch module group 3 is connected to drive module group 2 and hub motor; switch module group 3 includes several switch modules, the number of which is the same as the number of drive modules.

[0068] Trigger module group 4 is connected to MCU module 1;

[0069] The power conversion module 5 is connected to the power supply equipment, MCU module 1, drive module group 2, and trigger module group 4, and is used to convert the power supply voltage provided by the power supply equipment into the voltage required by MCU module 1, drive module group 2, and trigger module group 4.

[0070] Specifically, trigger module group 4 is used to provide multiple triggering methods and send the corresponding trigger signals to MCU module 1.

[0071] MCU module 1 is the main controller. It receives the trigger signal from trigger module group 4 and generates a PWM control signal, which is then sent to the corresponding drive module. The PWM control signal is a low-voltage signal. Understandably, MCU module 1 can also perform a self-test and output an enable signal based on the self-test result. For example, during the self-test, if all modules are normal, the enable signal is high, and MCU module 1 controls the drive module and switch module accordingly based on the PWM control signal. If any module malfunctions, the enable signal is low, and MCU module 1 controls the switch module to disconnect.

[0072] The drive module group 2 is used to convert the weak electrical signal output by the MCU module into a strong electrical signal that can drive the switch module group 3, thereby controlling the on / off state of the switch module.

[0073] Switch module group 3 is used to control the on / off state of the corresponding hub motor.

[0074] Power conversion module 5 is used to convert the high voltage of the power supply equipment into the voltage required by each module. The power supply equipment can be a vehicle battery, etc., with an output high voltage such as 48V. Power conversion module 5 steps this down to the 3.3V voltage required by MCU module 1 and the 15V voltage required by the drive module. Power conversion module 5 can first convert the 48V voltage to 15V, then the 15V to 5V, and finally the 5V to 3.3V.

[0075] Optionally, the trigger module group 4 includes: an accelerator pedal trigger module, a manual trigger module, an automatic switching trigger module, and an emergency stop trigger module.

[0076] Specifically, for the accelerator pedal trigger module, the pedal position is converted into an analog voltage signal by a potentiometer. After the ADC of MCU module 1 acquires the analog voltage signal, it can calculate the throttle opening (1-100%) based on the analog voltage signal and generate the corresponding PWM duty cycle to control the speed of the hub motor.

[0077] For the manual trigger module, different speed settings can be configured according to actual needs, such as high, medium, and low speeds, and a forward / backward button can also be added. This manual trigger module can use a combination of buttons and knobs. The knob position is converted into an analog voltage signal. After the ADC of MCU module 1 acquires this analog power signal, it can calculate the knob's rotation amount and generate the corresponding PWM duty cycle to control the speed of the hub motor.

[0078] For the automatic switching trigger module, the MCU module 1 can automatically adjust the speed of each wheel hub motor according to the external signals received, such as CAN bus commands or autonomous driving system commands.

[0079] For the emergency stop trigger module, if the emergency stop button is pressed when triggered, MCU module 1 immediately shuts down all drive module outputs, the switch module is disconnected, and the hub motor mechanically brakes.

[0080] In one embodiment, such as Figure 2 As shown, the driving module includes: a first driving chip U5 and a second driving chip U7;

[0081] Pin 1 of the first driver chip U5 is connected to one end of the forty-third capacitor C43 and one end of the fifty-sixth resistor R56, respectively. The other end of the forty-third capacitor C43 is grounded; the other end of the fifty-sixth resistor R56 is connected to the power conversion module 5.

[0082] Pin 2 of the first driver chip U5 is connected to one end of the fifty-ninth resistor R59, one end of the forty-eighth capacitor C48, one end of the sixty-seventh resistor R67, and pin 3 of the second driver chip U7; the other end of the fifty-ninth resistor R59 is connected to MCU module 1.

[0083] Pin 3 of the first driver chip U5 is connected to one end of the seventy-second resistor R72, one end of the seventy-seventh resistor R77, one end of the fifty-ninth capacitor C59, and pin 2 of the second driver chip U7; the other end of the seventy-second resistor R72 is connected to the other end of the forty-eighth capacitor C48 and the other end of the fifty-ninth capacitor C59 and grounded; the other end of the seventy-seventh resistor R77 is connected to MCU module 1.

[0084] Pin 5 of the first driver chip U5 is connected to one end of the forty-ninth capacitor C49 and the cathode of the first diode D1. The anode of the first diode D1 is connected to one end of the sixty-fourth resistor R64. The other end of the sixty-fourth resistor R64 is connected to one end of the fiftieth capacitor C50, one end of the seventy-eighth resistor R78, and the power conversion module 5. The other end of the fiftieth capacitor C50 is connected to the cathode of the power supply equipment. The other end of the forty-ninth capacitor C49 is connected to pin 8 of the first driver chip U5 and is also connected to the hub motor.

[0085] Pin 6 of the first driver chip U5 is connected to one end of the sixty-second resistor R62;

[0086] Pin 7 of the first driver chip U5 is connected to one end of the 70th resistor R70; the other end of the 70th resistor R70 and the other end of the 62nd resistor R62 are connected to the switch module.

[0087] Pin 1 of the second driver chip U7 is connected to one end of the fifty-sixth capacitor C56 and the power conversion module 5 respectively; the other end of the fifty-sixth capacitor C56 is grounded.

[0088] Pin 5 of the second driver chip U7 is connected to one end of the sixty-first capacitor C61 and the other end of the seventy-eighth resistor R78; the other end of the sixty-first capacitor C61 is connected to pin 8 of the second driver chip U7 and is connected to the negative terminal of the power supply device.

[0089] Pin 6 of the second driver chip U7 is connected to one end of the seventy-fifth resistor R75;

[0090] Pin 7 of the second driver chip U7 is connected to one end of the eighty-third resistor R83; the other end of the eighty-third resistor R83 and the other end of the seventy-fifth resistor R75 are connected to the switch module.

[0091] Pin 4 of the first driver chip U5 and pin 4 of the second driver chip U7 are grounded.

[0092] In this embodiment, the first driver chip U5 and the second driver chip U7 in the driver module are used to amplify the signal, thereby amplifying the 5V PWM signal output by the MCU module into a 15V PWM signal. Other components such as capacitors and resistors are used to filter the PWM signal output by the MCU module and the amplified PWM signal.

[0093] For example, the first driver chip U5 and the second driver chip U7 can be selected from chips with the model number 1DE120N12AF.

[0094] In one embodiment, such as Figure 3 As shown, the switching module includes: a first MOSFET Q1 to a twelfth MOSFET Q12;

[0095] Pin 1 of the first MOSFET Q1 is connected to one end of the first resistor R1 and one end of the fourth capacitor C4, respectively.

[0096] Pin 3 of the first MOSFET Q1 is connected to the other end of the fourth capacitor C4, one end of the seventh resistor R7, pin 2 of the seventh MOSFET Q7, pin 2 of the eighth MOSFET Q8, pin 3 of the second MOSFET Q2, and one end of the fifth capacitor C5.

[0097] Pin 1 of the second MOSFET Q2 is connected to one end of the second resistor R2 and the other end of the fifth capacitor C5, respectively.

[0098] Pin 1 of the third MOSFET Q3 is connected to one end of the third resistor R3 and one end of the sixth capacitor C6, respectively.

[0099] Pin 3 of the third MOSFET Q3 is connected to the other end of the sixth capacitor C6, one end of the eighth resistor R8, pin 2 of the ninth MOSFET Q9, pin 2 of the tenth MOSFET Q10, pin 3 of the fourth MOSFET Q4, and one end of the seventh capacitor C7.

[0100] Pin 1 of the fourth MOSFET Q4 is connected to one end of the fourth resistor R4 and the other end of the seventh capacitor C7.

[0101] Pin 1 of the fifth MOSFET Q5 is connected to one end of the fifth resistor R5 and one end of the eighth capacitor C8, respectively.

[0102] Pin 3 of the fifth MOSFET Q5 is connected to the other end of the eighth capacitor C8, one end of the ninth resistor R9, pin 2 of the eleventh MOSFET Q11, pin 2 of the twelfth MOSFET Q12, pin 3 of the sixth MOSFET Q6, and one end of the ninth capacitor C9.

[0103] Pin 1 of the sixth MOSFET Q6 is connected to one end of the sixth resistor R6 and the other end of the ninth capacitor C9.

[0104] Pin 1 of the seventh MOSFET Q7 is connected to one end of the tenth resistor R10 and one end of the thirteenth capacitor C13, respectively.

[0105] Pin 3 of the seventh MOSFET Q7 is connected to the other end of the thirteenth capacitor C13, one end of the first current sampling resistor RS1, one end of the tenth capacitor C10, pin 3 of the eighth MOSFET Q8, and one end of the fourteenth capacitor C14; the other end of the tenth capacitor C10 is connected to one end of the first capacitor C1.

[0106] Pin 1 of the eighth MOSFET Q8 is connected to one end of the eleventh resistor R11 and the other end of the fourteenth capacitor C14.

[0107] Pin 1 of the ninth MOSFET Q9 is connected to one end of the twelfth resistor R12 and one end of the fifteenth capacitor C15, respectively.

[0108] Pin 3 of the ninth MOSFET Q9 is connected to the other end of the fifteenth capacitor C15, one end of the second current sampling resistor RS2, one end of the eleventh capacitor C11, pin 3 of the tenth MOSFET Q10, and one end of the sixteenth capacitor C16; the other end of the eleventh capacitor C11 is connected to one end of the second capacitor C2.

[0109] Pin 1 of the tenth MOSFET Q10 is connected to one end of the thirteenth resistor R13 and the other end of the sixteenth capacitor C16.

[0110] Pin 1 of the eleventh MOSFET Q11 is connected to one end of the fourteenth resistor R14 and one end of the seventeenth capacitor C17.

[0111] Pin 3 of the eleventh MOSFET Q11 is connected to the other end of the seventeenth capacitor C17, one end of the third current sampling resistor RS3, one end of the twelfth capacitor C12, pin 3 of the twelfth MOSFET Q12, and one end of the eighteenth capacitor C18; the other end of the twelfth capacitor C12 is connected to one end of the third capacitor C3.

[0112] Pin 1 of the twelfth MOSFET Q12 is connected to one end of the fifteenth resistor R15 and the other end of the eighteenth capacitor C18.

[0113] The other ends of the first current sampling resistor RS1, the second current sampling resistor RS2, and the third current sampling resistor RS3 are all connected to one end of the sixteenth resistor R16, one end of the seventeenth resistor R17, and one end of the eighteenth resistor R18.

[0114] The other ends of the first resistor R1 to the eighteenth resistor R18 are all connected to the drive module;

[0115] Pin 2 of the first MOSFET Q1, pin 2 of the second MOSFET Q2, pin 2 of the third MOSFET Q3, pin 2 of the fourth MOSFET Q4, pin 2 of the fifth MOSFET Q5, pin 2 of the sixth MOSFET Q6, and the other end of the first capacitor C1 are all connected to the positive terminal of the power supply device.

[0116] In this embodiment, the first MOSFET Q1 (upper bridge arm) and the seventh MOSFET Q7 (lower bridge arm) correspond to turning on or off the U phase of the hub motor; the third MOSFET Q3 (upper bridge arm) and the ninth MOSFET Q9 (lower bridge arm) correspond to turning on or off the V phase of the hub motor; and the fifth MOSFET Q5 (upper bridge arm) and the eleventh MOSFET Q11 (lower bridge arm) correspond to turning on or off the W phase of the hub motor. The second MOSFET Q2 and the eighth MOSFET Q8 are connected in parallel with the first MOSFET Q1 and the seventh MOSFET Q7. Figure 3 The U phase of the hub motor is connected at T8; the fourth MOSFET Q42, the tenth MOSFET Q10, the third MOSFET Q3, and the ninth MOSFET Q9 are connected in parallel. Figure 3 The V phase of the hub motor is connected at T10; the fifth MOSFET Q5, the eleventh MOSFET Q11, the sixth MOSFET Q6, and the twelfth MOSFET Q12 are connected in parallel. Figure 3 The W phase of the hub motor is connected at T12. MOSFETs are connected in parallel to shunt current, ensuring a stable output of the drive current from the drive circuit.

[0117] Understandable. Figure 2The first driver chip U5 controls the on / off state of the first MOSFET Q1 and the second MOSFET Q2, and the second driver chip U7 controls the on / off state of the seventh MOSFET Q7 and the eighth MOSFET Q8. The on / off state of each MOSFET corresponding to phase V and phase W is controlled by... Figure 2 The corresponding drive modules with the same structure are used for control, but they are not shown in the figure in this application.

[0118] By collecting the current at the first current sampling resistor RS1, the second current sampling resistor RS2, and the third current sampling resistor RS3 respectively, the rotational speed of each phase of the hub motor can be determined. Combined with the rotational speed of the Hall sensor, closed-loop control of the rotational speed of each phase of the hub motor can be completed.

[0119] R7, R16, R8, R17, R9, and R18 are pull-down resistors.

[0120] The resistors R1, R2, etc., at the front end of the MOSFETs are used for current limiting to prevent damage to the corresponding MOSFETs. The resistors and capacitors connected to pins 1 and 3 of each MOSFET form an LC filter, which is used to filter the PWM wave input to the MOSFET.

[0121] For example, each MOSFET can be of model IRLB4030PBF.

[0122] In one embodiment, the drive circuit for the hub motor further includes a Hall sensor 6, which is disposed on the hub motor and electrically connected to the MCU module 1.

[0123] Specifically, Hall sensor 6 is used to measure the speed and other related parameters of the hub motor and send them to MCU module 1. MCU module 1 uses the speed and other parameters in conjunction with the FOC control algorithm to achieve closed-loop control. In essence, a Hall sensor 6 is installed at 120° electrical angles on the motor stator to collect the speed of the three phases of the motor and output three Hall signals, where the Hall signals are square waves.

[0124] In one embodiment, the drive circuit for the hub motor further includes a shaping module 11, which is connected between the Hall sensor 6 and the MCU module 1.

[0125] Specifically, the shaping module 11 is used to filter and shape the edges of the Hall signal to improve its anti-interference capability. For example, it can employ methods such as... Figure 4 The shaping module 11 shown is acceptable. It is understood that other existing shaping modules 11 can also be used, as long as they can filter and shape the edges of the Hall signal.

[0126] It is also understandable that, to avoid situations such as loss of control or hardware damage due to the failure of Hall sensor 6, an auxiliary protection module can be added to the shaping module 11. For example, a protection module can be added to the shaping module 11. Figure 4 In the shaping module 11 shown, pins 3 of U7A, U9A, and U10A are respectively connected as follows: Figure 5 The auxiliary protection module shown can also be used in, for example... Figure 4 The connections at HALL_1_U1, HALL_1_V1, and HALL_1_W1 in the shaping module 11 shown are as follows: Figure 6 The auxiliary protection module shown can also be connected to the above-mentioned modules simultaneously. Figure 5 and Figure 6 The auxiliary protection module shown is understandable. Figure 5 and Figure 6 The auxiliary protection module shown can also use other existing auxiliary protection modules.

[0127] In one embodiment, the drive circuit for the hub motor further includes a current acquisition group 8, which acquires the current of the first current sampling resistor RS1, the second current sampling resistor RS2, and the third current sampling resistor RS3, respectively. The current acquisition group 8 is connected to the MCU module 1.

[0128] It also includes a voltage acquisition unit 9, which acquires the voltage at the output end of the power supply equipment. The voltage acquisition unit 9 is connected to the MCU module 1.

[0129] It also includes a temperature sensor 10, which collects the temperature of the switch module, and the temperature sensor 10 is connected to the MCU module 1.

[0130] Specifically, the acquired current, voltage, and temperature data can be used to determine the value of the enable signal issued by MCU module 1. Understandably, MCU module 1 stores corresponding current thresholds, voltage thresholds, and temperature thresholds for current limiting, overvoltage, and overtemperature protection. These thresholds can be set in multiple levels according to actual needs. Taking the current threshold as an example, for instance, a first current threshold and a second current threshold can be set, where the first current threshold is less than the second current threshold. When the acquired current is less than or equal to the first current threshold, MCU module 1 outputs a normal control signal; when the acquired current is greater than the first current threshold but less than the second current threshold, MCU module 1 adjusts the output control signal to make the current less than the first current threshold; when the acquired current is greater than or equal to the second current threshold, MCU module 1 sends a control signal to control the switch module to disconnect.

[0131] In one embodiment, the drive circuit for the hub motor further includes a communication module 7, which is connected to the MCU module 1, and the MCU module 1 communicates with the host computer through the communication module 7.

[0132] Specifically, communication module 7 is used for communication between MCU module 1 and the host computer, enabling data interaction between the two. The host computer can be a control center, vehicle controller, handheld terminal, etc.

[0133] MCU module 1 can transmit the collected current, voltage, temperature, and other data to the host computer via communication module 7. The host computer can send commands to MCU module 1 via communication module 7, such as target speed and emergency stop signals. After parsing, MCU module 1 adjusts the PWM control signal output.

[0134] The communication module 7 communicates with the host computer, enabling remote configuration and real-time monitoring of data.

[0135] The control method for the drive circuit of the hub motor described in the above embodiments includes:

[0136] MCU module 1 receives the trigger signal sent by trigger module group 4;

[0137] If the trigger signal is not an emergency stop signal, MCU module 1 sends a control signal and an enable signal to drive module group 2; the control signal is generated based on the trigger signal.

[0138] Drive module group 2 sends drive signals to switch module group 3 according to control signals and enable signals to control the switching of switch module group 3, thereby controlling the hub motor to rotate or stop rotating.

[0139] Specifically, the trigger signals include emergency stop signals and non-emergency stop signals. Non-emergency stop signals include manual forward / backward signals, automatic forward / backward signals, etc.

[0140] The control signal is a PWM signal generated based on the trigger signal. The enable signal is the signal output by MCU module 1 based on the self-test result.

[0141] If the trigger signal is a non-emergency stop signal and the enable signal is high, the switching module is turned on and off according to the control signal to control the speed of the hub motor.

[0142] If the trigger signal is an emergency stop signal, the control switch module will be turned off to stop the hub motor from rotating.

[0143] If MCU module 1 collects data such as current, voltage, temperature, and Hall signals, the control signal issued by MCU module 1 needs to be comprehensively determined in combination with the current, voltage, temperature, and Hall signals. This has been described in the above embodiments and will not be elaborated on here.

[0144] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A drive circuit for a hub motor, characterized in that, include: MCU module (1); The drive module group (2) is connected to the MCU module (1); the drive module group (2) includes several drive modules, and the number of drive modules is the same as the number of hub motors; A switch module group (3) is connected to the drive module group (2) and the hub motor; the switch module group (3) includes a plurality of switch modules, the number of which is the same as the number of drive modules; Trigger module group (4) is connected to the MCU module (1); Temperature sensor (10) collects the temperature of the switch module, and the temperature sensor (10) is connected to the MCU module (1); The power conversion module (5) is connected to the power supply equipment, the MCU module (1), the drive module group (2), and the trigger module group (4), and is used to convert the power supply voltage provided by the power supply equipment into the voltage required by the MCU module (1), the drive module group (2), and the trigger module group (4).

2. The drive circuit for a hub motor according to claim 1, characterized in that, The driving module includes: a first driving chip and a second driving chip; Pin 1 of the first driver chip is connected to one end of the forty-third capacitor and one end of the fifty-sixth resistor, respectively. The other end of the forty-third capacitor is grounded. The other end of the fifty-sixth resistor is connected to the power conversion module (5). Pin 2 of the first driver chip is connected to one end of the fifty-ninth resistor, one end of the forty-eighth capacitor, one end of the sixty-seventh resistor, and pin 3 of the second driver chip, respectively; the other end of the fifty-ninth resistor is connected to the MCU module (1); Pin 3 of the first driver chip is connected to one end of the seventy-second resistor, one end of the seventy-seventh resistor, one end of the fifty-ninth capacitor, and pin 2 of the second driver chip, respectively; the other end of the seventy-second resistor is connected to the other end of the forty-eighth capacitor and the other end of the fifty-ninth capacitor and grounded; the other end of the seventy-seventh resistor is connected to the MCU module (1); Pin 5 of the first driver chip is connected to one end of the forty-ninth capacitor and the negative terminal of the first diode. The positive terminal of the first diode is connected to one end of the sixty-fourth resistor. The other end of the sixty-fourth resistor is connected to one end of the fiftieth capacitor, one end of the seventy-eighth resistor, and the power conversion module (5). The other end of the fiftieth capacitor is connected to the negative terminal of the power supply device. The other end of the forty-ninth capacitor is connected to pin 8 of the first driver chip and to the hub motor. Pin 6 of the first driver chip is connected to one end of the sixty-second resistor; Pin 7 of the first driver chip is connected to one end of the 70th resistor; the other end of the 70th resistor and the other end of the 62nd resistor are connected to the switch module. Pin 1 of the second driving chip is connected to one end of the fifty-sixth capacitor and the power conversion module (5); the other end of the fifty-sixth capacitor is grounded. Pin 5 of the second driver chip is connected to one end of the sixty-first capacitor and the other end of the seventy-eighth resistor, respectively; the other end of the sixty-first capacitor is connected to pin 8 of the second driver chip and is connected to the negative terminal of the power supply device. Pin 6 of the second driver chip is connected to one end of the seventy-fifth resistor; Pin 7 of the second driver chip is connected to one end of the 83rd resistor; the other end of the 83rd resistor and the other end of the 75th resistor are connected to the switch module. Pin 4 of the first driver chip and pin 4 of the second driver chip are grounded.

3. The drive circuit for a hub motor according to claim 1, characterized in that, The switching module includes: a first MOSFET to a twelfth MOSFET; Pin 1 of the first MOS transistor is connected to one end of the first resistor and one end of the fourth capacitor, respectively. The third pin of the first MOSFET is connected to the other end of the fourth capacitor, one end of the seventh resistor, the second pin of the seventh MOSFET, the second pin of the eighth MOSFET, the third pin of the second MOSFET, and one end of the fifth capacitor, respectively. Pin 1 of the second MOS transistor is connected to one end of the second resistor and the other end of the fifth capacitor, respectively. Pin 1 of the third MOS transistor is connected to one end of the third resistor and one end of the sixth capacitor, respectively. The third MOS transistor's pin 3 is connected to the other end of the sixth capacitor, one end of the eighth resistor, pin 2 of the ninth MOS transistor, pin 2 of the tenth MOS transistor, pin 3 of the fourth MOS transistor, and one end of the seventh capacitor, respectively. Pin 1 of the fourth MOS transistor is connected to one end of the fourth resistor and the other end of the seventh capacitor, respectively. Pin 1 of the fifth MOS transistor is connected to one end of the fifth resistor and one end of the eighth capacitor, respectively. The third pin of the fifth MOSFET is connected to the other end of the eighth capacitor, one end of the ninth resistor, the second pin of the eleventh MOSFET, the second pin of the twelfth MOSFET, the third pin of the sixth MOSFET, and one end of the ninth capacitor, respectively. Pin 1 of the sixth MOS transistor is connected to one end of the sixth resistor and the other end of the ninth capacitor, respectively. Pin 1 of the seventh MOS transistor is connected to one end of the tenth resistor and one end of the thirteenth capacitor, respectively. Pin 3 of the seventh MOS transistor is connected to the other end of the thirteenth capacitor, one end of the first current sampling resistor, one end of the tenth capacitor, pin 3 of the eighth MOS transistor, and one end of the fourteenth capacitor; the other end of the tenth capacitor is connected to one end of the first capacitor. Pin 1 of the eighth MOS transistor is connected to one end of the eleventh resistor and the other end of the fourteenth capacitor, respectively. Pin 1 of the ninth MOS transistor is connected to one end of the twelfth resistor and one end of the fifteenth capacitor, respectively. Pin 3 of the ninth MOS transistor is connected to the other end of the fifteenth capacitor, one end of the second current sampling resistor, one end of the eleventh capacitor, pin 3 of the tenth MOS transistor, and one end of the sixteenth capacitor; the other end of the eleventh capacitor is connected to one end of the second capacitor. Pin 1 of the tenth MOS transistor is connected to one end of the thirteenth resistor and the other end of the sixteenth capacitor. Pin 1 of the eleventh MOS transistor is connected to one end of the fourteenth resistor and one end of the seventeenth capacitor, respectively. Pin 3 of the eleventh MOS transistor is connected to the other end of the seventeenth capacitor, one end of the third current sampling resistor, one end of the twelfth capacitor, pin 3 of the twelfth MOS transistor, and one end of the eighteenth capacitor; the other end of the twelfth capacitor is connected to one end of the third capacitor. Pin 1 of the twelfth MOS transistor is connected to one end of the fifteenth resistor and the other end of the eighteenth capacitor. The other end of the first current sampling resistor, the other end of the second current sampling resistor, and the other end of the third current sampling resistor are all connected to one end of the sixteenth resistor, one end of the seventeenth resistor, and one end of the eighteenth resistor; The other end of the first resistor to the other end of the eighteenth resistor are all connected to the driving module; Pin 2 of the first MOSFET, pin 2 of the second MOSFET, pin 2 of the third MOSFET, pin 2 of the fourth MOSFET, pin 2 of the fifth MOSFET, pin 2 of the sixth MOSFET, and the other end of the first capacitor are all connected to the positive terminal of the power supply device.

4. The drive circuit for a hub motor according to claim 1, characterized in that, The trigger module group (4) includes: accelerator pedal trigger module, manual trigger module, automatic switching trigger module and emergency stop trigger module.

5. The drive circuit for a hub motor according to claim 1, characterized in that, Also includes: Hall sensor (6) is mounted on the hub motor and is electrically connected to the MCU module (1).

6. The drive circuit for a hub motor according to claim 1, characterized in that, Also includes: The communication module (7) is connected to the MCU module (1), and the MCU module (1) communicates with the host computer through the communication module (7).

7. The drive circuit for a hub motor according to claim 3, characterized in that, It also includes a current acquisition group (8) to acquire the current of the first current sampling resistor, the second current sampling resistor and the third current sampling resistor respectively. The current acquisition group (8) is connected to the MCU module (1).

8. The drive circuit for a hub motor according to claim 1, characterized in that, It also includes a voltage acquisition unit (9) to acquire the voltage at the output end of the power supply equipment, and the voltage acquisition unit (9) is connected to the MCU module (1).

9. The drive circuit for a hub motor according to claim 5, characterized in that, Also includes: Shaping module (11) is connected between the Hall sensor (6) and the MCU module (1).