Search This Blog

Understanding Model Predictive Control, Part 2: What is MPC?

Learn how model predictive control (MPC) works. - Model Predictive Control Toolbox: - What Is Model Predictive Control Toolbox?: - Getting Started with Model Predictive Control Toolbox: MPC uses a model of the plant to make predictions about future plant outputs. It solves an optimization problem at each time step in order to find the control action that drives the predicted plant output as close to the desired reference as possible. - Optimization Problem: - How to Design an MPC Controller with Simulink and Model Predictive Control Toolbox: - Adaptive MPC Design with Simulink and Model Predictive Control Toolbox: Using a simple car example, this video provides insight into an MPC controller’s strategy for finding the optimal steering wheel angle to control the car’s longitudinal speed. At each time step, the MPC controller makes predictions about the future lateral positions of the car. To drive the predicted path of the car as close to the reference as possible, the MPC controller formulates the control problem as an optimization problem. It tries to minimize the errors between the lateral positions of the car and the reference as well as steering wheel angle increments. The cost function is represented as a weighted squared sum of these two terms. The solution to this optimization problem provides the optimal steering wheel angle sequence. At the current time step, MPC only applies the first step of this optimal sequence to the car and disregards the rest. In the next time step, it gets a new measurement of the car’s lateral position. The prediction horizon shifts by one time step, and the controller repeats the same cycle to calculate the next optimal steering wheel angle.

1 comment:

  1. Most often, after some apathy, it is about mental health, so you are lucky to have a mental health therapist with extensive medical experience and skills to help you get back on track.