Use of artificial intelligence tools to identify CaCO3 polymorphs in the scaling process under oil well conditions
DOI:
https://doi.org/10.21712/lajer.2025.v12.n3.p39-44Keywords:
inorganic scaling; calcium carbonate; neural networks; computer vision; YOLOv8.Abstract
Inorganic scaling by calcium carbonate (CaCO₃) in oil wells is one of the major challenges to flow assurance, especially in pre-salt environments where variations in pressure, temperature, and CO₂ degassing promote the precipitation of polymorphs such as calcite, aragonite, and vaterite. These deposits reduce production efficiency and significantly increase operational costs. In this context, this study proposes the use of artificial neural networks (ANNs) and computer vision techniques to automatically identify and segment CaCO₃ polymorphs from in situ microscopic images. The model was developed using the YOLOv8n-seg architecture, a state-of-the-art You Only Look Once (YOLO) convolutional neural network designed for real-time object detection and segmentation with high accuracy and low computational cost, adapted here to identify and quantify CaCO₃ crystalline morphologies. The training, performed with images obtained in a pressurized reactor under simulated pre-salt well conditions, achieved expressive performance metrics (mAP@0.5 = 0.933 and F1-score = 0.89). The results demonstrate that the Artificial Intelligence (AI) based approach can distinguish calcite, aragonite, and vaterite morphologies quickly and reliably, complementing traditional characterization methods such as X-ray diffraction and scanning electron microscopy, by enhancing automatic and real-time analytical capabilities. The study highlights the potential of neural networks to improve the diagnosis and control of scale formation in petroleum production systems, contributing to higher operational efficiency and safety.
Downloads
References
Angelo, JF de e Ferrari, JV (2024) ‘Study of calcium carbonate scaling on steel using a high salinity brine simulating a pre-salt produced water,’ Geoenergy Science and Engineering, 233, p.212541. https://doi.org/10.1016/j.geoen.2023.212541.
Casas, E et al. (2024) ‘A comparative study of Yolov5 and yolov8 for corrosion segmentation tasks in metal surfaces,’ Array, 22, p. 100351. https://doi.org/10.1016/j.array.2024.100351.
Cosmo, R de et al. (2019) ‘Estimating CO2 degassing effect on Caco3 precipitation under oil well conditions’, Journal of Petroleum Science and Engineering, 181, p. 106207. https://doi.org/10.1016/j.petrol.2019.106207.
Cosmo, R de et al. (2023) ‘CO2 degassing in Caco3 precipitation in the presence of oil: Implications, modeling, Numerical Simulation, validation, prototype development, and experimental results’, Geoenergy Science and Engineering, 228, p. 211885. https://doi.org/10.1016/j.geoen.2023.211885.
EPE (2024) Balanço Energético Nacional 2024, Empresa de Pesquisa Energética. https://www.epe.gov.br/pt/publicacoes-dados-abertos/publicacoes/balanco-energetico-nacional-2024 (accessed: 25 March 2025).
Ferreira, BX et al. (2022) ‘Development of artificial neural network models for the simulation of a caco3 scale formation process in the presence of monoethylene glycol (MEG) in dynamic tube blocking test equipment’, Energy & Fuels, 36(4), pp. 2288–2299. https://doi.org/10.1021/acs.energyfuels.1c03364.
IEA (2024) World energy outlook 2024 – analysis – IEA, World Energy Outlook 2024. https://www.iea.org/reports/world-energy-outlook-2024 (accessed: 02 April 2025).
Oliveira, DF et al. (2019) ‘Characterization of scale deposition in oil pipelines through X-ray microfluorescence and X-ray microtomography’, Applied Radiation and Isotopes, 151, pp. 247–255. https://doi.org/10.1016/j.apradiso.2019.06.019.
Oliveira, MCK de, Gonçalves, M de AL and Marques, LC do C (2018) Fundamentos de garantia de escoamento. 1st edn. Rio de Janeiro: Interciência.
Paz, PA et al. (2017) ‘Prediction of calcium carbonate scaling in pipes using artificial neural networks’, Volume 5A: Pipelines, Risers, and Subsea Systems [Preprint]. https://doi.org/10.1115/omae2017-61233.
Wang, H et al. (2025) ‘Yolo-HV: A fast yolov8-based method for measuring hemorrhage volumes’, Biomedical Signal Processing and Control, 100, p. 107131. doi:10.1016/j.bspc.2024.107131.
Wang, R et al. (2024) ‘FDSC-Yolov8: Advancements in automated crack identification for enhanced safety in underground engineering’, Computer Modeling in Engineering & Sciences, 140(3), pp. 3035–3049. https://doi.org/10.32604/cmes.2024.050806.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Latin American Journal of Energy Research

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
O autor, no ato da submissão do artigo, transfere o direito autoral ao periódico.

