Motor sliding mode control method based on disturbance observer and improved power reaching law
Through the motor sliding mode control method based on the disturbance observer and improved power-time approach law, the vibration problem of sliding mode change structure control in permanent magnet synchronous motor is solved, the robustness and dynamic response performance of the system are improved, and the More stable motor control.
Patent Information
- Application Number
- CN202411199162.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the vector control system of permanent magnet synchronous motor, the sliding mode variable structure control has the potential to achieve infinite speed because the switching frequency of the switching device cannot reach infinite speed, and the vibration phenomenon will occur during the sliding mode surface switching process. In addition, traditional PI control has large overshoot and is robust. 性差的问题。
Using a motor slip mode control method based on the disturbance observer and improved power approach law, the motor matching disturbance is estimated through a high-gain expansion disturbance observer and input it into a speed controller with improved power approach rate, combined with The current control without differential beat prediction is constructed, a mathematical model is used for discretization and matrix representation, and the sliding mode control of the motor is realized.
It effectively suppresses the vibration phenomenon in sliding mode control, improves the anti-interference performance and dynamic response performance of the system, and significantly improves the control effect of the speed and current ring.
Smart Images

Figure CN119070678A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of motor sliding film control. Background Art
[0002] As the manufacturing process of rare earth permanent magnet materials continues to improve, the development of permanent magnet synchronous motors is increasing. They have the advantages of small size, high efficiency and simple structure. However, in its vector control system, in order to achieve dual closed-loop control of the speed loop and the current loop, a high-performance controller must be designed to improve the speed regulation performance of the system. Traditional PI control has the disadvantages of large overshoot and poor robustness. In addition, the three-phase PMSM is a nonlinear, strongly coupled multivariable system. When changes occur inside the motor or the motor control system is affected by external disturbances, the traditional PI control cannot meet the control requirements.
[0003] In order to overcome the shortcomings of PI control and improve the robustness of the control system, a variety of control schemes have been proposed in the prior art, including sliding mode control, adaptive control, predictive control, intelligent control, etc. Among them, sliding mode variable structure control is widely used because of its advantages such as simple physical implementation, fast response, and insensitivity to parameter changes and disturbances. However, sliding mode variable structure control also has some shortcomings in practical applications, such as the switching frequency of its switching devices cannot reach infinite speed, and jitter phenomenon will occur during the switching process of the sliding surface. Summary of the invention
[0004] The present invention aims to solve the problem that in a permanent magnet synchronous motor vector control system, a sliding mode variable structure control may generate a chattering phenomenon during the switching process of the sliding mode surface because the switching frequency of the switching device cannot reach infinite speed. A motor sliding mode control method based on a disturbance observer and an improved power reaching law is provided.
[0005] The motor sliding mode control method based on disturbance observer and improved power reaching law includes:
[0006] The motor matching disturbance is estimated using a high-gain extended disturbance observer, and the expression of the high-gain extended disturbance observer is as follows:
[0007]
[0008] Among them, e is the speed estimation error, z1 is the actual mechanical angular velocity of the motor, is the motor mechanical angular velocity estimated by the observer, is the motor matching disturbance estimated by the observer, and They are and The first-order derivative of , μ is the disturbance observation matching coefficient and μ>0, α1 and α2 are both positive real numbers, J is the motor's moment of inertia, and B is the motor's friction coefficient;
[0009] Let the q-axis given current In order to improve the sliding mode control law u of the speed controller with power approaching rate, the motor matching disturbance estimated by the observer is input into the sliding mode control law of the speed controller with power approaching rate as the total disturbance d of the motor control system, and the given current of q axis is calculated and obtained. The sliding mode control law u of the speed controller with improved power approaching rate is expressed as follows:
[0010]
[0011] in, p n is the number of motor pole pairs, is the motor flux, p is the convergent linear term constant and p>0, q is the convergent nonlinear term constant and q>0, λ is the convergent nonlinear term power constant and 0<λ<1, sgn() represents the sign function, x1 is the mechanical angular velocity error of the motor control system and For a given mechanical angular velocity, ω m is the actual mechanical angular velocity of the motor, c is a constant greater than 0, s is the sliding surface function and has:
[0012]
[0013] t represents time, represents the first-order derivative of s;
[0014] Construct a mathematical model of the permanent magnet synchronous motor under the dq axis and discretize it, rewrite the discretized mathematical model into a matrix form, and convert the q axis given current The motor d-axis and q-axis voltages are input into a discrete mathematical model in matrix form to obtain the motor d-axis and q-axis voltages, and the motor d-axis and q-axis voltages are used to implement sliding mode control of the motor.
[0015] Furthermore, the above-mentioned mathematical model of the permanent magnet synchronous motor under the dq axis is constructed and discretized, including:
[0016] Construct the mathematical model of permanent magnet synchronous motor under dq axis:
[0017]
[0018] Among them, u d and u q are the d-axis and q-axis voltages, respectively, i d and i q are the d-axis and q-axis currents, respectively, and L d and L qare the d-axis and q-axis inductances, ω e is the electrical angular velocity;
[0019] Let L d =L q =L, rewrite the mathematical model into the following form:
[0020]
[0021] and i d and i q The first derivative of ;
[0022] The rewritten mathematical model is discretized using the first-order Euler forward discretization method to obtain:
[0023]
[0024] Among them, T s is the sampling time, and k represents a discrete time node.
[0025] Furthermore, the above discretized mathematical model is rewritten into a matrix form, including:
[0026] Substitute the discretized mathematical model into the rewritten mathematical model to obtain the mathematical model in matrix form:
[0027]
[0028] Furthermore, the q-axis given current Input into the discretized mathematical model in matrix form to obtain the motor d-axis and q-axis voltages, including:
[0029] Let I(k)=[i d (k)i q (k)] T , F(k)=[u d (k)u q (k)] T ,
[0030] I(k+1)=I * (k)
[0031] The q-axis given current As the q-axis given current at time k make Then the motor d-axis and q-axis voltages at time k are as follows:
[0032]
[0033]
[0034] Furthermore, the design process of the above high-gain extended disturbance observer is as follows:
[0035] Establish the motor control system spatial state equation:
[0036]
[0037] Among them, z1 and z2 are state variables of the state equation, and y is the output of the state equation;
[0038] Let z1 = ω m , z2=-d, then y=ω m ;
[0039] Taking z1 and z2 as the observation objects of the high-gain expanded disturbance observer, a high-gain expanded disturbance observer of the speed estimation error e is established to obtain the high-gain expanded disturbance observer:
[0040]
[0041] Furthermore, the design process of the sliding mode control law of the speed controller with improved power approaching rate is as follows:
[0042] Construct the mechanical equations of motion for the motor:
[0043]
[0044] Among them, T L is the load torque, i q is the q-axis current;
[0045] Define the motor mechanical angular velocity error state:
[0046] and
[0047] Then we have:
[0048] The derivative of the sliding surface function s is:
[0049]
[0050] The design improvement power approach rate is: make Then the sliding mode control law u is expressed as follows:
[0051]
[0052] Furthermore, the above-mentioned mechanical motion equation of the motor includes:
[0053] Construct the electromagnetic torque equation of the motor:
[0054]
[0055] Among them, T e is the electromagnetic torque, L d and L q are the d-axis and q-axis inductances respectively and L d =L q ,i d is the d-axis current;
[0056] Construct the mechanical equations of motion for the motor:
[0057]
[0058] Adopt i d =0 control scheme, substitute the electromagnetic torque equation into the mechanical motion equation, then:
[0059]
[0060] Further, after obtaining the motor d-axis and q-axis voltages, the motor d-axis and q-axis voltages are subjected to Park inverse transformation and Clark inverse transformation in sequence to obtain the motor three-phase voltage;
[0061] The three-phase voltage of the motor is subjected to space vector pulse width modulation and then input into the three-phase inverter of the motor to realize sliding mode control of the motor.
[0062] The motor sliding mode control method based on disturbance observer and improved power reaching law described in the present invention has the following advantages:
[0063] (1) In the speed control law, the improved power approach rate is adopted to suppress the inherent chattering phenomenon of sliding mode control to a great extent.
[0064] (2) The load disturbance observed by the introduced high-gain expanded observer is compensated to the speed controller, which improves the anti-disturbance performance of the system.
[0065] (3) The current loop adopts zero-beat predictive current control to achieve better dynamic response performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 A diagram of a sliding mode control method for a permanent magnet synchronous motor based on a disturbance observer and an improved power reaching law provided by an embodiment of the present invention;
[0067] Figure 2 A variable torque curve diagram of a control system provided by an embodiment of the present invention;
[0068] Figure 3The no-load starting and speed changing curve diagram of the control system and PI control system provided by the embodiment of the present invention;
[0069] Figure 4 The speed response curve diagram of the control system and PI control system provided in the embodiment of the present invention when the torque changes. DETAILED DESCRIPTION
[0070] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.
[0071] Reference Figure 1 Specifically describing this embodiment, the motor sliding mode control method based on disturbance observer and improved power reaching law described in this embodiment includes:
[0072] Step 1: Construct the mathematical model of permanent magnet synchronous motor under dq axis:
[0073]
[0074] Among them, u d and u q are the d-axis and q-axis voltages respectively, R is the stator winding phase resistance, i d and i q are the d-axis and q-axis currents, respectively, and L d and L q are the d-axis and q-axis inductances, ω e is the electrical angular velocity, is the motor flux.
[0075] Construct the electromagnetic torque equation of the motor:
[0076]
[0077] Among them, T e is the electromagnetic torque, p n is the number of motor pole pairs.
[0078] For surface mounted permanent magnet synchronous motors, L d =L q , so the electromagnetic torque equation can be rewritten as:
[0079]
[0080] Construct the mechanical equations of motion for the motor:
[0081]
[0082] Where J is the motor moment of inertia, T L is the load torque, B is the motor friction coefficient, ω m is the actual mechanical angular velocity of the motor.
[0083] If i is used d =0 control scheme, then substitute equation (3) into equation (4), and we get:
[0084]
[0085] Step 2: Based on the mathematical model of the permanent magnet synchronous motor, an improved power reaching law sliding mode controller is designed for the speed loop, including:
[0086] Define the motor mechanical angular velocity error state:
[0087]
[0088]
[0089] Where x1 is the mechanical angular velocity error of the motor control system, For a given mechanical angular velocity, x2 is the first derivative of x1.
[0090] Combining equations (5) and (7), we can see that:
[0091]
[0092] A new type of non-singular fast terminal sliding mode controller is introduced, and the sliding surface function s is defined as:
[0093]
[0094] Among them, p is the constant of the convergent linear term system and p>0, q is the constant of the convergent nonlinear term system and q>0, λ is the power constant of the convergent nonlinear term and 0<λ<1, and sgn() represents the sign function.
[0095] By taking the derivative of formula (9), we can get:
[0096]
[0097] Substituting formula (8) into formula (10), we can get:
[0098]
[0099] Then the improved power approximation rate of the design is:
[0100]
[0101] Here, c is a constant greater than 0.
[0102] make Control rate to be designed Then the sliding mode control law of the speed controller with improved power approaching rate is obtained from formula (11):
[0103]
[0104] In order to verify the stability of the designed controller, according to the Lyapunov stability principle, the Lyapunov function is selected Then we have:
[0105]
[0106] It can be seen from the above formula that the designed control system is stable.
[0107] Step 3: Use a high-gain expanded observer to observe the load disturbance of the system in real time, and feed forward the observed value to the speed loop sliding mode controller to improve the anti-interference ability of the system, as follows:
[0108] According to formula (4), considering the changes of system parameters and load torque, we can get:
[0109]
[0110] In the formula, Δa is the parameter change caused by the moment of inertia, Δb is the parameter change caused by the rotor flux, and Δc is the parameter change caused by the load torque.
[0111] d represents the total disturbance of the motor control system, which includes external load disturbance and internal parameter disturbance.
[0112] According to equations (13) and (15), the designed control rate is:
[0113]
[0114] The system spatial state equation is established as:
[0115]
[0116] Among them, the state variable z1 = ω m , z2=-d, output y=ω m Taking z1 and z2 as observation objects, a high-gain feedback of the speed estimation error e is established, and a high-gain extended disturbance observer is designed as follows:
[0117]
[0118] Among them, z1 is the actual mechanical angular velocity, is the mechanical angular velocity estimated by the observer, is the motor matching disturbance estimated by the observer, μ is the disturbance observation matching coefficient and μ>0, α1 and α2 are both positive real numbers, and the control rate designed is as follows:
[0119]
[0120] Where l is the observation gain of the extended observer.
[0121] Step 4: Design deadbeat predictive current control in the current loop as follows:
[0122] Select the motor current i d and i q is a state variable, and for the surface-mounted permanent magnet synchronous motor L d =L q =L. Rewrite formula (1) as follows:
[0123]
[0124] Since the sampling time T s It is short enough, so the first-order Euler forward discretization method is used to discretize equation (20) to obtain:
[0125]
[0126] In the formula, k represents a discrete time node, and i d and i q The first derivative of .
[0127] Substituting equation (21) into equation (20) and writing it in matrix form, we get:
[0128]
[0129] Let I(k)=[i d (k)i q (k)] T , F(k)=[u d (k)u q (k)] T , then formula (22) can be rewritten as:
[0130] I(k+1)=CI(k)+DF(k)-E (23),
[0131] In the formula,
[0132] Let I(k+1)=I * (k), where and The currents are given for the d-axis and q-axis respectively, so the control output of the deadbeat current controller is:
[0133] F(k)=[I * (k)-CI(k)+E]·D -1 (twenty four).
[0134] The specific form is as follows:
[0135]
[0136]
[0137] like Figure 1 As shown, the permanent magnet synchronous motor control system consists of a speed controller with an improved power reaching law, a deadbeat predictive current controller, Park inverse transform, Clark inverse transform, SPWM, a DC power supply, a Y-Inverter, a PMSM, a Park transform, a Clark transform, a speed position sensor, and a high gain expanded observer.
[0138] The motor parameters in this embodiment are shown in Table 1.
[0139] Table 1 Permanent magnet synchronous motor parameters
[0140]
[0141]
[0142] By experimenting with the motor control system using the traditional PI control and the control method of this embodiment, we can obtain Figures 2 to 4 The following conclusions can be drawn from the curve graph:
[0143] (1) In the speed control law, the improved power approach rate is adopted, which greatly suppresses the inherent chattering phenomenon of sliding mode control, and has a faster response and almost no overshoot;
[0144] (2) The load disturbance observed by the introduced high-gain expanded observer is compensated to the speed controller, which improves the anti-disturbance performance of the system;
[0145] (3) The current loop adopts zero-beat predictive current control to achieve better dynamic response performance.
[0146] In summary, this embodiment first constructs a mathematical model of a permanent magnet synchronous motor, then defines the state variables of the motor control system and establishes the state equation of the system, then designs a sliding mode controller with improved power approach rate for the speed loop, then adopts deadbeat predictive current control for the current loop to obtain better dynamic response performance, and finally introduces a high-gain expansion observer to observe the load disturbance of the system in real time, and feeds forward the observation value to the speed loop sliding mode controller to improve the anti-interference ability of the system. The present invention designs a sliding mode controller with improved power approach rate for the speed loop, then adopts deadbeat predictive current control for the current loop to obtain better dynamic response performance, avoiding the system jitter problem caused by excessive selection of controller gain; finally, introduces a high-gain expansion observer to observe the load disturbance of the system in real time, and feeds forward the observation value to the speed loop sliding mode controller to further reduce system jitter and improve the anti-interference ability of the system.
[0147] Although the present invention is described herein with reference to specific embodiments, it should be understood that these embodiments are merely examples of the principles and applications of the present invention. It should therefore be understood that many modifications may be made to the exemplary embodiments and that other arrangements may be devised without departing from the spirit and scope of the present invention as defined by the appended claims. It should be understood that the various dependent claims and features described herein may be combined in a manner different from that described in the original claims. It should also be understood that the features described in conjunction with a single embodiment may be used in other described embodiments.
Claims
1. A motor sliding mode control method based on disturbance observer and improved power reaching law, characterized in that: include: The motor matching disturbance is estimated using a high-gain extended disturbance observer, and the expression of the high-gain extended disturbance observer is as follows: Among them, e is the speed estimation error, z1 is the actual mechanical angular velocity of the motor, is the motor mechanical angular velocity estimated by the observer, is the motor matching disturbance estimated by the observer, and They are and The first-order derivative of , μ is the disturbance observation matching coefficient and μ>0, α1 and α2 are both positive real numbers, J is the motor's moment of inertia, and B is the motor's friction coefficient; Let the q-axis given current In order to improve the sliding mode control law u of the speed controller with power approaching rate, the motor matching disturbance estimated by the observer is input into the sliding mode control law of the speed controller with power approaching rate as the total disturbance d of the motor control system, and the given current of q axis is calculated and obtained. The sliding mode control law u of the speed controller with improved power approaching rate is expressed as follows: in, p n is the number of motor pole pairs, is the motor flux, p is the convergent linear term constant and p>0, q is the convergent nonlinear term constant and q>0, λ is the convergent nonlinear term power constant and 0<λ<1, sgn() represents the sign function, x1 is the mechanical angular velocity error of the motor control system and For a given mechanical angular velocity, ω m is the actual mechanical angular velocity of the motor, c is a constant greater than 0, s is the sliding surface function and has: t represents time, represents the first derivative of s; Construct a mathematical model of the permanent magnet synchronous motor under the dq axis and discretize it, rewrite the discretized mathematical model into a matrix form, and convert the q axis given current The motor d-axis and q-axis voltages are input into a discrete mathematical model in matrix form to obtain the motor d-axis and q-axis voltages, and the motor d-axis and q-axis voltages are used to implement sliding mode control of the motor.
2. The motor sliding mode control method based on disturbance observer and improved power reaching law according to claim 1, characterized in that: The method of constructing a mathematical model of the permanent magnet synchronous motor under the dq axis and performing discretization includes: Construct the mathematical model of permanent magnet synchronous motor under dq axis: Among them, u d and u q are the d-axis and q-axis voltages, respectively, i d and i q are the d-axis and q-axis currents, respectively, and L d and L q are the d-axis and q-axis inductances, ω e is the electrical angular velocity; Let L d =L q =L, rewrite the mathematical model into the following form: and i d and i q The first derivative of ; The rewritten mathematical model is discretized using the first-order Euler forward discretization method to obtain: Among them, T s is the sampling time, and k represents a discrete time node.
3. The motor sliding mode control method based on disturbance observer and improved power reaching law according to claim 2, characterized in that: The discretized mathematical model is rewritten into a matrix form, including: Substitute the discretized mathematical model into the rewritten mathematical model to obtain the mathematical model in matrix form:
4. The motor sliding mode control method based on disturbance observer and improved power reaching law according to claim 3 is characterized in that: The q-axis given current Input into the discretized mathematical model in matrix form to obtain the motor d-axis and q-axis voltages, including: Let \(I(k)=[i d (k)i q (k)] T , F(k)=[u d (k)u q (k)] T , The q-axis given current As the q-axis given current at time k make Then the motor d-axis and q-axis voltages at time k are as follows:
5. The motor sliding mode control method based on disturbance observer and improved power reaching law according to claim 1, characterized in that: The design process of the high-gain extended disturbance observer is as follows: Establish the motor control system spatial state equation: Among them, z1 and z2 are state variables of the state equation, and y is the output of the state equation; Let z1 = ω m , z2=-d, then y=ω m ; Taking z1 and z2 as the observation objects of the high-gain expanded disturbance observer, a high-gain expanded disturbance observer of the speed estimation error e is established to obtain the high-gain expanded disturbance observer:
6. The motor sliding mode control method based on disturbance observer and improved power reaching law according to claim 1, characterized in that: The design process of the sliding mode control law of the speed controller with improved power approaching rate is as follows: Construct the mechanical equations of motion for the motor: Among them, T L is the load torque, i q is the q-axis current; Define the motor mechanical angular velocity error state: and Then we have: The derivative of the sliding surface function s is: The design improvement power approach rate is: make Then the sliding mode control law u is expressed as follows:
7. The motor sliding mode control method based on disturbance observer and improved power reaching law according to claim 6, characterized in that: The mechanical motion equation of the motor is constructed, including: Construct the electromagnetic torque equation of the motor: Among them, T e is the electromagnetic torque, L d and L q are the d-axis and q-axis inductances respectively and L d =L q ,i d is the d-axis current; Construct the mechanical equations of motion for the motor: Adopt i d =0 control scheme, substitute the electromagnetic torque equation into the mechanical motion equation, then:
8. The motor sliding mode control method based on disturbance observer and improved power reaching law according to any one of claims 1 to 7, characterized in that: After obtaining the motor d-axis and q-axis voltages, performing Park inverse transformation and Clark inverse transformation on the motor d-axis and q-axis voltages in sequence to obtain the motor three-phase voltages; The three-phase voltage of the motor is subjected to space vector pulse width modulation and then input into the three-phase inverter of the motor to realize sliding mode control of the motor.
Citation Information
Patent Citations
Sliding-mode control method of permanent magnet synchronous motor based on reaching law and disturbance observation compensation
CN109450320A
