You are on page 1of 6

2011 IEEE International Conference on SaA1.

3
Automation Science and Engineering
Trieste, Italy - August 24-27, 2011

Sliding Mode Observer for Switched Linear Systems


David Gómez–Gutiérrez, Sergej Čelikovský, Antonio Ramı́rez–Treviño,
Javier Ruiz-León and Stefano Di Gennaro

Abstract— This work is concerned with the design of an even if each LS is unobservable [1]. On the other hand, when
observer for Switched Linear Systems (SLS) subject to an the switching signal is unknown, the observability of each LS
unknown switching signal. The convergence of the proposed is not sufficient for the observability of the complete state.
SLS observer is proved, based on observability results for SLS,
for the following two cases. First, it is shown that if the discrete In this case, the observability of the continuous and of the
state of the SLS is observable, then the observer estimates discrete state have been shown to be independent [6].
the switching signal, even though the individual Linear System As far as the observer design is concerned, if the switching
(LS) may not be observable. And second, it is shown how the signal is known and the minimal dwell time is sufficiently
observer may provide an estimate of the continuous variables, large, the observer can be designed simply by assigning the
even though the discrete state is unknown.
Index Terms— Switched systems, observability, observer de- corresponding Luenberger observer for the active LS [8].
sign, sliding modes. Indeed, for arbitrary switchings, a sufficient condition is to
choose the gains of the observers such that there exists a
I. I NTRODUCTION common quadratic Lyapunov function for the error dynamics.
The observer gains can be selected by solving a set of linear
Hybrid dynamical Systems (HS) are formed by a collection
matrix inequalities [9].
of continuous models switching among them, according to a
When the switching signal is unknown, the observer for
discrete rule, frequently modeled by a discrete event system.
HS and SLS uses a location observer to select the proper con-
This class of models captures the continuous and discrete
tinuous observer. In [10], the location observer corresponds
interaction that appears in complex systems like biological
to the observer of the automaton that models the discrete
networks, fault tolerant systems and chemical processes. Fre-
evolution, which only takes the discrete measurements. When
quently, when properties on the continuous dynamics of the
this is not sufficient, a residual generator can be designed to
HS are investigated, a model with higher level of abstraction,
detect a change in the continuous dynamics. However, the
known as switched system, is considered by assuming an
distinguishability of the LS is not analyzed, and the analysis
exogenous and unpredicted switching signal, instead of a
of the residual generators has been made based on the input
known discrete event system. In Switched Linear Systems
and output matrices, and not on the system dynamics.
(SLS) the system dynamics are represented by a collection of
In [11], a class of SLS formed by two LS sharing the
Linear Systems (LS), together with an exogenous switching
same input matrix is considered. Since the evolving system
signal determining at each time instant the evolving LS.
is unknown, the error dynamics are indirectly affected by the
The need on the complete knowledge of the SLS state, for
input. Sufficient conditions for the global asymptotic stability
the control and stabilization, has motivated the study of the
of the estimate error, formulated in terms of linear matrix
observability and the observer design in SLS. Depending on
inequalities, have been derived for the case when the system
the knowledge of the switching signal, two problems arise
dynamics are continuous over the switching hyperplane.
in the reconstruction of the hybrid state: the estimate of the
In [12], a robust observer for switched autonomous non-
continuous state, when the discrete evolution is known or
linear systems has been presented, where each autonomous
observable (see e.g. [1], [2], [3], [4]), and the detection of
nonlinear system is locally observable and can be trans-
the evolving LS from the continuous measurements, when the
formed into an observable normal form. These forms differ
switching signal is unknown (see e.g. [5], [6], [7]). Necessary
only for the last dynamic equation, which is treated as
and sufficient conditions for the observability in both cases
a perturbation term, identifiable by the robust observer.
have been presented in the literature (see e.g. [1], [5] and [7]),
Based on this last dynamic equation, the robust observer
showing that if the switching signal is known, then the state
distinguishes the currently evolving nonlinear system, and
of the SLS can be estimated after a finite number of switches,
simultaneously estimates the continuous state.
This work was supported by project No. 107195, CONACYT, Mexico. In [13] the location observer takes only continuous mea-
D. Gómez–Gutiérrez, A. Ramı́rez-Treviño and J. Ruiz-León are with surements and identifies the evolving system from a set of
CINVESTAV, Unidad Guadalajara, Mexico, email: {dgomez, art, non autonomous LS, with possible different input matrix. The
jruiz}@gdl.cinvestav.mx.
S. Čelikovský is with the Czech Technical University in Prague and with observer is formed by a set of Luenberger observers with
the Institute of Information Theory and Automation Prague, Czech Republic, an associated robust differentiator, used to obtain the exact
email: celikovs@utia.cas.cz error signal which updates the estimate. Using the results on
S. Di Gennaro is with the Department of Electrical and Information
Engineering, and with the Center of Excellence DEWS, University of distinguishability for every state trajectory between LS, the
L’Aquila, Italy, email: stefano.digennaro@univaq.it. authors show the convergence of the observer. This, however,

