CN112731809B - A State and Fault Estimation Method for Dead Zone Sandwich Systems - Google Patents

A State and Fault Estimation Method for Dead Zone Sandwich Systems Download PDF

Info

Publication number
CN112731809B
CN112731809B CN202011520165.3A CN202011520165A CN112731809B CN 112731809 B CN112731809 B CN 112731809B CN 202011520165 A CN202011520165 A CN 202011520165A CN 112731809 B CN112731809 B CN 112731809B
Authority
CN
China
Prior art keywords
state
formula
dead zone
fault
equation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011520165.3A
Other languages
Chinese (zh)
Other versions
CN112731809A (en
Inventor
周祖鹏
刘旭锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guilin University of Electronic Technology
Original Assignee
Guilin University of Electronic Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guilin University of Electronic Technology filed Critical Guilin University of Electronic Technology
Priority to CN202011520165.3A priority Critical patent/CN112731809B/en
Publication of CN112731809A publication Critical patent/CN112731809A/en
Application granted granted Critical
Publication of CN112731809B publication Critical patent/CN112731809B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/04Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
    • G05B13/042Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Feedback Control In General (AREA)

Abstract

本发明公开了一种死区三明治系统的状态和故障估计方法,该方法针对死区非线性非光滑三明治系统中间变量不可测的问题,本发明公开了一种切换比例积分观测器精确快速地估计了系统的状态和故障。首先利用关键分离原则和切换函数,构建能准确描述死区三明治系统的非光滑状态空间方程。其次,根据构建非光滑状态空间方程,构建能随系统工作区间变化而切换的SPIO。并通过分析观测器的估计误差,给出了观测器收敛的条件,并对观测器收敛定理给出了数学证明。本方法的优点是将切换函引入观测器,与传统的比例积分观测器相比,采用本方法的观测器能够更精确地同时估计系统的状态和故障。

Figure 202011520165

The invention discloses a state and fault estimation method of a dead zone sandwich system. The method aims at the problem of unmeasurable intermediate variables of the dead zone nonlinear and non-smooth sandwich system. The invention discloses a switching proportional integral observer to accurately and quickly estimate system status and faults. First, using the key separation principle and switching function, a non-smooth state-space equation that can accurately describe the dead zone sandwich system is constructed. Secondly, according to the construction of the non-smooth state space equation, the SPIO that can switch with the change of the system working range is constructed. And by analyzing the estimation error of the observer, the condition of observer convergence is given, and the mathematical proof of the observer convergence theorem is given. The advantage of this method is that the switching function is introduced into the observer. Compared with the traditional proportional-integral observer, the observer using this method can more accurately estimate the state and fault of the system at the same time.

Figure 202011520165

Description

一种死区三明治系统的状态和故障估计方法A State and Fault Estimation Method for Dead Zone Sandwich Systems

技术领域technical field

本发明涉及非线性系状态估计技术领域,具体是一种死区三明治系统的状态和故障估计方法。The invention relates to the technical field of nonlinear system state estimation, in particular to a state and fault estimation method of a dead zone sandwich system.

背景技术Background technique

在工业中存在一类死区三明治系统。该类系统的中间变量无法测量或测量代价非常大,但如果不能获取其中间状态,则无法进行多数的状态反馈控制方法,因为状态反馈控制中必须要准确知道系统的状态值。目前获得未知状态值最有效的方法就是设计观测器,利用系统的输入输出变量估计系统未知的状态。A class of dead zone sandwich systems exists in industry. The intermediate variables of this type of system cannot be measured or the measurement cost is very high, but if the intermediate state cannot be obtained, most state feedback control methods cannot be performed, because the state value of the system must be accurately known in state feedback control. At present, the most effective way to obtain the unknown state value is to design an observer, which uses the input and output variables of the system to estimate the unknown state of the system.

中国专利CN105204332A公开了一种基于非光滑观测器的含有死区和迟滞的复合三明治系统状态估计方法,该发明是在三明治系统不含故障的情况下,对系统的状态进行了估计。但在实际系统中故障往往是不可必免,由于故障的存在系统的状态估计会产生一定的扰动,甚至导致估计误差发散,即估计不到系统的状态。由于忽略了故障影响,该发明也没有估计系统故障。迄今为止,尚未发现同时估计状态和故障的死区三明治系统的专利及文献。Chinese patent CN105204332A discloses a non-smooth observer-based method for estimating the state of a composite sandwich system with dead zones and hysteresis. The invention estimates the state of the system when the sandwich system does not contain faults. However, faults are often unavoidable in practical systems. Due to the existence of faults, the state estimation of the system will produce certain disturbances, and even cause the estimation error to diverge, that is, the state of the system cannot be estimated. The invention also does not estimate system failures since failure effects are ignored. So far, no patents and literatures have been found on a dead-zone sandwich system that simultaneously estimates state and faults.

本发明提出了一种新的切换比例积分观测器来完成这个工作。在切换比例积分观测器中引入能够随系统工作区间切换的切换项,并分析状态和故障估计误差。最后给出了系统状态估计误差和故障的估计误差有界的条件。通过实施例比较了切换比例积分观测器和传统比例积分观测器的估计效果。结果表明切换比例积分观测器优于传统比例积分观测器,该方法可用于将来系统控制和故障容错控制。The present invention proposes a new switched proportional-integral observer to accomplish this task. A switching item that can switch with the system working range is introduced in the switching proportional integral observer, and the state and fault estimation errors are analyzed. Finally, the condition that the system state estimation error and fault estimation error are bounded is given. The estimation effects of the switching proportional-integral observer and the traditional proportional-integral observer are compared through the embodiment. The results show that the switched proportional-integral observer is superior to the traditional proportional-integral observer, and this method can be used in future system control and fault-tolerant control.

发明内容Contents of the invention

本发明的目的在于克服现有技术的不足,而提供一种死区三明治系统的状态和故障估计方法,该方法提出的切换比例积分观测器包含了能够随系统工作区间变化的切换向量,与传统比例积分观测器相比,采用该方法能够同时估计系统的状态和故障,且估计误差更较小,估计速度更快。The purpose of the present invention is to overcome the deficiencies of the prior art, and to provide a state and fault estimation method of a dead zone sandwich system, the switching proportional integral observer proposed by the method includes a switching vector that can vary with the system working range, which is different from the traditional Compared with the proportional-integral observer, this method can estimate the state and fault of the system at the same time, and the estimation error is smaller and the estimation speed is faster.

实现本发明目的的技术方案是:The technical scheme that realizes the object of the present invention is:

一种死区三明治系统的状态和故障估计方法,包括如下步骤:A state and fault estimation method for a dead zone sandwich system, comprising the following steps:

1)利用关键项分离原则和切换函数,构建能准确描述含有故障的间隙三明治系统的非光滑状态空间方程,由于死区非线性特性的特点是输出的大小只与当前时刻的输入的大小有关,与前一时刻的输入输出无关,针对含有执行器故障的死区三明治系统时建立系统的状态空间方程,具体如下:1) Using the principle of separation of key terms and switching functions, construct a non-smooth state-space equation that can accurately describe the gap sandwich system with faults. Due to the nonlinear characteristics of the dead zone, the size of the output is only related to the size of the input at the current moment. Regardless of the input and output at the previous moment, the state space equation of the system is established for the dead zone sandwich system with actuator faults, as follows:

1-1)建立线性子系统的状态空间方程:根据线性系统理论,线性子系统L1的状态空间方程如下所示:1-1) Establish the state-space equation of the linear subsystem: According to the linear system theory, the state-space equation of the linear subsystem L1 is as follows:

Figure BDA0002849223780000021
Figure BDA0002849223780000021

根据线性系统理论,线性子系统L2的状态空间方程如下所示:According to the linear system theory, the state space equation of the linear subsystem L2 is as follows:

Figure BDA0002849223780000022
Figure BDA0002849223780000022

其中

