In reality, discrete Fourier transform is a very important signal processing method. It is widely used in analysis and control systems. When the diesel engine starts, the excitation signal in the cylinder will reflect the basic principle of wavelet transform technology. In order to monitor the working state of diesel engine in real time, the continuous wavelet transform algorithm is studied in this paper. In this paper, we mainly use the fault detection experiment, use the continuous wavelet transform algorithm to process the data, and study the working state of the cylinder. The experimental results show that in most cases, the diesel engine cylinder is not working fully. The test accuracy of multi state fixed point signal is 85.28%, and the test accuracy of mobile acquisition signal is 87.41%.