Method for controlling a DC motor and relative open-loop voltage mode controller