Permanent magnet synchronous motor super-spiral sliding mode rotating speed control method based on disturbance observer
Through the super-helical sliding mode control method based on the disturbance observer, the problem of model accuracy dependence and disturbance influence in the control of permanent magnet synchronous motors is solved, fast tracking, high precision and steady-state performance are improved, which satisfies the actual control requirements. Engineering requirements.
Patent Information
- Application Number
- CN202410678822.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-09-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing permanent magnet synchronous motor control methods are highly dependent on model accuracy and are difficult to simultaneously suppress parameter perturbations and external disturbances, resulting in limited control performance. Moreover, the performance of the transition process is not fully considered, making it difficult to meet the requirements of accuracy and reliability in actual control engineering. and real-time requirements.
A superhelical sliding mode speed control method based on a disturbance observer is adopted. By establishing the voltage and torque balance equations of the electromagnetic system, discretizing the current equation, the disturbance observer is designed for disturbance estimation and feedforward compensation, and a superhelical structure is constructed in the speed loop. Sliding mode composite controller realizes fast tracking and high-precision control of the given speed.
It improves the anti-disturbance performance and dynamic response speed of the system, reduces static errors, improves steady-state performance, enhances robustness, and meets the requirements of actual control engineering for accuracy, reliability and real-time performance.
Smart Images

