A speed control circuit for a hub motor

By designing a speed control circuit for a hub motor and utilizing temperature detection and a multi-drive module to automatically adjust the speed, the safety hazard of hub motor overheating was resolved, intelligent temperature difference control was achieved, and safety was improved.

CN224959584UActive Publication Date: 2026-11-10HESHAN MINQIANG HARDWARE ELECTROMECHANICAL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202521741689.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-08-15
Publication Date
2026-11-10
Estimated Expiration
2035-08-15

AI Technical Summary

Technical Problem

Existing hub motors cannot intelligently reduce speed when overheating, posing a safety hazard.

Method used

Design a speed control circuit for a hub motor, including a power supply module, a hub motor module, a temperature detection module, and a multi-drive module. The temperature detection module detects the temperature signal and calculates the temperature difference, and the multi-drive module adjusts the power distribution to automatically adjust the speed of the hub motor.

Benefits of technology

The safety of the hub motor has been improved by automatically adjusting the speed through temperature difference signals to avoid overheating damage and enhance safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224959584U_ABST
    Figure CN224959584U_ABST
Patent Text Reader

Abstract

This utility model discloses a speed control circuit for a hub motor, relating to the field of hub motor technology. It includes a power supply module that provides electrical energy, a hub motor module that performs three-phase inverter regulation and drives the hub motor, controlling its speed. The hub motor module receives a temperature signal output from a temperature detection module. When backup speed adjustment control based on temperature is needed, the temperature detection module calculates the temperature difference between the temperature signal and a set temperature threshold. A multi-channel drive module processes the temperature difference signal output from the temperature detection module and automatically adjusts the hub motor speed based on the voltage magnitude of the temperature difference signal. This hub motor speed control circuit improves the safety of hub motors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of hub motor technology, specifically a speed control circuit for a hub motor. Background Technology

[0002] In-wheel motors are a type of motor technology that integrates the power system, transmission device, and braking function inside the wheel. They can directly drive the wheel to rotate. The main controller, composed of an MCU, controls the inverter operation of a three-phase inverter to provide driving power to the in-wheel motor, thus driving the motor to rotate. At the same time, the speed of the in-wheel motor is regulated by adjusting the operating state of the three-phase inverter. In addition, some main controllers can also intelligently adjust the speed of the in-wheel motor based on its temperature. However, when the main controller overheats, it cannot intelligently reduce the temperature of the in-wheel motor, which will lead to damage to the in-wheel motor and pose a certain safety hazard. Therefore, this aspect needs to be improved. Utility Model Content

[0003] This utility model provides a speed control circuit for a hub motor to solve the problems mentioned in the background art.

[0004] To achieve the above objectives, this utility model provides the following technical solution:

[0005] A speed control circuit for a hub motor includes: a power supply module, a hub motor module, a power control module, a temperature detection module, and a multi-channel drive module.

[0006] The power module is used to provide DC power, perform multi-channel voltage regulation on the DC power, and output the first power, the second power, the third power, and the fourth power.

[0007] The hub motor module, connected to the power supply module and the temperature detection module, is used to perform three-phase inverter processing of DC power. It receives the first, second, third, and fourth electrical energy and transmits the inverter-processed electrical energy to the connected hub motor, controls the speed of the hub motor, receives the temperature signal output by the temperature detection module, and outputs a control signal when backup speed regulation control based on temperature is required.

[0008] The power control module, connected to the power module, hub motor module and temperature detection module, is used to control the temperature detection module to perform temperature difference detection when receiving control signals.

[0009] The temperature detection module, connected to the power supply module, is used to receive the fourth electrical energy and perform temperature detection, output a temperature signal, set a temperature threshold and calculate the temperature difference between the temperature signal and the temperature threshold, and output a temperature difference signal.

[0010] The multi-drive module, connected to the hub motor module and the temperature detection module, is used to process the temperature difference signal in multiple channels and synchronously and in isolation adjust the voltage values ​​of the first, second, and third electrical energies received by the hub motor module to adjust the speed of the hub motor.

[0011] As a further embodiment of this utility model: the power module includes a battery pack, a first capacitor, a first voltage regulator, a second voltage regulator, a third voltage regulator, a fourth voltage regulator, a first resistor, a second resistor, and a third resistor;

