Design of grading variable speed main drive system