A Neural Network-Based Real-time Casing Collar Recognition System for Downhole Instruments
Si-Yu Xiao, Xin-Di Zhao, Xiang-Zhan Wang, Tian-Hao Mao, Ying-Kai Liao, Xing-Yu Liao, Yu-Qiao Chen, Jun-Jie Wang, Shuang Liu, Tu-Pei Chen, Yang Liu
TL;DR
This work addresses the challenge of accurate downhole positioning under signal degradation by introducing in-situ, real-time collar recognition using lightweight Collar Recognition Nets (CRNs) deployed on an ARM Cortex-M7 processor. A TPU-friendly approach combines a Temporal Convolutional Network backbone with depthwise separable convolutions, training on field CCL data to produce continuous collar probability maps that are post-processed into depth estimates. Key findings show that CRNs can operate with as few as $1{,}985$ parameters and $8{,}208$ MACs, achieving a maximum $F1$ score of $0.992$ (CRN-1) and $0.972$ (CRN-3) while maintaining real-time performance of $343.2\,\mu s$ per $1$ ms sampling interval on a Cortex-M7. This demonstrates the practical viability of autonomous, in-situ neural signal processing for downhole tools and paves the way for robust, low-power edge computing in oil and gas operations.
Abstract
Accurate downhole positioning is critical in oil and gas operations but is often compromised by signal degradation in traditional surface-based Casing Collar Locator (CCL) monitoring. To address this, we present an in-situ, real-time collar recognition system using embedded neural network. We introduce lightweight "Collar Recognition Nets" (CRNs) optimized for resource-constrained ARM Cortex-M7 microprocessors. By leveraging temporal and depthwise separable convolutions, our most compact model reduces computational complexity to just 8,208 MACs while maintaining an F1 score of 0.972. Hardware validation confirms an average inference latency of 343.2 μs, demonstrating that robust, autonomous signal processing is feasible within the severe power and space limitations of downhole instrumentation.
