Computes a control value given a setpoint signal and process signal using a PID algorithm. A PID controller is used to produce a control signal that brings a process signal, typically a sensor signal from a physical system, as close as possible to a given setpoint value. The control signal is connected so that it controls the process (the physical system) that produces the process signal. The parameters kp, ki and kd specify the amount of proportional, integral and derivative gain, respectively, in the resulting control signal. To set these parameters correctly, some knowledge of PID controllers is required. Notice that the PID block reacts instantaneously to changes in the process signal, which means that it is necessary to include a delay (a Pre block) in the model of the process to avoid causality loops when simulating.
Standard\Dynamic\Pid
Name | Type | Description |
---|---|---|
process | real | The process signal that is to be brought closer to setpoint. |
setpoint | real | The value that the process value should be brought closer to. |
kp | real | The amount of proportional gain in the PID algorithm. |
ki | real | The amount of integral gain in the PID algorithm. |
kd | real | The amount of derivative gain in the PID algorithm. |
Name | Type | Description |
---|---|---|
control | real | The control signal to control the process. |