978-1-4577-1732-1/11/$26.00 ©2011 IEEE 725


requires the observability of each individual LS. B. Switched linear systems
In this paper an observer design for SLS under unknown
A SLS Σσ(t) = hF, σi is a HS where F = {Σ1 , . . . , Σm }
switching signal is proposed, where the state is estimated
is a collection of LS and σ : [t0 , ∞) → {1, . . . , m} is
based only on the continuous measurements. Unknown
a switching signal determining, at each time instant, the
switching signals arise, for instance, in fault tolerant systems
evolving LS Σi ∈ F. The state equation of the SLS is
where the faults occur in an unknown and unpredictable
way. In addition, no discrete model or discrete sensors are ẋ(t) = Aσ(t) x(t) + Bσ(t) u(t), x(t0 ) = x0
often available, and the faulty states need to be identified (1)
from the continuous inputs and outputs. The SLS observer is y(t) = Cσ(t) x(t), σ(t0 ) = σ0 .
composed of a collection of finite time observers evolving
where σ(t) is assumed to be unknown and generated exoge-
in parallel, one for each LS of the SLS. These observers are
nously. Through this work we make the following assump-
designed to become a copy of its associated LS, whenever a
tions on (1).
suitable error signal is equal to zero. Since the observability
of the continuous and of the discrete states are independent A. 1: The state velocity of the SLS (1) is uniformly
concepts, the observer presented hereinafter is used to esti- bounded, i.e. ∀t |ẋl (t)| < δl for l = 1, . . . , n.
mate the SLS state in two cases. The first one is devoted to A. 2: Let tk−1 and tk be two consecutive switching times.
the estimation of the discrete state, and the second one deals Then tk − tk−1 > τd > 0. The time τd is known as the
with the estimation of the continuous state. minimum dwell time. A maximum dwell time, however, is
This work is organized as follows. In Section II the not considered. At the switching time tl the continuous state
notation and some preliminaries are presented. In Section III, on (1) is x(tl ) = x(t− l ).
a review of the observability of SLS is presented. These The notation, y i (x0 , u[τ1 ,τ2 ] ) stands for the output y(t)
results are used to show the convergence of the observer obtained when σ(t) = i, ∀t ∈ [τ1 , τ2 ] and the input u[τ1 ,τ2 ]
proposed in Section IV. Finally, in Section V conclusions (i.e. the restriction of the functions u(t) to [τ1 , τ2 ]) is applied
and some future work are presented. to the system with initial condition x0 ∈ X .

II. N OTATION AND PRELIMINARIES C. The Super Twisting Algorithm


A. Linear systems Let s(i) (x) be the i–th time derivative of the sliding mode
surface s(x), x ∈ X . The set Sr = {x : s(0) (x) = · · · =
A LS Σ(A, B, C) or simply Σ is represented by
s(r−1) (x) = 0} is said to contain an r–th order sliding
ẋ(t) = Ax(t) + Bu(t), y(t) = Cx(t) mode if there exists a vicinity P ⊆ X of Sr such that any
state trajectory (in Filippov’s sense) starting in P converge
where x ∈ X = Rn is the state vector, u ∈ U = Rp is to Sr in finite time [16]. One of the most frequently used
the control input, y ∈ Y = Rq the output signal and A, B, sliding mode algorithms is the Super Twisting (ST), which
C are constant matrices of appropriate dimensions. Through is a second order sliding mode algorithm described by
the paper B stands for Im B and K for ker C.
TheTsupremal A-invariant subspace contained in K is ẋ = − υ − α|x|1/2 sign(x) + %(t)
n  (2)
N = i=1 ker CAi−1 , where a subspace S ⊂ X is called υ̇ = −β sign(x)
A-invariant if AS ⊂ S. Moreover, N is known as the
unobservable subspace of Σ(A, B, C). where x is a scalar state variable, α, β ≥ 0 are gains to be
A subspace V ⊂ X is said to be (A, B)-invariant if there designed, υ is an auxiliary variable often used to estimate the
exists a state feedback u(t) = F x(t) such that (A+BF )V ⊂ unknown differentiable function which satisfies |%̇(t)| ≤ C
V or equivalently if AV ⊂ V + B. for all t ≥ 0 and the function sign(·) is defined as,
The class of (A, B)-invariant subspaces contained in a 
1 if x > 0
subspace L ⊂ X is denoted by =(A, B; L). It is well known

