The invention provides a gearbox life prediction method and
system based on NACMD-LSTM. The method comprises the following steps: S1, adding paired positive and negative
white noise with opposite numbers to an original
signal to construct a new
time sequence; s2, on the basis of an NACMD
algorithm, performing
modal decomposition on the
test sequence to obtain a first sub-
modal of the
test sequence, and calculating a mean value and recording the mean value as a first sub-
modal of the original
signal; s3, taking the residual error as a new original
signal, and obtaining a residual
error signal; s4, judging whether the residual signal can be decomposed again or not, if so, circulating the step S3 until the obtained residual signal is a monotonic function and cannot be decomposed continuously; if not, outputting the decomposed k sub-
modes of the original to-be-decomposed signal; s5, obtaining all sub-
modes, and performing superposition reconstruction to obtain a processed sequence to be input; s6, performing parameter optimization on the
network structure by using a CSSA optimization
algorithm, and training and constructing a CSSA-LSTM model; and S7, inputting the processed sequence to be input into the CSSA-LSTM network to obtain a prediction result of the service life of the gearbox.