In order to solve the problem of torque-ripple in the control system of ship main propulsion motor controlled by direct torque control, this paper proposes a super-twisting sliding mode calculation method based on the traditional sliding mode controller, and designs the corresponding controller according to this method. The method is verified by Matlab/Simulink simulation tool. In the simulation waveform, the estimated speed of the super-twisting sliding mode control is almost consistent with the actual speed of the main propulsion motor, and the estimated rotor position is almost consistent with the actual rotor position of the motor, with small error. It is proved that this method has good practicability and effective feasibility in ship electric propulsion system, and provides theoretical reference for the design of ship electric propulsion system.