sign(x) = −1 if x < 0
that this class is closed under addition, hence, there exists
∈ [−1, 1] if x = 0

a supremal element denoted sup =(A, B; L). An algorithm
for computing sup =(A, B; L) is presented in [14]. Thus, if α and β satisfy
The following result will be used afterwards.
Lemma 1: [14] Any state trajectory x(t), t ∈ [t0 , τ ] of β > 5C and 32C < α2 < 8(β − C) (3)
Σ completely belongs to a subspace L ⊆ X if and only if
x(t0 ) ∈ L and ẋ(t) ∈ L almost everywhere1 in [t0 , τ ]. then (2) converges to x = ẋ = 0 in finite time [17].
Thus, after the finite time convergence τ1 , υ(t) = %(t). This
1 In Rn , a property is said to hold “almost everywhere” or “for almost property allows to design step by step observers with finite
every” if it only fails on a set of Lebesgue measure zero. In a function time convergence [18]. Details on the convergence analysis,
space, a property is said to hold “for almost every ” if the set of exceptions
is a Haar null set, also known as a “shy set” [15]. For instance, every proper the proper choice of the gains α, β of (2), and the maximum
subspace of the function space is a shy set [15]. convergence time can be found in [17] and [19].

726
III. O BSERVABILITY OF S WITCHED L INEAR S YSTEMS (Aij + Bij F )Wij ⊂ Wij , then according to Lemma 1 the
set of inputs v(t)
In this section we review some of the main results on
observability of SLS of [5], [6] and [7]. This review is {v(t) : ẋ(t) = (Aij + Bij F )x(t) + Bij v(t) ∈ Wij }. (6)
mainly taken from [20], where the observability problem is
for which Σi and Σj may becomes indistinguishable is is
addressed using a geometric approach.
such that for all t, Bij v(t) ∈ Bij ∩ Wij Bij . Clearly,
In the observability of SLS with unknown switching signal,
this implies that (6) is contained in a proper subspace of
the aim is to be able of determining, either the continuous
the function space V in which v(t) takes values, thus a shy
or the discrete states, from the continuous measurements. In
set with respect to V [15], which also implies that the set of
addition, if no maximum dwell time is set, these states need
inputs u(t) for which the LS may become indistinguishable is
to be recovered even if no switch occurs in the system.
a shy set. Then Σi and Σj can be distinguishable for almost
In order to present the conditions for the observability in every input. Thus, we can state the following proposition.
SLS let us introduce the following definitions. Proposition 3: If Bij * Wij then for almost every input
Definition 2: The LS Σi and Σj are said to be and for every nonzero time interval [τ1 , τ2 ], yi (t) 6= yj (t)
(u[τ1 ,τ2 ] , y[τ1 ,τ2 ] )-indistinguishable, if there exist x(t) and holds almost everywhere in [τ1 , τ2 ].
x0 (t) such that y i (x(τ1 ), u[τ1 ,τ2 ] ) = y j (x0 (τ1 ), u[τ1 ,τ2 ] ). Thus, if the LS are distinguishable for almost every input
Otherwise, Σi and Σj are said to be (u[τ1 ,τ2 ] , y[τ1 ,τ2 ] )- and yi (t̄) = yj (t̄) then yi (t̄+ ) 6= yj (t̄+ ).
distinguishable. The indistinguishability subspace, Wij ⊂ If the LS are observable and distinguishable, then the
Xij of Σi , Σj is defined as continuous state can also be estimated. However, if every

x0

∃u(t), τ > t0 such that
 [xT x0T ]T ∈ Wij is of the form x = x0 (i.e. Wij is
Wij = : . (4) symmetric), then the continuous state trajectory for which
x00 yi (x0 , u[t0 ,τ ] ) = yj (x00 , u[t0 ,τ ] )
the LS become indistinguishable is the same in both systems
and the continuous state can be estimated even though the
In [20], it has been shown that the indistinguishabil- LS are indistinguishable. From the previous discussion, the
ity subspace, Wij is equal to the supremal (Aij , Bij )- next theorem follows easily.
invariant subspace contained in Kij = ker Cij , denoted as Theorem 4: ([7], [6]) Let Σσ(t) = hF, σi be a SLS with
sup =(Aij , Bij ; Kij ), where maximum dwell time τ = ∞. Then

Ai 0
 
Bi

  1) The discrete states σ0 and σ(t) of Σσ(t) are observable
