SlideShare a Scribd company logo
1 of 44
MPC
MODEL PREDICTIVE CONTROL
CONTENTS
• Advantages & Drawbacks
• MPC Concept
• Terminology
• Applications
• Prediction Models
• State Space Model
• Optimization Window
• Closed-loop Control System
• State Estimate Predictive Control
• Constraints
• Numerical Solutions
2Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
MPC ADVANTAGES
• Very intuitive concepts
• Relatively easy tuning
• Requires little computation
• Control a great variety of processes
• The multivariable case can easily be dealt with
• The treatment of constraints is conceptually simple
• Very useful when future references (robotics or batch processes) are known
3Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
MPC DRAWBACKS
• Derivation of control law is more complex than the classical PID
• In adaptive control case all computation has to be carried out at every
sampling time
• Need for an appropriate model of the process to be available
4Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
MPC CONCEPT
ANALOGYTOCHESS
I
(Controller)
Opponent
(Plant)
My move
Opponent’s move
New State
5Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
MPC TERMINOLOGY
• Moving horizon window
• Prediction horizon
• Receding horizon control
• The information at time ti in order to predict the future is denoted as x(ti)
• Cost function is denoted as J
6Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
APPLICATIONS
Chemical Process
Control
more than 4500 different
chemical processes
area-wide
application
7Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
APPLICATIONS
Variable-pitch wind
turbines
stochastic
uncertainty
fatigue
constraints
8Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
APPLICATIONS
Autonomous racing
reference tracking
short sampling intervals
9Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
PREDICTION MODELS
Models
Linear
Non-
Linear
Discrete
Continuous
10Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
STATE SPACE MODEL
𝑥 𝑚 𝑘 + 1 = 𝐴 𝑚 𝑥 𝑚 𝑘 + 𝐵 𝑚 𝑢 𝑘
𝑦 𝑘 = 𝐶 𝑚 𝑥 𝑚 𝑘
𝑥 𝑚 𝑘 + 1 − 𝑥 𝑚 𝑘 = 𝐴 𝑚(𝑥 𝑚 𝑘 − 𝑥 𝑚 𝑘 − 1 ) + 𝐵 𝑚(𝑢 𝑘 − 𝑢 𝑘 − 1 )
Δxm(k + 1) = AmΔxm(k) + BmΔu(k)
y(k + 1) − y(k) = Cm(xm(k + 1) − xm(k)) = CmΔxm(k + 1)
11Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
= CmAmΔxm(k) + CmBmΔu(k)
STATE SPACE MODEL
Δxm(k + 1)
𝑦(𝑘+1)
= 𝐴 𝑚 𝑂 𝑚
𝑇
𝐶 𝑚 𝐴 𝑚 1
Δxm(k)
𝑦(𝑘)
+ Bm
𝐶 𝑚 𝐵 𝑚
Δu(k)
𝑦 𝑘 = 𝑂 𝑚 1
Δxm(k)
𝑦(𝑘)
𝑥 𝑘 + 1 𝑥 𝑘𝐴 𝐵
𝐶
𝑂 𝑚 =zeros(n1,1)
12Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
MATLAB EXAMPLE 1
13Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
PREDICTIVE CONTROL WITHIN ONE
OPTIMIZATION WINDOW
• Current Time: ki
• Prediction horizon (Np): Number of prediction samples
• Control horizon (Nc): dictating number of parameters used to capture the
future control trajectory
14Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
PREDICTIVE CONTROL WITHIN ONE
OPTIMIZATION WINDOW
15Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
PREDICTION OF STATE AND OUTPUT VARIABLES
x(ki + 1 | ki) = Ax(ki) + BΔu(ki)
x(ki + 2 | ki) = Ax(ki+1|ki) + BΔu(ki+1)
= A2x(ki) + ABΔu(ki) + BΔu(ki+1)
⋮ ⋮
x(ki + Np | ki) = ANpx(ki) + ANp-1BΔu(ki) + ANp-2BΔu(ki+1)+...
+ ANp-NcBΔu(ki+Nc-1)
16Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
PREDICTION OF STATE AND OUTPUT VARIABLES
y(ki+1|ki) = CAx(ki) + CBΔu(ki)
y(ki+2|ki) = CA2x(ki) + CABΔu(ki) + CBΔu(ki+1)
⋮ ⋮
y(ki+Np|ki) = CANpx(ki) + CANp-1BΔu(ki) + CANp-2BΔu(ki+1)+
. . . + CANp-NcBΔu(ki+Nc-1)
17Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
PREDICTION OF STATE AND OUTPUT VARIABLES
𝑌 =
𝑦(𝑘𝑖 + 1|𝑘𝑖)
𝑦(𝑘𝑖 + 2|𝑘𝑖)
𝑦(𝑘𝑖 + 3|𝑘𝑖)
⋮
𝑦(𝑘𝑖 + 𝑁 𝑝|𝑘𝑖)
, 𝑈 =
𝛥𝑢(𝑘𝑖)
𝛥𝑢(𝑘𝑖 + 1)
𝛥𝑢(𝑘𝑖 + 2)
⋮
𝛥𝑢(𝑘𝑖 + 𝑁𝑐 − 1)
18Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
PREDICTION OF STATE AND OUTPUT VARIABLES
19Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
OPTIMIZATION
Cost function
𝑅 𝑠 = 𝑜𝑛𝑒𝑠 𝑁 𝑝 ,
1 ∗ 𝑟 𝑘𝑖 = 𝑅 𝑠 𝑟 𝑘𝑖
𝑅 = 𝑟 𝜔 𝐼 𝑁 𝑐×𝑁𝑐 (𝑟 𝜔 ≥ 0)
20Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
• First term is linked to the objective of minimizing the errors between
the predicted output and the set-point signal.
• Second term reflects the consideration given to impact of ΔU when the
objective function J is made to be as small as possible.
OPTIMIZATION
Hessian matrix
21Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
MATLAB EXAMPLE 2
22Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
CLOSED-LOOP CONTROL SYSTEM
23Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
BLOCK DIAGRAM OF DISCRETE-TIME PREDICTIVE
CONTROL SYSTEM
24Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
STATE ESTIMATE PREDICTIVE CONTROL
25Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
MPC DESIGN WITH CONSTRAINTS
26Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
With sampling interval Δt = 0.1
MPC DESIGN WITH CONSTRAINTS
27Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
The prediction horizon Np = 10 and the control horizon Nc = 3. There is
no weight on the control signal, i.e., 𝑅 = 0. Examine what happens if the
control amplitude is limited to ±25 by saturation.
MPC DESIGN WITH CONSTRAINTS
CASE A. WITHOUT CONTROL SATURATION
28Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
MPC DESIGN WITH CONSTRAINTS
CASE B. WITH CONTROL SATURATION
29Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
MPC DESIGN WITH CONSTRAINTS
CASE C. WITH MODIFIED CONTROL SATURATION
30Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
MPC DESIGN WITH CONSTRAINTS
CASE C. WITH MODIFIED CONTROL SATURATION
31Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
MPC DESIGN WITH CONSTRAINTS
CASE COMPARISON
32Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
FREQUENTLY USED OPERATIONAL CONSTRAINTS
Control Variable Incremental Variation
• These are hard constraints on the size of the control signal movements, i.e., on the
rate of change of the control variables (Δu(k))
Amplitude of the Control Variable
• These are the most commonly encountered constraints among all constraint types.
• These are the physical hard constraints on the system.
Output Constraints
• Output constraints are often implemented as ‘soft’ constraints.
• Output constraints often cause large changes in both the control and incremental
control variables when they are enforced.
Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 33
NUMERICAL SOLUTIONS USING QUADRATIC
PROGRAMMING
Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 34
Quadratic
Programming
Inequality
Constraints
Equality
Constraints
QUADRATIC PROGRAMMING FOR EQUALITY CONSTRAINTS
Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 35
QUADRATIC PROGRAMMING FOR EQUALITY CONSTRAINTS
Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 36
𝑥1 = 0.5 → 𝑥2 = 1 − 𝑥1 = 0.5
LAGRANGE MULTIPLIERS
Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 37
Constraint equation: 𝑀𝑥 = 𝛾
The procedure of minimization is to take the first partial derivatives with
respect to the vectors x and λ, and then equate these derivatives to zero:
LAGRANGE MULTIPLIERS
EXAMPLE
Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 38
LAGRANGE MULTIPLIERS
EXAMPLE
Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 39
ACTIVE SET METHOD
Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 40
λi ≥ 0
λi < 0
The point is a local solution
The objective function value can
be decreased by relaxing the
constraint i
Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 41
MINIMIZATION WITH INEQUALITY CONSTRAINTS
EXAMPLE
Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 42
Clearly the third element in λ is negative, therefore, the third constraint is an
inactive constraint and will be dropped from the constrained equation
λ =
5
3
→ x =
0.3333
1.3333
−0.6667
MINIMIZATION WITH INEQUALITY CONSTRAINTS
EXAMPLE
Inactive
constraint
Inactive
constraint
REFERENCES
1. Model Predictive Control System Design and
Implementation Using MATLAB, Liuping
Wang
2. Model Predictive Control, 2nd edition, E.F.
Camacho
3. A Lecture on Model Predictive Control, Jay
H. Lee
4. Model Predictive Control: Basic Concepts, A.
Bemporad
5. Lecture 14 - Model Predictive Control Part
1: The Concept, Gorinevsky
6. Principles of Optimal Control, Lecture 16
Model Predictive Control
7. Model Predictive Control, 4 Lectures 2016,
Mark Cannon
8. Model Predictive Control, S. Boyd
PRESENTED BYThanks for your
attention! Pooyan Nayyeri
Faraz AbedAzad
Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 44

