Blog · 23 November 2026 · 9 min read

AI kick detection: how early-warning models read flow, pits and rig state

AI kick detection means software that watches flow in, flow out, pit volumes and pressures every second, knows what the rig is doing, and warns the driller when the well is behaving unlike its expected pattern. Done well, it notices a small influx sooner and with fewer false alarms than a fixed pit-gain threshold. It does not shut the well in, and it does not replace the flow check: the crew still decides. This guide explains the signals, the models, the false alarms that sink most systems, and how to test one on your own rig.

What a kick looks like in the data

Every well control course teaches the same indicators. What matters for software is which data channel carries each one, and what else can produce the same pattern.

IndicatorData channelAlso caused by
Flow out rises at constant pump rateReturn flow paddle or mass flow meter, pump strokesBallooning, pump start-up lag, sensor drift
Pit gain while drillingActive pit level sensorsPit transfers, mud mixing, rig heave on floaters
Well flows with pumps offFlow out, trip tankFlowback after connection (ballooning), U-tubing
Hole takes less fill than calculated on a trip outTrip tank volume vs pipe displacementWrong displacement table, wet vs dry pipe confusion
Drilling breakROP, d-exponentSofter formation with no pressure change
Pump pressure falls as pump speed risesStandpipe pressure, strokes per minuteWashout in the string, pump problem
Gas-cut mud, higher background or connection gasGas trap, mud weight outDrilled gas from a gas-bearing zone, no influx

The first four are the primary signs: the well is gaining fluid. The rest are early warnings that pore pressure may be catching up with the mud weight. A good system watches both, but it raises a kick alarm on the primary signs and an advisory on the others.

How kick detection works on rigs today

The US offshore regulator, BSEE, assessed commercial early kick detection (EKD) systems in 2016 and 2017, and its report is still the clearest public map of the field. It groups them into three levels.

LevelTypical equipmentWeak point the report names
Standard precision, open annulusPit floats or level sensors, return flow paddle, pump stroke counters, driller's displayReadings often checked manually every 5 to 30 minutes; manual checks typically detect a kick 5 to 15 minutes later than a wired system
High precision, open annulusDensity-compensated mass flow meter (usually Coriolis) on the return line, motion-compensated pit sensors, hydraulic modelsA Coriolis meter needs mud flowing through it, so it cannot see a kick with the pumps off during connections or trips
Closed annulus (MPD)Rotating control device, Coriolis meter, automated choke, softwareMost existing rigs are not MPD-ready; needs extra equipment and crew

Two details from that report shape any AI design. First, a kick at 10,000 to 20,000 ft true vertical depth should, in theory, show as a surface volume gain within 10 to 17 seconds, because the pressure wave travels at about the speed of sound. The signal arrives fast; the delay is in noticing it. Second, the report says alarm thresholds stay subjective: a system can detect half a gallon of gain, but the threshold usually has to be larger to tell a kick from ballooning, and it should be set at the well planning stage from formation properties and kick tolerance.

The report also shows why this matters. Citing an Exprosoft study for BSEE, it notes 265 kicks on 1,121 wells spudded in the US Gulf of Mexico from 2011 to 2015, about one kick for every fourth well, and 143 kicks on 300 exploration wells, about one for every second well. BSEE adds that the data includes shallow-zone kicks and has gaps, so read those numbers as a sense of scale, not a rate for your field.

How AI kick detection models work

Vendors say "AI" for several different methods. Each one fails in its own way, so ask which one you are buying.

ApproachWhat it doesStrengthWeakness
Expected-flow model ("fingerprinting")Predicts normal flow out and pit volume from pump rate, rig state and past connections, then alarms on the differenceEasy to explain; works with existing sensorsNeeds clean rig-state data; drifts if not re-baselined after mud or pump changes
Connection flowback fingerprintingLearns the normal flowback curve after the pumps stop and compares each connection with itSeparates ballooning (flowback tapers off) from a kick (flow keeps rising)Only covers pumps-off periods
Hydraulic model comparisonRuns a physics model of the well and compares predicted with measured pressures and flowsPhysically meaningful; good on new wells with no historyOnly as good as the model inputs: mud properties, geometry, temperature
Anomaly detection (for example autoencoders)Trained on normal drilling only; flags anything it cannot reconstructDoes not need many real kicks to trainFlags every unusual event, not only kicks; needs a second layer to explain
Supervised classifierTrained on labelled kick and non-kick periodsCan learn subtle combinations of signalsReal kicks are rare, so training sets are tiny or synthetic

