Sliding mode control method for permanent magnet synchronous motor based on improved variable gain reaching law

By adopting the sliding mode control method with improved variable gain reaching law in the permanent magnet synchronous motor speed control system, the problems of slow response speed and high-frequency chattering are solved, and the steady-state and dynamic performance of the system are improved, making it suitable for High-performance application scenarios.

CN114710080BActive Publication Date: 2024-08-27TIANJIN UNIV

Patent Information

Application Number
CN202210477784.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-05
Publication Date
2024-08-27
Estimated Expiration
2042-05-05

AI Technical Summary

Technical Problem

In the existing permanent magnet synchronous motor speed control system, the current controller with proportional-integral adjustment characteristics has a slow response speed, large overshoot, and is easily affected by parameter changes and external disturbances. It is not suitable for high-performance application scenarios. The traditional sliding mode control method exists. Problems with high-frequency buffeting and insufficient response speed.

Method used

The sliding mode control method based on the improved variable gain reaching law is adopted. By designing the expanded state observer and the improved variable gain reaching law, the gain value of the exponential reaching law is adaptively adjusted to suppress high-frequency chattering and improve the system response speed.

Benefits of technology

It effectively suppresses the high-frequency chattering phenomenon during sliding mode control, improves the steady-state operating performance and dynamic response performance of the permanent magnet synchronous motor speed control system, and enables the system to quickly track a given speed signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114710080B
    Figure CN114710080B
Patent Text Reader

Abstract

The present invention discloses a sliding mode control method for a permanent magnet synchronous motor based on an improved variable gain reaching law, and improves the shortcomings of the traditional sliding mode control method based on the exponential reaching law, such as severe high-frequency jitter and slow convergence speed. First, the exponential reaching law using a fixed gain is optimized to an improved variable gain reaching law using an adaptive gain; then, an extended state observer is constructed to observe the system disturbance and the rotor angular velocity; then, a speed controller of the permanent magnet synchronous motor is constructed based on the improved variable gain reaching law and the integral sliding mode surface, and the output value of the extended state observer is used as the compensation of the speed controller; finally, the aforementioned controller and observer are applied to the permanent magnet synchronous motor vector control system. Compared with the traditional sliding mode control method for a permanent magnet synchronous motor, the present invention can better suppress the high-frequency jitter phenomenon and improve the response speed, thereby improving the response speed and steady-state performance of the permanent magnet synchronous motor speed regulation system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of control of permanent magnet synchronous motors, and in particular to a sliding mode control method of a permanent magnet synchronous motor based on an improved variable gain reaching law. Background Art

[0002] Permanent magnet synchronous motor has the advantages of simple structure, high operating reliability and high power density, so its application field is very wide. At present, the current controller with proportional integral regulation characteristics is commonly used in the permanent magnet synchronous motor speed control system. This method has a simple algorithm and easy parameter adjustment, which can meet the control requirements of the permanent magnet synchronous motor within a certain range. However, the permanent magnet synchronous motor is a complex system with nonlinear, strong coupling and multivariable. The current controller with proportional integral regulation characteristics has the disadvantages of slow response speed, large overshoot, and easy to be affected by parameter changes and external disturbances. It is not suitable for the permanent magnet synchronous motor speed control system in high-performance application scenarios.

[0003] To solve the above problems, domestic and foreign scholars have introduced a variety of control methods, such as predictive control, fuzzy control, sliding mode control, etc. Among these control methods, sliding mode control has the advantages of low model accuracy requirements, strong robustness, good dynamic performance, and easy implementation. Therefore, it is considered to be one of the most effective methods to improve the performance of permanent magnet synchronous motor systems. However, this method also has some disadvantages, which limit its application in engineering. For example, due to the influence of inertia and switching function, when the system state variable of the sliding mode controller reaches the sliding surface, the variable will continue to reciprocate on the sliding surface, resulting in high-frequency jitter problems. In addition, the response speed of the traditional sliding mode control method needs to be further improved.