More Related Content

What's hot

Week 16 controllability and observability june 1 final
Week 16 controllability and observability june 1 finalWeek 16 controllability and observability june 1 final
Week 16 controllability and observability june 1 finalCharlton Inao
 
Stability of Control System
Stability of Control SystemStability of Control System
Stability of Control Systemvaibhav jindal
 
State space analysis shortcut rules, control systems,
State space analysis shortcut rules, control systems, State space analysis shortcut rules, control systems,
State space analysis shortcut rules, control systems, Prajakta Pardeshi
 
SLIDING MODE CONTROL AND ITS APPLICATION
SLIDING MODE CONTROL AND ITS APPLICATIONSLIDING MODE CONTROL AND ITS APPLICATION
SLIDING MODE CONTROL AND ITS APPLICATIONBindutesh Saner
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningAmr E. Mohamed
 
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)
NONLINEAR CONTROL SYSTEM(Phase plane & Phase Trajectory Method)NONLINEAR CONTROL SYSTEM(Phase plane & Phase Trajectory Method)
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)Niraj Solanki
 
Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsAmr E. Mohamed
 
Lyapunov stability analysis
Lyapunov stability analysisLyapunov stability analysis
Lyapunov stability analysisVanshVarshney
 
Control systems engineering
Control systems engineeringControl systems engineering
Control systems engineeringAnisur Rahman
 
