• No results found

and thus is bound by the setW defined as

W ={(Ad(v) −Adm)xa+ (Bd(v) −Bdm)u|

(Ad(v), Bd(v)) ∈ P, (xa, u) ∈ Xa× U } (3.12)

The setW is defined from the discrete-time matrices which are an approximate of the continuous-time matrices described in (3.5) and hence it is an estimate of the actual disturbance due to the varying parameter v. It is noted that the structure of model (3.9) enables the use the robust tube-based MPC which is briefly revised in the following section.

3.4

Control Formulation

3.4.1

MPC with Terminal Set Constraints

This section provides an overview of the MPC approach proposed in [100]. Com- pared to the classical MPC formulation [103], the advantage of the control method in [100] is its ability to steer the state of a constrained system towards any set-point (i.e. desired target steady state) whether it belongs to the terminal set or not. The method guarantees the asymptotic convergence of the system state to any admissible target steady state. Furthermore, if the target steady state is not admissible, the control strategy in [100] steers the system to the closest admissible steady state. In the rest of the section, details for implementing this MPC control method are reported.

Given a discrete time LTI system with states x∈ X ⊆ Rnx, inputs u∈ U ⊆ Rnu,

and outputs y ∈ Y ⊆Rny, a discrete time state-space system is given by

x(k+1) = Ax(k) +Bu(k) (3.13)

y(k) =Cx(k) +Du(k) (3.14) where the matrices A, B, C, and D are constant and the pair (A, B)is controllable. The subspace of steady-states and inputs of the system (3.13) are represented in the linear mapping of the form

ρss = Mθθ (3.15)

where θRnθ is a parameter vector that characterises the subspace of steady-states

and inputs and Mθis a matrix of suitable dimensions (see [100] for further details).

At any time instant k, given a target steady state ˆx∈ Rnx and prediction horizon N,

the control action u(k)is generated by solving a constrained optimisation problem to steer system (3.21) to an admissible steady-state ρss = (xss, uss) ∈ X × U, such that

xssis as close as possible to ˆx. The constrained optimisation problem is parametrised

in xp =x(k)and ˆx and is given as

min Ui VN(Ui, θ; xp, ˆx) subject to x(0) =xp x(i+1) = Ax(i) +Bu(i), i=0, 1, . . . , N (xss, uss) = Mθθ x(i) ∈ X u(i) ∈ U (x(N), θ) ∈ Xt (3.16)

where Ui = {u(0), u(1),· · · , u(N−1)}is the vector of stacked inputs, (xss, uss) is

the stack of the steady-state solution of (3.13), and the terminal setXt is chosen as

Xt = {(x, θ) ∈Rnx+nθ : (x, KΩx+) ∈ X × U,

Mθθ ∈ X × U,(A+BKΩ)x+BLθ ∈ X }

(3.17)

with KΩ ∈ Rnu×nx being a constant matrices such that the eigenvalues of A+BKΩ

lie within the unit circle, L= [KΩ,Inu]Mθ, and the cost function VN(Ui, θ; xp, ˆx)is

VN(Ui, θ; xp, ˆx) = N

i=0 h ∥x(i) −xss∥2Q+∥u(i) −uss∥2R i +∥x(N) −xss∥P2 +∥xss− ˆx∥2T (3.18)

where the matrices Q ∈Rnx×nx, R Rnu×nu, T Rnx×nx are positive definite, and

P∈ Rnx×nx is a positive definite matrix solving the Lyapunov equation

(A+BK)TP(A+BK) −P= −Q+KTRK (3.19)

Remarks

• Uiand θ are the decision variables of the optimisation problem in (3.16), while

x and ˆx are its parameters. Furthermore, the optimal control action is applied using a receding horizon strategy u(k) = u∗(0), with u∗(0) being the first element of the optimal control sequence Ui

3.4 Control Formulation