[0004] The reaching law is the way in which the system state variables approach the sliding surface and is an important part of the sliding mode control algorithm. The optimization of the traditional exponential reaching law can suppress the high-frequency chattering phenomenon of the system and improve the response speed of the system. Summary of the invention

[0005] The purpose of the present invention is to overcome the shortcomings of the existing methods and propose a permanent magnet synchronous motor sliding mode control method based on an improved variable gain reaching law, so as to improve the response speed of the permanent magnet synchronous motor speed regulation system and suppress high frequency jitter phenomenon.

[0006] The present invention proposes a sliding mode control method applied to a permanent magnet synchronous motor speed regulation system, characterized in that the method is a permanent magnet synchronous motor sliding mode control method based on an improved variable gain reaching law, comprising the following steps:

[0007] Step 1: Sample and solve the position signal of the absolute position encoder to obtain the mechanical angle θ of the permanent magnet synchronous motor rotor position m 、Rotor position electrical angle θ eand the rotor mechanical angular velocity ω m ;

[0008] Step 2: Use a contactless Hall current sensor to collect the stator three-phase current i of the permanent magnet synchronous motor in the ABC three-phase stationary coordinate system. A 、i B and i C The above signal is transformed by Clark to obtain the α-axis current i in the αβ two-phase stationary coordinate system α and the β-axis current i β , then i α and i β The direct axis current i in the dq synchronous rotating coordinate system oriented by the permanent magnetic field of the permanent magnet rotor is obtained by Park transformation. d and the quadrature axis current i q ;

[0009] Step 3: In order to improve the accuracy of the control system, an extended state observer is designed to transform the system disturbance d into the rotor mechanical angular velocity ω obtained in step 1. m As the observed object, construct the extended state observer equation

[0010]

[0011] Where B is the friction coefficient; J is the moment of inertia; T em is the electromagnetic torque; is the observed value of the rotor mechanical angular velocity; is the system disturbance observation value; u o1 (e ω ) and u o2 (e ω ) are the observed values ​​of the rotor mechanical angular velocity and the system disturbance observation The differential compensation value of ; is the observed error of the rotor mechanical angular velocity;

[0012] Step 4: Design a sliding mode controller based on the improved variable gain reaching law and integral sliding surface to set the given rotor mechanical angular velocity Compared with the rotor mechanical angular velocity observation value obtained in step 3 The difference between the values ​​of As compensation, the quadrature axis current reference value is output through the sliding mode controller.

[0013] The improved variable gain reaching law equation is as follows

[0014]

[0015] Where s is the sliding surface, which is based on the given rotor mechanical angular velocity The observed value of the rotor mechanical angular velocity The function of the difference between |s| and |s| is composed of; M1 and M2 are variable gain coefficients; l1 and l2 are the power approximation parts respectively. a sgn(s) is the initial gain coefficient of the exponential approach part s; sgn(·) is the sign function; tanh(·) is the hyperbolic tangent function; 0<a<1; b>0; 0<n<1; l1>0; l2>0;

[0016] Step 5: The quadrature axis current reference signal output by the sliding mode controller in step 4 is The quadrature axis current i obtained in step 2 q The difference is input into the current controller with proportional integral regulation characteristics to obtain the quadrature axis voltage reference signal. The direct-axis current reference signal Set to 0 and compare it with the direct axis current i obtained in step 2 d The difference is input into the current controller with proportional integral regulation characteristics to obtain the direct axis voltage reference signal

[0017] Step 6: Use Park inverse transformation to transform the quadrature axis voltage reference signal obtained in step 5 and the direct-axis voltage reference signal The α-axis voltage reference signal in the αβ two-phase stationary coordinate system is obtained by Park inverse transformation and the β-axis voltage reference signal

[0018] Step 7: Set the α-axis voltage reference signal and the β-axis voltage reference signal Input into the space vector pulse width modulation (SVPWM) pulse generator to complete the pulse width calculation, generate SVPWM pulses, and obtain the control signal of the power switch device in the inverter;

