Protected motor control task from negative speeds