The invention relates to a rolling bearing residual life prediction method and
system, and the method comprises the steps: obtaining to-be-predicted sample data, inputting the to-be-predicted sample data into a trained residual life prediction neural network to obtain an output prediction result, the residual life prediction neural network comprises a feature
encoder and a regression predictor, and in the training process of the prediction neural network, a prediction result is obtained; preliminarily extracting features from the source domain sample data by using a feature
encoder; a time mixing contrast domain adaptive training module is used for calculating contrast loss, a feature
encoder is iteratively trained through the contrast loss, and
mutual information is further extracted from target domain sample data features to serve as an advanced feature; and a fine-grained structural domain adaptive training module is used to calculate the fine-grained matching degree between the domain discrimination loss and the source domain sample data and the target domain sample data, and the domain discrimination loss and the fine-grained matching degree are used to iteratively
train a feature encoder so as to further extract the domain invariant features between the source domain and the target domain. The
system comprises an input interface, an output interface, a processor, a computer readable storage medium and a stored
program instruction, and the processor calls the
program instruction to carry out residual life prediction neural network training; and calling a
program instruction of the trained residual prediction neural network, instructing a feature extractor to perform
feature extraction on the vibration data of the rolling bearing to be detected, and inputting the extracted features into a regression predictor to perform prediction
processing to obtain a prediction result. The accuracy of the prediction result of the remaining service life of the rolling bearing is effectively improved.