• The optimisation problem can be recast as a quadratic programming problem which can be solved using any of the commonly available solver. The main steps taken to express (3.16) as qp-problem are outlined in AppendixC

• The last term of the performance index in (3.18) represents the tracking error cost. The weighting matrix T can be used to achieve a balance between tracking the target state ˆx and the virtual steady-state xss

• Closed loop asymptotic stability and feasibility of the proposed controller are proven in [100]

• For the remainder of this chapter, the control design methodology discussed above will be referred to as nominal MPC

3.4.2

Robust MPC with Terminal Set Constraints

This section provides an over view of the robust MPC approach proposed in [101,102]. This MPC formulation extends the MPC with terminal set constraints discussion in Section 3.4.1 by using tube-based robust MPC design technique to maintain tracking performance even on systems subjected to bounded distur- bances. Given a discrete linear time-invariant system with states x ∈ X ⊆ Rnx,

inputs u ∈ U ⊆ Rnu, outputs y ∈ Y ⊆ Rny, and bounded process disturbance

w ∈ W ⊆Rnx, whereX, U andW are known bounded convex sets, a discrete time

state-space system is given by

x(k+1) = Ax(k) +Bu(k) +w (3.20a) y(k) =Cx(k) +Du(k) (3.20b)

where the matrices A, B, C, and D are constant and it is assumed that the pair(A, B)

is controllable. The control objective is to stabilize system (3.20) and steer it in the neighbourhood of a reference set-point despite the disturbance while keeping the system state and control input within the required set constraints (i.e., X and U, respectively) The solution proposed in [101,102] leverages a nominal system of the plant in (3.20) defined as

¯x(k+1) = A¯x(k) +Bu¯(k) (3.21a) ¯y(k) =C¯x(k) +Du¯(k) (3.21b)

where ¯x, ¯u, and ¯y are the state, input and output of the nominal model, respectively. The idea in [101,102] to solve the constrained control problem for the uncertain

system (3.20) is to use an MPC approach to steer the nominal model (3.21) towards the desired set point but with modified state and input set constraints, denoted as ¯X, and ¯U, respectively. The set constraints for the nominal model are selected such that if the closed-loop solution of the nominal system satisfies(¯x(k), ¯u(k)) ∈X ׯ U¯, ∀k, then(x(k), u(k)) ∈ X × U. These tightened set constraints for the nominal system are computed as

¯

X = X ⊖ Z, ¯U = U ⊖KZ (3.22)

where K ∈ Rnx×nu so that A

K = A+BK is Hurwitz, and Z is a robust positively

invariant set [111] for the system e(k+1) = AKe(k) +w, with e, (x− ¯x), such that

AKZ ⊕ W ⊆ Z (3.23)

In [101,102] it was proven that if ¯X and ¯U are non-empty sets and they contain the steady state set-points and control inputs (⊆ Xss× Uss) then the set of steady-states

and inputs can be robustly imposed to system (3.20) when e(0) = x(0) − ¯x(0) ∈ Z, under the control action

u=u¯+Ke, ¯u∈ U¯ (3.24) It is noted that, given a target steady state ˆx∈ Rnx, the control action ¯u is generated

by using a receding horizon technique to steer system (3.21) to an admissible steady- state ρss = (¯xss, ¯uss) ∈X ׯ U¯, such that ¯xss is as close as possible to ˆx. Moreover, the

subspace of steady-states and inputs of system (3.21) have a linear representation of the form

ρss = Mθθ (3.25)

where θRnθ is a parameter vector that characterises the subspace of steady-states

and inputs and Mθ is a matrix of suitable dimensions (see [101, 102] for further

details). Furthermore, by denoting N as the prediction horizon, the control action ¯

