Model Predictive Control

Slides:



Advertisements
Similar presentations
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall Modeling and Optimization Section 4.4.
Advertisements

P. Albertos* & A. Crespo + Universidad Politécnica de Valencia * Dept. of Systems Engineering and Control, + Dept. of Computer Engineering POB E
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall 4.4 Modeling and Optimization.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Controller Tuning: A Motivational Example
© Pearson Prentice Hall Each business must first analyze its industry and choose a competitive strategy. Will it be a low-cost provider or differentiate.
REAL TIME OPTIMIZATION: A Parametric Programming Approach Vivek Dua You Only Solve Once.
H  and  Optimal Controller Design for the Shell Control Problem D. Chang, E.S. Meadows, and S.L. Shah Department of Chemical and Materials Engineering.
Overall Objectives of Model Predictive Control
MESA LAB IFAC’14 Paper Review (On selected two papers) Zhuo Li MESA LAB MESA (Mechatronics, Embedded Systems and Automation) LAB School of Engineering,
MODEL! "There is nothing so practical as a good theory." Ludwig Boltzman.
Industrial Process Modelling and Control Ton Backx Emeritaatsviering Joos Vandewalle.
1 Approaches to increase the range of use of Model predictive control Miguel Rodriguez Advisor: Cesar De Prada Systems Engineering and Automatic Control.
Univ logo Control Strategies for a solar system assisted by heat pump Muhammad Waseem Ahmad Dr Mahroo Eftekhari & Dr Steffen Thomas Loughborough University.
MIMO Controllability and Decentralized and Plantwide Control MIMO Controllability and Decentralized and Plantwide Control Sigurd Skogestad on Manfred Morari’s.
1 Model Predictive Control: On-line optimization versus explicit precomputed controller Espen Storkaas Trondheim,
PID Controller Design and
Chapter 20 1 Overall Objectives of Model Predictive Control 1.Prevent violations of input and output constraints. 2.Drive some output variables to their.
Intelligent controller design based on gain and phase margin specifications Daniel Czarkowski  and Tom O’Mahony* Advanced Control Group, Department of.
Under supervision of: Dr S.K. Hosseini S.
Chapter 20 Model Predictive Control
1 Chapter 20 Model Predictive Control Model Predictive Control (MPC) – regulatory controls that use an explicit dynamic model of the response of process.
Robust Nonlinear Model Predictive Control using Volterra Models and the Structured Singular Value (  ) Rosendo Díaz-Mendoza and Hector Budman ADCHEM 2009.
Dynamic Neural Network Control (DNNC): A Non-Conventional Neural Network Model Masoud Nikravesh EECS Department, CS Division BISC Program University of.
Model Based Control Strategies. Model Based Control 1- Inverse Model as a Forward Controller (Inverse Dynamics) 2- Forward Model in Feedback 3- Combination.
12 th international conference on Sciences and Techniques of Automatic control and computer engineering 1 Sousse, Tunisia, December 18-20, 2011 Flatness.
Impact of the inter-firm cooperation on company's performance: major changes during the economic crisis November 27, 2013 Oksana Kabakova.
SOFTWARE: A SOLUTION FOR MODEL PREDICTIVE CONTROL SOFTWARE: A SOLUTION FOR MODEL PREDICTIVE CONTROL Laboratoire.
The Inverse Trigonometric Functions (Continued)
Knowledge Elicitation – Converting Tacit Knowledge to Explicit
Chapter 5 Strategies in Action
Chapter 3 The External Assessment
Model Predictive Control
UFRGS UNIVERSIDADE FEDERAL DO RIO GRANDE DO SUL Escola de Engenharia
Section 9.1 Polar Coordinates
Model-based Predictive Control (MPC)
Model-based Predictive Control (MPC)
Chapters 1–4 Mark G. Sobell
Chapter 8–Part V Mark G. Sobell
A Practical Guide to Linux® Commands, Editors, and Shell Programming
Overall Objectives of Model Predictive Control
Each business must first analyze its industry and choose a competitive strategy. Will it be a low- cost provider or differentiate its products from competitors?
Linear Models: Building Linear Functions from Data
Model Predictive Control
Model Predictive Control (MPC)
Chapter 2 The Business Vision & Mission
Model-based Predictive Control (MPC)
Model-based Predictive Control (MPC)
Section 8.3 The Law of Cosines
Chapter 1: Introduction
Section 11.8 Linear Programming
Copyright © 2008 Pearson Prentice Hall Inc.
Copyright © 2008 Pearson Prentice Hall Inc.
Section 2.2 The Graph of a Function
Section 2.2 The Graph of a Function
Mathematical Models: Building Functions
Copyright © 2008 Pearson Prentice Hall Inc.
Copyright © 2008 Pearson Prentice Hall Inc.
Chapter 9. Design of Control Systems
Section 3.2 The Graph of a Function
Strategic Management: Concepts & Cases
Masoud Nikravesh EECS Department, CS Division BISC Program
Quadratic Equations in the Complex Number System
Chapter 2 Operations Strategy
Properties of Rational Functions
Information Technology
Copyright © 2008 Pearson Prentice Hall Inc.
Copyright © 2008 Pearson Prentice Hall Inc.
The Inverse Trigonometric Functions (Continued)
Single Image Vignetting Correction
Presentation transcript:

