Pwm signal to low pass filter, compared to feedback position, if equal stop motor