Abstract: In view of the problems and shortcomings found in the use of domestic oil pipe magnetic flux leakage testing equipment, this paper introduces the solutions and improvement measures adopted. This paper focuses on the analysis of the reasons for the large blind area of pipe end detection caused by edge effect, and innovatively introduces constant current source technology from the perspective of stabilizing magnetization current, which improves the magnetization effect of pipe end. According to the characteristics of equipment signal transmission, new materials are selected to make brush contacts, which improves the coupling ability and service life. In view of the electromagnetic interference prevalent in equipment field, comprehensive measures such as reasonable wiring, isolating power supply, PLC grounding, frequency converter filtering, and selecting grounding point are taken to ensure the reliability of flaw detection.