current compensator