02.08.2013 Views

Model Predictive Control

Model Predictive Control

Model Predictive Control

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

286 14 <strong>Model</strong>s of Hybrid Systems<br />

is discontinuous across x = 0. It can be modeled as<br />

x(t + 1) =<br />

<br />

1<br />

2<br />

x(t) + 1 if x(t) ≤ 0<br />

0 if x(t) ≥ ǫ<br />

(14.2b)<br />

where ǫ > 0 is an arbitrarily small number, for instance the machine precision.<br />

Clearly, system (14.2) is not defined for 0 < x(t) < ǫ, i.e., for the values of the state<br />

that cannot be represented in the machine. However, the trajectories produced<br />

by (14.2a) and (14.2b) are identical as long as x(t) > ǫ or x(t) ≤ 0, ∀t ∈ N.<br />

As remarked above, multiple definitions of the state-update and output functions<br />

over common boundaries of sets C i is a technical issue that arises only when<br />

the PWA mapping is discontinuous. Rather than disconnecting the domain, another<br />

way of dealing with discontinuous PWA mappings is to allow strict inequalities<br />

in the definition of the polyhedral cells in (14.1), or by dealing with open<br />

polyhedra and boundaries separately as in [233]. We prefer to assume that in the<br />

definition of the PWA dynamics (14.1) the polyhedral cells C i(t) are closed sets:<br />

As will be clear in the next chapter, the closed-polyhedra description is mainly<br />

motivated by the fact that numerical solvers cannot handle open sets.<br />

Example 14.1 The following PWA system<br />

⎧<br />

⎪⎨<br />

x(t + 1)<br />

y(t)<br />

⎪⎩<br />

=<br />

=<br />

<br />

cos α(t)<br />

0.8<br />

sin α(t)<br />

− sin α(t)<br />

cos α(t)<br />

0 1 α(t) =<br />

x(t)<br />

is discontinuous at x = 0<br />

x2<br />

⎧<br />

⎧ √<br />

1 − 3<br />

⎪⎨<br />

0.4 √<br />

3 1<br />

⎪⎨<br />

⎪⎩<br />

x(t + 1) = √<br />

⎪⎩<br />

1 3<br />

0.4<br />

− √ 3 1<br />

y(t) = 0 1 x(t)<br />

π<br />

if [ 1 0 ] x(t) ≥ 0<br />

3<br />

− π<br />

if [ 1 0 ] x(t) < 0<br />

3<br />

<br />

0<br />

x(t) +<br />

1<br />

<br />

u(t)<br />

, ∀x2 = 0. It can be described in form (14.1) as<br />

<br />

0<br />

x(t) +<br />

1<br />

<br />

0<br />

x(t) +<br />

1<br />

<br />

u(t) if<br />

<br />

u(t) if<br />

for all x1 ∈ (−∞, −ǫ] ∪ [0, +∞), x2 ∈ R, u ∈ R, and ǫ > 0.<br />

(14.3)<br />

1 0 x(t) ≥ 0<br />

1 0 x(t) ≤ −ǫ<br />

(14.4)<br />

Figure 14.3 shows the free response of the systems (open-loop simulation of the system<br />

for a constant input u1 = 0) starting from the initial condition x(0) = [1 0] with<br />

sampling time equal to 0.5s and ǫ = 10 −6 .<br />

In case the partition C does not cover the whole space R n+m , well-posedness<br />

does not imply that trajectories are persistent, i.e., that for all t ∈ N a successor<br />

state x(t + 1) and an output y(t) are defined. A typical case of C = R n+m is<br />

when we are dealing with bounded inputs and bounded states umin ≤ u(t) ≤ umax,<br />

xmin ≤ x(t) ≤ xmax. By embedding such ranges in the inequalities (14.1c), the<br />

system becomes undefined outside the bounds, as no index i exists that satisfies<br />

any of the set of inequalities (14.1c).<br />

As will be clearer in the next chapter, when model (14.1) is used in an optimal<br />

control formulation, any input sequence and initial state that are feasible for

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!