Speed control and efficiency of DC machines