[0012] Preferably, the first terminal of the battery pack is connected to the IN terminal of the first voltage regulator, the IN terminal of the second voltage regulator, the IN terminal of the third voltage regulator, and the IN terminal of the fourth voltage regulator, and is connected to the second terminal of the battery pack, the GND terminal of the first voltage regulator, the GND terminal of the second voltage regulator, the GND terminal of the third voltage regulator, and the GND terminal of the fourth voltage regulator through the first capacitor. The OUT terminals of the first voltage regulator, the second voltage regulator, and the third voltage regulator are respectively connected to the first terminal of the first resistor, the first terminal of the second resistor, and the first terminal of the third resistor. The OUT terminal of the fourth voltage regulator is connected to the voltage regulation detection module.

[0013] As a further embodiment of this utility model: the hub motor module includes a first inverter, a first thyristor, a second thyristor, a main controller, a third thyristor, and a hub motor interface;

[0014] Preferably, the first and second terminals of the first inverter are connected to the first and second terminals of the battery pack, respectively; the third, fourth, and fifth terminals of the first inverter are connected to one end of the first, second, and third thyristors, respectively; the other ends of the first, second, and third thyristors are connected to the first, second, and third terminals of the hub motor interface, respectively; the control terminals of the first, second, and third thyristors are connected to the second terminals of the first, second, and third resistors, respectively; and the sixth terminal of the first inverter is connected to the drive terminal of the main controller.

[0015] As a further embodiment of this utility model: the power control module includes a first power transistor, a fourth resistor, and a first switching transistor;

[0016] Preferably, the source of the first power transistor is connected to the OUT terminal of the fourth voltage regulator and connected to the gate of the first power transistor and the collector of the first switching transistor through the fourth resistor. The emitter of the first switching transistor is grounded, the base of the first switching transistor is connected to the control terminal of the main controller, and the drain of the first power transistor is connected to the temperature detection module.

[0017] As a further embodiment of this utility model: the multi-channel drive module includes a first optocoupler, a second optocoupler, a third optocoupler, a first operational amplifier, a second operational amplifier, a third operational amplifier, and a fourth operational amplifier;

[0018] Preferably, the first end of the first optocoupler is connected to the output and inverting input of the fourth operational amplifier; the first end of the second optocoupler is connected to the output and inverting input of the first operational amplifier; the first end of the third optocoupler is connected to the output and inverting input of the second operational amplifier; the second ends of the first, second, and third optocouplers are all grounded; the third ends of the first, second, and third optocouplers are respectively connected to the second ends of the first, second, and third resistors; the fourth ends of the first, second, and third optocouplers are all grounded; the non-inverting input of the fourth operational amplifier is connected to the non-inverting inputs of the first, second, and third operational amplifiers, as well as the output and inverting input of the third operational amplifier; and the non-inverting input of the third operational amplifier is connected to the temperature detection module.

[0019] As a further embodiment of this utility model: the temperature detection module includes a first thermistor, a seventh resistor, a ninth resistor, a tenth resistor, a sixth resistor, a fifth resistor, a first reference power supply, a fifth operational amplifier, and an eighth resistor;

[0020] Preferably, one end of the first thermistor is connected to the GND terminal of the fourth voltage regulator and the source of the first power transistor. The drain of the first power transistor is connected to the power supply terminal of the fifth operational amplifier. The other end of the first thermistor is connected to the receiving terminal of the main controller and one end of the seventh resistor, and is connected to one end of the tenth resistor and the non-inverting input of the fifth operational amplifier through the ninth resistor. The inverting input of the fifth operational amplifier is connected to one end of the fifth resistor and is connected to the first reference power supply through the sixth resistor. The ground terminal of the fifth operational amplifier is grounded. The output terminal of the fifth operational amplifier is connected to the other end of the fifth resistor and is connected to the non-inverting input of the third operational amplifier through the eighth resistor. The other end of the tenth resistor is connected to the other end of the seventh resistor and the ground terminal.

[0021] Compared with the prior art, the beneficial effects of this utility model are as follows: The speed control circuit of the hub motor of this utility model can be powered by a power supply module. The hub motor module performs three-phase inverter regulation and drives the hub motor to work, controlling the speed of the hub motor. The hub motor module receives the temperature signal output by the temperature detection module. When it is necessary to adjust the speed according to the temperature, the temperature detection module can calculate the temperature difference between the temperature signal and the set temperature threshold. The multi-channel drive module performs branch processing on the temperature difference signal output by the temperature detection module and automatically adjusts the speed of the hub motor according to the voltage magnitude of the temperature difference signal, thereby improving the safety of the hub motor. Attached Figure Description

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

