SISO Controller Function
- Updated2023-03-14
- 8 minute(s) read
Owning Palette: Controllers Functions
Requires: Control Design and Simulation Module
Implements a controller for a single-input single-output (SISO) dynamic system. This function provides an interface for interactively designing and analyzing a controller that this function implements. You also can create a controller elsewhere on the block diagram and wire its model to this function to implement.
Add this function to a simulation diagram to close the loop between the setpoint and the plant with the controller you generate.
| Dialog Box Options |
| Block Diagram Inputs |
| Block Diagram Outputs |
Dialog Box Options
| Parameter | Description |
|---|---|
| Parameters | Lists all the parameters associated with this function. Select a parameter from this list to configure the parameter. When you select a parameter, the parameter and its associated Parameter source control appear in the Parameter Information section of the configuration dialog box. |
| Preview | Displays a graphical preview, if available, of the function output or configuration. |
| Parameter Information | Contains the parameters you can configure for this function. You must select a parameter from the Parameters list to make that parameter and its associated Parameter source control visible in the Parameter Information section of the configuration dialog box. |
| Parameter source | Specifies whether you configure this parameter using the Configuration Dialog Box or a Terminal on the simulation diagram. The default value is Configuration Dialog Box. If you select Terminal, LabVIEW displays an input for that parameter on the simulation diagram, and you can wire values to that input to configure this function programmatically. If you select Configuration Dialog Box, LabVIEW removes that input from the simulation diagram. You then must set the value for this parameter inside the configuration dialog box. |
| Setpoint | Specifies the setpoint value of the process variable that you are controlling. This is the desired value for the process variable. |
| Initialize? | Specifies whether to restart the calculation from zero. The default is FALSE. |
| Integral Anti-windup [s] (Ti) | Specifies an integral time constant, in seconds. This input adjusts the effect of the error integral on the controller output when the output is saturated at the specified Output Range maximum and minimum values. The default value is 0, which specifies no integral action. |
| Manual | Specifies a value to use for the controller output if Auto? is FALSE. |
| Auto? | If TRUE, this function uses automatic control. If FALSE, this function uses manual control by switching off the controller and using the value you specify for Manual as the controller output. In some situations, you might need to switch off the controller and operate the system in manual, or open-loop, mode. |
| Output Range | Contains the following options that define a range to which to coerce the control output:
|
| Interactive Design | Hosts the Interactive Control Design dialog box, in which you design and analyze a controller. When you select this parameter, the interface at the right contains the following pages and components:
|
| Controller Model | Provides another way to load and edit a supported controller model. When you load or edit a model through this parameter, the model is reflected in the Interactive Control Design dialog box and vice versa. When you select this parameter, the following options appear at the right and allow you to define a controller:
|
| Feedback Sign | Specifies whether the feedback connections are positive or negative. |
| Execution Control | Contains the following options:
|
| Output | Contains the following options:
|
Block Diagram Inputs
| Parameter | Description |
|---|---|
| Setpoint | Specifies the setpoint value of the process variable that you are controlling. This is the desired value for the process variable. |
| Initialize? | Specifies whether to restart the calculation from zero. The default is FALSE. |
| Integral Anti-windup [s] (Ti) | Specifies an integral time constant, in seconds. This input adjusts the effect of the error integral on the controller output when the output is saturated at the specified Output Range maximum and minimum values. The default value is 0, which specifies no integral action. |
| Manual | Specifies a value to use for the controller output if Auto? is FALSE. |
| Auto? | If TRUE, this function uses automatic control. If FALSE, this function uses manual control by switching off the controller and using the value you specify for Manual as the controller output. In some situations, you might need to switch off the controller and operate the system in manual, or open-loop, mode. |
| Output Range | Contains the following options that define a range to which to coerce the control output:
|
| Measurement | Accepts the value of the reference input you want to control. |
| Controller Model | Accepts controller models you want this function to implement. If you do not design the controller in the Interactive Control Design dialog box, you can wire its model to this input. The controller must be in zero-pole-gain form. This value might come from the following sources:
|
Block Diagram Outputs
| Parameter | Description |
|---|---|
| Output | Returns the result of the calculation from the controller. |