Optimal control. University of Strasbourg Telecom Physique Strasbourg, ISAV option Master IRIV, AR track Part 2 Predictive control

Similar documents
Introduction to Model Predictive Control. Dipartimento di Elettronica e Informazione

MODEL PREDICTIVE CONTROL and optimization

JUSTIFICATION OF INPUT AND OUTPUT CONSTRAINTS INCORPORATION INTO PREDICTIVE CONTROL DESIGN

SELF TUNING PREDICTIVE CONTROL OF NONLINEAR SERVO MOTOR

Process Modelling, Identification, and Control

APPLICATION OF MULTIVARIABLE PREDICTIVE CONTROL IN A DEBUTANIZER DISTILLATION COLUMN. Department of Electrical Engineering

FRTN 15 Predictive Control

Process Modelling, Identification, and Control

CONTROL SYSTEMS, ROBOTICS, AND AUTOMATION - Vol. V - Prediction Error Methods - Torsten Söderström

EECE Adaptive Control

DELAYED GENERALIZED PREDICTIVE CONTROL OF BILATERAL TELEOPERATION SYSTEMS. T. Slama, D. Aubry, P. Vieyres and F. Kratz

Motion Control of a Robot Manipulator in Free Space Based on Model Predictive Control

Noise Modelling and MPC Tuning for Systems with Infrequent Step Disturbances

EE C128 / ME C134 Feedback Control Systems

MODEL PREDICTIVE CONTROL FUNDAMENTALS

Design On-Line Tunable Gain Artificial Nonlinear Controller

1 Loop Control. 1.1 Open-loop. ISS0065 Control Instrumentation

EECE Adaptive Control

Model Predictive Controller of Boost Converter with RLE Load

Design Artificial Nonlinear Controller Based on Computed Torque like Controller with Tunable Gain

Reinforcement Learning with Reference Tracking Control in Continuous State Spaces

Model-free Predictive Control

Dynamic Matrix controller based on Sliding Mode Control.

Adaptive Nonlinear Model Predictive Control with Suboptimality and Stability Guarantees

arxiv: v2 [math.oc] 15 Jan 2014

Principles of Optimal Control Spring 2008

Optimal Polynomial Control for Discrete-Time Systems

Statement: This paper will also be published during the 2017 AUTOREG conference.

PREDICTIVE CONTROL OF NONLINEAR SYSTEMS. Received February 2008; accepted May 2008

OPTIMAL CONTROL WITH DISTURBANCE ESTIMATION

Paris'09 ECCI Eduardo F. Camacho MPC Constraints 2. Paris'09 ECCI Eduardo F. Camacho MPC Constraints 4

Self-Tuning Control for Synchronous Machine Stabilization

4F3 - Predictive Control

Index. INDEX_p /15/02 3:08 PM Page 765

Model Predictive Control For Interactive Thermal Process

Improving performance and stability of MRI methods in closed-loop

Predictive control for general nonlinear systems using approximation

A NEURO-FUZZY MODEL PREDICTIVE CONTROLLER APPLIED TO A PH-NEUTRALIZATION PROCESS. Jonas B. Waller and Hannu T. Toivonen

Numerical approximation for optimal control problems via MPC and HJB. Giulia Fabrini

Parameter Identification and Dynamic Matrix Control Design for a Nonlinear Pilot Distillation Column

Model structure. Lecture Note #3 (Chap.6) Identification of time series model. ARMAX Models and Difference Equations

Delft. Model Predictive Control. Ton J.J. van den Boom & Ton C.P.M. Backx. September 27, Lecture Notes for the course SC4060

Design of Multivariable Adaptive Generalized Predictive Control for the Part Turbine/Generator of Micro-Hydro Power Plant

An Introduction to Model-based Predictive Control (MPC) by

12. Prediction Error Methods (PEM)

Model predictive control of industrial processes. Vitali Vansovitš

Moving Horizon Estimation and Control

Iterative Learning Control (ILC)

Non-linear Predictive Control with Multi Design Variables for PEM-FC

