Professional Documents
Culture Documents
10.1016@s1474 66701751984 9
10.1016@s1474 66701751984 9
10.1016@s1474 66701751984 9
A bstract. The paper discusses two approaches to fault detection in robotic systems. The first ap-
proach consists of the use of a linear Luenberger state observer. This observer generates a robust
residual (innovation) that is maximally sensitive to the faults that have to be detected while remaining
unsensit.ive to the neglected non-lineal~ties. It therefore serves as a fault indicator and allows a fault
detection and unique fault isolation. The computation ally simple design and application procedme
is outlined and illustrated by an example. The second part of the paper shows how a fully nonlinear
observer for fault detection in robots can be designed and applied. Because of its non-linear observer
structure the estimation error dynamics of this fault detection observer is linear and t.he choice of the
observer feedback is particularily simple. Its residual is only a function of the faults and the model
uncertainties. The fault detection abilities are significantly improved compared to the linear residual
generation procedure. Simulation results show the successful implementation.
Keywords. Failure Detection; Nonlinear Filtering; Observers; Redundancy ; Robustness; Robots; Sen-
sor Failures; Analytical Redundancy;
61
known transient of the Z"-dimensional fault event vector and
k
The matrices A, B, C, E d , K d , Em, and Km are real val-
ued and of appropiate dimension. In the following they
will be named nominal system matrices. In represents a (12)
n-dimensional unity matrix. The operator D denotes the
shift operator (D<Xk := Xk+d with the constant sampling
time T. The initial condition Xk=O of the System is abbre-
viated by Xo. Based on this description the residual generation will be
Note that the System equations ( 1) and (2) also reflect outlined.
all possible parameter variations in the system. In order to
2.1 Residual Generation
show this it is assumed that the actuaZ system is described
by In order to generate a scalar residual signal rk one has
(3) to check if the state equation (8) holds for the available
input and output data using the parity space approach
Here Aa and Ba represent the actual matrices currently de-
(see e.g. Chow and Willsky (1984) ). This is accomplished
scribing the system. The deviations from the nominal ma-
by calculating the equation
trices which are caused e.g. by the system non-linearities
are expressed by
Aa = A + 6A (4 )
Ba = B + 6B. (5)
The System dynamics equation (3) can, therefore, be
rewri t ten as on-line at each sampling time k. The vector v T that has to
be found is called the residual generator and has to meet
the following requirements. In order to make the residual
independent of any initial condition Xk - s the vector v T has
or to be chosen such that the condition
(7)
which is equal to the description chosen in eqn.(l). An
equivalent procedure is applicable for deviations in the C
and D matrices that leads to the matrix Em.
v
T
[ g:, 1 = 0 (14)
HQ~'" H, ( "':j:;' ), must hold. If almost any fault event signal shall be de-
tected the above requirement must be strengthened to
v T H 3 ,; of- 0 (16)
with
dk_S)
dk-,+I (1k_')
1k-,+1
K~.l
H H
2 ... + 3 ... (8)
o
(
dk 1k o
i " ,, ... , ,'
where s is the considered time horizon and
o
(17)
HQ = [ i:, 1'
CA'
(9)
with Km.; the i-th column of the matrix Km and
H 3 ,; =
C~d"
CAKd , CK d ,;
0
o 0] i=l, ... ,s
CAs~IK
[
D o ~ C~d,;
J
d,' .. 0
CB D o (18)
CAB CB D o ( 10) with K d ,; the i-th column of the matrix K d . This guar-
antees that almost any fault acts onto the residual. The
CB remaining once that do not show up in the residual be-
cause they fulfil a certain time function are called detec-
tion concealed (see Wiinnenberg (1989)). This shows which
conditions must be fulfilled to generate a residual that is
o sensitive to faults. The ideal solution for a robust residual
:.1
(11)
that is not affected by any unknown input vector dk is
v T H2 = O. (19)
Necessary and sufficient conditions for the existence of this
solution in terms of a direct observer formulation avoid-
ing the parity space approach can be found in Frank and
Wiinnenberg (1989).
62
If the ideal solution does not exist the most desired is with
to find an optimal solution which meets a certain perfor-
mance index. This index must contain a measure for the
effect of the unknown input d k and for the effect of the
VIC + vzCA + V3 CAz + . + V,CA'-l
VzC + v 3C A + + v,C A z S
-
1
fault s fk. Since no assumptions or restrictions are made T =- V3C + + v,CAs- 3 (29)
about the time history of the disturbance and the faults,
[
the performance index can only take into account the dis-
v,C
tribution of the signals into the system. As a proper choice
we therefore state the problem: and the observer output matrices by
Find a vector WT such that the performance index
wTVoHzCdH!vl w LI (0,0, ... , 0, 1) (30)
P- (20)
- w T VoH 3C I Hlvl w Lz Vs (31)
becomes minimal. Here Vo is a base for all possible solu- - v, D. (32)
tions to eqn.(14) . Hence, WT singles out the best vector
In the fault and disturbance free case and neglecting the
(2 1)
initial conditions the transformation between the system
from all possible solutions Vo. The performance index and the observer state variables is described by
was introduced by the authors in Wi.innenberg and Frank
( 1988 ) for the special case that Cd and Clare uni ty ma- (33)
trices. Clearly, the choice of the filter degree s has an
influence onto this optimal solution. The least square char- From the dynamics matrix Fo it is visible that the res ulting
acter of the performance index shows that an increase of s observer is a dead-beat observer for fault detection. The
generally reduces the value of the performance index. An matrix LI shows that the observer is in observer canonical
appropriate value for s has to be selec ted by the designer. form. For a pole placement for the observer the feedback
In addition, the choice of the weighting matrices Cl and Cd law
are of fundamental importance for the result of the design . zk+1 = Fozk + GoYk + J ollk - Hrk (34)
One physical interpretation of these weighting matrices will
be given at the en d of this section.
Tk = L1z k + LZYk + L 311k (35)
The solution to the optimization problem according to is introduced which allows an arbitrary pole placement of
eqn.(20) is derived by a differentiation of the performance the observer, as shown in Wiinnenberg (1989) . The final
index with resp ect to wT. The necessary condition for a observer is then d escribed by
solution
(22)
(37)
shows that the problem reduces to a generalized eigenvalue and the choice of the feedback matrix H becomes particu-
- eigenvector problem. The minimal eigenvalue is the opti- larily simple. Denoting the coefficients of the characteristic
mal value of the performance index and the corresponding polynomial of the observer
eigenvector w T is the selector for the optimal residual gen-
erator v T
The residual generator according to eqn.(13) can be
rewritten in state space form with ai the matrix H must be chosen to be
(23) (39)
E[T~l
(40)
p = E[rJ]
J (28)
where E detones the expectation operator. As shown in
Frank and Wi.innenberg (1989) the pole placement of the
observer acts like a low-pass filtering via a single input
filter onto the residual. The transfer function of this low
63
pass filter is completely determined by the characteristic
polynomial of the observer and can be described with help (48)
of the z-transfonnation by
G(z)= l+a,_l+ .. . +ao where the coefficients a and b reflect how strong the fault
(41) event signal are correlated either already in the model or
z' + a,_lz,-l + ... + ao
by the low pass filtering in the observer. Therefore the
Because of the li nearity of the system this low pass filtering poles are not chosen yet.
can be assumed to act onto the system inputs and the The design result is a performance index p = 0 inde-
variance of r d can be expressed by pendent of the values of a and b except a = b = l. The
solution is therefore independent of the chosen observer
(42) poles. The calculated residual generator described by
The matrix Cd is t hen defined by rk = (Yk - Yk-l) - (Yk- l - Yk - 2) - (Uk_2 - Uk-l) (49)
corresponds in the case of an analog system description to a
double differentiator. Th erefore it becomes visible that the
residual generator is insensitive to constant disturbances
where the process die is generated from the process dk by
acting onto the system input while remaining sensitive to
low pass filtering of each component di of d according to
all fault signals except if Jk can be described by a first
d:(z) = G( z)di(z ). (44) order polynomial in k. Rewriting the observer ill state
space form results in
An equivalent consideration holds for the characteristics of
the fault event signal which shows that the performance (50)
index fulfills the desired properties. The design procedure
and
is summarized by:
(51)
l. Choice of an appropriate system description includ- If the observer shall contain a double pole at Ai = 0.5 the
ing the stochastic characteristics of the unknown in- feedback matrix H results in
puts and the faults
H = (0.25 , -If (52)
2. Choice of the order s of the observer such that the observer is finally described by
3. Choice of the observer poles
(~ -0{25) Zk +( 0~715 ) Yk +( ~l ) Uk (53)
4. Calculation of the weighting matrices Cd and Cl un-
and
der consideration of the observer poles
rk = (0, l )zk + Yk (54)
5. Solution of the eigenvalue-eigenvector problem which completes the design.
6. Determination of the observer equations.
3 NONLINEAR FAULT DETEC-
2.2 Application Example TION
A single axis of a robot can be described by a single inte- Many results obtained in the area of fault detection in lin-
grator if the torque is considered as input and the velocity ear systems can be transfered to nonlinear syst.ems . This
as state variable and output. The gravitational, Corio- may become a very complicated procedure if a most gen-
lis and centripetal forces and the friction can be modelled eral nonlinear system description is assumed. In this ap-
as one disturbance acting like an input torque. The fault proach we limit ourselves to the special case that the sys-
that shall be detected is a fault in the velocity measure- tem nonlinearities acting onto the dynamics equation can
ment. The scaled discretized model reduces to a first order be expressed as a function of the measured output signal
system described by and follow thereby a way outlined by Birk and Zeitz ( 1988).
The continuous time system dynamics equation is asswned
(45)
to be of the form
(46)
Dx(t) = Ax(t )+F(y(t), u(t))+Ed(t )+ /{b(t))J(t) (55)
The choice of the weighting matrices Cd and Cl is of par-
ticular importance because a complete decoupling of the and the system output equation of the Form
residual from the unknown input dk for arbitrary time y(t ) = Cx(t) + K m(x(t))J(t). (56)
functions in dk is impossible in the case of single output
systems. The order of the parity space was chosen to be It is easily seen that the measurement is only corrupted
s = 2. In this example it was assumed that the unknown by the faults and not by unknown inputs . The unknown
input is constant with unknown amplitude. The unknown inputs acting onto the system equation enter linearily into
input signals are therefore completely correlated such that the dynamics equation. The operator D denotes the dif-
the weighting matrix Cd for an arbitrary pole placement in ferentiation w.r.t. time.
the observer is described by
3.1 Residual Generation
Cd = (~111
1 ~). (47) The fault detection observer is described by
64
For this example the matrix T , necessary for the ob-
and the observer output equation by
server design, can be chosen to be the unity matrix such
(58) that the observer is represented in matrix form via
under the assumption that the observer state z(t) results Dz(t) = F(y(t), u(t» - Hr(t) (67)
in the fault-free case from a linear transformation of the
system state and the observer output equation
z(t) = Tx (t) (59)
r(t) = y(t) - z(t) (68)
the resulting estimation error equation
which has to be implemented on-line using an appropriate
De(t ) D(z(t) - Tx(t » integration routine. The elements of the residual are sen-
Foz(t) + F(y(t), u(t» + Gy(i) sitive to disturbances and fault s in actuators, components
- TA1·(t) - TF(y(t) , u(t» as well as all sensors. This will be demonstrated by some
simulation results.
-TEd(t) - TKd(X(t»f(t) (60)
65
--rill - - rl21 - -rl31
The use of the nonlinear observer shows some very chal-
lenging simulation results. The advantage of the chosen 1. 750
• . 300
0 . \50
- -- -- -- -
-0 . 150
-0.300
~.<50 1 tt •• (n e)
REFERENCES
Birk, J. , Zeitz, M.(1988 ), Extended Luenberger Observer
for Non-Linear Multivariab le Systems, Intern. Jour -
nal of Control, Vol 47 , No. 6, 1823-1836
Chow , E .Y. , Willsky, A.S. (1 984), Analytical Redundancy
and the Design of Robust Failure Detection Systems,
Figure 1: Manutec R3 ,(Otter, Turk (1988))
I EEE Tranj . on Automatic Control, Vo!. AC-29,603-
614.
--rIO - - rl21 - - rI31 Frank, P.M.(1989), Evaluation of Analytical Redundancy
for Fault Diagnosis in Dynamic Systems, P roceed·
ingj of the I FAC- IMA CS·IFORS International Sym-
pOjium on Advanced Information Procejjing in A uto-
matic Control· A IPAC '89, Nancy, France 3-5 July
1989.
Frank , P.M., Wunnenberg, J.(1989) , Robust Fault Diagno-
sis using Unknown Input Observer Schemes in: Pat-
ton , R.J. , Clark, R.N. , Frank , P.M. , Fault Diagnojij
in Dynamic SYjtemj, Prentice Hall , Dodrecht, NL .
Lou , X.C. , Willsky, A.S. , Verghese, G.C.(1986 ), Optimally
Robust Redundancy Relations for Failure Detection
tt.lllt)
in Uncertain Systems, A utomatica, Vol 22 , 333-344.
~I., - - rl51 --rI61
Otter , M. , Turk , S.(1988) , The DFVLR Models 1 and 2 of
3. 500
the Manutec R3 Robot, DFVLR Injtitutfiir Dynamik
der FlugjYjteme , Oberpfaffenhofen , Germany.
2.500 Patton, R. J ., Clark, R.N. , Frank , P.M.(1989), Fault Diag·
nOji3 in Dynamic SY3tem3 , Prentice Hall, Dodrecht ,
1.500
NL.
W iinnenberg, J., Frank, P.M. (1988), Model-Based Resid-
ual Generation fo r Dynamic Systems with Unknown
• •500
Inputs, Proc. 12th IMACS World Congrejj an Sci-
entific Computation , Paris , Vo!. 2, 435-437.
~ . 500 Wiinnenberg, J .(1989), Fault Detection in Dynamic SY3 .
tt.l.. tl
temj, Dissertation , University of Duisburg, Duisburg,
F igure 2: Fault in velocity sensor 1 Germany.
66