LabVIEW Control Design and Simulation Module

CD Step Forward MPC Window VI

  • Updated2023-03-14
  • 4 minute(s) read

CD Step Forward MPC Window VI

Owning Palette: Predictive Control VIs

Requires: Control Design and Simulation Module

Calculates the appropriate portion, or window, of the setpoint and/or disturbance profiles. You wire these windows to the appropriate input(s) of the CD Implement MPC Controller VI.

The CD Step Forward MPC Window VI also moves the control and prediction horizons forward.

Details  

Timestep Index specifies the sample time k at which this VI provides the correct window for the setpoint and/or disturbance profiles.
Initialize is TRUE if you want to restart the calculation from any initial values you provide. Initialize is FALSE if you do not want to restart this calculation. The default value is FALSE.
MPC Controller In specifies the predictive controller model this VI uses. You create this model by using the CD Create MPC Controller VI.
Interleaved Output Setpoint specifies the interleaved values of the output setpoint profile.
Interleaved Disturbance Profile specifies the interleaved values of the disturbance profile.
Interleaved Control Action Setpoint specifies the interleaved values of the control action profile.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
MPC Controller Out returns the predictive controller model.
Output Reference Window returns an interleaved window of output setpoints for the current prediction horizon.
Disturbance Window returns an interleaved window of disturbance values for the current prediction horizon.
Control Action Reference Window returns an interleaved window of control action setpoints for the current prediction horizon.
error out contains error information. This output provides standard error out functionality.
Profile Current Values returns the current values of the inputs, outputs, disturbances, states, and rates of change of control action profile.
Control Action (u) returns the current values of the control actions.
Output (y) returns the current values of the plant outputs.
Disturbance (d) returns the current values of the disturbance.
State (x) returns the current values of the plant states.
Control Action Change (Du) returns the current rates at which the control actions are changing.

CD Step Forward MPC Window Details

Refer to Chapter 18, Creating and Implementing a Model Predictive Controller, of the LabVIEW Control Design User Manual for information about using this VI.

Log in to get a better experience