Predictive current control method for permanent magnet synchronous motor

By introducing lumped disturbance and current ripple terms into the inner loop cost function of a permanent magnet synchronous motor, and combining it with an extended-dimensional Kalman filter torque observer, the influence of model parameter mismatch and external disturbances on motor control is resolved, achieving high-precision and robust current control and ensuring stable operation of the motor under complex working conditions.

WO2026242219A1PCT designated stage Publication Date: 2026-11-26CHANGCHUN INST OF OPTICS FINE MECHANICS & PHYSICS CHINESE ACAD OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/117607
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-21
Filing Date
2025-08-28
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Traditional model predictive current control methods for permanent magnet synchronous motors suffer from significant performance degradation when faced with internal parameter mismatches and external load disturbances, especially under complex operating conditions where high-precision and robust current control is difficult to achieve.

Method used

By introducing lumped disturbance and current ripple terms into the inner-loop cost function, an adaptive law is designed to compensate for current errors caused by parameter mismatch. An extended-dimensional Kalman filter torque observer is introduced into the outer-loop torque equation to enhance robustness to external disturbances. A strong tracking design is adopted to balance robustness and tracking performance.

Benefits of technology

It achieves current tracking without steady-state error under parameter mismatch and external disturbances, reduces current jitter and total harmonic distortion, improves the robustness and control accuracy of the system, and ensures stable operation of the motor under complex working conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025117607_26112026_PF_FP_ABST
    Figure CN2025117607_26112026_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of motor control. Specifically provided is a predictive current control method for a permanent magnet synchronous motor. A lumped disturbance term and a current ripple term are introduced into a cost function of an MPCC inner loop of the permanent magnet synchronous motor, thereby improving the robustness of MPCC against parameter mismatch in inductance, permanent magnet flux linkage and resistance is improved; and a strong tracking extended Kalman filtering torque observer is designed in an outer loop, thereby alleviating the impacts of load torque disturbance and sensor measurement noise on motor control performance, and enhancing the robustness of MPCC against disturbances such as internal model parameter mismatch and external model uncertain load torque.
Need to check novelty before this filing date? Find Prior Art

Description

A predictive current control method for permanent magnet synchronous motors

[0001] This application, entitled "A Predictive Current Control Method for a Permanent Magnet Synchronous Motor," filed with the Chinese Patent Office on May 21, 2025, with application number 202510655394.2, is incorporated herein by reference in its entirety. Technical Field

[0002] This invention belongs to the field of motor control technology, and in particular relates to a predictive current control method for permanent magnet synchronous motors. Background Technology

[0003] Permanent magnet synchronous motors (PMSMs) are widely used in industry. To improve the performance and efficiency of PMSM drive systems, Model Predictive Current Control (MPCC) has become a research hotspot in the field of PMSM control due to its advantages in handling multi-objective constraints and good dynamic performance. Traditional MPCC algorithms rely on accurate model parameters. However, in actual operation of PMSMs, copper losses, iron losses, and eddy current losses in the permanent magnets cause motor temperature rise, and the permanent magnet flux linkage and stator resistance exhibit nonlinear changes with temperature. Under heavy load conditions, the load current is large, and the iron core will saturate as the current increases, leading to a gradual decrease in stator inductance. Besides the mismatch of internal parameters (inductance, permanent magnet flux linkage, and resistance) in the PMSM model, external disturbances (load torque disturbances and speed sensor measurement noise, etc.) also significantly affect the accuracy of the model. These adverse factors, both internal and external, severely impact the control performance of MPCC. Summary of the Invention

[0004] One objective of this invention is to provide a predictive current control method for permanent magnet synchronous motors (MPCCs) that can simultaneously enhance the robustness of MPCCs to disturbances such as internal model parameter mismatch and external uncertain load torque, thereby facilitating effective MPCC control of permanent magnet synchronous motors under complex external operating conditions.

[0005] To achieve the above objectives, the technical solution created by this invention is implemented as follows:

[0006] This invention provides a predictive current control method for a permanent magnet synchronous motor, comprising:

[0007] S1: Establish the cost function of the inner loop and the torque equation of the outer loop based on MPCC control;

