Piecewise-affine functions: applications in circuit theory and control

Size: px
Start display at page:

Download "Piecewise-affine functions: applications in circuit theory and control"

Transcription

1 Piecewise-affine functions: applications in circuit theory and control Tomaso Poggi Basque Center of Applied Mathematics Bilbao 12/04/2013 1/46

2 Outline 1 Embedded systems 2 PWA functions Definition Classes and representation forms 3 Evaluation of PWA functions 4 Applications Model Predictive Control Virtual sensors (nonlinear state observers) Others 5 Conclusions Matlab software and toolboxes Open issues 2/46

3 Outline 1 Embedded systems 2 PWA functions Definition Classes and representation forms 3 Evaluation of PWA functions 4 Applications Model Predictive Control Virtual sensors (nonlinear state observers) Others 5 Conclusions Matlab software and toolboxes Open issues 2/46

4 Outline 1 Embedded systems 2 PWA functions Definition Classes and representation forms 3 Evaluation of PWA functions 4 Applications Model Predictive Control Virtual sensors (nonlinear state observers) Others 5 Conclusions Matlab software and toolboxes Open issues 2/46

5 Outline 1 Embedded systems 2 PWA functions Definition Classes and representation forms 3 Evaluation of PWA functions 4 Applications Model Predictive Control Virtual sensors (nonlinear state observers) Others 5 Conclusions Matlab software and toolboxes Open issues 2/46

6 Outline 1 Embedded systems 2 PWA functions Definition Classes and representation forms 3 Evaluation of PWA functions 4 Applications Model Predictive Control Virtual sensors (nonlinear state observers) Others 5 Conclusions Matlab software and toolboxes Open issues 2/46

7 Embedded Systems An embedded system is a computer system designed for executing specific tasks within a larger system We can find them in Mobile phones, digital cameras, mp3 players,... Home appliances (microwave ovens, washing machines,...) Cars, planes, trains,... Embedded systems contain processing cores that are either microprocessors or digital circuits Digital Signal Processor (DSP) 3/46

8 Digital Signal Processor VS Personal Computer Personal Computer Digital Signal Processor General purpose High power/frequency No deterministic execution time Complex operations Specific task Low power/frequency Real Time Simple operations Available operations on DSP (Fixed point arithmetic) Arithmetic: +,, Comparisons: =, >, <,, Boolean: NOT, AND, OR, XOR Memory 4/46

9 Algorithms for DSP Requirements: Fast execution Limited resources Low-level programming Strategy On-line execution Off-line design 5/46

10 Algorithms for DSP Requirements: Fast execution Limited resources Low-level programming Strategy On-line execution Maintain simplicity Off-line design All the hard math here 5/46

11 Outline 1 Embedded systems 2 PWA functions Definitions Classes and representation forms 3 Evaluation of PWA functions 4 Applications Model Predictive Control Virtual sensors (nonlinear state observers) Others 5 Conclusions Matlab software and toolboxes Open issues 6/46

12 Polytopes and Simplexes (1/2) Definition Polytope in R n : intersection of m halfspaces (boundaries) Ω= { x R n : h jx+ k j 0, j = 1,...,m } Boundary: (n 1)-dimensional hyper-plane in the form h jx+ k j = 0 Alternative definition: convex hull of vertices { Ω= x : x = m i=1 µ i v i ; 0 µ i 1,i = 1,...,m; m i=1 µ i = 1 } Simplex in R n : a polytope defined by m=n+1 vertices v i 7/46

13 Polytopes and Simplexes (2/2) Examples Polytopes Simplexes n=2 n=3 v 3 v 2 v 0 v 1 v 0 v 1 v 2 v 0 v 1 n=1 n= 2 n=3 8/46

14 Piecewise-affine functions f PWA : D R n R is piecewise-affine (PWA) if its domain is partitioned in M polytopes D = M k=1 Ω k, Ω k Ω h = 0, k h it is linear affine over each polytope f PWA (x)=f k x+ g k, x Ω k Partition 15 polytopes x x /46

15 Piecewise-affine functions Special case: Lattice form Any continuous PWA function can be expressed as 1 f PWA (x)= min 1 k M max 1 h M φ kh =1 { f h x+ g h where Φ=[φ kh ] is a zero-one structure matrix: } 1, f k φ kh = x+ g k f h x+ g h, x Ω k 0, otherwise Non need to define/store the partition explicitly! 1 Tarela and Martínez [1999] 10/46

16 Piecewise-affine functions Special case: regular partitions Simplicial Rectangular Used in approximation/identification problems 2 Efficient evaluation algorithms 2 Poggi et al. [2011], Genuit et al. [2012] 11/46

17 Simplicial PWA functions (1/2) Simplicial partition Simplicial partition of D ={x R n : a i x i b i } obtained by: x 2 b 2 x 1 a 2 a 1 b 1 12/46

18 Simplicial PWA functions (1/2) Simplicial partition Simplicial partition of D ={x R n : a i x i b i } obtained by: dividing each dimensional component in m i sub-intervals hyper-rectangles x 2 N v vertices b 2 x 1 a 2 a 1 b 1 12/46

19 Simplicial PWA functions (1/2) Simplicial partition Simplicial partition of D ={x R n : a i x i b i } obtained by: dividing each dimensional component in m i sub-intervals hyper-rectangles partitioning each hyper-rectangle in n! simplexes x 2 N v vertices b 2 x 1 a 2 a 1 b 1 12/46

20 Simplicial PWA functions (2/2) Representation Any PWAS function can be expressed: 1 Using the classical representation 2 As a sum of N v elements f S (x)=f j x+ g j, x S j f S (x)= N v k=1 c k φ k (x)=c φ(x) N v weighting coefficients N v basis functions 3 By linear interpolation of the f S values at the n+1 simplex vertices f S (x)= n j=0 µ j f S (v j ) 13/46

21 Simplicial PWA functions (2/2) Representation Any PWAS function can be expressed: 1 Using the classical representation 2 As a sum of N v elements f S (x)=f j x+ g j, x S j f S (x)= N v k=1 c k φ k (x)=c φ(x) N v weighting coefficients N v basis functions 3 By linear interpolation of the f S values at the n+1 simplex vertices f S (x)= n j=0 µ j f S (v j ) 13/46

22 Simplicial PWA functions (2/2) Representation Any PWAS function can be expressed: 1 Using the classical representation 2 As a sum of N v elements f S (x)=f j x+ g j, x S j f S (x)= N v k=1 c k φ k (x)=c φ(x) N v weighting coefficients N v basis functions 3 By linear interpolation of the f S values at the n+1 simplex vertices f S (x)= n j=0 µ j f S (v j ) 13/46

23 Simplicial PWA functions (2/2) Representation Any PWAS function can be expressed: 1 Using the classical representation 2 As a sum of N v elements f S (x)=f j x+ g j, x S j f S (x)= N v k=1 c k φ k (x)=c φ(x) N v weighting coefficients N v basis functions 3 By linear interpolation of the f S values at the n+1 simplex vertices f S (x)= n j=0 µ j f S (v j ) 13/46

24 Simplicial PWA functions (2/2) Representation Any PWAS function can be expressed: 1 Using the classical representation f S (x)=f j x+ g j, x S j 2 As a sum of N v elements numerical/analytical calculations f S (x)= N v k=1 c k φ k (x)=c φ(x) N v weighting coefficients N v basis functions 3 By linear interpolation of the f S values at the n+1 simplex vertices DSP implementation f S (x)= n j=0 µ j f S (v j ) 13/46

25 α-basis PWA Radial Basis Functions with fixed support N v hyper-pyramids (pyramids in 2D) centred at the N v vertices Key property: 1, if k = i α k (v i )= c k = f S (v k ) 0, if k i 1 z2 αk(x) 3 Simplex 2 1 vk z1 14/46

26 α-basis PWA Radial Basis Functions with fixed support Example: m 1 = m 2 = 3 N v = 16 14/46

27 Function approximation/identification with PWAS functions original function approximated function f(x) f S (x) P W A fpwl x x Two types of problems Approximation: f is known (analytically) Identification: some samples of f are available 15/46

28 Function approximation/identification with PWAS functions original function approximated function f(x) f S (x) P W A fpwl x x Two types of problems Approximation: f is known (analytically) Identification: some samples of f are available 15/46

29 Outline 1 Embedded systems 2 PWA functions Definitions Classes and representation forms 3 Evaluation of PWA functions 4 Applications Model Predictive Control Virtual sensors (nonlinear state observers) Others 5 Conclusions Matlab software and toolboxes Open issues 16/46

30 Calculation of the value of a PWA function Evaluation algorithms suitable for fast calculations Partition dependent: PWA: calculate f PWA (x) 1 Find the index i such that x Ω i 2 Evaluate the affine expression f i x+ g i Lattice PWA: calculate f PWA (x) 1 Efficient only in limited circumstances PWAS: calculate f PWAS (x) 1 Scaling 2 Linear interpolation 17/46

31 Calculation of the value of a PWA function Evaluation algorithms suitable for fast calculations Partition dependent: PWA: calculate f PWA (x) Point Location Problem 1 Find the index i such that x Ω i 2 Evaluate the affine expression f i x+ g i Lattice PWA: calculate f PWA (x) 1 Efficient only in limited circumstances PWAS: calculate f PWAS (x) 1 Scaling 2 Linear interpolation 17/46

