Sliding mode control method with anti-interference fault-tolerant performance
Technical Field
The invention relates to a sliding mode control method with anti-interference fault-tolerant performance, which can be used for anti-interference fault-tolerant control of an input-limited system, such as an attitude control subsystem in the aerospace and deep space detection fields of satellites, airplanes and the like with input torque limited by the maximum rotating speed of a flywheel.
Background
With the complication of the task of the spacecraft, the requirement on the attitude control precision is higher and higher, and the high-precision attitude control of the spacecraft becomes a research hotspot at home and abroad. The space environment of the spacecraft is complex, the spacecraft is interfered by external and internal multi-source and unmodeled dynamically, and the fault occurrence probability of the attitude control system is high. The faults of the sensors, the flywheel and the like can cause task interruption and even failure, and in order to improve the reliability of the system, an accurate fault diagnosis and fault-tolerant control method is required to be adopted. Meanwhile, the aircraft attitude control system is not accurately modeled due to various factors such as unmodeled dynamics, unknown parameters, random interference and other equivalent interference variables, so that the control accuracy is reduced and even instability is caused, and the anti-interference attitude control method for the spacecraft is very important. In addition, the flywheel is limited by the maximum rotating speed, the generated input torque is limited, and the system has the problem of input saturation. Input saturation affects the control performance of the system, is prone to cause system instability, and must be considered in the design process of the controller.
In order to solve the problems, scholars at home and abroad propose a plurality of effective methods. In the case where there is a time-varying fault in which only a derivative is bounded, the fault diagnosis method is classified into a dynamic mathematical model-based method, a signal processing-based method, and a knowledge-based method, among which an observer-based method, a neural network-based method, and a study of wavelet transformation are very extensive. Under the condition that only modelable interference exists in the system, the interference can be estimated and counteracted based on the control of the interference observer, and the system has the advantages of simple structure and capability of combining different control methods according to different performance requirements of the system. None of the above methods can be applied to system control where there are limits on faults, disturbances and input saturation.
In recent years, sliding mode control receives more and more attention due to the excellent characteristics of the sliding mode control, and the method is insensitive to parameter change and disturbance, has a simple structure and is suitable for control of a satellite attitude control system. Due to the influence of faults and interference in the attitude control system, the sliding mode control method is easy to generate buffeting, so that a learner designs an interference observer to counteract the influence of the interference, the buffeting problem of the sliding mode control is improved, high-reliability and high-precision attitude control is realized, and the faults are not considered.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: aiming at an input saturated multi-source interference system, a sliding mode control method with fault compensation and interference cancellation and inhibition performance is provided. The fault diagnosis observer and the disturbance observer are designed to estimate and counteract the fault and the disturbance in the system, and the sliding mode controller is designed to have robustness to parameter uncertainty and disturbance.
The technical solution of the invention is as follows: a sliding mode control method with anti-interference fault-tolerant performance is characterized by comprising the following steps:
firstly, considering faults and multi-source interference in a system, and establishing a dynamic model of the system; secondly, designing a fault diagnosis observer and a disturbance observer to estimate faults and modelable disturbance in a system; thirdly, solving a gain matrix of the interference observer and the fault diagnosis observer; then designing a sliding mode controller, substituting the interference and fault estimation values into the controller to compensate equivalent interference and fault; finally, analyzing the stability of the controller, and solving the sliding mode gain on the premise of system input saturation; the method comprises the following specific steps:
firstly, considering faults and multi-source interference in a system, and establishing a dynamic model of the system
And (3) building a system dynamics model containing faults and interferences, as follows:
wherein x is1(t),x2(t),…,xn(t) is the system state, n ≧ 2 is a positive integer, u (t) is the control input, F (t) is the rate-of-change bounded time-varying fault, d1(t) modelable interference, d2(t) is unmoldable random interference. a is0、a1、…an-1And b1、b2Are all system internal parameters. d1(t) may be represented by the following interference model ∑1Represents:
wherein W (t) is a state variable of the modelable interference model, V is an output matrix of the modelable interference model, W represents a system matrix of the modelable interference model, B3A gain array for unmoldable random interference, (t) an energy bounded unmoldable random interference.
Selecting a state variable X (t) ═ x1(t)x2(t)......xn(t)]TWritten as a state space expression is as follows:
wherein X (t) is system state variable, A is system array, B1As an input matrix, B2A gain array of random interference is unmoldable.
Secondly, designing a fault diagnosis observer and a disturbance observer to respectively estimate the fault and the modelable disturbance aiming at the time-varying fault F (t) in the system, wherein the fault diagnosis observer is designed as follows:
for modelable interference d in a system1(t) designing a disturbance observer as follows:
wherein,in order to be an estimate of the fault,in order to be an interference estimate,and (d) an estimated value of w (t), ξ (t) and r (t) are auxiliary variables in the fault diagnosis observer and the disturbance observer respectively, and K and L are a gain matrix of the fault diagnosis observer to be determined and a gain matrix of the disturbance observer respectively, and are obtained by the subsequent step 3.
Defining fault estimation errors Interference observation error
The fault estimation error equation can be obtained according to the expression of the fault diagnosis observer as follows:
the interference estimation error equation can be obtained according to the expression of the interference observer as follows:
thirdly, solving the gain matrix of the fault diagnosis observer and the gain matrix of the interference observer
The estimation error equation for modelable interference and the estimation error equation for fault in the second step of the cascade are as follows:
wherein E=[VI],
z∞(t) is H∞Performance reference output, C is H∞And (5) outputting a matrix with adjustable performance.
Solving a modelable interference observer gain matrix and a fault diagnosis observer gain matrix of the multi-source interference system by using a convex optimization algorithm; given an initial value ew(0) And eF(0) Adjustable transfusionOut of matrix C, interference suppression degree gamma1、γ2And gamma3Solving the following convex optimization problem:
min(eT(0)Pe(0))
wherein symbols denote symmetric blocks, sym (PW) of the corresponding part of the symmetric matrix1+RB1E) The expression is as follows: sym (PW)1+RB1E)=(PW1+RB1E)+(PW1+RB1E)T。
Solve the above equation to obtain P, R, the observer gain matrix
Fourthly, designing a sliding mode controller, and respectively compensating the fault and the disturbance by using the estimated values of the fault and the disturbance, wherein the design steps of the sliding mode controller are as follows:
1) design sliding mode surface s (t)
The general design method of the slip form face is as follows:
wherein k isi>0,i=1,2,…,n-1。
2) Design sliding mode control law
Adopting function switching control law, including equivalent input and switching input, the equivalent input is formed fromAnd (6) obtaining. The control law is designed as follows:
u(t)=ueq(t)+uvs(t)
wherein u iseq(t) is the equivalent control quantity of the system, uvsAnd (t) is a switching control amount.
Order toIs provided withThe kinetic model of the substitution system can be obtained
U (t) obtained from the above equation is an equivalent control amount, and further:
using estimates of modelable disturbances and faultsRespectively replacing the actual value d1(t), F (t) is obtained
The switch control quantity is designed as uvs(t)=-Tpsgn (s (t)). Wherein, TpObtaining the sliding mode gain through the fifth step; sgn (s (t)) is a switching function and is expressed in the following form:
the control input expression is:
fifthly, solving the sliding mode gain to ensure the system stability
The Lyapunov function is designed as
From the definition of s (t) and the kinetic model of the system, it can be obtained
Substituting the control input expression obtained in the fourth step into the formula
According to Lyapunov's theorem, whenIt is true that the system is proven to be able to reach the slip mode plane, and the slip mode plane is asymptotically stable, note α ═ b1eF(t)+b1Vew(t)+b2d2(T) |, it is clear that T needs to be satisfiedpNot less than α, there areThe system can reach the sliding mode surface and reach the asymptotic consistent stable state.
Taking into account the saturated input problem of the system, Tp=max(α,uom). Wherein u isomIs the value of the saturated input to the system,
compared with the prior art, the invention has the advantages that:
the sliding mode control method with the anti-interference fault-tolerant performance adopts the combination of the sliding mode controller, the fault diagnosis observer and the interference observer, and is suitable for the anti-interference fault-tolerant control of an input saturation system. The fault diagnosis observer and the disturbance observer ensure the fault-tolerant anti-interference performance of the system, the fault and the disturbance are estimated and counteracted, the sliding mode controller has robustness to the disturbance, and the design of the sliding mode gain takes the saturated input value of the system into consideration. The control method solves the fault-tolerant anti-interference problem of the input saturation system. Meanwhile, two observers are designed to counteract faults and interference in the system, so that the buffeting phenomenon of sliding mode control is weakened, and the precision and reliability of the sliding mode control method in the attitude control system are improved.
Drawings
Fig. 1 is a design flow chart of a sliding mode control method with anti-interference fault-tolerant performance according to the present invention.
Detailed Description
As shown in fig. 1, the implementation steps of the present invention are as follows (taking a three-axis stable satellite attitude control system as an example to illustrate the implementation of the method):
1. considering faults and multi-source interference in satellite attitude control system, and building system dynamics model
The Euler angle between the body coordinate system and the orbit coordinate system of the three-axis stable satellite is very small, and the satellite attitude dynamics and the kinematics model are linearized to obtain:
the three equations of the above formula are attitude dynamics equations of the satellite roll shaft, the pitch shaft and the yaw shaft in three axial directions in sequence. J. the design is a square1,J2,J3The three-axis rotational inertia is phi, theta and psi respectively are three-axis Euler angles between a satellite body coordinate system and an orbit coordinate system;respectively, the three-axis euler angular rates;respectively, three-axis euler angular acceleration; u. of1,u2,u3Three-axis control moment respectively; omega0Is the satellite orbit angular velocity; f (T) is a time-varying fault, Td1,Td2,Td3Interference moments (including interference moments brought by a sensor and an actuating mechanism) which are three axes respectively;
the following steps take a satellite pitching channel dynamic model as an example to design a sliding mode controller with anti-interference fault-tolerant performance, and the design method of a roll shaft is the same as that of a yaw shaft.
The expected attitude angle, angular velocity and angular acceleration of the three-axis stabilized satellite are respectively recorded as thetac(t)、Andand are all zero. The available error system equation is as follows:
wherein eθ(t)=θ(t)-θcWhere θ (t) is an error angle,is the error angular acceleration.
Writing the pitch channel attitude error model into a state space form as follows:
wherein the state variables of the multisource interference systemu (t) is control input, F (t) is time-varying fault, d1(t) modelable interference, d2(t) unmodeled interference, d1(t) and d2(T) composition Td2。A、B1And B2As follows:
external model description interference d1(t) from the following external interference model ∑1Represents:
wherein W (t) is a state variable of the modelable interference model, V is an output matrix of the modelable interference model, W represents a system matrix of the modelable interference model, and (t) is an energy-bounded, unmodeled random (i.e., L)2Norm ofBounded) interference, B3A gain array that is unmoldable for interference.
2. Designing a fault diagnosis observer and a disturbance observer to respectively estimate faults and modelable disturbance
Designing a fault diagnosis observer aiming at the time-varying fault F (t) in the system as follows:
for modelable interference d in a system1(t) designing a disturbance observer as follows:
wherein,is an estimate of the fault that is,in order to be an interference estimate,and (d) an estimated value of w (t), ξ (t) and r (t) are auxiliary variables in the fault diagnosis observer and the disturbance observer respectively, and K and L are a gain matrix of the fault diagnosis observer to be determined and a gain matrix of the disturbance observer respectively, and are obtained by the subsequent step 3.
Defining fault estimation errors Interference estimation error
According to the expression of the fault diagnosis observer, the fault estimation error equation can be obtained as follows:
according to the expression of the disturbance observer, the disturbance estimation error equation can be obtained as follows:
3. fault diagnosis observer gain matrix and interference observer gain matrix solving
The estimation error equation for modelable interference and the estimation error equation for fault in the second step of the cascade are as follows:
wherein E=[VI], I is a unit array, z∞(t) is H∞Performance reference output, C is H∞A performance output matrix.
Solving a fault-tolerant anti-interference controller gain array of the multi-source interference system by using a convex optimization algorithm; given an initial value ew(0) And eF(0) Output matrix C, interference suppression degree gamma1、γ2And gamma3Solving the following convex optimization problem:
min(eT(0)Pe(0))
in the above formula, symbols denote symmetric blocks, sym (PW) of the corresponding portion in the symmetric matrix1+RB1E) The expression is as follows: sym (PW)1+RB1E)=(PW1+RB1E)+(PW1+RB1E)T。
Solve the above equation to obtain P, R, the observer gain matrix
4. Designing sliding mode controller to compensate for fault and disturbance separately using estimated values of fault and disturbance
1) The switching function is designed as follows:
wherein e isθ(t)=θ(t)-θc(t), three-axis stabilized satellite desired attitude angle θc(t) is 0, therefore, there is
2) The sliding mode control law is designed as follows:
u(t)=ueq(t)+uvs(t)
wherein u iseq(t) is an equivalent controlled variable, uvsAnd (t) is a switching control amount.
Order toIs provided withSubstituting the kinetic equation of the pitch axis to obtain
Using estimates of modelable disturbances and faultsRespectively replacing the actual value d1(t), F (t) is obtained
The switch control quantity is designed as uvs(t)=-Tpsgn (s (t)). Wherein T ispFor the sliding mode gain, which is determined in the following step 5, sgn (s (t)) is a switching function and is expressed in the following form:
the system control inputs are as follows:
5. solving the sliding mode gain and ensuring the stability of the system
The Lyapunov function is designed as
By definition
Substituting the control input expression into the above formula to obtain
According to Lyapunov's theorem, whenThe establishment proves that the system can reach the sliding mode surface, and the sliding mode plane is asymptotically stable;
remember α | | b1eF(t)+b1Vew(t)+b2d2(t) |. Obviously, T needs to be satisfiedpNot less than α, there areThe system can reach the sliding mode surface and reach the asymptotic consistent stable state.
Taking into account the saturated input problem of the system, Tp=max(α,uom). Wherein u isomIt is known that the maximum input torque provided to the flywheel,
in order to avoid the buffeting phenomenon of the output of the sliding mode controller, a saturation function sat (s (t)) is adopted to replace a switch function sgn (s (t)). The expression sat (s (t)) is as follows:
wherein, sigma is a flutter eliminating factor, which aims to effectively eliminate buffeting and ensure the rapid convergence of the system, and the value is in the range of (0.02, 0.08).
Those skilled in the art will appreciate that the invention may be practiced without these specific details.