This paper expounds the use of traditional PRPD statistical operators to construct discharge fingerprint feature vectors for determining discharge patterns,and designs a cable fault diagnosis system.This system uses STM32 microcontroller as the core to implement relevant processing,thereby achieving the diagnosis of cable partial discharge faults.