Practical Design and Application of Model Predictive Control: MPC for MATLAB® and Simulink® Users
By Nassim Khaled and Bibin Pattel
3/5
()
About this ebook
Practical Design and Application of Model Predictive Control is a self-learning resource on how to design, tune and deploy an MPC using MATLAB® and Simulink®. This reference is one of the most detailed publications on how to design and tune MPC controllers. Examples presented range from double-Mass spring system, ship heading and speed control, robustness analysis through Monte-Carlo simulations, photovoltaic optimal control, and energy management of power-split and air-handling control. Readers will also learn how to embed the designed MPC controller in a real-time platform such as Arduino®.
The selected problems are nonlinear and challenging, and thus serve as an excellent experimental, dynamic system to show the reader the capability of MPC. The step-by-step solutions of the problems are thoroughly documented to allow the reader to easily replicate the results. Furthermore, the MATLAB® and Simulink® codes for the solutions are available for free download. Readers can connect with the authors through the dedicated website which includes additional free resources at www.practicalmpc.com.
- Illustrates how to design, tune and deploy MPC for projects in a quick manner
- Demonstrates a variety of applications that are solved using MATLAB® and Simulink®
- Bridges the gap in providing a number of realistic problems with very hands-on training
- Provides MATLAB® and Simulink® code solutions. This includes nonlinear plant models that the reader can use for other projects and research work
- Presents application problems with solutions to help reinforce the information learned
Nassim Khaled
Dr. Khaled has extensive industrial and academic experience in the field of dynamics, controls and IoT solutions. He is currently an Assistant professor in Prince Mohammad Bin Fahd University. He is an innovator with more than 30 patents and patent applications in the fields of smart systems and energy. He is the author of "Practical Design and Application of Model Predictive Control". He also has numerous publications in the field of controls and autonomous navigation. Dr. Khaled is a green-belt six sigma certified. He received the status of "Outstanding Researcher" granted by the U.S Government in 2012.
Related to Practical Design and Application of Model Predictive Control
Related ebooks
Control System Design Guide: Using Your Computer to Understand and Diagnose Feedback Controllers Rating: 4 out of 5 stars4/5Digital Control Engineering: Analysis and Design Rating: 3 out of 5 stars3/5Software Tools for the Simulation of Electrical Systems: Theory and Practice Rating: 0 out of 5 stars0 ratingsAdvanced Control Foundation: Tools, Techniques and Applications Rating: 5 out of 5 stars5/5Introduction to Linear Control Systems Rating: 0 out of 5 stars0 ratingsReal-Time Embedded Systems: Design Principles and Engineering Practices Rating: 4 out of 5 stars4/5Model-Based Engineering for Complex Electronic Systems Rating: 5 out of 5 stars5/5Machine Learning and Data Science in the Power Generation Industry: Best Practices, Tools, and Case Studies Rating: 0 out of 5 stars0 ratingsMechatronic Components: Roadmap to Design Rating: 5 out of 5 stars5/5Instrumentation and Control Systems Rating: 0 out of 5 stars0 ratingsElectric Drives and Electromechanical Systems: Applications and Control Rating: 0 out of 5 stars0 ratingsReal World Multicore Embedded Systems Rating: 3 out of 5 stars3/5Designing SCADA Application Software: A Practical Approach Rating: 0 out of 5 stars0 ratingsThe Dynamics of Automatic Control Systems Rating: 5 out of 5 stars5/5Computer-Controlled Systems: Theory and Design, Third Edition Rating: 3 out of 5 stars3/5Control System Design: An Introduction to State-Space Methods Rating: 3 out of 5 stars3/5Advanced Control Engineering Rating: 5 out of 5 stars5/5Advanced Control Design with Application to Electromechanical Systems Rating: 5 out of 5 stars5/5Applied Control Theory for Embedded Systems Rating: 4 out of 5 stars4/5Adaptive Control: Second Edition Rating: 4 out of 5 stars4/5Feedback Control Theory Rating: 5 out of 5 stars5/5Embedded Computing and Mechatronics with the PIC32 Microcontroller Rating: 5 out of 5 stars5/5Applications of Adaptive Control Rating: 5 out of 5 stars5/5Software Engineering for Embedded Systems: Methods, Practical Techniques, and Applications Rating: 3 out of 5 stars3/5Linear Feedback Controls: The Essentials Rating: 0 out of 5 stars0 ratingsArduino meets MATLAB: Interfacing, Programs and Simulink Rating: 0 out of 5 stars0 ratingsWheeled Mobile Robotics: From Fundamentals Towards Autonomous Systems Rating: 0 out of 5 stars0 ratings
Technology & Engineering For You
The Art of War Rating: 4 out of 5 stars4/5The 48 Laws of Power in Practice: The 3 Most Powerful Laws & The 4 Indispensable Power Principles Rating: 5 out of 5 stars5/5A Night to Remember: The Sinking of the Titanic Rating: 4 out of 5 stars4/5The Systems Thinker: Essential Thinking Skills For Solving Problems, Managing Chaos, Rating: 4 out of 5 stars4/5Ultralearning: Master Hard Skills, Outsmart the Competition, and Accelerate Your Career Rating: 4 out of 5 stars4/5Death in Mud Lick: A Coal Country Fight against the Drug Companies That Delivered the Opioid Epidemic Rating: 4 out of 5 stars4/5Vanderbilt: The Rise and Fall of an American Dynasty Rating: 4 out of 5 stars4/5The Invisible Rainbow: A History of Electricity and Life Rating: 4 out of 5 stars4/5The Art of War Rating: 4 out of 5 stars4/5Longitude: The True Story of a Lone Genius Who Solved the Greatest Scientific Problem of His Time Rating: 4 out of 5 stars4/5The Big Book of Hacks: 264 Amazing DIY Tech Projects Rating: 4 out of 5 stars4/5The Big Book of Maker Skills: Tools & Techniques for Building Great Tech Projects Rating: 4 out of 5 stars4/5The Right Stuff Rating: 4 out of 5 stars4/5No Nonsense Technician Class License Study Guide: for Tests Given Between July 2018 and June 2022 Rating: 5 out of 5 stars5/580/20 Principle: The Secret to Working Less and Making More Rating: 5 out of 5 stars5/5The CIA Lockpicking Manual Rating: 5 out of 5 stars5/5Summary of Nicolas Cole's The Art and Business of Online Writing Rating: 4 out of 5 stars4/5How to Disappear and Live Off the Grid: A CIA Insider's Guide Rating: 0 out of 5 stars0 ratingsThe Fast Track to Your Technician Class Ham Radio License: For Exams July 1, 2022 - June 30, 2026 Rating: 5 out of 5 stars5/5A History of the American People Rating: 4 out of 5 stars4/5The ChatGPT Millionaire Handbook: Make Money Online With the Power of AI Technology Rating: 0 out of 5 stars0 ratingsLogic Pro X For Dummies Rating: 0 out of 5 stars0 ratingsPilot's Handbook of Aeronautical Knowledge (Federal Aviation Administration) Rating: 4 out of 5 stars4/5Understanding Media: The Extensions of Man Rating: 4 out of 5 stars4/5Smart Phone Dumb Phone: Free Yourself from Digital Addiction Rating: 0 out of 5 stars0 ratingsOn War: With linked Table of Contents Rating: 4 out of 5 stars4/5
Reviews for Practical Design and Application of Model Predictive Control
2 ratings0 reviews
Book preview
Practical Design and Application of Model Predictive Control - Nassim Khaled
engines.
Chapter 1
Introducing the Book
Abstract
This chapter introduces the authors briefly. Both the authors are academic and industrial experts who learned Model Predictive Control (MPC) on their own and implemented it in industrial applications. They have gone through the pain of failed designs and tunings in their industrial experiences. They have learned coding tricks, automated multiple MPC design techniques as well as robustness best practices that they wanted to share with the industrial and academic world. The chapter also describes the organization of the book and hardware and software requirements to implement the examples in the book, in addition to the free resources available for the reader.
Keywords
MPC; Model Predictive Control; practical MPC; industrial MPC; matlab; simulink
1.1 Introducing the Authors
One of the unique features of this book is the fact that neither one of the authors learned Model Predictive Control (MPC) in a classroom setting. They both had to self-learn the theory, design, and implementation of MPC in an application-oriented fashion. They have gone through the pain of failed designs and tunings in their industrial experiences. They have learned coding tricks, automated multiple MPC design techniques as well as robustness best practices that they wanted to share with the industrial and academic world. This important fact allows the reader to understand the how this book came about and what benefits he/she will reap from reading this publication.
Both authors are academic and industrial controls experts. In addition to MPC, they have studied, designed, and implemented several controller and observer strategies such as sliding mode, fuzzy logic, adaptive techniques, linear and nonlinear PID. Many of their designs were implemented and integrated into industrial products such as diesel engine control, onboard diagnostics, automated testing stands, retail, and industrial refrigeration.
The authors have created a webpage that has additional resources related to the book. The reader can contact the authors with questions, feedback, seminars, or consultancy inquiries. As the authors receive a lot of similar requests, please expect some delay in response. The objective of the authors is to connect with readers, maximize the benefit to readers, as well as improve the quality of the material related to this book.
www.practicalmpc.com
1.2 Practical Approach to MPC
Since the eighties, a significant body of books have described theory in addition to examples of Model Predictive Control (MPC). Academics were drawn to MPC since it provides a streamlined solution for solving Multi-Input Multi-Output control problems that are subject to constraints in the system. Furthermore, MPC provides the designer with the ability to handle the instantaneous as well as future performance of dynamic systems. In the case of industrial process control, the Honeywell industrial MPC controller [1] was designed to handle complex industrial process control that can’t be handled with the traditional and popular PID. Yet, it seems that the popularity of MPC hasn’t gained much traction in many industries, such as the automotive world. It is rarely cited that MPC solutions made their way into production electronic modules for vehicles. The authors believe that this is primarily due to the significant resources which are required to change existing procedures in software development by switching to MPC, limited capability of automotive electronic control units (ECUs) in terms of throughput and memory, as well as the lack of automotive control engineers who are well versed in MPC. Moreover vehicle manufacturers are still finding ways to design their closed loop controllers without using MPC. Nontechnical budget holders in the automotive world continuously pose questions such as: Why should we change the controller if it works? Why do we need to invest in new procedures to adopt MPC? Do customers care about having an MPC controller in their vehicles instead of nested PID loops? These are all valid questions and the challenge that technical leaders face is how to quantify control robustness as cost savings. The authors believe that until the complexity level of designing and tuning control software for automotive applications in particular, and other industries in general, reaches unmanageable levels through traditional control techniques, there will not be wide adoption of MPC in the industry.
In an attempt to understand the academic interest in MPC compared to other traditional control techniques, the authors used books.google.com/ngrams which scans a serious volume of books written in English. The authors searched for the frequency of usage of the following case-insensitive keywords: Model Predictive Control, PID Control, Sliding Mode Control, State Feedback Control. Fig. 1.1 shows the search results from 1970 till 2008 no data was available after 2008. At the beginning of the millennia, the frequency of usage of MPC surpassed PID as well as other control techniques. Fig. 1.1 is a good indication that there is an increasing academic interest in MPC, especially with the increased interest in the internet of things (IoT) and smart devices.
Figure 1.1 ngrams search for various control techniques.
The theme of this book is streamlining the design, tuning, and deployment process of linear MPC. This will allow a wider spread of a very capable control strategy that the authors believe will be an essential part of the technology revolution of IoT, smart devices, and digital twins. The methodology the authors use to educate readers is through solving real world applications. The control problems discussed in this book are challenging and nonlinear. The authors spent a significant amount of time modeling the dynamics of the presented problems as well as designing and tuning the MPC controllers. Where possible, all the challenges the authors encountered were documented so that readers can benefit from the lessons learned. The challenges ranged from the system identification of the plant, design of MPC in MATLAB and Simulink, the untold tuning art of MPC as well as simulating the MPC with the nonlinear plant in Simulink. Except for Chapter 10, all the plant models and the designed MPCs can be downloaded from the book’s website. The authors believe in open-sources sharing to advance science and promote model-based control