A method for automatically detecting and matching motor parameters, a brushless motor drive controller, a fan controller

By integrating a microcontroller and a current detection module into the brushless motor drive controller, the motor parameters are automatically detected and calculated, solving the problem of complex parameter matching in the research and development and production of brushless motor drive controllers, and realizing the versatility and cost reduction of the driver.

CN119087864BActive Publication Date: 2026-02-03深圳市瑞泉科技有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411214153.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-31
Publication Date
2026-02-03
Estimated Expiration
2044-08-31

AI Technical Summary

Technical Problem

In the research and development and production process of brushless motor drive controllers in the present technology, it is necessary to repeatedly debug and match different motor parameters, which leads to long research and development cycle, high cost, and parameter matching errors in after-sales service, which increases the complexity of inventory and production management.

Method used

By integrating a microcontroller and a current detection module into the brushless motor drive controller, the parameters of the brushless motor, including line inductance and line resistance, are automatically detected. The motor parameters are then calculated using a system of equations, enabling automatic pairing between the brushless motor and the drive controller.

Benefits of technology

It improves the versatility of brushless motor drive controllers, reduces R&D time and inventory, lowers production costs, and simplifies after-sales service processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119087864B_ABST
    Figure CN119087864B_ABST
Patent Text Reader

Abstract

The application discloses a kind of automatic detection and match motor parameter method, brushless motor drive controller, it is related to automatic detection technical field, wherein automatic detection and match motor parameter method includes: connecting brushless motor drive controller;Brushless motor drive controller receives controller pairing instruction;Brushless motor drive controller detects brushless motor parameter;The detected brushless motor parameter is stored to brushless motor drive controller and completes pairing.This method detects brushless motor parameter by microcontroller, and its detection method utilizes the program storage function of microcontroller, can solidify brushless motor parameter detection method and result in the program of microcontroller, greatly improve the versatility of brushless motor drive controller, greatly save the time of research and development, since a driver can match different motor parameters, can greatly reduce the inventory and production time of manufacturer, to reduce cost in turn.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automatic detection technology, specifically to a method for automatically detecting and matching motor parameters, and a brushless motor drive controller. Background Technology

[0002] Brushless motors are currently widely used in the fan industry, but the following problems exist in the research and development and production process:

[0003] When developing a brushless motor drive controller, researchers generally need to know several key parameters of the motor: line inductance and line resistance. Based on these parameters, they need to match the corresponding hardware and software. Typically, different brushless motor parameters correspond to different driver hardware and software. This requires technicians to repeatedly debug and develop the brushless motor drive controller based on the brushless motor parameters.

[0004] On the factory production side, when producing fans, because a factory has many types of brushless motors, the hardware and software of a brushless motor drive controller can often only be matched with one or two types of brushless motors. This means that production must be matched one by one, which results in many models of brushless motor drive controllers, or different software for the same model. This increases factory inventory, causes mismatches, requires multiple software modifications for adaptation, causes inconvenience in production control, and leads to many problems such as increased production costs.

[0005] Regarding after-sales service, if a customer needs to repair or replace a brushless motor drive controller, the after-sales service personnel must know the parameters of the customer's brushless motor in order to provide the corresponding brushless motor drive controller in terms of software and hardware. In actual operation, since the brushless motor products in after-sales service may be products from several years ago, and there are many types of brushless motor products in after-sales service, this situation is prone to errors.

[0006] The relevant technology includes Chinese patent document CN117713629 A, entitled "An Adaptive Drive System and Method for a Brushless Motor." This solution measures the motor body parameters in the initial state of the motor body; the motor parameter configuration and monitoring module converts the motor body parameters into configuration parameters, sends the configuration parameters to the motor drive module, and then receives performance parameters from the motor drive module. If the performance parameters do not meet the design requirements, the configuration parameters are adjusted to meet the design requirements; the motor drive module collects the performance parameters of the motor body and sends the performance parameters to the motor parameter configuration and monitoring module. This technical solution includes separate detection and drive modules, and its cost is relatively high. Summary of the Invention

[0007] This invention aims to at least solve one of the technical problems existing in the prior art. To this end, embodiments of this invention propose a method for automatically detecting and matching brushless motor parameters. This method uses a single system for both brushless motor driving and measurement to achieve parameter detection and matching, reducing the number of times engineers need to adjust the brushless motor drive controller program to ensure normal operation of the brushless motor. This shortens the development cycle, improves the development quality and efficiency of brushless motors, and enhances after-sales testing efficiency.

[0008] This invention also proposes a brushless motor drive controller that automatically detects and matches motor parameters.