Identification of ARX, OE, FIR models with the least squares method

/ / MET Day 000 NC1^ INRTL MNVR I E E PRE SLEEP K PRE SLEEP R E

Application of Dynamic Matrix Control To a Boiler-Turbine System

Predictive Control of a Single Link Flexible Joint Robot Based on Neural Network and Feedback Linearization

Optimizing Economic Performance using Model Predictive Control

ADAPTIVE CONTROL AND SYNCHRONIZATION OF HYPERCHAOTIC NEWTON-LEIPNIK SYSTEM

EFFECTIVE DUAL MODE FUZZY DMC ALGORITHMS WITH ON LINE QUADRATIC OPTIMIZATION AND GUARANTEED STABILITY

Batch-to-batch strategies for cooling crystallization

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

ESTIMATES ON THE PREDICTION HORIZON LENGTH IN MODEL PREDICTIVE CONTROL

Modeling and Model Predictive Control of Nonlinear Hydraulic System

Unified linear time-invariant model predictive control for strong nonlinear chaotic systems

Adaptive Predictive Observer Design for Class of Uncertain Nonlinear Systems with Bounded Disturbance

CONTROL. J.S. Senent M. Martnez J. Sanchis. Departamento de Ingeniera de Sistemas y Automatica. Universidad Politecnica de Valencia.

Lazy learning for control design

A METHOD OF ADAPTATION BETWEEN STEEPEST- DESCENT AND NEWTON S ALGORITHM FOR MULTI- CHANNEL ACTIVE CONTROL OF TONAL NOISE AND VIBRATION

Pole-Placement Design A Polynomial Approach

CBE495 LECTURE IV MODEL PREDICTIVE CONTROL

Practical Guidelines for Tuning Model-Based Predictive Controllers for Refrigeration Compressor Test Rigs

D(s) G(s) A control system design definition

LECTURE 7. Least Squares and Variants. Optimization Models EE 127 / EE 227AT. Outline. Least Squares. Notes. Notes. Notes. Notes.

RECURSIVE SUBSPACE IDENTIFICATION IN THE LEAST SQUARES FRAMEWORK

Industrial Model Predictive Control

A GPC-based Auto-Throttle with Robust Fuel-efficient Operation in 4D Flights

Predictive Control Design Based on Neural Model of a Non-linear System

Chapter 13 Digital Control

EECE Adaptive Control

