model predictive control toolbox documentation -凯发k8网页登录
model predictive control toolbox™ provides functions, an app, simulink® blocks, and reference examples for developing model predictive control (mpc). for linear problems, the toolbox supports the design of implicit, explicit, adaptive, and gain-scheduled mpc. for nonlinear problems, you can implement single- and multi-stage nonlinear mpc. the toolbox provides deployable optimization solvers and also enables you to use a custom solver.
you can evaluate controller performance in matlab® and simulink by running closed-loop simulations. for automated driving, you can also use the provided misra c™- and iso 26262-compliant blocks and examples to quickly get started with lane keep assist, path planning, path following, and adaptive cruise control applications.
the toolbox supports c and cuda® code and iec 61131-3 structured text generation.
get started
learn the basics of model predictive control toolbox
linear plant specification
specify linear plant model, input and output signal types, scale factors
mpc design
basic workflow for designing traditional (implicit) model predictive controllers
explicit mpc design
fast model predictive control using precomputed solutions instead of run-time optimization
adaptive mpc design
adaptive control of nonlinear plant by updating internal plant model at run time
gain-scheduled mpc design
gain-scheduled control of nonlinear plants by switching controllers at run time
nonlinear mpc design
design model predictive controllers with nonlinear prediction models, costs, and constraints
code generation
generate code and deploy controllers on real-time targets
automated driving applications
design and simulate model predictive controllers for automated driving