| CPC E21B 49/0875 (2020.05) [C09K 8/24 (2013.01); G01N 33/2841 (2013.01); E21B 21/068 (2013.01)] | 20 Claims |

|
1. A computer-implemented method, comprising:
inserting, by a monitoring system, units of smart polymers with hydrogen sulfide (H2S) sensitivity into drilling fluid pumped into a well during a drilling operation, the smart polymers configured to be triggered by increasing hydrogen sulfide (H2S) concentrations;
storing, by the monitoring system, an insertion timestamp associated with each unit, each insertion timestamp indicating a time that each unit was inserted into the drilling fluid;
capturing, by a camera positioned at a sensing location and linked to the monitoring system, continuous images and observed characteristics of returning mud exiting through an annulus of the well and containing the units of smart polymer;
determining, by the monitoring system and using the continuous images and the observed characteristics and the insertion timestamps associated with each unit of smart polymer, an estimate of H2S levels at a drill bit of the drilling operation, wherein determining the estimate is based at least in part on executing image processing algorithms, machine-learning models, and deep-learning models; and
suggesting, by the monitoring system and based at least in part on the estimate of the H2S levels, changes to be made to drilling parameters for the drilling operation.
|