Aij = Bij = Cij = Ci −Cj . for almost every input iff ∀Σi , Σj ∈ F, Bij * Wij .
0 Aj Bj
(5) 2) The continuous states x0 and x(t) of Σσ(t) are ob-
This implies that the extended LS Σij (Aij , Bij , Cij ), gives servable for almost every input iff each LS Σi ∈ F is
zero output in the interval [τ1 , τ2 ] [7], where the state space observable and ∀Σi , Σj ∈ F i 6= j, either Bij * Wij
of the extended system Σij is Xij = Rn × Rn . We denote or Wij is symmetric.
by x0 and x(t), the initial state and the state trajectory of IV. O BSERVER D ESIGN
the extended LS, respectively.
The SLS observer Σ̂σ̂(t) is composed of a collection of
Clearly, the LS Σi and Σj are distinguishable for every
finite time observers evolving in parallel, one for each LS
nonzero state trajectory iff Wij = 0, this condition implies
of the SLS, as depicted in Fig. 1. The SLS observer is used
the observability of each LS. However, since the LS becomes
to estimate the SLS state in two cases. If the discrete state
indistinguishable for a particular set of inputs [7], [20], less
of the SLS is observable for almost every input, we show,
restrictive conditions, not requiring the observability of each
based on the distinguishability property and in the way that
LS, can be obtained by studying the observability for almost
the observers are designed, that only the observer associated
every input.
with the currently evolving system gives a suitable error
signal e(t), hereinafter defined, equal to zero in a non zero
A. Observability for almost every input
interval. In this case the individual observers are designed
Clearly, an input u[τ1 ,τ2 ] can be used to make the LS based only on the observable subsystem of its associated LS.
(u[τ1 ,τ2 ] , y[τ1 ,τ2 ] )-distinguishable iff u[τ1 ,τ2 ] steers every state Thus an estimate of the discrete state is obtained, even if the
trajectory of Σij outside the indistinguishability subspace. individual systems are not completely observable.
Then it follows from the LS theory that this holds iff Bij * On the contrary, if the continuous state of the SLS is ob-
Wij [20], because otherwise, for every x0 ∈ Wij and every servable for almost every input, then more than one observer
u(t), ẋ(t) ∈ Wij and according to Lemma 1, the state can give e(t) = 0. However, we show that according to
trajectory x(t) will completely belong to Wij regardless of the observability results, an estimate of the continuous state
the applied input u(t). of the SLS can be obtained from any observer with zero
Now, in order to show that if such an input exists then e(t). Thus, the continuous state can be estimated, even if
almost every input can be used to ensure the distinguisha- the evolving system cannot be determined.
bility between Σi and Σj , assume that Bij * Wij and The finite time observer for each LS is based on the ST
let x0 ∈ Wij and u(t) = F x(t) + v(t) with F such that algorithm, this observer is described in the following.

727
SLS y(t)
A Super Twisting (ST) observer Σ̃, which is based on
u(t)
Σσ(t) the nonlinear observer proposed in [18], is designed for
the subsystem Σ̄o (Āo , B̄o , C̄o ) by associating to each scalar
state variables in each block the following 2–dimensional
differential equation
e1 (t)
Super-twisting based x̃˙ j =υj+1 + αj |εj |1/2 sign(εj ) + B̄j u
Decision σ̂(t)
observer for the LS x̂1 (t) Process υ̇j+1 = −βj sign(εj )
Σ1
if
for j = jk + 1, . . . , jk + rk − 1
ek (t) = 0 ∀t ∈ [τ1 , τ2 ]
with τ2 = τ1 + ,  ≈ 0. and (9)
em (t) then: while ek (t) = 0 x̃˙ j =ak (x̃o ) + ξk + αj |εj |1/2 sign(εj ) + B̄j u
Super-twisting based σ̂(t) = k x̂(t)
observer for the LS x̂m (t) x̂(t) = x̂k (t) ξ˙k = −βj sign(εj )
Σm
for j = jk + rk
where εj = υj − x̃j with υjk +1 = x̄jk +1 = yk . Taking
e(t) = [εT (t) ξ T (t)]T SLS Observer
x̃ = [x̃To x̃Tō ]T with x̃ō = 0, an estimate of x(t) is given by
Fig. 1. Sliding mode observer for SLS
x̂(t) = T x̃(t).
1) Convergence Analysis: The convergence of each vari-
able is shown to be achieved step by step. Let us illustrate
A. The Super Twisting Observer for Linear Systems this convergence for the first block, i.e. k = 1 and j1 = 0.
Under Assumption A.1, the state velocity is uniformly
Consider the LS Σ with observability matrix O(C, A) and
bounded, now assuming a proper choice of αj and βj ,
rank(O(C, A)) = r. Then, Σ can be transformed into the
j = 1, . . . , r1 , given by (3), in the first step take the error
observable/unobservable form with the observable subsystem
e1 = x̄1 − x̃1 and notice that ε1 = υ1 − x̃1 = e1 since
expressed in a multivariable observability form.
υ1 = x̄1 , thus the dynamic of e1 is
The corresponding similarity transformation is constructed
as follows [21]. Let {c1 , . . . , cR } be the linearly independent ė1 = x̄2 − υ2 − α1 |e1 |1/2 sign(e1 )
(10)
rows of C and let {c1 , . . . , cR , . . . , c1 Ar1 −1 , . . . , cR ArR −1 } υ̇2 = −β1 sign(e1 )
be the first r linearly independent rows, taken from top which corresponds to the ST algorithm described in (2).
to bottom, in the observability matrix O(C, A). Then, the Thus, e1 = ė1 = 0 and υ2 = x̄2 for all t > τ1 with τ1 a finite
T
similarity transformation is T with T −1 = TzT TwT where