Model Predictive Control بسمه تعالی Model Predictive Control سعید شمقدری دانشکده مهندسی برق دانشگاه علم و صنعت ایران نیم سال دوم 93-94

Model Predictive Control

Model Predictive Control مراجع اصلی: Model Predictive Control E.F. Camacho & C. Bordons 2004 Model Predictive Control System Design and Implementation Using MATLAB Liuping Wang 2009 مراجع مرتبط: Predictive Control with Constraints, J. M. Maciejowsk, Prentice Hall, 2002. Model Predictive Control: Apratical approach, Rossiter, 2003. Internal model control: a comprehensive view Daniel E. Rivera, 1999 Nonlinear, Model Predictive Control, F. Allgower, Alex Zheng, 2000.

Model Predictive Control ارزیابی: تکالیف: 7نمره سمینار 5 نمره (تعیین موضوع تا 93/11/30) سمینار ویژه: تا 2 نمره اضافه امتحان پایان ترم : 8 نمره موضوعات سمینار: (شامل Survey، بررسی نحوه اثبات پایداری، نقاط ضعف و قوت مقاله، ارائه ایده جدید) 1- تیونینگ MPC 2- Explicit MPC 3-MPC برای سیستمهای Cooperative 4- Robust MPC (مالتی مدل) و افزایش ROC 5- Fault Tolerant Control MPC 6- MPC برای سیستم های LPV and LTV 7- MPC برای سیستم های NMP 8- MPCبرای سیستم های تاخیردار سمینارهای ویژه: نرم افزارهای حل مسائل بهینه سازی: Yalmip، CVX ، SOS toolbox

CHAPTER 1: Introduction to Model Predictive Control

Introduction to Model Predictive Control اولین کاربرد صنعتی از دهه 70 و سپس رشد سریع در صنعت First industrial developments: About 1970. • Shell Texas: Cutler et al. (Proc. JACC 1980) • Adersa France: Richalet. (Automatica 1978) Patents: • Martin-Sanchez (Spain), 1976. • Prett, Ramaker, Cutler (Shell), 1982. Academics: • Propoi (1963) • Kleinman (1970) • Kwon and Pearson (1975) • Rouhani and Mehra (1982) • Clarke et al (1987)

Introduction to Model Predictive Control Papers: Morari Balakrishnan Khotare Bemporad Rivera Garcia …

Introduction to Model Predictive Control کنترل پیش بین مدل: محدوده وسیعی از روشهای کنترل که به صورت صریح از مدل فرایند برای به دست آوردن سیگنال کنترل استفاده می کند. بر اساس بهینه سازی یک تابع هدف وجه اشتراک کنترل کننده های پیش بین استفاده صریح از مدل فرایند برای پیش بینی خروجی سیستم در زمانهای آینده (افق پیش بین) محاسبه سیگنال کنترل بر اساس مینیمم سازی یک تابع هدف استراتژی برگشتی (Receding) اولین نمونه از سیگنال کنترل محاسبه شده به سیستم اعمال می شود (بر اساس یک افق در تابع هدف)

