The invention belongs to the field of
cutting processing, and particularly discloses a main shaft and workpiece vibration prediction method based on a stack sparse automatic coding network, which comprises the following steps: S1, obtaining main shaft current signals,
cutting force signals and main shaft and workpiece actual vibration signals under different
cutting processing parameters; S2, inputting the main shaft current
signal, the
cutting force signal and the cutting
machining parameter into a sparse automatic coding
network layer for training to obtain a deep
time sequence characteristic, inputting the deep
time sequence characteristic into a full connection layer, and training the whole
network on the basis of a pre-training parameter to obtain a main shaft and workpiece predictionvibration
signal; S3, adjusting the stack sparse automatic coding network according to the main shaft and workpiece prediction and actual vibration signals, and completing training to obtain a prediction model; main shaft and workpiece vibration
signal prediction in cutting
machining is achieved through the prediction model, a dynamic
frequency response function can be replaced, a good predictioneffect is achieved in the
time domain and the
frequency domain, the prediction model can adapt to working conditions of various
machining parameter combinations, and the generalization capacity is high.