1. Overview & Applications
Pipeline pigs are devices inserted into pipelines to perform maintenance, cleaning, inspection, or product separation. Pig speed control is critical for safe operations and effective pig performance.
Image: Common Pipeline Pig Types
Technical illustration showing foam pig, solid cast pig, steel mandrel pig, MFL tool, and gauge pig with labeled components.
Cleaning operations
Debris removal
Scraper pigs remove wax, scale, liquids, and debris at 3-5 ft/s optimal speed.
Inline inspection
ILI tool speed
MFL and UT tools require 2-6 ft/s for data quality and sensor response time.
Batch separation
Product interface
Batch pigs separate products in multi-product pipelines at flow velocity.
Hydrotesting
Dewatering pigs
Foam pigs push water out after hydrostatic testing at low speeds (1-3 ft/s).
Key Concepts
- Pig velocity: Speed of pig relative to pipeline (ft/s or m/s)
- Slip velocity: Difference between fluid velocity and pig velocity due to bypass
- Differential pressure (ΔP): Pressure drop across pig providing driving force
- Surge pressure: Transient pressure spike from rapid pig deceleration/acceleration
- Bypass ratio: Fraction of flow passing around pig sealing elements
Pig Types and Speed Requirements
| Pig Type | Typical Speed | Speed-Critical Factor |
|---|---|---|
| Foam cleaning pig | 3-8 ft/s | Mechanical cleaning action requires momentum |
| Scraper/brush pig | 3-7 ft/s | Balance between cleaning effectiveness and wear |
| MFL inspection tool | 2-5 ft/s | Sensor sampling rate and data resolution |
| UT inspection tool | 2-6 ft/s | Ultrasonic coupling and signal processing time |
| Gauge/caliper pig | 3-8 ft/s | Mechanical finger response time to deformations |
| Batch/sphere | Flow velocity | Maintains seal to prevent product mixing |
| Dewatering pig | 1-3 ft/s | Low speed prevents water carry-over and surge |
API RP 1171 Speed Recommendations
API Recommended Practice 1171 and ILI vendor guidelines provide speed guidance:
- Minimum speed: 2 ft/s to prevent stalling in uphill sections
- Maximum speed: 15 ft/s to prevent pig damage and excessive wear
- Preferred range: 3-10 ft/s for most operations
- ILI tools: 2-6 ft/s optimal for magnetic flux leakage (MFL) and ultrasonic testing (UT)
- Speed control: ±20% target speed tolerance recommended
2. Pig Velocity Calculations
Pig velocity depends on fluid flow rate, differential pressure across pig, bypass flow, and pipeline geometry. Accurate velocity prediction is essential for operation planning.
Fundamental Velocity Equation
Bypass Ratio Effects
Bypass flow past pig sealing elements reduces pig velocity below fluid velocity:
Practical Velocity Estimation
For gas pipelines, pig velocity is primarily determined by gas flow rate and pipe area, not differential pressure. The practical approach:
Image: Pig Velocity vs Gas Velocity Relationship
Cross-sectional diagram showing pig in pipeline with gas flow arrows, bypass flow around seals, and velocity vectors (V_gas, V_pig, V_bypass).
Force Balance Method
Travel Time Calculation
Calculate pig transit time for operational planning:
Variable Speed Along Pipeline
Pig speed varies with elevation changes, pipe diameter changes, and flow rate variations:
| Pipeline Section | Length (mi) | Diameter (in) | Elevation Δ (ft) | Est. Velocity (ft/s) | Travel Time (hr) |
|---|---|---|---|---|---|
| Section 1 (level) | 15 | 20 | 0 | 6.0 | 3.67 |
| Section 2 (uphill) | 8 | 20 | +300 | 3.5 | 3.35 |
| Section 3 (downhill) | 12 | 20 | -200 | 9.0 | 1.96 |
| Section 4 (reduced dia) | 5 | 16 | 0 | 9.4 | 0.78 |
| Total | 40 | — | — | — | 9.76 |
Note: Uphill sections slow the pig, while downhill sections accelerate it. Speed also increases in reduced diameter sections due to conservation of mass (continuity).
Liquid vs. Gas Pipeline Pig Speed
- Liquid lines: Pig velocity approximately equals fluid velocity due to incompressibility. Flow rate directly determines speed.
- Gas lines: Gas compressibility allows differential pressure to build. Pig velocity less dependent on flow rate, more sensitive to ΔP and bypass.
- Two-phase flow: Liquid holdup ahead of pig can dramatically slow or stall pig. Requires higher ΔP to move accumulated liquid slug.
3. Surge Pressure Analysis
Rapid pig acceleration or deceleration creates pressure surges that can exceed pipe design pressure. Surge analysis is critical for safe pigging operations, especially in liquid pipelines.
Image: Pressure Surge During Pig Arrival
Pressure vs time graph showing surge spike at pig arrival, with annotations for baseline pressure, peak surge, and attenuation curve.
Water Hammer Equation
Pig Surge Pressure Calculation
Deceleration Time Factor
Gradual deceleration reduces surge pressure:
Surge Mitigation Strategies
| Strategy | Method | Surge Reduction | Cost/Complexity |
|---|---|---|---|
| Slow pig speed | Reduce line flow rate during pigging | High (surge ∝ velocity) | Low (operational change) |
| Bypass valve at receiver | Open bypass before pig arrival to gradually slow pig | Very high (50-80% reduction) | Medium (valve + controls) |
| Surge tank | Accumulator absorbs pressure spike | High (30-60% reduction) | High (tank + controls) |
| Gradual receiver closure | Slow closure valve (2-5 seconds) | Medium (increases t_d) | Low (valve sizing) |
| Pig with bypass | Use pig design allowing controlled bypass | Low-medium (softens impact) | Low (pig selection) |
| Reduced pipeline pressure | Lower operating pressure during pig run | None (but increases margin) | Low (operational) |
Gas Pipeline Surge Considerations
Gas compressibility reduces surge severity compared to liquids:
- Lower wave speed: Gas sonic velocity ~1,200 ft/s vs. ~4,000 ft/s in liquids → 3× lower surge
- Compression absorption: Gas compression ahead of pig cushions deceleration
- Pack formation: Main risk is liquid accumulation ("pack") ahead of pig creating liquid-like surge
- Typical gas surge: 50-200 psi manageable with proper procedures
Maximum Safe Pig Velocity
Calculate maximum pig speed to limit surge below pressure rating:
4. Launcher/Receiver Design
Pig launchers and receivers must be sized to accommodate the pig, provide adequate pressure differential for launching, and safely receive pigs with surge control.
Image: Pig Launcher Assembly Schematic
Side-view technical drawing of pig launcher showing barrel, closure door, kicker line, mainline valve, bypass valve, and pressure indicators with dimensions labeled.
Launcher Sizing Requirements
Launcher Pressure Differential
Sufficient pressure differential required to overcome pig static friction and accelerate pig into flow:
Launcher Pressure Rating
Launchers must be rated for pipeline MAOP plus margin:
| Pipeline MAOP | Launcher Rating (ASME B31.8) | Typical Construction |
|---|---|---|
| < 500 psi | MAOP × 1.5 or Class 300 minimum | Seamless pipe, Class 300 flanges |
| 500-1,000 psi | MAOP × 1.25 or Class 600 | Seamless pipe, Class 600 flanges |
| 1,000-1,440 psi | Class 900 | Heavy wall seamless, Class 900 flanges |
| > 1,440 psi | Class 1500 | Forged construction, Class 1500 flanges |
Receiver Design Considerations
Receivers must safely stop pig and handle surge pressures:
Receiver Closure Mechanisms
| Closure Type | Pressure Range | Closure Time | Surge Control |
|---|---|---|---|
| Quick-opening closure | < 600 psi | Instant | Poor (hard stop) |
| Ball valve | Up to 1,500 psi | 1-3 seconds | Fair (some cushioning) |
| Gate valve | Up to 2,000+ psi | 3-10 seconds | Good (gradual closure) |
| Actuated valve with ramp | Any | Programmable 5-20 sec | Excellent (controlled decel) |
| Bypass valve system | Any | Bypass opens, main closes slowly | Excellent (minimal surge) |
Bypass Valve Surge Control
Recommended for high-speed or liquid pipelines:
Pig Trap Instrumentation
Safety and operational instrumentation for launchers/receivers:
- Pressure transmitters: Monitor barrel and pipeline pressure, calculate ΔP for launch
- Pig detectors (upstream): Magnetic or acoustic detector 100-500 ft before receiver warns of pig arrival
- Closure position switches: Confirm closure door/valve fully closed before pressurizing
- Vent/drain valves: Depressurize barrel safely before opening closure
- Interlocks: Prevent closure opening under pressure, prevent pressurizing with open closure
- Flow meters: Confirm flow through launcher/receiver for pig movement verification
5. Operational Considerations
Pre-Pigging Checklist
| Item | Verification | Consequence if Missed |
|---|---|---|
| Pig size correct for pipe ID | Measure pig OD, verify against pipe ID + tolerance | Stuck pig, bypass, ineffective cleaning |
| Pipeline configuration known | Review as-builts: bends, tees, reducers, valves | Pig lodged at fitting, damage, stuck |
| Receiver ready to accept pig | Confirm receiver empty, closure opens/closes | Pig damage, pressure surge, safety hazard |
| Flow rate stable | Verify steady flow, no transients expected | Pig stalls or races, uncontrolled speed |
| Pressure adequate for launch | ΔP launcher-to-receiver ≥ minimum (100+ psi typical) | Pig won't launch, stuck in launcher |
| All valves in correct position | Line valves open, bypasses closed, vents closed | Pig can't enter line, pressure loss, stuck |
| Pig detectors operational | Test magnetic/acoustic detectors | Unknown pig location, missed receiver prep |
| Communication plan | Radio/phone contact launcher ↔ receiver | Coordination failure, safety issues |
Pig Tracking Methods
- Pig passage indicators: Acoustic or magnetic detectors at key locations report pig passage time
- Calculated arrival: Use launch time + estimated travel time ± margin for receiver prep
- Pressure monitoring: Pressure rise at receiver indicates pig approaching
- Flow changes: Flow rate drop at receiver when pig arrives and blocks flow
- Smart pig telemetry: GPS-enabled pigs transmit real-time position (rare, expensive)
Common Pigging Problems
| Problem | Symptoms | Likely Causes | Solution |
|---|---|---|---|
| Pig stuck/stalled | Pig doesn't arrive, pressure rises | Insufficient ΔP, pipeline obstruction, undersized pig | Increase pressure, reverse flow, mechanical removal |
| Excessive speed | Early arrival, loud impact, surge | Too much ΔP, downhill run, oversized pig | Reduce flow, use pig with bypass, check for damage |
| Pig bypass | Slow arrival, low ΔP, incomplete cleaning | Worn pig seals, undersized pig | Replace pig, verify sizing |
| Pig lodged at tee | Stops at branch connection | Flow into branch diverts pig | Close branch valve before pigging |
| Pig damaged in run | Pig arrives damaged/deformed | Excessive speed, sharp edges, debris | Slow speed, inspect/clean line first |
| Large pressure surge | Pressure spike at receiver arrival | High speed + sudden stop, liquid line | Install bypass valve, reduce pig speed |
Pigging Frequency Guidelines
Recommended pigging intervals by application:
| Pipeline Type | Purpose | Typical Frequency |
|---|---|---|
| Dry gas transmission | Cleaning/inspection | Every 1-3 years (or per integrity plan) |
| Wet gas gathering | Liquid removal | Weekly to monthly |
| Crude oil | Wax/paraffin removal | Monthly to quarterly |
| Refined products (multi-product) | Batch separation | Every batch (daily to weekly) |
| NGL pipelines | Cleaning | Annually |
| Integrity management (ILI) | Corrosion/defect inspection | Every 5-7 years (or per regulation) |
Speed Control Techniques
Methods to maintain pig within target velocity range:
Regulatory Requirements
Key standards and regulations for pigging operations:
- API RP 1171: Functional Integrity of Natural Gas Pipelines
- API Spec 5L: Line Pipe (pig-compatible pipeline specifications)
- ASME B31.4: Liquid Pipeline Systems (launcher/receiver design for liquids)
- ASME B31.8: Gas Transmission Pipelines (launcher/receiver design for gas)
- 49 CFR 192: Gas Pipeline Safety (ILI frequency and integrity management)
- 49 CFR 195: Liquid Pipeline Safety (ILI frequency and integrity management)
- NACE SP0102: Inline Inspection of Pipelines (inspection practices)
Ready to use the calculator?
→ Launch Calculator