Compensation of dynamic characteristic of actuator