[0008] S2: Introduce a lumped disturbance term and a current ripple term into the cost function of the inner loop. The lumped disturbance term is used to compensate for the current error caused by parameter mismatch, and the current ripple term is used to compensate for the transient error caused by the variable switching frequency. The cost function after introducing the lumped disturbance term and the current ripple term... for: ;

[0009] in, express The d-axis reference current value at time [time]. express q-axis reference current value at time t. Indicates after one-step delay compensation The predicted value of the d-axis current at time t. Indicates after one-step delay compensation The predicted value of the q-axis current at time t. express The estimated value of the lumped disturbance along the d-axis at time t. express The estimated value of the lumped perturbation on the q-axis at time t. express The compensation value for the d-axis current ripple at time t. express The compensation value for the q-axis current ripple at time t. The current limiting term;

[0010] An external disturbance is introduced into the torque equation of the outer loop, and the estimated value of the external disturbance is expanded into a state variable to construct an extended-dimensional Kalman filter torque observer. The state-space equation of the extended-dimensional Kalman filter torque observer is as follows: ;

[0011] in, Indicates system state The derivative of , This represents an estimated value of the mechanical angular velocity of the motor rotor. This represents an estimate of the uncertain load torque. This represents an estimate of the exogenous disturbance. Indicates control input, , Indicates the mechanical angular velocity of the motor rotor. Indicates the electromagnetic torque of the motor rotor. Indicates system output, Represents the system matrix. , Indicates the input control matrix. , Indicates the output control matrix. , This represents the rotor damping coefficient of the motor. This represents the moment of inertia of the motor rotor. The gain constant coefficient represents the error term of the estimate of the external disturbance.

[0012] Preferably, in S1, a cost function after one-step delay compensation is established based on MPCC control. for: .

[0013] Preferably, in S1, the torque equation of the outer loop established based on MPCC control is: ;

[0014] in, This indicates the uncertain load torque of the motor rotor.

[0015] Preferably, parameter mismatch includes inductance mismatch, flux mismatch, and resistance mismatch.

[0016] Preferably, the current error caused by parameter mismatch is: ;

[0017] in, This indicates the d-axis current error caused by parameter mismatch. This indicates the q-axis current error caused by parameter mismatch. Indicates the sampling period of the inner loop. Indicates the motor inductance. This indicates the mismatch error of the inductor. This represents the stator resistance of the motor. This indicates the resistor mismatch error. Indicates time d-axis current, Indicates time q-axis current, Indicates time d-axis voltage, Indicates time q-axis voltage, This indicates the magnetic flux linkage of the permanent magnet in the motor. This indicates the magnetic flux mismatch error. This indicates the electrical angular velocity of the motor rotor.

[0018] Preferably, based on the current error caused by parameter mismatch, the adaptive rate of the lumped disturbance term is designed as follows: ;

[0019] in, express The estimated value of the lumped disturbance along the d-axis at time t. express The estimated value of the lumped perturbation on the q-axis at time t. express The constantly updated estimate of the lumped perturbation along the d-axis. express The constantly updated estimate of the lumped perturbation along the q-axis. express The predicted value of the d-axis current at time t. express The predicted value of the q-axis current at time t. This represents the gain coefficient of the lumped disturbance term.

[0020] Preferably, the expression for the current ripple term is: ;

[0021] in, This represents the gain coefficient of the current ripple term.

[0022] Preferably, by introducing an external disturbance into the torque equation of the outer loop established in S1, the torque equation of the outer loop with the external disturbance term can be obtained as follows: ;

[0023] in, This represents an estimate of the mechanical angular velocity of the motor rotor. The derivative;

[0024] Estimates of exogenous disturbances The adaptive law is: ;

[0025] Estimate the value of exogenous disturbance Expanding it to a new dimension in the state space yields the extended-dimensional Kalman filter torque observer.

[0026] Preferably, the extended dimension Kalman filter torque observer adopts a strong tracking design.

[0027] Preferably, the strong tracking process of the extended-dimensional Kalman filter torque observer includes:

[0028] Calculate the prediction residuals for torque estimation using an extended-dimensional Kalman filter torque observer. : ;

