A brushless DC motor square wave control method and system
By using Lagrange interpolation and phase compensation technology, the problem of commutation lag in brushless DC motors was solved, achieving more efficient motor control, avoiding downtime risks, and improving motor efficiency and torque stability.
Patent Information
- Application Number
- CN202410322100.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-20
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-03-20
AI Technical Summary
Existing brushless DC motors suffer from commutation lag when detecting the floating reverse electromotive force voltage to determine the zero-crossing point, leading to reduced motor efficiency or even shutdown.
The Lagrange interpolation method is used to perform linear regression on the voltage at the floating phase terminals. Combined with phase compensation, the accurate commutation time point is obtained, and the commutation operation is performed by controlling the PWM signal.
It improves commutation accuracy, makes the motor run more smoothly, avoids shutdowns caused by loss of synchronism, and improves motor efficiency and output torque stability.
Smart Images

Figure CN118137894B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of brushless DC motor control, and in particular to a brushless DC motor control method and system. Background Art
[0002] In the field of sensorless drive technology for brushless DC motors, the operation process of brushless DC motors includes rotor positioning, open-loop startup, and closed-loop operation stages. In the prior art, the commutation operation is generally performed by detecting the voltage of the suspended back electromotive force to determine whether it crosses zero. Specifically, the ADC module is used to sample the phase voltage of the suspended phase of the brushless DC motor once in each PWM (pulse width modulation) control cycle, and then the result is compared with the reference voltage to determine whether a zero point has occurred. Since the back electromotive force is only sampled in the PWM-ON stage (the stage where the switch circuit is turned on), the phase is immediately changed when it is determined that a zero point has occurred. If the zero point occurs in the PWM-OFF stage (the stage where the switch circuit is turned off), the phase change will be delayed, especially when the PWM period is reduced during the commutation period during high-speed operation. The delayed commutation of the back electromotive force will cause a commutation delay, resulting in reduced motor efficiency and even loss of step, causing shutdown.
[0003] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0004] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a brushless DC motor control method and system to solve the problem that in the existing scheme of detecting the voltage of the suspended phase electromotive force to determine whether it passes through zero to perform commutation operation, if the zero crossing point is not in the sampling area, the commutation time point is delayed, which leads to reduced motor efficiency or even shutdown.
[0005] The technical solution of the present invention is as follows:
[0006] A brushless DC motor control method, comprising:
[0007] Acquire the three-phase terminal voltage of the brushless DC motor, wherein the three-phase terminal voltage includes a suspended phase terminal voltage and a non-suspended phase terminal voltage;
[0008] The simulated midpoint voltage is obtained according to the non-floating phase terminal voltage;
[0009] A linear regression back electromotive force curve is obtained by performing a linear regression on the suspended phase terminal voltage according to the Lagrange interpolation method, and a phase compensation is performed on the suspended phase terminal voltage to obtain a compensated back electromotive force curve;
[0010] Obtaining a commutation time point according to the simulated midpoint voltage and the compensated back electromotive force curve;
[0011] The output PWM signal is controlled according to the switching time point.
[0012] According to a further configuration of the present invention, the step of performing linear regression on the suspended phase terminal voltage according to the Lagrange interpolation method comprises:
[0013] Get the back electromotive force constant of the brushless DC motor;
[0014] The three-way back electromotive force of the brushless DC motor is obtained according to the back electromotive force constant.
[0015] According to a further configuration of the present invention, the step of performing linear regression on the suspended phase terminal voltage according to the Lagrange interpolation method to obtain a linear regression back electromotive force curve further includes:
[0016] The influence factor of the high-order component is adjusted according to the influence factor obtained by the acceleration to filter the three-phase back electromotive force to obtain the three-phase line back electromotive force;
[0017] Among them, within one electrical cycle, the zero crossing points of the back electromotive force of the three-phase lines are π / 6, π / 2, 5π / 6, 7π / 6, 3π / 2, and 11π / 6, respectively, and the zero crossing points lag behind the back electromotive force zero crossing point by an electrical angle of π / 6.
[0018] According to a further configuration of the present invention, the step of performing linear regression on the suspended phase terminal voltage according to the Lagrange interpolation method to obtain a linear regression back electromotive force curve further includes:
[0019] The linear regression back electromotive force curve is obtained by multiplying the back electromotive force of each three-phase line with the Lagrangian basis function and summing them up. The expression of the Lagrangian basis function is:
[0020]
[0021] The expression of the linear regression back EMF curve is:
[0022]
[0023] According to a further configuration of the present invention, the step of performing phase compensation on the suspended phase terminal voltage to obtain a compensated back electromotive force curve comprises:
[0024] A compensated back-electromotive force curve is obtained according to the linear regression back-electromotive force curve, the adjustable weight value and the acceleration influence factor.
[0025] According to a further configuration of the present invention, the three-way back electromotive force sampling values have an even number, and the acceleration influencing factor is the ratio of the duty cycle of the middle three-way back electromotive force sampling value to the duty cycle of the currently sampled three-way back electromotive force sampling value.
[0026] According to a further configuration of the present invention, the back electromotive force curve is expressed as:
[0027]
[0028] Where yi represents the back electromotive force value of the i-th sampling point, L(i) represents the Lagrangian basis function, and K(i) represents the weight value of the i-th sampling point. represents the acceleration influence factor, and h represents the intermediate sampling point.
[0029] According to a further configuration of the present invention, the output PWM signal is controlled according to the commutation time point and further comprises:
[0030] The duty cycle of the PWM signal is adjusted according to the speed and current of the brushless DC motor.
[0031] A brushless DC motor control system based on the brushless DC motor control method described above comprises: a terminal voltage sampling unit, a midpoint simulation unit, a back electromotive force fitting unit and a control unit; wherein,
[0032] The terminal voltage sampling unit is used to obtain the three-phase terminal voltage of the brushless DC motor;
[0033] The midpoint simulation unit is used to obtain a simulated midpoint voltage according to the non-suspended phase terminal voltage;
[0034] The back electromotive force fitting unit is used to perform linear regression on the suspended phase terminal voltage according to the Lagrange interpolation method, and to perform phase compensation on the suspended phase terminal voltage to obtain a back electromotive force curve, and is also used to obtain a switching time point according to the simulated midpoint voltage and the back electromotive force curve;
[0035] The control unit is used to control the output PWM signal according to the commutation time point.
[0036] According to a further configuration of the present invention, the brushless DC motor control system further comprises a low-pass filtering unit, and the low-pass filtering unit is used to filter the three-phase terminal voltage.
[0037] The present invention provides a brushless DC motor control method and system, the method includes obtaining the three-phase terminal voltage of the brushless DC motor, wherein the three-phase terminal voltage includes the suspended phase terminal voltage and the non-suspended phase terminal voltage; obtaining a simulated midpoint voltage according to the non-suspended phase terminal voltage; performing linear regression on the suspended phase terminal voltage according to the Lagrange interpolation method to obtain a linear regression back electromotive force curve, and performing phase compensation on the suspended phase terminal voltage to obtain a compensated back electromotive force curve; obtaining a commutation time point according to the simulated midpoint voltage and the compensated back electromotive force curve; and controlling the output PWM signal according to the commutation time point. The present invention uses the Lagrange interpolation method to perform linear regression on the square wave electromotive force, and further performs phase compensation on the suspended phase terminal voltage to restore the back electromotive force curve, and then combines the midpoint simulation value obtained by the obtained real-time non-suspended phase terminal voltage to obtain an accurate commutation time point, and can also estimate the value of the back electromotive force in the PWM-OFF stage to control the PWM signal output, thereby improving the commutation accuracy, improving the motor efficiency, and avoiding the shutdown caused by loss of step. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary personnel in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0039] Figure 1 It is a flow chart of the brushless DC motor control method in the present invention.
[0040] Figure 2 It is a working principle diagram of the brushless DC motor control method in the present invention.
[0041] Figure 3 It is a comparison diagram of the fitted back electromotive force waveform curve and the actual back electromotive force waveform curve in one embodiment of the present invention.
[0042] Figure 4 It is a principle block diagram of the brushless DC motor control system in the present invention.
[0043] Figure 5 It is a sampling waveform diagram of the back electromotive force in the automobile oil pump embodiment.
[0044] The symbols in the accompanying drawings are: 100, terminal voltage sampling unit; 200, low-pass filtering unit; 300, back electromotive force fitting unit; 400, control unit; 500, midpoint simulation unit. DETAILED DESCRIPTION
[0045] The present invention provides a brushless DC motor control method and system. In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0046] In the embodiments and the scope of the patent application, unless the text specifically defines the article, "a", "an", "the" and "the" may also include plural forms. If there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features.
[0047] It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when an element is said to be "connected" or "coupled" to another element, it can be directly connected or coupled to the other element, or there can also be intermediate elements. In addition, the "connection" or "coupling" used herein can include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0048] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as herein.
[0049] In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0050] Please also see Figures 1 to 4 , the present invention provides a preferred embodiment of a brushless DC motor control method.
[0051] In some embodiments, Figure 1 and Figure 2As shown, the present invention provides a brushless DC motor control method, which includes the steps of:
[0052] S100, obtaining three-phase terminal voltages of a brushless DC motor, wherein the three-phase terminal voltages include a suspended phase terminal voltage and a non-suspended phase terminal voltage;
[0053] S200, obtaining a simulated midpoint voltage according to the non-suspended phase terminal voltage;
[0054] S300, performing linear regression on the suspended phase terminal voltage according to the Lagrange interpolation method to obtain a linear regression back electromotive force curve, and performing phase compensation on the suspended phase terminal voltage to obtain a compensated back electromotive force curve;
[0055] S400, obtaining a commutation time point according to the simulated midpoint voltage and the compensated back electromotive force curve;
[0056] S500: Control the output PWM signal according to the commutation time point.
[0057] Specifically, firstly, the three-phase terminal voltage of the brushless DC motor is collected and cached (the cached data is discrete sampling data). The three-phase terminal voltage of the brushless DC motor includes the U-phase terminal voltage Ua, the V-phase terminal voltage Ub, and the W-phase terminal voltage Uc. During the commutation process, one of the phases is a suspended phase, and the non-suspended phase terminal voltage is the actual bus voltage. The simulated midpoint voltage, i.e., Ubus / 2, can be obtained by real-time detection of the non-suspended phase terminal voltage. Subsequently, the suspended phase terminal voltage is linearly regressed according to the Lagrange interpolation method to obtain a linear regression back electromotive force curve, and the suspended phase terminal voltage is phase compensated to obtain a compensated back electromotive force curve. Then, the detected simulated midpoint voltage is combined with the compensated back electromotive force curve to obtain an accurate commutation time point, and by judging whether the currently estimated back electromotive force is a zero crossing point, if so, a commutation operation is performed, and a PWM signal is output to control the operation of the brushless DC motor. In some embodiments, when sampling a fixed PWM-ON percentage, a fixed delay may be performed before sampling to avoid high-frequency excitation of the switching signal, so that the sampled value is more stable.
[0058] For the existing technical solution that uses threshold value comparison and considers the comparison as zero crossing point when successful, the present invention adopts Lagrange interpolation method to perform linear regression on square wave electromotive force, and further performs phase compensation on the suspended phase terminal voltage to restore the back electromotive force curve, and then obtains the midpoint analog value obtained by combining the real-time non-suspended phase terminal voltage to obtain an accurate commutation time point, and can also estimate the value of the back electromotive force in the PWM-OFF stage to control the PWM signal output, thereby improving the commutation accuracy, making the motor run more smoothly, and the output torque of the motor more stable. The maximum effective working time is maintained in each cycle under different speed cycles, thereby improving the motor efficiency and avoiding the shutdown caused by loss of step. At the same time, it is not easy to fail to start due to commutation lag during low-speed startup, and it is not easy to shut down due to commutation advance during high-speed operation.
[0059] In some embodiments, the step of performing linear regression on the floating phase terminal voltage according to the Lagrange interpolation method includes:
[0060] S310, obtaining the back electromotive force constant of the brushless DC motor;
[0061] S320, obtaining the three-way back electromotive force of the brushless DC motor according to the back electromotive force constant.
[0062] Specifically, by obtaining the back electromotive force constant E of the brushless DC motor, the three-phase back electromotive force e of the brushless DC motor can be obtained. a 、e b 、e c , the expression of three-way back electromotive force is as follows:
[0063] e a =E(sinωt+k, sin 3ωt+k, sin 5ωt+....)
[0064] e b =E(sin(ωt-2π / 3)+k, sin 3(ωt-2π / 3)+k sin 5(ωt-2π / 3)+…)
[0065] e c =E(sin(ωt+2π / 3)+k sin 3(t+2 / 3)+k, sin 5(ωt+2π / 3)+...);
[0066] Among them, e a 、e b 、e c is the back EMF of the three-phase stator, ω is the angular frequency of motor resonance, and k is the number of odd harmonics in the back EMF waveform.
[0067] In some embodiments, the step of performing linear regression on the floating phase terminal voltage according to the Lagrange interpolation method further includes:
[0068] S330. Adjust the influence factor of the high-order component according to the influence factor obtained from the acceleration to filter the three-phase back electromotive force to obtain the three-phase line back electromotive force; wherein, within one electrical cycle, the zero-crossing points of the three-phase line back electromotive force are π / 6, π / 2, 5π / 6, 7π / 6, 3π / 2, and 11π / 6, respectively, and the zero-crossing points lag behind the back electromotive force zero-crossing point by an electrical angle of π / 6.
[0069] Specifically, when the brushless DC motor is accelerating, the linear regression function obtained at this time is prone to overfitting, so the influence factor obtained by acceleration is used to adjust the influence factor of the high-order component to perform data filtering. In specific implementation, high-order harmonics are ignored and the expression of the three-phase back electromotive force is simplified to obtain the three-phase line back electromotive force, which is expressed as follows:
[0070]
[0071] Among them, e ac 、e ba 、e cb represents the line back electromotive force of the three-phase stator, E is the back electromotive force constant of the brushless DC motor, and ω is the angular frequency of the motor resonance. In one electrical cycle, the zero crossing points of the three-phase line back electromotive force are π / 6, π / 2, 5π / 6, 7π / 6, 3π / 2, and 11π / 6, respectively. This group of zero crossing points lags behind the back electromotive force zero crossing point by an electrical angle of π / 6, and is therefore in phase with the stator current commutation point. It can be concluded that the phase of the three-phase line back electromotive force zero crossing point is the phase of the motor commutation point.
[0072] In some embodiments, the step of performing linear regression on the suspended phase terminal voltage according to the Lagrange interpolation method to obtain a linear regression back electromotive force curve further includes:
[0073] S340, multiplying the back electromotive force of each three-phase line by the Lagrange basis function and summing them up to obtain an estimated back electromotive force.
[0074] Specifically, the Lagrangian basis function is first constructed, and its expression is:
[0075]
[0076] Among them, L(i) is an intermediate constructor, Xi represents the variable X value of sampling point i, that is, it represents time, and Xj represents the time value of other sampling points.
[0077] Multiply each sampled value by the Lagrange basis function and sum them to get the linear regression back EMF curve, whose polynomial expression is:
[0078]
[0079] Where yi represents the back electromotive force value at the i-th sampling point, and L(i) represents the Lagrangian basis function.
[0080] In some embodiments, the step of performing phase compensation on the floating phase terminal voltage to obtain a compensated back electromotive force curve includes:
[0081] S350, obtaining a compensated back-electromotive force curve according to the linear regression back-electromotive force curve, the adjustable weight value, and the acceleration influence factor.
[0082] Specifically, since the back EMF is proportional to the bus voltage, and the bus voltage is proportional to the duty cycle of the PWM signal, when the PWM changes, the back EMF curve will change, and the expectation at the next moment will be less affected by the initial sampling value, so the correlation of these sampling points needs to be adjusted.
[0083] Among them, the sampling values of the three-way back electromotive force have an even number, such as 2, 4, 8, and 10. Generally speaking, it is more reasonable to have 8 sampling points, so that the data processing time will not be too long, and the fitting accuracy is also high. This embodiment is explained by taking 8 sampling points as an example. Because the sampling value near the zero point will be latched only after the sampling value crosses the zero point, it is necessary to add a weight value to the Lagrangian basis function. In addition, because the duty cycle is proportional to the back electromotive force, the back electromotive force needs to be corrected. Accordingly, each item needs to be multiplied by an acceleration influence factor, wherein the acceleration influence factor is the ratio of the duty cycle of the middle three-way back electromotive force sampling value to the duty cycle of the current sampling three-way back electromotive force sampling value. The expression of the compensation back electromotive force curve is:
[0084]
[0085] Where yi represents the back electromotive force value of the i-th sampling point, L(i) represents the Lagrangian basis function, and K(i) represents the weight value of the i-th sampling point. Indicates the acceleration influence factor, h indicates the sampling point closest to the current zero-crossing point, and when there are 8 sampling points, h is 4. Figure 3 As shown, the green curve is the actual back electromotive force waveform curve, and the black straight line is the fitted back electromotive force waveform curve. Figure 3 It can be seen that the blue zero-crossing point is very close to the actual zero-crossing point, that is, the zero-crossing point obtained by the back-EMF regression curve is very close to the actual value.
[0086] In some embodiments, controlling the output PWM signal according to the commutation time point further includes:
[0087] S410 , adjusting the duty cycle of the PWM signal according to the speed and current of the brushless DC motor.
[0088] Specifically, after obtaining the accurate commutation time point, the output PWM signal can be controlled, and the duty cycle of the PWM signal can be adjusted according to the speed and driving current of the brushless DC motor.
[0089] In some embodiments, the present invention further provides a brushless DC motor control system based on the brushless DC motor control method described above, such as Figure 4 As shown, it includes: a terminal voltage sampling unit 100, a low-pass filtering unit 200, a midpoint simulation unit 500, a back electromotive force fitting unit 300 and a control unit 400. Among them, the terminal voltage sampling unit 100 is used to obtain the three-phase terminal voltage of the brushless DC motor; the low-pass filtering unit 200 is used to filter the three-phase terminal voltage; the midpoint simulation unit 500 is used to obtain a simulated midpoint voltage according to the non-suspended phase terminal voltage; the back electromotive force fitting unit 300 is used to perform linear regression on the suspended phase terminal voltage according to the Lagrange interpolation method to obtain a linear regression back electromotive force curve, and perform phase compensation on the suspended phase terminal voltage to obtain a compensated back electromotive force curve, and is also used to obtain a switching time point according to the simulated midpoint voltage and the compensated back electromotive force curve; the control unit 400 is used to control the output PWM signal according to the switching time point.
[0090] Specifically, the terminal voltage sampling unit is connected to the low-pass filtering unit, the low-pass filtering unit is connected to the back electromotive force fitting unit, the midpoint simulation unit is connected to the back electromotive force fitting unit, and the back electromotive force fitting unit is connected to the control unit. After the terminal voltage sampling unit samples the three-phase terminal voltages Ua, Ub, and Uc of the brushless DC motor, it is filtered by the low-pass filtering unit and then input into the back electromotive force fitting unit. The midpoint simulation unit determines which of the three-phase voltages of the brushless DC motor is a non-suspended phase, and obtains a simulated midpoint voltage according to the non-suspended phase terminal voltage, and inputs it into the back electromotive force fitting unit. The back electromotive force fitting unit performs linear regression on the suspended phase terminal voltage according to the Lagrange interpolation method to obtain a linear regression back electromotive force curve, and performs phase compensation on the suspended phase terminal voltage to obtain a compensated back electromotive force curve, and then further obtains the switching time point according to the simulated midpoint voltage and the compensated back electromotive force curve. After the commutation time point is obtained, it is determined whether the current back electromotive force is a zero-crossing point. If so, the output PWM signal is controlled, and the duty cycle of the PWM signal can be adjusted according to the speed and drive current of the brushless DC motor.
[0091] The present invention is described below by taking an automobile oil pump as an example:
[0092] The square wave controlled brushless DC motor in the oil pump has limited size and low power, so it is better to use square wave control. In the square wave control, the zero-point commutation is directly compared with the traditional method. Since the sampling points are discrete and limited, the commutation will be delayed and cause loss of step. This embodiment makes the commutation more accurate and efficient, and improves the motor efficiency and load capacity. First, establish a reasonable coordinate system: Compared with the traditional speed regulation scheme, this embodiment uses TIM3 as the time reference of the event, so that the commutation event and the sampling event can be unified on a time axis, and a unified coordinate system can be established to facilitate the subsequent interpolation function of the back electromotive force to approximate the real back electromotive force function. In this embodiment, taking two sampling points as an example, the 0th order difference method is used during the back electromotive force commutation period: the sampling value of the back electromotive force climbing is obtained in the suspended phase, and after the zero crossing point is obtained, the nearest neighbor interpolation method is first used to calculate the commutation once, and S = (X-XO) / (X1-XO), Z = (X-X1) / (XO-X1)YO+S*Y1; Z = (1-S)YO+S*Y1, which is equivalent to the 0th order expression of Lagrange interpolation, given by Figure 5 It can be seen that the zero-crossing time of the interpolation calculation is the sampling point time of the back electromotive force (BEMF) this time:
[0093]
[0094] Among them, T ZC Indicates the zero-crossing time of the interpolation calculation, T ADC Indicates the back electromotive force sampling time, BEMF T Indicates the back electromotive force of this back electromotive force, BEMF T-1 represents the back EMF at the last back EMF sampling time, DCBUS / 2 represents the midpoint analog value, T PWM Represents a PWM signal cycle.
[0095] Compared with the traditional speed regulation scheme, the zero crossing point of this embodiment is more accurate, and there is no lag in calculating the commutation time.
[0096] In summary, the brushless DC motor control method and system provided by the present invention have the following beneficial effects:
[0097] Noise filtering and phase compensation are added to the square wave drive of the inductive motor to establish a smooth and continuous back-electromotive force function, which makes the motor commutation more precise, the motor operation more stable, and the motor output torque more stable. The maximum effective working time is maintained in each cycle at different speeds, and the shutdown caused by loss of step is avoided. This method can stably replace the inductive control solution to save application costs.
[0098] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A brushless DC motor control method, characterized in that: include: Acquire the three-phase terminal voltage of the brushless DC motor, wherein the three-phase terminal voltage includes a suspended phase terminal voltage and a non-suspended phase terminal voltage; The simulated midpoint voltage is obtained according to the non-floating phase terminal voltage; A linear regression back electromotive force curve is obtained by performing a linear regression on the suspended phase terminal voltage according to the Lagrange interpolation method, and a phase compensation is performed on the suspended phase terminal voltage to obtain a compensated back electromotive force curve; Obtaining a commutation time point according to the simulated midpoint voltage and the compensated back electromotive force curve; Controlling the output PWM signal according to the commutation time point; The step of performing linear regression on the suspended phase terminal voltage according to the Lagrange interpolation method to obtain a linear regression back electromotive force curve comprises: Get the back electromotive force constant of the brushless DC motor; Obtaining three-dimensional back electromotive force of the brushless DC motor according to the back electromotive force constant; The step of performing linear regression on the suspended phase terminal voltage according to the Lagrange interpolation method to obtain a linear regression back electromotive force curve also includes: Adjusting the influence factor obtained according to the acceleration to filter the three-phase back electromotive force to obtain the three-phase line back electromotive force; Among them, in one electrical cycle, the zero crossing points of the back electromotive force of the three-phase line are π / 6, π / 2, 5π / 6, 7π / 6, 3π / 2, and 11π / 6 respectively, and the zero crossing points lag behind the zero crossing point of the back electromotive force by an electrical angle of π / 6; The step of performing linear regression on the suspended phase terminal voltage according to the Lagrange interpolation method to obtain a linear regression back electromotive force curve also includes: The linear regression back electromotive force curve is obtained by multiplying the back electromotive force of each three-phase line with the Lagrangian basis function and summing them up. The expression of the Lagrangian basis function is: Where L(i) represents the Lagrangian basis function, X represents the variable, Xi represents the variable X value of sampling point i, that is, represents time, Xj represents the time value of other sampling points, and n represents the number of sampling points; The expression of the linear regression back EMF curve is: Wherein, p(x) represents the linear regression back electromotive force curve function, yi represents the back electromotive force value of the i-th sampling point, and n represents the number of sampling points.
2. The brushless DC motor control method according to claim 1, characterized in that: The step of performing phase compensation on the suspended phase terminal voltage to obtain a compensated back electromotive force curve comprises: A compensated back-electromotive force curve is obtained according to the linear regression back-electromotive force curve, the adjustable weight value and the acceleration influence factor.
3. The brushless DC motor control method according to claim 2, characterized in that: The sampling values of the three-phase back electromotive force have an even number, and the acceleration influencing factor is the ratio of the duty cycle of the three-phase back electromotive force sampling value at the middle sampling point to the duty cycle of the current three-phase back electromotive force sampling value.
4. The brushless DC motor control method according to claim 3, characterized in that: The expression of the compensation back electromotive force curve is: Where yi represents the back electromotive force value of the i-th sampling point, L(i) represents the Lagrangian basis function, and K(i) represents the weight value of the i-th sampling point. represents the acceleration influence factor, h represents the intermediate sampling point, and n represents the number of sampling points.
5. The brushless DC motor control method according to claim 1, characterized in that: The controlling the output PWM signal according to the commutation time point further comprises: The duty cycle of the PWM signal is adjusted according to the speed and current of the brushless DC motor.
6. A brushless DC motor control system based on the brushless DC motor control method according to any one of claims 1 to 5, characterized in that: include: Terminal voltage sampling unit, midpoint simulation unit, back electromotive force fitting unit and control unit; wherein, The terminal voltage sampling unit is used to obtain the three-phase terminal voltage of the brushless DC motor; The midpoint simulation unit is used to obtain a simulated midpoint voltage according to the non-suspended phase terminal voltage; The back electromotive force fitting unit is used to perform linear regression on the suspended phase terminal voltage according to the Lagrange interpolation method to obtain a linear regression back electromotive force curve, and to perform phase compensation on the suspended phase terminal voltage to obtain a compensated back electromotive force curve, and is also used to obtain a switching time point according to the simulated midpoint voltage and the compensated back electromotive force curve; The control unit is used to control the output PWM signal according to the commutation time point.
7. The brushless DC motor control system according to claim 6, characterized in that: It also includes a low-pass filtering unit, which is used to filter the three-phase terminal voltage.
