A method for self-adjusting position control of an actuator