Introduction to Model Predictive Control اختلاف الگوریتم های مختلف MPC مدل فرایند برای پیش بینی لحاظ کردن نویز تابع هزینه کاربردهای MPC در پژوهش و صنعت توربین بادی و بخار اتوپایلوت رباتیک (تراژکتوری آینده) نفت و پتروشیمی تولید سیمان برجهای تقطیر نورد فولاد (تاخیر)

Introduction to Model Predictive Control

Introduction to Model Predictive Control فرایند گرمازا در رآکتور Reactant Cooling Water

Introduction to Model Predictive Control

Introduction to Model Predictive Control مزایای استفاده از MPC: استفاده از مفاهیم اولیه کنترل در طراحی تنظیم ساده کنترل کننده قابلیت توسعه برای سیستمهای پیچیده، غیرحداقل فاز وتاخیردار قابلیت توسعه آسان برای سیستمهای MIMO برای جبران اثر اغتشاش قابل اندازه گیری به صورت طبیعی یک کنترل کننده فیدفوروارد را شامل می شود. پیاده سازی آسان قانون کنترل قیدهای سیگنال کنترل، خروجی و حالت در فرایند طراحی لحاظ می شود. (کنترل بهینه) کاربرد بسیار مفید برای شرایطی که تراژکتوری مطلوب در زمان آینده معلوم باشد (رباتیک)

Introduction to Model Predictive Control معایب MPC پیچیده تر بودن محاسبه سیگنال کنترل نسبت به کنترل کننده های کلاسیک بار محاسباتی اضافه برای فرایندهایی که دینامیک آنها تغییر نمی کند حجم محاسبات بالا برای کنترل کننده های مقید هزینه سخت افزاری برای ارتقاء کنترل کننده های کلاسیک به MPC (و سایر کنترل کننده های پیشرفته) نیاز به مدل مناسب برای فرایند تاثیر پذیری مزایای MPC از در دسترس نبودن مدل دقیق مشکل اثبات پایداری و مقاوم بودن در حالت مقید و برخی سیستمهای غیرخطی

1.1 MPC Strategy

استراتژی کنترل در خانواده کنترل کننده های MPC 1.1 MPC Strategy استراتژی کنترل در خانواده کنترل کننده های MPC

محاسبه خروجی های پیش بینی y(t+k|t) برای k=1…N وابسته به دو بخش: 1.1 MPC Strategy الف) N: افق پیش بینی محاسبه خروجی های پیش بینی y(t+k|t) برای k=1…N وابسته به دو بخش: بخش وابسته به مقادیر معلوم زمان گذشته ورودی و خروجی بخش وابسته به سیگنال کنترل در زمان آینده u(t+k|t) برای k=0…N-1 ب) محاسبه سیگنال کنترل بر مبنای بهینه سازی یک تابع هدف (کاهش خطای ردیابی تراژکتوری مرجع w(t+k)) انتخاب فرم مربعی برای معیار بهینه سازی (شامل خطای ردیابی، اندازه سیگنال کنترل) فرم بسته برای u : در شرایط سیستم خطی، بدون قید و معیار بهینه سازی مربعی

فقط u(t|t) به سیستم اعمال میشود 1.1 MPC Strategy ج) فقط u(t|t) به سیستم اعمال میشود در لحظه t+1 با وجود اطلاعات جدید y(t+1) سیگنال کنترل مجدد محاسبه می شود (شروع مجدد از الف) توجه: u(t+1|t) با u(t+1|t+1) متفاوت است. در t+1 سیگنال u(t+1|t+1) اعمال می شود

ساختار پایه برای پیاده سازی کنترل کننده MPC 1.1 MPC Strategy ساختار پایه برای پیاده سازی کنترل کننده MPC u(t|t)