[0009] A method for automatically detecting and matching brushless motor parameters according to a first aspect embodiment of the present invention includes: a controller, a brushless motor drive controller, the brushless motor drive controller being used to detect and configure brushless motor parameters to control the operation of the brushless motor, the method steps including:

[0010] Connect the brushless motor to the brushless motor drive controller;

[0011] The brushless motor drive controller receives the controller pairing command;

[0012] The brushless motor drive controller detects brushless motor parameters.

[0013] The detected brushless motor parameters are stored in the brushless motor drive controller to complete the pairing.

[0014] The method for detecting motor parameters using the drive controller includes the following steps:

[0015] The brushless motor drive controller generates two test frequency signals;

[0016] Detect the motor line current under two test frequency signals;

[0017] Calculate motor parameters: equivalent inductance, reactance, inductance, and resistance.

[0018] Furthermore, the method for calculating motor parameters is as follows:

[0019] ① U / (X1+R)=I1;

[0020] ② U / (X2+R)=I2;

[0021] ③ X1 = 2πfL;

[0022] ④ X2 = 2π2fL;

[0023] Solving the system of equations, we get:

[0024] L = (U / I1 - U / I2) / (2f)

[0025] R=(2U / I2)-(U / I1)

[0026] Where: U is the drive voltage of the brushless motor, X1 is the equivalent inductance of the brushless motor when the test frequency signal 1 is applied, X2 is the equivalent inductance of the brushless motor when the test frequency signal 2 is applied, I1 is the line-to-line current of the brushless motor when the test frequency signal 1 is applied, I2 is the line-to-line current of the brushless motor when the test frequency signal 2 is applied, L is the inductance value of the brushless motor parameter, and R is the resistance value of the brushless motor parameter.

[0027] The two test frequencies are in a 2:1 frequency relationship.

[0028] The brushless motor drive controller includes a pre-drive module, a power drive module, a microcontroller, and a current detection module. The brushless motor drive controller performs the method described above. The microcontroller is used to provide a brushless motor test frequency signal and control the power drive module. The current detection module is used to detect the current parameters of the brushless motor when the microcontroller applies the test frequency signal.

[0029] Furthermore, the power drive module provides the power required by the brushless motor and the brushless motor drive controller via an external power input VCC. The power drive module is connected to the brushless motor, and the microcontroller and the pre-drive module are connected to the power drive module. They are used to set the brushless motor starting parameters, input the starting parameters of the brushless motor to the power drive module, and drive the brushless motor by the power drive module. The current detection module is connected to the microcontroller, the pre-drive module, and the power drive module, and is used to detect the current parameters of the brushless motor.

[0030] Furthermore, the power drive module includes six field-effect transistors (FETs) and a resistor. The drain of the first FET is connected in parallel with the source of the second FET and phase A of the brushless motor. The gate of the first FET is connected to the microcontroller and the pre-drive module. The source of the first FET is connected to the current detection module, the source of the third FET, and the source of the fifth FET. One end of the resistor is connected in parallel; the other end of the resistor is grounded. The drain of the fifth FET is connected in parallel with phase C of the brushless motor and phase A of the sixth FET. The sources of the field-effect transistors are connected in parallel; the drain of the third field-effect transistor is connected in parallel with the source of the fourth field-effect transistor and the B phase of the brushless motor; the drains of the third, fourth, and second field-effect transistors are connected in parallel with the VCC terminal; the drain and gate levels of the first to sixth field-effect transistors are controlled by the microcontroller and the front-end drive module, so that the drain and source of the fifth and second, third and sixth, and first and fourth field-effect transistors are turned on and off alternately, thereby driving the brushless motor.