Figure BDA0002849223780000023
u∈R1 ×1,y∈R1×1,f∈R1×1,uf∈R1×1,af∈R1×1,bf∈R1×1,x11和x12分别代表L1的第一个和第二个状态变量,x21和x22分别代表L2的第一个和第二个状态变量,
Figure BDA0002849223780000024
分别为L1、L2的状态转移矩阵,
Figure BDA0002849223780000025
分别为L1、L2的输入矩阵,
Figure BDA0002849223780000026
分别为L1、L2的输出矩阵,
Figure BDA0002849223780000027
为故障矩阵,u∈R1×1为输入,y∈R1×1为输出,f∈R1×1为系统的故障,af为故障环节的系数,bf为未知的故障环节的输入系数;uf∈R1×1为故障环节的输入,是未知的;af和bf由系统故障的先验知识获得,是已知的;假设uf是有界的,af的范数小于1,即|af|<1,因此根据线性系统稳定性条件,故障系统是稳定的,ni为第i个线性系统的维数,设
Figure BDA0002849223780000028
Figure BDA0002849223780000029
in
Figure BDA0002849223780000023
u∈R1 ×1 , y∈R1 ×1 , f∈R1 ×1, uf∈R1× 1 , af∈R1 ×1 , bf∈R1 ×1 , x11 and x12 represent the first and second state variables of L 1 , respectively, x 21 and x 22 represent the first and second state variables of L 2 , respectively,
Figure BDA0002849223780000024
are the state transition matrices of L 1 and L 2 respectively,
Figure BDA0002849223780000025
are the input matrices of L 1 and L 2 respectively,
Figure BDA0002849223780000026
are the output matrices of L 1 and L 2 respectively,
Figure BDA0002849223780000027
is the fault matrix, u∈R 1×1 is the input, y∈R 1×1 is the output, f∈R 1×1 is the fault of the system, a f is the coefficient of the fault link, b f is the input of the unknown fault link coefficient; u f ∈ R 1×1 is the input of the fault link, which is unknown; a f and b f are obtained from the prior knowledge of system faults, and are known; assuming that u f is bounded, the range of a f The number is less than 1, that is, |a f |<1, so according to the linear system stability condition, the fault system is stable, and n i is the dimension of the i-th linear system, let
Figure BDA0002849223780000028
and
Figure BDA0002849223780000029

1-2)建立死区子系统的状态空间方程:定义中间变量m(k)、w1(k)为:1-2) Establish the state space equation of the dead zone subsystem: define the intermediate variables m(k), w 1 (k) as:

m(k)=m1+(m2-m1)h(k)m(k)=m 1 +(m 2 -m 1 )h(k)

w1(k)=m(k)(x(k)-D1h1(k)+D2h2(k))w 1 (k)=m(k)(x(k)-D 1 h 1 (k)+D 2 h 2 (k))

其中in

Figure BDA00028492237800000210
为切换函数,
Figure BDA00028492237800000210
is the switching function,

根据死区的输入输出关系得:According to the input-output relationship of the dead zone:

v2(k)=w1(k)-h3(k)w1(k)=(1-h3(k))w1(k),v 2 (k)=w 1 (k)−h 3 (k)w 1 (k)=(1−h 3 (k))w 1 (k),

其中in

Figure BDA0002849223780000031
Figure BDA0002849223780000031

也为切换函数,当h3(k)=0时,系统工作在线性区,且v2(k)=w1(k);当h3(k)=1时,系统工作在死区,且v2(k)=w1(k)-w1(k)=0,根据死区的输入输出特性得:It is also a switching function, when h 3 (k)=0, the system works in the linear zone, and v 2 (k)=w 1 (k); when h 3 (k)=1, the system works in the dead zone, And v 2 (k)=w 1 (k)-w 1 (k)=0, according to the input and output characteristics of the dead zone:

Figure BDA0002849223780000032
Figure BDA0002849223780000032

由于

Figure BDA0002849223780000033
将公式(2)代入公式(3)中,得:because
Figure BDA0002849223780000033
Substituting formula (2) into formula (3), we get:

Figure BDA0002849223780000034
Figure BDA0002849223780000034

1-3)建立死区三明治系统的整体状态空间方程:根据公式(1)、公式(2)、公式(4)和

Figure BDA0002849223780000035
则直线电机驱动系统的状态空间方程如下所示:1-3) Establish the overall state space equation of the dead zone sandwich system: according to formula (1), formula (2), formula (4) and
Figure BDA0002849223780000035
Then the state space equation of the linear motor drive system is as follows:

Figure BDA0002849223780000036
Figure BDA0002849223780000036

其中in

Figure BDA0002849223780000037
Figure BDA0002849223780000037

Figure BDA0002849223780000038
Figure BDA0002849223780000038

根据三明治系统的特性可知,只有系统的输出y(k)能够被直接测量,则令

Figure BDA0002849223780000039
其中
Figure BDA00028492237800000310
0是相应阶数的零矩阵,设According to the characteristics of the sandwich system, only the output y(k) of the system can be directly measured, then let
Figure BDA0002849223780000039
in
Figure BDA00028492237800000310
0 is the zero matrix of the corresponding order, let

Figure BDA00028492237800000311
则公式(5)写成如下形式:
Figure BDA00028492237800000311
Then formula (5) can be written as follows:

Figure BDA00028492237800000312
Figure BDA00028492237800000312

其中ηi为考虑系统存在死区非线性特性而引入的切换向量;Among them, ηi is the switching vector introduced by considering the nonlinear characteristics of the dead zone in the system;

2)根据步骤1)构建的含有故障的间隙三明治系统的非光滑状态空间方程,当系统满足观测器的存在性条件时,构造能随含有故障的间隙三明治系统工作区间变化而自动切换的切换比例积分观测器,并给出相应切换比例积分观测器的存在条件和有界性定理,包括如下步骤:2) According to the non-smooth state space equation of the fault-containing gap sandwich system constructed in step 1), when the system satisfies the existence condition of the observer, construct the switching ratio that can automatically switch with the change of the fault-containing gap sandwich system working interval Integral observer, and give the existence condition and boundedness theorem of corresponding switching proportional integral observer, including the following steps:

2-1)针对死区三明治系统,构建一种能够同时估计系统状态和故障的切换比例积分观测器,构建死区三明治系统的切换比例积分观测器具体如下:2-1) For the dead-zone sandwich system, construct a switching proportional-integral observer that can estimate the system state and fault at the same time. The details of constructing the switching proportional-integral observer for the dead-zone sandwich system are as follows:

根据死区三明治系统的状态空间方程公式(6),构建如下切换比例积分观测器:According to the state-space equation (6) of the dead zone sandwich system, the following switched proportional-integral observer is constructed:

Figure BDA0002849223780000041
Figure BDA0002849223780000041

其中

Figure BDA0002849223780000042
为第i个工作区间的比例增益,
Figure BDA0002849223780000043
为第i个工作区间的积分增益;
Figure BDA0002849223780000044
分别为x(k)、y(k)、f(k)、ηi的估计值,若j=1、2、3时,i=j,则
Figure BDA0002849223780000045
in
Figure BDA0002849223780000042
is the proportional gain of the i-th working interval,
Figure BDA0002849223780000043
is the integral gain of the i-th working interval;
Figure BDA0002849223780000044
are the estimated values of x(k), y(k), f(k), and η i respectively, if j=1, 2, 3, i=j, then
Figure BDA0002849223780000045

根据公式(7)和公式(1)以及

Figure BDA0002849223780000046
f(k)的表达式,则得到下述公式(8)、公式(9):According to formula (7) and formula (1) and
Figure BDA0002849223780000046
f(k), the following formula (8) and formula (9) are obtained:

Figure BDA0002849223780000047
Figure BDA0002849223780000047

f(k+1)=aff(k)+bfuf(k) (9)f(k+1)=a f f(k)+b f u f (k) (9)

由公式(8)减去公式(9),定义

Figure BDA0002849223780000048
则得到下述公式(10):Subtract formula (9) from formula (8), define
Figure BDA0002849223780000048
Then the following formula (10) is obtained:

Figure BDA0002849223780000049
Figure BDA0002849223780000049

公式(6)减去公式(7),得到估计误差的表达式如下:Subtract formula (7) from formula (6) to obtain the expression of the estimated error as follows:

e(k+1)=(A-KpjC)e(k)+Def(k)+Δηos+ΔAosx(k) (11)e(k+1)=(AK pj C)e(k)+ Def (k)+Δη os +ΔA os x(k) (11)

其中

Figure BDA0002849223780000051
ΔAos=Aj-Ai;in
Figure BDA0002849223780000051
ΔA os =A j -A i ;

将公式(10)、公式(11)合在一起写成矩阵形式,即状态和故障估计误差的矩阵形式如下公式(12):Write formula (10) and formula (11) together in matrix form, that is, the matrix form of state and fault estimation error is as follows formula (12):

Figure BDA0002849223780000052
Figure BDA0002849223780000052

对公式(12)进行简化,令Simplify formula (12), let

Figure BDA0002849223780000053
Figure BDA0002849223780000053

则公式(12)写成矩形相乘的形式,如下式所示:Then formula (12) is written in the form of multiplication of rectangles, as shown in the following formula:

et(k+1)=Aejet(k)+Δt(k) (13)e t (k+1)=A ej e t (k)+ Δt (k) (13)

