Motor control circuit for adjusting rotation of fan
By designing the control circuit for fan motors, using STM32 microcontroller and TMC2208-LA-T chip, input rotation parameters and adjust according to real-time status, the high-precision rotation control of fan motors is realized, the noise and vibration problems are solved, and the motor is extended service life.
Patent Information
- Application Number
- CN202420485578.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-13
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2034-03-13
AI Technical Summary
Existing fan motors lack high precision in rotation control, resulting in noise and vibration, affecting motor life and performance. The existing smoothing technology cannot achieve precise control of motor phase current. The subdivided function relies on the driver to accurately control phase current but has limited effect.
Design a motor control circuit, including a control module and a motor drive module, control the motor rotation by inputting fan motor parameters (rotation direction, step number and subdividing scale), and adjust the parameters according to real-time state, using STM32 microcontroller and TMC2208-LA- T chips achieve precise control.
It improves the accuracy and service life of the fan motor angle control, reduces noise, improves the motor operating performance, and extends the service life of the motor.
Smart Images

Figure CN222089470U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of motor control, in particular to a motor control circuit for regulating the rotation of a fan. Background Art
[0002] At present, the existing ordinary fans do not have high-precision angle control. They only realize the maximum angle, such as left or right turn. There is no fine distinction between the angles of the fan's forward and reverse rotation, and there will be large noise and vibration during the operation of the motor. Therefore, it will have an adverse effect on the life and performance of the motor. Although some motor drive modules have adopted "smoothing" technology to improve the accuracy of the motor, "smoothing" cannot accurately control the phase current of the motor. It only slows down the rate of change of the current. However, after the phase current of the motor is smoothed, it will cause the motor torque to decrease, and it is still impossible to achieve high-precision angle control of the fan motor and increase the service life of the motor. The fan with subdivision function is completely realized by the driver by accurately controlling the phase current of the motor. Subdivision technology can not only improve the control accuracy during the operation of the motor, but also improve the running performance of the motor to ensure the long-term and stable use of the motor and increase the service life of the motor. Utility Model Content
[0003] The utility model aims to provide a motor control circuit for adjusting the rotation of a fan, thereby improving the accuracy of the rotation angle control and the service life of the fan motor.
[0004] To achieve the above purpose, the utility model provides the following solutions:
[0005] A motor control circuit for adjusting the rotation of a fan, the motor control circuit comprising: a control module and a motor drive module; the output end of the control module is connected to the first input end of the motor drive module, the first output end of the motor drive module is connected to the fan motor, and the second output end of the motor drive module is connected to the first input end of the control module;
[0006] The control module is used to input the fan motor parameters into the motor drive module; the fan motor parameters include: rotation direction, rotation steps and rotation subdivision scale;
[0007] The motor drive module is used for:
[0008] Controlling the rotation of the fan motor according to the fan motor parameters, thereby controlling the rotation of the fan;
[0009] Obtaining the real-time status of the fan motor;
[0010] The control module is further used to adjust the fan motor parameters according to the real-time status.
[0011] Optionally, the control module includes: an STM32 single-chip microcomputer.
[0012] Optionally, the motor drive module includes: a TMC2208-LA-T chip.
[0013] Optionally, the output end of the control module is connected to the first pin, the second pin, the third pin and the fourth pin of the TMC2208-LA-T chip;
[0014] The control module inputs the rotation direction to the TMC2208-LA-T chip through the first pin, the control module inputs the rotation step number to the TMC2208-LA-T chip through the second pin, and the control module inputs the rotation subdivision scale to the TMC2208-LA-T chip through the third pin and the fourth pin.
[0015] Optionally, the fifth pin, the sixth pin, the seventh pin and the eighth pin of the TMC2208-LA-T chip are connected to the fan motor;
[0016] The TMC2208-LA-T chip generates a control level according to the fan motor parameters, and inputs the control level to the controlled fan through the fifth pin, the sixth pin, the seventh pin and the eighth pin, thereby controlling the rotation of the controlled fan.
[0017] According to the specific embodiments provided by the utility model, the utility model discloses the following technical effects:
[0018] The utility model discloses a motor control circuit for adjusting the rotation of a fan. First, a control module inputs fan motor parameters into a motor drive module; the fan motor parameters include: rotation direction, rotation steps and rotation subdivision scale; then the motor drive module controls the rotation of the fan motor according to the fan motor parameters, thereby controlling the rotation of the fan and obtaining the real-time state of the fan motor; finally, the control module adjusts the fan motor parameters according to the real-time state. The utility model can not only improve the control accuracy during the operation of the motor by setting the fan motor parameters and feeding back the real-time state, but also improve the operating performance of the motor, ensure the long-term and stable use of the motor, and increase the service life of the motor by using subdivision technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0020] Figure 1 A block diagram of a motor control circuit for adjusting fan rotation provided in an embodiment of the utility model;
[0021] Figure 2 A schematic diagram of the structure of a motor control circuit for adjusting the rotation of a fan provided in an embodiment of the utility model.
[0022] Explanation of symbols:
[0023] Control module—1, motor drive module—2, fan motor—3. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0025] The utility model aims to provide a motor control circuit for adjusting the rotation of a fan, aiming to improve the accuracy and service life of the rotation angle control of the fan motor.
[0026] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0027] Figure 1 A block diagram of a motor control circuit for adjusting fan rotation provided in an embodiment of the utility model. Figure 2 The schematic diagram of the motor control circuit structure for adjusting the fan rotation provided by the embodiment of the utility model. Figure 1 and Figure 2 As shown, the motor control circuit for adjusting the rotation of the fan in this embodiment includes: a control module 1 and a motor drive module 2; the output end of the control module 1 is connected to the first input end of the motor drive module 2, the first output end of the motor drive module 2 is connected to the fan motor 3, and the second output end of the motor drive module 2 is connected to the first input end of the control module 1.
[0028] The control module 1 is used to input the fan motor parameters into the motor drive module 2; the fan motor parameters include: rotation direction, rotation steps and rotation subdivision scale.
[0029] Motor drive module 2, used for:
[0030] The fan motor 3 is controlled to rotate according to the fan motor parameters, thereby controlling the rotation of the fan.
[0031] Get the real-time status of the fan motor 3.
[0032] The control module 1 is also used to adjust the fan motor parameters according to the real-time status.
[0033] As an optional implementation, the control module 1 includes: an STM32 single chip microcomputer.
[0034] Specifically, the control module 1 includes but is not limited to various existing common controllers including an STM32 single chip microcomputer.
[0035] As an optional implementation, the motor drive module 2 includes: a TMC2208-LA-T chip.
[0036] As an optional implementation, the output end of the control module 1 is connected to the first pin (i.e., pin 19), the second pin (i.e., pin 16), the third pin (i.e., pin 9), and the fourth pin (i.e., pin 10) of the TMC2208-LA-T chip.
[0037] The control module 1 inputs the rotation direction to the TMC2208-LA-T chip through the first pin, the control module 1 inputs the rotation step number to the TMC2208-LA-T chip through the second pin, and the control module 1 inputs the rotation subdivision scale to the TMC2208-LA-T chip through the third pin and the fourth pin.
[0038] As an optional implementation, the fifth pin (ie, pin 24 ), the sixth pin (ie, pin 21 ), the seventh pin (ie, pin 26 ) and the eighth pin (ie, pin 1 ) of the TMC2208-LA-T chip are connected to the fan motor 3 .
[0039] The TMC2208-LA-T chip generates a control level according to the fan motor parameters, and inputs the control level to the control fan through the fifth pin, the sixth pin, the seventh pin and the eighth pin, thereby controlling the rotation of the fan.
[0040] More specifically, Figure 2As shown, TMC2208-LA-T is a microstepping motor chip, where pin 2 (EN) is an enable interrupt, which cuts off the energy supply to the fan motor when it is at a low level, pins 9 (MS1) and 10 (MS2) are microstep configuration pins, pin 16 (STEP) is a pulse frequency control pin, and pin 19 (DIR) is a direction setting pin. The pins of the control module (MCU) are connected to pins 19, 16, 9, and 10 of the motor through current limiting resistors to configure the rotation direction, number of steps, and subdivision scale of the fan motor.
[0041] Pins 24 (OA1), 21 (OA2), 26 (OB1) and 1 (OB2) of the TMC2208-LA-T chip are connected to the A coil and B coil of the two-phase four-wire stepper motor (i.e., fan motor). The excitation sequence is configured through the high and low levels of the four output pins OA1, OA2, OB1 and OB2, so that the corresponding magnetic field is generated on the A phase and B phase of the motor to make the rotor of the fan motor rotate. Pins 11 (DIAG) and 12 (INDEX) of the motor chip are feedback pins. The real-time status of the fan motor during operation is fed back to the MCU through these two pins for real-time monitoring by the MCU. Pin 17 (VREF) is used to set the reference voltage for TMC2208-LA-T and is also used as an external test pin. Pin 27 (BRB) is connected to the sampling resistor R32, and pin 23 (BRA) is connected to the sampling resistor R33. The resistance value of the sampling resistor is set according to the actual corresponding motor operating current and VREF reference voltage. Pin 3 (GND) is grounded, pin 4 (CPO) is connected to pin 5 (CPI) through bootstrap capacitor C14, pin 6 (VCP) is connected to 12V power supply through C19, pin 7 (NC) is a free pin, pin 8 (5VOUT) is connected to 5V power supply and connected to GND through filter capacitor C22, pin 13 (CLK) is grounded through a parallel circuit composed of push button switch S1 and resistor R36, pin 14 (PDN_UNRT) is grounded through a parallel circuit composed of push button switch S2 and resistor R37, pin Pin 15 (VCC_IO) is connected to a 3.3V power supply and is grounded through a parallel circuit composed of decoupling capacitors C23 and C24, pin 18 (GND) is grounded, pin 20 (NC) is an empty pin, pin 22 (VS) is connected to a 12V power supply and is grounded through a parallel circuit composed of capacitor C21 and diode D4, pin 25 (NC) is an empty pin, pin 28 (VS) is connected to a 12V power supply and is grounded through a parallel circuit composed of capacitors C7, C8 and C9, and pin 29 (EP) is the heat dissipation ground of the chip.
[0042] In summary, using the subdivision technology, the MCU connects the MS2 and MS1 pins of the motor driver module (motor driver IC) through two IO ports for combined control, selects the minimum rotation angle of the stepper motor, and the motor driver IC outputs the excitation sequence through the output pins OA1, OA2, OB1 and OB2 to drive the stepper motor to rotate. The MCU controls the number of steps and forward and reverse rotation of the stepper motor through the STEP and DIR pins of the motor driver IC. Due to the high-precision control of the forward and reverse angles and speeds of the fan, the overall noise of the fan is effectively reduced, and the noise problem during the fan shaking is well solved. Since the fan does not have to turn to the maximum angle every time during the shaking process, the energy consumption of the fan is reduced, which plays a certain energy-saving role.
[0043] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0044] This article uses specific examples to illustrate the principles and implementation methods of the utility model. The above examples are only used to help understand the circuit and core ideas of the utility model. At the same time, for those skilled in the art, according to the ideas of the utility model, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the utility model.
Claims
1. A motor control circuit for adjusting the rotation of a fan, characterized in that: The motor control circuit comprises: a control module and a motor drive module; the output end of the control module is connected to the first input end of the motor drive module, the first output end of the motor drive module is connected to the fan motor, and the second output end of the motor drive module is connected to the first input end of the control module; The control module is used to input the fan motor parameters into the motor drive module; the fan motor parameters include: rotation direction, rotation steps and rotation subdivision scale; The motor drive module is used for: Controlling the rotation of the fan motor according to the fan motor parameters, thereby controlling the rotation of the fan; Obtaining the real-time status of the fan motor; The control module is further used to adjust the fan motor parameters according to the real-time status.
2. The motor control circuit for adjusting the rotation of a fan according to claim 1, characterized in that: The control module includes: an STM32 single chip microcomputer.
3. The motor control circuit for adjusting the rotation of a fan according to claim 1, characterized in that: The motor drive module includes: a TMC2208-LA-T chip.
4. The motor control circuit for adjusting the rotation of a fan according to claim 3, characterized in that: The output end of the control module is connected to the first pin, the second pin, the third pin and the fourth pin of the TMC2208-LA-T chip; The control module inputs the rotation direction to the TMC2208-LA-T chip through the first pin, the control module inputs the rotation step number to the TMC2208-LA-T chip through the second pin, and the control module inputs the rotation subdivision scale to the TMC2208-LA-T chip through the third pin and the fourth pin.
5. The motor control circuit for adjusting the rotation of a fan according to claim 3, characterized in that: The fifth pin, the sixth pin, the seventh pin and the eighth pin of the TMC2208-LA-T chip are connected to the fan motor; The TMC2208-LA-T chip generates a control level according to the fan motor parameters, and inputs the control level to the controlled fan through the fifth pin, the sixth pin, the seventh pin and the eighth pin, thereby controlling the rotation of the controlled fan.