[0031] Further, it includes a driving circuit, which comprises a microcontroller, a 6th transistor, a 7th transistor, an 8th transistor, multiple capacitors, and multiple resistors. The microcontroller's 1st pin is connected to an IR terminal to receive remote control signals from the controller; the microcontroller's 2nd to 7th pins are respectively connected to PWM1 to PWM6 terminals; the microcontroller's 8th pin is connected in parallel with the 15th capacitor and the VCC terminal; the microcontroller's 9th pin is grounded; the microcontroller's 10th pin is connected in parallel with one end of the 5th capacitor and the 5V power supply terminal; and the microcontroller's 12th pin is connected in parallel with the 16th transistor. One end of the capacitor is connected; the other ends of the 5th capacitor, the 15th capacitor, and the 16th capacitor are connected to ground in parallel; pin 20 of the microcontroller is connected to the AOP terminal, which is connected to one end of the 4th resistor; the other end of the 4th resistor is connected in parallel to one end of the RS3 resistor, one end of the RS2 resistor, and one end of the RS5 resistor, and then connected to the I_SHUNT terminal; the other ends of the RS3 resistor, the RS2 resistor, and the RS5 resistor are connected to ground in parallel and then connected in parallel to one end of the 5th resistor; the other end of the 5th resistor is connected to the AOM terminal; the PWM1 terminal is connected to one end of the 1st resistor, and the other end of the 1st resistor... One end is connected to pin 4 of transistor 6, pin 3 of transistor 6 is connected to VCC, pin 4 of PWM is connected to one end of resistor 2, the other end of resistor 2 is connected to pin 2 of transistor 6, pin 1 of transistor 6 is connected to I_SHUNT, and pins 5, 6, 7, and 8 of transistor 6 are connected in parallel to the A-phase terminal of motor; pin 2 of PWM is connected to one end of resistor 6, the other end of resistor 6 is connected to pin 4 of transistor 7, pin 3 of transistor 7 is connected to VCC, pin 5 of PWM is connected to one end of resistor 7, the other end of resistor 7 is connected to pin 2 of transistor 7, and pin 4 of transistor 7 is connected to VCC. Pin 1 is connected to the I_SHUNT terminal. Pins 5, 6, 7, and 8 of the 7th transistor are connected in parallel to the B-phase terminal of the motor. Pin 3 of the PWM transistor is connected to one end of the 3rd resistor. The other end of the 3rd resistor is connected to pin 4 of the 8th transistor. Pin 3 of the 8th transistor is connected to the VCC terminal. Pin 6 of the PWM transistor is connected to one end of the 20th resistor. The other end of the 20th resistor is connected to pin 2 of the 8th transistor. Pin 1 of the 8th transistor is connected to the I_SHUNT terminal. Pins 5, 6, 7, and 8 of the 8th transistor are connected in parallel to the C-phase terminal of the motor. By controlling the conduction and cutoff of the transistors, the motor parameters can be measured.

[0032] The brushless motor drive controller for automatically detecting and matching motor parameters according to the second aspect embodiment of the present invention has at least the following advantages:

[0033] This invention application adds motor parameter detection and automatic adaptation functions to the existing brushless motor drive controller, which will greatly improve the versatility of the motor driver and save a lot of R&D time. Since one driver can match different motor parameters, it can greatly reduce the manufacturer's inventory and production time, thereby reducing costs.

[0034] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0035] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:

[0036] Figure 1 This application provides a schematic diagram of the composition of a brushless motor drive controller that automatically detects and matches motor parameters.

[0037] Figure 2 This application provides a schematic diagram of the principle of a brushless motor drive controller that automatically detects and matches motor parameters.

[0038] Figure 3 This application provides a schematic diagram illustrating the steps of a method for automatically detecting and matching motor parameters in accordance with an embodiment of the present application.

[0039] Figure 4 This is a schematic diagram illustrating the principle of motor drive signal and current detection provided in an embodiment of this application;

[0040] Figure 5 A schematic diagram of a motor current detection principle provided for an embodiment of the application;

[0041] Figure 6 A schematic diagram of the principle of a brushless motor drive controller that automatically detects and matches motor parameters, provided for the embodiments of the application;

[0042] Figure 7 This is a schematic diagram of a current detection circuit in the prior art.

[0043] Figure label:

[0044] Brushless motor 10, microcontroller and pre-drive 40, power drive module 30, three-phase brushless motor: A, B, C; power input terminal VCC, brushless motor drive controller 100, current detection module 20, drive equivalent signal source U, motor drive signal PWM, microcontroller MCU, transistor Q1, transistor Q2, transistor Q3, transistor Q4, transistor Q5, transistor Q6. Detailed Implementation

[0045] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.

[0046] In the description of this invention, unless otherwise explicitly defined, terms such as "set up," "install," and "connect" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this invention in conjunction with the specific content of the technical solution.

[0047] Brushless motors are widely used. The coils of a brushless motor are connected to a switch using transistors, and a frequency converter is formed by transistors 6, 7, and 8. The upper and lower transistors alternately turn ON and OFF in a specific sequence, changing the direction of the coil current. For example, when a pair of upper and lower transistors are ON, the coil current flows from the U phase to the W phase. The U phase is energized as the N pole, while the W phase is energized as the S pole. Therefore, the rotor rotates 30°. This action is repeated 12 times, and the rotor rotates. Current brushless motor control typically includes:

