get started with model predictive control toolbox -凯发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.
tutorials
- design controller using mpc designer
design a model predictive controller for a continuous stirred-tank reactor (cstr) using mpc designer.
design and simulate a model predictive controller for a simulink model using mpc designer.
design and simulate a model predictive controller at the matlab command line.
create and simulate a model predictive controller for a siso plant.
create and simulate a model predictive controller for a plant with multiple inputs and a single output.
create and simulate a model predictive controller for a mimo plant.
about model predictive control
introduction to mpc main concepts.
plant inputs are independent variables that affect the plant, and plant outputs are dependent variables that you want to control or monitor.
- mpc prediction models
model predictive controllers use plant, disturbance, and noise models for prediction and state estimation.
- controller state estimation
mpc controllers use their current state as the basis for predictions. in general, the controller states are unmeasured and must be estimated.
model predictive controllers compute optimal manipulated variable control moves by solving a quadratic program at each control interval.
- qp solvers
the model predictive controller qp solvers convert an mpc optimization problem to a general form quadratic programming problem.
videos
understand the benefits of using model predictive control.
understand the working principles of model predictive control.
understand common mpc design parameters, such as sample time, horizons,
tuning weights, and constraints.