examples and modeling of switched and impulsive systems

19
1. Examples and Modelling of Switched and Impulsive Systems When you begin to read this book, you may ask: “what is a switched and impulsive system?” This is a question that may be best answered through several illustrative examples. Thus, in this chapter, we shall present a number of examples of switched and impulsive systems, starting from very simple ones to more complex but important classes of practical switched and impulsive systems. 1.1 Simple Examples of Switched and Impulsive Systems Example 1.1.1. A Switched Server System with Arrival Rate Less than Service Rate Consider a system consisting of three buffers and one server. The server removes work from any selected buffer at unit rate, and the work arrives at buffer i(i =1, 2, 3) at a constant rate of p i ( 3 3 i=1 p i < 1). The above is a simple example of switched system. To illustrate the es- sence of switched and impulsive systems much more clearly, a switching law for the server can be further defined as follows: Cyclic fixed time scheduling method: After the server removes the work from the selected buffer for a specified period, it switches to the subsequent selected buffer with a positive reset time. The switching of the server forms a cycle and it repeats itself within the cycle. On one hand, if you study the system behavior at a low level, you will find that the whole system is composed of four continuous variable systems (CVSs) given as follows: CVS 1: ˙ X1(t)= p1 1 ˙ X2(t)= p2 ˙ X3(t)= p3 , Z. Li, Y. Soh, and C. Wen: Switched and Impulsive Systems, LNCIS 313, pp. 1–19, 2005. © Springer-Verlag Berlin Heidelberg 2005

Upload: morometed

Post on 12-Apr-2015

4 views

Category:

Documents


2 download

DESCRIPTION

1234

TRANSCRIPT

Page 1: Examples and Modeling of Switched and Impulsive Systems

1. Examples and Modelling of Switchedand Impulsive Systems

When you begin to read this book, you may ask: “what is a switched andimpulsive system?” This is a question that may be best answered throughseveral illustrative examples. Thus, in this chapter, we shall present a numberof examples of switched and impulsive systems, starting from very simple onesto more complex but important classes of practical switched and impulsivesystems.

1.1 Simple Examples of Switchedand Impulsive Systems

Example 1.1.1. A Switched Server System with Arrival Rate Lessthan Service Rate

Consider a system consisting of three buffers and one server. The serverremoves work from any selected buffer at unit rate, and the work arrives atbuffer i(i = 1, 2, 3) at a constant rate of pi (

3i=1 pi < 1).

The above is a simple example of switched system. To illustrate the es-sence of switched and impulsive systems much more clearly, a switching lawfor the server can be further defined as follows:

Cyclic fixed time scheduling method: After the server removes the workfrom the selected buffer for a specified period, it switches to the subsequentselected buffer with a positive reset time. The switching of the server forms acycle and it repeats itself within the cycle.

On one hand, if you study the system behavior at a low level, you willfind that the whole system is composed of four continuous variable systems(CVSs) given as follows:

CVS 1:

X1(t) = p1 − 1X2(t) = p2

X3(t) = p3

,

Z. Li, Y. Soh, and C. Wen: Switched and Impulsive Systems, LNCIS 313, pp. 1–19, 2005.© Springer-Verlag Berlin Heidelberg 2005

Page 2: Examples and Modeling of Switched and Impulsive Systems

2 1. Examples and Modelling of Switched and Impulsive Systems

CVS 2:

X1(t) = p1

X2(t) = p2 − 1X3(t) = p3

,

CVS 3:

X1(t) = p1

X2(t) = p2

X3(t) = p3 − 1,

CVS 4:

X1(t) = p1

X2(t) = p2

X3(t) = p3

,

where CVS i(i = 1, 2, 3) corresponds to the process that the server removeswork from buffer i, and CVS 4 corresponds to the process that the serverswitches from one buffer to another one, and where Xi(t)(i = 1, 2, 3) is thework in buffer i at time t.

On the other hand, if you study the system’s behavior at a higher level,you will find that the logical relationship among these four CVSs can bedescribed by a discrete event system (DES), which is illustrated in Fig. 1.1.

CVS 1

CVS 4

CVS 2

CVS 4

CVS 3

CVS 4

Fig. 1.1. The switchings of a switched server system

Example 1.1.2. A DVD Burning System via a Universal Serial Bus(USB).

Consider the problem of estimating the remaining time of a DVD burningsystem via a USB. Suppose that the size of a directory to be copied is X1,0and the initial speed of the USB is estimated as X2,0. The estimation of thespeed is updated every T seconds. The estimation of the remaining time,X3(t), is modelled as the following impulsive system:

Page 3: Examples and Modeling of Switched and Impulsive Systems

1.1 Simple Examples of Switched and Impulsive Systems 3

X3(t) = −1 ; (k − 1)T ≤ t < kT, (1.1)

X3(kT ) =X1(kT )X2(kT )

, (1.2)