T time. In the second step, take the error e2 = x̄2 − x̃2 and
Tz = (c1 )T · · · (c1 Ar1 −1 )T · · · (cR )T · · · (cR ArR −1 )T

notice that, since υ2 = x̄2 for all t > τ1 , ε2 = υ2 − x̃2 = e2 .
and Tw is composed by linearly independent rows from each Thus in e2 the ST algorithm appears and e2 = ė2 = 0 and
other and from the rows of Tz [21]. The integers {r1 . . . , rR } υ3 = x̄3 for all t > τ2 .
are known as the observability indices of the system Σ. This Following this procedure, in the last step er1 = ėr1 = 0
transformation leads to the similar system Σ̄ after a finite time τr1 . Thus, x̄r1 = x̃r1 = υr1 for all t > τr1
     and ξ1 = a1 (e) with e = [e1 · · · er ]T and ej = 0 for j ≤
Ā o 0 x̄ o B̄ o
x̄˙ = + u r1 . Thus, x̄j = x̃j = υj for all t > τr1 and j ≤ r1 . Since this
Ā21 Āō x̄ō B̄ō
  (7) occurs in each subsystem then after a finite time τk = τr1 +
 x̄o
· · · + τrR the state x̄o is estimated from x̃o = [x̃1 . . . x̃r ]T

ȳ = C̄ o 0
x̄ō with r = rank(O(C̄, Ā)).
where x = T x̄ and the state vector x̄o = [x̄1 · · · x̄r ]T Clearly, after the time τk , e = [e1 · · · er ]T = 0 and
represents the observable variables. The subsystem ak (e) = 0. Thus, ξ = [ξ1 · · · ξR ]T = 0. Notice that, with
Σ̄o (Āo , B̄o , C̄o ) is observable and is formed by R e(t) = [εT (t) ξ T (t)]T = 0 the observer of the LS Σj
subsystems of the form [21] becomes a copy of Σj , which produces the same input-output
signal that the evolving system, because e = 0 implies that
x̄˙ jk +1 = x̄jk +2 + B̄jk +1 u υj = x̃j for all j ≤ r and all t > τk .
x̄˙ jk +2 = x̄jk +3 + B̄jk +2 u Notice that, since this is a robust observer, an exact
.. continuous estimation may be obtained even if this observer
. (8)
x̄˙ jk +rk −1 =
x̄jk +rk + B̄jk +rk −1 u is used to estimate the state variables of a different LS.
x̄˙ jk +rk =
ak (x̄o ) + B̄jk +rk u However, the signal ξk , which could compensate possible
yk = x̄jk +1 model mismatching between the observer and the currently
Pk−1 evolving system, is used as a measure of the extra effort
where k = 1, . . . , R, jk = n=0 rn , with r0 = 0, ak (x̄o ) produced by this observer to maintain zero error.
is a linear combination of the observable variables which Lemma 5: ([12]) Given any finite time τ > 0 and any
contains the influence in the k-th block, of the state variables finite bound in x0 , the gains of the ST observer can be chosen
of the other blocks. such that the convergence time τk satisfies τk  τ .