[0029] in, express Time-based control input, express The system output at any given time, express The posterior estimated state at time 1;

[0030] For prediction residuals covariance matrix Update: ;

[0031] in, A constant between 0 and 1;

[0032] Define the fading factor for: ;

[0033] in, A constant greater than or equal to 1. This represents the process noise covariance matrix. This represents the measurement noise covariance matrix. express The posterior error covariance matrix at time 1. This represents the trace operation;

[0034] Based on fading factor The prior error covariance matrix is ​​calculated as follows: ;

[0035] in, express The prior error covariance matrix at time t;

[0036] Using the prior error covariance matrix Perform strong tracking Kalman filter iteration: ;

[0037] in, express The prior estimate of the state at time t. express The posterior estimated state at time 10:00. express Kalman gain at time step express The posterior error covariance matrix at time 1. Represents the identity matrix.

[0038] Compared with the prior art, the present invention can achieve the following beneficial effects:

[0039] This invention eliminates steady-state current errors caused by parameter mismatches in inductance, permanent magnet flux linkage, and resistance by introducing lumped disturbance and current ripple terms into the inner-loop cost function and designing corresponding adaptive laws. It also improves transient current errors caused by variable switching frequencies. Under parameter mismatch conditions, this invention achieves steady-state error-free current tracking, reduces shaft reference current jitter, and effectively reduces total harmonic distortion of the three-phase current, enabling the system to maintain precise current control even under uncertainties in internal parameter variations.

[0040] This invention employs a strong-tracking extended-dimensional Kalman filter torque observer designed in the outer loop. Errors caused by improper noise covariance matrix settings and encoder measurement noise are treated as total disturbances, and an adaptive law is designed to introduce these disturbances as a new dimension into the state variables. This enhances the robustness of the outer loop in steady state and mitigates the impact of load torque disturbances and sensor measurement noise on motor control performance. Furthermore, a fading factor is introduced through strong-tracking processing to balance the weights between robustness and tracking performance, achieving strong tracking performance for torque estimation when load torque changes abruptly.

[0041] Compared to traditional Kalman filter torque observers that assume both the process noise covariance matrix and the measurement noise covariance matrix are known, the strong-tracking extended-dimensional Kalman filter torque observer of this invention can enhance the robustness and stability of torque tracking in complex practical applications. At the same time, the strong-tracking design ensures that while the state space dimension is increased, the speed of torque tracking is also maintained. This invention introduces a fading factor to effectively balance the weight between system robustness and tracking performance. When the system is in a steady state, robustness is emphasized, while when the system is in a dynamic process after a sudden change in load torque, strong tracking performance of torque estimation is emphasized. Attached Figure Description

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

[0043] Figure 1 is a block diagram of a permanent magnet synchronous motor system using a predictive current control method for permanent magnet synchronous motors according to an embodiment of the present invention.

[0044] Figure 2 is a design flowchart of a predictive current control method for a permanent magnet synchronous motor according to an embodiment of the present invention.

[0045] Figure 3 is a comparison of the simulation results of the q-axis reference current and actual current of the traditional cost function and the improved cost function of the present invention under the parameter mismatch condition provided by the embodiment of the present invention.

[0046] Figure 4 is a comparison of the simulation results of the three-phase current waveforms of the cost function provided in the embodiment of the present invention and the improved cost function of the present invention;

[0047] Figure 5 is a comparison of the simulation results of torque estimation of various algorithms after a sudden load torque is applied, according to an embodiment of the present invention.

[0048] Figure 6 is a comparison of the torque estimation simulation results of various algorithms under parameter mismatch conditions provided by the embodiments of the present invention. Detailed Implementation

[0049] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only for explaining the invention and do not constitute a limitation thereof. Similar elements in different embodiments are referred to by associated similar element reference numerals. In the following embodiments, many details are described to facilitate a better understanding of the invention. However, those skilled in the art will readily recognize that some features may be omitted in different situations, or may be replaced by other elements, materials, or methods. In some cases, some operations related to the invention are not shown or described in the specification. This is to avoid obscuring the core parts of the invention with excessive description. For those skilled in the art, detailed description of these related operations is not necessary; they can fully understand the related operations based on the description in the specification and general technical knowledge in the art.