where X1(kT ) is the size of the remaining data to be copied, X(0) = X1,0,X2(kT ) is the estimation of the speed at time kT , and X2(0) = X2,0.

Let X4((k−1)T ) be the total number of data that has been copied withinthe interval [(k − 1)T, kT ). X1(kT ) and X2(kT ) are updated by

X1(kT ) = X1((k − 1)T ) −X4((k − 1)T ), (1.3)

X2(kT ) = µX2((k − 1)T ) + (1 − µ)X4((k − 1)T )

T; 0 ≤ µ < 1. (1.4)

This is an example of impulsive system. Let kT+ = limξ→0+(kT + ξ) andkT− = limξ→0+(kT − ξ). The impulsive behavior of the above system is

X3(kT+) = X3(kT−) +X1(kT )X2(kT )

− X1((k − 1)T )X2((k − 1)T )

+ T. (1.5)

Example 1.1.3. A Router with Multiple Buffers in the Internet

Consider an Internet where each router is connected to an adjacent routerby two links: an outgoing link and an incoming link. The only outgoing linkhas a first-in-first-out (FIFO) buffer associated with each priority. This isillustrated in Fig. 1.2.

queue 1

. . . . . .

queue n

queue n-1

queue 2

Forwardingengine

outputinput

PacketDropper

CongestionDetector

detect

Drop signal

buffer

Fig. 1.2. A router with multiple FIFO buffers

Page 4: Examples and Modeling of Switched and Impulsive Systems

4 1. Examples and Modelling of Switched and Impulsive Systems

Let n denote the total number of all priorities of traffic sources, and Xi(t)the number of packets occupied in the ith priority buffer at time t. From thefluid-flow traffic model, we have the following n CVSs:

X1(t) = f1(t)...

Xi(t) = fi(t) − ui(t); Xi(t) > 0max0, fi(t) − ui(t); Xi(t) = 0 ; i = 1, 2, · · · , n

...Xn(t) = fn(t)

, (1.6)

where fi(t) and ui(t) are the arrival rate and the service rate of the ithpriority buffer at time t, respectively.

The switching law of these CVSs is given by

1. The router starts with buffer 1.

2. The router switches from buffer i to buffer (i+1) at the kth times whenbuffer i is served for a specified time interval at the kth times for i =1, 2, · · · , n− 1.

3. The router switches back to buffer 1 at the (k + 1) times when buffer nis served for a specified time interval at the kth times.

The above example is also a switched system, just like the switched serversystem. However, in this case, the arrival rate is unknown.

Suppose that an outgoing link has a transmission capacity of C (bits/s).Each outgoing link has a scheduler that monitors periodically the buffer occu-pancy level and computes the service rate of each priority buffer. Assume thatthe period is T seconds. The continuous time model (1.6) can be convertedinto the following discrete time model:

X1(k + 1) = minX1(k) + f1(k), Bs...Xi(k + 1) = minmax0, Xi(k) + fi(k) − ui(k), Bs ; i = 1, 2, · · · , n...Xn(k + 1) = minXn(k) + fn(k), Bs

, (1.7)

where Bs is the buffer size, Xi(k) is the queuing length at time kT , fi(k) andui(k) are the sizes of packets with priority i which arrive at and departurefrom the router in the time interval ((k − 1)T, kT ], respectively.

Page 5: Examples and Modeling of Switched and Impulsive Systems

1.2 Mathematical Modelling of Switched and Impulsive Systems 5

1.2 Mathematical Modelling of Switchedand Impulsive Systems

The process of mathematical modelling, from the physical phenomena to amodel with mathematical descriptions, is essential in science and enginee-ring. The dynamics of switched and impulsive systems can be understood bystudying their mathematical descriptions. Mathematical relations typicallyinvolve the use of differential or difference equations to describe the behaviorof each CVS, and finite automata or Petri nets to model the relationshipamong all CVSs. In this section, we shall provide a model to represent boththe discrete and continuous properties of switched and impulsive systems.

As illustrated by earlier examples, a switched and impulsive system iscomposed of a finite number of CVSs:

X(t) = f(X(t),m(t)) (1.8)

where X(t) ∈ Rr is the continuous valued component, m(t) ∈ M =1, · · · , n is the discrete valued component which is left continuous witheach value of m(t), i, corresponding to a f(·, i) and f : Rr × M → Rr arecontinuously differentiable vector fields.

When the trajectory of system (1.8) meets the hypersurface

Sm(t−i ),m(t+i ) = (X(t−i ), t−i )|φ(X(t−i ),m(t−i ),m(t+i ), t−i ) = 0, (1.9)

impulsive “switchings” will happen as follows:

X(t+i ) = h(X(t−i ),m(t−i ),m(t+i ))m(t+i ) ∈ NM(m(t−i )) = ψ(m(t−i ))

, (1.10)

where NM(m(t−i )) ⊆ M , φ : Rr × M × M ×R → R, h : Rr × M × M → Rr