[0048] Power supply circuit: controls the current flowing into the motor coil. Generally, transistors 6, 7, and 8 are used. The transistors connected one above the other are repeatedly ON-OFF in a certain order to allow the current to flow into the motor coil.

[0049] Current control circuit: The current flowing into the motor varies depending on the load. By controlling the current flowing into the motor, the motor speed is controlled to remain within the set range.

[0050] Logic circuit: Receives feedback signals from the motor's Hall effect IC, detects the rotor position, and determines the excitation sequence of the motor coils. Signals from this circuit are connected to the various transistors in the power supply circuit, driving them in a specific sequence. It also has the function of detecting the motor speed. Furthermore, it can execute commands to the motor, including start / stop, braking / running, and CW / CCW control.

[0051] The comparison circuit compares the speed setting signal with the motor speed signal. Based on the result, it determines whether the motor speed is higher or lower than the set speed. When the motor speed is higher than the set value, the input current to the motor is reduced; when it is lower, the input current to the motor is increased to bring it back to the set speed.

[0052] Currently, the development of brushless motor drive controllers is mostly carried out by experienced brushless motor drive development engineers who use specialized equipment to measure the parameters of a pre-designed brushless motor prototype and then design a driver specifically for the brushless motor based on these parameters.

[0053] However, in the development of brushless motor drive controllers, engineers cannot design the driver perfectly the first time. They need to continuously adjust the driver program to ensure the motor operates normally and achieves optimal performance. This development cycle is long, inefficient, and consumes a significant amount of engineer's time. Furthermore, differences in the individual technical skills of development engineers also contribute to the long development cycle and lower development quality. Chinese patent document CN117713629A, entitled "An Adaptive Drive System and Method for a Brushless Motor," describes a solution that measures the motor's parameters in its initial state. A motor parameter configuration and monitoring module converts these parameters into configuration parameters, which are then sent to the motor drive module. The module receives performance parameters from the motor drive module and adjusts these parameters if they do not meet design requirements. Finally, the motor drive module collects the motor's performance parameters and sends them to the motor parameter configuration and monitoring module. This technical solution includes separate detection and drive modules, resulting in high costs.

[0054] Based on this, this invention proposes a method for automatically detecting and matching motor parameters and a brushless motor drive controller. It adds a current detection function to the existing brushless motor drive controller, eliminating the need to modify the controller or remote control. This allows the brushless motor drive controller to automatically detect the brushless motor's current parameters to achieve pairing with the brushless motor. This enables R&D personnel to no longer need to focus on certain motor parameters, as the brushless motor drive controller will automatically detect the main parameters of the brushless motor, thus greatly reducing the workload of R&D personnel.

[0055] Factory production end: Because the brushless motor drive controller of this invention has greatly improved the compatibility of brushless motor parameters, it greatly reduces the types of brushless motor drive controller software and hardware, which can effectively control factory inventory, improve quality, and increase efficiency.

[0056] After-sales service: For brushless motor drive controllers that need to be returned or exchanged, it is no longer necessary to know the parameters of the brushless motor that is paired with it. Just provide a general brushless motor drive controller.

[0057] Please refer to Figure 1 and Figure 2According to an embodiment of the first aspect of the present invention, a method for automatically detecting and matching motor parameters includes: a brushless motor drive controller and a controller; wherein the brushless motor drive controller includes: a microcontroller and a pre-drive module; a motor driver is connected to a brushless motor, and a pairing command is sent to the brushless motor drive controller from the outside by the controller or a remote controller; after receiving the pairing command, the brushless motor drive controller detects the brushless motor parameters and stores the detected brushless motor parameters in the brushless motor drive controller; the brushless motor drive controller controls and drives the brushless motor according to the parameters set for pairing.

[0058] In this embodiment, the microcontroller is abbreviated as MCU. The power drive module 30 is supplied with the power required by the brushless motor 10 and the brushless motor drive controller 100 by the external power input VCC. The power drive module 30 is connected to the brushless motor 10, and the microcontroller and the pre-drive module 40 are connected to the power drive module 30. The microcontroller and the pre-drive module 40 are used to set the starting parameters of the brushless motor 10 and input the starting parameters of the brushless motor 10 to the power drive module 30, so that the power drive module 30 drives the brushless motor 10. The current detection module 20 is connected to the microcontroller, the pre-drive module 40 and the power drive module 30, and is used to detect the current parameters of the brushless motor.

[0059] Please refer to Figure 3 According to a first aspect embodiment of the present invention, a method for automatically detecting and matching motor parameters includes:

[0060] Step 201: Connect the brushless motor drive controller;

[0061] Connect the brushless motor drive controller to the brushless motor and turn on the power. The brushless motor will then enter standby mode.

