Motor drive used for speed control used on mechanical equipment