and ψ : M → 2M where 2M is the set of all possible subsets of M , ψ standsfor a finite state machine [17].

Since our switched and impulsive system has a finite collection of n CVSs,i.e. m(t) ∈ 1, 2, · · · , n, we denote CVS i as mode i of the system. Thenfor CVS i, all the corresponding functions can be written as f(X(t), i),h(X(t), i, j), ψ(i) etc.

The state of switched and impulsive systems is a 2–tuple of the formS(t) = (m(t), X(t)), where m(t) is the discrete valued component and X(t)is the continuous valued component.

Equations (1.9) and (1.10) describe the logical relationship along all CVSs,i.e. the discrete property of a switched and impulsive system. Special switchedand impulsive systems are defined as below.

Page 6: Examples and Modeling of Switched and Impulsive Systems

6 1. Examples and Modelling of Switched and Impulsive Systems

Definition 1.2.1. A switched and impulsive system is said to be

• eventual quasi–periodic if there exist a pair of integers Nh ≤ n and Nm,such that for any path S(t0), S(t+1 ), S(t

+2 ), · · · , S(t+k ),· · · , we have

m(t+k+Nh) = m(t+k ) ; k ≥ Nm. (1.11)

• eventual periodic if (1.11) holds and

X(t+k+Nh) = X(t+k ) ; k ≥ Nm. (1.12)

tk+Nh− tk is an eventual period of the switched system.

• an impulsive system if the number of CVSs is 1, i.e. n = 1, and

h(X(t−i ), 1, 1) = X(t−i ). (1.13)

• a switched system if

h(X(t−i ),m(t−i ),m(t+i )) = X(t−i ). (1.14)

holds for any pair of m(t−i ) and m(t+i ), and the number of CVSs is greaterthan 1, i.e. n > 1.

• linear if both f and h are linear functions, i.e.

f(X(t),m(t)) = A(m(t))X(t) + b(m(t)),

h(X(t−i ),m(t−i ),m(t+i )) = D(m(t−i ),m(t+i ))X(t−i ) + e(m(t−i ),m(t+i )).

• nonlinear if either f or h is nonlinear.

Definition 1.2.2. The logical switchings of the system with n > 1 is said tobe

• arbitrary if NM(m(t−i )) = M holds for all m(t−i ) ∈ M .

• governed by a finite state machine [17] if m(t+i ) ∈ ψ(m(t−i )) also representsa finite state machine (M,E), where E ⊆ M ×Σ × M and Σ is the eventset. It is assumed that there are no two edges going out from the same stateassociated with the same event, i.e. for the pair of edges in E

[(i, e1, j), (i, e2, l) ∈ E and e1 = e2] implies j = l. (1.15)

• required to be defined if ψ cannot be given a priori.

We now provide two practical examples which can be modelled as switchedand impulsive systems.

Page 7: Examples and Modeling of Switched and Impulsive Systems

1.2 Mathematical Modelling of Switched and Impulsive Systems 7

Example 1.2.1. [94] A Switched Server System with Arrival RateEqual to Service Rate

Consider a system consisting of three buffers and one server. The workarrives at each buffer at a constant rate of 1/3 the unit rate and the bufferremoves work from any selected buffer at a unit rate. This is illustrated inFig. 1.3.

1/3 1/3 1/3

1

Fig. 1.3. A switched server system

Let Xi(t)(i = 1, 2, 3) denote the amount of work in buffer i at time t.Then, we can obtain three CVSs

CVS 1:

X1(t) = −2

3X2(t) = 1

3X3(t) = 1

3

,

CVS 2:

X1(t) = 1

3X2(t) = −2

3X3(t) = 1

3

,

CVS 3:

X1(t) = 1

3X2(t) = 1

3X3(t) = −2

3

.

The switchings of these three CVSs are defined as

1. The server starts with the first buffer.

2. If the server is in buffer j at time t, then the server remains there untilthe buffer is emptied.

Page 8: Examples and Modeling of Switched and Impulsive Systems

8 1. Examples and Modelling of Switched and Impulsive Systems

3. When buffer j(j = 1, 2) is empty, the server instantaneously switches tobuffer j + 1. If buffer 3 is empty, the server then switches back instanta-neously to buffer 1. The process is repeated.

The switching condition sets and reset maps are

• S12 = X(t)|X1(t) = 0; S23 = X(t)|X2(t) = 0; S31 = X(t)|X3(t) = 0,• h(X, 1, 2) = h(X, 2, 3) = h(X, 3, 1) = X,

• ψ(1) = 2 ; ψ(2) = 3 ; ψ(3) = 1.

The switched server system given in this example is eventual periodic.

The sum of all pi is less than 1 in Example 1.1.1 while it is equal to 1 inthis example.

Example 1.2.2. Chua’s Circuit