u at the time instant k is computed by solving the following optimisation problem parametrised in xp = x(k)and ˆx [112,113]. min ¯ Ui,θ, ¯x VN(¯x, ¯ui, θ; xp, ˆx) subject to ¯x ∈ xp⊕ (−Z ) ¯x(i) ∈X¯ ¯ u(i) ∈ U¯ ¯ Xi =Φ ¯x+Ψ ¯Ui, i=0, 1,· · · , N (¯xss, ¯uss) = Mθθ (¯x(N), θ) ∈ Xt (3.26)

3.4 Control Formulation

where ¯Ui = {u¯(0), ¯u(1),· · · , ¯u(N−1)}is the vector of stacked inputs, the vector

of stacked predicted states is given by ¯Xi = {¯x(1), ¯x(2),· · · , ¯x(N)}, andΦ and Ψ

are the prediction matrices of appropriate dimensions constructed based on the the nominal system dynamics described in (3.21) resulting in a prediction model (derived in AppendixB)

¯

Xi =Φ ¯x+Ψ ¯Ui, i =0, 1,· · · , N (3.27)

and the terminal setXtis chosen as

Xt = {(¯x, θ) ∈Rnx+nθ : (¯x, KΩ¯x+) ∈ X ׯ U¯,

Mθθ ∈ X ׯ U¯,(A+BKΩ)¯x+BLθ ∈ X }¯

(3.28)

with KRnx+nθ being a constant matrix such that the eigenvalues of A+BKlie

within the unit circle, L = [KΩ,Inu]Mθ, and the cost function VN(¯x, ¯ui, θ; xp, ˆx)is

VN(¯x, ¯ui, θ; xp, ˆx) = N

i=0 h ||¯x(i) − ¯xss||2Q + ||u¯(i) −u¯ss||2R i + ||¯x(N) − ¯xss||2P+ ||¯xss− ˆx||2T (3.29)

where the matrices Q ∈ Rnx×nx, RRnu×nu, T Rnx×nx are positive definite, and

P∈ Rnx×nx is a positive definite matrix solving the Lyapunov equation

(A+BK)TP(A+BK) −P = −Q+KTRK (3.30)

It is noteworthy that in the optimisation problem (3.26), the initial state of the nominal system ¯x(0) = ¯x is also a decision variable selected such that xp− ¯x ∈ Z,

which guarantees the evolution of the system (3.20) inX × U for any w∈ W (see [101,102] for further details). Therefore, the solution of the optimisation problem (3.26) yields an optimal initial state ¯x∗ xp, ˆx and an optimal input sequence ¯Ui∗ = {u¯∗(0, xp, ˆx), ¯u∗(1, xp, ˆx),· · · , ¯u∗(N−1, xp, ˆx)} along with a parametrised steady-

state θ∗ xp, ˆx. The net control action applied on the plant is given as

u(k) =u¯∗(0, xp, ˆx) +K xp− ¯x∗(xp, ˆx) (3.31)

Remarks

• ¯x, ¯ui, and θ are the decision variables of the optimisation problem (3.26), while

• The terms of the cost function under the summation represent the penalty for deviating from the steady-state and input, the second term penalises the devia- tion of the terminal state from the steady-state, and the final term penalises the deviation of the artificial state from the reference state

• As the optimisation problem (3.26) can be expressed as a quadratic program- ming problem (see AppendixDfor further details), it can be converted to an explicit MPC form to reduce online computations [90]

• System constraint handling capabilities and closed loop asymptotic stability and feasibility of the proposed controller are proven in [101]

• The minimal robust invariant setZcan be computed offline using the recursive algorithm proposed in [111]. The MPC approach discussed above is a right tube MPC strategy which is known to be conservative even inZ is minimal [114]

• If the additive disturbance caused by the parameter uncertainty tends towards a steady-state value then the closed-loop system reaches a steady-state different from ¯xss. This can be mitigated by modifying the desired set-point ˆx and

removing the offset by estimating the steady-state disturbance as described in [101]

• The robust MPC with terminal set constraints discussed above is referred as robust MPC for the remaining portion of this chapter