Owning Palette: PID VIs
Requires: Full Development System
Implements autotuning using the tuning method associated with the polymorphic instance you select. This VI generates PID parameters based on the Stimulus signal and Response signal you specify. You can use this VI to generate initial parameters when you do not have sufficient information about the system you want to tune. You must manually select the polymorphic instance to use.Use the pull-down menu to select an instance of this VI.
![]() |
![]() |
![]() |
Note By default, this instance uses the Ziegler-Nichols tuning method. However, if your model does not have delay, Ziegler-Nichols tuning does not work. In this case, the VI automatically switches to internal model control to estimate the response. |
![]() |
Ziegler-Nichols Speed specifies the desired response performance of the PID parameters.
|
||||||
![]() |
Type of Controller specifies which parameters to return as the PID gains.
|
||||||
![]() |
Stimulus signal specifies an array that represents the stimulus signal. | ||||||
![]() |
Response signal specifies an array that represents the response signal. | ||||||
![]() |
closed-loop? specifies whether the system is a closed-loop system. If you set closed-loop? to TRUE, this VI estimates open-loop parameter values based on the closed-loop values it identifies from the input signals. | ||||||
![]() |
dt (s) specifies the�interval, in seconds, at which this VI is called. If dt (s) is less than or equal to zero, this VI uses an internal timer with a one millisecond resolution. The default is 0. | ||||||
![]() |
Controller Gain (K) specifies an initial value for the controller gain, which this VI uses to calculate the integral time (Ti, min) component of PID gains. The default is 0. | ||||||
![]() |
stimulus operating point returns the calculated stimulus offset for the plant. | ||||||
![]() |
response operating point returns the calculated response offset for the plant. | ||||||
![]() |
PID gains returns the calculated PID gains values for the plant.
| ||||||
![]() |
Plant Parameters returns the calculated gain, time constant, and dead time of the plant.
|
![]() |
Note This instance uses the Ziegler-Nichols tuning method. |
![]() |
Ziegler-Nichols Speed specifies the desired response performance of the PID parameters.
|
||||||
![]() |
Type of Controller specifies which parameters to return as the PID gains.
|
||||||
![]() |
Stimulus signal specifies an array that represents the stimulus signal. | ||||||
![]() |
Response signal specifies an array that represents the response signal. | ||||||
![]() |
closed-loop? specifies whether the system is a closed-loop system. If you set closed-loop? to TRUE, this VI estimates open-loop parameter values based on the closed-loop values it identifies from the input signals. | ||||||
![]() |
dt (s) specifies the�interval, in seconds, at which this VI is called. If dt (s) is less than or equal to zero, this VI uses an internal timer with a one millisecond resolution. The default is 0. | ||||||
![]() |
Controller Gain (K) specifies an initial value for the controller gain, which this VI uses to calculate the integral time (Ti, min) component of PID gains. The default is 0. | ||||||
![]() |
stimulus operating point returns the calculated stimulus offset for the plant. | ||||||
![]() |
response operating point returns the calculated response offset for the plant. | ||||||
![]() |
PID gains returns the calculated PID gains values for the plant.
| ||||||
![]() |
Plant Parameters returns the calculated gain, time constant, and dead time of the plant.
|
![]() |
Note This instance uses the Cohen-Coon tuning method. |
![]() |
Type of Controller specifies which parameters to return as the PID gains.
|
||||||
![]() |
Stimulus signal specifies an array that represents the stimulus signal. | ||||||
![]() |
Response signal specifies an array that represents the response signal. | ||||||
![]() |
closed-loop? specifies whether the system is a closed-loop system. If you set closed-loop? to TRUE, this VI estimates open-loop parameter values based on the closed-loop values it identifies from the input signals. | ||||||
![]() |
dt (s) specifies the�interval, in seconds, at which this VI is called. If dt (s) is less than or equal to zero, this VI uses an internal timer with a one millisecond resolution. The default is 0. | ||||||
![]() |
Controller Gain (K) specifies an initial value for the controller gain, which this VI uses to calculate the integral time (Ti, min) component of PID gains. The default is 0. | ||||||
![]() |
stimulus offset returns the calculated stimulus offset for the plant. | ||||||
![]() |
response offset returns the calculated response offset for the plant. | ||||||
![]() |
PID gains returns the calculated PID gains values for the plant.
| ||||||
![]() |
Plant Parameters returns the calculated gain, time constant, and dead time of the plant.
|
![]() |
Note This instance uses the Chien-Hrones-Reswick tuning method. |
![]() |
Tuning specifications specifies which formula to use to convert the model to PID parameters. This input provides formulas for 0% and 20% overshoot.
|
||||||||
![]() |
Type of Controller specifies which parameters to return as the PID gains.
|
||||||||
![]() |
Stimulus signal specifies an array that represents the stimulus signal. | ||||||||
![]() |
Response signal specifies an array that represents the response signal. | ||||||||
![]() |
closed-loop? specifies whether the system is a closed-loop system. If you set closed-loop? to TRUE, this VI estimates open-loop parameter values based on the closed-loop values it identifies from the input signals. | ||||||||
![]() |
dt (s) specifies the�interval, in seconds, at which this VI is called. If dt (s) is less than or equal to zero, this VI uses an internal timer with a one millisecond resolution. The default is 0. | ||||||||
![]() |
Controller Gain (K) specifies an initial value for the controller gain, which this VI uses to calculate the integral time (Ti, min) component of PID gains. The default is 0. | ||||||||
![]() |
stimulus offset returns the calculated stimulus offset for the plant. | ||||||||
![]() |
response offset returns the calculated response offset for the plant. | ||||||||
![]() |
PID gains returns the calculated PID gains values for the plant.
| ||||||||
![]() |
Plant Parameters returns the calculated gain, time constant, and dead time of the plant.
|
![]() |
Note This instances uses internal model control to estimate the response. |
![]() |
Desired Time Constant (tau_c) specifies a time constant value at which you want the system to perform after you close the loop. This VI uses this value to adjust the PID gains according to the internal model control method and as appropriate for a first-order model with delay. | ||||||
![]() |
Type of Controller specifies which parameters to return as the PID gains.
|
||||||
![]() |
Stimulus signal specifies an array that represents the stimulus signal. | ||||||
![]() |
Response signal specifies an array that represents the response signal. | ||||||
![]() |
closed-loop? specifies whether the system is a closed-loop system. If you set closed-loop? to TRUE, this VI estimates open-loop parameter values based on the closed-loop values it identifies from the input signals. | ||||||
![]() |
dt (s) specifies the�interval, in seconds, at which this VI is called. If dt (s) is less than or equal to zero, this VI uses an internal timer with a one millisecond resolution. The default is 0. | ||||||
![]() |
Controller Gain (K) specifies an initial value for the controller gain, which this VI uses to calculate the integral time (Ti, min) component of PID gains. The default is 0. | ||||||
![]() |
stimulus offset returns the calculated stimulus offset for the plant. | ||||||
![]() |
response offset returns the calculated response offset for the plant. | ||||||
![]() |
PID gains returns the calculated PID gains values for the plant.
| ||||||
![]() |
Plant Parameters returns the calculated gain, time constant, and dead time of the plant.
|
Refer to the Autotuning PID Offline VI in the labview\examples\control\PID directory for an example of using the PID Autotuning Design VI.
Open example
Find related examples
Submit feedback on this topic.
Visit ni.com/support for technical support.