XLPE cables have become an important part of urban transmission and distribution networks in recent years.As cable systems become more complex,simple withstand voltage test can not meet the needs of cable fault detection.However,the traditional frequency-tuned resonant system has a large amount of pulse interference,which makes it impossible to use for partial discharge (PD) measurement.It introduces an improved frequency-tuned resonant system,using pulse width modulation and time domain elimination to achieve PD measurement and withstand test at the same time.The effectiveness of the system is verified by experiments.