Feedback linearisation
Feedback linearisationFeedback linearisation
Feedback linearisationRamaiahsubasri
 
Modern control system
Modern control systemModern control system
Modern control systemPourya Parsa
 
Modern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI SystemsModern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI SystemsAmr E. Mohamed
 
state space representation,State Space Model Controllability and Observabilit...
state space representation,State Space Model Controllability and Observabilit...state space representation,State Space Model Controllability and Observabilit...
state space representation,State Space Model Controllability and Observabilit...Waqas Afzal
 
Load flow study
Load flow studyLoad flow study
Load flow studyf s
 
State space analysis.pptx
State space analysis.pptxState space analysis.pptx
State space analysis.pptxRaviMuthamala1
 
LYAPUNOV STABILITY PROBLEM SOLUTION
LYAPUNOV STABILITY PROBLEM SOLUTIONLYAPUNOV STABILITY PROBLEM SOLUTION
LYAPUNOV STABILITY PROBLEM SOLUTIONrohit kumar
 

What's hot (20)

Week 16 controllability and observability june 1 final
Week 16 controllability and observability june 1 finalWeek 16 controllability and observability june 1 final
Week 16 controllability and observability june 1 final
 
Stability of Control System
Stability of Control SystemStability of Control System
Stability of Control System
 
State space analysis shortcut rules, control systems,
State space analysis shortcut rules, control systems, State space analysis shortcut rules, control systems,
State space analysis shortcut rules, control systems,
 
SLIDING MODE CONTROL AND ITS APPLICATION
SLIDING MODE CONTROL AND ITS APPLICATIONSLIDING MODE CONTROL AND ITS APPLICATION
SLIDING MODE CONTROL AND ITS APPLICATION
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID Tuning
 
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)
NONLINEAR CONTROL SYSTEM(Phase plane & Phase Trajectory Method)NONLINEAR CONTROL SYSTEM(Phase plane & Phase Trajectory Method)
NONLINEAR CONTROL SYSTEM (Phase plane & Phase Trajectory Method)
 
Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of Systems
 
Lyapunov stability analysis
Lyapunov stability analysisLyapunov stability analysis
Lyapunov stability analysis
 
Control systems engineering
Control systems engineeringControl systems engineering
Control systems engineering
 
Gain Scheduling (GS)
Gain Scheduling (GS)Gain Scheduling (GS)
Gain Scheduling (GS)
 
Feedback linearisation
Feedback linearisationFeedback linearisation
Feedback linearisation
 
Modern control system
Modern control systemModern control system
Modern control system
 
Lyapunov stability
Lyapunov stability Lyapunov stability
Lyapunov stability
 
Modern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI SystemsModern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI Systems
 
state space representation,State Space Model Controllability and Observabilit...
state space representation,State Space Model Controllability and Observabilit...state space representation,State Space Model Controllability and Observabilit...
state space representation,State Space Model Controllability and Observabilit...
 
Load flow study
Load flow studyLoad flow study
Load flow study
 
State space analysis.pptx
State space analysis.pptxState space analysis.pptx
State space analysis.pptx
 
Lyapunov stability
Lyapunov stability Lyapunov stability
Lyapunov stability
 
Compensators
CompensatorsCompensators
Compensators
 
LYAPUNOV STABILITY PROBLEM SOLUTION
LYAPUNOV STABILITY PROBLEM SOLUTIONLYAPUNOV STABILITY PROBLEM SOLUTION
LYAPUNOV STABILITY PROBLEM SOLUTION
 

Viewers also liked

Real Time Code Generation for Nonlinear Model Predictive Control
Real Time Code Generation for Nonlinear Model Predictive ControlReal Time Code Generation for Nonlinear Model Predictive Control
Real Time Code Generation for Nonlinear Model Predictive ControlBehzad Samadi
 