Chua’s circuit is a simple electronic circuit exhibiting a wide variety ofbifurcation and chaotic phenomena. Because of its simplicity and universa-lity, Chua’s circuit has attracted much interest and has been studied via nu-merical, mathematical and experimental approaches. It is universal becauseChua’s circuit has been proven mathematically to be chaotic in the sense ofShil’nikov’s theorem [176]. It is simple because it contains only one simplenonlinear element and four linear elements [35, 37]. The dimensionless formof a Chua’s circuit is

x(t) = α(y(t) − x(t) − f(x(t)))˙y(t) = x(t) − y(t) + z(t)

z(t) = −βy(t) − γz(t), (1.16)

where (x(t), y(t), z(t)) is the state of Chua’s circuit, f(x(t)) is the piecewise–linear characteristics of the Chua’s diode and is given as

f(x(t)) = ϑ1x(t) +12

(ϑ2 − ϑ1)(|x(t) + 1| − |x(t) − 1|). (1.17)

In (1.17), ϑ1 and ϑ2 are two constants and ϑ2 < ϑ1 < 0.

The Chua’s circuit is a linear switched system that is composed of threeCVSs:

CVS 1: A(1) =

−(1 + ϑ1)α α 01 −1 10 −β −γ

, b(1) =

(ϑ1 − ϑ2)α00

,

CVS 2: A(2) =

−(1 + ϑ2)α α 01 −1 10 −β −γ

, b(2) =

000

,

CVS 3: A(3) =

−(1 + ϑ1)α α 01 −1 10 −β −γ

, b(3) =

(ϑ2 − ϑ1)α00

.

Page 9: Examples and Modeling of Switched and Impulsive Systems

1.3 Control of Switched and Impulsive Systems 9

CVS 1 CVS 2

CVS 3

1>x>=-1

x>=1

x<-1

1>x>=-1

Fig. 1.4. The switchings of Chua’s circuit

The switchings among them are illustrated in Fig. 1.4. The switching condi-tion sets and reset maps are

• S12 = x(t)|x(t) ≥ 1; S21 = x(t)|1 > x(t) ≥ −1; S23 = x(t)|x(t) < −1;S32 = x(t)|1 > x(t) ≥ −1,

• h(X, 1, 2) = h(X, 2, 1) = h(X, 2, 3) = h(X, 3, 2) = X,

• ψ(1) = 2 ; ψ(2) = 1, 3 ; ψ(3) = 2.

1.3 Control of Switched and Impulsive Systems

Essentially, a switched or an impulsive system is a collection of a finite num-ber of CVSs along with maps that govern the impulsive “switching” amongthe CVSs [19]. The impulsive switchings occur whenever the states or theduration times of some CVSs satisfy certain conditions, respectively given bytheir memberships in the corresponding specified subsets of the state space.The impulsive switchings perform a reset to the active CVSs and change thecontinuous states of the CVSs. The switching relationships among all theCVSs can be represented by a discrete event system (DES). Hence, a swit-ched or an impulsive system can be considered as a combination of a finitenumber of CVSs and a DES.

Generally, there are two cases in which a switched or an impulsive systemcan arise.

Case 1. The open-loop system is a switched or an impulsive system.Some typical examples include a caster mill [95], a switched server system

Page 10: Examples and Modeling of Switched and Impulsive Systems

10 1. Examples and Modelling of Switched and Impulsive Systems

[94, 101], a switched flow network [122], a mobile robot of Hilare type[215] an so on.

The switchings of such switched and impulsive systems can be classifiedas follows:

Type 1. The switchings are arbitrary and there exists a positive dwelltime for each CVS. A mobile robot of Hilare type is a typical example.

Type 2. The switchings are governed by a DES, such as a Petri net,a finite state machine or an automata, and there also exists a positivedwell time for each CVS. A caster mill is a classic example.

Type 3. The switchings are required to be defined and there does notexist any positive dwell time for such a switched or an impulsive system.In other words, the switchings can be arbitrarily fast. The switched serversystem is of this kind.

Case 2. The closed-loop system is a switched or an impulsive system.This class of switched and impulsive systems is generated when a groupof continuous and/or impulsive controllers are designed to control a con-tinuous process. At any time, an active continuous and/or impulsive con-troller, considered as a sub-controller, is selected based on certain per-formance indices to control the process. Such a group of sub-controllers,together with the corresponding switching law, forms a switched and/orimpulsive controller. The switched and/or impulsive controller and theoriginal continuous process form a switched and/or impulsive system.

Now impulsive control, switched control, and switched and impulsive con-trol are formally defined respectively as follows:

Definition 1.3.1. [206] Consider a plant P whose state variable is denotedby X ∈ Rr, a set of control instants T = tk, tk ∈ R+, tk > tk−1, k =1, 2, · · · , and impulsive control laws U(tk, X) ∈ Rr, k = 1, 2, · · · . An impulsivecontrol is defined as one in which at each tk, X(t) is changed impulsively,i.e. X(t+k ) = X(t−k ) + U(tk, X), such that the system is stable and certainspecifications are achieved.