32 Calculation of the value of a PWA function Evaluation algorithms suitable for fast calculations Partition dependent: PWA: calculate f PWA (x) Point Location Problem 1 Find the index i such that x Ω i 2 Evaluate the affine expression f i x+ g i Lattice PWA: calculate f PWA (x) Apply definition as is 1 Efficient only in limited circumstances PWAS: calculate f PWAS (x) 1 Scaling 2 Linear interpolation 17/46

33 Calculation of the value of a PWA function Evaluation algorithms suitable for fast calculations Partition dependent: PWA: calculate f PWA (x) Point Location Problem 1 Find the index i such that x Ω i 2 Evaluate the affine expression f i x+ g i Lattice PWA: calculate f PWA (x) Apply definition as is 1 Efficient only in limited circumstances PWAS: calculate f PWAS (x) Khun s decomposition 1 Scaling 2 Linear interpolation 17/46

34 Point Location Problem (1/2) Combinatorial solution Given M e boundaries, find i such that x Ω i Combinatorial algorithm for j = 1 to M e do compare x with e j : e1 e4 h j x+ k j 0 Ω1 Ω3 x end for e2 Ω2 Ω5 e3 Ω4 18/46

35 Point Location Problem (1/2) Combinatorial solution Given M e boundaries, find i such that x Ω i Combinatorial algorithm for j = 1 to M e do compare x with e j : e1 e4 h j x+ k j 0 Ω1 Ω3 x end for e2 Ω2 Ω5 e3 Ω4 18/46

36 Point Location Problem (1/2) Combinatorial solution Given M e boundaries, find i such that x Ω i Combinatorial algorithm for j = 1 to M e do compare x with e j : e1 e4 h j x+ k j 0 Ω1 Ω3 x end for e2 Ω2 Ω5 e3 Ω4 18/46

37 Point Location Problem (1/2) Combinatorial solution Given M e boundaries, find i such that x Ω i Combinatorial algorithm for j = 1 to M e do compare x with e j : e1 e4 h j x+ k j 0 Ω1 Ω3 x end for e2 Ω2 Ω5 e3 Ω4 18/46

38 Point Location Problem (1/2) Combinatorial solution Given M e boundaries, find i such that x Ω i Combinatorial algorithm for j = 1 to M e do compare x with e j : e1 e4 h j x+ k j 0 Ω1 Ω3 x end for e2 Ω2 Ω5 e3 Ω4 18/46

39 Point Location Problem (1/2) Combinatorial solution Given M e boundaries, find i such that x Ω i Combinatorial algorithm for j = 1 to M e do compare x with e j : e1 e4 h j x+ k j 0 Ω1 Ω3 x end for e2 Ω2 Ω5 e3 Ω4 18/46

40 Point Location Problem (1/2) Combinatorial solution Given M e boundaries, find i such that x Ω i Combinatorial algorithm for j = 1 to M e do compare x with e j : e1 e4 h j x+ k j 0 Ω1 Ω3 x end for e2 Ω2 Ω5 e3 Ω4 18/46

41 Point Location Problem (1/2) Combinatorial solution Given M e boundaries, find i such that x Ω i Combinatorial algorithm for j = 1 to M e do compare x with e j : e1 e4 h j x+ k j 0 Ω1 Ω3 x end for e2 Ω2 Ω5 e3 Ω4 18/46

42 Point Location Problem (1/2) Combinatorial solution Given M e boundaries, find i such that x Ω i Combinatorial algorithm for j = 1 to M e do compare x with e j : e1 e4 h j x+ k j 0 Ω1 Ω3 x end for e2 Ω2 Ω5 e3 Ω4 18/46

43 Point Location Problem (1/2) Combinatorial solution Given M e boundaries, find i such that x Ω i Combinatorial algorithm for j = 1 to M e do compare x with e j : e1 e4 h j x+ k j 0 Ω1 Ω3 x end for e2 Ω2 Ω5 M and M e can be very large! e3 Ω4 A more efficient solution exists 18/46

44 Point Location Problem (2/2) Binary search tree Clever choice of the sequence of edges The tree is built off-line 3 The tree is explored on-line by a DSP e1 e4 root e1 Ω1 Ω3 > x e3 e4 e2 Ω2 Ω5 > > Ω4 e2 Ω5 Ω3 e3 > Ω4 Ω2 Ω1 3 Tøndel et al. [2002], Fuchs et al. [2010] 19/46

45 Point Location Problem (2/2) Binary search tree Clever choice of the sequence of edges The tree is built off-line 3 The tree is explored on-line by a DSP e1 e4 root Ω1 Ω3 e 1 : e1 > x e3 e4 e2 Ω2 Ω5 > > Ω4 e2 Ω5 Ω3 e3 > Ω4 Ω2 Ω1 3 Tøndel et al. [2002], Fuchs et al. [2010] 19/46

46 Point Location Problem (2/2) Binary search tree Clever choice of the sequence of edges The tree is built off-line 3 The tree is explored on-line by a DSP e1 e4 root Ω1 Ω3 e 1 : h 1 x+ k 1 > 0 e1 > x e3 e4 e2 Ω2 Ω5 > > Ω4 e2 Ω5 Ω3 e3 > Ω4 Ω2 Ω1 3 Tøndel et al. [2002], Fuchs et al. [2010] 19/46

47 Point Location Problem (2/2) Binary search tree Clever choice of the sequence of edges The tree is built off-line 3 The tree is explored on-line by a DSP e1 e4 root Ω1 Ω3 e 1 : h 1 x+ k 1 > 0 e1 > x e3 e4 e2 Ω2 Ω5 e 4 : > > Ω4 e2 Ω5 Ω3 e3 > Ω4 Ω2 Ω1 3 Tøndel et al. [2002], Fuchs et al. [2010] 19/46

48 Point Location Problem (2/2) Binary search tree Clever choice of the sequence of edges The tree is built off-line 3 The tree is explored on-line by a DSP e1 e4 root Ω1 Ω3 e 1 : h 1 x+ k 1 > 0 e1 > x e3 e4 e2 Ω2 Ω5 e 4 : h 4 x+ k 4 > 0 > > Ω4 e2 Ω5 Ω3 e3 > Ω4 Ω2 Ω1 3 Tøndel et al. [2002], Fuchs et al. [2010] 19/46

49 Point Location Problem (2/2) Binary search tree Clever choice of the sequence of edges The tree is built off-line 3 The tree is explored on-line by a DSP e1 e4 root Ω1 Ω3 e 1 : h 1 x+ k 1 > 0 e1 > x e3 e4 e2 Ω2 Ω5 e 4 : h 4 x+ k 4 > 0 > > Ω4 e2 Ω5 Ω3 e3 Ω4 Ω 3 : f 3 x+ g 3 > Ω2 Ω1 3 Tøndel et al. [2002], Fuchs et al. [2010] 19/46

50 Point Location Problem (2/2) Binary search tree Clever choice of the sequence of edges The tree is built off-line 3 The tree is explored on-line by a DSP e1 e4 root Ω1 Ω3 e 1 : h 1 x+ k 1 > 0 e1 > x e3 e4 e2 Ω2 Ω5 e 4 : h 4 x+ k 4 > 0 > > Ω4 e2 Ω5 Ω3 e3 Ω4 Ω 3 : f 3 x+ g 3 > Ω2 Ω1 Only sums, multiplications and comparisons! 3 Tøndel et al. [2002], Fuchs et al. [2010] 19/46

51 Evaluation in lattice form Direct application of the formula f PWA (x)= min 1 k M max 1 h M φ kh =1 { f h x+ g h } Key result 4 : If some regions share the same affine expression Ω h,ω k, Ω h Ω k : f h = f k, g h = g k It is possible to remove rows and columns from Φ=[φ kh ] Different regions can be joined 4 Wen et al. [2009] 20/46

52 Evaluation of a PWAS function (1/2) Scaling Fast and simple evaluation algorithm exploiting 5 the regularity of the partition local linearity x i is scaled to z i [0,m i ] by a linear transformation x 2 x2 3 v k x2 2 D x2 1 x 1 x2 0 x 0 1 x 1 1 x 2 1 x 3 1 x 4 1 D z z u 2 k = T(v k ) 3 T 2 u k z 1 5 Parodi et al. [2005] 21/46

53 Evaluation of a PWAS function (2/2) Interpolation Linear interpolation of the f S values at the n+1 simplex vertices f S (z)= n j=0 µ j c z j, c z j = f S (u z j ) z z 1 z z 1 u z 2 z δ 1 z i integer parts δ 2 u z 0 u z 1 z = n j=0 δ i = z i z i fractional parts µ j u z j µ j : obtained by ordering δ i u z j : vertices around z obtained from z and δ i 22/46

54 Evaluation of a PWAS function (2/2) Interpolation Linear interpolation of the f S values at the n+1 simplex vertices f S (z)= n j=0 µ j c z j, c z j = f S (u z j ) z z 1 z z 1 u z 2 z δ 1 z i integer parts δ 2 u z 0 u z 1 z = n j=0 δ i = z i z i fractional parts µ j u z j µ j : obtained by ordering δ i u z j : vertices around z obtained from z and δ i 22/46