Model Predictive Control Implementation with LabVIEW
Model Predictive Control Implementation with LabVIEWModel Predictive Control Implementation with LabVIEW
Model Predictive Control Implementation with LabVIEWyurongwang1
 
Study of model predictive control using ni lab view
Study of model predictive control using ni lab viewStudy of model predictive control using ni lab view
Study of model predictive control using ni lab viewiaemedu
 
ALSR - Web 2.0 Journey at Murdoch University Library
ALSR - Web 2.0 Journey at Murdoch University LibraryALSR - Web 2.0 Journey at Murdoch University Library
ALSR - Web 2.0 Journey at Murdoch University Librarychanhonghan
 
Short mpc presentation-jan_2012
Short mpc presentation-jan_2012Short mpc presentation-jan_2012
Short mpc presentation-jan_2012Ken Kosel
 
Model Predictive Control For Integrating Processes
Model Predictive Control For Integrating ProcessesModel Predictive Control For Integrating Processes
Model Predictive Control For Integrating ProcessesEmerson Exchange
 
Robust model predictive control for discrete-time fractional-order systems
Robust model predictive control for discrete-time fractional-order systemsRobust model predictive control for discrete-time fractional-order systems
Robust model predictive control for discrete-time fractional-order systemsPantelis Sopasakis
 
4 modeling and control of distillation column in a petroleum process
4 modeling and control of distillation column in a petroleum process4 modeling and control of distillation column in a petroleum process
4 modeling and control of distillation column in a petroleum processnazir1988
 
M. Tech. Thesis: Control System Design for an Energy Efficient Operation of P...
M. Tech. Thesis: Control System Design for an Energy Efficient Operation of P...M. Tech. Thesis: Control System Design for an Energy Efficient Operation of P...
M. Tech. Thesis: Control System Design for an Energy Efficient Operation of P...Pallavi Kumari
 
Smart Process Distillation Application Improves Recovery And Saves Energy
Smart Process Distillation Application Improves Recovery And Saves EnergySmart Process Distillation Application Improves Recovery And Saves Energy
Smart Process Distillation Application Improves Recovery And Saves EnergyJim Cahill
 
Concepts of predictive control
Concepts of predictive controlConcepts of predictive control
Concepts of predictive controlJARossiter
 
simulation and control in chemical enginnering
simulation and control in chemical enginneringsimulation and control in chemical enginnering
simulation and control in chemical enginneringThành Lý Phạm
 
Model Predictive Control based on Reduced-Order Models
Model Predictive Control based on Reduced-Order ModelsModel Predictive Control based on Reduced-Order Models
Model Predictive Control based on Reduced-Order ModelsPantelis Sopasakis
 
Master the Mystery and Marvels of DeltaV MPC
Master the Mystery and Marvels of DeltaV MPCMaster the Mystery and Marvels of DeltaV MPC
Master the Mystery and Marvels of DeltaV MPCEmerson Exchange
 
GATE 2013 CHEMICAL ENGINEERING Solutions
GATE 2013 CHEMICAL ENGINEERING SolutionsGATE 2013 CHEMICAL ENGINEERING Solutions
GATE 2013 CHEMICAL ENGINEERING SolutionsSundar Kannan
 
Screenless Display PPT
Screenless Display PPTScreenless Display PPT
Screenless Display PPTVikas Kumar
 

Viewers also liked (17)

Start MPC
Start MPC Start MPC
Start MPC
 
Real Time Code Generation for Nonlinear Model Predictive Control
Real Time Code Generation for Nonlinear Model Predictive ControlReal Time Code Generation for Nonlinear Model Predictive Control
Real Time Code Generation for Nonlinear Model Predictive Control
 
Model Predictive Control Implementation with LabVIEW
Model Predictive Control Implementation with LabVIEWModel Predictive Control Implementation with LabVIEW
Model Predictive Control Implementation with LabVIEW
 
Study of model predictive control using ni lab view
Study of model predictive control using ni lab viewStudy of model predictive control using ni lab view
Study of model predictive control using ni lab view
 
ALSR - Web 2.0 Journey at Murdoch University Library
ALSR - Web 2.0 Journey at Murdoch University LibraryALSR - Web 2.0 Journey at Murdoch University Library
ALSR - Web 2.0 Journey at Murdoch University Library
 
Short mpc presentation-jan_2012
Short mpc presentation-jan_2012Short mpc presentation-jan_2012
Short mpc presentation-jan_2012
 
Model Predictive Control For Integrating Processes
Model Predictive Control For Integrating ProcessesModel Predictive Control For Integrating Processes
Model Predictive Control For Integrating Processes
 
Robust model predictive control for discrete-time fractional-order systems
Robust model predictive control for discrete-time fractional-order systemsRobust model predictive control for discrete-time fractional-order systems
Robust model predictive control for discrete-time fractional-order systems
 
