Delay of compensation output signal as function of sampling and computation time