[0050] It should be noted that, unless otherwise specified, the embodiments and features described in this invention can be combined to form various implementations. Furthermore, the order of the steps or actions in the method description can be changed or adjusted in a manner readily apparent to those skilled in the art. Therefore, the various orders in the specification and drawings are merely for the clear description of a particular embodiment and do not imply a mandatory order, unless otherwise stated that a particular order must be followed.

[0051] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise," etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on this invention. Furthermore, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first," "second," etc., may explicitly or implicitly include one or more of that feature. In the description of this invention, unless otherwise stated, "a plurality of" means two or more.

[0052] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art will understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0053] The invention will now be described in detail with reference to the accompanying drawings and embodiments.

[0054] The invention will now be described in detail with reference to the accompanying drawings and embodiments.

[0055] In one embodiment of the present invention, a predictive current control method for a permanent magnet synchronous motor is provided, as shown in Figure 1. This method can be applied to a permanent magnet synchronous motor system for MPCC control, achieving high-precision and robust control of the permanent magnet synchronous motor under complex operating conditions. As shown in Figure 2, the specific process of predictive current control for the permanent magnet synchronous motor system is as follows:

[0056] S1: Based on the mechanism model of the permanent magnet synchronous motor (PMSM), an inner loop cost function for optimizing current control and an outer loop torque equation for observing load torque are constructed to facilitate subsequent precise control and disturbance compensation, thereby improving the performance and stability of the entire motor drive system.

[0057] First, the stator voltage equation for the inner loop of the permanent magnet synchronous motor is established as follows: (1)

[0058] in, Represents the d-axis voltage. Represents the q-axis voltage. Represents the d-axis current. Represents the q-axis current. Indicates the d-axis inductance. Indicates q-axis inductance. and The values ​​are equal in surface-mounted permanent magnet synchronous motors, therefore they will be used uniformly thereafter. express, This represents the electrical angular velocity of the motor rotor. This indicates the magnetic flux linkage of the permanent magnet in the motor. This indicates the stator resistance of the motor.

[0059] The core idea of ​​Model Predictive Current Control (MPCC) is to minimize the difference between the predicted current and the reference current by finding the minimum value of the substitution function, thereby achieving precise control of the motor current. In practical applications, to compensate for the time delay in the system, a cost function after one-step time delay compensation is established. for: (2)

[0060] in, express The d-axis reference current value at time [time]. express q-axis reference current value at time t. and It is the ideal current value calculated from the motor's control strategy. Indicates after one-step delay compensation The predicted value of the d-axis current at time t. Indicates after one-step delay compensation The predicted value of the q-axis current at time t. This indicates the current limiting term; when the phase current amplitude exceeds the limit value, Take infinity; otherwise Take 0.

[0061] For a surface-mounted permanent magnet synchronous motor, the torque equation for the outer loop based on MPCC control is: (3)

[0062] in, Indicates the electromagnetic torque of the motor rotor. This indicates the uncertain load torque of the motor rotor. Indicates the mechanical angular velocity of the motor rotor. This represents the rotor damping coefficient of the motor. This represents the moment of inertia of the motor rotor.

[0063] Because of the close coupling between the outer and inner loops, uncertain load torque disturbances in the outer loop directly affect the current control accuracy and dynamic performance of the inner loop. A sudden increase in load torque can cause a momentary surge in motor current, triggering overcurrent protection or affecting the motor's stable operation. Therefore, to improve the robustness and control accuracy of the motor drive system, it is necessary to monitor the load torque in real time and compensate for it in the control strategy, thereby achieving precise motor control and stable operation. Accurate estimation of the load torque can provide valuable feedforward information for the inner loop current control, optimizing the performance of the entire control system.

