<< x2c_PI
Control
x2c_PIDLimit >>
X2C Control Library
>>
Control
> x2c_PID
x2c_PID
X2C PID Controller
Description
PID controller: G(s) = Kp + Ki/s + Kd*s/(s/(2*pi*fc) + 1)
Inports
In:
Control error input.
Init:
Value which is loaded at initialization function call.
Enable:
Enable == 0: Deactivation of block; Out set to 0 Enable 0->1: Preload of integral part Enable == 1: Activation of block
Outports
Out:
Mask Parameters
Kp:
Proportional Factor
Ki:
Integral Factor
Kd:
Derivative Factor
fc:
Cutoff frequency of realization low pass.
ts_fact:
Multiplication factor of base sampling time (in integer format).
Implementations
FiP8:
8 Bit Fixed Point
FiP16:
16 Bit Fixed Point
FiP32:
32 Bit Fixed Point
Float32:
32 Bit Floating Point
Float64:
64 Bit Floating Point
Report an issue
<< x2c_PI
Control
x2c_PIDLimit >>