The rarity problem is the centre of the whole subject. A recent study summarised in SPE's Journal of Petroleum Technology (paper SPE 231854) trained convolutional autoencoders on real-time data from correlation wells without anomalies, then tested them on 730 hours of records from eight offshore operations in two fields. It reports a recall of 100%, a mean detection about 100 minutes before the corresponding operational reports, and a 31% reduction in the historical false kick rate. The same abstract says two real kicks were documented in that test set, so 100% recall means two out of two. Most kick detection research looks like this, which is why your own replay test matters more than any headline figure.

A worked example of the expected-flow method (illustrative)

The numbers below are illustrative, not from any rig. A triplex pump delivers 0.1 bbl per stroke at 100 strokes per minute, so flow in is 10 bbl/min. Over the last ten connections, flow out has settled at 97 to 99% of flow in once circulation stabilises, with the shortfall going to cuttings volume, solids control and hole enlargement. The model therefore expects about 9.8 bbl/min out and a steady active pit volume, once known transfers are added back.

Now flow out reads 10.6 bbl/min for three minutes at the same stroke rate, and the active pits have gained 2.4 bbl beyond the expected trend. No single reading crosses a fixed 10 bbl pit alarm. But the combination (flow out above expected, pit gain above expected, rig state "drilling", no transfer logged) is exactly the influx pattern. The system raises: "Flow out 0.8 bbl/min above expected for 3 min, pits +2.4 bbl, no transfer logged: possible influx, flow check advised." The driller stops the pumps and checks. That is the value: an earlier, specific prompt for a check the crew already knows.

False alarms: why most systems get switched off

A system that cries wolf every shift trains the crew to ignore it. Every rig activity that moves mud must be known to the model.

Event that looks like a kickHow a model tells it apartData it needs
Ballooning (wellbore breathing)Flowback tapers off after pumps stop; matches past connections at similar ECDFlow out with pumps off, connection history
Pit transfers and mud mixingVolume change matches a logged transfer or a known reserve pit dropAll pit levels, not only active; transfer log
Rig heave on a floaterGain oscillates with vessel motionMotion-compensated pit sensors, heave data
Pump start and stop lagIgnores the settling window after a rate change, sized from past rampsPump strokes at one-second resolution
Solids control dumpsDrop then recovery tied to centrifuge or sand trap activityEquipment status or crew entry
Trip tank refillsRise matches a pump-up of the trip tank, not hole flowTrip tank pump status, rig state
Sensor drift or fouled paddleSlow bias without matching pit change; flagged for maintenanceTwo independent measurements where possible

Rig state is the single most useful input. The same pit rise means different things while drilling, on a connection, tripping out or circulating bottoms up. If the rig-state feed is wrong, every alarm downstream is suspect. Our article on real-time rig monitoring covers getting WITS or WITSML data and rig state off the rig cleanly.

The crew's role does not change

IOGP Report 476, on well control training, says the immediate response to a suspected flow is to shut in the well and then investigate, "not investigate then shut-in", and warns against optimism bias, a false sense of security. An AI alert has to fit that culture, not erode it.

  • The alert advises a flow check or a shut-in according to the well control plan. It never tells the crew a flow is "probably ballooning, continue".
  • Rig floor alarms and the driller's own flow checks stay in place. AI is an extra pair of eyes, not a replacement instrument.
  • Alerts go to the driller and the mud logger first, and to the office only as a copy.
  • Every alert is acknowledged and logged with what was done, so false alarms can be reviewed and thresholds tuned.
  • Thresholds come from the well plan and kick tolerance, signed off by the drilling engineer, not set by the vendor.

What regulators expect

