PID Regelaar

The PID-Controller is a controller with proportional, derivative and integral control.

CONTROLLER PROPERTIES

The PID-Controller is a combination of a proportional, derivative and integral controller.

The proportional term produces an output value that is proportional to the current error value. The derivative of the process error is calculated by determining the slope of the error over time and multiplying this rate of change by the derivative term. The contribution from the integral term is proportional to both the magnitude of the error and the duration of the error.

The idea is that you first set Ki value to zero and increase Kp until the signal oscillates then set the value of Kp to roughly half. Then increase Ki until any offset is corrected quickly enough for the process. Finally increase Kd if needed to ensure the controller is quick enough to reach the target value after a disturbance.

OVERVIEW

Inputs

Description

 
AIActual valueConnect the analogue input here
AAutomatic input1 = Automatic
0 = Manual (Mv value is output at AQ)
RReset inputA pulse at R causes the controller to start regulating at 0

Parameters

Description

 
tl_files/loxone/documentation/EN-UK/function_blocks/remanencebattery.pngRemanenceSets the function block to be remanent, e.g. return to the last known scene after a power cut
TTarget valueThe desired setpoint for the controller to reach
STSampling timeTime interval for the new output value to be computed
TrThresholdIf error is less than the threshold parameter AQ will remain the same
KpProportional termCauses an output value that is proportional to the current error value
KiIntegral termIs proportional to both the magnitude of the error and the duration of the error
KdDerivative termCalculates the derivative of the process error
MvAnalogue value for manual modeThis parameter is output to AQ if manual mode is used (A = 0)
MinMinimum valueMinimum output value of AQ
MaxMaximum valueMaximum output value of AQ

Outputs

Description

 
AQAnalogue outputThe controlled signal is output here