[0062] Step 202: The brushless motor drive controller receives the pairing command;

[0063] After receiving the pairing command data sent by the controller or remote control, the brushless motor drive controller begins to pair the brushless motor parameters.

[0064] Step 203: The brushless motor drive controller detects the parameters of the brushless motor;

[0065] After receiving the pairing command data, the brushless motor drive controller begins to detect the parameters of the brushless motor, such as the inter-line resistance and line inductance.

[0066] Step 204: Store the detected brushless motor parameters to the brushless motor drive controller to complete the pairing;

[0067] In the above steps, based on the brushless motor parameter detection results in step 203, the parameter results are stored in the brushless drive controller to complete the motor parameter matching.

[0068] In this embodiment, please refer to Figure 1 , Figure 3 , Figure 4 and Figure 5 The method for automatically detecting and matching motor parameters according to the first aspect embodiment of the present invention is further described as follows: The method steps include:

[0069] Step 1: The brushless motor drive controller generates two test frequency signals;

[0070] Two test frequency signals, f1 and f2, are generated by the microcontroller in the brushless motor drive controller 100. These two test frequencies are usually in a multiple relationship, such as a 2x frequency relationship: f2 = 2f1.

[0071] Step 2: Detect the brushless motor line current;

[0072] For example, to detect the current in the motor windings, the test frequency signal generated by the brushless motor drive controller 100 is applied to the motor windings to test the current magnitude.

[0073] Step 3: Calculate the equivalent inductance and reactance of the brushless motor windings;

[0074] The detected currents are I1 and I2 (I1 is the current at frequency f, and I2 is the current at frequency 2f). Let the inductive reactance of the brushless motor's equivalent inductance at frequency f be X1, and the inductive reactance of the brushless motor's equivalent inductance at frequency 2f be X2. Let the equivalent resistance of the brushless motor be R, the equivalent inductance be L, and the equivalent signal source be U. Thus, the following set of equations can be obtained:

[0075] U / (X1+R)=I1

[0076] U / (X2+R)=I2

[0077] X1=2πfL

[0078] X2=2π2fL

[0079] Solve the system of equations and calculate the values ​​of L and R:

[0080] L = (U / I1 - U / I2) / (2πf)

[0081] R=(2U / I2)-(U / I1)

[0082] U is determined by the supply voltage and can be given a specific value. I1 and I2 are detected by the microcontroller (MCU), so the inductance and resistance values ​​of the brushless motor can be obtained.

[0083] In this embodiment, since the motor drive system may have some errors in current detection and power supply settings, it can be corrected proportionally according to the actual situation.

[0084] To further illustrate the motor parameter testing process of this technical solution, please refer to... Figure 3 , 4 Regarding point 5, when detecting the line inductance and line resistance of a brushless motor, the microcontroller can control transistors Q1-Q6 as follows: Q5 is in the working state, Q2 is in the conducting state, and Q1, Q3, Q4, and Q6 are in the cutoff state. Figure 3 It can be equivalent Figure 4 ;

[0085] Similarly, Q3 is in the working state, Q6 is in the conducting state, and Q1, Q2, Q4, and Q5 are in the cutoff state; or Q1 is in the working state, Q4 is in the conducting state, and Q2, Q3, Q5, and Q6 are in the cutoff state. In this embodiment, the transistor can be selected as a field-effect transistor.

[0086] Please refer to Figure 5 The two AC wires of the motor can be equivalently represented as a resistor R + an inductor L. Figure 4 Therefore, it can be equivalent to Figure 5 .

[0087] The equivalent driving signal source U is controlled by a microcontroller (MCU). In this embodiment, the RQ32M37D model can be selected. The microcontroller can generate signal sources of different frequencies. When the signal passes through the AC terminal of the motor, a corresponding current is generated. Based on the magnitude and frequency of the current, the resistance and inductance values ​​of the AC terminal of the motor can be calculated. There are many methods for this calculation; the following is a specific calculation process for one of them:

[0088] The microcontroller generates two frequencies, f and 2f, which can be two frequencies that differ by a factor of two.

[0089] The current detection module 20 detects currents I1 and I2, respectively. The current at frequency f is I1, and the current at frequency 2f is L2. Let the inductive reactance of the equivalent inductance of the brushless motor 10 at frequency f be X1, and the inductive reactance at frequency 2f be X2. Let the equivalent resistance of the brushless motor be R, the equivalent inductance be L, and the equivalent driving signal source be U. Thus, the following set of equations can be obtained:

[0090] ① U / (X1+R)=I1