55 Evaluation of a PWAS function (2/2) Interpolation Linear interpolation of the f S values at the n+1 simplex vertices f S (z)= n j=0 µ j c z j, c z j = f S (u z j ) z z 1 z z 1 u z 2 z δ 1 z i integer parts δ 2 u z 0 u z 1 z = n j=0 δ i = z i z i fractional parts µ j u z j µ j : obtained by ordering δ i u z j : vertices around z obtained from z and δ i 22/46

56 Complexity analysis PWA functions (point location problem) Memory: (M+ M e )(n+1) Time: O(log(M)n) Continuous PWA functions (lattice form) Memory: < M(n+1) Time: < O(M) PWAS functions Memory: N v Time: O(n) 23/46

57 Outline 1 Embedded systems 2 PWA functions Definitions Classes and representation forms 3 Evaluation of PWA functions 4 Applications Model Predictive Control Virtual sensors (nonlinear state observers) Others 5 Conclusions Matlab software and toolboxes Open issues 24/46

58 PWA functions applications Model Predictive Control Lyapunov functions (hints) Virtual sensors (nonlinear state observers) Dynamical system modelling (hints) 25/46

59 Model Predictive Control Control of dynamical systems under constraints x 2 u(t) x(t+ 1)=f(x(t),u(t)) y(t)=g(x(t)) y(t) x0 x 1 Problem: find a control law that 26/46

60 Model Predictive Control Control of dynamical systems under constraints x 2 u(t) x(t+ 1)=f(x(t),u(t)) y(t)=g(x(t)) y(t) x0 u(t) = u(x(t)) x 1 DSP Problem: find a control law that regularises the system to the origin 26/46

61 Model Predictive Control Control of dynamical systems under constraints x 2 um u(t) um x(t+ 1)=f(x(t),u(t)) y(t)=g(x(t)) ym y(t) ym x0 u(t) = u(x(t)) x 1 DSP Problem: find a control law that regularises the system to the origin fulfils constraints on u(t), x(t) and y(t) 26/46

62 Model Predictive Control Control of dynamical systems under constraints x 2 um u(t) um x(t+ 1)=f(x(t),u(t)) y(t)=g(x(t)) ym y(t) ym x0 u(t) = u(x(t)) x 1 DSP Problem: find a control law that regularises the system to the origin fulfils constraints on u(t), x(t) and y(t) Solution: Receding Horizon Control 1 At time t calculate N control moves u 0,...,u N 1 2 Apply u 0 and discard the remaining control moves 3 At time t+ 1 repeat the procedure 26/46

63 Model Predictive Control Formulation of the optimisation problem 6 N control moves obtained by optimisation N 1 min u 0,...,u N 1 k=0 L (x k,u k )+L F (x N ) x k+1 = f(x k,u k ), k = 0,...,N 1 x 0 = x(t) u k U,k = 0,...,N 1 x k X, k = 0,...,N 1 x N X N Input and state weight Final state weight System dynamics Feasibility constraints Constraint on final state (stability) 6 Alessio and Bemporad [2009] 27/46

64 Model Predictive Control Formulation of the optimisation problem 6 N control moves obtained by optimisation N 1 min u 0,...,u N 1 k=0 L (x k,u k )+L F (x N ) x k+1 = f(x k,u k ), k = 0,...,N 1 x 0 = x(t) u k U,k = 0,...,N 1 x k X, k = 0,...,N 1 x N X N Input and state weight Final state weight System dynamics Feasibility constraints Constraint on final state (stability) 6 Alessio and Bemporad [2009] 27/46

65 Model Predictive Control Formulation of the optimisation problem 6 N control moves obtained by optimisation N 1 min u 0,...,u N 1 k=0 L (x k,u k )+L F (x N ) x k+1 = f(x k,u k ), k = 0,...,N 1 x 0 = x(t) u k U,k = 0,...,N 1 x k X, k = 0,...,N 1 x N X N Input and state weight Final state weight System dynamics Feasibility constraints Constraint on final state (stability) 6 Alessio and Bemporad [2009] 27/46

66 Model Predictive Control Formulation of the optimisation problem 6 N control moves obtained by optimisation N 1 min u 0,...,u N 1 k=0 L (x k,u k )+L F (x N ) x k+1 = f(x k,u k ), k = 0,...,N 1 x 0 = x(t) u k U,k = 0,...,N 1 x k X, k = 0,...,N 1 x N X N Input and state weight Final state weight System dynamics Feasibility constraints Constraint on final state (stability) 6 Alessio and Bemporad [2009] 27/46

67 Model Predictive Control Formulation of the optimisation problem 6 N control moves obtained by optimisation N 1 min u 0,...,u N 1 k=0 L (x k,u k )+L F (x N ) x k+1 = f(x k,u k ), k = 0,...,N 1 x 0 = x(t) u k U,k = 0,...,N 1 x k X, k = 0,...,N 1 x N X N Input and state weight Final state weight System dynamics Feasibility constraints Constraint on final state (stability) 6 Alessio and Bemporad [2009] 27/46

68 Model Predictive Control Formulation of the optimisation problem 6 N control moves obtained by optimisation N 1 min u 0,...,u N 1 k=0 L (x k,u k )+L F (x N ) x k+1 = f(x k,u k ), k = 0,...,N 1 x 0 = x(t) u k U,k = 0,...,N 1 x k X, k = 0,...,N 1 x N X N Input and state weight Final state weight System dynamics Feasibility constraints Constraint on final state (stability) Non-convex optimisation problem hard to solve There are simpler but relevant cases 6 Alessio and Bemporad [2009] 27/46

69 Model Predictive Control Linear system, quadratic cost, linear constraints N 1 min u 0,...,u N 1 k=0 { Qx k 2 + Ru k 2 }+ Px N 2 x k+1 = Ax k + Bu k, k = 0,...,N 1 x 0 = x(t) H u u k k u, k = 0,...,N 1 H x x k k x, k = 0,...,N 1 H N x N k N Q and R are tuning parameters if P solution of the Riccati equation Stability is guaranteed 28/46

70 Explicit Model Predictive Control Linear system, quadratic cost, linear constraints Called z [u 0,...,u N 1 ], the optimisation problem can be rewritten as a Multi-parametric Quadratic Programming (mpqp) Key result: 7 1 min z 2 z Hz+ x (t)cz Gz W Sx(t) 0 There exists an explicit solution u(t)=u 0 = u PWA (x(t)) PWA function defined over the state space 7 Bemporad et al. [2002] 29/46

71 Explicit Model Predictive Control Linear system, quadratic cost, linear constraints Called z [u 0,...,u N 1 ], the optimisation problem can be rewritten as a Multi-parametric Quadratic Programming (mpqp) Key result: 7 1 min z 2 z Hz+ x (t)cz Gz W Sx(t) 0 There exists an explicit solution u(t)=u 0 = u PWA (x(t)) PWA function defined over the state space No need to solve an optimisation problem on-line! 7 Bemporad et al. [2002] 29/46

72 Model Predictive Control Other formulations and extensions One-norm min z N 1 k=0 { Qx k 1 + Ru k 1 }+ Px N 1 x k+1 = Ax k +Bu k, k = 0,...,N 1 Infinite-norm min z N 1 k=0 { Qx k + Ru k }+ Px N x k+1 = Ax k +Bu k, k = 0,...,N 1 x 0 = x(t) H uu k k u, k = 0,...,N 1 H x x k k x, k = 0,...,N 1 H N x N k N x 0 = x(t) H uu k k u, k = 0,...,N 1 H x x k k x, k = 0,...,N 1 H N x N k N PWA model min z N 1 k=0 { Qx k 2 + Ru k 2 }+ Px N 2 x k+1 = f PWA (x k,u k ), k = 0,...,N 1 x 0 = x(t) H uu k k u, k = 0,...,N 1 H x x k k x, k = 0,...,N 1 H N x N k N Tracking min z N 1 k=0 { Q(yk r k ) 2 + R(u k u k 1 ) 2 } x k+1 = Ax k +Bu k, k = 0,...,N 1 y k = Cx k, k = 0,...,N 1 x 0 = x(t) H uu k k u, k = 0,...,N 1 H x x k k x, k = 0,...,N 1 30/46

73 Approximated MPC with PWAS functions Given Solve 8 The optimal solution u 0 A PWAS function u S = c φ(x) defined over a simplicial partition min (u 0 (x) u S ) 2 dx c D Ĝc Ŵ Constraints Ĝc Ŵ ensure feasibility More efficient implementations in DSP 8 Poggi et al. [2011] 31/46

74 Model Predictive Control Closed-loop dynamics and stability Closed loop dynamics are given by x(t+ 1)=Ax(t)+Bu(t)=Ax+ B( f k x(t)+ g k )=f k x(t)+g k Closed-loop stability: Optimal MPC solution Final state constraints A posteriori analysis (Lyapunov function) Approximated MPC Further constraints must be inserted A posteriori analysis (Lyapunov function) 32/46

75 Model Predictive Control Closed-loop dynamics and stability Closed loop dynamics are given by x(t+ 1)=Ax(t)+Bu(t)=Ax+ B( f k x(t)+ g k )=f k x(t)+g k Closed-loop stability: Optimal MPC solution Final state constraints A posteriori analysis (Lyapunov function) Approximated MPC Further constraints must be inserted A posteriori analysis (Lyapunov function) 32/46

