| Model Predictive Control Toolbox | |
| Provide feedback about this page |
Set signal types in MPC plant model
Syntax
Description
The purpose of setmpcsignals is to set I/O channels of the MPC plant model P. P must be an LTI object. Valid signal types, their abbreviations, and the channel type they refer to are listed below
| Signal Type |
Abbreviation |
Channel |
|---|---|---|
Manipulated |
MV |
Input |
MeasuredDisturbances |
MD |
Input |
UnmeasuredDisturbances |
UD |
Input |
MeasuredOutputs |
MO |
Output |
UnmeasuredOutputs |
UO |
Output |
Unambiguous abbreviations of signal types are also accepted.
P=setmpcsignals(P) sets channel assignments to default, namely all inputs are manipulated variables (MVs), all outputs are measured outputs (MOs). More generally, input signals that are not explicitly assigned are assumed to be MVs, while unassigned output signals are considered as MOs.
Examples
We want to define an MPC object based on the LTI discrete-time plant model sys with four inputs and three outputs. The first and second input are measured disturbances, the third input is an unmeasured disturbance, the fourth input is a manipulated variable (default), the second output is an unmeasured, all other outputs are measured.
Note
When using setmpcsignals to modify an existing MPC object, be sure that the fields Weights, MV, OV, DV, Model.Noise, and Model.Disturbance are consistent with the new I/O signal types.
|
See Also
| Provide feedback about this page |
![]() | setmpcdata | setname | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |