Optimized PID position control of a non