728
This lemma implies that given a minimum dwell time τd , on Wij implies that, if x(t) of Σi and x0 (t) of Σj are
the ST observer can be designed to converge before τd . the state trajectories making the LS indistinguishable, then
x(t) = x0 (t). Thus, the observer of both LS will give
B. The ST based observer for SLS
e(t) = 0 for all t ∈ [τk , τk + ], and any of these observers
Definition 6: Let Σσ(t) = hF, σi be a SLS with minimum provide an exact estimate of the continuous state, since
dwell time τd . An observer Σ̂σ̂(t) for Σσ(t) is designed as x(t) = Ti x̃(t) = Tj x̃0 (t).
depicted in the Fig. 1, where :
C. Detection of the switching times and state reinitialization
• A ST observer described in (9) is designed, with upper
of the observers
time convergence bound τk  τd , for each LS Σ ∈ F.
T T
• If for the observer Σ̃k , e(t) = [ε (t) ξ (t)] = 0 for
T So far, the behaviour of the observer before the first
all t ∈ [τk , τk + ] with  ≈ 0 then while e(t) = 0, switching time has been described. In this subsection we
σ̂(t) = k and x̂(t) = Tk x̃(t). show how each switching can be detected and how to
• If the switching time tl is detected, the variables of each completely estimate the switching signal.
observer Σ̃k are reinitialized as follows, if σ(t) = i in Let us assume that the LS Σi is evolving and that at time
[tl−1 , tl ) then for k = 1, . . . , m, x̃k (tl ) is reinitialized t1 a switching occurs from Σi to Σj . Then, the output of
as Tj−1 Ti x̃i (tl ), υlk as x̃kl for l = 1, . . . , r and ξlk as the evolving state trajectory is y i (x0 , u[t0 ,t1 ) ) for t ∈ [t0 , t1 )
zero for l = 1, . . . , R. and y j (x(t1 ), u[t1 ,t2 ) ) for t ∈ [t1 , t2 ).
Lemma 7: Let Σi and Σj be two LS. Then, Σi and Thus, the switching time t1 can be detected iff every
Σj are (u[τ1 ,τ2 ] , y[τ1 ,τ2 ] )-distinguishable iff Σi and Σ̄j,o are indistinguishable state trajectory switch at time t1 , i.e. the
(u[τ1 ,τ2 ] , y[τ1 ,τ2 ] )-distinguishable. switching time cannot be detected iff
Proof: The proof follows trivially. y i (x(t0 ), u[t0 ,t1 ) ) = y k (x0 (t0 ), u[t0 ,t1 ) )
Lemma 8: Let Σσ(t) be a SLS and Σ̂σ̂(t) its observer (11)
y j (x(t1 ), u[t1 ,t2 ) ) = y k (x0 (t1 ), u[t1 ,t2 ) )
and let σ(t) = i, ∀t ∈ [t0 , t1 ). Then, if Σi and Σj
are (u[τk ,t1 ) , y[τk ,t1 ) )-distinguishable then ej (t) 6= 0 almost holds for some x0 (t0 ) and Σk , k ∈ {1, . . . , m}. Notice
everywhere in [τk , t1 ). On the contrary, if Σi and Σj that, while the state trajectory on the left switches at t1 ,
are (u[τk ,t1 ) , y[τk ,t1 ) )-indistinguishable then ∀t ∈ [τk , t1 ), the state trajectory on the right remains on the LS Σk . Thus,
ej (t) = 0. if these two trajectories are indistinguishable the switching
Proof: Assume by contradiction that ej (t) = 0 for time cannot be detected. If in addition, the evolving system
all t ∈ [τk , t1 ) which implies that the ST observer of Σi was detected before t1 , then k = i and (11) reduces to
Σj becomes a copy of Σ̄j,o and its observable variables y j (x(t1 ), u[t1 ,t2 ) ) = y i (x0 (t1 ), u[t1 ,t2 ) ). (12)
x̃jo (t) are such that y i (t) − y j (t) = Ci x(t) − Cj,o x̃jo (t) =
0 for all t ∈ [τk , t1 ). Therefore, by Lemma 7 Σi and Notice that, if the discrete state of the SLS is observable
Σj are (u[τk ,t1 ) , y[τk ,t1 ) )-indistinguishable, which contradicts for almost every input, then Σi is detected before the first
the initial assumption. Thus, according to Proposition 3, switching time t1 and (12) does not hold because Σi and
ej (t) 6= 0 almost everywhere in [τk , t1 ). Σj are distinguishable. Thus, after the switching time, Σi
The second part of the theorem follows trivially. cannot produce the same input-output information than Σj ,
Thus, we establish the following results. and according to Lemma 8 and Proposition 3 after the
Proposition 9: Let Σσ(t) be a SLS and let Σ̂σ̂(t) . Then switching time the observer associated to Σi can no longer
if the discrete state of Σσ(t) is observable for almost every give e(t) = 0. Thus, the switching time t1 can be detected
input under Assumptions A.1 and A.2 only the observer of as established in the following lemma.
Σi will give e(t) = 0 for all t ∈ [τk , t1 ]. Furthermore only Lemma 11: Let Σσ(t) be a SLS and let Σ̂σ̂(t) . Then if
ei (t) can be zero in a nonzero interval, and the index of the the discrete state of Σσ(t) is observable for almost every
evolving system can be obtained by the only observer giving input under Assumptions A.1 and A.2 the switching time is
e(t) = 0 for all t ∈ [τk , τk + ], with  ≈ 0. detected as the time t > τd for which ei (t) is no longer zero.
Proof: The proof follows from Lemma 8 and Proposi- In fact ei (t) 6= 0 almost everywhere in [t1 , t2 ). In a similar
tion 3. way any subsequent switching time can be detected.
Proposition 10: Let Σσ(t) be a SLS and let Σ̂σ̂(t) be its If the continuous state of the SLS is observable for almost
observer. Then if the continuous state of Σσ(t) is observable every input, not all the switching times are necessarily de-
for almost every input, under Assumptions A.1 and A.2 an tected. Fortunately, even if (11) does not hold, by Theorem 4
exact estimate of the continuous state is provided by any the continuous state of the switching and the non switching
observer that gives e(t) = 0 for all t ∈ [τk , τk + ]. trajectory in (11) are the same. Thus, even if the switching
Proof: Since the continuous state of the SLS is observ- time is not detected, the continuous estimate is obtained.
able for almost every input, then according to Lemma 4 each Now, if (11) does not hold for all Σk ∈ F, then the switching
pair of different systems are either distinguishable or their time is detected, since all the observers with e(t) = 0 for all
indistinguishability subspace is symmetric. In the former, t ∈ [t0 , t1 ), will be e(t1 ) 6= 0.
according to Lemma 8 only the observer of Σi will give Notice that, in general, since the observers are constructed
e(t) = 0 for all t ∈ [τk , t1 ]. In the latter case, the symmetry based only on the observable subsystem of Σ̄k then after

