Aiming at the complicated structure and serious bit error rate of electromagnetic flaw detection ground system, a portable ground control system of electromagnetic flaw detector based on STM32 is designed. Firstly, the depth measurement of the logging winch Martin Decker system is implemented using the timer orthogonal coding module of the STM32F103. Then, the depth information is sent to the STM32F407 via the parallel I/O port. On this basis, downhole power line communication data are acquired with internal high-speed A/D of STM32F407, where a high-precision digital Manchester code demodulation algorithm is also presented. Finally, all data are sent through the high-speed serial port to the host computer for further processing. The experimental results show that the system can effectively reduce the transmission error with simple structure and small size.%针对电磁探伤地面系统结构复杂、误码率高等问题,设计了基于STM32的电磁探伤仪便携式地面控制系统.首先,采用STM32F103的定时器正交编码模块实现测井绞车马丁代克系统深度计量,然后通过并行I/O端口传输至STM32F407.在此基础上,采用STM32F407内部高速A/D对井下遥传信号进行实时采集,提出了高精度数字曼彻斯特码解调算法.最后,将汇总后的数据通过高速串口发送至上位机.实验结果表明,相对于传统硬件曼彻斯特解码电路,该系统可有效降低传输误差,并具有结构简单、体积小等优点.
展开▼