[0019] Step eight, input the control signal of the power switch device in the inverter generated in step seven to the corresponding power switch device in the inverter, so that the permanent magnet synchronous motor obtains a three-phase stator voltage, thereby changing the movement trend of the permanent magnet synchronous motor, thereby realizing the speed control of the permanent magnet synchronous motor.

[0020] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention proposes a permanent magnet synchronous motor sliding mode control method based on an improved variable gain reaching law, which optimizes the fixed gain value of the exponential reaching law to a variable gain value that is continuously adaptively adjusted as the system state variable changes, thereby better suppressing the high-frequency jitter phenomenon during sliding mode control, thereby improving the steady-state operation performance of the permanent magnet synchronous motor speed control system, and enabling the system to track a given speed signal more quickly, thereby improving the dynamic response performance of the permanent magnet synchronous motor speed control system. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a system block diagram of a sliding mode control method for a permanent magnet synchronous motor based on an improved variable gain reaching law;

[0022] Figure 2 It is the flowchart of the extended state observer;

[0023] Figure 3 It is the flow chart of sliding mode speed controller. DETAILED DESCRIPTION

[0024] The embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings.

[0025] The sliding mode control method of the permanent magnet synchronous motor based on the improved variable gain reaching law in this embodiment is implemented on the basis of the hardware of the general surface-mounted permanent magnet synchronous motor digital control drive system. The most basic hardware includes a permanent magnet synchronous motor (PMSM), a digital signal processor, an absolute position encoder, a contactless Hall current sensor, an inverter and a DC power supply (U DC ). The system control algorithm is implemented in a digital signal processor. The overall system block diagram of the present invention is as follows Figure 1 The present invention is realized by a discrete algorithm and implemented by a digital signal processor.

[0026] The relationship between the axes in the control system is defined as follows: the axis of the A-phase winding in the ABC three-phase stator coordinate system coincides with the α-axis in the αβ two-phase stationary coordinate system. When the direct axis (d-axis) in the dq synchronous rotating coordinate system oriented by the permanent magnetic field of the permanent magnet rotor coincides with the axis of the A-phase winding, the rotor position electrical angle θ is taken as e The starting point.

[0027] First, the position signal of the absolute position encoder is sampled and resolved to obtain the mechanical angle θ of the permanent magnet synchronous motor rotor position. m 、Rotor position electrical angle θ e and the rotor mechanical angular velocity ω m .

[0028] Then, the contactless Hall current sensor is used to measure the three-phase stator current i of the permanent magnet synchronous motor ABC. A 、i B and i C The digital signal processor measures the three-phase stator current i A 、i B and i C Then the sampled three-phase stator current i A 、i B and i C The α-axis current i in the αβ two-phase stationary coordinate system is obtained by Clark transformation α and the β-axis current i β , the specific coordinate change expression is

[0029]

[0030] Then the α-axis current i in the αβ two-phase stationary coordinate system is α and the β-axis current i β The direct axis current i in the dq synchronous rotating coordinate system oriented by the permanent magnetic field of the permanent magnet rotor is obtained by Park transformation. d and the quadrature axis current i q , the specific coordinate change expression is

[0031]

[0032] The voltage equation, torque equation and motion equation of the surface-mounted permanent magnet synchronous motor in the synchronous rotating coordinate system are as follows:

[0033]

[0034] In the formula, ω m is the rotor mechanical angular velocity; ω e is the rotor electrical angular velocity; J is the moment of inertia; B is the friction coefficient; ψ f is the permanent magnet flux; u q and u d are the quadrature axis voltage and the direct axis voltage respectively; L q and L d are the quadrature-axis inductance and direct-axis inductance of the permanent magnet synchronous motor respectively; R is the stator phase winding resistance; T em is the electromagnetic torque; T L is the load torque.