4 modeling and control of distillation column in a petroleum process
4 modeling and control of distillation column in a petroleum process4 modeling and control of distillation column in a petroleum process
4 modeling and control of distillation column in a petroleum process
 
M. Tech. Thesis: Control System Design for an Energy Efficient Operation of P...
M. Tech. Thesis: Control System Design for an Energy Efficient Operation of P...M. Tech. Thesis: Control System Design for an Energy Efficient Operation of P...
M. Tech. Thesis: Control System Design for an Energy Efficient Operation of P...
 
Smart Process Distillation Application Improves Recovery And Saves Energy
Smart Process Distillation Application Improves Recovery And Saves EnergySmart Process Distillation Application Improves Recovery And Saves Energy
Smart Process Distillation Application Improves Recovery And Saves Energy
 
Concepts of predictive control
Concepts of predictive controlConcepts of predictive control
Concepts of predictive control
 
simulation and control in chemical enginnering
simulation and control in chemical enginneringsimulation and control in chemical enginnering
simulation and control in chemical enginnering
 
Model Predictive Control based on Reduced-Order Models
Model Predictive Control based on Reduced-Order ModelsModel Predictive Control based on Reduced-Order Models
Model Predictive Control based on Reduced-Order Models
 
Master the Mystery and Marvels of DeltaV MPC
Master the Mystery and Marvels of DeltaV MPCMaster the Mystery and Marvels of DeltaV MPC
Master the Mystery and Marvels of DeltaV MPC
 
GATE 2013 CHEMICAL ENGINEERING Solutions
GATE 2013 CHEMICAL ENGINEERING SolutionsGATE 2013 CHEMICAL ENGINEERING Solutions
GATE 2013 CHEMICAL ENGINEERING Solutions
 
Screenless Display PPT
Screenless Display PPTScreenless Display PPT
Screenless Display PPT
 

Similar to MPC

ACS Lecture 01.pdf
ACS Lecture 01.pdfACS Lecture 01.pdf
ACS Lecture 01.pdfengrkhan36
 
Ch.02 modeling in frequency domain
Ch.02 modeling in frequency domainCh.02 modeling in frequency domain
Ch.02 modeling in frequency domainNguyen_Tan_Tien
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)theijes
 
Metamodel-based Optimization of a PID Controller Parameters for a Coupled-tan...
Metamodel-based Optimization of a PID Controller Parameters for a Coupled-tan...Metamodel-based Optimization of a PID Controller Parameters for a Coupled-tan...
Metamodel-based Optimization of a PID Controller Parameters for a Coupled-tan...TELKOMNIKA JOURNAL
 
HOME ASSIGNMENT omar ali.pptx
HOME ASSIGNMENT omar ali.pptxHOME ASSIGNMENT omar ali.pptx
HOME ASSIGNMENT omar ali.pptxSayedulHassan1
 
HOME ASSIGNMENT (0).pptx
HOME ASSIGNMENT (0).pptxHOME ASSIGNMENT (0).pptx
HOME ASSIGNMENT (0).pptxSayedulHassan1
 
Self-sampling Strategies for Multimemetic Algorithms in Unstable Computationa...
Self-sampling Strategies for Multimemetic Algorithms in Unstable Computationa...Self-sampling Strategies for Multimemetic Algorithms in Unstable Computationa...
Self-sampling Strategies for Multimemetic Algorithms in Unstable Computationa...Rafael Nogueras
 
Sampling-Based Planning Algorithms for Multi-Objective Missions
Sampling-Based Planning Algorithms for Multi-Objective MissionsSampling-Based Planning Algorithms for Multi-Objective Missions
Sampling-Based Planning Algorithms for Multi-Objective MissionsMd Mahbubur Rahman
 
20 ms-me-amd-06 (simple linear regression)
20 ms-me-amd-06 (simple linear regression)20 ms-me-amd-06 (simple linear regression)
20 ms-me-amd-06 (simple linear regression)HassanShah124
 
Model predictive-fuzzy-control-of-air-ratio-for-automotive-engines
Model predictive-fuzzy-control-of-air-ratio-for-automotive-enginesModel predictive-fuzzy-control-of-air-ratio-for-automotive-engines
Model predictive-fuzzy-control-of-air-ratio-for-automotive-enginespace130557
 
A Novel Technique in Software Engineering for Building Scalable Large Paralle...
A Novel Technique in Software Engineering for Building Scalable Large Paralle...A Novel Technique in Software Engineering for Building Scalable Large Paralle...
A Novel Technique in Software Engineering for Building Scalable Large Paralle...Eswar Publications
 
Application of a merit function based interior point method to linear model p...
Application of a merit function based interior point method to linear model p...Application of a merit function based interior point method to linear model p...
Application of a merit function based interior point method to linear model p...Zac Darcy
 