76 Model Predictive Control Closed-loop dynamics and stability Closed loop dynamics are given by x(t+ 1)=Ax(t)+Bu(t)=Ax+ B( f k x(t)+ g k )=f k x(t)+g k Closed-loop stability: Optimal MPC solution Final state constraints A posteriori analysis (Lyapunov function) Approximated MPC Further constraints must be inserted A posteriori analysis (Lyapunov function) 32/46

77 Model Predictive Control Closed-loop dynamics and stability Closed loop dynamics are given by x(t+ 1)=Ax(t)+Bu(t)=Ax+ B( f k x(t)+ g k )=f k x(t)+g k Closed-loop stability: Optimal MPC solution Final state constraints A posteriori analysis (Lyapunov function) Approximated MPC Further constraints must be inserted A posteriori analysis (Lyapunov function) 32/46

78 PWA Lyapunov Functions (1/2) If there exist a function V(x):D R, three real values α > 0, β > 0, λ (0,1), and an integer number p > 0 such that, for all x D and all k {1,...,M}, α x p V(x) β x p V(f k x+ g k ) λv(x) 0, x Ω k then, the origin of the system is asymptotically stable in D in case p = 1; exponentially stable in D in case p > 1. 33/46

79 PWA Lyapunov Functions (1/2) If there exist a function V(x):D R, three real values α > 0, β > 0, λ (0,1), and an integer number p > 0 such that, for all x D and all k {1,...,M}, α x p V(x) β x p V(f k x+ g k ) λv(x) 0, x Ω k then, the origin of the system is asymptotically stable in D in case p = 1; exponentially stable in D in case p > 1. It is possible to build PWA Lyapunov functions! 33/46

80 PWA Lyapunov Functions (2/2) A PWA Lyapunov function V(x)=w k x+ z k, x Ω k can be found by solving the following Linear Programming 9 α v w h v+ z h β v v vert(ω h ) w k (f h v+ g h )+z k λ(w h (v) z h ) 0 v vert(ω hk ) : T hk = 1 where [T hk ] is the reachability matrix T hk { 1 if x Ωh s.t. f h x+ g h Ω k 0 otherwise Reachability matrix Ω hk ={x Ω h : f h x+ g h Ω k } Starting regions 9 Grieder et al. [2005] 34/46

81 Virtual sensors A virtual sensor is a nonlinear state observer x(t+ 1)=g(x(t),u(t)) S : y(t)=h y (x(t))+η(t) z(t) z(t)=h z (x(t))+ξ(t) u(t) S y(t) h, g y, g z unknown O DSP ẑ(t) u(t) R n u, y(t) R n y always available z(t) R available for t T ẑ(t) estimate of z(t), t > T 35/46

82 Virtual Sensors Standard two-step approach 1 Identify a model ˆ S for S from available data linear/nonlinear systems identification 2 Design a state observer from identified model e.g., Kalman filter, Extended Kalman filter,... Both step 1 and 2 could be hard to accomplish Alternative solution: single-step approach Identify the observer from data Direct Virtual Sensor 36/46

83 Direct Virtual Sensors (DVS) Identifying a virtual sensor from time series 10 Consider a time-window of size N: U t ={u(τ)} t τ=t N+1 Z t ={z(τ)} t τ=t N+1 Y t ={y(τ)} t τ=t N+1 Ẑ t ={ẑ(τ)} t τ=t N+1 DVS structure: dynamical PWAS system ẑ(t+ 1)=f S (U t,y t+1,ẑ t )=c φ(u t,y t+1,ẑ t ) Weights given by min c 10 Poggi et al. [2012] { } T 1 [z(t+ 1) f S (U t,y t+1,z t )] 2 t=n 37/46

84 Direct Virtual Sensors Convergence analysis: DVS VS two-step approach i) The vector of parameters guarantees the minimisation of the variance of the estimation error among all the virtual sensors [ with the same structure, i.e., f S = argmin E (z(t) ẑ(t)) 2]. f S ii) If it is possible to express the two-step observer in regression form as a particular realisation of the virtual sensor, one obtains that the performance of the DVS is better than or equal to that of the two-step observer. iii) If ii holds and there exists a set of parameters of the two-step observer that describes exactly the system, then the DVS is a minimum variance filter. 38/46

85 Other applications Dynamical Systems Modelling PWA dynamical systems arise in the following cases Linear system under Model Predictive Control Smooth maps approximated by PWA functions Circuit implementation of nonlinear systems 11 Hybrid Systems modelling Continuous dynamics described by linear difference equations; discrete dynamics described by finite state machines Equivalence with PWA systems Poggi et al. [2009] 12 Bemporad [2004] 39/46

86 Outline 1 Embedded systems 2 PWA functions Definitions Classes and representation forms 3 Evaluation of PWA functions 4 Applications Model Predictive Control Virtual sensors (nonlinear state observers) Others 5 Conclusions Matlab software and toolboxes Open issues 40/46

87 Conclusions PWA functions are a framework to solve many problems Optimal control State estimation Approximation/identification... They combine simplicity and complexity Simplicity easy to calculate Complexity approximation capabilities 41/46

88 Open issues Model Predictive Control Direct Approximated Explicit MPC Virtual Sensors A real application as a proof of concept Evaluation algorithms for DSP Simplicial non-uniform partitions Exploit lattice PWA form 42/46

89 Related Software Toolboxes for Matlab Multi-Parametric Toolbox (MPT) MPC solvers Computational geometry (polytopes) Lyapunov functions Hybrid Toolbox MPC solvers Hybrid systems modelling MOBY-DIC Toolbox Approximated Explicit MPC Lyapunov functions Virtual Sensors 43/46

90 Suggested bibliography I A. Alessio and A. Bemporad. A survey on explicit model predictive control. Lecture Notes in Control and Information Sciences, 384: , A. Bemporad. Efficient conversion of mixed logical dynamical systems into an equivalent piecewise affine form. IEEE Transactions on Automatic Control, 49(5): , A. Bemporad, M. Morari, V. Dua, and E.N. Pistikopoulos. The explicit linear quadratic regulator for constrained systems. Automatica, 38(1):3 20, A.N. Fuchs, C.N. Jones, and M. Morari. Optimized decision trees for point location in polytopic data setsapplication to explicit mpc. pages , B.A.G. Genuit, L. Lu, and W.P.M.H. Heemels. Approximation of explicit model predictive control using regular piecewise affine functions: An input-to-state stability approach. IET Control Theory and Applications, 6(8): , P. Grieder, M. Kvasnica, M. Baotic, and M. Morari. Stabilizing low complexity feedback control of constrained piecewise affine systems. Automatica, 41(10): , M. Parodi, M. Storace, and P. Julián. Synthesis of multiport resistors with piecewise-linear characteristics: A mixed-signal architecture. International Journal of Circuit Theory and Applications, 33(4): , T. Poggi, A. Sciutto, and M. Storace. Piecewise linear implementation of nonlinear dynamical systems: From theory to practice. Electronics Letters, 45(19): , T. Poggi, A. Bemporad, A. Oliveri, and M. Storace. Ultra-fast stabilizing model predictive control via canonical piecewise affine approximations. IEEE Transactions on Automatic Control, 56(12): , /46

91 Suggested bibliography II T. Poggi, M. Rubagotti, A. Bemporad, and M. Storace. High-speed piecewise affine virtual sensors. IEEE Transactions on Industrial Electronics, 59(2): , J.M. Tarela and M.V. Martínez. Region configurations for realizability of lattice piecewise-linear models. Mathematical and Computer Modelling, 30(11-12):17 27, P. Tøndel, T.A. Johansen, and A. Bemporad. Computation and approximation of piecewise affine control laws via binary search trees. volume 3, pages , C. Wen, X. Ma, and B.E. Ydstie. Analytical expression of explicit mpc solution via lattice piecewise-affine function. Automatica, 45(4): , /46

92 Thanks Questions and comments are welcome! 46/46

Prediktivno upravljanje primjenom matematičkog programiranja

Prediktivno upravljanje primjenom matematičkog programiranja Prediktivno upravljanje primjenom matematičkog programiranja Doc. dr. sc. Mato Baotić Fakultet elektrotehnike i računarstva Sveučilište u Zagrebu www.fer.hr/mato.baotic Outline Application Examples PredictiveControl

More information

EE C128 / ME C134 Feedback Control Systems

EE C128 / ME C134 Feedback Control Systems EE C128 / ME C134 Feedback Control Systems Lecture Additional Material Introduction to Model Predictive Control Maximilian Balandat Department of Electrical Engineering & Computer Science University of

More information

ECE7850 Lecture 9. Model Predictive Control: Computational Aspects

ECE7850 Lecture 9. Model Predictive Control: Computational Aspects ECE785 ECE785 Lecture 9 Model Predictive Control: Computational Aspects Model Predictive Control for Constrained Linear Systems Online Solution to Linear MPC Multiparametric Programming Explicit Linear

More information

Theory in Model Predictive Control :" Constraint Satisfaction and Stability!

Theory in Model Predictive Control : Constraint Satisfaction and Stability! Theory in Model Predictive Control :" Constraint Satisfaction and Stability Colin Jones, Melanie Zeilinger Automatic Control Laboratory, EPFL Example: Cessna Citation Aircraft Linearized continuous-time

More information

Robust Explicit MPC Based on Approximate Multi-parametric Convex Programming

Robust Explicit MPC Based on Approximate Multi-parametric Convex Programming 43rd IEEE Conference on Decision and Control December 4-7, 24 Atlantis, Paradise Island, Bahamas WeC6.3 Robust Explicit MPC Based on Approximate Multi-parametric Convex Programming D. Muñoz de la Peña