[0035] In order to improve the control accuracy of the system, the system disturbance d and the rotor mechanical angular velocity ω are m Observe and design an extended state observer to transform the rotor mechanical angular velocity ω m With the system disturbance d as the expanded state variable, the expanded state space equation is constructed

[0036]

[0037] The rotor mechanical angular velocity ω m With the system disturbance d as the observation object, the extended state observer equation is constructed

[0038]

[0039] In the formula, is the observed value of the rotor mechanical angular velocity; is the observed value of the system disturbance; u o1 (e ω ) and u o2 (e ω ) are the compensation values ​​of the differential of the observed value of the rotor mechanical angular velocity and the observed value of the system disturbance respectively; is the observed error based on the rotor mechanical angular velocity;

[0040] The sliding surface of the extended state observer is based on the rotor mechanical angular velocity ω m The observed value of the rotor mechanical angular velocity The integral sliding surface formula is as follows:

[0041]

[0042] In the formula, c ω is the sliding mode integral coefficient, c ω >0.

[0043] The compensation value u is the differential of the observed value of the rotor mechanical angular velocity and the observed value of the system disturbance o1 (e1) and u o2 (e1) The formula is as follows

[0044]

[0045] In the formula, k1>0, k2>0.

[0046] In summary, the extended state observer formula can be rewritten as

[0047]

[0048] In the formula, is the system disturbance error.

[0049] The extended state observer constructed based on formula (9) is as follows: Figure 2 shown.

[0050] Next, the characteristics of the improved variable gain reaching law are explained. The exponential reaching law formula is as follows

[0051]

[0052] Where, εsgn(s) is the constant speed approaching part; ks is the exponential approaching part; ε>0; k>0;

[0053] The disadvantage of this convergence law is that when the coefficients ε and k are small, the speed at which the system state reaches the sliding surface is low; when the above coefficients are large, serious jitter problems will occur. Therefore, for the exponential convergence rate with fixed coefficients, it is difficult to achieve both accelerated convergence and suppressed jitter. By replacing the fixed gain coefficient with a variable gain coefficient, the system can have a faster convergence speed when it is far away from the sliding surface, and there will be no obvious jitter when it reaches the sliding surface.

[0054] The specific improvement method is to change the coefficients ε and k into variable gain coefficients that change with the system state. The formula is as follows

[0055]

[0056] Where M1 and M2 are variable gain coefficients; l1 and l2 are initial gain coefficients; s is the sliding surface, which is based on the given rotor mechanical angular velocity The observed value of the rotor mechanical angular velocity ; sgn(·) is the sign function; tanh(·) is the hyperbolic tangent function; 0<a<1; b>0; 0<n<1; l1>0; l2>0;

[0057] Sliding mode control needs to meet the stability condition, that is, the system needs to be stable when there is an external disturbance or the parameters change. The stability of the improved variable gain reaching law is verified below. First, the Lyapunov function is constructed as

[0058]

[0059] According to the Lyapunov stability criterion, if equation (15) satisfies the conditions of equation (16), then it satisfies the stability condition.

[0060] Combining equation (15) and equation (16), we can get

[0061]

[0062] Since b, n, l1 and l2 are all positive numbers, and |s|≥0, we can get M1≥0, M2>0. And s sgn(s)≥0, and s 2 ≥ 0. Therefore, That is, the improved variable gain reaching law satisfies the stability condition.

[0063] The performance of the improved variable gain reaching law is analyzed below. When the system state variable is far from the sliding surface, |s| is large, so the following simplification can be made: tanh(b|s| a )≈1, arctan(|s|)≈π / 2, then M1≈l1; Then M2≈l2 / (n+1). From this we can get the equivalent formula as follows

[0064]

[0065] It can be seen that when the system state variable is far away from the sliding surface, due to the existence of the power term |s| in the constant speed approaching part of the improved variable gain approaching law a , the approaching speed of this part is greater than the constant-speed approaching part of the exponential approaching law.