2-2)设Δt(k)以及初始估计误差et(1)的范数就有界的,均小于φd,即φd(||Δt(k)||≤φd及||e(1)||≤φd),当j=1,2,3,时,若选择恰当的Kpj和Kij,使得Aej的特征值在单位圆内,则状态和故障估计误差的范数均是有界的,均小于

Figure BDA0002849223780000054
即切换比例积分观测器的收敛条件为Aej的特征值在单位圆内;2-2) If the norm of Δ t (k) and initial estimation error e t (1) is bounded, they are both smaller than φ d , that is, φ d (||Δ t (k)||≤φ d and| |e(1)||≤φ d ), when j=1, 2, 3, if appropriate K pj and K ij are selected so that the eigenvalues of A ej are within the unit circle, the state and fault estimation errors The norms of are all bounded, less than
Figure BDA0002849223780000054
That is, the convergence condition of switching the proportional integral observer is that the eigenvalues of A ej are within the unit circle;

3)证明切换比例积分观测器收敛性:对任意的k,||Δt(k)||≤φd且φd为上界常数,则对公式(13)两边作范数运算,由矩阵范数的三角不等式定理,得到下述公式(14):3) To prove the convergence of switching proportional integral observer: for any k, ||Δ t (k)||≤φ d and φ d is the upper bound constant, the norm operation is performed on both sides of the formula (13), and the matrix Norm triangle inequality theorem, get the following formula (14):

Figure BDA0002849223780000055
Figure BDA0002849223780000055

其中,||Aej||为Aej的任意范数,其中j=1、2、3,Among them, ||A ej || is any norm of A ej , where j=1, 2, 3,

根据矩阵的谱半径定理,对于Aej∈Rn×n

Figure BDA0002849223780000056
总存在一个范数||·||,使得下述公式(15)成立:According to the spectral radius theorem of matrices, for A ejR n×n ,
Figure BDA0002849223780000056
There is always a norm ||·||, so that the following formula (15) holds:

||Aej||≤ρ(Aej)+ε (15)||A ej ||≤ρ(A ej )+ε (15)

根据上述定理,由于选择合适的Kpj、Kij使得的特征值在单位圆内,即矩阵的谱范数ρ(Aej)<1,若选择合适的ε满足0<ε<1-ρ(Aej),根据公式(15)则有:According to the above theorem, due to the selection of appropriate K pj and K ij the eigenvalues are within the unit circle, that is, the spectral norm of the matrix ρ(A ej )<1, if the selection of appropriate ε satisfies 0<ε<1-ρ( A ej ), according to formula (15):

||Aej||<1 (16)||A ej ||<1 (16)

因此,由公式(14)和公式(16),当k→∞时,状态和故障估计误差的范数||et(k)||)小于

Figure BDA0002849223780000061
Therefore, from formula (14) and formula (16), when k→∞, the norm of state and fault estimation errors ||e t (k)||) is less than
Figure BDA0002849223780000061

4)对死区非光滑三明治系统的状态和故障进行估计:由公式(7)得下述公式(17)、公式(18):4) Estimate the state and fault of the non-smooth sandwich system in the dead zone: the following formula (17) and formula (18) are obtained from formula (7):

Figure BDA0002849223780000062
Figure BDA0002849223780000062

Figure BDA0002849223780000063
Figure BDA0002849223780000063

由公式(17)、公式(18)得From formula (17), formula (18) get

Figure BDA0002849223780000064
Figure BDA0002849223780000064

根据公式(7)及公式(19),按照如下流程进行死区非光滑三明治系统的状态和故障的估计:According to formula (7) and formula (19), the state and fault of the non-smooth sandwich system in dead zone are estimated according to the following process:

4-1)初始化状态变量的估计值及故障的估计值:令

Figure BDA0002849223780000065
并计算
Figure BDA0002849223780000066
Figure BDA0002849223780000067
4-1) Initialize the estimated value of the state variable and the estimated value of the fault: make
Figure BDA0002849223780000065
and calculate
Figure BDA0002849223780000066
make
Figure BDA0002849223780000067

4-2)令k=3;4-2) Let k=3;

4-3)判断k是否小于等于N,若k≤N,则执行步骤4-4);否则结束运行;4-3) Determine whether k is less than or equal to N, if k≤N, then perform step 4-4); otherwise end the operation;

4-4)若

Figure BDA0002849223780000068
则进行如下操作:4-4) If
Figure BDA0002849223780000068
Then proceed as follows:

Figure BDA0002849223780000069
Figure BDA0002849223780000069

Figure BDA00028492237800000610
Figure BDA00028492237800000610

Figure BDA00028492237800000611
Figure BDA00028492237800000611

Figure BDA00028492237800000612
则进行如下操作:like
Figure BDA00028492237800000612
Then proceed as follows:

Figure BDA0002849223780000071
Figure BDA0002849223780000071

Figure BDA0002849223780000072
Figure BDA0002849223780000072

Figure BDA0002849223780000073
Figure BDA0002849223780000073

Figure BDA0002849223780000074
则进行如下操作:like
Figure BDA0002849223780000074
Then proceed as follows:

Figure BDA0002849223780000075
Figure BDA0002849223780000075

Figure BDA0002849223780000076
Figure BDA0002849223780000076

Figure BDA0002849223780000077
Figure BDA0002849223780000077

4-5)k的值加1,重复步骤4-3)。4-5) Add 1 to the value of k, and repeat step 4-3).

步骤4)中,实际中的系统上大多并不是一阶系统,而是二阶的或可以简化为二阶系统,若非光滑三明治系统的两个子系统L1、L2是二阶系统,则整个系统为四阶的,有4个状态变量,z则系统的每一步计算都有4个的状态,即第k步第1个状态、第k步第2个状态、第k步第3个状态和第k步第4个状态,因此,用N行4列的矩阵x来保存所有状态,第k步的4个状态,保存在矩阵x第k行的1至4列中,写成x(k,[1:4]),简写为x(k,:)。In step 4), most of the actual systems are not first-order systems, but second-order systems or can be simplified to second-order systems. If the two subsystems L 1 and L 2 of the non-smooth sandwich system are second-order systems, then the entire The system is fourth-order, with 4 state variables, and z means that each calculation step of the system has 4 states, that is, the first state of the k-th step, the second state of the k-th step, and the third state of the k-th step and the 4th state of the kth step, therefore, a matrix x with N rows and 4 columns is used to save all states, and the 4 states of the kth step are stored in columns 1 to 4 of the kth row of the matrix x, written as x(k ,[1:4]), abbreviated as x(k,:).

步骤4-4)中,

Figure BDA0002849223780000078
三种情况下所进行的操作是A、η、Kp、Ki4个不同的矩阵。In step 4-4),
Figure BDA0002849223780000078
The operations performed in the three cases are 4 different matrices A, η, K p , and K i .

本发明提供的一种死区三明治系统的状态和故障估计方法,相比传统的比例积分观测器估计方法,该方法可以同时估计死区三明治系统的状态和故障,估计误差收敛速度快,精度高。The state and fault estimation method of a dead zone sandwich system provided by the present invention, compared with the traditional proportional integral observer estimation method, this method can estimate the state and fault of the dead zone sandwich system at the same time, and the estimation error convergence speed is fast and the precision is high .

附图说明Description of drawings

图1为含有故障的死区三明治系统的结构框图;Figure 1 is a structural block diagram of a dead zone sandwich system with faults;

图2为非光滑三明治系统的Simulink模型图;Figure 2 is a Simulink model diagram of a non-smooth sandwich system;

图3为直线电机驱动系统的示意图;Fig. 3 is the schematic diagram of linear motor drive system;

图4为系统含有阶跃故障时,切换比例积分观测器对系统状态的估计效果图;Figure 4 is a diagram showing the estimation effect of the system state by switching the proportional integral observer when the system contains a step fault;

图5为系统含有阶跃故障时,传统比例积分观测器对系统状态的估计效果图;Fig. 5 is the estimation effect diagram of the system state by the traditional proportional-integral observer when the system contains a step fault;

图6为系统含有阶跃故障时,切换比例积分观测器和传统比例积分观测器两种方法对状态估计误差的比较图;Figure 6 is a comparison diagram of the state estimation error between the switching proportional-integral observer and the traditional proportional-integral observer when the system contains a step fault;

图7为系统含有阶跃故障时,切换比例积分观测器和传统比例积分观测器两种方法对故障估计的比较图;Figure 7 is a comparison diagram of the fault estimation by switching the proportional integral observer and the traditional proportional integral observer when the system contains a step fault;

图8为系统含有幅值衰减的正弦信号时,切换比例积分观测器对系统状态的估计效果图;Fig. 8 is an estimation effect diagram of the system state by switching the proportional-integral observer when the system contains a sinusoidal signal with amplitude attenuation;