[0023] Figure 1 This is a schematic block diagram of the speed control circuit for a hub motor provided as an example of the present invention.

[0024] Figure 2 A circuit diagram of a speed control circuit for a hub motor provided as an example of this utility model.

[0025] Figure 3 A connection circuit diagram of the temperature detection module provided for this utility model embodiment. Detailed Implementation

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

[0027] In one embodiment, see Figure 1 A speed control circuit for a hub motor includes: a power supply module 1, a hub motor module 2, a power control module 3, a temperature detection module 4, and a multi-channel drive module 5.

[0028] Specifically, power module 1 is used to provide DC power, perform multi-channel voltage regulation on the DC power and output first power, second power, third power and fourth power;

[0029] The hub motor module 2 is connected to the power supply module 1 and the temperature detection module 4. It is used to perform three-phase inverter processing on DC power, receive the first power, the second power, the third power and the fourth power, and transmit the inverter-processed power to the connected hub motor, control the speed of the hub motor, receive the temperature signal output by the temperature detection module 4, and output a control signal when backup speed regulation control based on temperature is required.

[0030] The power control module 3 is connected to the power module, the hub motor module 2 and the temperature detection module 4, and is used to control the temperature detection module 4 to perform temperature difference detection when receiving control signals.

[0031] Temperature detection module 4 is connected to power module 1. It is used to receive the fourth electrical energy and perform temperature detection, output a temperature signal, set a temperature threshold and calculate the temperature difference between the temperature signal and the temperature threshold, and output a temperature difference signal.

[0032] The multi-drive module 5 is connected to the hub motor module 2 and the temperature detection module 4. It is used to process the temperature difference signal in multiple channels and synchronously and in isolation adjust the voltage values ​​of the first electrical energy, the second electrical energy and the third electrical energy received by the hub motor module 2 to adjust the speed of the hub motor.

[0033] In a specific embodiment, the power module 1 can be a power circuit composed of a battery pack, a voltage regulator, and resistors, which can provide DC power and perform multi-channel voltage regulation on the DC power; the hub motor module 2 can be a hub motor circuit composed of a three-phase inverter, a silicon controlled rectifier (SCR), a hub motor interface, and a main controller, which can perform three-phase inverter regulation and power transmission control, drive the connected hub motor, and regulate the speed of the hub motor; the power control module 3 can be a power control circuit composed of a field-effect transistor, a resistor, and a transistor, which can control the power transmission state and provide power to the temperature detection module 4; the temperature detection module 4 can be a temperature detection circuit composed of a thermistor, a resistor, and an operational amplifier, which can perform temperature detection, set a temperature threshold, and calculate the temperature difference with the detected temperature signal; the multi-channel drive module 5 can be a multi-channel drive circuit composed of an operational amplifier and an optocoupler, which can synchronously control the signal output by the temperature detection module 4, isolate and regulate the power input to the hub motor module 2, and regulate the speed of the hub motor module 2.

[0034] In another embodiment, please refer to Figure 1 , Figure 2 and Figure 3 The power module 1 includes a battery pack, a first capacitor C1, a first voltage regulator IC1, a second voltage regulator IC2, a third voltage regulator IC3, a fourth voltage regulator IC4, a first resistor R1, a second resistor R2, and a third resistor R3.

[0035] Specifically, the first terminal of the battery pack is connected to the IN terminal of the first voltage regulator IC1, the IN terminal of the second voltage regulator IC2, the IN terminal of the third voltage regulator IC3, and the IN terminal of the fourth voltage regulator IC4, and is connected to the second terminal of the battery pack, the GND terminal of the first voltage regulator IC1, the GND terminal of the second voltage regulator IC2, the GND terminal of the third voltage regulator IC3, and the GND terminal of the fourth voltage regulator IC4 through the first capacitor C1. The OUT terminals of the first voltage regulator IC1, the second voltage regulator IC2, and the third voltage regulator IC3 are respectively connected to the first terminal of the first resistor R1, the first terminal of the second resistor R2, and the first terminal of the third resistor R3. The OUT terminal of the fourth voltage regulator IC4 is connected to the voltage regulation detection module.

[0036] In a specific embodiment, the first voltage regulator IC1, the second voltage regulator IC2 and the third voltage regulator IC3 can all be selected from 7805 voltage regulators; the fourth voltage regulator IC4 can be selected from LM317 voltage regulators.

