Abstract:In order to eliminate the interference to Magnetic Field Ranging System from harsh conditions such as high temperature, high pressure, and strong vibration and so on, reduce the coupling effect between gauging nipple and drill, increase efficiency of signal transmission, so as to achieve accurate positioning function of Magnetic Field Ranging System in connected wells, t he article adopt matching design from the selection of sensor(s) and AD conversion chip to the signal conditioning circuit in the aspects of hardware, while in the aspects of software, compares and analyzes the filtering effect of FIR and IIR and aims at the disadvantage of low accuracy of IIR, then a design has been proposed which adopts substitution operation of fixed-point number and floating-point number, in hybrid programming and with Optimize the program structure. In addition, the Manchester coding has been applied in the under well signal transmission for reduce the interference and improve the transmission rate. The simulation shows that, the improved version of IIR filter increases by two percent in data accuracy when compared with the original one, its speed is 20 times of the FIR. In the range of allowable error, adopts the method,the system can overcome the interference to get accurate measurement result, meet the design requirements.