Abstract:Aiming at the shortcomings of existing petroleum pipe inspection, an intelligent thickness measurement system for real-time detection and data processing of petroleum pipes was designed. The system uses STM32 as the main control chip, and the TDC-GP22 is used as the acquisition chip to calculate the pipe thickness. The master-slave communication is realized by I2C bus, and the HLK-RM04 embedded module is realized. With the data transmission and acquisition function of the upper computer application software, and at the same time control multiple 42 stepping motor and DC liquid-jet motor to realize the functions of motion, coupling, temperature and humidity detection, etc., the design and implementation of the hardware part and the upper computer software are given. Compared with the traditional manual work efficiency, the safety factor and work efficiency are greatly improved.