[0091] ② U / (X2+R)=I2

[0092] ③ X1=2πfL

[0093] ④ X2=2π2fL

[0094] Solving the above system of equations, we get:

[0095] L = (U / I1 - U / I2) / (2πf)

[0096] R=(2U / I2)-(U / I1)

[0097] U is determined by the supply voltage and can be given a specific value. I1 and I2 are detected by the microcontroller, so the inductance and resistance values ​​of the motor can be obtained.

[0098] In this embodiment, the current detection module is provided by a microcontroller, but it can also be obtained from other current detection circuits, such as: Figure 7 The reference circuit in the diagram.

[0099] In some other embodiments, since the brushless motor drive controller may have some errors in current detection and power supply voltage setting, it can be corrected proportionally according to the actual situation.

[0100] In this embodiment, the brushless motor parameters are detected by a microcontroller. The detection method utilizes the microcontroller's program storage function, which can embed the brushless motor parameter detection method and results into the microcontroller's program. The brushless motor drive controller of this invention has universality.

[0101] The above-mentioned method for automatically detecting and matching motor parameters can utilize existing brushless motor drive controllers. Using the detection method of this invention will greatly improve the versatility of brushless motor drive controllers and save a lot of R&D time. Since one driver can match different motor parameters, it can greatly reduce manufacturers' inventory and production time, thereby reducing costs.

[0102] Reference Figure 6 The following describes the automatic detection and matching of motor parameters for a brushless motor drive controller circuit according to a second aspect embodiment of the present invention, including: a microcontroller U5 and a pre-drive circuit. For ease of explanation, two transistors that work together are combined into a group. In this embodiment, Q6, Q7, and Q8 form a group of transistors to realize the drive control of the brushless motor.

[0103] in:

[0104] Pin 1 of microcontroller U5 is connected to the IR terminal to receive remote control signals from the controller; pins 2 to 8 of microcontroller U5 are connected to PWM1 to PWM6 terminals respectively; pin 8 of microcontroller U5 is connected in parallel with capacitor C15 (number 15) and the VCC terminal; pin 9 of microcontroller U5 is grounded; pin 10 of microcontroller U5 is connected in parallel with one end of capacitor C5 (number 5) and the 5V power supply terminal; pin 16 of microcontroller U5 is connected to one end of capacitor C16 (number 16); the other end of capacitor C5 and pin 15... The other end of capacitor C15 and the other end of capacitor C16 are connected to ground in parallel; pin 20 of microcontroller U5 is connected to the AOP terminal, and the AOP terminal is connected to one end of resistor R4; the other end of resistor R4 is connected in parallel to one end of resistors RS3, RS2, and RS5 and then connected to the I_SHUNT terminal; the other ends of resistors RS3, RS2, and RS5 are connected to ground in parallel and then connected in parallel to one end of resistor R5; the other end of resistor R5 is connected to the AOM terminal.

[0105] The PWM1 terminal is connected to one end of the first resistor R1, the other end of the first resistor R1 is connected to the fourth pin of the sixth transistor Q6, the third pin of the sixth transistor Q6 is connected to the VCC terminal, the PWM4 terminal is connected to one end of the second resistor R2, the other end of the second resistor R2 is connected to the second pin of the sixth transistor Q6, the first pin of the sixth transistor Q6 is connected to the I_SHUNT terminal, and the fifth, sixth, seventh, and eighth pins of the sixth transistor Q6 are connected in parallel to the motor A-phase terminal;

[0106] The PWM2 terminal is connected to one end of the 6th resistor R6, the other end of the 6th resistor R6 is connected to the 4th pin of the 7th transistor Q7, the 3rd pin of the 7th transistor Q7 is connected to the VCC terminal, the PWM5 terminal is connected to one end of the 7th resistor R7, the other end of the 7th resistor R7 is connected to the 2nd pin of the 7th transistor Q7, the 1st pin of the 7th transistor Q7 is connected to the I_SHUNT terminal, and the 5th, 6th, 7th and 8th pins of the 7th transistor Q7 are connected in parallel to the B-phase terminal of the motor.

[0107] The PWM3 terminal is connected to one end of the third resistor R3, and the other end of the third resistor R3 is connected to the fourth pin of the eighth transistor Q8. The third pin of the eighth transistor Q8 is connected to the VCC terminal. The PWM6 terminal is connected to one end of the 20th resistor R20, and the other end of the 20th resistor R20 is connected to the second pin of the eighth transistor Q8. The first pin of the eighth transistor Q8 is connected to the I_SHUNT terminal. The fifth, sixth, seventh, and eighth pins of the eighth transistor Q8 are connected in parallel to the C-phase terminal of the motor. By controlling the conduction and cutoff of the transistors, the motor parameters can be measured.