729
the reinitialization x̃k (tl ) 6= x̄ko (tl ). Thus even though the the discrete evolution of the HS, in order to study how the
discrete state is observable, it takes a time, less than τk , estimate of the continuous observer can be used as additional
to give the estimate of the next discrete state. However, if sensors for the Petri net to obtain observability after a finite
the state variables of each observer Σ̄k , k = 1, . . . , m are number of switches.
reinitialized based only on the state variables of the previous R EFERENCES
LS Σi , then no convergence time is needed for the observer
[1] Z. Sun, S. S. Ge, and T. H. Lee, “Controllability and reachability
associated with the evolving LS Σj , because x̂ko (tl ) = xio (tl ). criteria for switched linear systems,” Automatica, vol. 38, no. 5, pp.
Thus, only ej will be zero for an interval [t1 , t1 + ], with 775–786, 2002.
 ≈ 0 and the active state after the switching is obtained at [2] A. Balluchi, L. Benvenuti, M. D. Di Benedetto, and A. L. Sangiovanni-
Vincentelli, “Observability for hybrid systems,” in Proceedings of the
time t+ 1 . These cases are presented in the following theorems. 42nd IEEE Conference on Decision and Control, 2003, pp. 1159–
Theorem 12: Let Σσ(t) be a SLS, Σ̂σ̂(t) its observer and 1164.
let Ni = Nj ∀Σi , Σj ∈ F where Nk is the unobservable [3] E. De Santis and M. D. Di Benedetto, “Design of Luenberger-like
observers for detectable switching systems,” in Proceedings of the
subspace of Σk . Then if the discrete state of Σσ(t) is 2005 IEEE International Symposium on Intelligent Control, 2005, pp.
observable for almost every input and if the state variables 30–35.
of each observer Σ̃k are reinitialized as in Definition 6, then [4] A. Tanwani, H. Shim, and D. Liberzon, “Observability implies
observer design for switched linear systems,” in Hybrid systems:
for almost every input σ̂(t) = σ(t) for all t > τk . computation and control. ACM, 2011, pp. 3–12.
Proof: According to Proposition 9 σ̂(t) = i ∀t ∈ [5] E. De Santis, M. D. Di Benedetto, and G. Pola, “On observability
[τk , t1 ) and from Lemma 11 each switching time is detected. and detectability of continuous-time linear switching systems,” in
Proceedings of the 42nd IEEE Conference on Decision and Control,
Now, let Tij = Tj−1 Ti be a non singular transformation such 2003, pp. 5777–5782.
that x̄j = Tij x̄i , it is easy to see that, since Ni = Nj [6] M. Babaali and G. J. Pappas, “Observability of switched linear systems
∀Σi , Σj ∈ F then Tij is of the form in continuous time,” in Hybrid Systems: Computation and Control, ser.
LNCS. Springer, 2005, pp. 103–117.
[7] D. Gómez-Gutiérrez, G. Ramı́rez-Prado, A. Ramı́rez-Treviño, and
   j    i 
