Instrumented Pig: MFL Inspection, Ultrasonic Wall Thickness, and CER Pipeline Integrity
An instrumented pig, also called a smart pig or in-line inspection (ILI) tool, is a self-contained sensor platform launched into a pressurized pipeline and propelled by the flowing product (crude oil, natural gas, NGLs, condensate) to record the internal condition of the pipe wall as it travels from launcher to receiver. The body of a modern instrumented pig is typically a series of articulating steel modules wrapped in polyurethane sealing discs and cup-shaped drive elements that flex through bends, elbows, and reduced-diameter fittings. Inside those modules sit one or more measurement technologies: magnetic flux leakage (MFL) sensors that magnetize the pipe wall axially or circumferentially and detect distortions in the resulting field caused by metal loss; ultrasonic transducers (UT) firing 5 MHz pulses through a liquid couplant to measure wall thickness directly to within ±0.3 mm; electromagnetic acoustic transducer (EMAT) arrays that excite guided waves and detect stress-corrosion cracking and seam-weld defects without a couplant; caliper arms or laser geometry rings that record ovality, dents, and wrinkles to ±1 mm; and inertial measurement units (IMU) combined with gyroscopes and odometers that map the precise three-dimensional pipeline route to within roughly 1 m absolute position accuracy. Onboard solid-state drives capture continuous sensor data at velocities of 0.5 to 5 m/s, generating tens of gigabytes per inspection run on a long pipeline. After the pig is recovered at the downstream receiver, the data is downloaded and processed by integrity analysts who produce a feature list mapping every anomaly back to chainage, clock position, and severity (typically a percentage of nominal wall thickness lost). Canadian federally regulated pipelines (interprovincial and international, such as Enbridge Mainline, TC Energy NGTL, Pembina Peace, and Trans Mountain Expansion) are required by the Canada Energy Regulator (CER) under the Onshore Pipeline Regulations and CSA Z662-23 to maintain an integrity management programme that uses ILI as the primary tool for assessing time-dependent threats such as external and internal corrosion, manufacturing defects, and stress-corrosion cracking. Provincial pipelines in Alberta fall under AER Directive 077 (Pipeline Inspection), which similarly requires periodic instrumented pig runs on pipelines of certain age, product, and population-density combinations. Inspection frequency is typically every 3 to 7 years for liquid pipelines and every 5 to 10 years for gas, calibrated by the predicted corrosion growth rate and pressure-cycle severity established in prior runs. Costs for an instrumented pig run on a major WCSB liquid line range from CAD 250,000 to CAD 1.5 million depending on length, diameter (typically 6 to 48 inch / 152 to 1,219 mm), the tool combination deployed, and how much pre-cleaning is required to get a clean signal.
Key Takeaways
- MFL vs UT sensor choice: Magnetic flux leakage works in both gas and liquid lines and is the workhorse for general metal-loss detection. Ultrasonic tools require a liquid couplant (so they are limited to liquid lines or batched UT in gas), but deliver direct wall-thickness measurement to ±0.3 mm rather than the inferred metal loss percentage that MFL provides through interpretation algorithms.
- Crack-detection technologies: EMAT and circumferential MFL (MFL-C) detect axially oriented features such as seam-weld cracks, stress-corrosion cracking (SCC), and selective seam corrosion that conventional axial MFL misses. Crack-detection tools are mandatory on pre-1970 ERW pipe and on any pipe known to be susceptible to SCC under CSA Z662-23 Clause 10.
- Regulatory mandate in Canada: The CER Onshore Pipeline Regulations and AER Directive 077 require federally and provincially regulated operators to run ILI on a risk-based schedule, typically every 3 to 7 years for liquid lines. Feature digs to verify ILI calls and address anomalies above pressure-based response criteria are mandatory within 180 days for immediate-action features.
- Data volume and analyst workload: A 1,000 km inspection run can generate 20 to 50 GB of raw sensor data. Specialist firms (ROSEN, Baker Hughes, NDT Global, T.D. Williamson) employ teams of Level II and Level III analysts who manually verify automated anomaly calls. Turnaround from pig recovery to final report is typically 60 to 120 days.
- Pre-inspection cleaning: Before any instrumented run, operators send 2 to 6 cleaning pigs through the line to remove paraffin, scale, debris, and water that would otherwise mask sensor readings. Cleaning runs on a high-paraffin Pembina or Bonnyville oil line can take a week and require careful flow management to avoid plugging the receiver.
MFL Physics and Anomaly Resolution
An axial MFL tool wraps the pipe in a saturating magnetic field (typically 18,000 to 25,000 gauss) generated by rare-earth magnets sandwiched between steel brushes that contact the inner pipe wall. Where the wall is uniform, flux lines remain confined inside the steel; where there is metal loss (a corrosion pit, a gouge, or a mill defect) flux leaks into the bore and is detected by Hall-effect sensors mounted between the poles. Sensor spacing is typically 8 to 12 mm circumferentially, giving a feature-detection floor of around 10 percent wall loss for pits 2A x 2A (where A is wall thickness). Interpretation software converts leakage amplitude into estimated depth using calibration boxes verified against machined defects in a pull-test facility.
Integration With Pipeline Integrity Management
ILI results feed directly into the integrity management plan required under CSA Z662-23 Annex N. Each feature is binned by severity: immediate features (predicted failure pressure below maximum operating pressure) trigger pressure reductions within 24 hours and excavation within 7 days; scheduled features are dug within 12 to 36 months. Operators then compare repeat ILI runs to calculate axial and radial corrosion growth rates, which drive the next inspection interval. On the Enbridge Line 3 Replacement and TMX Expansion projects, baseline ILI runs were performed within 30 days of in-service so all future runs have a high-quality starting point for growth-rate analysis under CER Condition 16.
Fast Facts
The first instrumented pipeline pig recognizable to a modern integrity engineer was developed by Tuboscope (now part of NOV) in 1965 and recorded data on magnetic tape that filled a cabinet the size of a refrigerator. Today's tools record terabytes onto solid-state drives the size of a hardcover book. The term pig itself is colloquial and reportedly derives from the squealing noise the earliest scraper pigs made as their leather discs dragged along the pipe wall, though some industry historians prefer the backronym Pipeline Inspection Gauge invented decades after the fact.
Related Terms
Instrumented pigs are a specialized form of pig distinguished from utility pigs by their onboard sensors and data logging. The integrity management programmes they support also rely on cathodic protection surveys, hydrostatic test records, and pressure-cycle analyses to triangulate threats. Findings are typically validated by direct excavation and inspection at pipeline dig sites where the reported defect is measured with hand-held UT and pit gauges before repair sleeves or composite wraps are installed under CSA Z662-23 Clause 10.
TC Energy NGTL ILI Run on the Northwest Mainline
A 2026 TC Energy ILI campaign on a 36 inch (914 mm) NGTL Northwest Mainline segment between Gordondale and the Sunset Prairie compressor station, a 175 km gas line in service since 2014, used a combination MFL plus EMAT crack-detection tool supplied by ROSEN. Pre-cleaning required three foam and brush pig runs over five days; the smart tool itself was launched on a Tuesday morning and reached the receiver 19 hours later at an average velocity of 2.6 m/s. Total inspection cost was approximately CAD 685,000 inclusive of tool rental, cleaning pigs, analyst time, and the regulatory report.
The final report identified 142 metal-loss anomalies, of which 11 exceeded 30 percent wall loss and were scheduled for excavation within the following 12 months at a programme cost of CAD 320,000 per dig. Two additional features classified as crack-like indications required prove-up using inverse-wave-field UT and were ultimately confirmed as benign mill laminations through metallurgical sampling.