Definition 1.3.2. [104] Consider a plant P whose state variable is denotedby X ∈ Rr. Suppose that we have a collection of state feedback controllers:

U(t) = Km(t)(X(t)) ; m(t) ∈ 1, 2, · · · , n, (1.18)

where Ki(i = 1, 2, · · · , n) : Rr → Rp are given continuous functions.

The controllers in (1.18) are called sub-controllers. A switched control isthe law for switching one sub-controller to another one and is defined as

m(t) = I(X(t)), (1.19)

where I : Rr → 1, 2, · · · , n.

Page 11: Examples and Modeling of Switched and Impulsive Systems

1.4 Practical Examples 11

Clearly, there is also a time sequence tk for a switched control where thesub-controller is switched from one to another at each tk.

Definition 1.3.3. Consider a plant P whose state variable is denoted byX ∈ Rr, a set of control instants T = tk, tk ∈ R+, tk > tk−1, k = 1, 2, · · · ,impulsive control laws U(tk, X) ∈ Rr, k = 1, 2, · · · , and a collection of statefeedback controllers (1.18). A switched and impulsive control is defined asone in which at each tk, X(t) is changed impulsively, i.e. X(t+k ) = X(t−k ) +U(tk, X), and the law for the switchings of sub-controllers is defined by (1.19).

There are two main reasons to choose switched and/or impulsive con-trol rather than continuous control. The first reason is that switched and/orimpulsive control can be used to obtain better performance. For example,switched control have been used to achieve stability and to improve transi-ent response of control systems in [138, 134, 84, 61, 140]. Another exampleis that the impulsive control can be used to improve the bandwidth utiliza-tion in the chaos-based secure communication, which have been updated tofourth generation where discontinuous or impulsive synchronization is em-ployed [205, 109]. The continuous chaotic synchronization is adopted in thefirst three generations. Bandwidth of 30kHz is needed for transmitting thesynchronization signals of a third-order chaotic transmitter in the first threegenerations of chaos-based cryptosystems, while less than bandwidth of 94Hz is required in the fourth generation. Therefore, the efficiency of bandwidthusage is greatly improved by the impulsive controller. Indeed, switched andimpulsive control has been employed in [109] for the synchronization of twoidentical chaotic systems. With the technique, the time necessary to syn-chronize two chaotic systems is minimized while the bound of the impulsiveinterval is maximized. Furthermore, a switched sampling of the chaotic sig-nals can be employed to improve randomness of the generated key sequence.This greatly improve the security of chaos-based communications.

The second reason is that certain given objectives can be achieved onlywith the application of switched and/or impulsive control. An example is thefeedback stabilization of underactuated mechanical systems. The systems areused for reducing weight, cost, or energy consumption, while still maintainingan adequate degree of dexterity without reducing the reachable configurationspace. They also have the advantage of no or lesser damage when hitting anobject, and are tolerant to the failure of actuators [217].

In the next section, some examples are used to illustrate the above ideas.

1.4 Practical Examples

It is not difficult to find practical examples to motivate the study of switchedand impulsive systems. In this section, we provide many practical examplesfrom the fields of manufacturing systems, chaotic secure communication, vi-deo coding and computer networks.

Page 12: Examples and Modeling of Switched and Impulsive Systems

12 1. Examples and Modelling of Switched and Impulsive Systems

Example 1.4.1. Synchronization of Two Identical Lorenz Systems viaImpulsive Control

The Lorenz system was first introduced as an approximate model of theunpredictable behavior of weather [48]. It is expanded from a set of non-linear partial differential equations using Fourier transformations and thentruncated by retaining only three modes. The resulting equations, generallycalled Lorenz equations, consist of an autonomous nonlinear system of threeordinary differential equations. They are x(t) = −δx(t) + δy(t)

y(t) = ϑ3x(t) − y(t) − x(t)z(t)z(t) = x(t)y(t) − ϑ4z(t)

, (1.20)

where (x(t), y(t), z(t)) is the state of the Lorenz system, δ, ϑ3 and ϑ4 arepositive numbers and represent the parameters of the Lorenz system.

There are two nonlinear equations in the Lorenz equations, which arefunctions of two variables, xz and xy, respectively, and there are three con-trol parameters: δ, ϑ3 and ϑ4. The Lorenz system has been proposed foruse in chaotic secure communication systems and chaotic spread spectrumcommunications [42, 54].

Let XT (t) = (x(t), y(t), z(t)), then we can rewrite equation (1.20) as

X(t) = AX(t) + ψ(X(t)), (1.21)

where

A =

−δ δ 0ϑ3 −1 00 0 −ϑ4

, (1.22)

ψ(X) =

0−xzxy

. (1.23)

In an impulsive synchronization configuration, the driving system is givenby (1.20), whereas the driven system is

