PurposeThe safe operation of the metro power transformer directly relates to the safety and efficiency of the entire metro system. Through voiceprint technology, the sounds emitted by the transformer can be monitored in real-time, thereby achieving real-time monitoring of the transformer’s operational status. However, the environment surrounding power transformers is filled with various interfering sounds that intertwine with both the normal operational voiceprints and faulty voiceprints of the transformer, severely impacting the accuracy and reliability of voiceprint identification. Therefore, effective preprocessing steps are required to identify and separate the sound signals of transformer operation, which is a prerequisite for subsequent analysis.Design/methodology/approachThis paper proposes an Adaptive Threshold Repeating Pattern Extraction Technique (REPET) algorithm to separate and denoise the transformer operation sound signals. By analyzing the Short-Time Fourier Transform (STFT) amplitude spectrum, the algorithm identifies and utilizes the repeating periodic structures within the signal to automatically adjust the threshold, effectively distinguishing and extracting stable background signals from transient foreground events. The REPET algorithm first calculates the autocorrelation matrix of the signal to determine the repeating period, then constructs a repeating segment model. Through comparison with the amplitude spectrum of the original signal, repeating patterns are extracted and a soft time-frequency mask is generated.FindingsAfter adaptive thresholding processing, the target signal is separated. Experiments conducted on mixed sounds to separate background sounds from foreground sounds using this algorithm and comparing the results with those obtained using the FastICA algorithm demonstrate that the Adaptive Threshold REPET method achieves good separation effects.Originality/valueA REPET method with adaptive threshold is proposed, which adopts the dynamic threshold adjustment mechanism, adaptively calculates the threshold for blind source separation and improves the adaptability and robustness of the algorithm to the statistical characteristics of the signal. It also lays the foundation for transformer fault detection based on acoustic fingerprinting.