图9为系统含有幅值衰减的正弦信号时,传统比例积分观测器对系统状态的估计效果图;Fig. 9 is an estimation effect diagram of the system state by the traditional proportional-integral observer when the system contains a sinusoidal signal with amplitude attenuation;

图10为系统含有幅值衰减的正弦信号时,切换比例积分观测器和传统比例积分观测器两种方法对系统状态估计误差的比较图;Figure 10 is a comparison diagram of the system state estimation error between the two methods of switching the proportional integral observer and the traditional proportional integral observer when the system contains a sinusoidal signal with amplitude attenuation;

图11为系统含有幅值衰减的正弦信号时,切换比例积分观测器和传统比例积分观测器两种方法对系统故障估计的比较图。Fig. 11 is a comparison diagram of system fault estimation by switching proportional integral observer and traditional proportional integral observer when the system contains a sinusoidal signal with amplitude attenuation.

具体实施方式Detailed ways

下面结合附图和实施例对本发明内容做进一步阐述,但不是对本发明的限定。The content of the present invention will be further elaborated below in conjunction with the accompanying drawings and embodiments, but the present invention is not limited thereto.

实施例:Example:

一种死区三明治系统的状态和故障估计方法,包括如下步骤:A state and fault estimation method for a dead zone sandwich system, comprising the following steps:

1)利用关键项分离原则和切换函数,构建能准确描述含有故障的间隙三明治系统的非光滑状态空间方程,由于死区非线性特性的特点是输出的大小只与当前时刻的输入的大小有关,与前一时刻的输入输出无关,针对含有执行器故障的死区三明治系统时建立系统的状态空间方程,具体如下:1) Using the principle of separation of key terms and switching functions, construct a non-smooth state-space equation that can accurately describe the gap sandwich system with faults. Due to the nonlinear characteristics of the dead zone, the size of the output is only related to the size of the input at the current moment. Regardless of the input and output at the previous moment, the state space equation of the system is established for the dead zone sandwich system with actuator faults, as follows:

如图1所示,图中显示了含有执行器故障的死区三明治系统,其中u(k)和y(k)分别是可测的输入、输出变量,而v1(k)和v2(k)是不可测的中间变量,L1代表前瑞线性子系统,L2代表后瑞线性子系统,D1和D2是死区的宽度,m1和m2是线性区的斜率,f(k)代表系统的执行器故障。As shown in Figure 1, the figure shows a dead-zone sandwich system with actuator faults, where u(k) and y(k) are measurable input and output variables, respectively, and v 1 (k) and v 2 ( k) is an unmeasurable intermediate variable, L 1 represents the pre-Ray linear subsystem, L 2 represents the post-Ray linear subsystem, D 1 and D 2 are the width of the dead zone, m 1 and m 2 are the slope of the linear region, f (k) represents the actuator failure of the system.

1-1)建立线性子系统的状态空间方程:根据线性系统理论,线性子系统L1的状态空间方程如下所示:1-1) Establish the state-space equation of the linear subsystem: According to the linear system theory, the state-space equation of the linear subsystem L1 is as follows:

Figure BDA0002849223780000081
Figure BDA0002849223780000081

根据线性系统理论,线性子系统L2的状态空间方程如下所示:According to the linear system theory, the state space equation of the linear subsystem L2 is as follows:

Figure BDA0002849223780000082
Figure BDA0002849223780000082

其中

Figure BDA0002849223780000083
u∈R1 ×1,y∈R1×1,f∈R1×1,uf∈R1×1,af∈R1×1,bf∈R1×1,x11和x12分别代表L1的第一个和第二个状态变量,x21和x22分别代表L2的第一个和第二个状态变量,
Figure BDA0002849223780000091
分别为L1、L2的状态转移矩阵,
Figure BDA0002849223780000092
分别为L1、L2的输入矩阵,
Figure BDA0002849223780000093
分别为L1、L2的输出矩阵,
Figure BDA0002849223780000094
为故障矩阵,u∈R1×1为输入,y∈R1×1为输出,f∈R1×1为系统的故障,af为故障环节的系数,bf为未知的故障环节的输入系数;uf∈R1×1为故障环节的输入,是未知的;af和bf由系统故障的先验知识获得,是已知的;假设uf是有界的,af的范数小于1,即|af|<1,因此根据线性系统稳定性条件,故障系统是稳定的,ni为第i个线性系统的维数,设
Figure BDA0002849223780000095
Figure BDA0002849223780000096
in
Figure BDA0002849223780000083
u∈R1 ×1 , y∈R1 ×1 , f∈R1 ×1, uf∈R1× 1 , af∈R1 ×1 , bf∈R1 ×1 , x11 and x12 represent the first and second state variables of L 1 , respectively, and x 21 and x 22 represent the first and second state variables of L 2 , respectively,
Figure BDA0002849223780000091
are the state transition matrices of L 1 and L 2 respectively,
Figure BDA0002849223780000092
are the input matrices of L 1 and L 2 respectively,
Figure BDA0002849223780000093
are the output matrices of L 1 and L 2 respectively,
Figure BDA0002849223780000094
is the fault matrix, u∈R 1×1 is the input, y∈R 1×1 is the output, f∈R 1×1 is the fault of the system, a f is the coefficient of the fault link, b f is the input of the unknown fault link coefficient; u f ∈ R 1×1 is the input of the fault link, which is unknown; a f and b f are obtained from the prior knowledge of system faults, and are known; assuming that u f is bounded, the range of a f The number is less than 1, that is, |a f |<1, so according to the linear system stability condition, the fault system is stable, and n i is the dimension of the i-th linear system, let
Figure BDA0002849223780000095
and
Figure BDA0002849223780000096

1-2)建立死区子系统的状态空间方程:定义中间变量m(k)、w1(k)为:1-2) Establish the state space equation of the dead zone subsystem: define the intermediate variables m(k), w 1 (k) as:

m(k)=m1+(m2-m1)h(k)m(k)=m 1 +(m 2 -m 1 )h(k)

w1(k)=m(k)(x(k)-D1h1(k)+D2h2(k))w 1 (k)=m(k)(x(k)-D 1 h 1 (k)+D 2 h 2 (k))

其中in

Figure BDA0002849223780000097
为切换函数,
Figure BDA0002849223780000097
is the switching function,

根据死区的输入输出关系得:According to the input-output relationship of the dead zone:

v2(k)=w1(k)-h3(k)w1(k)=(1-h3(k))w1(k),v 2 (k)=w 1 (k)−h 3 (k)w 1 (k)=(1−h 3 (k))w 1 (k),

其中in

Figure BDA0002849223780000098
Figure BDA0002849223780000098

也为切换函数,当h3(k)=0时,系统工作在线性区,且v2(k)=w1(k);当h3(k)=1时,系统工作在死区,且v2(k)=w1(k)-w1(k)=0,根据死区的输入输出特性得:It is also a switching function, when h 3 (k)=0, the system works in the linear zone, and v 2 (k)=w 1 (k); when h 3 (k)=1, the system works in the dead zone, And v 2 (k)=w 1 (k)-w 1 (k)=0, according to the input and output characteristics of the dead zone:

Figure BDA0002849223780000099
Figure BDA0002849223780000099

由于

Figure BDA00028492237800000910
将公式(2)代入公式(3)中,得:because
Figure BDA00028492237800000910
Substituting formula (2) into formula (3), we get:

Figure BDA00028492237800000911
Figure BDA00028492237800000911

1-3)建立死区三明治系统的整体状态空间方程:根据公式(1)、公式(2)、公式(4)和

Figure BDA0002849223780000101
则直线电机驱动系统的状态空间方程如下所示:1-3) Establish the overall state space equation of the dead zone sandwich system: according to formula (1), formula (2), formula (4) and
Figure BDA0002849223780000101
Then the state space equation of the linear motor drive system is as follows:

Figure BDA0002849223780000102
Figure BDA0002849223780000102

其中in

Figure BDA0002849223780000103
Figure BDA0002849223780000103

Figure BDA0002849223780000104
Figure BDA0002849223780000104

根据三明治系统的特性可知,只有系统的输出y(k)能够被直接测量,则令

Figure BDA0002849223780000105
其中
Figure BDA0002849223780000106
0是相应阶数的零矩阵,设According to the characteristics of the sandwich system, only the output y(k) of the system can be directly measured, then let
Figure BDA0002849223780000105
in
Figure BDA0002849223780000106
0 is the zero matrix of the corresponding order, let

Figure BDA0002849223780000107
则公式(5)写成如下形式:
Figure BDA0002849223780000107
Then formula (5) can be written as follows:

Figure BDA0002849223780000108
Figure BDA0002849223780000108

其中ηi为考虑系统存在死区非线性特性而引入的切换向量;Among them, ηi is the switching vector introduced by considering the nonlinear characteristics of the dead zone in the system;

2)根据步骤1)构建的含有故障的间隙三明治系统的非光滑状态空间方程,当系统满足观测器的存在性条件时,构造能随含有故障的间隙三明治系统工作区间变化而自动切换的切换比例积分观测器,并给出相应切换比例积分观测器的存在条件和有界性定理,包括如下步骤:2) According to the non-smooth state space equation of the fault-containing gap sandwich system constructed in step 1), when the system satisfies the existence condition of the observer, construct the switching ratio that can automatically switch with the change of the fault-containing gap sandwich system working interval Integral observer, and give the existence condition and boundedness theorem of corresponding switching proportional integral observer, including the following steps:

2-1)针对死区三明治系统,构建一种能够同时估计系统状态和故障的切换比例积分观测器,构建死区三明治系统的切换比例积分观测器具体如下:2-1) For the dead-zone sandwich system, construct a switching proportional-integral observer that can estimate the system state and fault at the same time. The details of constructing the switching proportional-integral observer for the dead-zone sandwich system are as follows:

根据死区三明治系统的状态空间方程公式(6),构建如下切换比例积分观测器:According to the state-space equation (6) of the dead zone sandwich system, the following switched proportional-integral observer is constructed:

Figure BDA0002849223780000109
Figure BDA0002849223780000109

其中

Figure BDA0002849223780000111
为第i个工作区间的比例增益,
Figure BDA0002849223780000112
为第i个工作区间的积分增益;
Figure BDA0002849223780000113
分别为x(k)、y(k)、f(k)、ηi的估计值,若j=1、2、3时,i=j,则
Figure BDA0002849223780000114
in
Figure BDA0002849223780000111
is the proportional gain of the i-th working interval,
Figure BDA0002849223780000112
is the integral gain of the i-th working interval;
Figure BDA0002849223780000113
are the estimated values of x(k), y(k), f(k), and η i respectively, if j=1, 2, 3, i=j, then
Figure BDA0002849223780000114

根据公式(7)和公式(1)以及

Figure BDA0002849223780000115
f(k)的表达式,则得到下述公式(8)、公式(9):According to formula (7) and formula (1) and
Figure BDA0002849223780000115
f(k), the following formula (8) and formula (9) are obtained:

Figure BDA0002849223780000116
Figure BDA0002849223780000116

f(k+1)=aff(k)+bfuf(k) (9)f(k+1)=a f f(k)+b f u f (k) (9)

由公式(8)减去公式(9),定义

Figure BDA0002849223780000117
则得到下述公式(10):Subtract formula (9) from formula (8), define
Figure BDA0002849223780000117
Then the following formula (10) is obtained:

Figure BDA0002849223780000118
Figure BDA0002849223780000118

公式(6)减去公式(7),得到估计误差的表达式如下:Subtract formula (7) from formula (6) to obtain the expression of the estimated error as follows:

e(k+1)=(A-KpjC)e(k)+Def(k)+Δηos+ΔAosx(k) (11)e(k+1)=(AK pj C)e(k)+ Def (k)+Δη os +ΔA os x(k) (11)

其中

Figure BDA0002849223780000119
ΔAos=Aj-Ai;in
Figure BDA0002849223780000119
ΔA os =A j -A i ;

将公式(10)、公式(11)合在一起写成矩阵形式,即状态和故障估计误差的矩阵形式如下公式(12):Write formula (10) and formula (11) together in matrix form, that is, the matrix form of state and fault estimation error is as follows formula (12):

Figure BDA00028492237800001110
Figure BDA00028492237800001110

对公式(12)进行简化,令Simplify formula (12), let

Figure BDA00028492237800001111
Figure BDA00028492237800001111

则公式(12)写成矩形相乘的形式,如下式所示:Then formula (12) is written in the form of multiplication of rectangles, as shown in the following formula:

et(k+1)=Aejet(k)+Δt(k) (13)e t (k+1)=A ej e t (k)+ Δt (k) (13)

2-2)设Δt(k)以及初始估计误差et(1)的范数就有界的,均小于φd,即φd(||Δt(k)||≤φd及||e(1)||≤φd),当j=1,2,3,时,若选择恰当的Kpj和Kij,使得Aej的特征值在单位圆内,则状态和故障估计误差的范数均是有界的,均小于

Figure BDA0002849223780000121
即切换比例积分观测器的收敛条件为Aej的特征值在单位圆内;2-2) If the norm of Δ t (k) and initial estimation error e t (1) is bounded, they are both smaller than φ d , that is, φ d (||Δ t (k)||≤φ d and| |e(1)||≤φ d ), when j=1, 2, 3, if appropriate K pj and K ij are selected so that the eigenvalues of A ej are within the unit circle, the state and fault estimation errors The norms of are all bounded, less than
Figure BDA0002849223780000121
That is, the convergence condition of switching the proportional-integral observer is that the eigenvalues of A ej are within the unit circle;

3)证明切换比例积分观测器收敛性:对任意的k,||Δt(k)||≤φd且φd为上界常数,则对公式(13)两边作范数运算,由矩阵范数的三角不等式定理,得到下述公式(14):3) To prove the convergence of switching proportional integral observers: for any k, || Δt (k)|| ≤φd and φd is the upper bound constant, then the norm operation is performed on both sides of formula (13), and the matrix Norm triangle inequality theorem, get the following formula (14):

Figure BDA0002849223780000122
Figure BDA0002849223780000122

其中,||Aej||为Aej的任意范数,其中j=1、2、3,Among them, ||A e j|| is any norm of A ej , where j=1, 2, 3,

根据矩阵的谱半径定理,对于Aej∈Rn×n

Figure BDA0002849223780000123
总存在一个范数||·||,使得下述公式(15)成立:According to the spectral radius theorem of matrices, for A ejR n×n ,
Figure BDA0002849223780000123
There is always a norm ||·||, so that the following formula (15) holds:

||Aej||≤ρ(Aej)+ε (15)||A ej ||≤ρ(A ej )+ε (15)

根据上述定理,由于选择合适的Kpj、Kij使得的特征值在单位圆内,即矩阵的谱范数ρ(Aej)<1,若选择合适的ε满足0<ε<1-ρ(Aej),根据公式(15)则有:According to the above theorem, due to the selection of appropriate K pj and K ij the eigenvalues are within the unit circle, that is, the spectral norm of the matrix ρ(A ej )<1, if the selection of appropriate ε satisfies 0<ε<1-ρ( A ej ), according to formula (15):

||Aej||<1 (16)||A ej ||<1 (16)

因此,由公式(14)和公式(16),当k→∞时,状态和故障估计误差的范数||et(k)||)小于

Figure BDA0002849223780000124
Therefore, from formula (14) and formula (16), when k→∞, the norm of state and fault estimation errors ||e t (k)||) is less than
Figure BDA0002849223780000124

如图2所示,非光滑三明治系统的Simulink模型主要由理想输入、求和模块、控制器、L1子系统、死区环节、L2子系统、反馈增益及连接线组成,此外还可能包括故障信号,如L1故障信号、L2故障信号及死区增大模块。As shown in Figure 2, the Simulink model of a non-smooth sandwich system is mainly composed of ideal input, summation module, controller, L1 subsystem, dead zone link, L2 subsystem, feedback gain and connecting lines, and may also include fault signals , such as L1 fault signal, L2 fault signal and dead zone increase module.

4)对死区非光滑三明治系统的状态和故障进行估计:由公式(7)得下述公式(17)、公式(18):4) Estimate the state and fault of the non-smooth sandwich system in the dead zone: the following formula (17) and formula (18) are obtained from formula (7):

Figure BDA0002849223780000131
Figure BDA0002849223780000131

Figure BDA0002849223780000132
Figure BDA0002849223780000132

由公式(17)、公式(18)得From formula (17), formula (18) get

Figure BDA0002849223780000133
Figure BDA0002849223780000133

根据公式(7)及公式(19),按照如下流程进行死区非光滑三明治系统的状态和故障的估计:According to formula (7) and formula (19), the state and fault of the non-smooth sandwich system in dead zone are estimated according to the following process:

4-1)初始化状态变量的估计值及故障的估计值:令

Figure BDA0002849223780000134
并计算
Figure BDA0002849223780000135
Figure BDA0002849223780000136
4-1) Initialize the estimated value of the state variable and the estimated value of the fault: make
Figure BDA0002849223780000134
and calculate
Figure BDA0002849223780000135
make
Figure BDA0002849223780000136

