Sensors (Nov 2022)

Velocity Prediction of a Pipeline Inspection Gauge (PIG) with Machine Learning

  • Victor Carvalho Galvão De Freitas,
  • Valbério Gonzaga De Araujo,
  • Daniel Carlos de Carvalho Crisóstomo,
  • Gustavo Fernandes De Lima,
  • Adrião Duarte Dória Neto,
  • Andrés Ortiz Salazar

DOI
https://doi.org/10.3390/s22239162
Journal volume & issue
Vol. 22, no. 23
p. 9162

Abstract

Read online

A device known as a pipeline inspection gauge (PIG) runs through oil and gas pipelines which performs various maintenance operations in the oil and gas industry. The PIG velocity, which plays a role in the efficiency of these operations, is usually determined indirectly from odometers installed in it. Although this is a relatively simple technique, the loss of contact between the odometer wheel and the pipeline results in measurement errors. To help reduce these errors, this investigation employed neural networks to estimate the speed of a prototype PIG, using the pressure difference that acts on the device inside the pipeline and its acceleration instead of using odometers. Static networks (e.g., multilayer perceptron) and recurrent networks (e.g., long short-term memory) were built, and in addition, a prototype PIG was developed with an embedded system based on Raspberry Pi 3 to collect speed, acceleration and pressure data for the model training. The implementation of the supervised neural networks used the Python library TensorFlow package. To train and evaluate the models, we used the PIG testing pipeline facilities available at the Petroleum Evaluation and Measurement Laboratory of the Federal University of Rio Grande do Norte (LAMP/UFRN). The results showed that the models were able to learn the relationship among the differential pressure, acceleration and speed of the PIG. The proposed approach can complement odometer-based systems, increasing the reliability of speed measurements.

Keywords