Observer-Based Control for Time-Variant Systems
Observer-Based Control for Time-Variant Systems
1 Introduction
In process control, the conception of a state observer is useful when the state of
the considered system can’t be measured to perform a state feedback ([1]) ([2]).
Methods of state feedback with state observer were developed([3]) but they are
especially applied for stationary linear systems. When dealing with linear time
variant systems, the developed approaches of control in the literature remain
limited to particular classes of models.
In this paper, a new method of state feedback with observer using orthog-
onal functions is proposed. The improvement of the system dynamic behavior
is obtained by following the performances of a selected reference model. This
approach originized from the use of Walsh ([4]) and block-pulse ([5]) functions
was later extended to orthogonal polynomial series such as the Laguerre ([6]),
the Chebychev ([7]), the Hermite ([8]) and the Legendre polynomials ([9]). They
where
Zb
fi = 1/ri w(t)f (t)ϕi (t) (2)
a
with w(t) a positive and integrable function as the weighting function of the
scalar product.
For practical use, the development (1) is truncated up to an order N, thus giving
the following time approximation of the function f (t):
N −1
f (t) ∼
X
= fi ϕi (t) = FN φN (t) (3)
i=0
with
FN = f0 f1 · · · fN −1
T
ΦN (t) = ϕ0 (t) ϕ1 (t) · · · ϕN −1 (t) the vector of the orthogonal functions
basis.
with AiN ∈ Rn×m for i ∈ {0, 1, ..., N − 1} are matrices with constant coefficients.
Clearly, the form of PN depends on the particular choice of the basis vector
ΦN (t).
b-Operational matrix of product
The operational vectors of product Kij have constant coefficients and verify the
property ([11]):
∀i, j ∈ {0, 1, . . . , N − 1 } , ϕi (t)ϕj (t) ∼ T
= Kij ΦN (t) (6)
From the relationship (6), we can readily get the operational matrix of product:
T
K0,i
MiN = ... (7)
T
KN −1,i
that allows the approximation:
ϕi (t)φN (t) ∼
= MiN φN (t) (8)
The system (S) is assumed to be controlable and observable and the n com-
ponentsof the state vector are not all physically measurable.
Let Ŝ a full ordre observer of the system (S), defined by the following
state equation:
˙
x̂(t) = A(t)x̂(t) + B(t)u(t) + L(t) (y(t) − C(t)x̂(t))
(10)
y(t) = C(t)x(t)
N ∈R and K ∈ Rp×n
This control law has to provide the same behavior between the system and
a chosen reference model.
The projection of the matrices A(t), B(t), C(t) and L(t) in basis of orthogonal
functions truncated with an order N can be written as:
NP
−1 NP
−1
A(t) = AiN ϕi (t), B(t) = BiN ϕi (t)
i=0 i=0 (16)
NP−1 NP−1
C(t) = CiN ϕi (t), L(t) = LiN ϕi (t)
i=0 i=0
Zt Zt
ε̇(τ )dτ = ε(t) − ε(t = 0) = [A(τ ) − L(τ )C(τ )] ε(τ )dτ (17)
0 0
The projection of the observation error ε(t) on an orthogonal basis leads to:
NP
−1 Rt
εN φN (t) − ε0,N φN (t) = AiN εN ϕi (τ )φN (τ )dτ −
i=0 0
NP
−1 NP
−1 Rt (18)
LiN CjN εN ϕi (τ )ϕj (τ )φN (τ )dτ
i=0 j=0 0
Making use of the vec operator, which transforms a matrix structure into a
vector one and the specific property ([12]):
vec(ABC) = C T ⊗ A vec(B)
(21)
Simplifying by the vector φN (t) and applying the operator vec lead to:
vec(εN ) =
N −1 −1
P T
In×N − (MiN PN ) ⊗ AiN − (22)
" i=0 # × vec(ε )
NP −1 NP
−1 0,N
T
(MiN MjN PN ) ⊗ (LiN CjN )
i=0 j=0
In the same way the projection of the error vector of reference observation
model, and the use of the operational matrix of integration give:
−1
vec(εN,ref ) = In×N − PNT ⊗ M
vec(ε0,N,ref ) (23)
The condition of an identical behavior of the error of reference observation
and the real error of observation can be written as follows:
εref (t) = ε(t) ⇔ εN,ref φN (t) = εN φN (t)
⇔ vec(εN,ref ) = vec(εN )
By taking into account the equations (22) and (23), one may has:
N −1 −1
P T
In×N − (MiN PN ) ⊗ AiN −
" i=0 # × vec(ε ) =
NP −1 NP−1 0,N
(MiN MjN PN )T ⊗ (LiN CjN ) (24)
i=0 j=0
−1
In×N − PNT ⊗ M
× vec(ε0,N,ref )
Considering that:
vec(ε0,N,ref ) = vec(ε0,N )
It comes out:
N −1 −1
P T
In×N − (M iN PN ) ⊗ AiN −
" i=0 # =
NP
−1 NP −1
T
(MiN MjN PN ) ⊗ (LiN CjN ) (25)
i=0 j=0
−1
In×N − PNT ⊗ M
Or: N −1
P T
I
n×N − (M P
iN N ) ⊗ AiN −
" i=0 # =
NP
−1 NP−1
T
(MiN MjN PN ) ⊗ (LiN CjN ) (26)
i=0 j=0
In×N − PNT ⊗ M
Matrices LiN for i = 0, 1, ..., N − 1 can be determined by minimizing the
error δ which represents the difference between the two parts of the equation
(26):
N −1
P T
I
n×N − (M P
iN N ) ⊗ AiN −
" i=0 #
δ(LiN ) = −1 NP
NP −1
T
(MiN MjN PN ) ⊗ (LiN CjN )
i=0 j=0
− In×N − PNT ⊗ M
By taking into account the equations (9) and (11), it comes out:
The use of the product operational matrix as well as the integration opera-
tional matrix give:
NP
−1
XN φN (t) = AiN XN MiN PN φN (t)
i=0
NP
−1
+ BiN N Yc,N MiN PN φN (t) (29)
i=0
NP−1
− BiN K X̂N MiN PN φN (t)
i=0
Simplifying by the vector φN (t) and using the operator vec allow to write:
N −1
P T
In×N − (MiN PN ) ⊗AiN vec(XN ) =
N −1 i=0
P T
(MiN PN ) ⊗ (BiN N ) vec(Yc,N ) (30)
i=0
N −1
P T
− (MiN PN ) ⊗ (BiN K) vec(X̂N )
i=0
While considering a definite observer of the form (10) and taking account of
the equality (11), it comes that:
˙
x̂(t) = (A(t) − B(t)K − L(t)C(t)) x̂(t)
(31)
+B(t)N yc (t) + L(t)C(t)x(t)
Applying the same procedure of projection of the equation (31) on the chosen
orthogonal functions basis, we get:
N −1
P T
In×N − i=0 (MiN PN ) ⊗AiN +
NP −1
T
(MiN PN ) ⊗ (BiN K) + vec(X̂N ) =
" i=0 #
N −1 N −1
P P T
(MiN MjN PN ) ⊗ (LiN CjN )
i=0 j=0 (32)
N −1
P T
(MiN PN ) ⊗ (BiN N ) vec(Yc,N )+
" i=0 #
NP−1 NP
−1
T
(MiN MjN PN ) ⊗ (LiN CjN ) vec(XN )
i=0 j=0
N −1
(MiN PN )T ⊗ (BiN N ) vec(Yc,N )−
P
i=0
NP
−1
T
(MiN PN ) ⊗ (BiN K) ×
i=0 N −1 −1
P T
In×N − (MiN PN ) ⊗AiN +
(34)
i=0
N −1 ×
P T
(M iN PN ) ⊗ (BiN K) +
i=0
" #
NP −1 NP
−1
T
(MiN MjN PN ) ⊗ (LiN CjN )
i=0 j=0
N −1
P T
(MiN PN ) ⊗ (BiN N ) vec(Yc,N )
" i=0 #
NP
−1 NP −1
T
(MiN MjN PN ) ⊗ (LiN CjN ) vec(XN )
i=0 j=0
Let us write:
NP
−1
T
(MiN PN ) ⊗ (BiN K) ×
i=0 N −1 −1
P T
In×N − (MiN PN ) ⊗AiN +
i=0
W = NP
−1
T
(MiN PN ) ⊗ (BiN K) +
" i=0 #
N −1 N −1
P P (M M P )T ⊗ (L C )
iN jN N iN jN
i=0 j=0
N −1
P T
In×N − (MiN PN ) ⊗AiN +
" i=0 # vec(X ) =
NP
−1 NP
−1 N
T
W (MiN MjN PN ) ⊗ (LiN CjN )
i=0 j=0
(35)
N −1
P T
i=0 (M P
iN N ) ⊗ (BiN N ) −
NP−1
vec(Yc,N )
T
W (MiN PN ) ⊗ (BiN N )
i=0
The condition to have a similar behavior between the controlled system and
the reference model (12) can be mathematically written:
N
X −1
CiN ϕi (t)XN φN (t) = GZN φN (t) (36)
i=0
The application of the Kronecker produt and the property (21) gives the
relation:
"N −1 #
X
T
MiN ⊗ CiN vec(XN ) = (IN ⊗ G) vec(ZN ) (37)
i=0
−1 T
vec(ZN ) = Ip×N − (PNT ⊗ E)
(PN ⊗ F )vec(Yc,N ) (38)
vec(Yc,N )
4 Simulation examples
Consider a linear time variant system defined by the equations (9) with:
0 1 0 0 0
0 0 1 0 0
A(t) = , B(t) = , C(t) = 1 0 0 0
0 0 0 1 0
α1 α2 α3 α4 β1
with:
1
α1 = −1 + exp(−t), α2 = −2 + 8t+1
α3 = −3 − 0.7 cos(−0.01t), α4 = −2 + 0.5 cos(t)
β1 = 1 + 0.15 cos(1.2t − 0.5)
The presented technique is applied for the synthesis of a state observer using
shifted Legendre truncated with the order N = 10 as a basis of orthogonal
functions.
With the reference model of the observation error characterized by the matrix:
−20 0 0 0
0 −42 0 0
M = 0
0 −55 0
0 0 0 −60
The considered reference model of the controlled system is a second order system
(12) characterized by the following parameter matrices:
−1.17 −0.27 0.5
E= ,F = , G = 0 0.53
2 0 0
Step responses of states of system considered and the those of observer
5
Amplitude
x1
0
x1observed
−5
0 1 2 3 4 5
4
Amplitude
2 x2
0
−2 x observed
2
−4
0 1 2 3 4 5
4
Amplitude
2 x3
0
−2 x observed
3
−4
0 1 2 3 4 5
2
Amplitude
x4
0
x4observed
−2
0 1 2 3 4 5
Time(sec)
Fig. 1. Step responses of the considered system state and the observer
Step Response
1.8
original system
reference model
1.6
system with state feedbook observed
1.4
1.2
Amplitude
0.8
0.6
0.4
0.2
0
0 5 10 15
Time (sec)
Fig. 2. Step responses of the original system, the reference model and the original
system in closed loop
The proposed technique yields the following control law gains :
K = 100 275.8 263.5 90.6 , N = 100
The figure 2 shows the step responses of the original system, the reference
model and the system provided with the obtained control law. It appears clearly
on this figure that the proposed control law derived using the developed approach
follows perfectly the desired reference model, which proves the high availability
of the presented control technique.
5 Conclusion
In this paper, a new approach was introduced for the synthesis of an observer
based state feedback for linear time variant systems using orthogonal functions
as an approximation tool. The use of the operational matrix of integration and
operational matrix of product has allowed the transformation of differential equa-
tions into algebraic ones depending on gains of regulators. The shifted Legen-
dre polynomials have been particulary used in this work but the method stills
effective with other basis such as : Walsh and Block-pulse functions or Cheby-
chev,Laguerre, Hermite polynomials.
References