4-2)令k=3;4-2) Let k=3;

4-3)判断k是否小于等于N,若k≤N,则执行步骤4-4);否则结束运行;4-3) Determine whether k is less than or equal to N, if k≤N, then perform step 4-4); otherwise end the operation;

4-4)若

Figure BDA0002849223780000137
则进行如下操作:4-4) If
Figure BDA0002849223780000137
Then proceed as follows:

Figure BDA0002849223780000138
Figure BDA0002849223780000138

Figure BDA0002849223780000139
Figure BDA0002849223780000139

Figure BDA00028492237800001310
Figure BDA00028492237800001310

Figure BDA00028492237800001311
则进行如下操作:like
Figure BDA00028492237800001311
Then proceed as follows:

Figure BDA00028492237800001312
Figure BDA00028492237800001312

Figure BDA00028492237800001313
Figure BDA00028492237800001313

Figure BDA00028492237800001314
Figure BDA00028492237800001314

Figure BDA00028492237800001315
则进行如下操作:like
Figure BDA00028492237800001315
Then proceed as follows:

Figure BDA00028492237800001316
Figure BDA00028492237800001316

Figure BDA00028492237800001317
Figure BDA00028492237800001317

Figure BDA00028492237800001318
Figure BDA00028492237800001318

4-5)k的值加1,重复步骤4-3)。4-5) Add 1 to the value of k, and repeat step 4-3).

步骤4)中,实际中的系统上大多并不是一阶系统,而是二阶的或可以简化为二阶系统,若非光滑三明治系统的两个子系统L1、L2是二阶系统,则整个系统为四阶的,有4个状态变量,z则系统的每一步计算都有4个的状态,即第k步第1个状态、第k步第2个状态、第k步第3个状态和第k步第4个状态,因此,用N行4列的矩阵x来保存所有状态,第k步的4个状态,保存在矩阵x第k行的1至4列中,写成x(k,[1:4]),简写为x(k,:)。In step 4), most of the actual systems are not first-order systems, but second-order systems or can be simplified to second-order systems. If the two subsystems L 1 and L 2 of the non-smooth sandwich system are second-order systems, then the entire The system is fourth-order, with 4 state variables, and z means that each calculation step of the system has 4 states, that is, the first state of the k-th step, the second state of the k-th step, and the third state of the k-th step and the 4th state of the kth step, therefore, a matrix x with N rows and 4 columns is used to save all states, and the 4 states of the kth step are stored in columns 1 to 4 of the kth row of the matrix x, written as x(k ,[1:4]), abbreviated as x(k,:).

步骤4-4)中,

Figure BDA0002849223780000141
三种情况下所进行的操作是A、η、Kp、Ki4个不同的矩阵。In step 4-4),
Figure BDA0002849223780000141
The operations performed in the three cases are 4 different matrices A, η, K p , and K i .

用上述方法对直流电机驱动仿真系统进行状态和故障估计,并与用传统比例积分观测器进行状态和故障估计的结果进行比较,具体如下:The above method is used to estimate the state and fault of the DC motor drive simulation system, and compared with the results of state and fault estimation using the traditional proportional-integral observer, the details are as follows:

如图3所示,直线电机驱动系统的示意图,其中控制电路包括电路放大器和滤波器等,可以看成线性子系统L1;负载可以看成线性子系统L2;直线电机由磁场绕组和电枢绕组、支架等组成,其中存在的库仑摩擦;将直线电机等效为死区环节,用DZ表示;因此,整个直线电机驱动系统可以看成死区三明治系统;该系统主要用于要求输出直线位移及自动控制的系统。As shown in Figure 3, the schematic diagram of the linear motor drive system, in which the control circuit includes circuit amplifiers and filters, etc., can be regarded as a linear subsystem L 1 ; the load can be regarded as a linear subsystem L 2 ; the linear motor is composed of a magnetic field winding and an electrical Composed of pivot windings, brackets, etc., there is Coulomb friction in it; the linear motor is equivalent to a dead zone link, which is represented by DZ; therefore, the entire linear motor drive system can be regarded as a dead zone sandwich system; this system is mainly used for requiring output linear Displacement and automatic control system.

直线电机驱动系统的仿真模型如下:The simulation model of the linear motor drive system is as follows:

输入信号为u=20sin(0.8t),采样时间为80s,采样周期为0.01s,所有的状态和故障初始值均设为0;则:The input signal is u=20sin(0.8t), the sampling time is 80s, the sampling period is 0.01s, and the initial values of all states and faults are set to 0; then:

线性子系统L1Linear subsystem L 1 :

Figure BDA0002849223780000142
Figure BDA0002849223780000142

线性子系统L2Linear subsystem L 2 :

Figure BDA0002849223780000143
Figure BDA0002849223780000143

死区:dead zone:

Figure BDA0002849223780000144
Figure BDA0002849223780000144

Figure BDA0002849223780000145
Figure BDA0002849223780000145

直线电机驱动系统的4个状态变量x11、x12、x21、x22及各自代表的物理含义如表1所示。Table 1 shows the four state variables x 11 , x 12 , x 21 , x 22 of the linear motor drive system and their respective physical meanings.

表1直线电机驱动系统的状态变量Table 1 State variables of the linear motor drive system

Figure BDA0002849223780000151
Figure BDA0002849223780000151

因此,以系统的状态空间方程和系统参数,可得相应的矩阵如下所述。Therefore, with the state space equation of the system and the system parameters, the corresponding matrix can be obtained as follows.

Figure BDA0002849223780000152
Figure BDA0002849223780000152

Figure BDA0002849223780000153
Figure BDA0002849223780000153

C=[0 0 0 00],和D=[0.04107 0 0 0]TC=[0 0 0 00], and D=[0.04107 0 0 0] T .

传统观测器视死区环节为一线性环节,采用比例环节代替,忽略了系统在线性区和死区之间的切换。因此传统比例积分观测器中不包括切换项,具体表达式如下:The traditional observer regards the dead zone link as a linear link and replaces it with a proportional link, ignoring the switching between the linear zone and the dead zone. Therefore, the switching item is not included in the traditional proportional-integral observer, and the specific expression is as follows:

Figure BDA0002849223780000154
Figure BDA0002849223780000154

其中

Figure BDA0002849223780000155
in
Figure BDA0002849223780000155

现分别对出两类故障进行仿真:Now simulate two types of faults:

第一类故障,假设在10时有一个阶跃故障,代表实际应用中的突变故障,af=0.85,bf=1,当0≤t≤10,uf(t)=0,即前10秒是没有故障的;当10<t≤80时,uf(t)为0.2,采样频率为100Hz,根据切换比例积分观测器收敛条件,选择Kpj=[0.1,0.1,0.1,0.1]T和Kij=1,当j=1,3时,Ae的特征值为[0.4480,0.8075,0.7975+0.0406i,0.7975-0.0406i,0.9494]T;当j=2时,Ae的特征值为[0.4500,0.8000,0.9500,0.8000+0.0316i,0.8000-0.0316i]]T,均在单位圆内,即无论系统工作在线性区还是死区,Ae的特征值都在单位圆内。The first type of fault, assuming there is a step fault at 10, represents a sudden fault in practical applications, a f =0.85, b f =1, when 0≤t≤10, u f (t)=0, that is, the former There is no fault in 10 seconds; when 10<t≤80, u f (t) is 0.2, the sampling frequency is 100Hz, according to the convergence condition of switching proportional integral observer, select K pj =[0.1, 0.1, 0.1, 0.1] T and K ij =1, when j=1, 3, the characteristic value of Ae is [0.4480, 0.8075, 0.7975+0.0406i, 0.7975-0.0406i, 0.9494] T ; when j=2, the characteristic value of Ae is [0.4500, 0.8000, 0.9500, 0.8000+0.0316i, 0.8000-0.0316i]] T are all within the unit circle, that is, whether the system works in the linear zone or the dead zone, the eigenvalues of Ae are all within the unit circle.