˙X(t) = AX(t) + ψ(X(t)), (1.24)

where X(t) = (x(t), y(t), z(t))T is the state variables of the driven systemand A and ψ are as defined in (1.22) and (1.23).

At discrete instants ti(i = 1, 2, · · · ), the state variables of the drivingsystem are transmitted to the driven system and the state variables of thedriven system are then subject to jumps at these instants. In this sense, thedriven system is modelled by the following impulsive equations:

Page 13: Examples and Modeling of Switched and Impulsive Systems

1.4 Practical Examples 13

˙X(t) = AX(t) + ψ(X(t)) ; t = tk∆X(t)|t=tk = −Be(tk) ; k = 1, 2, · · · , (1.25)

where B is a 3 × 3 symmetric matrix satisfying ρ(I + B) < 1, and eT (t) =(ex(t), ey(t), ez(t)) = (x(t)−x(t), y(t)−y(t), z(t)−z(t)) is the synchronizationerror.

Let

Ψ(X, X) = ψ(X) − ψ(X) =

0−(xz − xz)xy − xy

. (1.26)

The error system of the impulsive synchronization is

e(t) = Ae(t) + Ψ(X, X) ; t = tk∆e(t)|t=tk = Be(tk) ; k = 1, 2, · · · . (1.27)

Clearly, we have an impulsive system.

Example 1.4.2. Consider the population control problem, where the popula-tion of a country is the state vector X(t) and the policy of the country asthe control input U(t). Suppose that the whole set of X(t) is Ω and that Ωcan be divided into n subsets Ωi(i = 1, 2, · · · , n), then

U(t) = Ki(X(t)) when X(t) ∈ Ωi. (1.28)

This formula is quite reasonable. When a country is short of manpower, thecitizen will be encouraged to have more children. However, if the populationof a country is too large, then the people should be restricted to have fewerchildren.

Example 1.4.3. Consider the economic system of an underdeveloped country.Different economic laws should be applied in different situations given thatthe economic system of an underdeveloped country is not robust or strongenough to handle all possibilities.

For example, in the initial stage of development, the law can be “a cat,no matter white or black, is a good one if it can catch mice”. After severalyears, it will switch to “a cat, no matter white or black, is a good one if itcan catch mice for the whole country”. Another five or ten years later, it willswitch to “a cat, no matter white or black, is a good one if it can catch micefor the whole country legally”.

Example 1.4.4. Consider a scalable video coding system, with the given bitrate, resolution, and frame rate as the state vector X(t), the motion informa-tion and residual data to be coded as the control input U(t). Suppose that thewhole set of X(t) is Ω which can be divided into n subsets Ωi(i = 1, 2, · · · , n),then

Page 14: Examples and Modeling of Switched and Impulsive Systems

14 1. Examples and Modelling of Switched and Impulsive Systems

U(t) = Ki(X(t)) when X(t) ∈ Ωi, (1.29)

where the design of Ki will be discussed in Chapter 9.

Obviously, this is a switched scalable video coding system. Two majortasks should be completed to design the system.

Task 1Within the Ωi, the following two items should be determined foreach frame:

• The motion information to be coded;

• The residual image to be coded.

Task 2 The switching point from one group of motion information andresidual data to another group of motion information and residual data.

There may not exists any dwell time for such switched and impulsivesystems, that is, the switchings of the system can be arbitrary fast.

Example 1.4.5. A Crossroad Scheduling System

Consider a crossroad system illustrated in Fig. 1.5. A1, B1, C1 and D1are the Red–Amber–Green signals and A2, B2, C2 and D2 stand for Turn-Left/No-Left-Turn signals.

B

D

1

2

1 2

12

1

2A

C

Fig. 1.5. A crossroad scheduling system

Signals A1, B1, C1, D1, A2, B2, C2 and D2 are used to control the trafficin a crossroad. Four different groups of signals are1 A1–Green, B1–Red, C1–Green, D1–Red, B2–No-Left-Turn, D2–No-Left-Turn;2 A1–Amber, B1–Red, C1–Amber, D1–Red, B2–Turn-Left, D2–Turn-Left;3 A1–Red, B1–Green, C1–Red, D1–Green, A2–No-Left-Turn, C2–No-Left-Turn;4 A1–Red, B1–Amber, C1–Red, D1–Amber, A2–Turn-Left, C2–Turn-Left.

Page 15: Examples and Modeling of Switched and Impulsive Systems

1.4 Practical Examples 15

The holding time of a special group of signals is set according to the trafficloads along the special direction at the crossroad. This is a quasi-periodicswitched system.

Example 1.4.6. A Switched Flow Network

Consider a network with (n+1) nodes NG1, NG2, · · · , NGn, NGn+1 =∞ where ∞ represents the exterior of the network. The edge departingfrom NGi and arriving at NGj is denoted by (NGi, NGj). Subsequently,any edge of the form (∞, NGi) and (NGi,∞) (i = 1, 2, · · · , n) are regardedrespectively as coming from and going to the outside of the system.