[0037] Furthermore, the hub motor module 2 includes a first inverter T1, a first thyristor S1, a second thyristor S2, a main controller, a third thyristor S3, and a hub motor interface;

[0038] Specifically, the first and second terminals of the first inverter T1 are connected to the first and second terminals of the battery pack, respectively. The third, fourth, and fifth terminals of the first inverter T1 are connected to one terminal of the first thyristor S1, one terminal of the second thyristor S2, and one terminal of the third thyristor S3, respectively. The other terminals of the first thyristor S1, the second thyristor S2, and the third thyristor S3 are connected to the first, second, and third terminals of the hub motor interface, respectively. The control terminals of the first thyristor S1, the second thyristor S2, and the third thyristor S3 are connected to the second terminals of the first resistor R1, the second resistor R2, and the third resistor R3, respectively. The sixth terminal of the first inverter T1 is connected to the drive terminal of the main controller.

[0039] In a specific embodiment, the first inverter T1 can be composed of six IGBTs for three-phase inverter operation; the first thyristor S1, the second thyristor S2, and the third thyristor S3 can all be bidirectional thyristors for power transmission control; the main controller can be an MCU controller, which integrates many components such as an arithmetic unit, a controller, a memory, and input / output devices to realize functions such as signal processing, data storage, module control, and timing control.

[0040] Furthermore, the power control module 3 includes a first power transistor Q1, a fourth resistor R4, and a first switching transistor V1;

[0041] Specifically, the source of the first power transistor Q1 is connected to the OUT terminal of the fourth voltage regulator IC4 and is connected to the gate of the first power transistor Q1 and the collector of the first switching transistor V1 through the fourth resistor R4. The emitter of the first switching transistor V1 is grounded, the base of the first switching transistor V1 is connected to the control terminal of the main controller, and the drain of the first power transistor Q1 is connected to the temperature detection module 4.

[0042] In a specific embodiment, the first power transistor Q1 can be a P-channel MOSFET; the first switching transistor V1 can be an NPN transistor.

[0043] Furthermore, the multi-channel drive module 5 includes a first optocoupler J1, a second optocoupler J2, a third optocoupler J3, a first operational amplifier OP1, a second operational amplifier OP2, a third operational amplifier OP3, and a fourth operational amplifier OP4;

[0044] Specifically, the first terminal of the first optocoupler J1 is connected to the output terminal and the inverting terminal of the fourth operational amplifier OP4; the first terminal of the second optocoupler J2 is connected to the output terminal and the inverting terminal of the first operational amplifier OP1; the first terminal of the third optocoupler J3 is connected to the output terminal and the inverting terminal of the second operational amplifier OP2; the second terminals of the first optocoupler J1, the second optocoupler J2, and the third optocoupler J3 are all grounded; the third terminals of the first optocoupler J1, the second optocoupler J2, and the third optocoupler J3 are respectively connected to the second terminals of the first resistor R1, the second resistor R2, and the third resistor R3; the fourth terminals of the first optocoupler J1, the second optocoupler J2, and the third optocoupler J3 are all grounded; the non-inverting terminal of the fourth operational amplifier OP4 is connected to the non-inverting terminals of the first operational amplifier OP1, the second operational amplifier OP2, and the third operational amplifier OP3, and the inverting terminal; the non-inverting terminal of the third operational amplifier OP3 is connected to the temperature detection module 4.

[0045] In a specific embodiment, the first optocoupler J1, the second optocoupler J2, and the third optocoupler J3 can all be PC817 optocouplers; the first operational amplifier OP1, the second operational amplifier OP2, the third operational amplifier OP3, and the fourth operational amplifier OP4 can all be OP07 operational amplifiers for voltage following operation.

[0046] Furthermore, the temperature detection module 4 includes a first thermistor NTC1, a seventh resistor R7, a ninth resistor R9, a tenth resistor R10, a sixth resistor R6, a fifth resistor R5, a first reference power supply VF1, a fifth operational amplifier OP5, and an eighth resistor R8.