[0066] When the system state variables approach the sliding surface |s| a Gradually decreases, tanh(b|s| a ) and arctan(|s|) decrease accordingly, the variable gain coefficient M1 will continue to decrease, that is, the coefficient of the constant speed approaching part will become a value much smaller than l1 when the system approaches the sliding surface, thereby suppressing the chattering phenomenon. As M2 gradually increases and approaches 1, it will gradually increase, that is, the exponential approaching part will approach the sliding surface faster. Although the increase of M2 will slightly increase the degree of system chattering, overall, since the coefficient M1 of the constant speed approaching part is greatly reduced, the new approaching law can better suppress chattering than the exponential approaching law.

[0067] In summary, compared with the fixed gain of the traditional exponential reaching law, the adaptive gain of the improved variable gain reaching law can effectively solve the problem of low speed when far away from the sliding surface, and can also suppress chattering while maintaining a higher speed when the system approaches the sliding surface.

[0068] Furthermore, a sliding mode controller for permanent magnet synchronous motor is designed based on the improved variable gain reaching law.

[0069] The rotor mechanical angular velocity tracking error is defined as Design integral sliding surface

[0070]

[0071] Where c is the sliding mode integral coefficient.

[0072] Substituting the observed value of the rotor mechanical angular velocity into equation (8), we can obtain

[0073]

[0074] Differentiating the rotor mechanical angular velocity tracking error formula yields

[0075]

[0076] From formula (18) and formula (19), we can get

[0077]

[0078] Differentiating equation (17) yields

[0079]

[0080] Substituting equation (20) and equation (21) into equation (15), we can obtain

[0081]

[0082] Combining equation (8) with equation (21), the sliding mode controller equation based on the improved variable gain reaching law is obtained as follows:

[0083]

[0084] In the formula, is the reference value of the quadrature-axis current.

[0085] The structure of the sliding mode controller constructed based on formula (23) is as follows: Figure 3 shown.

[0086] Next, the quadrature axis current reference value in equation (23) is The quadrature axis current i obtained by Clark transformation q The difference is input into the current controller with proportional integral regulation characteristics to obtain the quadrature axis voltage reference signal. The direct axis current reference value Set it to 0 and compare it with the direct axis current i obtained by Clark transformation d The difference is input into the current controller with proportional integral regulation characteristics to obtain the direct axis voltage reference signal

[0087] After that, the obtained quadrature axis voltage reference signal and the direct-axis voltage reference signal The α-axis voltage reference signal in the αβ two-phase stationary coordinate system is obtained by Park inverse transformation and the β-axis voltage reference signal The specific coordinate change expression is:

[0088]

[0089] Then the α-axis voltage reference signal and the β-axis voltage reference signal The signal is input into the SVPWM pulse generator to complete the pulse width calculation, generate the SVPWM pulse, and obtain the control signal of the power switch device in the inverter. The signal is input into the corresponding power switch device in the inverter to provide a three-phase stator voltage for the permanent magnet synchronous motor, thereby changing the movement trend of the permanent magnet synchronous motor, thereby realizing the speed control of the permanent magnet synchronous motor.

[0090] The present invention proposes a sliding mode control method for a permanent magnet synchronous motor based on an improved variable gain reaching law. By optimizing the fixed gain value of the exponential reaching law to a variable gain value that is continuously and adaptively adjusted as the system state variable changes, the high-frequency chattering phenomenon during sliding mode control is better suppressed, thereby improving the steady-state operation performance of the permanent magnet synchronous motor speed control system, and enabling the system to track a given speed signal more quickly, thereby improving the dynamic response performance of the permanent magnet synchronous motor speed control system.

