A smart pig, or inline inspection tool, is an instrumented device that travels through the inside of a pipeline carried by the flowing product, recording detailed measurements of the pipe wall as it goes so integrity engineers can find corrosion, dents, and cracks without excavating the line. It is a survey vehicle, not a cleaning tool, and it is the backbone of modern pipeline integrity management. This guide explains what a smart pig measures, the main sensing technologies it carries, and how its findings are confirmed by digging up the pipe.
Smart Pig (ILI) in one line: An inline inspection tool, commonly called a smart pig, is an instrumented pig that runs through a pipeline under product flow while its onboard sensors and data recorder map anomalies in the pipe wall, such as metal loss from corrosion, dents, and cracks. It differs from a cleaning pig, which only scrapes debris, by carrying measurement technology like magnetic flux leakage, ultrasonic, or caliper sensors. The recorded data is analyzed to locate and size anomalies, and the most severe ones are excavated and directly measured in a dig verification.
A smart pig is launched and received through the same pig launcher and receiver traps used for cleaning pigs, and it is pushed along by the product itself - moving with the oil or gas at a controlled speed. What sets it apart is the payload: rings of sensors that scan the full circumference of the pipe wall, an odometer and location system that ties every reading to a distance and position along the line, and a data recorder or battery pack sized to log a full run that can span many miles. The tool experiences everything the pipe does - bends, tees, valves, and wall-thickness changes - and its sensors capture the wall condition continuously the whole way.
This is fundamentally a survey mission, distinct from the routine pigging that cleans a line or sweeps out liquids. A cleaning pig leaves no record; a smart pig produces a dense dataset describing the pipe from end to end. Because a pig can inspect the entire length of a buried or subsea pipeline in a single run without digging anything up, inline inspection is the most efficient way to assess a long line's condition and is a cornerstone of pipeline integrity programs and regulatory reassessment schedules.
Smart pigs carry different sensing technologies suited to different threats. A magnetic flux leakage tool magnetizes the pipe wall and detects the leakage of magnetic field where metal is missing, making it excellent at finding corrosion pits and general metal loss; it is the workhorse for wall-loss inspection and works well in gas lines. An ultrasonic tool sends sound pulses into the wall and times the echoes to measure remaining wall thickness directly, giving precise metal-loss sizing, though it typically needs a liquid coupling medium, which suits it to liquid pipelines. A caliper or geometry tool uses mechanical fingers or sensors to map the internal shape of the pipe, finding dents, ovality, buckles, and wrinkles rather than metal loss.
Because no single technology sees every threat, operators select the tool - or a combination tool carrying more than one technology - based on the pipeline's dominant risks. A line with a corrosion history is a candidate for magnetic flux leakage or ultrasonic metal-loss inspection, while a line at risk of third-party damage and denting is a candidate for a caliper run. Specialized tools also exist for crack detection, addressing threats such as stress-corrosion cracking that general metal-loss tools do not reliably size. Choosing the right technology for the right threat is one of the key decisions in planning an inspection.
After the run, the recorded data is processed and analyzed to build a list of anomalies, each with a location, a type, and an estimated size, ranked by how threatening it is to the pipe's integrity. The tool reports an interpretation of the wall condition, but that interpretation carries uncertainty, so the most severe features are confirmed by dig verification: the pipe is excavated at the reported location and the feature is measured directly with hand tools such as ultrasonic thickness gauges and pit gauges. Comparing the direct measurement to what the tool reported both validates the inspection and calibrates confidence in the rest of the anomaly list.
Inline inspection is a periodic campaign, not a continuous measurement, so it complements rather than replaces the day-to-day monitoring a SCADA system provides. A cloud SCADA such as Merobix watches the live operating envelope - pressure, flow, and the pressure cycling that drives fatigue - and holds the inhibitor injection and corrosion-monitoring data that describe how aggressively the line is corroding between inspections. The smart pig gives a detailed structural snapshot of the whole line on inspection day; the continuous telemetry explains the conditions the pipe has lived under since the last run and helps prioritize where the next inspection and digs should focus. Together they form the picture a pipeline integrity program depends on.
A cleaning pig scrapes debris, wax, and liquids out of a pipeline and leaves no record. A smart pig, or inline inspection tool, carries sensors and a data recorder that map the pipe wall for corrosion, dents, and cracks as it travels through the line. Both run through the same launcher and receiver traps, but only the smart pig produces inspection data.
The main ones are magnetic flux leakage, which finds corrosion and metal loss by sensing magnetic-field disruption; ultrasonic, which measures remaining wall thickness directly by timing sound echoes; and caliper or geometry sensing, which maps dents and ovality by internal shape. Specialized tools also target cracks. Operators pick the technology, or a combined tool, based on the pipeline's dominant threats.
Dig verification is excavating the pipe at a location where the smart pig reported a significant anomaly and measuring the feature directly with hand tools such as ultrasonic thickness gauges and pit gauges. Comparing the direct measurement to the tool's reported size confirms real defects and calibrates confidence in the rest of the anomaly list. It is how inline inspection results are validated before repair decisions.
Merobix reads your field devices into a cloud SCADA - the real thing behind these terms, live in days from any browser.