Servo loop with phase counter and phase discriminator, see figure SE-four