[0064] S2: For the cost function of the inner loop, a lumped disturbance term and a current ripple term are introduced to improve the robustness of the MPCC to parameter mismatches in inductance, permanent magnet flux linkage, and resistance, enabling the control system to maintain high-performance operation under parameter deviations. Specifically, in actual motor control systems, the motor parameters (such as inductance, permanent magnet flux linkage, and resistance) used by the controller often have a certain mismatch error with the actual physical parameters of the motor. Parameter mismatch will cause steady-state errors in the model, affecting the accuracy and stability of motor control. The current error caused by parameter mismatch can be expressed as:

[0065] (4)

[0066] in, This indicates the d-axis current error caused by parameter mismatch. This indicates the q-axis current error caused by parameter mismatch. Indicates the sampling period of the inner loop. Indicates the motor inductance. This indicates the mismatch error of the inductor. This represents the stator resistance of the motor. This indicates the resistor mismatch error. Indicates time d-axis current, Indicates time q-axis current, Indicates time d-axis voltage, Indicates time q-axis voltage, This indicates the magnetic flux linkage of the permanent magnet in the motor. This indicates the mismatch error of the magnetic flux linkage.

[0067] To address the current steady-state error problem caused by the aforementioned parameter mismatch, this embodiment of the invention treats the current error caused by the mismatch as a lumped disturbance, and designs an adaptive rate for this lumped disturbance as follows: (5)

[0068] in, express The estimated value of the lumped disturbance along the d-axis at time t. express The estimated value of the lumped perturbation on the q-axis at time t. express The constantly updated estimate of the lumped perturbation along the d-axis. express The constantly updated estimate of the lumped perturbation along the q-axis. express The predicted value of the d-axis current at time t. express The predicted value of the q-axis current at time t. This represents the gain coefficient of the lumped disturbance term. (The question mark at the end indicates the missing information.) Its adaptive law is designed as follows: (6)

[0069] in, This represents the gain coefficient to be tuned. The maximum allowed value, and It is a constant coefficient between 0 and 1. Indicates the given angular velocity of the motor. This represents the angular velocity measured by the encoder in the motor system, reflecting the relationship between the actual operating speed and the desired speed of the motor. The relative error representing the angular velocity characterizes the degree of deviation in motor speed. By compensating for the lumped disturbances of the d-axis and q-axis in the cost function, the steady-state current error caused by the mismatch of inductance, permanent magnet flux linkage, and resistance parameters can be avoided from the model.

[0070] For the gain coefficient of the lumped disturbance term Through the aforementioned adaptive law, the gain coefficient can be dynamically adjusted according to the magnitude of the relative error of angular velocity. The closer the gain coefficient is to 0, meaning the closer the motor speed is to the given value, the closer the gain coefficient is to its maximum allowable value, thus enhancing the disturbance compensation capability; conversely, when the relative error of the angular velocity is greater... When the gain is large, the gain coefficient should be appropriately reduced to avoid overcompensation that could cause system oscillations.

[0071] Besides the steady-state error caused by parameter mismatch, actual motor control systems also suffer from transient current errors, i.e., current ripple, caused by the variable switching frequency. Current ripple reduces the smoothness of motor operation, affects control accuracy, and may even lead to additional motor losses and overheating. To effectively suppress current ripple, this embodiment of the invention introduces a current ripple term into the cost function of the inner loop. The expression for the current ripple term is: (7)

[0072] in, express The compensation value for the d-axis current ripple at time t. express The compensation value for the q-axis current ripple at time t. The gain coefficient representing the current ripple term is used in the design. The adaptive law is: (8)

[0073] in, This represents the gain coefficient to be tuned. The maximum allowable value. From the above formula, it can be seen that the current ripple term gain... and lumped disturbance term gain The adaptive laws have the same expression form, but different allowable extreme values. The designed adaptive law can limit the rate of change of the gain coefficient and the relative error of the angular velocity in a nonlinear way. The closer the gain coefficient is to 0, the closer it is to the maximum allowable value.

[0074] After introducing the lumped disturbance term and the current ripple term into the cost function, the cost function... It can be rewritten as:

[0075] (9)

