Model Predictive Control (MPC) virtual lab

​This virtual lab contains interactive exercises to study the design of linear and adaptive model predictive controllers (MPCs) .
917 téléchargements
Mise à jour 9 juil. 2024

MPC Virtual Lab

View <File Exchange Title> on File Exchange

Open in MATLAB Online

This virtual lab contains interactive exercises to study the design of linear and adaptive model predictive controllers (MPCs) for implementing a vehicle steering control system.

The lab solutions are available upon instructor request. If you would like to request solutions, find an issue, or have a suggestion, contact us here.

Learning Goals

  • Model and simulate lateral vehicle dynamics
  • Design a linear MPC controller for the vehicle steering control system
  • Design an adaptive MPC controller for the vehicle steering control system
  • Bonus: Create custom trajectory and/or learn about methods for improved controllers

Setup

To get started with the MPC virtual lab, double-click the MPCVirtualLab.prj file inside MATLAB™. Then open up the MPC_virtual_lab.mlx live script, where you'll find the instructions for running the interactive exercises to complete the virtual lab.

Suggested Prework

  • MPC Tech Talks – help students gain insights into why engineers use Model Predictive Control, how they work, and the difference between linear and non-linear Model Predictive Control.
  • MATLAB Onramp – a free two-hour introductory tutorial that teaches the essentials of MATLAB.
  • Simulink Onramp – a free three-hour introductory tutorial that teaches the essentials of Simulink.

MathWorks Products (https://www.mathworks.com)

Requires MATLAB release R2023b or newer

Educator Resources

License

The license is available in the License.txt file in this GitHub repository.

The lab solutions are available upon instructor request. If you would like to request solutions, find an issue, or have a suggestion, contact us here.

Copyright 2023 The MathWorks, Inc.

Citation pour cette source

Eric Hillsberg (2024). Model Predictive Control (MPC) virtual lab (https://github.com/MathWorks-Teaching-Resources/Model-Predictive-Control-virtual-lab), GitHub. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2023b
Compatible avec les versions R2023b et ultérieures
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

MPC virtual lab

Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées

Version Publié le Notes de version
1.1.1

Updated Main Script to resolve issues

1.0.2

Update Solution Request Form Link

1.0.1

update image

1.0.0

Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.