What Is Pigging a Pipeline?
Pigging is the practice of sending a device called a "pig" through the inside of a pipeline, pushed along by the product flow itself. Depending on the pig, the goal is to clean the line, separate different products, remove liquids, or inspect the pipe wall for corrosion and defects. It is one of the primary ways operators keep a pipeline efficient and safe without shutting it down.
Pig / Pigging in one line: Pigging is running a device called a pig through a pipeline - propelled by the flowing product - to clean the line, separate batches, sweep out liquids, or inspect the pipe wall for corrosion and defects.
What Pigs Do
The term "pig" is often said to come from the squealing noise early units made against the pipe wall. Functionally, pigs fall into a few categories. Utility or cleaning pigs scrape wax, scale, and debris off the wall and sweep accumulated liquids ahead of them, which restores flow efficiency and reduces internal corrosion. Batching or sealing pigs separate two different products moving back-to-back in the same line so they do not mix at the interface. Gauging pigs verify a line is round and free of dents before commissioning.
Smart pigs, or inline inspection (ILI) tools, are the sophisticated end. Packed with sensors, they measure the pipe wall as they travel - magnetic flux leakage (MFL) tools find metal loss from corrosion, ultrasonic tools measure wall thickness, and caliper tools map dents and geometry. The data they log is analyzed afterward to locate and prioritize defects for repair, and is a core part of pipeline integrity management.
How a Pig Run Works
A pig is loaded into a pig launcher (a barrel with a valve arrangement) at one end of the line, then isolated and pressured up so the product flow pushes it downstream. It travels at pipeline velocity and is caught at the far end in a pig receiver. Launching and receiving are carefully sequenced operations involving pressurizing, equalizing, and venting the barrel - done wrong they are a safety hazard, so procedures and interlocks matter.
Operators track a pig's progress by watching pressure and flow, and by pig-signalers (passage indicators) mounted along the route that detect the pig going by. SCADA plays a supporting role here: pressure and flow transmitters, launcher and receiver valve and trap-door status, and pig-passage signals can all be brought into the control system so the operator confirms the pig launched, follows its transit, and gets alarmed if it stalls. Those field instruments typically report over Modbus or DNP3, so a cloud SCADA platform can present the whole pig run on one screen.
Planning a Pig Run
Good pig runs are planned before the barrel door ever opens. The first question is piggability: whether the line will pass the tool at all - full-bore valves along the route, bends within what the pig tolerates, barred tees, and a known internal diameter. The second is matching the pig to the job and to the line's condition, because an aggressive pig in a dirty line creates its own emergency. A working pre-run checklist:
- Confirm piggability and note every diameter change, valve, and fitting along the route.
- Select the pig for the job - cleaning, sealing, gauging, or inspection - and inspect its condition before loading.
- Walk the launcher and receiver isolation, pressuring, and venting sequence against the site procedure.
- Verify pig-signalers, pressure, and flow indications along the route are healthy.
- Agree the tracking and communication plan, including who does what if the pig is overdue.
- Confirm the receiver is prepared before launch - a pig with nowhere to land is an incident in waiting.
The barrels themselves are where the hazard concentrates: a pig launcher or receiver is a pressure vessel with a door, and most serious pigging incidents run through opening one wrongly. Trap operations follow the site's written procedure, with qualified personnel, every time, however routine the run has become.
When a Pig Stalls or Goes Missing
A stalling pig writes its signature in the process data: pressure rises upstream of it, falls downstream of it, and flow drops as it packs debris or wedges. The last signaler that confirmed passage and the first one that stayed silent bracket its position. Within that bracket, a symbolic estimate narrows the search: the volume pumped since launch divided by the line's internal cross-sectional area gives the distance the pig should have traveled, which tells a crew where to start before anyone drives the whole route.
Response is an engineering decision, not a console one. Raising the differential pressure across the pig may free it, but pressure limits are absolute - any plan stays inside the line's maximum operating pressure and under the pipeline engineering authority's direction. Debris packing ahead of an over-ambitious tool is a classic cause, which is why progressive programs of the kind described in the cleaning pig run reference start soft and escalate. Some pigs carry tracking transmitters that let a surface crew locate them precisely; where fitted, that turns a search into a drive.
Cleaning Programs and Inspection Intervals
How often a line is pigged is a condition-driven, site-specific question, and the line reports its own fouling. Pressure drop rising at constant flow means the wall is coating or liquids are accumulating, and the volume of liquid and debris arriving at the receiver each run measures how much the current interval is leaving behind. Programs tighten the interval until returns stabilize at a level the operation accepts, and relax it when runs consistently come back clean.
Inspection pigging runs on a different clock: intervals for an inline inspection tool come from the integrity management program and the applicable regulations, not from week-to-week line condition. A smart-pig campaign is also a project in its own right - cleaning runs first so the sensors see the wall rather than the wax, then a gauging run to prove the line passes a rigid body, then the tool itself. The condition data trended between campaigns - pressures, flows, and receiver returns - is what makes both clocks credible.
Frequently Asked Questions
Why is it called a pig?
The most repeated explanation is the squealing, pig-like noise that early cleaning pigs made as their scrapers dragged against the pipe wall. The industry also treats PIG as a backronym for "pipeline inspection gauge," but the equipment and the term predate that tidy expansion.
What is a smart pig?
A smart pig, or inline inspection tool, is a pig loaded with sensors that measure the pipe wall as it travels - typically magnetic flux leakage or ultrasonics to find corrosion and metal loss, plus caliper sensors for dents and geometry. The recorded data is analyzed to locate and rank defects, making smart pigs central to pipeline integrity programs.
Can SCADA support pigging operations?
Yes, in a supporting role. Pressure and flow transmitters, pig-signaler passage indicators, and launcher/receiver valve and trap status feed into SCADA over protocols like Modbus or DNP3. That lets operators confirm the launch, follow the pig's transit, and get alarmed if it stalls or a trap is left in an unsafe state.
How do you estimate where a stuck pig is?
Bracket it between the last signaler that confirmed passage and the first that stayed silent, then refine with arithmetic: the volume pumped since launch divided by the pipe's internal cross-sectional area gives the distance traveled. Pigs fitted with tracking transmitters can be located directly from the surface, which is one reason inspection tools usually carry them.
Why run a gauging pig before a smart pig?
To prove the line will pass a rigid tool before committing one. A gauging pig carries a deformable plate; if the plate comes back undamaged, the line has no dent, buckle, or restriction that would trap the inspection tool. Losing a cheap gauge plate is a finding - losing an instrumented inspection tool in the line is an operation.
Sources and verification
This page references the protocol specifications published by the organizations below. Editions, product capabilities, and documentation change over time - confirm current requirements and specifications directly with the source.
- Modbus Application Protocol Specification - Modbus Organization
- Overview of DNP3 (IEEE Std 1815) - DNP Users Group
Merobix is not affiliated with, endorsed by, or sponsored by these organizations; their names are used only to identify the standards and products discussed.
Automation services
Need help turning this into a working system?
Merobix integrates SCADA, programs Allen-Bradley and Siemens PLCs, and designs and fabricates industrial control panels.
Meeting requests are reviewed before confirmation.