PI-Controller

Proportional Integral Controller
The I share is responsible for an exact adjustment to this value.

Table of Contents


Inputs↑

AbbreviationSummaryDescriptionValue Range
PVProcess valueActual value of the controlled variable.∞
AutoAutomatic0 = Manual
1 = Automatic
0/1
OffOff / LockPulse (< 200 ms): Outputs are reset / switched off.
Pulse (> 200 ms): Block is locked.
Dominating input.
0/1




Outputs↑

AbbreviationSummaryDescriptionValue Range
COController outputOutput of the controller for manipulating the controlled variable.∞




Parameters↑

AbbreviationSummaryDescriptionUnitValue RangeDefault Value
RemRemanence inputRemanence input: If active, the function block retains its previous state after a Miniserver reboot.
The state of the function block is saved:
– When saving to the Miniserver
– At a planned reboot
– Before a backup
– Once per hour
The data is saved on the SD card.
-0/10
SPSetpointSetpoint of the controlled variable.-∞5
StSampling timeAt this interval, the controller calculates new values for (CO).s0...∞1
ThThresholdUsed to suppress small control differences between (PV) and (SP). If the difference is less than the threshold, no new value is calculated for (CO). This helps avoid any unnecessary load on the actuator.-∞1
KpProportional gain-∞2
KiIntegral gain-∞1
MvManual valueWhen (Auto) is 0, this value is output at (CO).-∞5
MinMinimumSpecifies the minimum output value for (CO).-∞0
MaxMaximumSpecifies the maximum output value for (CO).-∞10



Calculation formula for the PI controller↑

CO = Kp * (Target - Input) + Ki * (Sum of errors) * Sample Time

Legend:

CO: Controller Output

Kp: Proportional gain

Target: Setpoint

Input: Actual (measured) value

Ki: Integral gain

Sum of errors: Accumulated past errors

Sample Time: Time interval between calculations