More information

LINEAR TIME VARYING TERMINAL LAWS IN MPQP

LINEAR TIME VARYING TERMINAL LAWS IN MPQP LINEAR TIME VARYING TERMINAL LAWS IN MPQP JA Rossiter Dept of Aut Control & Systems Eng University of Sheffield, Mappin Street Sheffield, S1 3JD, UK email: JARossiter@sheffieldacuk B Kouvaritakis M Cannon

More information

Example of Multiparametric Solution. Explicit Form of Model Predictive Control. via Multiparametric Programming. Finite-Time Constrained LQR

Example of Multiparametric Solution. Explicit Form of Model Predictive Control. via Multiparametric Programming. Finite-Time Constrained LQR Example of Multiparametric Solution Multiparametric LP ( ø R) 6 CR{,4} CR{,,3} Explicit Form of Model Predictive Control 4 CR{,3} CR{,3} x - -4-6 -6-4 - 4 6 x via Multiparametric Programming Finite-Time

More information

Explicit constrained nonlinear MPC

Explicit constrained nonlinear MPC Tor A. Johansen Norwegian University of Science and Technology, Trondheim, Norway Main topics ffl Approximate explicit nonlinear MPC based on orthogonal search trees ffl Approximate explicit nonlinear

More information

A Globally Stabilizing Receding Horizon Controller for Neutrally Stable Linear Systems with Input Constraints 1

A Globally Stabilizing Receding Horizon Controller for Neutrally Stable Linear Systems with Input Constraints 1 A Globally Stabilizing Receding Horizon Controller for Neutrally Stable Linear Systems with Input Constraints 1 Ali Jadbabaie, Claudio De Persis, and Tae-Woong Yoon 2 Department of Electrical Engineering

More information

Model Predictive Control of Hybrid Systems. Model Predictive Control of Hybrid Systems. Receding Horizon - Example. Receding Horizon Philosophy

Model Predictive Control of Hybrid Systems. Model Predictive Control of Hybrid Systems. Receding Horizon - Example. Receding Horizon Philosophy Model Predictive Control of Hybrid Systems Alberto Bemporad Dip. di Ingegneria dell Informazione Università degli Studi di Siena bemporad@dii.unisi.it http://www.dii.unisi.it/~bemporad Università degli

More information

MATH4406 (Control Theory) Unit 6: The Linear Quadratic Regulator (LQR) and Model Predictive Control (MPC) Prepared by Yoni Nazarathy, Artem

MATH4406 (Control Theory) Unit 6: The Linear Quadratic Regulator (LQR) and Model Predictive Control (MPC) Prepared by Yoni Nazarathy, Artem MATH4406 (Control Theory) Unit 6: The Linear Quadratic Regulator (LQR) and Model Predictive Control (MPC) Prepared by Yoni Nazarathy, Artem Pulemotov, September 12, 2012 Unit Outline Goal 1: Outline linear

More information

Learning Model Predictive Control for Iterative Tasks: A Computationally Efficient Approach for Linear System

Learning Model Predictive Control for Iterative Tasks: A Computationally Efficient Approach for Linear System Learning Model Predictive Control for Iterative Tasks: A Computationally Efficient Approach for Linear System Ugo Rosolia Francesco Borrelli University of California at Berkeley, Berkeley, CA 94701, USA

More information

Online Model Predictive Torque Control for Permanent Magnet Synchronous Motors

Online Model Predictive Torque Control for Permanent Magnet Synchronous Motors Online Model Predictive Torque Control for Permanent Magnet Synchronous Motors Gionata Cimini, Daniele Bernardini, Alberto Bemporad and Stephen Levijoki ODYS Srl General Motors Company 2015 IEEE International

More information

Further results on Robust MPC using Linear Matrix Inequalities

Further results on Robust MPC using Linear Matrix Inequalities Further results on Robust MPC using Linear Matrix Inequalities M. Lazar, W.P.M.H. Heemels, D. Muñoz de la Peña, T. Alamo Eindhoven Univ. of Technology, P.O. Box 513, 5600 MB, Eindhoven, The Netherlands,

More information

Verification of analog and mixed-signal circuits using hybrid systems techniques

Verification of analog and mixed-signal circuits using hybrid systems techniques FMCAD, November 2004, Austin Verification of analog and mixed-signal circuits using hybrid systems techniques Thao Dang, Alexandre Donze, Oded Maler VERIMAG Grenoble, France Plan 1. Introduction 2. Verification

More information

Explicit Approximate Model Predictive Control of Constrained Nonlinear Systems with Quantized Input

Explicit Approximate Model Predictive Control of Constrained Nonlinear Systems with Quantized Input Explicit Approximate Model Predictive Control of Constrained Nonlinear Systems with Quantized Input Alexandra Grancharova and Tor A. Johansen Institute of Control and System Research, Bulgarian Academy

More information

Explicit Model Predictive Control for Linear Parameter-Varying Systems

Explicit Model Predictive Control for Linear Parameter-Varying Systems Proceedings of the 47th IEEE Conference on Decision and Control Cancun, Mexico, Dec. 9-11, 2008 Explicit Model Predictive Control for Linear Parameter-Varying Systems Thomas Besselmann, Johan Löfberg and

More information

4F3 - Predictive Control

4F3 - Predictive Control 4F3 Predictive Control - Lecture 3 p 1/21 4F3 - Predictive Control Lecture 3 - Predictive Control with Constraints Jan Maciejowski jmm@engcamacuk 4F3 Predictive Control - Lecture 3 p 2/21 Constraints on

More information

MPC: Tracking, Soft Constraints, Move-Blocking

MPC: Tracking, Soft Constraints, Move-Blocking MPC: Tracking, Soft Constraints, Move-Blocking M. Morari, F. Borrelli, C. Jones, M. Zeilinger Institut für Automatik, ETH Zürich Institute for Dynamic Systems and Control, ETH Zürich UC Berkeley EPFL Spring

More information

Distributed and Real-time Predictive Control

Distributed and Real-time Predictive Control Distributed and Real-time Predictive Control Melanie Zeilinger Christian Conte (ETH) Alexander Domahidi (ETH) Ye Pu (EPFL) Colin Jones (EPFL) Challenges in modern control systems Power system: - Frequency

More information

Robustly stable feedback min-max model predictive control 1

Robustly stable feedback min-max model predictive control 1 Robustly stable feedback min-max model predictive control 1 Eric C. Kerrigan 2 and Jan M. Maciejowski Department of Engineering, University of Cambridge Trumpington Street, Cambridge CB2 1PZ, United Kingdom

More information

IMPLEMENTATIONS OF TRACKING MULTIPARAMETRIC PREDICTIVE CONTROLLER. Pregelj Boštjan, Gerkšič Samo. Jozef Stefan Institute, Ljubljana, Slovenia

IMPLEMENTATIONS OF TRACKING MULTIPARAMETRIC PREDICTIVE CONTROLLER. Pregelj Boštjan, Gerkšič Samo. Jozef Stefan Institute, Ljubljana, Slovenia IMPLEMENTATIONS OF TRACKING MULTIPARAMETRIC PREDICTIVE CONTROLLER Pregelj Boštjan, Gerkšič Samo Jozef Stefan Institute, Ljubljana, Slovenia Abstract: With the recently developed multi-parametric predictive

More information

Model Predictive Control of Hybrid Systems by A. Bemporad Controllo di Processo e dei Sistemi di Produzione A.a.

Model Predictive Control of Hybrid Systems by A. Bemporad Controllo di Processo e dei Sistemi di Produzione A.a. Model Predictive Control of Hybrid Systems 2009 by A. Bemporad Controllo di Processo e dei Sistemi di Produzione A.a. 2008/09 1/52 Hybrid Control Problem hybrid process continuous inputs continuous states

More information

Complexity Reduction in Explicit MPC through Model Reduction

Complexity Reduction in Explicit MPC through Model Reduction Proceedings of the 17th World Congress The International Federation of Automatic Control Seoul, Korea, July 6-11, 28 Complexity Reduction in Explicit MPC through Model Reduction Svein Hovland Jan Tommy

More information

Minimal conjunctive normal expression of continuous piecewise affine functions

Minimal conjunctive normal expression of continuous piecewise affine functions Delft University of Technology Delft Center for Systems and Control Technical report 5-08 inimal conjunctive normal expression of continuous piecewise affine functions J. Xu, T.J.J. van den Boom, B. De

More information

ECE7850 Lecture 7. Discrete Time Optimal Control and Dynamic Programming

ECE7850 Lecture 7. Discrete Time Optimal Control and Dynamic Programming ECE7850 Lecture 7 Discrete Time Optimal Control and Dynamic Programming Discrete Time Optimal control Problems Short Introduction to Dynamic Programming Connection to Stabilization Problems 1 DT nonlinear

More information

MODEL PREDICTIVE SLIDING MODE CONTROL FOR CONSTRAINT SATISFACTION AND ROBUSTNESS

MODEL PREDICTIVE SLIDING MODE CONTROL FOR CONSTRAINT SATISFACTION AND ROBUSTNESS MODEL PREDICTIVE SLIDING MODE CONTROL FOR CONSTRAINT SATISFACTION AND ROBUSTNESS Yizhou Wang, Wenjie Chen, Masayoshi Tomizuka Department of Mechanical Engineering University of California Berkeley, California