انتخاب مدل: Optimizer: پاسخ ضربه ( Truncated Impulse Response Model ) 1.1 MPC Strategy انتخاب مدل: پاسخ ضربه ( Truncated Impulse Response Model ) پاسخ پله تابع تبدیل (پارامترهای کمتر، پیچیدگی محاسبه کنترل، بیان تاخیر) فضای حالت (MIMO ، بیان ساده پایداری و مقاوم بودن) Optimizer: تولید سیگنال کنترل سیگنال کنترل تابع صریح خطی از ورودی و خروجی است اگر تابع معیار مربعی باشد در صورت وجود قید نیاز به الگوریتمهای بهینه سازی عددی وابستگی سایز برنامه بهینه سازی به تعداد متغیرها و افق پیش بینی قابلیت پیاده سازی در کامپیوتر معمولی افزایش زمان محاسباتی برای کنترل کننده مقید و مقاوم نسبت به حالت بدون قید کاهش پهنای باند قابل توجه سیستم حلقه بسته با وجود قید

شباهت زیاد استراتژی MPC به رانندگی 1.1 MPC Strategy شباهت زیاد استراتژی MPC به رانندگی معلوم بودن مسیر مرجع برای یک افق پیش بین در نظر گرفتن مشخصه های خودرو (مدل ذهنی از خودرو) محاسبه و اعمال سیگنال های کنترل (گاز، ترمز، فرمان) اعمال فقط اولین نمونه از سیگنال کنترل رانندگی در شرایط مه غلیظ!

مقاسیه با PID: عملکرد PID فقط براساس خطاهای گذشته 1.1 MPC Strategy مقاسیه با PID: عملکرد PID فقط براساس خطاهای گذشته عملکرد رانندگی با منطق PID شبیه رانندگی با بکارگیری آینه است استفاده از MPC بدلیل اهمیت مسیر مرجع در رانندگی ایده استفاده از PID که از setpoint آن یک نقطه از مسیرمطلوب آینده باشد (عدم مغایرت زیاد با MPC)

PID: 80% کنترل کننده های صنعت عملکرد قابل قبول ، ساختار ساده 1.1 PID Strategy PID: 80% کنترل کننده های صنعت عملکرد قابل قبول ، ساختار ساده فرض: کنترل کننده P مقدار ضریب P در زمان های مختلف برای عملکرد مناسب: غلبه بر اینرسی، کاهش اورشوت، کاهش خطای استاتیک

1.1 PID Strategy III I

(پیش بینی خطا در آینده با گام 1) 1.1 PID Strategy D: حساس به تغییرات خطا (پیش بینی خطا در آینده با گام 1) I: وابسته به و ضعیت خطا در گذشته (نه حال و نه آینده) P: وابسته به خطای حال (نه گذشته و نه آینده) نقاط ضعف PID (پوشش توسط MPC) LTI بودن سیستم در PID PID برای سیستم NMP سبب افزایش undershoot می شود اثر خطای آینده فقط برای یک گام (عدم واکنش قبل از وقوع حادثه) مشکلات زیاد در MIMO عدم کارایی در حضور تاخیر عدم اعمال قید ورودی، حالت، خروجی و ... در طراحی

1.1 MPC Strategy

1.1 MPC Strategy

دینامیک وارون ایده آل: H s =𝐺 𝑠 −1 عدم وجود معکوس همه سیستم ها Controller Concepts دینامیک وارون ایده آل: H s =𝐺 𝑠 −1 عدم وجود معکوس همه سیستم ها عدم قابلیت ساخت همه معکوس ها]( 1 𝑠+𝑎 )غیرعلی[ عدم وجود معکوس منحصر به فرد برای سیستم غیرخطی وجود اغتشاش دقت مدل سازی پلنت ناپایدار 1 𝑠−1 NMP بودن پلنت 𝑠−1 𝑠+𝑎 𝑠+𝑏 وارون ناپایدار (و غیر علی)