| With the continuous development of our career fields,pumping wells oil production has occupied a dominant position throughout the oilfield industry.In these oil wells,the draw tube is indispensable for equipment.But in the long-term use,it will cause the wear of oil pumping pipe,leading to the oil pumping pipe surface crack and even wall thickness thinning.This directly affects the safety of the entire well.To this end,it is a very necessary procedure our contory has many repair factories perform flaw detection and give a corresponding repair.But the flaw used by many factories can only detect the presence of the pumping pipe is injured,but it can not be fixed value measurement.It is unable to meet the grade that determined by the draw tube wear depth for the pumping pipe.In this way,it is necessary to measure the site of injury damage depth accurate while sucker for flaw detection,in order to the factory can be targeted accurately on the damaged tubing damaged.This paper’s background is based on an actual project,design a pumping pipe inspection and thickness measurement system based on the embedded system.The system uses the magnetic flux leakage testing and ultrasonic thickness measurement for sucker flaw and thickness of the quantitative detection.According to the actual need,transmit the magnetic flux leakage testing waveform signal and ultrasonic echo signal that collect from the hardware acquisition to the handheld terminal.Then do the data processing in handheld terminal,provide the inspection and thickness information the user need.The handheld terminal’s control center is based on S5PV210.The terminal software is the platform for the embedded Linux system,and used the Qt/Embedded for developing the graphics applications.In addition,the software’s design of the whole system uses a mind about hierarchical and modular.The overall structure of the module is designed by object-oriented design methods.And it make full use of Qt/Embedded plentiful class,to complete all function.At last,complete the development of the system,and provide a software which is simple and complete function for the user.Study and improvement the corresponding algorithm used in data processing,through simulation verifies its effectiveness,and we obtain a good result.In the end,we test the whole system,through a series of tests,the system is stable and reliable,and it can be good to meet user needs. |