FINITE TIME SPEED CONTROL METHOD FOR PERMANENT MAGNET SYNCHRONOUS MOTOR BASED ON FAST INTEGRAL TERMINAL SLIDING MODE AND DISTURBANCE ESTIMATION
20230246578 · 2023-08-03
Inventors
Cpc classification
H02P23/14
ELECTRICITY
H02P21/00
ELECTRICITY
H02P2207/05
ELECTRICITY
International classification
H02P21/00
ELECTRICITY
Abstract
A finite time speed control method for a permanent magnet synchronous motor (PMSM) based on a fast integral terminal sliding mode and disturbance estimation comprises: firstly, determining a mathematical model of a speed loop of the PMSM under the influence of system parameters uncertainty and unknown load torque; secondly, designing an improved fast integral terminal sliding surface on the basis of the idea of terminal sliding mode control; then, proposing a disturbance estimation method based on an adaptive fuzzy system with respect to the disturbance in a PMSM system; designing a PMSM speed controller on this basis; and finally, completing the concrete implementation of the whole technical solution. The present invention designs the fast integral terminal sliding surface and a sliding mode control law to ensure that a motor speed tracking error converges to zero within finite time and enhances the rapidity of a PMSM speed regulating system.
Claims
1. A finite time speed control method for a permanent magnet synchronous motor (PMSM) based on a fast integral terminal sliding mode and disturbance estimation, comprising the following steps: S1. determining a mathematical model of a speed loop of the PMSM under the influence of system parameters uncertainty and unknown load torque; in a d-q coordinate system, a mathematical model of a speed loop of a non-salient pole permanent magnet synchronous motor is:
{dot over (ω)}=αi.sub.q*+d in the formula, d(t) represents a lumped disturbance term; α is a known constant coefficient; S2. constructing a fast integral terminal sliding surface: firstly, defining a speed tracking error: e=ω−ω.sub.d, where ω.sub.d represents motor target speed; then, designing the fast integral terminal sliding surface as: s=e+α∫.sub.0.sup.tedσ+β∫.sub.0.sup.te.sup.q/pdσ; where α,β>0, which are constant coefficients; 0<q/p<1; q and p are positive odd numbers; when the tracking error of the motor speed converges to the sliding surface, s=0, i.e., e=−α∫.sub.0.sup.tedσ−β∫.sub.0.sup.te.sup.q/pdσ; solving the above equation to obtain the time for the tracking error of the motor speed to converge to zero from reaching the sliding surface:
d=
{circumflex over ({dot over (Φ)})}ΓH(x)s where Γ∈R.sup.r×r is a positive definite symmetric matrix; and s represents the fast integral terminal sliding surface constructed in step S2. after obtaining the estimated value {circumflex over (Φ)} of
2. The finite time speed control method for the PMSM based on the fast integral terminal sliding mode and disturbance estimation according to claim 1, wherein the finite time speed control method for the PMSM is adopted so that the time used in the whole motor speed regulation process is finite, and the finite time tracking of motor speed can be realized; combining with the time t.sub.s taken for the motor speed tracking error to converge to zero on the designed fast integral terminal sliding surface obtained in step S2 and the time t.sub.o taken for the motor speed tracking error to converge to the sliding surface obtained in step S4, obtaining the time for the motor speed tracking error converges to zero from an initial state, i.e., time t.sub.r taken for the motor to reach the target speed, which satisfies:
Description
DESCRIPTION OF DRAWINGS
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
DETAILED DESCRIPTION
[0044] The technical solution proposed by the present invention is further described below in detail in combination with the drawings and specific embodiments.
[0045] The present embodiment discloses a finite time speed control technology for a permanent magnet synchronous motor based on a fast integral terminal sliding mode and disturbance estimation. Specific implementation modes are as follows:
[0046] The present invention is designed for speed control of a non-salient pole permanent magnet synchronous motor, and is based on a vector control frame of i.sub.d=0 permanent magnet synchronous motor (PMSM) speed regulating system as shown in
[0047] S1: Determining a mathematical model of a speed loop of the PMSM under the influence of system parameters uncertainty and unknown load torque:
[0048] with a rotor coordinate system (d-q coordinate system) as a reference coordinate system, a mathematical model of a speed loop of the non-salient pole permanent magnet synchronous motor is:
where ω is motor speed; i.sub.q represents stator current of q axis; K.sub.t is a torque constant; J represents the moment of inertia; B is a viscous friction coefficient; and T.sub.L represents a load torque.
[0049] Further considering the influence of system parameters uncertainty, unknown load torque and current loop tracking error, and rewriting the mathematical model of the PMSM as:
where B.sub.o and J.sub.n represent the nominal values of the viscous friction coefficient and the moment of inertia respectively; ΔB=B−B.sub.o and ΔJ=J−J.sub.n represent deviations between true values and the nominal values of the viscous friction coefficient and the moment of inertia; and i.sub.q* represents a reference value of the stator current of the q axis, i.e., a PMSM speed controller to be designed.
[0050] Further processing the mathematical model of the speed loop of the PMSM which considers the system disturbance to obtain:
{dot over (ω)}=αi.sub.q*+d (3)
In the formula,
since the torque constant K.sub.t and the nominal value J.sub.n of the moment of inertia are known, a is a known constant coefficient; d(t) represents a lumped disturbance term of which the expression is
[0051] S2: Constructing a fast integral terminal sliding surface
[0052] defining a speed tracking error:
e=ω−ω.sub.d (5)
where ω.sub.d represents motor target speed.
[0053] Sliding mode control is widely used in the field of PMSM speed control because of its advantages of strong robustness and anti-disturbance capability. However, traditional sliding mode control can only realize the control effect of asymptotic convergence, and cannot ensure that the motor speed can track the target value in finite time. In terminal sliding mode control, the nonlinear item is introduced into the sliding surface and a nonlinear hyperplane is used as the sliding surface, so that the system state on the sliding surface can converge to an equilibrium point in finite time. At the same time, in order to ensure that the signals used in the proposed technical solution can be directly obtained and improve the steady-state tracking performance of the PMSM speed regulating system, the present invention selects the integral terminal sliding surface as the sliding mode. The expression of the traditional integral terminal sliding surface is as follows:
s=e+β.sub.1∫.sub.0.sup.te.sup.q.sup.
where β.sub.1>0 is a constant coefficient; 0<q.sub.1/p.sub.1<1; and q.sub.1 and p.sub.1 are positive odd numbers.
[0054] The convergence of the above sliding surface is analyzed below. When the speed tracking error converges to the sliding surface, i.e., s=0, the following formula holds:
e=−β.sub.1∫.sub.0.sup.te.sup.q.sup.
[0055] The derivative of formula (7) is taken to obtain
ė=−β.sub.1e.sup.q.sup.
[0056] 0<q.sub.1/p.sub.1<1. Thus, when the speed tracking error is far from the equilibrium point, i.e. |e|>>1, the value of |ė will be greatly reduced. Namely, at this moment, the convergence rate of the speed tracking error e will be obviously reduced, and is lower than that of the traditional linear sliding surface, which is the disadvantage of the traditional integral terminal sliding surface.
[0057] To further increase the convergence rate of the traditional integral terminal sliding surface, the present invention proposes the following form of fast integral terminal sliding surface:
s=e+α∫.sub.0.sup.tedσ+β∫.sub.0.sup.te.sup.q/pdσ (9)
where α,β>0, which are constant coefficients; 0<q/p<1; and q and p are positive odd numbers.
[0058] Next, the convergence rate of the designed sliding surface is analyzed. When the speed tracking error converges to the sliding surface, i.e., s=0, then
e=−α∫.sub.0.sup.tedσ−β∫.sub.0.sup.te.sup.q/pdσ (10)
[0059] The derivative of the above formula is taken to obtain
ė=−αe−βe.sup.q/p (11)
[0060] Due to the existence of −αe term which provides the convergence speed that can ensure a positive correlation relation with the distance between the motor speed tracking error and the equilibrium point, when the speed tracking error is far from the equilibrium point, i.e. |e|>>1, although the convergence rate provided by −βe.sup.q/p term is small, −αe term will provide a large convergence rate. When the speed tracking error is close to the equilibrium point, i.e. |e|<<1, then the convergence rate provided by −αe term is small, but due to 0<q/p<1, −βe.sup.q/p term will provide a large convergence rate. In conclusion, the fast integral terminal sliding surface designed by the present invention can ensure high convergence rate as long as the motor speed tracking error is located on the sliding surface.
[0061] The specific convergence time is provided below. The equation (11) is solved to calculate the time for the motor speed tracking error to converge to zero from reaching the sliding surface:
[0062] S3: Disturbance estimation method based on an adaptive fuzzy system
[0063] Through product inference, weighted average and singleton fuzzifier, the output of the fuzzy system can be expressed as
y(x)=Φ.sup.TH(x) (13);
in the formula, y represents the output of the fuzzy system; x−[x.sub.1, x.sub.2, . . . , x.sub.n].sup.T is an input vector of the fuzzy system, and n is the number of fuzzy inputs. In the technical solution proposed by the present invention, the fast integral terminal sliding surface and the speed tracking error are selected as the inputs of the fuzzy system, i.e., x=[s,e].sup.T; Φ.sup.T=[Φ.sub.1, Φ.sub.2, . . . , Φ.sub.r].sup.T is an adjustable weight vector, and r is the number of fuzzy rules; H(x)=[h.sub.1(x), h.sub.2(x), . . . , h.sub.r((x))].sup.T represents a fuzzy basis function vector, and:
where μ.sub.A.sub.
[0064] In the present invention, the lumped disturbance term d(t) defined in step S1 is estimated by the fuzzy system, and according to the universal approximation theorem of the fuzzy system, an optimal fuzzy system
d=
In the formula,
[0065] Since the weight vector
{circumflex over ({dot over (Φ)})}ΓH(x)s (16)
where Γ∈R.sup.r×r is a positive definite symmetric matrix; and s represents the fast integral terminal sliding surface constructed in step S2. After obtaining the estimated value {circumflex over (Φ)} of
[0066] S4: Designing the PMSM speed controller
[0067] designing the following form of PMSM speed controller based on steps S2 and S3:
where k.sub.1 and k.sub.2 are positive adjustable control gains; k.sub.2>l+ρ; l>0 is the upper bound of {tilde over (Φ)}.sup.TH(x), i.e., |{tilde over (Φ)}.sup.TH(x)|<l; {tilde over (Φ)}=
[0068] The derivative of the fast integral terminal sliding surface (9) with respect to time t is taken:
{dot over (s)}=ė+αe+βe.sup.q/p={dot over (ω)}−{dot over (ω)}.sub.d+αe+βe.sup.q/p (18)
[0069] Further, in combination with the system mathematical model (3), the following formula can be obtained:
{dot over (s)}−αi.sub.q*+d−{dot over (ω)}.sub.d+αe+βe.sup.q/p (19)
[0070] The controller expression (17) is substituted into the above equation, and according to formula (15):
{dot over (s)}=
[0071] The stability of a closed-loop system is analyzed below according to Lyapunov method, which proves that the technical solution proposed by the present invention can control the motor speed to reach a given value in finite time and can effectively overcome the influence of system disturbance. Proof: constructing a Lyapunov function of the following form:
[0072] taking the derivative of the Lyapunov function, and combining with formulas (16) and (20) to obtain:
[0073] according to formulas (21) and (22), obtaining that V(t) is bounded, i.e.,
V∈ζ.sub.∞ (23)
[0074] From the form of V(t), it can be seen that s,{tilde over (Φ)}∈ζ.sub.∞, and further combining with formulas (5), (6) and (16), obtaining:
e,ω,{circumflex over (Φ)},{dot over (s)},i.sub.q*∈ζ.sub.∞ (24)
Namely, all the signals in the closed-loop system are bounded.
[0075] In addition, h.sub.i(x)i=1, . . . , r represents a fuzzy basis function which is a bounded function, and then H(x)=[h.sub.1(x),h.sub.2(x), . . . ,h.sub.r((x))].sup.T∈ζ.sub.∞;
due to {tilde over (Φ)}∈ζ.sub.∞, {tilde over (Φ)}.sup.TH(x)∈ζ.sub.∞ holds. Assuming that:
|{tilde over (Φ)}.sup.TH(x)|<1 (25)
where l>0 is a positive constant.
[0076] Next, it is proved that the speed tracking error can converge to the sliding surface in finite time, that is, the time for s to converge to zero is finite.
[0077] A new Lyapunov function is designed as follows:
[0078] By taking the derivative of the Lyapunov function, in combination with formulas (20) and (25), it can be obtained that
In the formula, λ=k.sub.2−ρ−l. Further, according to formulas (26) and (27), it can be obtained that
{dot over (V)}.sub.1≤−λ√{square root over (2V.sub.1(s))} (28)
[0079] It is assumed that the system state will reach the sliding surface at t=t.sub.o, i.e., V.sub.1(t.sub.o)=0; then the definite integral of formula (28) at time 0−t.sub.o can be calculated:
That is:
[0080]
where s(0) represents the value of the fast integral terminal sliding surface s constructed in step S2 at time of 0.
[0081] Further, in combination with the time t.sub.s taken for the motor speed tracking error to converge to zero on the designed fast integral terminal sliding surface obtained in step S2, it is obtained the time that the motor speed tracking error converges to zero from an initial state, i.e., the time t.sub.r taken for the motor to reach the target speed, which satisfies:
Then, through the above rigorous theoretical analysis, it proves that the technical solution proposed by the present invention can enable the motor speed to reach a target value in finite time and can also effectively overcome the influence of system disturbance.
[0082] S5: Specifically realizing the technical solution
[0083] Through steps S1-S4, the control frame of the PMSM speed regulating system shown in
[0084] In order to further verify the effectiveness and advancement of the proposed technology, the present invention compares the control performance with that of the “vector control frame of the PI algorithm-based PMSM speed regulating system” as the most commonly used industrial control frame through simulation.
[0085] Simulation 1: comparison of speed regulation performance under ideal conditions
[0086] Firstly, the speed regulation performance of the proposed technical solution and the PI algorithm is compared under ideal conditions, that is, without parameters uncertainty and load torque disturbance. System parameters are set as follows: J=3.78×10.sup.−4 kg.Math.m.sup.2, B=1.74×10.sup.−5 N.Math.m.Math.s/rad, K.sub.t=1.4N.Math.m/A; and at the same time, the motor target speed is set as ω.sub.d=1200 r/min. Simulation results are shown in
[0087] Simulation 2: comparison of speed regulation performance under the influence of disturbance
[0088] Further, in order to verify and compare the anti-disturbance capability of the proposed method and the PI algorithm, the influence of internal and external disturbances including system parameters uncertainty and load torque change is comprehensively considered in simulation 2, the motor moment of inertia is adjusted to twice of that in simulation 1, and the viscous friction coefficient is adjusted to 5 times of the original value, i.e., J=2×3.78×10.sup.−4 kg.Math.m.sup.2, B=5×1.74×10.sup.−5 N.Math.m.Math.s/rad; and other system parameters are unchanged. Meanwhile, the controller parameters of the proposed method in the present invention and the PI algorithm are also kept the same as those in simulation 1. In addition, in order to simulate the influence of the unknown load torque, at 0.03 s during simulation, 0.5 N.Math.m load torque is applied, and the load torque is removed at 0.035 s. Simulation results are shown in
[0089] In conclusion, the results of simulation 1 and simulation 2 show that compared with the PI algorithm control solution commonly used in industry, the technical solution proposed by the present invention has higher response speed and higher control accuracy, and can accurately adjust the motor speed to the given value within a shorter time. At the same time, the proposed technical solution has advantages in anti-disturbance capability and can effectively overcome the influence of disturbance including system parameters uncertainty and unknown load torque, which means that the present invention is more practical and suitable for application in actual systems.
[0090] The above embodiments only express the implementation of the present invention, and shall not be interpreted as a limitation to the scope of the patent for the present invention. It should be noted that, for those skilled in the art, several variations and improvements can also be made without departing from the concept of the present invention, all of which belong to the protection scope of the present invention.