[0047] Specifically, one end of the first thermistor NTC1 is connected to the GND terminal of the fourth voltage regulator IC4 and the source of the first power transistor Q1. The drain of the first power transistor Q1 is connected to the power supply terminal of the fifth operational amplifier OP5. The other end of the first thermistor NTC1 is connected to the receiving terminal of the main controller and one end of the seventh resistor R7, and through the ninth resistor R9, it is connected to one end of the tenth resistor R10 and the non-inverting input of the fifth operational amplifier OP5. The inverting input of the fifth operational amplifier OP5 is connected to one end of the fifth resistor R5, and through the sixth resistor R6, it is connected to the first reference power supply VF1. The ground terminal of the fifth operational amplifier OP5 is grounded. The output terminal of the fifth operational amplifier OP5 is connected to the other end of the fifth resistor R5, and through the eighth resistor R8, it is connected to the non-inverting input of the third operational amplifier OP3. The other end of the tenth resistor R10 is connected to the other end of the seventh resistor R7 and the ground terminal.

[0048] In a specific embodiment, the first thermistor NTC1 can be a thermistor with a negative temperature coefficient; the fifth operational amplifier OP5 can be an OP07 operational amplifier, which, together with the ninth resistor R9, the tenth resistor R10, the sixth resistor R6 and the fifth resistor R5, performs subtraction calculations; the first reference power supply VF1 provides a temperature threshold, which is set according to the temperature requirements of the hub motor.

[0049] In this embodiment, a speed control circuit for a hub motor uses a battery pack to provide DC power. A first voltage regulator IC1, a second voltage regulator IC2, a third voltage regulator IC3, and a fourth voltage regulator IC4 perform voltage regulation and output first, second, third, and fourth electrical energies, respectively. These first, second, and third electrical energies control the conduction of a first thyristor S1, a second thyristor S2, and a third thyristor S3, respectively. The main controller drives a first inverter T1 to perform three-phase inversion of the DC power. The processed power is then transmitted through the first thyristor S1, the second thyristor S2, and the third thyristor S3 to the hub motor connected to the hub motor interface, adjusting the hub motor's speed. A first thermistor NTC1 and a seventh resistor R7 detect the temperature, and the detected signal is received by the main controller's receiver. The speed is adjusted according to the temperature... When performing standby speed control, the main controller outputs a high level, controlling the first switching transistor V1 to conduct, the first power transistor Q1 to conduct, and the fifth operational amplifier OP5 to be powered on and work. In conjunction with the ninth resistor R9, the tenth resistor R10, the fifth resistor R5, and the sixth resistor R6, the temperature difference between the detected temperature signal and the temperature threshold set by the first reference power supply VF1 is calculated. This causes the signal output by the fifth operational amplifier OP5 to be transmitted through the eighth resistor R8. The third operational amplifier OP3, the second operational amplifier OP2, the first operational amplifier OP1, and the fourth operational amplifier OP4 are processed by the circuit and synchronously drive the first optocoupler J1, the second optocoupler J2, and the third optocoupler J3 to conduct. This, in turn, adjusts the conduction state of the first thyristor S1, the second thyristor S2, and the third thyristor S3, reducing the speed of the hub motor. The greater the temperature difference, the lower the speed of the hub motor.

[0050] It will be apparent to those skilled in the art that this invention is not limited to the details of the exemplary embodiments described above, and that it can be implemented in other specific forms without departing from the spirit or essential characteristics of this invention. Therefore, the embodiments should be considered illustrative and non-limiting in all respects, and the scope of this invention is defined by the appended claims rather than the foregoing description. Thus, it is intended that all variations falling within the meaning and scope of equivalents of the claims be included within this invention. No reference numerals in the claims should be construed as limiting the scope of the claims.

[0051] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.

Claims

1. A speed control circuit for a hub motor, characterized in that, The speed control circuit of the hub motor includes: a power module, a hub motor module, a power control module, a temperature detection module, and a multi-drive module; The power module is used to provide DC power, perform multi-channel voltage regulation on the DC power, and output first power, second power, third power and fourth power. The hub motor module is connected to the power supply module and the temperature detection module. It is used to perform three-phase inverter processing on DC power, receive the first power, the second power, the third power and the fourth power and transmit the inverter-processed power to the connected hub motor, control the speed of the hub motor, receive the temperature signal output by the temperature detection module, and output a control signal when backup speed regulation control based on temperature is required. The power control module is connected to the power module, the hub motor module and the temperature detection module, and is used to control the temperature detection module to perform temperature difference detection when receiving a control signal. The temperature detection module is connected to the power supply module and is used to receive the fourth electrical energy and perform temperature detection, output a temperature signal, set a temperature threshold and calculate the temperature difference between the temperature signal and the temperature threshold, and output a temperature difference signal. The multi-drive module is connected to the hub motor module and the temperature detection module. It is used to process the temperature difference signal in multiple channels and synchronously and in isolation adjust the voltage values ​​of the first electrical energy, the second electrical energy and the third electrical energy received by the hub motor module to adjust the speed of the hub motor.

