Chien-Hrones-Reswick
- Updated2023-02-17
- 3 minute(s) read
Chien-Hrones-Reswick
Implements autotuning using the Chien-Hrones-Reswick tuning method.
Inputs/Outputs

tuning specifications
Formula to use to convert the model to PID parameters.
| Regulator - 0% | 0 | Uses the regulator formula for 0% overshoot. |
| Regulator - 20% | 1 | Uses the regulator formula for 20% overshoot. |
| Servo - 0% | 2 | Uses the servo formula for 0% overshoot. |
| Servo - 20% | 3 | Uses the servo formula for 20% overshoot. |
Default value: Regulator - 0%

type of controller
Parameters to return as PID gains.
| P | 0 | Returns only the proportional parameters. |
| PI | 1 | Returns the proportional and integral parameters. |
| PID | 2 | Returns the proportional, integral, and derivative parameters. |
| PD | 3 | Returns the proportional and derivative parameters. |
Default value: P

stimulus signal
Stimulus signal for the system.

response signal
Response signal of the system.

closed-loop?
A Boolean that specifies whether the system is a closed-loop system.
| True | The system is a closed-loop system. The node estimates open-loop parameter values based on the closed-loop values the node identifies from the input signals. |
| False | The system is not a closed-loop system. |
Default value: False

controller gain
Initial value for the controller gain.
This node uses this input to calculate integral of PID gains.
Default value: 0

dt
Loop-cycle time or interval, in seconds, at which this node is called.
dt must be greater than zero.
Default value: 0

PID gains
Proportional gain, integral gain, derivative gain, and filter coefficient parameters of the controller.
This output can return a cluster or an array of clusters.

proportional
Proportional gain of the controller.

integral
Integral gain of the controller.

derivative
Derivative gain of the controller.

filter coefficient [a]
Derivative lowpass filter coefficient of the controller.

stimulus operating point
Stimulus offset for the plant.

response operating point
Response offset for the plant.

plant parameters
Gain, time constant, and dead time of the plant.

Plant Gain (K)
Process gain (K).

Time Constant (T)
Time constant (T), in seconds.

Dead Time (L)
Dead time (L), in seconds.