∗ 0 x̃o ∗ 0 x̃o
Tij = and j = . J. Ruiz-León, “Observability of switched linear systems,” IEEE Trans-
∗ ∗ x̃ō ∗ ∗ x̃iō actions on Industrial Informatics, vol. 6, no. 2, pp. 127 – 135, 2010.
[8] W. Chen and S. Mehrdad, “Observer design for linear switched control
Thus, if σ(t) = i ∀t ∈ [tl−1 , tl ) and σ(t) = j ∀t ∈ [tl , tl+1 ) systems,” in Proceedings of the American Control Conference, 2004,
then, at the switching time tl , the observable state variables pp. 5796 – 5801.
[9] A. Alessandri and P. Coletta, “Switching observers for continuous-
of Σj are a linear combination only of the variables that time and discrete-time linear systems,” in Proceedings of the American
were estimated by the previous observer. Thus, if the state Control Conference, 2001, pp. 2516 –2521.
variables of each observer are reinitialized, as in Definition 6, [10] A. Balluchi, L. Benvenuti, M. D. D. Benedetto, and A. L. Sangiovanni-
vincentelli, “Design of observers for hybrid systems,” in In Hybrid
then x̃jo (tl ) = x̄o (tl ), with x̄o the observable states of the Systems: Computation and Control, volume 2289 of LNCS. Springer-
evolving system Σj and, only the observer associated with Verlag, 2002, pp. 76–89.
the evolving LS Σj will give ∀t ∈ [tl , tl+1 ), e = 0. Hence, [11] A. Lj. Juloski, W. P. M. H. Heemels, and S. Weiland, “Observer
design for a class of piecewise linear systems,” International Journal
σ̂(t) = σ(t) for all t > τk . of Robust and Nonlinear Control, vol. 17, no. 15, pp. 1099–1239,
Theorem 13: Let Σσ(t) be a SLS and let Σ̂σ̂(t) be its 2007.
observer. Then if the continuous state of Σσ(t) is observable [12] J. Barbot, H. Saadaoui, M. Djemaı̈, and N. Manamanni, “Nonlinear
observer for autonomous switching systems with jumps,” Nonlinear
for almost every input and if the state variables of each Analysis: Hybrid Systems, vol. 1, no. 4, pp. 537 – 547, 2007.
observer are reinitialized as in Definition 6, then for almost [13] F. Bejarano and L. Fridman, “Exact observer for switching linear
every input x̂(t) = x(t) for all t > τk with τk a finite time. systems via super-twisting algorithm,” in Analysis and Design of
Hybrid Systems, 2009.
Remark 14: In practice, where noise or a small model [14] G. Basile and G. Marro, Controlled and Conditioned Invariants in
mismatch is present, instead of detecting the evolving system Linear System Theory. Prentice Hall, 1992.
by the observer with e(t) = 0 a threshold ς may be [15] B. R. Hunt, T. Sauer, and J. A. Yorke, “Prevalence: a translation-
invariant “almost every” on infinite-dimensional spaces,” Bulletin of
considered by detecting the evolving system if ke(t)k < ς the American mathematical society, vol. 27, no. 2, pp. 217–238, 1992.
in a short interval. However, further investigation on the [16] L. Fridman, “Sliding mode enforcement after 1990: main results and
conditions on the noise and the model mismatching, and its some open problems,” in 11th IEEE Workshop on Variable Structure
Systems: Plenaries and Semiplenaries, 2010.
relation with ς is required and is considered as future work. [17] A. Polyakov and A. Poznyak, “Reaching time estimation for “super-
twisting” second order sliding mode controller via Lyapunov function
V. C ONCLUSIONS designing,” Automatic Control, IEEE Transactions on, vol. 54, no. 8,
In this paper, an observer design for SLS has been pre- pp. 1951 –1955, 2009.
[18] T. Floquet and J. P. Barbot, “Super twisting algorithm-based step-
sented. This observer is capable of estimating, in finite time by-step sliding mode observers for nonlinear systems with unknown
and for a class of SLS, the continuous state of the SLS even inputs,” International Journal of Systems Science, vol. 38, no. 10, pp.
if the discrete state is not observable and vice versa. The 803–815, 2007.
[19] A. Polyakov and A. Poznyak, “Lyapunov function design for finite-
behavior of the observer has been analyzed in the switching time convergence analysis: Twisting controller for second-order sliding
instants, showing how the switching times can be detected. mode realization,” Automatica, vol. 45, no. 2, pp. 444 – 448, 2009.
Two directions are considered for future work. The first [20] D. Gómez-Gutiérrez, A. Ramı́rez-Treviño, J. Ruiz-León, and S. Di
Gennaro, “Observability of switched linear systems: A geometric
one deals with the extension of the proposed observer for approach,” in Proceedings of the 49th IEEE Conference on Decision
SLS under partially unknown inputs. i.e. perturbed systems. and Control, 2010.
The second one considers to include a Petri net model for [21] T. Kailath, Linear Systems. Prentice-Hall, 1980.

730

You might also like