2. The speed control circuit for a hub motor according to claim 1, characterized in that, The power module includes a battery pack, a first capacitor, a first voltage regulator, a second voltage regulator, a third voltage regulator, a fourth voltage regulator, a first resistor, a second resistor, and a third resistor; The first terminal of the battery pack is connected to the IN terminal of the first voltage regulator, the IN terminal of the second voltage regulator, the IN terminal of the third voltage regulator, and the IN terminal of the fourth voltage regulator, and is connected to the second terminal of the battery pack, the GND terminal of the first voltage regulator, the GND terminal of the second voltage regulator, the GND terminal of the third voltage regulator, and the GND terminal of the fourth voltage regulator through the first capacitor. The OUT terminals of the first voltage regulator, the second voltage regulator, and the third voltage regulator are respectively connected to the first terminal of the first resistor, the first terminal of the second resistor, and the first terminal of the third resistor. The OUT terminal of the fourth voltage regulator is connected to the voltage regulation detection module.

3. The speed control circuit for a hub motor according to claim 2, characterized in that, The hub motor module includes a first inverter, a first thyristor, a second thyristor, a main controller, a third thyristor, and a hub motor interface; The first and second terminals of the first inverter are respectively connected to the first and second terminals of the battery pack. The third, fourth, and fifth terminals of the first inverter are respectively connected to one end of the first, second, and third thyristors. The other ends of the first, second, and third thyristors are respectively connected to the first, second, and third terminals of the hub motor interface. The control terminals of the first, second, and third thyristors are respectively connected to the second terminals of the first, second, and third resistors. The sixth terminal of the first inverter is connected to the drive terminal of the main controller.

4. The speed control circuit for a hub motor according to claim 3, characterized in that, The power control module includes a first power transistor, a fourth resistor, and a first switching transistor; The source of the first power transistor is connected to the OUT terminal of the fourth voltage regulator and is connected to the gate of the first power transistor and the collector of the first switching transistor through the fourth resistor. The emitter of the first switching transistor is grounded, the base of the first switching transistor is connected to the control terminal of the main controller, and the drain of the first power transistor is connected to the temperature detection module.

5. The speed control circuit for a hub motor according to claim 4, characterized in that, The multi-channel drive module includes a first optocoupler, a second optocoupler, a third optocoupler, a first operational amplifier, a second operational amplifier, a third operational amplifier, and a fourth operational amplifier; The first end of the first optocoupler is connected to the output and inverting input of the fourth operational amplifier. The first end of the second optocoupler is connected to the output and inverting input of the first operational amplifier. The first end of the third optocoupler is connected to the output and inverting input of the second operational amplifier. The second ends of the first, second, and third optocouplers are all grounded. The third ends of the first, second, and third optocouplers are respectively connected to the second ends of the first, second, and third resistors. The fourth ends of the first, second, and third optocouplers are all grounded. The non-inverting input of the fourth operational amplifier is connected to the non-inverting inputs of the first, second, and third operational amplifiers, as well as the output and inverting input of the third operational amplifier. The non-inverting input of the third operational amplifier is connected to the temperature detection module.

6. The speed control circuit for a hub motor according to claim 5, characterized in that, The temperature detection module includes a first thermistor, a seventh resistor, a ninth resistor, a tenth resistor, a sixth resistor, a fifth resistor, a first reference power supply, a fifth operational amplifier, and an eighth resistor; One end of the first thermistor is connected to the GND terminal of the fourth voltage regulator and the source of the first power transistor. The drain of the first power transistor is connected to the power supply terminal of the fifth operational amplifier. The other end of the first thermistor is connected to the receiving terminal of the main controller and one end of the seventh resistor, and through the ninth resistor, it is connected to one end of the tenth resistor and the non-inverting input of the fifth operational amplifier. The inverting input of the fifth operational amplifier is connected to one end of the fifth resistor and through the sixth resistor, it is connected to the first reference power supply. The ground terminal of the fifth operational amplifier is grounded. The output terminal of the fifth operational amplifier is connected to the other end of the fifth resistor and through the eighth resistor, it is connected to the non-inverting input of the third operational amplifier. The other end of the tenth resistor is connected to the other end of the seventh resistor and the ground terminal.