Electrocardiogram (ECG) diagnosis is based on the waveform, duration and amplitude of characteristic wave, which are required to have a high accuracy for ECG signal reconstruction. As an effective nonlinear signal processing method, empirical mode decomposition (EMD) has been widely used for diagnosing and reconstructing the ECG signal, but there are two problems arising here. One is the mode mixing, and the other is that the mode components used in reconstruction are identified by experience. Therefore, the method of reconstruction is not adaptive and universal, and reconstructed ECG signal loses accuracy. Firstly, we propose an improved EMD method, which is called integral mean mode decomposition (IMMD). The analysis of 5000 samples of Gaussian white noise shows that IMMD has better multi-resolution analysis ability than EMD, and it can effectively alleviate mode mixing consequently. Secondly, based on the inherent physical characteristics of ECG signal, cardiac cycle or heart rate (HR), it has practical physical significance to identify the mode components used in ECG signal reconstruction. The cardiac cycle feature acts as the intrinsic mode function (IMF) component through two modes. 1) For the low-order IMF that belongs to the ECG signal, the cardiac cycle feature acts as the amplitude modulation. The envelope of the IMF component has the characteristics of the cardiac cycle, and the frequency corresponding to the maximum amplitude in the spectrum of the envelope is equal to HR. 2) For the high-order IMF that belongs to the ECG signal, the cardiac cycle feature acts as frequency modulation. Those IMF components have the harmonic characteristics of periodic heartbeats, and the maximum amplitude in the spectrum corresponds to an integral multiple of HR (usually 1-3 times). The noise attributed to IMF component cannot show the above two cardiac cycle characteristics. Thus the proposed method is adaptive and universal. The 47 ECG signals with baseline drift and muscle artifact noise are tested. The results show that the proposed method is more effective than the variational mode decomposition (VMD), Haar wavelet with soft threshold, ensemble empirical mode decomposition (EEMD) and EMD. Among the 47 correlation coefficients between reconstructed and original ECG signals, the proposed method has 31 better than VMD, 33 better than Haar wavelet, 42 better than EEMD and 45 better than EMD. The mean of 47 correlation coefficients from the proposed method is 0.8904, and the variance is 0.0071, which shows that the proposed method has good performance and stability.