Model of a digital controller with PDI logic. The feedback signal is read each sampling time, the output current is generated with a delay equal to the calculation time. The integrator current is limited between a minimum and a maximum value; the integrator input is null if the position error is between the minimum and maximum thresholds; the threshold values shall be expressed in the position error unit; on the derivative branch there is a first order filter.
See the Simulink Block Browser for more information about Simulink.