Considering the influence of noise and interference on the weak signal to be detected in the extraction of internal resistance parameters, a noise immunity algorithm based on continuation correlation theory is proposed, which is based on the correlation between signal and noise. The algorithm selects one of the two orthogonal reference signals in the same frequency signal and injects into the battery, then the output signal and the reference signal respectively through two orthogonal sampling filter are transformed into discrete sequence of discrete signal extension related operations, and finally calculates trigonometric obtain amplitude and phase values of resistance. The experimental results show that the algorithm has high signal resolution in the high noise background, and has a high accuracy for measuring the amplitude and phase of the battery internal resistance.