The switching frequency of high-power inverters, such as those used in rail transit traction systems, is low, due to switching loss and heat dissipation limitations. This can result in considerable output voltage harmonics. This paper proposes an optimal SPWM strategy for traction inverters based on non-equally spaced carriers to address this issue. By dividing the fundamental wave cycle into regions according to the principle of three-phase, half-wave, and quarter-wave symmetry, the carrier width is symmetrically changed in each region, and a switching angle sequence is generated by comparing the fundamental wave with the non-isometric carrier. The proposed optimal modulation strategy has lower harmonic content than traditional strategies within a specific modulation range. Enhancing the inverter output waveform leads to increased torque accuracy, lowering additional losses in the motor and avoiding overheating. This results in improved performance, enhanced efficiency, and extended service life of the motor system. To further reduce voltage harmonics across the full-speed range, a multi-mode segmented synchronous modulation strategy is designed based on the optimal modulation strategy for different modulation ranges. Appropriate switching points are selected to improve the stability of the traction drive system across the full-speed range. The effectiveness of the proposed method is verified through simulation and experimental results.