Model Predicive Control An Introduction - PowerPoint PPT Presentation

1 / 47
About This Presentation
Title:

Model Predicive Control An Introduction

Description:

Chess as RHC. Prediction of opponents moves. Optimization of outcome a few moves ahead ... The free response. Cost function to minimize. Control law (calculated ... – PowerPoint PPT presentation

Number of Views:56
Avg rating:3.0/5.0
Slides: 48
Provided by: thomas810
Category:

less

Transcript and Presenter's Notes

Title: Model Predicive Control An Introduction


1
(No Transcript)
2
Model Predicive Control- An Introduction
  • Johan Ã…kesson
  • Department of Automatic Control
  • Lund Institute of Technology

3
Introduction
  • Why MPC?
  • On-line optimization
  • Deals explicitly with common problems
  • Centralized control
  • Complex plants
  • Multi-level
  • Constraint handling
  • Input saturation
  • State constraints

4
Short History of MPC
  • Dynamic Matrix Control (Early 1970s)
  • Industrial initiative
  • Linear step response models
  • IDCOM (Mid 1970s)
  • Impulse response models
  • Input and output constraints
  • Many extensions during the following decades
  • Several industrial products

(Cutler and Ramaker 1979)
(Richalet et al. 1976)
(Qin 2002)
5
Short History of MPC contd
  • Several streams of theory
  • Process control
  • Generalized predictive control
  • Theoretical foundations
  • Major research contributions during the last two
    decades

6
Areas of application
  • Process industry
  • Petroleum
  • Steel
  • Foods
  • (Pulp and paper)
  • New areas
  • Air plane control
  • Supply chain management
  • Waste water treatment

7
Receding Horizon Control
  • At time k, solve an open loop optimal control
    problem over a predefined horizon and apply the
    first input.
  • At time k1 repeat the same procedure. (The
    previous optimal solution is discarded!)

8
Chess as RHC
  • Prediction of opponents moves
  • Optimization of outcome a few moves ahead
  • An unexpected move from the opponent change of
    strategy!
  • Good players thinks several moves ahead long
    prediction horizon!

9
Receding Horizon Control
  • u constant after Hu samples
  • Optimization over Hp

10
MPC for Linear Systems
  • Model assumptions
  • Measured outputs
  • Controlled outputs
  • Constrained outputs

Notation from (Maciejowski 2003)
11
An Optimal Control Problem
  • The cost function
  • Prediction horizon, Hp
  • Control horizon, Hu
  • First sample to be included, Hw

12
Why Penalize ?
  • Simple to handle
  • No need to specify
  • Still possible to penalize !

13
Prediction Matrices
  • Re-formulation of optimization problem

14
Prediction Matrices contd
  • Controlled variables

15
Prediction Matrices contd
  • The prediction Matrices should be calculated
    off-line

16
The Optimization Problem
  • The free response
  • Cost function to minimize
  • Control law (calculated off-line)

17
Constraints
  • Practically all control systems must handle
    constraints
  • MPC does it explicitly
  • Control increments
  • Control variables
  • Constrained variables

18
Constraints contd
  • Constraint matrices
  • LICQP problem
  • Convex problem
  • Efficient algorithms

19
Quadratic Programming Solvers
  • Active set algorithms (QP)
  • Given an active set of constraints, the solution
    may be written on closed form
  • Modify the active set until solution found!

20
Quadratic Programming Solverscontd
  • Primal-dual interior point algorithms
  • Solves the problem simultaneous in the primal and
    dual spaces
  • Works well for very large systems
  • Much to gain by exploring the structure of the
    MPC LICQP problem

21
State Estimation
  • Usually, the state vector is not available
  • Observer necessary, e.g. a Kalman filter
  • Optimization based on current state estimates

22
Blocking Factors
  • Increase horizons without increasing complexity
  • Example Let every other be
    zero in the control horizon
  • New cost function

23
Linearity of the Controller(No active
constraints)
  • The controller is linear!
  • Only the first control is applied
  • Pitfall constraints

24
MPC as a 2-DOF Controller
  • Linear feedback (if no constraints active)
  • Enables standard analysis methods

25
Theoretical issues
  • Feasibility
  • Is there a solution of the optimization problem?
  • Stability
  • Under what conditions is the closed loop system
    stable?
  • Computational complexity
  • Performance degradation
  • due to delay?

26
MPC Stability
  • Non-linear controller!
  • Use the cost function as a Lyapunov function
  • Modifications needed to guarantee stability

(Mayne et. al. 2000)
27
MPC Stability contd
  • Terminal equality constraint
  • Terminal cost function
  • Dual mode control infinite horizon
  • Terminal constraint set
  • Increase feasibility region
  • Terminal cost and constraint set

28
An MPC Stability Theorem-Terminal equality
constraint

(Bemporad et. al. 1994)
29
An MPC Stability Theorem contd

30
An MPC Stability Theorem contd
  • Optimality not needed for stability!

31
An MPC Stability Theorem contd

32
An MPC Stability Theorem contd
  • What about asymptotic stability?

33
Error-free Tracking
  • Integral action necessary
  • Disturbances
  • Plant-model mismatch
  • Include explicit integrators?
  • How to penalize the integrator states?

34
Integral Action
  • Use a disturbance observer!
  • Assume constant input disturbances
  • If pgtm, introduce constant output disturbances on
    additional outputs

(Ã…kesson and Hagander, 2003)
35
Implementational Aspects
  • On-line optimization is computationally
    demanding!
  • Execution times highly varying

36
Explicit MPC
  • Linear system model and inequality constraints
  • Idea
  • The MPC controller is piecewise linear!
  • Calculate all controllers off-line
  • Partitioning of state space
  • At run-time find the right control law!
  • On-line optimization eliminated!
  • Exactly the same controller!
  • Memory consuming

(Bemporad et al. 2002)
37
Non-linear MPC
  • Assume a non-linear system model
  • General cost function

38
Non-linear MPC contd
  • Pros
  • Increased area of applicability
  • Stability proofs hold
  • Optimality not needed for stability
  • Cons
  • Convexity lost
  • Local minima
  • Increased computation time
  • Active area of research

39
Hybrid MPC
  • Mixed Logic Dynamics (MLD)
  • Dynamics
  • Logic
  • State machines
  • Hard optimization problems
  • Mixed Integer Quadratic Programs
  • Specialized solvers
  • Successful implementations!

(Bemporad et al. 1999)
40
MPC tools for Matlab
  • Enable detailed analysis
  • Controller behavior
  • Optimization algorithm behavior
  • Linear system models
  • Hard constraints
  • Kalman filter state estimation
  • Error-free tracking

41
MPC tools for Matlab
  • MPC controller implementation
  • Matlab/Simulink
  • QP solver implementations
  • Active set
  • Interior point
  • Supports Matlabs quadprog

42
MPC tools for Matlab
MPCInit MPCSim MPCController MPCfrsp
getfeasible qp_as qp_ip
  • Tools will be used in exercises

43
Case StudyThe quadruple tank
  • MIMO system
  • Non-minimum phase dynamics

44
Case study contd

45
Case Study contd
  • Control of the linearized model

46
Case Study contd
  • Control of the nonlinear plant

47
Demo of MPC Tools
Write a Comment
User Comments (0)
About PowerShow.com