[0108] In this embodiment, the microcontroller model can be selected as: RQ32M37D.

[0109] The brushless motor drive controller for automatically detecting and matching motor parameters according to the second aspect of the present invention has at least the following beneficial effects: The brushless motor drive controller of the present invention detects brushless motor parameters using a microcontroller. Its detection method utilizes the program storage function of the microcontroller, allowing the brushless motor parameter detection method and results to be embedded in the microcontroller's program. The brushless motor drive controller of the present invention has versatility. The present invention will greatly improve the versatility of motor drivers, significantly saving research and development time. Since one driver can match different motor parameters, it can greatly reduce manufacturers' inventory and production time, thereby reducing costs.

[0110] In other embodiments of this invention, the method for automatically detecting and matching motor parameters and the brushless motor drive controller described in the foregoing embodiments can be applied to fan controllers, for example, to universal invisible fan controllers. The method steps are as follows:

[0111] 1. Connect the fan controller to the fan motor;

[0112] 2. Connect the power supply, and within 30 seconds of powering on, press and hold the pairing button on the fan remote control to start pairing;

[0113] For example, by using the infrared pairing method of the remote control in the existing technology, the fan remote control and the fan controller can pair the fan motor parameters to realize the remote control control of the fan, such as starting, stopping, adjusting the wind speed, and rotating in the forward and reverse directions.

[0114] 3. After the fan remote control and fan controller are paired, the fan controller starts the fan motor parameter detection process and writes the detected motor parameters into the MCU memory of the fan controller. When the fan controller needs to enter the working state, it can call the parameters in the MCU memory of the fan controller to drive the fan motor.

[0115] 4. When the fan is powered on again, the fan controller can recall the fan motor parameters from the previous memory without needing to pair the code, allowing the fan to work normally.

[0116] 5. If you need to replace the fan motor with one of different parameters, connect the corresponding fan motor and fan controller, and then re-pair the codes to match the corresponding motor parameters.

[0117] The above applications allow for convenient and easy control of the fan.

[0118] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of the present invention.

[0119] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0120] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0121] Although embodiments of the invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims

1. A method for automatically detecting and matching brushless motor parameters, comprising a controller, characterized in that, It also includes a brushless motor drive controller, which is used to detect and configure brushless motor parameters to control the operation of the brushless motor. The method steps include: Connect the brushless motor to the brushless motor drive controller; The brushless motor drive controller receives the controller pairing command; The brushless motor drive controller detects brushless motor parameters. The detected brushless motor parameters are stored in the brushless motor drive controller to complete the pairing. The method for detecting motor parameters using the drive controller includes the following steps: The brushless motor drive controller generates two test frequency signals; Detect the motor line current under two test frequency signals; Calculate motor parameters: equivalent inductance, reactance, inductance, and resistance. The method for calculating motor parameters is as follows: ① U / (X1+R)=I1; ② U / (X2+R)=I2; ③ X1 = 2πfL; ④ X2 = 2π2fL; Solving the system of equations, we get: L = (U / I1 - U / I2) / (2f) R=(2U / I2)-(U / I1) Where: U is the brushless motor drive voltage value, X1 is the equivalent inductance of the brushless motor when test frequency signal 1 is applied, X2 is the equivalent inductance of the brushless motor when test frequency signal 2 is applied, I1 is the motor line-to-line current when test frequency signal 1 is applied, I2 is the brushless motor line-to-line current when test frequency signal 2 is applied, L is the inductance value of the brushless motor parameter, and R is the resistance value of the brushless motor parameter; the two test frequencies are in a 2:1 frequency relationship.

2. A brushless motor drive controller that automatically detects and matches brushless motor parameters, the brushless motor drive controller comprising a pre-drive module and a power drive module, characterized in that, It also includes a microcontroller and a current detection module. The brushless motor drive controller performs the method of claim 1. The microcontroller is used to provide a brushless motor test frequency signal and control the power drive module. The current detection module is used to detect the current parameters of the brushless motor when the microcontroller applies the test frequency signal.

3. The brushless motor drive controller for automatically detecting and matching brushless motor parameters according to claim 2, characterized in that, The power drive module provides the power required by the brushless motor and the brushless motor drive controller through an external power input VCC. The power drive module is connected to the brushless motor, and the microcontroller and the pre-drive module are connected to the power drive module. They are used to set the brushless motor start parameters, input the start parameters of the brushless motor to the power drive module, and drive the brushless motor by the power drive module. The current detection module is connected to the microcontroller, the pre-drive module, and the power drive module, and is used to detect the current parameters of the brushless motor.

