PIDGS – PID controller with gain scheduling
Block SymbolLicensing group: ADVANCED
Function Description
The functionality of the PIDGS block is completely equivalent to the PIDU
block. The only difference is that the PIDGS block has a at most six sets of basic
PID controller parameters and allow bumpless switching of these sets by the
ip (parameter set index) or vp inputs. In the latter case it is necessary to set
and provide an
array of threshold values thsha. The following rules define the active parameter set: the set 0 is active
for , the set 1
for etc. till
the set 5 for .
The index of the active parameter set is available at the kp output.
Inputs
dv | Feedforward control variable | Double (F64) |
sp | Setpoint variable | Double (F64) |
pv | Process variable | Double (F64) |
tv | Tracking variable | Double (F64) |
hv | Manual value | Double (F64) |
MAN | Manual or automatic mode | Bool |
|
|
|
IH | Integrator hold | Bool |
|
|
|
ip | Parameter set index 0 5 | Long (I32) |
vp | Switching analog signal | Double (F64) |
Outputs
mv | Manipulated variable (controller output) | Double (F64) |
dmv | Controller velocity output (difference) | Double (F64) |
de | Deviation error | Double (F64) |
SAT | Saturation flag | Bool |
|
|
|
kp | Active parameter set index | Long (I32) |
Parameters
hilim | Upper limit of the controller output 1.0 | Double (F64) |
lolim | Lower limit of the controller output -1.0 | Double (F64) |
dz | Dead zone | Double (F64) |
icotype | Controller output type 1 | Long (I32) |
|
|
|
nmax | Reserved number of controller parameter sets 4 10000 10 | Long (I32) |
GSCF | Switch parameters by analog signal vp | Bool |
|
|
|
hys | Hysteresis for controller parameters switching | Double (F64) |
irtypea | Vector of controller types (control laws) [6 6 6 6 6 6] | Byte (U8) |
|
|
|
RACTA | Vector of reverse action flags [0 0 0 0 0 0] | Bool |
|
|
|
ka | Vector of controller gains [1.0 1.0 1.0 1.0 1.0 1.0] | Double (F64) |
tia | Vector of integral time constants [4.0 4.0 4.0 4.0 4.0 4.0] | Double (F64) |
tda | Vector of derivative time constants [1.0 1.0 1.0 1.0 1.0 1.0] | Double (F64) |
nda | Vector of derivative filtering parameters [10.0 10.0 10.0 10.0 10.0 10.0] | Double (F64) |
ba | Setpoint weighting factors – proportional part [1.0 1.0 1.0 1.0 1.0 1.0] | Double (F64) |
ca | Setpoint weighting factors – derivative part [0.0 0.0 0.0 0.0 0.0 0.0] | Double (F64) |
tta | Vector of tracking time constants [1.0 1.0 1.0 1.0 1.0 1.0] | Double (F64) |
thrsha | Vector of thresholds for switching the parameters [0.1 0.2 0.3 0.4 0.5 0] | Double (F64) |
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com