Suppose that the network can be divided into M layers [122]. There isa server, which removes the work from a selected buffer at the unit rate.Moreover, the work arrives to the first layer continuously at a constant rateof less than one unit rate.

Both the switched server system and the switched flow network are switchedand impulsive systems where the switchings of the system are required to bedefined. At any time, there exists only one active CVS because there is onlyone server in the system.

Example 1.4.7. A Token Bus Protocol

A token bus protocol requires a control frame called an access token. Thistoken gives a station the exclusive use of the bus. The token-holding stationoccupies the bus for a period of time to send data. It then passes the token toa designated station called the successor station. In bus topology, all stationslisten to the channel and receive the access token, but the only station allowedto use the channel is the successor station. All other stations must wait fortheir turn to receive the token.

Example 1.4.8. Context Adaptive Variable Length Coding (CAVLC)[8]

The CAVLC is an efficient entropy coding approach to code the transformcoefficient levels of block-based motion compensated coding of video. Thereare seven VLC tables listed in Tables 1.1-1.7. VLC Tables 0 and 1 are primaryand secondary tables, respectively.

The switching law among the tables is

The selection of table 0 or 1 for the first coefficient level is determinedsolely by the local variables representing the total number of non-zero coef-ficients and the number of trailing ones in the sequence of coefficient levels.The table for subsequent coefficient levels is determined solely by the previouscoded coefficient level and an experimentally pre-determined table.

Page 16: Examples and Modeling of Switched and Impulsive Systems

16 1. Examples and Modelling of Switched and Impulsive Systems

Table 1.1. VLC Table 0

Code (bitstream bits) Coefficient Level1 101 -1· · · · · ·

00000000000001 -7000000000000001xxxs ±8 to ±15

0000000000000001 ±16 and others

Table 1.2. VLC Table 1

Code No Code (bitstream bits) Coefficient Level0-1 1s ±12-3 01s ±2· · · · · · · · ·

28-29 000000000000001s ±1530 and above 0000000000000001xxxxxxxxxxxs ±16 and others

Table 1.3. VLC Table 2

Code No Code (bitstream bits) Coefficient Level0-3 1xs ±1, ±24-7 01xs ±3, ±4· · · · · · · · ·

56-59 000000000000001xs ±29, ±3060 and above 0000000000000001xxxxxxxxxxxs ±31 and others

Table 1.4. VLC Table 3

Code No Code (bitstream bits) Coefficient Level0-7 1xxs ±1-±48-16 01xxs ±5-±8· · · · · · · · ·

112-119 000000000000001xxs ±57-±60120 and above 0000000000000001xxxxxxxxxxxs ±61 and others

Table 1.5. VLC Table 4

Code No Code (bitstream bits) Coefficient Level0-15 1xxxs ±1-±816-31 01xxxs ±9-±16· · · · · · · · ·

224-239 000000000000001xxxs ±113-±120240 and above 0000000000000001xxxxxxxxxxxs ±121 and others

Table 1.6. VLC Table 5

Code No Code (bitstream bits) Coefficient Level0-31 1xxxxs ±1-±1632-63 01xxxxs ±17-±32· · · · · · · · ·

448-479 000000000000001xxxxs ±225-±240480 and above 0000000000000001xxxxxxxxxxxs ±241 and others

Page 17: Examples and Modeling of Switched and Impulsive Systems

1.4 Practical Examples 17

Table 1.7. VLC Table 6

Code No Code (bitstream bits) Coefficient Level0-63 1xxxxxs ±1-±32

64-127 01xxxxxs ±33-±64· · · · · · · · ·

896-959 000000000000001xxxxxs ±449-±480960 and above 0000000000000001xxxxxxxxxxxs ±481 and others

Example 1.4.9. A Switched Rate Control Scheme [190]

Rate control strategy plays a critical role in video transmission becausethe communication channel often poses serious constraints on the availablebit rate. Not surprisingly, the quality of the encoded video depends heavilyon the rate control.

Assume that the discrete cosine transform (DCT) coefficients of the mo-tion compensated difference frame are approximately uncorrelated and La-placian distributed with variance σ2. Suppose thatX1 andX2 are the numberof available bits and the corresponding quantization parameter for the cur-rent frame, respectively. The relationship between them is given by one ofthe following three equations:

Model 1: X1 = eα1(σ

X2)β1 , (1.30)

Model 2: X1 = eα2(σ

X2)β2 , (1.31)

Model 3: X1 = eα3(σ

X2)β3 . (1.32)

With two predefined threshold values θlow and θhigh satisfying 1 < θlow <θhigh < 31, the switching law between them is given by

If 1 ≤ X2 ≤ θlow, Model 1 is then chosen; Otherwise if θlow ≤ X2 ≤ θhigh,Model 2 is then selected; Otherwise, Model 3 is used.