More information

A Lyapunov method for stability analysis of piecewise-affine systems over non-invariant domains

A Lyapunov method for stability analysis of piecewise-affine systems over non-invariant domains INTERNATIONAL JOURNAL OF CONTROL, 2016 VOL. 89, NO. 5, 950 959 http://dx.doi.org/10.1080/00207179.2015.1108456 A Lyapunov method for stability analysis of piecewise-affine systems over non-invariant domains

More information

ECE7850 Lecture 8. Nonlinear Model Predictive Control: Theoretical Aspects

ECE7850 Lecture 8. Nonlinear Model Predictive Control: Theoretical Aspects ECE7850 Lecture 8 Nonlinear Model Predictive Control: Theoretical Aspects Model Predictive control (MPC) is a powerful control design method for constrained dynamical systems. The basic principles and

More information

Lecture 1 Introduction

Lecture 1 Introduction L. Vandenberghe EE236A (Fall 2013-14) Lecture 1 Introduction course overview linear optimization examples history approximate syllabus basic definitions linear optimization in vector and matrix notation

More information

Offset Free Model Predictive Control

Offset Free Model Predictive Control Proceedings of the 46th IEEE Conference on Decision and Control New Orleans, LA, USA, Dec. 12-14, 27 Offset Free Model Predictive Control Francesco Borrelli, Manfred Morari. Abstract This work addresses

More information

A hybrid MPC approach to the design of a Smart adaptive cruise controller

A hybrid MPC approach to the design of a Smart adaptive cruise controller Delft University of Technology Delft Center for Systems and Control Technical report 6-9 A hybrid MPC approach to the design of a Smart adaptive cruise controller D. Corona, M. Lazar, B. De Schutter, and

More information

4F3 - Predictive Control

4F3 - Predictive Control 4F3 Predictive Control - Lecture 2 p 1/23 4F3 - Predictive Control Lecture 2 - Unconstrained Predictive Control Jan Maciejowski jmm@engcamacuk 4F3 Predictive Control - Lecture 2 p 2/23 References Predictive

More information

Decentralized and distributed control

Decentralized and distributed control Decentralized and distributed control Centralized control for constrained discrete-time systems M. Farina 1 G. Ferrari Trecate 2 1 Dipartimento di Elettronica, Informazione e Bioingegneria (DEIB) Politecnico

More information

Tube Model Predictive Control Using Homothety & Invariance

Tube Model Predictive Control Using Homothety & Invariance Tube Model Predictive Control Using Homothety & Invariance Saša V. Raković rakovic@control.ee.ethz.ch http://control.ee.ethz.ch/~srakovic Collaboration in parts with Mr. Mirko Fiacchini Automatic Control

More information

X X 1. x (t,x0,u y ) x2 (t,x0,u y ) x-space x u(t)

X X 1. x (t,x0,u y ) x2 (t,x0,u y ) x-space x u(t) Piecewise Linear Optimal Controllers for Hybrid Systems Alberto Bemporad, Francesco Borrelli, Manfred Morari Automatic Control Laboratory ETH Zentrum, ETL I 6 CH-9 Zurich, Switzerland bemporad,borrelli,morari@aut.ee.ethz.ch

More information

The ϵ-capacity of a gain matrix and tolerable disturbances: Discrete-time perturbed linear systems

The ϵ-capacity of a gain matrix and tolerable disturbances: Discrete-time perturbed linear systems IOSR Journal of Mathematics (IOSR-JM) e-issn: 2278-5728, p-issn: 2319-765X. Volume 11, Issue 3 Ver. IV (May - Jun. 2015), PP 52-62 www.iosrjournals.org The ϵ-capacity of a gain matrix and tolerable disturbances:

More information

FINITE HORIZON ROBUST MODEL PREDICTIVE CONTROL USING LINEAR MATRIX INEQUALITIES. Danlei Chu, Tongwen Chen, Horacio J. Marquez

FINITE HORIZON ROBUST MODEL PREDICTIVE CONTROL USING LINEAR MATRIX INEQUALITIES. Danlei Chu, Tongwen Chen, Horacio J. Marquez FINITE HORIZON ROBUST MODEL PREDICTIVE CONTROL USING LINEAR MATRIX INEQUALITIES Danlei Chu Tongwen Chen Horacio J Marquez Department of Electrical and Computer Engineering University of Alberta Edmonton

More information

Lecture Note 7: Switching Stabilization via Control-Lyapunov Function

Lecture Note 7: Switching Stabilization via Control-Lyapunov Function ECE7850: Hybrid Systems:Theory and Applications Lecture Note 7: Switching Stabilization via Control-Lyapunov Function Wei Zhang Assistant Professor Department of Electrical and Computer Engineering Ohio

More information

Prashant Mhaskar, Nael H. El-Farra & Panagiotis D. Christofides. Department of Chemical Engineering University of California, Los Angeles

Prashant Mhaskar, Nael H. El-Farra & Panagiotis D. Christofides. Department of Chemical Engineering University of California, Los Angeles HYBRID PREDICTIVE OUTPUT FEEDBACK STABILIZATION OF CONSTRAINED LINEAR SYSTEMS Prashant Mhaskar, Nael H. El-Farra & Panagiotis D. Christofides Department of Chemical Engineering University of California,

More information

Part II: Model Predictive Control

Part II: Model Predictive Control Part II: Model Predictive Control Manfred Morari Alberto Bemporad Francesco Borrelli Unconstrained Optimal Control Unconstrained infinite time optimal control V (x 0 )= inf U k=0 [ x k Qx k + u k Ru k]

More information

Optimal and suboptimal event-triggering in linear model predictive control

Optimal and suboptimal event-triggering in linear model predictive control Preamble. This is a reprint of the article: M. Jost, M. Schulze Darup and M. Mönnigmann. Optimal and suboptimal eventtriggering in linear model predictive control. In Proc. of the 25 European Control Conference,

More information

Linear Offset-Free Model Predictive Control

Linear Offset-Free Model Predictive Control Linear Offset-Free Model Predictive Control Urban Maeder a,, Francesco Borrelli b, Manfred Morari a a Automatic Control Lab, ETH Zurich, CH-892 Zurich, Switzerland b Department of Mechanical Engineering,

More information

Reference Governor for Constrained Piecewise Affine Systems

Reference Governor for Constrained Piecewise Affine Systems Reference Governor for Constrained Piecewise Affine Systems Francesco Borrelli a,, Paolo Falcone b, Jaroslav Pekar c, Greg Stewart d a Department of Mechanical Engineering, University of California, Berkeley,

More information

ONR MURI AIRFOILS: Animal Inspired Robust Flight with Outer and Inner Loop Strategies. Calin Belta

ONR MURI AIRFOILS: Animal Inspired Robust Flight with Outer and Inner Loop Strategies. Calin Belta ONR MURI AIRFOILS: Animal Inspired Robust Flight with Outer and Inner Loop Strategies Provable safety for animal inspired agile flight Calin Belta Hybrid and Networked Systems (HyNeSs) Lab Department of

More information

Appendix A Solving Linear Matrix Inequality (LMI) Problems

Appendix A Solving Linear Matrix Inequality (LMI) Problems Appendix A Solving Linear Matrix Inequality (LMI) Problems In this section, we present a brief introduction about linear matrix inequalities which have been used extensively to solve the FDI problems described

More information

Probabilistic Controllability Analysis of Sampled-Data/Discrete-Time Piecewise Affine Systems

Probabilistic Controllability Analysis of Sampled-Data/Discrete-Time Piecewise Affine Systems Probabilistic Controllability Analysis of Sampled-Data/Discrete-Time Piecewise Affine Systems Shun-ichi Azuma Jun-ichi Imura Toyo Institute of Technology; 2-12-1, O-oayama, Meguro-u, Toyo 152-8552, Japan

More information

Hybrid Systems Course Lyapunov stability

Hybrid Systems Course Lyapunov stability Hybrid Systems Course Lyapunov stability OUTLINE Focus: stability of an equilibrium point continuous systems decribed by ordinary differential equations (brief review) hybrid automata OUTLINE Focus: stability

More information

On-off Control: Audio Applications

On-off Control: Audio Applications On-off Control: Audio Applications Graham C. Goodwin Day 4: Lecture 3 16th September 2004 International Summer School Grenoble, France 1 Background In this lecture we address the issue of control when

More information

Time-Invariant Linear Quadratic Regulators!

Time-Invariant Linear Quadratic Regulators! Time-Invariant Linear Quadratic Regulators Robert Stengel Optimal Control and Estimation MAE 546 Princeton University, 17 Asymptotic approach from time-varying to constant gains Elimination of cross weighting

More information

arxiv: v1 [cs.sy] 28 May 2013

arxiv: v1 [cs.sy] 28 May 2013 From Parametric Model-based Optimization to robust PID Gain Scheduling Minh H.. Nguyen a,, K.K. an a a National University of Singapore, Department of Electrical and Computer Engineering, 3 Engineering

More information

IMPROVED MPC DESIGN BASED ON SATURATING CONTROL LAWS

IMPROVED MPC DESIGN BASED ON SATURATING CONTROL LAWS IMPROVED MPC DESIGN BASED ON SATURATING CONTROL LAWS D. Limon, J.M. Gomes da Silva Jr., T. Alamo and E.F. Camacho Dpto. de Ingenieria de Sistemas y Automática. Universidad de Sevilla Camino de los Descubrimientos