In US federal waters, 30 CFR 250.724 requires real-time monitoring when operating with a subsea BOP, a surface BOP on a floating facility, or in an HPHT environment. The system must be "independent, automatic, and continuous" and cover the BOP control system and the well's active fluid circulating system, among other things. Data must be transmitted as it is gathered and watched by qualified personnel under a written real-time monitoring plan, which must say what happens if monitoring is lost. The rule sets a performance standard; it does not prescribe AI or a particular meter.

Elsewhere, the operator's well control standard and the national regulator's rules govern. Before a pilot, check whether an advisory alert needs a line in the bridging document with the contractor.

Questions to ask any kick detection vendor

  1. Which method does it use: expected-flow, hydraulic model, anomaly detection or a classifier? What happens with the pumps off?
  2. How many real kicks were in the validation set, on how many wells, and were those wells excluded from training?
  3. What is the detection time measured against: the driller's alarm, the mud logger's call, or the report?
  4. How many false alarms per 12-hour tour, by rig state, on wells with no kick?
  5. Which sensors does it need, and what does it do when one fails or drifts?
  6. Is it read-only to rig systems? Who sets and approves thresholds?

How to pilot AI kick detection on one rig

  1. Pick one rig with a wired data feed (WITS or WITSML), working pit sensors and a return flow sensor. Confirm rig state is recorded or can be derived.
  2. Collect history: at least several wells of one-second data, the daily drilling reports, and every recorded kick, flow check and loss event with its time.
  3. Replay that history through the system as if it were live. Count kicks and flow checks flagged, how many minutes before the crew's call, and false alarms per tour.
  4. Agree thresholds with the drilling engineer from the well plan and kick tolerance, and write down what each alert asks the crew to do.
  5. Run live, advisory only, for at least one full well. Log every alert with the crew's action and whether it was real.
  6. Review weekly with the toolpusher and mud logger. Fix rig-state errors and transfer logging first; they cause most false alarms.
  7. Decide on the next rig only when the crew says the alerts are worth reading.

The same replay approach works for other drilling problems. See stuck pipe early warning with AI for the torque and drag side, and our rig monitoring solution for how alerts, trends and reports sit on one screen.

Live Rig puts flow in and out, pit volumes, pressures and rig state on screen every second, with plain-language alerts for possible influx, losses and stuck pipe signs, all read-only to the rig. Talk to us about a one-rig pilot, or ask ChatPetroleum to work through a kill sheet or kick tolerance calculation.

Questions people ask

Can AI detect a kick before the driller?

It can notice a small, combined change in flow out and pit volume sooner than a fixed threshold or a manual check, especially late in a long shift. Published results are promising but based on few real kicks. Treat AI as an extra alert; the driller's flow check and shut-in decision stay the same.

What data is needed for AI kick detection?

One-second pump strokes, flow out (paddle or Coriolis meter), all pit and trip tank volumes, standpipe pressure, hookload, bit and hole depth, and a reliable rig-state signal. Gas, mud weight out and ROP add early warnings. Historical wells with logged kicks and flow checks are needed to validate it.

How does a system tell ballooning from a kick?

Mainly from flowback after the pumps stop. With ballooning the returning flow tapers off and matches earlier connections; with a kick it keeps rising or holds steady. Fingerprinting each connection against previous ones is the common method, but if in doubt the well is shut in and checked.

What is the difference between EKD and MPD?

Early kick detection (EKD) watches for an influx, usually on a conventional open annulus. Managed pressure drilling (MPD) closes the annulus with a rotating control device and controls bottom-hole pressure with a choke, which also gives very precise kick detection, but needs extra equipment that most rigs do not have.

Does AI kick detection need a Coriolis meter?

No, but it helps. Systems using existing pit sensors and flow paddles can work well if they model rig state and transfers. A Coriolis meter gives density-compensated flow out, but it only measures while mud is flowing, so pumps-off periods still need pit and trip tank monitoring.

Is AI kick detection required by regulation?

Not as such. In US federal waters, 30 CFR 250.724 requires independent, automatic and continuous real-time monitoring for subsea BOP, floating and HPHT operations, without prescribing a method. Elsewhere, follow your regulator and well control standard.

Sources

Try Petroleum Chatbot on your own work

Ask a drilling, production or maintenance question now, free. Create an account to keep projects, add your reports and make Excel, Word and PowerPoint files.

Read next