“An Alternate Approach to Find an Optimal Solution of a Transportation Problem.”
“An Alternate Approach to Find an Optimal Solution of a Transportation Problem.”“An Alternate Approach to Find an Optimal Solution of a Transportation Problem.”
“An Alternate Approach to Find an Optimal Solution of a Transportation Problem.”IOSRJM
 
LOGNORMAL ORDINARY KRIGING METAMODEL IN SIMULATION OPTIMIZATION
LOGNORMAL ORDINARY KRIGING METAMODEL IN SIMULATION OPTIMIZATIONLOGNORMAL ORDINARY KRIGING METAMODEL IN SIMULATION OPTIMIZATION
LOGNORMAL ORDINARY KRIGING METAMODEL IN SIMULATION OPTIMIZATIONorajjournal
 
My Master of Science Thesis
My Master of Science ThesisMy Master of Science Thesis
My Master of Science ThesisNam Thanh
 

Similar to MPC (20)

ACS Lecture 01.pdf
ACS Lecture 01.pdfACS Lecture 01.pdf
ACS Lecture 01.pdf
 
Ch.02 modeling in frequency domain
Ch.02 modeling in frequency domainCh.02 modeling in frequency domain
Ch.02 modeling in frequency domain
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 
report
reportreport
report
 
Respose surface methods
Respose surface methodsRespose surface methods
Respose surface methods
 
Metamodel-based Optimization of a PID Controller Parameters for a Coupled-tan...
Metamodel-based Optimization of a PID Controller Parameters for a Coupled-tan...Metamodel-based Optimization of a PID Controller Parameters for a Coupled-tan...
Metamodel-based Optimization of a PID Controller Parameters for a Coupled-tan...
 
HOME ASSIGNMENT omar ali.pptx
HOME ASSIGNMENT omar ali.pptxHOME ASSIGNMENT omar ali.pptx
HOME ASSIGNMENT omar ali.pptx
 
HOME ASSIGNMENT (0).pptx
HOME ASSIGNMENT (0).pptxHOME ASSIGNMENT (0).pptx
HOME ASSIGNMENT (0).pptx
 
Finite Element Methods
Finite Element  MethodsFinite Element  Methods
Finite Element Methods
 
Self-sampling Strategies for Multimemetic Algorithms in Unstable Computationa...
Self-sampling Strategies for Multimemetic Algorithms in Unstable Computationa...Self-sampling Strategies for Multimemetic Algorithms in Unstable Computationa...
Self-sampling Strategies for Multimemetic Algorithms in Unstable Computationa...
 
Sampling-Based Planning Algorithms for Multi-Objective Missions
Sampling-Based Planning Algorithms for Multi-Objective MissionsSampling-Based Planning Algorithms for Multi-Objective Missions
Sampling-Based Planning Algorithms for Multi-Objective Missions
 
20 ms-me-amd-06 (simple linear regression)
20 ms-me-amd-06 (simple linear regression)20 ms-me-amd-06 (simple linear regression)
20 ms-me-amd-06 (simple linear regression)
 
Model predictive-fuzzy-control-of-air-ratio-for-automotive-engines
Model predictive-fuzzy-control-of-air-ratio-for-automotive-enginesModel predictive-fuzzy-control-of-air-ratio-for-automotive-engines
Model predictive-fuzzy-control-of-air-ratio-for-automotive-engines
 
A Novel Technique in Software Engineering for Building Scalable Large Paralle...
A Novel Technique in Software Engineering for Building Scalable Large Paralle...A Novel Technique in Software Engineering for Building Scalable Large Paralle...
A Novel Technique in Software Engineering for Building Scalable Large Paralle...
 
Application of a merit function based interior point method to linear model p...
Application of a merit function based interior point method to linear model p...Application of a merit function based interior point method to linear model p...
Application of a merit function based interior point method to linear model p...
 
“An Alternate Approach to Find an Optimal Solution of a Transportation Problem.”
“An Alternate Approach to Find an Optimal Solution of a Transportation Problem.”“An Alternate Approach to Find an Optimal Solution of a Transportation Problem.”
“An Alternate Approach to Find an Optimal Solution of a Transportation Problem.”
 
LOGNORMAL ORDINARY KRIGING METAMODEL IN SIMULATION OPTIMIZATION
LOGNORMAL ORDINARY KRIGING METAMODEL IN SIMULATION OPTIMIZATIONLOGNORMAL ORDINARY KRIGING METAMODEL IN SIMULATION OPTIMIZATION
LOGNORMAL ORDINARY KRIGING METAMODEL IN SIMULATION OPTIMIZATION
 
mlcourse.ai. Clustering
mlcourse.ai. Clusteringmlcourse.ai. Clustering
mlcourse.ai. Clustering
 
My Master of Science Thesis
My Master of Science ThesisMy Master of Science Thesis
My Master of Science Thesis
 
01 Chapter MATLAB introduction
01 Chapter MATLAB introduction01 Chapter MATLAB introduction
01 Chapter MATLAB introduction
 