More information

Explicit Robust Model Predictive Control

Explicit Robust Model Predictive Control Explicit Robust Model Predictive Control Efstratios N. Pistikopoulos Nuno P. Faísca Konstantinos I. Kouramas Christos Panos Centre for Process Systems Engineering, Department of Chemical Engineering, Imperial

More information

ESC794: Special Topics: Model Predictive Control

ESC794: Special Topics: Model Predictive Control ESC794: Special Topics: Model Predictive Control Discrete-Time Systems Hanz Richter, Professor Mechanical Engineering Department Cleveland State University Discrete-Time vs. Sampled-Data Systems A continuous-time

More information

Fast Model Predictive Control with Soft Constraints

Fast Model Predictive Control with Soft Constraints European Control Conference (ECC) July 7-9,, Zürich, Switzerland. Fast Model Predictive Control with Soft Constraints Arthur Richards Department of Aerospace Engineering, University of Bristol Queens Building,

More information

Moving Horizon Filter for Monotonic Trends

Moving Horizon Filter for Monotonic Trends 43rd IEEE Conference on Decision and Control December 4-7, 2004 Atlantis, Paradise Island, Bahamas ThA.3 Moving Horizon Filter for Monotonic Trends Sikandar Samar Stanford University Dimitry Gorinevsky

More information

On the Inherent Robustness of Suboptimal Model Predictive Control

On the Inherent Robustness of Suboptimal Model Predictive Control On the Inherent Robustness of Suboptimal Model Predictive Control James B. Rawlings, Gabriele Pannocchia, Stephen J. Wright, and Cuyler N. Bates Department of Chemical & Biological Engineering Computer

More information

Event-Triggered Decentralized Dynamic Output Feedback Control for LTI Systems

Event-Triggered Decentralized Dynamic Output Feedback Control for LTI Systems Event-Triggered Decentralized Dynamic Output Feedback Control for LTI Systems Pavankumar Tallapragada Nikhil Chopra Department of Mechanical Engineering, University of Maryland, College Park, 2742 MD,

More information

Symmetric Constrained Optimal Control: Theory, Algorithms, and Applications. Claus Robert Danielson

Symmetric Constrained Optimal Control: Theory, Algorithms, and Applications. Claus Robert Danielson Symmetric Constrained Optimal Control: Theory, Algorithms, and Applications by Claus Robert Danielson A dissertation submitted in partial satisfaction of the requirements for the degree of Doctor of Philosophy

More information

EE363 homework 8 solutions

EE363 homework 8 solutions EE363 Prof. S. Boyd EE363 homework 8 solutions 1. Lyapunov condition for passivity. The system described by ẋ = f(x, u), y = g(x), x() =, with u(t), y(t) R m, is said to be passive if t u(τ) T y(τ) dτ

More information

Time-Invariant Linear Quadratic Regulators Robert Stengel Optimal Control and Estimation MAE 546 Princeton University, 2015

Time-Invariant Linear Quadratic Regulators Robert Stengel Optimal Control and Estimation MAE 546 Princeton University, 2015 Time-Invariant Linear Quadratic Regulators Robert Stengel Optimal Control and Estimation MAE 546 Princeton University, 15 Asymptotic approach from time-varying to constant gains Elimination of cross weighting

More information

A new low-and-high gain feedback design using MPC for global stabilization of linear systems subject to input saturation

A new low-and-high gain feedback design using MPC for global stabilization of linear systems subject to input saturation A new low-and-high gain feedbac design using MPC for global stabilization of linear systems subject to input saturation Xu Wang 1 Håvard Fjær Grip 1; Ali Saberi 1 Tor Arne Johansen Abstract In this paper,

More information

Predictive Control of Gyroscopic-Force Actuators for Mechanical Vibration Damping

Predictive Control of Gyroscopic-Force Actuators for Mechanical Vibration Damping ARC Centre of Excellence for Complex Dynamic Systems and Control, pp 1 15 Predictive Control of Gyroscopic-Force Actuators for Mechanical Vibration Damping Tristan Perez 1, 2 Joris B Termaat 3 1 School

More information

Hybrid Systems - Lecture n. 3 Lyapunov stability

Hybrid Systems - Lecture n. 3 Lyapunov stability OUTLINE Focus: stability of equilibrium point Hybrid Systems - Lecture n. 3 Lyapunov stability Maria Prandini DEI - Politecnico di Milano E-mail: prandini@elet.polimi.it continuous systems decribed by

More information

EE363 homework 2 solutions

