With the continuous improvement of vehicle safety and reliability requirements,EMI has been paid more and more attention.This paper introduces the basis of electromagnetic compatibility,compares and analyzes the generation mechanism and prevention methods of common mode interference and differential mode interference in electromagnetic interference,and combined with practical cases,on the premise of meeting the vehicle insulation requirements,the electric drive system is modified to meet the certification requirements.