It was shown in [190] that a switched rate control scheme provides a moreaccurate estimation of bit rate than existing models.

Other motivating examples of switched and impulsive systems are compu-ter disk drives [53], stepper motors [23], constrained robotic systems [9], intel-ligent vehicle/highway systems [186] and a mobile robot of Hilare type [215].

Page 18: Examples and Modeling of Switched and Impulsive Systems

18 1. Examples and Modelling of Switched and Impulsive Systems

1.5 Preview of Chapters

There are totally ten chapters in this monograph. Among them, four chapters(6-9) are dedicated to the practical applications of switched and impulsivesystems and four chapters (2-5) to the new theoretical analysis of switchedand impulsive systems. Brief description of chapters 2-10 are given below.

Chapter 2 formulates the state space of switched and impulsive systemsand defines the stability of switched and impulsive systems with respect toan invariant set or an equilibrium. Less conservative stability conditions arederived in the sense that Lyapunov functions are only required to be non-increasing along a subsequence of the switchings and to be bounded by acontinuous function along each CVS. The concept of cycle is also introducedfor the stability analysis. With the conditions and the concept, it is possibleto introduce a new notion, called the redundancy of each cycle, to study thestability of switched and impulsive systems.

Chapter 3 analyzes the stability of linear switched and impulsive sy-stems. Three types of tools, namely Lyapunov functions, matrix norms andmatrix measures are provided to measure the redundancy of each cycle. Thecycle analysis method is applied to identify the non-increasing subsequenceand to construct the continuous functions to bound Lyapunov functions alongeach CVS. A decomposition method is proposed to study the stability of li-near switched and impulsive systems, which is totally composed of unstableCVSs. The results are also used to study the stabilization of bilinear systems.

Chapter 4 studies the stability of nonlinear switched and impulsive sy-stems. Three types of methods, namely Lyapunov functions, linear approxi-mation methods and generalized matrix measures, are presented to measurethe redundancy of each cycle. Compared with the existing results, the resultsobtained in chapters 3 and 4 are less conservative and easier to be checked.

Chapters 5 and 6 provide less conservative conditions for the synchro-nization of chaotic systems via impulsive control, switched and impulsivecontrol. The time necessary to synchronize two chaotic systems is minimizedwhile the bound of the impulsive interval after two systems are synchronizedis maximized. The transmission efficiency of the chaotic secure communica-tion systems is improved significantly because less bandwidth is needed totransmit the synchronization impulses. Meanwhile, a concept of magnifying-glass and a novel switched sampling scheme are introduced to improve thesecurity of the chaos cryptosystem. The proposed system can be applied totransmit text, speech, image files, and any digital binary data.

Chapter 7 provides a practical application of switched systems. A novelscheduling method, simple cyclic control policy [122] and its improved version,feedback cyclic control policy, are proposed to study the scheduling problemof a class of client/server systems. This chapter is emphasized on the casewhere the arrival rates are known in advance. Our method outperforms one

Page 19: Examples and Modeling of Switched and Impulsive Systems

1.5 Preview of Chapters 19

of the most popular methods, the deficit round robin (DRR) method, in thesense that neither admission control nor resource reservation is required byour method. The policies can be generalized to study the scheduling problemof any switched flow network with a single server.

Chapter 8 presents another interesting application of switched systems.Specifically, the feedback cyclic control policy is firstly extended to the casethat the arrival rates are not known in advance. It is then used to design anovel scheduling method, i.e. the dual feedback cyclic control policy to providethe relative differentiated quality of service in the current Internet. Eachrouter, together with the dual feedback cyclic control policy, is a switchedsystem. A source adaptation scheme and an adaptive media playout schemeare also presented for the relative differentiated quality of service using theswitched control. A very low cost solution is provided to transmit video overthe Internet by all of them. Many customers including students may choosethis cheaper solution.

Chapter 9 proposes a switched scalable video (SVC) coding scheme byusing the methodology on switched system. The states of an SVC systeminclude the given bit rate, resolution and frame rate. The control inputs arethe motion information and the residual data to be coded. This chapter fo-cuses on the trade-off between the motion information and the residual data,which is most crucial for an SVC scheme. The tradeoff is achieved by ratedistortion optimization (RDO) with the utilization of a Lagrangian multi-plier. The Lagrangian multiplier is adaptive to the customer compositionin our scheme. A novel coding scheme for the SVC, i.e. cross layer motionestimaiton/motion compensation (ME/MC) scheme, is also proposed withthe introduction of one new criterion to the SNR scalability and the spatialscalability, respectively, and a simple motion information truncation methodis presented. Meanwhile, the full motion information scalability is providedby defining a switching law for the motion information and residual data.The coding efficiency is improved significantly by using our scheme.

Chapter 10 highlights several more advanced applications and associatedfuture research directions.