The invention belongs to the motor control technology for electric vehicles and relates to a method for designing a universal motor drive controller of an electric vehicle. A motor parameter is inputted to upper computer motor drive design software, a PI (Proportional-Integral) controller parameter is automatically designed, per-unit gain and inverse per-unit gain required by corresponding parameters in the calculation of vector control are also automatically designed, and after simulation, the parameters are configured to the motor drive controller; the controller reads corresponding downloaded values and samples digital signals and analog signals of a motor connected with the controller, the controller also receives assembly control signals of an assembly controller connected with the controller, system working condition processing and fault treatment are performed according to the signals, subsequently, vector control is carried out, space vector pulse-width modulation is finally performed, the steps are circularly performed, and the motor control flow is finished. According to the method, corresponding parameters only need to be inputted to the upper computer motor drive design software, the calculated parameters are configured in the motor drive controller, and accordingly, drive controllers for motors in different models can be designed.