{'fraction_non_alphanumeric': 0.01414790996784566, 'fraction_numerical': 0.0006430868167202572, 'mean_word_length': 5.621276595744681, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Denoising Transient Power Quality Disturbances Using an Improved Adaptive Wavelet Threshold Method Based on Energy Optimization

Noise significantly reduces the detection accuracy of transient power quality disturbances. It is critical to denoise the disturbance. The purpose of this research is to present an improved wavelet threshold denoising method and an adaptive parameter selection strategy based on energy optimization to address the issue of unclear parameter values in existing improved wavelet threshold methods. To begin, we introduce the peak-to-sum ratio and combine it with an adaptive correction factor to modify the general threshold. After calculating the energy of each layer of wavelet coefficient, the scale with the lowest energy is chosen as the optimal critical scale, and the correction factor is adaptively adjusted according to the critical scale. Following that, an improved threshold function with a variable factor is proposed, with the variable factor being controlled by the critical scale in order to adapt to different disturbance types’ denoising. The simulation results show that the proposed method outperforms existing methods for denoising various types of power quality disturbance signals, significantly improving SNR and minimizing MSE, while retaining critical information during disturbance mutation. Meanwhile, the effective location of the denoised signal based on the proposed method is realized by singular value decomposition. The minimum location error is 0%, and the maximum is three disturbance points.