PID

PID is a time discrete proportional integrator with differential part with time constants Tv and Tn and gain constant K.

Methods

Arguments

Return Value

reset

initValue::continuous

none

compute

in::continuous

Tv::continuous

Tn::continuous

K::continuous

none

out

none

continuous

On activation of method

Reset

The integrator value is set to initValue.

Compute

The value of the PID function is computed as a sum of a P function, a D function and an I function.

Out

The value of the PID function is returned.