EE363 homework 2 solutions EE363 Prof. S. Boyd EE363 homework 2 solutions. Derivative of matrix inverse. Suppose that X : R R n n, and that X(t is invertible. Show that ( d d dt X(t = X(t dt X(t X(t. Hint: differentiate X(tX(t =

More information

Adaptive Nonlinear Model Predictive Control with Suboptimality and Stability Guarantees

Adaptive Nonlinear Model Predictive Control with Suboptimality and Stability Guarantees Adaptive Nonlinear Model Predictive Control with Suboptimality and Stability Guarantees Pontus Giselsson Department of Automatic Control LTH Lund University Box 118, SE-221 00 Lund, Sweden pontusg@control.lth.se

More information

Predictive control of hybrid systems: Input-to-state stability results for sub-optimal solutions

Predictive control of hybrid systems: Input-to-state stability results for sub-optimal solutions Predictive control of hybrid systems: Input-to-state stability results for sub-optimal solutions M. Lazar, W.P.M.H. Heemels a a Eindhoven Univ. of Technology, P.O. Box 513, 5600 MB Eindhoven, The Netherlands

More information

WE propose the tracking trajectory control of a tricycle

WE propose the tracking trajectory control of a tricycle Proceedings of the International MultiConference of Engineers and Computer Scientists 7 Vol I, IMECS 7, March - 7, 7, Hong Kong Trajectory Tracking Controller Design for A Tricycle Robot Using Piecewise

More information

Active Fault Diagnosis for Uncertain Systems

Active Fault Diagnosis for Uncertain Systems Active Fault Diagnosis for Uncertain Systems Davide M. Raimondo 1 Joseph K. Scott 2, Richard D. Braatz 2, Roberto Marseglia 1, Lalo Magni 1, Rolf Findeisen 3 1 Identification and Control of Dynamic Systems

More information

Static Output Feedback Stabilisation with H Performance for a Class of Plants

Static Output Feedback Stabilisation with H Performance for a Class of Plants Static Output Feedback Stabilisation with H Performance for a Class of Plants E. Prempain and I. Postlethwaite Control and Instrumentation Research, Department of Engineering, University of Leicester,

More information

1. Find the solution of the following uncontrolled linear system. 2 α 1 1

1. Find the solution of the following uncontrolled linear system. 2 α 1 1 Appendix B Revision Problems 1. Find the solution of the following uncontrolled linear system 0 1 1 ẋ = x, x(0) =. 2 3 1 Class test, August 1998 2. Given the linear system described by 2 α 1 1 ẋ = x +

More information

Improved MPC Design based on Saturating Control Laws

Improved MPC Design based on Saturating Control Laws Improved MPC Design based on Saturating Control Laws D.Limon 1, J.M.Gomes da Silva Jr. 2, T.Alamo 1 and E.F.Camacho 1 1. Dpto. de Ingenieria de Sistemas y Automática. Universidad de Sevilla, Camino de

More information

Optimal Control of Mixed Logical Dynamical Systems with Linear Temporal Logic Specifications

Optimal Control of Mixed Logical Dynamical Systems with Linear Temporal Logic Specifications Optimal Control of Mixed Logical Dynamical Systems with Linear Temporal Logic Specifications Sertac Karaman, Ricardo G. Sanfelice, and Emilio Frazzoli Abstract Recently, Linear Temporal Logic (LTL) has

More information

SYSTEMTEORI - KALMAN FILTER VS LQ CONTROL

SYSTEMTEORI - KALMAN FILTER VS LQ CONTROL SYSTEMTEORI - KALMAN FILTER VS LQ CONTROL 1. Optimal regulator with noisy measurement Consider the following system: ẋ = Ax + Bu + w, x(0) = x 0 where w(t) is white noise with Ew(t) = 0, and x 0 is a stochastic

More information

An LMI Approach to the Control of a Compact Disc Player. Marco Dettori SC Solutions Inc. Santa Clara, California

An LMI Approach to the Control of a Compact Disc Player. Marco Dettori SC Solutions Inc. Santa Clara, California An LMI Approach to the Control of a Compact Disc Player Marco Dettori SC Solutions Inc. Santa Clara, California IEEE SCV Control Systems Society Santa Clara University March 15, 2001 Overview of my Ph.D.

More information

Necessary and Sufficient Conditions for Reachability on a Simplex

Necessary and Sufficient Conditions for Reachability on a Simplex Necessary and Sufficient Conditions for Reachability on a Simplex Bartek Roszak a, Mireille E. Broucke a a Edward S. Rogers Sr. Department of Electrical and Computer Engineering, University of Toronto,

More information

Trajectory Tracking Control of Bimodal Piecewise Affine Systems

Trajectory Tracking Control of Bimodal Piecewise Affine Systems 25 American Control Conference June 8-1, 25. Portland, OR, USA ThB17.4 Trajectory Tracking Control of Bimodal Piecewise Affine Systems Kazunori Sakurama, Toshiharu Sugie and Kazushi Nakano Abstract This

More information

Modeling and Analysis of Dynamic Systems

Modeling and Analysis of Dynamic Systems Modeling and Analysis of Dynamic Systems Dr. Guillaume Ducard Fall 2017 Institute for Dynamic Systems and Control ETH Zurich, Switzerland G. Ducard c 1 / 57 Outline 1 Lecture 13: Linear System - Stability

More information

Approximate MLD System Model of Switched Linear Systems for Model Predictive Control

Approximate MLD System Model of Switched Linear Systems for Model Predictive Control Special Issue on SICE Annual Conference 2016 SICE Journal of Control Measurement and System Integration Vol. 10 No. 3 pp. 136 140 May 2017 Approximate MLD System Model of Switched Linear Systems for Model

More information

Stability and Invariance Analysis of Uncertain Discrete-Time Piecewise Affine Systems REFERENCES. Let (formulation (II.

Stability and Invariance Analysis of Uncertain Discrete-Time Piecewise Affine Systems REFERENCES. Let (formulation (II. IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL 58, NO 9, SEPTEMBER 2013 2359 Let (formulation (II2)) we solve [15] J Rosenthal, Tuning natural frequencies by output feedback, in Computation and Control, serprocbozemanconference,

More information

Model Predictive Control of Magnetic Automotive Actuators

Model Predictive Control of Magnetic Automotive Actuators Proceedings of the 27 American Control Conference Marriott Marquis Hotel at Times Square New York City, USA, July 11-13, 27 FrB6.1 Model Predictive Control of Magnetic Automotive Actuators Stefano Di Cairano,

More information

Optimal Control. Lecture 18. Hamilton-Jacobi-Bellman Equation, Cont. John T. Wen. March 29, Ref: Bryson & Ho Chapter 4.

Optimal Control. Lecture 18. Hamilton-Jacobi-Bellman Equation, Cont. John T. Wen. March 29, Ref: Bryson & Ho Chapter 4. Optimal Control Lecture 18 Hamilton-Jacobi-Bellman Equation, Cont. John T. Wen Ref: Bryson & Ho Chapter 4. March 29, 2004 Outline Hamilton-Jacobi-Bellman (HJB) Equation Iterative solution of HJB Equation

More information

Suppose that we have a specific single stage dynamic system governed by the following equation:

Suppose that we have a specific single stage dynamic system governed by the following equation: Dynamic Optimisation Discrete Dynamic Systems A single stage example Suppose that we have a specific single stage dynamic system governed by the following equation: x 1 = ax 0 + bu 0, x 0 = x i (1) where

More information

1 The Observability Canonical Form

1 The Observability Canonical Form NONLINEAR OBSERVERS AND SEPARATION PRINCIPLE 1 The Observability Canonical Form In this Chapter we discuss the design of observers for nonlinear systems modelled by equations of the form ẋ = f(x, u) (1)

More information

Lecture 7 : Generalized Plant and LFT form Dr.-Ing. Sudchai Boonto Assistant Professor

Lecture 7 : Generalized Plant and LFT form Dr.-Ing. Sudchai Boonto Assistant Professor Dr.-Ing. Sudchai Boonto Assistant Professor Department of Control System and Instrumentation Engineering King Mongkuts Unniversity of Technology Thonburi Thailand Linear Quadratic Gaussian The state space

More information

Output Feedback and State Feedback. EL2620 Nonlinear Control. Nonlinear Observers. Nonlinear Controllers. ẋ = f(x,u), y = h(x)

Output Feedback and State Feedback. EL2620 Nonlinear Control. Nonlinear Observers. Nonlinear Controllers. ẋ = f(x,u), y = h(x) Output Feedback and State Feedback EL2620 Nonlinear Control Lecture 10 Exact feedback linearization Input-output linearization Lyapunov-based control design methods ẋ = f(x,u) y = h(x) Output feedback:

More information

Chapter 2 Optimal Control Problem

Chapter 2 Optimal Control Problem Chapter 2 Optimal Control Problem Optimal control of any process can be achieved either in open or closed loop. In the following two chapters we concentrate mainly on the first class. The first chapter

More information

OPTIMAL CONSTRAINED CONTROL ALLOCATION IN MARINE SURFACE VESSELS WITH RUDDERS. Tor A. Johansen Λ Thomas P. Fuglseth Λ Petter Tøndel Λ Thor I.

OPTIMAL CONSTRAINED CONTROL ALLOCATION IN MARINE SURFACE VESSELS WITH RUDDERS. Tor A. Johansen Λ Thomas P. Fuglseth Λ Petter Tøndel Λ Thor I. OPTIMAL CONSTRAINED CONTROL ALLOCATION IN MARINE SURFACE VESSELS WITH RUDDERS Tor A. Johansen Λ Thomas P. Fuglseth Λ Petter Tøndel Λ Thor I. Fossen Λ Λ Department of Engineering Cybernetics, Norwegian

More information

Robust Observer for Uncertain T S model of a Synchronous Machine

Robust Observer for Uncertain T S model of a Synchronous Machine Recent Advances in Circuits Communications Signal Processing Robust Observer for Uncertain T S model of a Synchronous Machine OUAALINE Najat ELALAMI Noureddine Laboratory of Automation Computer Engineering

More information

6.241 Dynamic Systems and Control

6.241 Dynamic Systems and Control 6.241 Dynamic Systems and Control Lecture 24: H2 Synthesis Emilio Frazzoli Aeronautics and Astronautics Massachusetts Institute of Technology May 4, 2011 E. Frazzoli (MIT) Lecture 24: H 2 Synthesis May

More information

Final Exam Solutions

Final Exam Solutions EE55: Linear Systems Final Exam SIST, ShanghaiTech Final Exam Solutions Course: Linear Systems Teacher: Prof. Boris Houska Duration: 85min YOUR NAME: (type in English letters) I Introduction This exam

More information

Homework Solution # 3

Homework Solution # 3 ECSE 644 Optimal Control Feb, 4 Due: Feb 17, 4 (Tuesday) Homework Solution # 3 1 (5%) Consider the discrete nonlinear control system in Homework # For the optimal control and trajectory that you have found

More information

Enlarged terminal sets guaranteeing stability of receding horizon control

Enlarged terminal sets guaranteeing stability of receding horizon control Enlarged terminal sets guaranteeing stability of receding horizon control J.A. De Doná a, M.M. Seron a D.Q. Mayne b G.C. Goodwin a a School of Electrical Engineering and Computer Science, The University

More information

Fast Algorithms for SDPs derived from the Kalman-Yakubovich-Popov Lemma

Fast Algorithms for SDPs derived from the Kalman-Yakubovich-Popov Lemma Fast Algorithms for SDPs derived from the Kalman-Yakubovich-Popov Lemma Venkataramanan (Ragu) Balakrishnan School of ECE, Purdue University 8 September 2003 European Union RTN Summer School on Multi-Agent

More information

A FAST, EASILY TUNED, SISO, MODEL PREDICTIVE CONTROLLER. Gabriele Pannocchia,1 Nabil Laachi James B. Rawlings

A FAST, EASILY TUNED, SISO, MODEL PREDICTIVE CONTROLLER. Gabriele Pannocchia,1 Nabil Laachi James B. Rawlings A FAST, EASILY TUNED, SISO, MODEL PREDICTIVE CONTROLLER Gabriele Pannocchia, Nabil Laachi James B. Rawlings Department of Chemical Engineering Univ. of Pisa Via Diotisalvi 2, 5626 Pisa (Italy) Department

More information

MPC for tracking periodic reference signals

MPC for tracking periodic reference signals MPC for tracking periodic reference signals D. Limon T. Alamo D.Muñoz de la Peña M.N. Zeilinger C.N. Jones M. Pereira Departamento de Ingeniería de Sistemas y Automática, Escuela Superior de Ingenieros,

More information

Optimal control and estimation

Optimal control and estimation Automatic Control 2 Optimal control and estimation Prof. Alberto Bemporad University of Trento Academic year 2010-2011 Prof. Alberto Bemporad (University of Trento) Automatic Control 2 Academic year 2010-2011

More information

Anytime Planning for Decentralized Multi-Robot Active Information Gathering

Anytime Planning for Decentralized Multi-Robot Active Information Gathering Anytime Planning for Decentralized Multi-Robot Active Information Gathering Brent Schlotfeldt 1 Dinesh Thakur 1 Nikolay Atanasov 2 Vijay Kumar 1 George Pappas 1 1 GRASP Laboratory University of Pennsylvania

More information

Multiobjective Optimization Applied to Robust H 2 /H State-feedback Control Synthesis

Multiobjective Optimization Applied to Robust H 2 /H State-feedback Control Synthesis Multiobjective Optimization Applied to Robust H 2 /H State-feedback Control Synthesis Eduardo N. Gonçalves, Reinaldo M. Palhares, and Ricardo H. C. Takahashi Abstract This paper presents an algorithm for

More information

Course on Model Predictive Control Part II Linear MPC design

Course on Model Predictive Control Part II Linear MPC design Course on Model Predictive Control Part II Linear MPC design Gabriele Pannocchia Department of Chemical Engineering, University of Pisa, Italy Email: g.pannocchia@diccism.unipi.it Facoltà di Ingegneria,

More information