The invention relates to a method for non-uniform
resampling of bearing fault data, which is characterized in that non-uniform
resampling is carried out on an original fault
signal based on a
Generative Adversarial Network (GAN) on the premise of keeping the overall length of the fault
signal unchanged. Through fault peak identification and setting of an adjustable up-sampling window, enhanced up-sampling
processing is carried out on a fault
peak area, and down-sampling compression is carried out on a
signal stable area. According to the method, a trainable attention mechanism is introduced, attention weights are adaptively distributed in a generator coding stage, and the model is guided to more effectively reconstruct feature information of a fault peak region. In the training process,
similarity matching with a high-sampling-rate reference signal is carried out in a sliding window mode, the alignment position of a
peak area is positioned, reconstruction loss in a window is used as an optimization target, and the expression precision of a
resampling result is improved. A finally output signal is formed by splicing an up-sampling enhanced peak segment and a down-sampling segment of a stable area, key fault information retention and redundant
data compression are both considered, centralized distribution of sampling resources and enhanced reconstruction of fault features are achieved, and the method is suitable for fault
data adaptive resampling and subsequent fault diagnosis tasks.