通过对比图4和图5,可以清楚的看到切换比例积分观测器比传统比例积分观测器能够更精确地估计系统的状态;切换比例积分观测器和传统观测器状态估计误差如图6所示,从图6可得切换比例积分观测器的估计误差比传统比例积分观测器更小,当在10s处有一个阶跃故障时,切换比例积分观测器和传统观测器状态估计效果如图4和图5所示,切换比例积分观测器和传统观测器的故障估计效果如图7所示,从图7可知,切换比例积分观测器能够及时准确地跟踪故障信号,但传统的比例积观测器一点也不能跟踪故障信号;总之,在状态估计和故障估计方面,切换比例积分观测器比传统比例积分观测器具有更好的性能。By comparing Figure 4 and Figure 5, it can be clearly seen that the switched proportional-integral observer can estimate the state of the system more accurately than the traditional proportional-integral observer; the state estimation error between the switched proportional-integral observer and the traditional observer is shown in Figure 6 , from Fig. 6, it can be seen that the estimation error of the switched proportional-integral observer is smaller than that of the traditional proportional-integral observer. When there is a step fault at 10s, the state estimation effects of the switched proportional-integral observer and the traditional observer are shown in Fig. 4 and As shown in Figure 5, the fault estimation effect of the switched proportional-integral observer and the traditional observer is shown in Figure 7. From Figure 7, it can be seen that the switched proportional-integral observer can track the fault signal in time and accurately, but the traditional proportional-integral observer has a little The fault signal cannot be tracked either; in conclusion, the switched proportional-integral observer has better performance than the conventional proportional-integral observer in terms of state estimation and fault estimation.

假设第二类故障为幅值衰减的正弦信号,在实际应用中代表缓慢变化的故障。采样频率也为100Hz,af=0.8且bf=1,当0≤t≤10时,uf(t)=0,即第一个10秒是没有故障的;当10<t≤80时,故障为uf(t)=e(-(t-30)/10)sin(π(t-10)/10+1)+4,选择Kpj=[0.0575,-0.0998,-0.0960,0.0201]T,Kij=1;当j=1,3时,Ae的特性值为[0.4517,0.8930,0.7776+0.0235i,0.7776-0.0235i,0.8301]T;当j=2时,Ae的特性值为[0.4500,0.8000,0.8000,0.8905,0.7894]T,均在单位圆内。It is assumed that the second type of fault is a sinusoidal signal with attenuated amplitude, which represents a slowly changing fault in practical applications. The sampling frequency is also 100Hz, af=0.8 and bf=1, when 0≤t≤10, u f (t)=0, that is, there is no fault in the first 10 seconds; when 10<t≤80, the fault For u f (t)=e (-(t-30)/10) sin(π(t-10)/10+1)+4, choose Kpj=[0.0575, -0.0998, -0.0960, 0.0201] T , K ij =1; when j=1, 3, the characteristic value of Ae is [0.4517, 0.8930, 0.7776+0.0235i, 0.7776-0.0235i, 0.8301] T ; when j=2, the characteristic value of Ae is [0.4500 , 0.8000, 0.8000, 0.8905, 0.7894] T , all within the unit circle.

当故障为幅值衰减的正弦信号时,切换比例积分观测器和传统观测器状态估计效果如图8和图9所示。从图8-11可以得到切换比例积分观测器比传统观测器模型精度更高,因此,切换比例积分观测器比传统观测器状态估计效果更好。When the fault is a sinusoidal signal with amplitude attenuation, the state estimation effects of switching the proportional-integral observer and the traditional observer are shown in Fig. 8 and Fig. 9 . From Fig. 8-11, it can be seen that the switched proportional-integral observer has higher precision than the traditional observer model, therefore, the switched proportional-integral observer has a better state estimation effect than the traditional observer.

Claims (1)

1. A method for estimating the state and fault of a dead zone sandwich system is characterized by comprising the following steps:
1) The method comprises the following steps of constructing a non-smooth state space equation capable of accurately describing a gap sandwich system with faults by using a key item separation principle and a switching function, wherein the characteristic of the nonlinear characteristic of a dead zone is that the size of output is only related to the size of input at the current moment and is unrelated to the input and the output at the previous moment, and aiming at the dead zone sandwich system with actuator faults, the state space equation of the system is established, and the method specifically comprises the following steps:
1-1) establishing a state space equation of the linear subsystem: according to the linear system theory, the linear subsystem L 1 The state space equation of (a) is as follows:
Figure FDA0004028180280000011
according to the linear system theory, the linear subsystem L 2 The state space equation of (a) is as follows:
Figure FDA0004028180280000012
wherein
Figure FDA0004028180280000013
For the first linear subsystem L 1 The state variable of (a) is changed,
Figure FDA0004028180280000014
for the second linear subsystem L 2 The state variable of (a) is changed,
Figure FDA0004028180280000015
u∈R 1×1 ,y∈R 1×1 ,f∈R 1×1 ,u f ∈R 1×1 ,a f ∈R 1×1 ,b f ∈R 1×1
Figure FDA0004028180280000016
are respectively L 1 、L 2 The state transition matrix of (a) is,
Figure FDA0004028180280000017
are respectively L 1 、L 2 The input matrix of (a) is selected,
Figure FDA0004028180280000018
are respectively L 1 、L 2 The output matrix of (a) is obtained,
Figure FDA0004028180280000019
for the failure matrix, u ∈ R 1×1 As input, y ∈ R 1×1 For output, f ∈ R 1×1 Is a failure of the system, a f As a factor of a failed link, b f Input coefficients for unknown fault links; u. of f ∈R 1×1 The input for the failed link is unknown; a is f And b f Obtained from a priori knowledge of system faults, known; suppose u f Is bounded, a f Is less than 1, i.e. | a f L < 1, so the fault system is stable according to the linear system stability condition, n i For the dimension of the i-th linear system, let
Figure FDA00040281802800000110
And is
Figure FDA00040281802800000111
1-2) establishing a state space equation of the dead zone subsystem: defining intermediate variables m (k), w 1 (k) Comprises the following steps:
m(k)=m 1 +(m 2 -m 1 )h(k)
w 1 (k)=m(k)(v 1 (k)-D 1 h 1 (k)+D 2 h 2 (k))
wherein the parameter D 1 To a positive dead zone width, D 2 Is the negative dead zone width, m 1 Is a positive linear region slope, m 2 Is the slope of the negative linear region,
Figure FDA0004028180280000021
in order to be a function of the switching,
obtaining the following according to the input-output relation of the dead zone:
v 2 (k)=w 1 (k)-h 3 (k)w 1 (k)=(1-h 3 (k))w 1 (k),
wherein
Figure FDA0004028180280000022
Also as a switching function, when h 3 (k) When =0, the system operates in the linear region, and v 2 (k)=w 1 (k) (ii) a When h is generated 3 (k) When =1, the system is operating in a dead zone, and v 2 (k)=w 1 (k)-w 1 (k) =0, the input/output characteristic according to the dead zone is obtained:
Figure FDA0004028180280000023
due to the fact that
Figure FDA00040281802800000211
Substituting the formula (3) into the formula (2) to obtain:
Figure FDA0004028180280000024
wherein, the symbol "·" is a multiplication sign, and the function of the symbol "·" is multiplication operation;
1-3) establishing an integral state space equation of the dead zone sandwich system: according to formula (1), formula (2), formula (4) and
Figure FDA0004028180280000025
the state space equation of the linear motor drive system is as follows:
Figure FDA0004028180280000026
wherein
Figure FDA0004028180280000027
Figure FDA0004028180280000028
According to the characteristics of the sandwich system, only the output y (k) of the system can be directly measured, so that
Figure FDA0004028180280000029
Wherein
Figure DEST_PATH_FDA0003984151590000032
0 is a zero matrix of the corresponding order
Figure FDA0004028180280000031
Equation (5) is written as follows:
Figure FDA0004028180280000032
wherein eta i Switching vectors introduced for considering the existence of dead zone non-linear characteristics of the system;
2) According to the non-smooth state space equation of the gap sandwich system with the fault, which is constructed in the step 1), when the system meets the existence condition of the observer, a switching proportional-integral observer capable of automatically switching along with the change of the working interval of the gap sandwich system with the fault is constructed, and the existence condition and the bounded theorem of the corresponding switching proportional-integral observer are given, which comprises the following steps:
2-1) aiming at the dead zone sandwich system, a switching proportional-integral observer capable of estimating the state and the fault of the system simultaneously is constructed, and the switching proportional-integral observer for constructing the dead zone sandwich system is specifically as follows:
according to the state space equation (6) of the dead zone sandwich system, the following switching proportional-integral observer is constructed:
Figure FDA0004028180280000033
wherein
Figure FDA0004028180280000034
Proportional gain for the ith operating interval, K ij ∈R 1x1 Is the integral gain of the ith working interval;
Figure FDA0004028180280000035
x (k), y (k), f (k), eta, respectively i If j =1,2,3, i = j, then
Figure FDA0004028180280000036
v 1 (k) As input to the first linear subsystem, according to equation (7) and equation (1) and
Figure FDA0004028180280000037
f (k), the following formula (8) and formula (9) are obtained:
Figure FDA0004028180280000038
f(k+1)=a f f(k)+b f u f (k) (9)
wherein, K i In order to integrate the gain of the gain,
subtracting equation (9) from equation (8) defines
Figure FDA0004028180280000039
The following formula (10) is obtained:
Figure FDA0004028180280000041
equation (7) is subtracted from equation (6) to obtain the following expression for the estimation error:
e(k+1)=(A j -K pj C)e(k)+De f (k)+Δη os +ΔA os x(k) (11)
wherein
Figure FDA0004028180280000042
ΔA os =A j -A i
The equations (10) and (11) are written together in a matrix form, that is, the matrix form of the state and fault estimation errors is as follows in equation (12):
Figure FDA0004028180280000043
simplifying the formula (12) by
Figure FDA0004028180280000044
Equation (12) is written in the form of a rectangular multiplication, as shown in the following equation:
e t (k+1)=A ej e t (k)+Δ t (k) (13)
2-2) setting Δ t (k) Norm sum e of t (1) The norm of (a) is bounded upward, and the bounded upward of the norms of both (b) is smaller than phi d Expressed as | | Δ by mathematical expression t (k)||≤φ d ,||e t (1)||≤φ d Wherein e (1) is the initial estimation error, | | Δ t (k) | | is Δ t (k) Arbitrary norm, | | e t (1) | is e t (1) When j =1,2,3, if the appropriate K is selected pj And K ij So that A is ej Is within the unit circle, the norms of the state and fault estimation errors are bounded and both are less than
Figure FDA0004028180280000045
I.e. switching the convergence condition of the proportional-integral observer to A ej Characteristic value of (2) in unit circleInternal;
3) The convergence of the switching proportional-integral observer is proved: for any k, | | Δ t (k)||≤φ d And phi is d If the matrix norm is an upper bound constant, then norm operations are performed on two sides of the formula (13), and the following formula (14) is obtained by the trigonometric inequality theorem of the matrix norm:
Figure DEST_PATH_FDA0003984151590000051
wherein, | | A ej I is A ej Where j =1,2,3,
according to the theorem of the spectral radius of the matrix, for A ej ∈R n×n
Figure FDA0004028180280000052
There is always a norm | · | |, such that the following equation (15) holds:
||A ej ||≤ρ(A ej )+ε (15)
according to the above theorem, since a suitable K is selected pj 、K ij So that A is ej Is within the unit circle, i.e. the spectral norm ρ (a) of the matrix ej ) If the proper epsilon is selected, the epsilon is more than 0 and less than 1-rho (A) ej ) According to equation (15), there are:
||A ej ||<1 (16)
therefore, from equation (14) and equation (16), when k → ∞ the norm of the state and fault estimation errors | | | e t (k) Less than | |
Figure FDA0004028180280000053
4) Estimating the state and fault of the dead zone non-smooth sandwich system: the following formula (17) and formula (18) are obtained from formula (7):
Figure FDA0004028180280000054
Figure FDA0004028180280000055
is obtained by the formula (17) and the formula (18)
Figure FDA0004028180280000056
According to the formula (7) and the formula (19), the estimation of the state and the fault of the dead zone non-smooth sandwich system is carried out according to the following process:
4-1) initializing the estimated value of the state variable and the estimated value of the fault: order to
Figure FDA0004028180280000061
And calculate
Figure FDA0004028180280000062
Order to
Figure FDA0004028180280000063
4-2) let k =3;
4-3) judging whether k is less than or equal to N, and if k is less than or equal to N, executing the step 4-4); otherwise, ending the operation;
4-4) if
Figure FDA0004028180280000064
The following operations are performed:
Figure FDA0004028180280000065
Figure FDA0004028180280000066
Figure FDA0004028180280000067
if it is
Figure FDA0004028180280000068
The following operations are performed:
Figure FDA0004028180280000069
Figure FDA00040281802800000610
Figure FDA00040281802800000611
if it is
Figure FDA00040281802800000612
The following operations are performed:
Figure FDA00040281802800000613
Figure FDA00040281802800000614
Figure FDA00040281802800000615
wherein the parameters
Figure FDA00040281802800000616
Meaning the estimated values of all states in step k,
two subsystems L of a non-smooth sandwich system 1 、L 2 The system is a second-order system, the whole system is a fourth-order system and has 4 state variables, and in the process of solving the system differential equation by adopting an iterative method, 4 state quantities of the system are calculated in each step, namely the 1 st state of the k step, the 2 nd state of the k step, the 3 rd state of the k step and the 4 th state of the k step, so that all the states are stored by using a matrix x with N rows and 4 columns, and the 4 states of the k step are stored in 1 to 4 columns of the kth row of the matrix x and written into x (k, [ 1:4)]) Abbreviated as x (k,: in this case),
4-5) adding 1 to the value of k, repeating steps 4-3).
CN202011520165.3A 2020-12-21 2020-12-21 A State and Fault Estimation Method for Dead Zone Sandwich Systems Active CN112731809B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011520165.3A CN112731809B (en) 2020-12-21 2020-12-21 A State and Fault Estimation Method for Dead Zone Sandwich Systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011520165.3A CN112731809B (en) 2020-12-21 2020-12-21 A State and Fault Estimation Method for Dead Zone Sandwich Systems