[0076] It should be noted that the cost function designed in this embodiment of the invention can effectively improve the problem of poor robustness of traditional MPCC to internal model parameters. First, a lumped disturbance term is introduced to eliminate the steady-state error of current caused by parameter mismatch. Second, a current ripple term is introduced to improve the transient error of current caused by the variable switching frequency. Considering the limitations of hardware computing speed in actual implementation, this invention designs both the lumped disturbance term and the current ripple term as incremental terms, iterating on the previous calculation for each calculation, avoiding recalculation and effectively ensuring the speed of cost function calculation. Finally, this invention designs an adaptive law for the gain coefficients in the lumped disturbance term and the current ripple term, so that these two terms only play a role when the relative error of the angular velocity falls within a certain range, effectively avoiding the overshoot phenomenon of compensation that may be caused when the motor starts or stops or when the given angular velocity changes abruptly.

[0077] The parameter mismatch in the inner loop has been addressed above. However, factors such as uncertain load torque disturbances in the outer loop, encoder measurement noise, and internal system process noise can all affect the reference current output. Traditional Kalman filter torque observers assume that both the process noise covariance matrix and the measurement noise covariance matrix are known. However, in complex practical applications, inappropriate noise settings will prevent the Kalman filter from guaranteeing its performance. Therefore, this embodiment of the invention also introduces external disturbances into the torque equation of the outer loop and considers errors caused by improper noise covariance matrix settings and encoder measurement noise as external disturbances. Therefore, by introducing an external disturbance into the torque equation of the outer loop established in S1, the torque equation of the outer loop with the external disturbance term can be obtained as follows: (10)

[0078] in, This represents an estimate of the mechanical angular velocity of the motor rotor. The derivative of This represents an estimate of the uncertain load torque and an estimate of the design external disturbance. The adaptive law is: (11)

[0079] in, The gain constant represents the error term of the estimate of the exogenous disturbance.

[0080] Estimate the value of exogenous disturbance Expanding to a new dimension in the state space, we obtain the extended-dimensional Kalman filter torque observer as follows: (12)

[0081] in, Indicates system state The derivative of , This represents an estimated value of the mechanical angular velocity of the motor rotor. This represents an estimate of the uncertain load torque. This represents an estimate of the exogenous disturbance. Indicates control input, , Indicates the mechanical angular velocity of the motor rotor. Indicates the electromagnetic torque of the motor rotor. Indicates system output, Represents the system matrix. , Indicates the input control matrix. , Indicates the output control matrix. .

[0082] Introducing the estimated total disturbance as a new dimension into the state variables enhances the robustness and stability of torque tracking. However, the increased state space dimension also weakens the speed of torque tracking. To resolve this contradiction, this embodiment of the invention performs strong tracking processing on the expanded-dimensional Kalman filter model. The core idea is to dynamically balance the weights of historical and new data based on the real-time state of the system during torque estimation. The specific implementation steps are as follows:

[0083] Calculate the prediction residuals for torque estimation using an extended-dimensional Kalman filter torque observer. :

[0084] (13)

[0085] in, express Time-based control input, express The system output at any given time, express The posterior estimated state at time 1;

[0086] For prediction residuals covariance matrix Update:

[0087] (14)

[0088] in, A constant between 0 and 1;

[0089] Define the fading factor for:

[0090] (15)

[0091] in, A constant greater than or equal to 1, used to adjust the lower limit of the fading factor. This represents the process noise covariance matrix. This represents the measurement noise covariance matrix. express The posterior error covariance matrix at time 1. This represents the trace operation.

[0092] Based on fading factor The prior error covariance matrix is ​​calculated as follows:

[0093] (16)

[0094] in, express The prior error covariance matrix at time t.

[0095] Using the prior error covariance matrix Perform strong tracking Kalman filter iteration:

[0096] (17)

[0097] in, express The prior estimate of the state at time t. express The posterior estimated state at time 10:00. express The Kalman gain at time step 1 measures the degree to which the innovation affects the state estimation. express The posterior error covariance matrix at time t reflects the uncertainty of the state estimation. Represents the identity matrix.