AERT 2013 [CA'NTI 19] ALGORITHMES DE COMMANDE NUMÉRIQUE OPTIMALE DES TURBINES ÉOLIENNES

Model Predictive Control in the Process Industry

Temperature Control of a Mold Model using Multiple-input Multiple-output Two Degree-of-freedom Generalized Predictive Control

Nonlinear Q-Design for Convex Stochastic Control

Distributed model predictive control based on Benders decomposition applied to multisource multizone building temperature regulation

Lecture 1: Introduction to System Modeling and Control. Introduction Basic Definitions Different Model Types System Identification

ELEC4631 s Lecture 2: Dynamic Control Systems 7 March Overview of dynamic control systems

A Generalization of Barbalat s Lemma with Applications to Robust Model Predictive Control

Handling Roll Constraints for Path Following of Marine Surface Vessels using Coordinated Rudder and Propulsion Control

Wavelet Regression Estimation in Longitudinal Data Analysis

Nonlinear State Estimation Methods Overview and Application to PET Polymerization

Analytical approach to tuning of model predictive control for first-order plus dead time models Peyman Bagheri, Ali Khaki Sedigh

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

QUICK AND PRECISE POSITION CONTROL OF ULTRASONIC MOTORS USING ADAPTIVE CONTROLLER WITH DEAD ZONE COMPENSATION

Converse Lyapunov theorem and Input-to-State Stability

LQ CONTROL OF HEAT EXCHANGER DESIGN AND SIMULATION

Sparse Least Mean Square Algorithm for Estimation of Truncated Volterra Kernels

Regional Solution of Constrained LQ Optimal Control

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

Application of Newton/GMRES Method to Nonlinear Model Predictive Control of Functional Electrical Stimulation

Course on Model Predictive Control Part II Linear MPC design

Ten years of progress in Identification for Control. Outline

Asymptotic behaviour of Toeplitz matrix in multi-input multi-output model predictive control

MODEL PREDICTIVE CONTROL

Transcription:

Optimal control University of Strasbourg Telecom Physique Strasbourg, ISAV option Master IRIV, AR track Part 2 Predictive control

Outline 1. Introduction 2. System modelling 3. Cost function 4. Prediction equation 5. Optimal control 6. Examples 7. Tuning of the GPC 8. Nonlinear predictive control 9. References 10/12/12 jacques.gangloff@unistra.fr 2

1. Introduction 1.1. Definition of MPC Model Predictive Control (MPC) Use of a model to predict the behaviour of the system. Compute a sequence of future control inputs that minimize the quadratic error over a receding horizon of time. Only the first sample of the sequence is applied to the system. The whole sequence is re-evaluated at each sampling time. 10/12/12 jacques.gangloff@unistra.fr 3

1. Introduction 1.2. Principle of MPC r( t +1)!! r t + N " 2 $ & & & +! N 2 future references Optimization u( t) " $ $! $ u t + N u!1 ' ' ' & N u future control signals u( t) System y( t +1)!! y t + N " 2 $ & & & Prediction N 2 predicted outputs y( t) 10/12/12 jacques.gangloff@unistra.fr 4

1. Introduction 1.2. Principle of MPC y r Receding Horizon t + N 1 t + N 2 t Goal of the optimization : minimizing 10/12/12 jacques.gangloff@unistra.fr 5

1. Introduction 1.3. Various flavours of MPC DMC (Dynamic Matrix Control) Uses the system s step response. The system must be stable and without integrator. MAC (Model Algorithmic Control) Uses the system s impulse response. PFC (Predictive Functional Control) Uses a state space representation of the system. Can apply to nonlinear systems. GPC (Generalized Predictive Control) Uses a CARMA model of the system. The most commonly used. 10/12/12 jacques.gangloff@unistra.fr 6

1. Introduction 1.4. Advantages / drawbacks of MPC Advantages Simple principle, easy and quick tuning. Applies to every kind of systems (non minimum phase, instable, MIMO, nonlinear, variant). If the reference of the disturbance is known in advance, it can drastically improve the reference tracking accuracy. Numerically stable. Drawback Good knowledge of the system model. 10/12/12 jacques.gangloff@unistra.fr 7

2. Modelling 2.1. Example of MAC Input-output relationship : " y( t)= h i u t! i i=1 Truncation of the response : N ŷ( t + k t)= h i u t + k! i t " i=1 Drawbacks : Model is not in its minimal form. Computationally demanding. 10/12/12 jacques.gangloff@unistra.fr 8

2. Modelling 2.2. The case of the GPC CARMA modelling (Controller Auto- Regressive Moving Average) : A( q ) -1 y( t)= q -d B( q -1 )u t!1 With : + C q-1 D q -1 e t! A( q -1 )=1+ a 1 q -1 + a 2 q -2 + + a na q -na " B( q -1 )= b 0 + b 1 q -1 + b 2 q -2 + + b nb q -nb C( q -1 )=1+ c 1 q -1 + c 2 q -2 + + c nc q $ -nc Usually : D( q -1 )=!( q -1 )=1" q -1 10/12/12 jacques.gangloff@unistra.fr 9

3. GPC cost function For the GPC : J = N 2! r( t + j) & " ŷ t + j t $ + ' " (u t + j!1 j!n 1 2 N & u j=1 $ 2 Quadratic error Energy of the control signal Tuning parameters : N 1 N 2 N u λ 10/12/12 jacques.gangloff@unistra.fr 10

4. GPC prediction equations First Diophantine equation : C = E j!a+ q -j F j With C=1 : 1= E j!a+ q -j F j with Let : deg( E j )= j "1 $ deg( F j )= na & Ay( t)= Bq -d u( t!1)+ e t & "E $ " j q j '( * "AE j y( t + j)= E j B"u( t + j! d!1)+ E j e t + j 10/12/12 jacques.gangloff@unistra.fr 11

4. GPC prediction equations Using the Diophantine equation : ( 1! q -j F ) j y( t + j)= E j B"u( t + j! d!1)+ E j e t + j Which yields : Thus, the best prediction is : y( t + j)= F j y( t)+ E j B!u( t + j " d "1)+ E j e( t + j) ŷ( t + j t)= E j B!u( t + j " d "1)+ F j y( t) 10/12/12 jacques.gangloff@unistra.fr 12

4. GPC prediction equations Second Diophantine equation : E j B = G j + q -j! j Separation of control inputs : ŷ( t + j t)= G j!u( t + j " d "1)! " $ +!u ( t " d "1 j )+ F j y( t)! " $ Forced response Prediction equation : ' With : ŷ =! ŷ t +1+ d t ŷ = G!u+ ˆf " ŷ t + N 2 + d t ) ) T (!u =! " u( t t) u( t + N u &1 t) $ ) ˆf = ˆf ( t +1 t) ˆf T )! " ( t + N 2 t) * $ $ T Free response 10/12/12 jacques.gangloff@unistra.fr 13

4. GPC prediction equations And : G N2 =!N u $ g 0 0! 0 g 1 g 0! 0 " " " g N2 "1 g N2 "2! g 0 " " " " g N2 "1 g N2 "2! g N2 "N u With g 0 g N2-1 the samples of the system s step response. & ( ( ( ( ( ( ( ( '( 10/12/12 jacques.gangloff@unistra.fr 14

5. Optimal control Cost function : Let : J = ( ŷ! r) T ( ŷ! r)+ "!u T!u!u opt s.t. dj d!u = 0!!u opt = ( G T G + "I ) -1 G T r ˆf With : r =! r( " t +1) r t + N 2 Future references Only the first optimal control sample is applied to the system. $ T 10/12/12 jacques.gangloff@unistra.fr 15

6. Examples 6.1. First order system A system in the CARMA form has the following parameters : " A = 1! 0.7q -1 $ B = 0.9! 0.6q -1 $ C = 1 Compute the system s prediction equations 3 steps ahead. 10/12/12 jacques.gangloff@unistra.fr 16

6. Examples 6.1. First order system Using three times the CARMA model : 10/12/12 jacques.gangloff@unistra.fr 17

6. Examples 6.1. First order system Putting everything in matrix form : 10/12/12 jacques.gangloff@unistra.fr 18

6. Examples 6.1. First order system Optimal control (differential) : Optimal control (absolute) : 10/12/12 jacques.gangloff@unistra.fr 19

6. Examples 6.2. Simulation results 10/12/12 jacques.gangloff@unistra.fr 20

6. Examples 6.2. Simulation results 10/12/12 jacques.gangloff@unistra.fr 21

7. Tuning the GPC Parameter λ : Increase : response slow down. Decrease : more energy in the control signal, thus faster response. Parameter N 2 : At least the size of the step response of the system. Parameter N 1 : Greater than the system s delay. Parameter N u : Tends toward dead-beat control when N u tends toward zero. 10/12/12 jacques.gangloff@unistra.fr 22

8. Nonlinear predictive control The system can be nonlinear. The optimal solution is computed using an iterative optimization algorithm. The optimization is performed at each sampling time. Additional constraints can be added. The cost function can be more complex. Main drawback : very computationally intensive. 10/12/12 jacques.gangloff@unistra.fr 23

9. References R. Bitmead, M. Gevers et V. Wertz, «Adaptive Optimal control The thinking man's GPC», Prentice Hall International, 1990. E. F. Camacho et C. Bordons, «Model Predictive Control», Springer Verlag, 1999. J.-M. Dion et D. Popescu, «Commande optimale, conception optimisée des systèmes», Diderot, 1996. P. Boucher et D. Dumur, «La commande prédictive», Technip, 1996. 10/12/12 jacques.gangloff@unistra.fr 24