CD Update MPC Window VI

Control Design VI and Function

CD Update MPC Window VI

Owning Palette: Predictive Control VIs

Installed With: Control Design and Simulation Module

Calculates the appropriate portion, or window, of the setpoint or disturbance profile of a signal from time k to time k + Prediction Horizon. You wire these windows to the appropriate input(s) of the CD Implement MPC Controller VI.

Example

Use the pull-down menu to select an instance of this VI.

 Place on the block diagram  Find on the Functions palette

CD Update MPC Window (Single)

Initialize specifies whether to reset the calculation of the setpoint or disturbance profile. If Initialize is TRUE and you do not specify an Initial Profile Window, this VI sets the setpoint or disturbance value to the Predicted Value(s) for a period of time equivalent to the Prediction Horizon. If Initialize is TRUE and you specify an Initial Profile Window, this VI specifies the Initial Profile Window as the profile of the signal from a time period equivalent to the Prediction Horizon prior to the current time.
Predicted Value specifies the setpoint or disturbance value at time k + Prediction Horizon.
Initial Profile Window specifies the profile of the signal for a time period equivalent to the Prediction Horizon prior to the current time. This VI uses the Initial Profile Window when Initialize is TRUE.
Prediction Horizon specifies the prediction horizon to use to calculate the window size of the signal profile.
Current Value returns the setpoint or disturbance value at time k.
Predicted Profile Window returns the window of the signal profile from time k to time k + Prediction Horizon.

CD Update MPC Window (Multiple)

Initialize specifies whether to reset the calculation of the setpoint or disturbance profile. If Initialize is TRUE and you do not specify an Initial Profile Window, this VI sets the setpoint or disturbance value to the Predicted Value(s) for a period of time equivalent to the Prediction Horizon. If Initialize is TRUE and you specify an Initial Profile Window, this VI specifies the Initial Profile Window as the profile of the signal from a time period equivalent to the Prediction Horizon prior to the current time.
Predicted Values specifies the interleaved values of the setpoint or disturbance profile at time k + Prediction Horizon.
Initial Profile Window specifies the profile of the signal for a time period equivalent to the Prediction Horizon prior to the current time. This VI uses the Initial Profile Window when Initialize is TRUE.
Prediction Horizon specifies the prediction horizon to use to calculate the window size of the signal profile.
Current Values returns the interleaved values of the setpoint or disturbance profile at time k.
Predicted Profile Window returns the window of the signal profile from time k to time k + Prediction Horizon.

Example

Refer to the CDEx Update MPC Controller VI in the labview\examples\Control and Simulation\Control Design\MPC directory for an example of using the CD Update MPC Window VI.

 Open example  Browse related examples