[0098] After each iteration, an estimated value of the load torque disturbance at the current moment can be output. When the system is in steady-state operation, the predicted residual is... Smaller, at this time By setting the lower limit to 1, and without introducing strong tracking effects, the focus is primarily on the system's robustness, ensuring effective resistance to various disturbances and noise under stable operating conditions. However, when the load torque undergoes a sudden change, the prediction residual... The value will change abruptly, at which point... A value greater than 1 indicates that the weight of the new information is increased, and more emphasis will be placed on strong tracking performance. This allows for rapid response to changes in load torque, timely adjustment of the system's control strategy, and ensures stable operation of the motor.

[0099] To verify the effectiveness of the cost function designed in this invention, the improvements in steady-state error elimination and ripple reduction of the designed cost function compared with the traditional cost function were compared under the same simulation conditions. Figure 3 shows the q-axis reference current of the traditional cost function and the improved cost function proposed in this invention under parameter mismatch conditions. and actual current The simulation results show that the improved cost function not only effectively reduces the jitter of the q-axis reference current, but also achieves tracking without steady-state error in the case of mismatch in inductance, flux linkage and stator resistance, so that the system can still maintain accurate current control under uncertainties of internal parameter changes.

[0100] Figure 4 shows the simulation results of three-phase current waveforms using the traditional cost function and the improved cost function proposed in this invention. THD is the total harmonic distortion of the phase current. It can be seen that the improved cost function effectively reduces the total harmonic distortion of the three-phase current.

[0101] To verify the effectiveness of the strong tracking extended-dimensional Kalman filter method designed in this invention, the torque estimation performance of the traditional Romberg algorithm, the traditional Kalman filter algorithm, and the strong tracking extended-dimensional Kalman filter algorithm proposed in this embodiment were compared under the same simulation conditions.

[0102] Figure 5 shows the simulation results of torque estimation after a sudden application of 5 N·m load torque at 1 s. It can be seen that among the various algorithms, the strong tracking extended dimension Kalman filter algorithm proposed in this invention has the best tracking effect, which is reflected in the shortest transient response time, and does not cause overshoot.

[0103] Figure 6 shows the simulation results of torque estimation for each algorithm under parameter mismatch conditions. The parameter mismatch settings are the same as in Figure 3. It can be seen that among the algorithms, the proposed strong tracking extended-dimensional Kalman filter algorithm has good steady-state performance, reflected in the smallest fluctuation of the output estimated torque in steady state and the smoothest output estimated torque curve. Under parameter mismatch conditions, the proposed strong tracking extended-dimensional Kalman filter algorithm also has the smallest recovery time and the lowest transient amplitude.

[0104] In summary, the above description is merely a preferred embodiment of this specification and is not intended to limit the scope of protection of this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of protection of this specification.

[0105] The systems, apparatuses, modules, or units described in one or more of the above embodiments may be implemented by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer. Specifically, a computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or any combination of these devices.

[0106] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0107] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0108] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

Claims

1. A predictive current control method for a permanent magnet synchronous motor, characterized in that, include: S1: Establish the cost function of the inner loop and the torque equation of the outer loop based on MPCC control; S2: Introduce a lumped disturbance term and a current ripple term into the cost function of the inner loop. The lumped disturbance term is used to compensate for current errors caused by parameter mismatch, and the current ripple term is used to compensate for transient errors caused by inconsistent switching frequencies. The cost function after introducing the lumped disturbance term and the current ripple term... for: ; in, express The d-axis reference current value at time [time]. express q-axis reference current value at time t. Indicates after one-step delay compensation The predicted value of the d-axis current at time t. Indicates after one-step delay compensation The predicted value of the q-axis current at time t. express The estimated value of the lumped disturbance along the d-axis at time t. express The estimated value of the lumped perturbation on the q-axis at time t. express The compensation value for the d-axis current ripple at time t. express The compensation value for the q-axis current ripple at time t. The current limiting term; An external disturbance is introduced into the torque equation of the outer loop, and the estimated value of the external disturbance is expanded into a state variable to construct an extended-dimensional Kalman filter torque observer. The state-space equation of the extended-dimensional Kalman filter torque observer is as follows: ; in, Indicates system state The derivative of , This represents an estimated value of the mechanical angular velocity of the motor rotor. This represents an estimate of the uncertain load torque. This represents an estimate of the exogenous disturbance. Indicates control input, , Indicates the mechanical angular velocity of the motor rotor. Indicates the electromagnetic torque of the motor rotor. Indicates system output, Represents the system matrix. , Indicates the input control matrix. , Indicates the output control matrix. , This represents the rotor damping coefficient of the motor. This represents the moment of inertia of the motor rotor. The gain constant coefficient represents the error term of the estimate of the external disturbance.