Publications (2)

Publication Number Publication Date
CN112731809A CN112731809A (en) 2021-04-30
CN112731809B true CN112731809B (en) 2023-02-28

Family

ID=75604069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011520165.3A Active CN112731809B (en) 2020-12-21 2020-12-21 A State and Fault Estimation Method for Dead Zone Sandwich Systems

Country Status (1)

Country Link
CN (1) CN112731809B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204332B (en) * 2015-08-10 2017-08-29 桂林电子科技大学 Dead band and sluggish compound Sandwich system method for estimating state are contained based on Non-smooth surface observer
CN108279569B (en) * 2018-01-12 2020-08-21 桂林电子科技大学 State estimation method for hysteresis sandwich system with fault
CN108227679B (en) * 2018-01-12 2020-06-05 桂林电子科技大学 A State Estimation Method for Gap Sandwich Systems with Faults
CN110275435B (en) * 2019-05-24 2022-07-05 广东工业大学 Observer-based multi-single-arm manipulator output consistent adaptive command filtering control method

Also Published As

Publication number Publication date
CN112731809A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
Wei et al. Leader‐following consensus of second‐order multi‐agent systems with arbitrarily appointed‐time prescribed performance
Na Adaptive prescribed performance control of nonlinear systems with unknown dead zone
CN110347044B (en) A Neural Network Dynamic Surface Control Method for PMSM Chaotic System Considering Output Constraints
Li et al. Adaptive neural network decentralized fault-tolerant control for nonlinear interconnected fractional-order systems
CN104238361A (en) Adaptive robust position control method and system for motor servo system
CN108733031B (en) A fault estimation method for networked control system based on intermediate estimator
Kao et al. Nonfragile observer‐based H∞ sliding mode control for Itô stochastic systems with Markovian switching
He et al. Active disturbance rejection adaptive control for uncertain nonlinear systems with unknown time‐varying dead‐zone input
Ma et al. Detection and adaptive accommodation for actuator faults of a class of non-linear systems
Hou et al. Adaptive neural network tracking control for switched uncertain non‐linear systems with actuator failures and time‐varying delays
CN112731809B (en) A State and Fault Estimation Method for Dead Zone Sandwich Systems
CN113325717B (en) Optimal fault-tolerant control method, system, processing equipment and storage medium based on interconnected large-scale system
CN108279569A (en) A kind of method for estimating state containing faulty sluggish Sandwich system
Chen et al. MT‐filters‐based event‐triggered adaptive prescribed performance tracking control of multi‐agent systems with unknown direction actuator failure
Alanis et al. Real‐time model‐free resilient control for discrete nonlinear systems
Fabozzi et al. On simplified handling of state events in time-domain simulation
CN114755925A (en) Non-smooth system in random disturbance and time delay environment and control method
Zhang et al. Adaptive neural network finite‐time command filter tracking control for nonlinear systems with multiple coupling high‐order terms and disturbances
Lian et al. Sliding mode control for non‐linear networked control systems subject to packet disordering via prediction method
Li et al. Fault detection for fractional‐order linear systems in finite frequency domains
Zhao et al. A novel fixed‐time fractional order nonsingular terminal sliding mode control
CN112611971B (en) A data-driven networked DC motor anomaly detection method
CN112987683B (en) Fault positioning method for dead zone non-smooth sandwich system
Rauh et al. Iterative Learning Approaches for Discrete-Time State and Disturbance Observer Design of Uncertain Linear Parameter-Varying Systems
CN106773712B (en) Dual Feedback Robust Adaptive Control Method and Its Control System Structure

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant