AC injection method is an approach which is commonly used in internal resistance online detection ofbattery. Extracting useful signal from the noise environment is the key technology to realize the method. This paperproposes a solution which is used to extract useful signal by FIR digital filter,and introduces the design andsimulation of filter in MATLAB and the realization of digital filter with the use of TMS320F2812.