2. The predictive current control method for permanent magnet synchronous motors according to claim 1, characterized in that, In step S1, a cost function after one-step delay compensation is established based on MPCC control. for: .

3. The predictive current control method for permanent magnet synchronous motors according to claim 1, characterized in that, In S1, the torque equation of the outer loop established based on MPCC control is: ; in, This indicates the uncertain load torque of the motor rotor.

4. The predictive current control method for a permanent magnet synchronous motor according to claim 1, characterized in that, Parameter mismatch includes inductance mismatch, flux mismatch, and resistance mismatch.

5. The predictive current control method for a permanent magnet synchronous motor according to claim 4, characterized in that, The current error caused by parameter mismatch is: ; in, This indicates the d-axis current error caused by parameter mismatch. This indicates the q-axis current error caused by parameter mismatch. This indicates the sampling period of the inner loop. Indicates the motor inductance. This indicates the mismatch error of the inductor. This represents the stator resistance of the motor. This indicates the resistor mismatch error. Indicates time d-axis current, Indicates time q-axis current, Indicates time d-axis voltage, Indicates time q-axis voltage, This indicates the magnetic flux linkage of the permanent magnet in the motor. This indicates the magnetic flux mismatch error. This indicates the electrical angular velocity of the motor rotor.

6. The predictive current control method for a permanent magnet synchronous motor according to claim 5, characterized in that, Based on the current error caused by parameter mismatch, the adaptive rate of the lumped disturbance term is designed as follows: ; in, express The estimated value of the lumped disturbance along the d-axis at time t. express The estimated value of the lumped perturbation on the q-axis at time t. express The estimated value of the lumped perturbation along the d-axis, updated at any time. express The constantly updated estimate of the lumped perturbation along the q-axis. express The predicted value of the d-axis current at time t. express The predicted value of the q-axis current at time t. This represents the gain coefficient of the lumped disturbance term.

7. The predictive current control method for a permanent magnet synchronous motor according to claim 1, characterized in that, The expression for the current ripple term is: ; in, This represents the gain coefficient of the current ripple term.

8. The predictive current control method for a permanent magnet synchronous motor according to claim 3, characterized in that, By introducing the external disturbance into the torque equation of the outer loop established in S1, the torque equation of the outer loop with the external disturbance term can be obtained as follows: ; in, This represents an estimate of the mechanical angular velocity of the motor rotor. The derivative; The estimated value of the exogenous disturbance The adaptive law is: ; The estimated value of the exogenous disturbance Expanding it to a new dimension in the state space yields the extended-dimensional Kalman filter torque observer.

9. The predictive current control method for a permanent magnet synchronous motor according to claim 1, characterized in that, Also includes: The extended-dimensional Kalman filter torque observer adopts a strong tracking design.

10. The predictive current control method for a permanent magnet synchronous motor according to claim 9, characterized in that, The process of strong tracking by the extended-dimensional Kalman filter torque observer includes: Calculate the prediction residual of the torque estimation performed by the extended-dimensional Kalman filter torque observer. : ; in, express Time-based control input, express The system output at any given time, express The posterior estimated state at time 1; For prediction residuals covariance matrix Update: ; in, A constant between 0 and 1; Define the fading factor for: ; in, A constant greater than or equal to 1. This represents the process noise covariance matrix. This represents the measurement noise covariance matrix. express The posterior error covariance matrix at time 1. This represents the trace operation; Based on fading factor The prior error covariance matrix is ​​calculated as follows: ; in, express The prior error covariance matrix at time t; Using the prior error covariance matrix Perform strong tracking Kalman filter iteration: ; in, express The prior estimate of the state at time t. express The posterior estimated state at time 10:

00. express Kalman gain at time step express The posterior error covariance matrix at time 1. Represents the identity matrix.