Recently uploaded

Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 

Recently uploaded (20)

Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 

MPC

  • 2. CONTENTS • Advantages & Drawbacks • MPC Concept • Terminology • Applications • Prediction Models • State Space Model • Optimization Window • Closed-loop Control System • State Estimate Predictive Control • Constraints • Numerical Solutions 2Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 3. MPC ADVANTAGES • Very intuitive concepts • Relatively easy tuning • Requires little computation • Control a great variety of processes • The multivariable case can easily be dealt with • The treatment of constraints is conceptually simple • Very useful when future references (robotics or batch processes) are known 3Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 4. MPC DRAWBACKS • Derivation of control law is more complex than the classical PID • In adaptive control case all computation has to be carried out at every sampling time • Need for an appropriate model of the process to be available 4Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 5. MPC CONCEPT ANALOGYTOCHESS I (Controller) Opponent (Plant) My move Opponent’s move New State 5Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 6. MPC TERMINOLOGY • Moving horizon window • Prediction horizon • Receding horizon control • The information at time ti in order to predict the future is denoted as x(ti) • Cost function is denoted as J 6Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 7. APPLICATIONS Chemical Process Control more than 4500 different chemical processes area-wide application 7Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 8. APPLICATIONS Variable-pitch wind turbines stochastic uncertainty fatigue constraints 8Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 9. APPLICATIONS Autonomous racing reference tracking short sampling intervals 9Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 10. PREDICTION MODELS Models Linear Non- Linear Discrete Continuous 10Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 11. STATE SPACE MODEL 𝑥 𝑚 𝑘 + 1 = 𝐴 𝑚 𝑥 𝑚 𝑘 + 𝐵 𝑚 𝑢 𝑘 𝑦 𝑘 = 𝐶 𝑚 𝑥 𝑚 𝑘 𝑥 𝑚 𝑘 + 1 − 𝑥 𝑚 𝑘 = 𝐴 𝑚(𝑥 𝑚 𝑘 − 𝑥 𝑚 𝑘 − 1 ) + 𝐵 𝑚(𝑢 𝑘 − 𝑢 𝑘 − 1 ) Δxm(k + 1) = AmΔxm(k) + BmΔu(k) y(k + 1) − y(k) = Cm(xm(k + 1) − xm(k)) = CmΔxm(k + 1) 11Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering = CmAmΔxm(k) + CmBmΔu(k)
  • 12. STATE SPACE MODEL Δxm(k + 1) 𝑦(𝑘+1) = 𝐴 𝑚 𝑂 𝑚 𝑇 𝐶 𝑚 𝐴 𝑚 1 Δxm(k) 𝑦(𝑘) + Bm 𝐶 𝑚 𝐵 𝑚 Δu(k) 𝑦 𝑘 = 𝑂 𝑚 1 Δxm(k) 𝑦(𝑘) 𝑥 𝑘 + 1 𝑥 𝑘𝐴 𝐵 𝐶 𝑂 𝑚 =zeros(n1,1) 12Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 13. MATLAB EXAMPLE 1 13Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 14. PREDICTIVE CONTROL WITHIN ONE OPTIMIZATION WINDOW • Current Time: ki • Prediction horizon (Np): Number of prediction samples • Control horizon (Nc): dictating number of parameters used to capture the future control trajectory 14Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 15. PREDICTIVE CONTROL WITHIN ONE OPTIMIZATION WINDOW 15Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 16. PREDICTION OF STATE AND OUTPUT VARIABLES x(ki + 1 | ki) = Ax(ki) + BΔu(ki) x(ki + 2 | ki) = Ax(ki+1|ki) + BΔu(ki+1) = A2x(ki) + ABΔu(ki) + BΔu(ki+1) ⋮ ⋮ x(ki + Np | ki) = ANpx(ki) + ANp-1BΔu(ki) + ANp-2BΔu(ki+1)+... + ANp-NcBΔu(ki+Nc-1) 16Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 17. PREDICTION OF STATE AND OUTPUT VARIABLES y(ki+1|ki) = CAx(ki) + CBΔu(ki) y(ki+2|ki) = CA2x(ki) + CABΔu(ki) + CBΔu(ki+1) ⋮ ⋮ y(ki+Np|ki) = CANpx(ki) + CANp-1BΔu(ki) + CANp-2BΔu(ki+1)+ . . . + CANp-NcBΔu(ki+Nc-1) 17Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 18. PREDICTION OF STATE AND OUTPUT VARIABLES 𝑌 = 𝑦(𝑘𝑖 + 1|𝑘𝑖) 𝑦(𝑘𝑖 + 2|𝑘𝑖) 𝑦(𝑘𝑖 + 3|𝑘𝑖) ⋮ 𝑦(𝑘𝑖 + 𝑁 𝑝|𝑘𝑖) , 𝑈 = 𝛥𝑢(𝑘𝑖) 𝛥𝑢(𝑘𝑖 + 1) 𝛥𝑢(𝑘𝑖 + 2) ⋮ 𝛥𝑢(𝑘𝑖 + 𝑁𝑐 − 1) 18Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 19. PREDICTION OF STATE AND OUTPUT VARIABLES 19Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 20. OPTIMIZATION Cost function 𝑅 𝑠 = 𝑜𝑛𝑒𝑠 𝑁 𝑝 , 1 ∗ 𝑟 𝑘𝑖 = 𝑅 𝑠 𝑟 𝑘𝑖 𝑅 = 𝑟 𝜔 𝐼 𝑁 𝑐×𝑁𝑐 (𝑟 𝜔 ≥ 0) 20Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering • First term is linked to the objective of minimizing the errors between the predicted output and the set-point signal. • Second term reflects the consideration given to impact of ΔU when the objective function J is made to be as small as possible.
  • 21. OPTIMIZATION Hessian matrix 21Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 22. MATLAB EXAMPLE 2 22Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 23. CLOSED-LOOP CONTROL SYSTEM 23Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 24. BLOCK DIAGRAM OF DISCRETE-TIME PREDICTIVE CONTROL SYSTEM 24Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 25. STATE ESTIMATE PREDICTIVE CONTROL 25Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 26. MPC DESIGN WITH CONSTRAINTS 26Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering With sampling interval Δt = 0.1
  • 27. MPC DESIGN WITH CONSTRAINTS 27Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering The prediction horizon Np = 10 and the control horizon Nc = 3. There is no weight on the control signal, i.e., 𝑅 = 0. Examine what happens if the control amplitude is limited to ±25 by saturation.
  • 28. MPC DESIGN WITH CONSTRAINTS CASE A. WITHOUT CONTROL SATURATION 28Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 29. MPC DESIGN WITH CONSTRAINTS CASE B. WITH CONTROL SATURATION 29Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 30. MPC DESIGN WITH CONSTRAINTS CASE C. WITH MODIFIED CONTROL SATURATION 30Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 31. MPC DESIGN WITH CONSTRAINTS CASE C. WITH MODIFIED CONTROL SATURATION 31Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 32. MPC DESIGN WITH CONSTRAINTS CASE COMPARISON 32Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering
  • 33. FREQUENTLY USED OPERATIONAL CONSTRAINTS Control Variable Incremental Variation • These are hard constraints on the size of the control signal movements, i.e., on the rate of change of the control variables (Δu(k)) Amplitude of the Control Variable • These are the most commonly encountered constraints among all constraint types. • These are the physical hard constraints on the system. Output Constraints • Output constraints are often implemented as ‘soft’ constraints. • Output constraints often cause large changes in both the control and incremental control variables when they are enforced. Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 33
  • 34. NUMERICAL SOLUTIONS USING QUADRATIC PROGRAMMING Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 34 Quadratic Programming Inequality Constraints Equality Constraints
  • 35. QUADRATIC PROGRAMMING FOR EQUALITY CONSTRAINTS Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 35
  • 36. QUADRATIC PROGRAMMING FOR EQUALITY CONSTRAINTS Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 36 𝑥1 = 0.5 → 𝑥2 = 1 − 𝑥1 = 0.5
  • 37. LAGRANGE MULTIPLIERS Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 37 Constraint equation: 𝑀𝑥 = 𝛾 The procedure of minimization is to take the first partial derivatives with respect to the vectors x and λ, and then equate these derivatives to zero:
  • 38. LAGRANGE MULTIPLIERS EXAMPLE Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 38
  • 39. LAGRANGE MULTIPLIERS EXAMPLE Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 39
  • 40. ACTIVE SET METHOD Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 40 λi ≥ 0 λi < 0 The point is a local solution The objective function value can be decreased by relaxing the constraint i
  • 41. Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 41 MINIMIZATION WITH INEQUALITY CONSTRAINTS EXAMPLE
  • 42. Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 42 Clearly the third element in λ is negative, therefore, the third constraint is an inactive constraint and will be dropped from the constrained equation λ = 5 3 → x = 0.3333 1.3333 −0.6667 MINIMIZATION WITH INEQUALITY CONSTRAINTS EXAMPLE Inactive constraint Inactive constraint
  • 43. REFERENCES 1. Model Predictive Control System Design and Implementation Using MATLAB, Liuping Wang 2. Model Predictive Control, 2nd edition, E.F. Camacho 3. A Lecture on Model Predictive Control, Jay H. Lee 4. Model Predictive Control: Basic Concepts, A. Bemporad 5. Lecture 14 - Model Predictive Control Part 1: The Concept, Gorinevsky 6. Principles of Optimal Control, Lecture 16 Model Predictive Control 7. Model Predictive Control, 4 Lectures 2016, Mark Cannon 8. Model Predictive Control, S. Boyd
  • 44. PRESENTED BYThanks for your attention! Pooyan Nayyeri Faraz AbedAzad Model Predictive Control/Dec 2016/University of Tehran/School of Mechanical Engineering 44