4. The brushless motor drive controller for automatically detecting and matching brushless motor parameters according to claim 3, characterized in that, The power drive module includes six field-effect transistors (FETs) and a resistor. The drain of the first FET is connected in parallel with the source of the second FET and phase A of the brushless motor. The gate of the first FET is connected to the microcontroller and the pre-drive module. The source of the first FET is connected to the current detection module, the source of the third FET, and the source of the fifth FET. One end of the resistor is connected in parallel; the other end of the resistor is grounded. The drain of the fifth FET is connected in parallel with phase C of the brushless motor and phase A of the sixth FET. The sources of the transistors are connected in parallel; the drain of the third field-effect transistor is connected in parallel with the source of the fourth field-effect transistor and the B phase of the brushless motor; the drains of the third, fourth, and second field-effect transistors are connected in parallel with the VCC terminal; the drain and gate levels of the first to sixth field-effect transistors are controlled by the microcontroller and the pre-drive module, so that the drains and sources of the fifth and second, third and sixth, and first and fourth field-effect transistors are turned on and off alternately, thereby driving the brushless motor.

5. The brushless motor drive controller for automatically detecting and matching brushless motor parameters according to claim 4, comprising a drive circuit, wherein the drive circuit includes a microcontroller, a 6th transistor, a 7th transistor, an 8th transistor, multiple capacitors, and multiple resistors, characterized in that, The microcontroller's pin 1 is connected to the IR terminal to receive remote control signals from the controller; pins 2 to 7 are connected to PWM1 to PWM6 terminals respectively; pin 8 is connected in parallel with capacitor 15 and the VCC terminal; pin 9 is grounded; pin 10 is connected in parallel with one end of capacitor 5 and the 5V power supply terminal; pin 12 is connected to one end of capacitor 16; the other ends of capacitor 5, capacitor 15, and capacitor 16 are connected in parallel to ground; pin 20... The pin is connected to the AOP terminal, which is connected to one end of the 4th resistor; the other end of the 4th resistor is connected in parallel with one end of the RS3 resistor, one end of the RS2 resistor, and one end of the RS5 resistor, and then connected to the I_SHUNT terminal; the other ends of the RS3, RS2, and RS5 resistors are connected in parallel to ground and then in parallel to one end of the 5th resistor; the other end of the 5th resistor is connected to the AOM terminal; the PWM1 terminal is connected to one end of the 1st resistor, the other end of the 1st resistor is connected to the 4th pin of the 6th transistor, the 3rd pin of the 6th transistor is connected to the VCC terminal, P The WM4 terminal is connected to one end of the second resistor, the other end of the second resistor is connected to pin 2 of the sixth transistor, pin 1 of the sixth transistor is connected to the I_SHUNT terminal, and pins 5, 6, 7, and 8 of the sixth transistor are connected in parallel to the motor's A-phase terminal; the PWM2 terminal is connected to one end of the sixth resistor, the other end of the sixth resistor is connected to pin 4 of the seventh transistor, pin 3 of the seventh transistor is connected to the VCC terminal, the PWM5 terminal is connected to one end of the seventh resistor, the other end of the seventh resistor is connected to pin 2 of the seventh transistor, and pin 1 of the seventh transistor is connected to the I_SHUNT terminal. The 5th, 6th, 7th, and 8th pins of transistor 7 are connected in parallel to the B-phase terminal of the motor; the PWM3 terminal is connected to one end of resistor 3, the other end of resistor 3 is connected to pin 4 of transistor 8, pin 3 of transistor 8 is connected to VCC terminal, the PWM6 terminal is connected to one end of resistor 20, the other end of resistor 20 is connected to pin 2 of transistor 8, pin 1 of transistor 8 is connected to I_SHUNT terminal, and the 5th, 6th, 7th, and 8th pins of transistor 8 are connected in parallel to the C-phase terminal of the motor. By controlling the conduction and cutoff of the transistors, the motor parameters can be measured.

6. A fan controller, characterized in that, The fan controller performs the method of automatically detecting and matching brushless motor parameters as described in claim 1, or the fan controller is composed of the brushless motor drive controller of automatically detecting and matching brushless motor parameters as described in claims 2 to 5.

Citation Information

Patent Citations

  • Brushless motor adaptive driving system and driving method

    CN117713629A

  • Control method matched with various kinds of direct current brushless motor drive programs

    CN103780173A

  • Static parameter identification method for asynchronous motor

    CN117749012A