Figure CN118646299A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of permanent magnet synchronous motor control, and in particular to a permanent magnet synchronous motor super-helical sliding mode speed control method based on a disturbance observer. Background Art
[0002] Permanent magnet synchronous motors have the advantages of simple structure, high efficiency and high power density. As the core component of new energy vehicles, how to achieve high-precision control is the key to improving the performance of new energy vehicles.
[0003] In practical applications, parameter perturbations and external disturbances seriously affect the control performance of permanent magnet synchronous motor drive systems. For this reason, domestic and foreign scholars have proposed many advanced control methods for permanent magnet synchronous motors, such as sliding mode control, model predictive control, adaptive control and fuzzy control. Sliding mode control is an effective nonlinear control strategy that makes the state trajectory reach the predetermined sliding mode surface and converge to the equilibrium point along the sliding mode surface. Model predictive control can achieve high-precision control of the system. It predicts the system state within a certain period of time in the future by establishing a mathematical model of the system, and calculates the optimal control signal based on the optimization algorithm. The characteristics of model predictive control are high requirements on the accuracy of the model, the use of a rolling optimization strategy, and good dynamic performance.
[0004] PI control has the advantages of simple algorithm structure, high reliability, and fast speed regulation. However, when external interference is too large or internal parameters change greatly, it is difficult to meet the requirements of precise positioning and speed regulation. Sliding mode control has the advantages of fast response and simple physical implementation. It has strong robustness to system parameter perturbations, but fast response often induces high-frequency flutter. In permanent magnet synchronous motor systems, the use of model predictive current control instead of traditional PI current loop control greatly improves the steady-state accuracy and dynamic performance of the system, but model predictive control is highly dependent on the accuracy of the model. The existing permanent magnet synchronous motor control methods mainly have the following problems:
[0005] (1) Existing methods usually rely heavily on the accuracy of the model and find it difficult to simultaneously suppress the effects of parameter perturbations and various external disturbances on the system control performance, which limits the improvement of the control performance of the permanent magnet synchronous motor drive system.
[0006] (2) Existing methods usually remain at the stage of studying control strategies to ensure system stability. They generally only provide the steady-state performance of system control without considering issues such as how to improve the system's transition process performance. This makes it difficult to meet the requirements of actual control engineering for system accuracy, reliability, and real-time performance. Summary of the invention
[0007] In view of the above technical problems to be solved, the present invention provides a super-helical sliding mode speed control method for a permanent magnet synchronous motor based on a disturbance observer, which has strong anti-interference performance, fast dynamic response, and small overshoot and static error.
[0008] In order to solve the above technical problems, the technical solution proposed by the present invention is:
[0009] A super-helical sliding mode speed control method for a permanent magnet synchronous motor based on a disturbance observer comprises the following steps:
[0010] Step S1, establishing a voltage balance equation and a torque balance equation of the permanent magnet synchronous motor system according to the working principle and mechanical structure of the external permanent magnet synchronous motor servo system;
[0011] Step S2, discretizing the dq axis current equation of the permanent magnet synchronous motor, substituting eight voltage vectors into the current discrete equation to calculate the current prediction value, and using the cost function to calculate the optimal voltage space vector;
[0012] Step S3, designing a disturbance observer in the speed loop to estimate the lumped disturbance including friction nonlinearity and load disturbance in real time, and feed-forwarding the disturbance estimation value to the control input end;
[0013] Step S4: Combining lumped disturbance estimation and feedforward compensation, a super-helical sliding mode composite controller is constructed in the speed loop to track the given speed.
[0014] As a further improvement of the above technical solution:
[0015] Preferably, in step S1, in the dq-axis synchronous rotating coordinate system, the voltage balance equation of the permanent magnet synchronous motor can be expressed as:
[0016]
[0017] Among them, u d ,u q ,i d ,i q ,ψ d ,ψ q and ψ f are the d-axis and q-axis stator voltages, d-axis and q-axis stator currents, d-axis and q-axis stator flux vectors and rotor flux, R s ,L d and L q They are stator resistance, d-axis and q-axis inductance, ω e is the motor electrical angular velocity.
[0018] Preferably, in step S1, the torque balance equation and mechanical motion equation of the permanent magnet synchronous motor system are:
[0019]
[0020] Where J is the moment of inertia, B is the damping coefficient, T L is the load torque, ω m is the motor mechanical angular velocity.
[0021] Preferably, the step S2 includes the following steps:
[0022] Step S21: in the dq axis synchronous rotating coordinate system, the dq axis current equation of the permanent magnet synchronous motor is discretized by the forward Euler method, and the eight voltage vectors are substituted into the voltage balance equation to obtain the current prediction value, and the optimal voltage space vector at the next moment is calculated by minimizing the cost function;
[0023] Step S22: using the difference between the given value and the predicted value of the current as an indicator, constructing a cost function for model-predicted current control, and obtaining an optimal solution;
[0024] Step S23: using the finite set model to predict current control and solve to obtain the optimal voltage vector.
[0025] Preferably, the lumped disturbance in step S3 includes friction disturbance, external load disturbance and tracking error of the q-axis current loop;
[0026] Rewrite the mechanical motion equation (2) of the motor as:
[0027]
[0028] in, It is the lumped disturbance, including friction disturbance, external load disturbance and tracking error of q-axis current loop.
[0029] Preferably, in step S3, a disturbance observer is designed in the velocity loop to compensate for the lumped disturbance of the system, and the disturbance observer is designed:
[0030]
[0031] Where x = ω m , u=i q , is the estimate of the lumped disturbance d(t), z is the internal state of the observer, l is the observer gain to be designed,
[0032] The disturbance estimation error is defined as For d Taking the derivative, we get:
[0033]
[0034] but:
[0035]
[0036] From formula (10), we can see that the disturbance estimation error e d (t) is bounded, define e d The upper bound of (t) is Get e d * It decreases with the increase of observer gain l.
[0037] Preferably, the step S4 includes the following steps:
[0038] Step S41: Design the sliding surface of the super-helical sliding mode controller:
[0039] s=cx1+x2 (11)
[0040] in, is the system state error, c is a constant value and c>0;
[0041] Step S42: adopt super-helical sliding mode control, let the sliding mode surface of the system be equation (11), then the reaching law of the super-helical sliding mode controller is:
[0042]
[0043] Among them, λ>0 and α>0;
[0044] Step S43: By combining the reaching law of the super-helical sliding mode control with the derivative equation of the sliding mode surface, we can obtain:
[0045]
[0046] Combining the mechanical motion equation of the permanent magnet synchronous motor and the lumped disturbance estimate, the super-helical sliding mode composite control law is established:
[0047]
[0048] Step S44: Analyze the stability of the super-helical sliding mode controller.
[0049] The permanent magnet synchronous motor super helical sliding mode speed control method based on disturbance observer provided by the present invention has the following advantages compared with the prior art:
[0050] (1) The super-helical sliding mode speed control method of a permanent magnet synchronous motor based on a disturbance observer of the present invention realizes fast and high-precision tracking of a given speed of the permanent magnet synchronous motor system by using model prediction current control and sliding mode control methods in the current loop and speed loop respectively.
[0051] (2) The super-helical sliding mode speed control method of a permanent magnet synchronous motor based on a disturbance observer of the present invention weakens the jitter effect existing in the system in the traditional sliding mode control by introducing a super-helical sliding mode controller into the speed loop, thereby improving the steady-state performance of the system.
[0052] (3) The super-helical sliding mode speed control method of a permanent magnet synchronous motor based on a disturbance observer of the present invention improves the anti-disturbance performance and robustness of the system by constructing a disturbance observer to estimate and feed-forward compensate for the total disturbances such as the friction nonlinearity and load disturbance of the permanent magnet synchronous motor. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 It is a schematic diagram of the voltage vector of the permanent magnet synchronous motor of the present invention.
[0054] Figure 2 The present invention is a schematic flow chart.
[0055] Figure 3 This is a structural block diagram of the permanent magnet synchronous motor drive system of the present invention.
[0056] Figure 4 This is the speed signal and curve of the system when verifying the present invention.
[0057] Figure 5 It is the speed error of the system when verifying the present invention.
[0058] Figure 6 The speed signal and curve of the system when the speed loop adopts different controllers for verification of the present invention.
[0059] Figure 7 The speed error curve of the system when the speed loop adopts different controllers during verification of the present invention. DETAILED DESCRIPTION
[0060] The specific embodiments of the present invention are described in detail below. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0061] The super-helical sliding mode speed control method of a permanent magnet synchronous motor based on a disturbance observer of the present invention comprises the following steps:
[0062] Step S1, according to the working principle and mechanical structure of the external permanent magnet synchronous motor servo system, establish the voltage balance equation and torque balance equation of the permanent magnet synchronous motor system.
[0063] In the dq axis synchronous rotating coordinate system, the voltage balance equation of the permanent magnet synchronous motor can be expressed as:
[0064]
[0065] Among them, u d ,u q ,i d ,i q ,ψ d ,ψ q and ψ f are the d-axis and q-axis stator voltages, d-axis and q-axis stator currents, d-axis and q-axis stator flux vectors and rotor flux, R s ,L d and L q They are stator resistance, d-axis and q-axis inductance, ω e is the motor electrical angular velocity.
[0066] The torque balance equation and mechanical motion equation of the permanent magnet synchronous motor system are:
[0067]
[0068] Where J is the moment of inertia, B is the damping coefficient, T L is the load torque, ω m is the motor mechanical angular velocity.
[0069] Step S2, discretize the dq axis current equation of the permanent magnet synchronous motor, substitute eight voltage vectors into the current discrete equation to calculate the current prediction value, and use the cost function to calculate the optimal voltage space vector.
[0070] The discrete mathematical model of the permanent magnet synchronous motor is obtained by using the Euler difference method to predict the current at the next moment. The following steps are included:
[0071] Step S21: In the dq axis synchronous rotating coordinate system, the dq axis current equation of the permanent magnet synchronous motor is discretized by the forward Euler method, and the eight voltage vectors are substituted into the voltage balance equation to obtain the current prediction value, and the optimal voltage space vector at the next moment is calculated by minimizing the cost function. According to formula (1), the current at the next moment is predicted using the forward Euler formula:
[0072]
[0073] Among them, T s Indicates the sampling period.
[0074] Step S22: The difference between the given value and the predicted value of the current is used as an indicator to obtain the optimal solution. A cost function for model prediction current control is constructed, and the cost function is expressed as:
[0075] J=|i d * -i d (k+1)|+|i q *-i q (k+1)| (4)
[0076] Among them, i q * and i d * are the reference currents for the d-axis and q-axis respectively.
[0077] Step S23: using a finite set model to predict current control for solution, that is, using an exhaustive search method.
[0078] like Figure 1 As shown, the inverter will generate 8 different voltage vectors, including 6 effective voltage vectors and two zero vectors. Substituting the voltage vector into equation (3), the current prediction values corresponding to the 8 voltage vectors are obtained:
[0079]
[0080] In the formula, i d|sw (k+1), i q|sw (k+1) is the predicted value of the d-axis and q-axis currents of the eight voltage vectors of the inverter in the next sampling period, u d|sw (k) and u q|sw (k) is the voltage vector generated by the inverter, sw is the vector number, and its values are 0, 1, 2, 3, 4, 5, 6, 7.
[0081] Combining equation (4) to obtain the cost function corresponding to each voltage vector:
[0082] J sw =|i d * -i d|sw (k+1)|+|i q * -i q|sw (k+1)| (6)
[0083] Compare the sizes of each cost function and take the minimum cost function to obtain the optimal voltage vector.
[0084] Step S3: Design a disturbance observer in the speed loop to estimate the aggregate disturbance including friction nonlinearity and load disturbance in real time, and feedforward the disturbance estimation value to the control input. Specifically:
[0085] Step S31: Rewrite the mechanical motion equation (2) of the motor as follows:
[0086]
[0087] in, It is the lumped disturbance, including friction disturbance, external load disturbance and tracking error of q-axis current loop.
[0088] Step S32: Design a disturbance observer in the velocity loop to compensate for the lumped disturbance of the system. Assume that the derivative of d(t) in equation (7) is bounded. In order to obtain the disturbance information in formula (7), a disturbance observer is designed:
[0089]
[0090] Where x = ω m , u=i q , is the estimate of the lumped disturbance d(t), z is the internal state of the observer, and l is the observer gain to be designed.
[0091] The disturbance estimation error is defined as For d Taking the derivative, we get:
[0092]
[0093] This means:
[0094]
[0095] From formula (10), we can see that the disturbance estimation error e d (t) is bounded, define e d The upper bound of (t) is It can be seen that e d * It decreases with the increase of observer gain l.
[0096] Step S4: Combine the lumped disturbance estimation and feedforward compensation to construct a super-helical sliding mode composite controller in the speed loop to achieve fast tracking of the given speed and ensure the robust stability of the system. Specifically:
[0097] Step S41: Design the sliding surface of the super-helical sliding mode controller. The sliding surface is designed as follows:
[0098] s=cx1+x2 (11)
[0099] in, is the system state error, c is a constant value and c>0.
[0100] Step S42: In the traditional sliding mode control method, the larger the switching gain, the faster the system converges, but the more severe the chattering, which makes a trade-off between increasing the approach speed and reducing the sliding chattering. When the super-helical sliding mode control is adopted, let the sliding mode surface of the system be (11), then the approach law of the super-helical sliding mode controller is:
[0101]
[0102] Among them, λ>0 and α>0.
[0103] In traditional sliding mode control, the chattering of the sliding mode controller is caused by the discontinuity of the control signal. In equation (12), by multiplying the sign function sign(s) by a homogeneous function of absolute value (i.e. ), the control signal can be made continuous at zero, thus weakening the chattering. At the same time, the use of integral control can also effectively reduce the chattering.
[0104] Step S43: By combining the reaching law of the super-helical sliding mode control with the derivative equation of the sliding mode surface, we can obtain:
[0105]
[0106] Substituting the mechanical motion equation (2) of the permanent magnet synchronous motor into (13), and combining the lumped disturbance estimate, the super-helical sliding mode composite control law is established:
[0107]
[0108] Step S44: Analyze the stability of the super-helical sliding mode controller. Select new variables then:
[0109]
[0110] Also because Therefore, formula (15) is:
[0111]
[0112] Consider the Lyapunov function
[0113] V(x)=z T Pz (17)
[0114] Where P is a constant, symmetric, positive definite matrix. Taking its derivative, we get
[0115]
[0116] Among them, P, Q satisfy the algebraic Lyapunov equation
[0117] AT P+PA=-Q (19)
[0118] When λ>0 and α>0, A is a Hurwitz matrix (all eigenvalues are negative), then for any matrix Q=Q T > 0, there exists a unique matrix P = P T >0 so that it satisfies the above formula.
[0119]
[0120] Among them, p ij is a component of the matrix P, so V is a completely continuous function about z, it is positive definite and radially unbounded. It can be obtained:
[0121]
[0122] Among them, ||z|| 2 =|s|+υ 2 ,δ(P) is the eigenvalue of matrix P,δ min (P) and δ max (P) are the maximum and minimum eigenvalues of the matrix respectively. From formula (20), we can see that then Similarly, we can get So we can get:
[0123]
[0124] in, The system is stable.
[0125] Experimental verification
[0126] In order to verify the feasibility and superiority of the method proposed in the present invention under actual working conditions, this example uses Matlab / Simulink software to build a permanent magnet synchronous motor simulation model, and conducts an experimental comparison with the control methods mentioned in other literature. The specific motor parameters are listed in Table 1.
[0127] Table 1 Permanent magnet synchronous motor parameters
[0128]
[0129]
[0130] Verification: Reference speed tracking control experiment under external load disturbance.
[0131] When the control method proposed in the present invention is used for experiments, the reference setting of the permanent magnet synchronous motor is 1000 rpm, and at 0.3 s, the external load torque received by the motor is set to 100 N.m.
[0132] In the Matlab / Simulink environment, combined with the system structure frame Figure 2 Establish a permanent magnet synchronous motor model prediction current control simulation model based on super helical sliding mode control, select the system sampling period T s 1μs, parameters in the super-helical sliding mode controller.
[0133] Figure 5 This is the speed tracking error diagram of the method proposed in the present invention (super-helical sliding mode speed control). It can be seen that the speed tracking error of the method proposed in the present invention is only 0.002, the error is small, and the steady-state performance is good.
[0134] The proposed method (i.e., super spiral sliding mode speed control based on disturbance observer, i.e., STA-DOB) is compared with the traditional sliding mode control method based on disturbance observer (i.e., SMC+DOB). The current loop of the two control methods adopts model predictive control with the same parameters. In addition, the same disturbance observer is introduced in the speed loop for feedforward compensation. The sliding mode reaching law of the traditional sliding mode controller is selected as k1=0.5, k2=10.
[0135] Figure 6 This is a comparison diagram of the system outputs of the two methods. It can be seen that after being disturbed by the external load torque of the system, the control method proposed by the present invention has a faster dynamic response speed and better anti-disturbance performance when being disturbed by the external load torque of the system.
[0136] Figure 7 This is a comparison diagram of the speed errors of the two methods. It can be seen that the control method proposed in the present invention has higher steady-state accuracy and better vibration suppression effect.
[0137] The above implementation cases are only preferred embodiments of the present invention and are not intended to limit the present invention in any form. Although the present invention has been disclosed as above with preferred embodiments, they are not intended to limit the present invention. Therefore, any simple modification, equivalent changes and modifications made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the scope of protection of the technical solution of the present invention.
Claims
1. A super-helical sliding mode speed control method for a permanent magnet synchronous motor based on a disturbance observer, characterized in that: The following steps are involved: Step S1, establishing a voltage balance equation and a torque balance equation of the permanent magnet synchronous motor system according to the working principle and mechanical structure of the external permanent magnet synchronous motor servo system; Step S2, discretizing the dq axis current equation of the permanent magnet synchronous motor, substituting eight voltage vectors into the current discrete equation to calculate the current prediction value, and using the cost function to calculate the optimal voltage space vector; Step S3, designing a disturbance observer in the speed loop to estimate the lumped disturbance including friction nonlinearity and load disturbance in real time, and feed-forwarding the disturbance estimation value to the control input end; Step S4: Combining lumped disturbance estimation and feedforward compensation, a super-helical sliding mode composite controller is constructed in the speed loop to track the given speed.
2. The method for super-helical sliding mode speed control of a permanent magnet synchronous motor based on a disturbance observer according to claim 1, characterized in that: In step S1, in the dq axis synchronous rotating coordinate system, the voltage balance equation of the permanent magnet synchronous motor can be expressed as: Among them, u d ,u q ,i d ,i q ,ψ d ,ψ q and ψ f are the d-axis and q-axis stator voltages, d-axis and q-axis stator currents, d-axis and q-axis stator flux vectors and rotor flux, R s ,L d and L q They are stator resistance, d-axis and q-axis inductance, ω e is the motor electrical angular velocity.
3. The method for super-helical sliding mode speed control of a permanent magnet synchronous motor based on a disturbance observer according to claim 2 is characterized in that: In step S1, the torque balance equation and mechanical motion equation of the permanent magnet synchronous motor system are: Where J is the moment of inertia, B is the damping coefficient, T L is the load torque, ω m is the motor mechanical angular velocity.
4. The method for super-helical sliding mode speed control of a permanent magnet synchronous motor based on a disturbance observer according to claim 3 is characterized in that: The step S2 includes the following steps: Step S21: in the dq axis synchronous rotating coordinate system, the dq axis current equation of the permanent magnet synchronous motor is discretized by the forward Euler method, and the eight voltage vectors are substituted into the voltage balance equation to obtain the current prediction value, and the optimal voltage space vector at the next moment is calculated by minimizing the cost function; Step S22: using the difference between the given value and the predicted value of the current as an indicator, constructing a cost function for model-predicted current control, and obtaining an optimal solution; Step S23: using the finite set model to predict current control and solve to obtain the optimal voltage vector.
5. The method for super-helical sliding mode speed control of a permanent magnet synchronous motor based on a disturbance observer according to claim 3, characterized in that: The lumped disturbance in step S3 includes friction disturbance, external load disturbance and tracking error of the q-axis current loop; Rewrite the mechanical motion equation (2) of the motor as: in, It is the lumped disturbance, including friction disturbance, external load disturbance and tracking error of q-axis current loop.
6. The method for super-helical sliding mode speed control of a permanent magnet synchronous motor based on a disturbance observer according to claim 3 is characterized in that: In step S3, a disturbance observer is designed in the velocity loop to compensate for the lumped disturbance of the system. The disturbance observer is designed: Where x = ω m , u=i q , is the estimate of the lumped disturbance d(t), z is the internal state of the observer, l is the observer gain to be designed, Lumped disturbance 7. The method for controlling the super-helical sliding mode speed of a permanent magnet synchronous motor based on a disturbance observer according to claim 3, characterized in that: The step S4 includes the following steps: Step S41: Design the sliding surface of the super-helical sliding mode controller: s=cx1+x2 (11) in, x1 is the system state error, c is a constant value and c>0; Step S42: adopt super-helical sliding mode control, let the sliding mode surface of the system be equation (11), then the reaching law of the super-helical sliding mode controller is: Among them, λ>0 and α>0; Step S43: By combining the reaching law of the super-helical sliding mode control with the derivative equation of the sliding mode surface, we can obtain: Combining the mechanical motion equation of the permanent magnet synchronous motor and the lumped disturbance estimate, the super-helical sliding mode composite control law is established: Step S44: Analyze the stability of the super-helical sliding mode controller.
Citation Information
Patent Citations
Composite control method for improving anti-interference capability of brushless direct current motor
CN112688599A
Permanent magnet synchronous motor control system based on discrete superspiral sliding mode algorithm
CN113141136A
Cited By
Method for improving deadbeat predictive control robustness of DAB converter
CN119341371A
A method for improving the robustness of a deadbeat predictive control of a DAB converter
CN119341371B
Permanent magnet synchronous motor model prediction control method and system for air compressor
CN119696434A
A model predictive control method and system for a permanent magnet synchronous motor of an air compressor
CN119696434B
Load disturbance resistance control method of permanent magnet synchronous motor
CN119834683A