[0091] The above embodiments show and describe the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the discussion of the above embodiments is only exemplary. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A permanent magnet synchronous motor speed control method, characterized in that: This method is a sliding mode control method for permanent magnet synchronous motor based on improved variable gain reaching law. The control algorithm is completed in a digital signal processor. The specific steps are as follows: Step 1: Sample and solve the position signal of the absolute position encoder to obtain the mechanical angle θ of the permanent magnet synchronous motor rotor position m 、Rotor position electrical angle θ e and the rotor mechanical angular velocity ω m ; Step 2: Use a contactless Hall current sensor to collect the stator three-phase current i of the permanent magnet synchronous motor in the ABC three-phase stationary coordinate system. A 、i B and i C The above signal is transformed by Clark to obtain the α-axis current i in the αβ two-phase stationary coordinate system α and the β-axis current i β , then i α and i β The direct axis current i in the dq synchronous rotating coordinate system oriented by the permanent magnetic field of the permanent magnet rotor is obtained by Park transformation. d and the quadrature axis current i q ; Step 3: In order to improve the accuracy of the control system, an extended state observer is designed to transform the system disturbance d into the rotor mechanical angular velocity ω obtained in step 1. m As the observed object, construct the extended state observer equation Where B is the friction coefficient; J is the moment of inertia; T em is the electromagnetic torque; is the observed value of the rotor mechanical angular velocity; is the system disturbance observation value; u o1 (e ω ) and u o2 (e ω ) are the observed values ​​of the rotor mechanical angular velocity and the system disturbance observation The differential compensation value of ; is the observed error of the rotor mechanical angular velocity; Step 4: Design a sliding mode controller based on the improved variable gain reaching law and integral sliding surface to set the given rotor mechanical angular velocity Compared with the rotor mechanical angular velocity observation value obtained in step 3 The difference between the values ​​of As compensation, the quadrature axis current reference value is output through the sliding mode controller. The improved variable gain reaching law equation is as follows Where s is the sliding surface, which is based on the given rotor mechanical angular velocity The observed value of the rotor mechanical angular velocity The function of the difference between |s| and |s| is composed of; M1 and M2 are variable gain coefficients; l1 and l2 are the power approximation parts respectively. a sgn(s) is the initial gain coefficient of the exponential approach part s; sgn(·) is the sign function; tanh(·) is the hyperbolic tangent function; 0<a<1; b>0; 0<n<1; l1>0; l2>0; Step 5: The quadrature axis current reference signal output by the sliding mode controller in step 4 is The quadrature axis current i obtained in step 2 q The difference is input into the current controller with proportional integral regulation characteristics to obtain the quadrature axis voltage reference signal. The direct axis current reference signal Set to 0 and compare it with the direct axis current i obtained in step 2 d The difference is input into the current controller with proportional integral regulation characteristics to obtain the direct axis voltage reference signal Step 6: Use Park inverse transformation to transform the quadrature axis voltage reference signal obtained in step 5 and the direct-axis voltage reference signal The α-axis voltage reference signal in the αβ two-phase stationary coordinate system is obtained by Park inverse transformation and the β-axis voltage reference signal Step 7: Set the α-axis voltage reference signal and the β-axis voltage reference signal Input into the space vector pulse width modulation (SVPWM) pulse generator to complete the pulse width calculation, generate SVPWM pulses, and obtain the control signal of the power switching device in the inverter; Step eight, input the control signal of the power switch device in the inverter generated in step seven to the corresponding power switch device in the inverter, so that the permanent magnet synchronous motor obtains a three-phase stator voltage, thereby changing the movement trend of the permanent magnet synchronous motor, thereby realizing the speed control of the permanent magnet synchronous motor.

Citation Information

Patent Citations

  • Sliding-mode variable structure control method of variable exponential coefficient reaching law of permanent magnet synchronous motor

    CN106549616A

  • Sliding-mode control method of permanent magnet synchronous motor based on reaching law and disturbance observation compensation

    CN109450320A

  • Intelligent cooperative control system and method for multi-unit permanent magnet synchronous motor

    US20170324361A1

  • Permanent magnet direct-current electric motor commutation control apparatus and method based on sliding mode observer

    WO2021203589A1

Cited By

  • Permanent magnet motor direct torque control method and system based on model prediction and medium

    CN119602656A