The partial discharge of switchgear indicates the existence of insulation defects.Tthe location method of partial discharge in switchgear is studied.The corona discharge model was built in the laboratory,the ultrasonic signal is collected by the ultrasonic sensor and high frequency current sensor (HFCT) is used to collect high frequency current produced by coupling capacitance of partial discharge.Using delay time of ultrasonic relative high frequency current for positioning,data of discharge signal will be transferred from oscilloscope to PC communicated by USB.LabVIEW program is used to filter and analyze the waveform to obtain the exact position of the discharge location.Experiments show that the method has high accuracy.