P&ID digitization reads piping and instrumentation diagrams (P&IDs), whether scanned PDFs, image files, paper prints or CAD exports, and turns them into structured records: every instrument with its ISA 5.1 function and tag, every piece of equipment, and every line with its number, specification and connections. The output becomes an instrument index, an equipment list and a line list that feed asset systems, digital twins and hazard study preparation. Symbol detection, text recognition for tags and line numbers, and connection tracing do the extraction, and engineers review the low-confidence items before anyone relies on the data.
P&ID archives at oil and gas facilities
Refineries, gas plants, pipelines, terminals and offshore platforms run on P&IDs. They show the equipment, instruments, control loops and piping that make up each unit, and they pile up over the life of a facility: original design sets, modification packages, field redlines and as-built revisions. On older sites, a large share of the sheets started as paper and now exist as scanned images.
The data on those sheets, every valve tag, every instrument loop, every line specification, is what an instrument index, a maintenance system or a digital twin needs. Reading it off the sheets by hand is slow work for engineers who have other jobs to do, so it tends to be done once per project and then fall out of date.
P&ID symbol detection and ISA 5.1 symbols
The ISA 5.1 standard defines the symbol vocabulary for process instrumentation. The shape of the instrument bubble and the line through it carry meaning:
- A plain circle is a discrete instrument. A circle inside a square is a shared display or shared control function, usually the control system. A hexagon is a computer function, and a diamond inside a square is a programmable logic function.
- No line through the bubble means field mounted. A solid line means a main control room location the operator can reach. A dashed line means a location behind a panel, out of the operator's normal reach.
- Signal lines differ by type: dashed for electric signals, double hash marks for pneumatic, small circles for a software or data link, and small Xs for capillary tubing.
Many facilities use their own variations, and drafting styles changed between decades and CAD systems. A model has to learn the symbol set on your drawings as well as the standard. Dense sheets add to the difficulty: small bubbles packed close together, tags that overlap linework, and symbols drawn at different scales on the same sheet. Symbol extraction produces typed records: a flow transmitter is an instrument record with a measured variable, a function, a tag and its signal connections, and a control valve is extracted with its tag, actuator type and the positioner or solenoid attached to it.
Parsing instrument tags into function and loop
An ISA instrument tag reads in a fixed order: the first letter is the measured variable, the following letters are any modifier (such as D for differential) and the function, and the number is the loop, sometimes with a suffix.
| Tag | Measured variable | Function | Typical meaning |
|---|---|---|---|
| FT-102 | Flow | Transmitter | Flow transmitter on loop 102 |
| PT-215 | Pressure | Transmitter | Pressure transmitter on loop 215 |
| LT-330 | Level | Transmitter | Level transmitter on loop 330 |
| TIC-410 | Temperature | Indicating controller | Temperature controller with display |
| FCV-102 | Flow | Control valve | Valve driven by flow loop 102 |
| PSV-501 | Pressure | Safety valve | Pressure relief on vessel or line |
| LSH-330 | Level | Switch, high | High level switch on loop 330 |
| PDT-220 | Pressure, differential | Transmitter | Differential pressure across a filter or exchanger |
Parsing decodes the letters, splits out the loop number and links the tag to the bubble it labels. Older drawings and drawings from other regions often bend the convention, with extra prefixes for unit or area numbers, so the parser is set up with your site's tag format during the deployment. The parsed tags become the instrument index, the master list behind calibration records, maintenance plans and control system input/output (I/O) lists.
Line numbers, specifications and connections
Line extraction reads the line number and the specification it encodes: size, service, pipe class and insulation, for example 6"-HC-1203-A1A-IH. It also records flow direction and which equipment and instruments each line connects. That gives you the line list, and it gives a digital twin its process connectivity. Without the connections, a model has equipment objects with no flow between them. The connected records are usually stored as a graph, with equipment and instruments as nodes and lines and signals as the links, so a query can follow a line from a pump to every valve and instrument on it.
Off-sheet connectors matter here. A line that leaves one sheet through a continuation arrow has to be matched to the sheet it enters, or the topology breaks at every sheet edge.
Instrument index, digital twins and hazard study preparation
The digitized records serve three common uses. The instrument index and equipment list load into your asset management system. The instrument, equipment and line records together form the process layer of digital twin platforms. Hazard and operability study (HAZOP) revalidation needs current P&ID data as input, and having instruments, loops and line specifications already in structured form shortens the preparation before the study starts.
For the wider picture across electrical and process drawings, see our guide to engineering diagram digitization.
Confidence scores and engineer review for process data
Process data is used for safety work, so nothing goes straight from the model into the index. Every extracted item carries a confidence score. Items below the agreed threshold go to an instrumentation or process engineer, who sees the drawing crop beside the record and confirms or corrects it. Paper-originated sheets with hand edits and faded lines produce more review items, which is why scan quality matters; our guide to large format scanning for engineering drawings covers resolution and grayscale settings, and our text recognition model for hand-lettered drawings reads the older lettering.
ODRecords covers the whole job: scanning coordinated through a partner with documented chain of custody, optical character recognition (OCR) trained on samples of your own drawings, field-level indexing by drawing number, revision, unit and tag, quality control, and a cloud or on-premises archive with permissions your administrators set. Each deployment is custom. We sit with your engineers to learn your symbol set, tag format and the records you need, then fine-tune our models and add rules for your conventions, or train a new model on your own P&IDs, so extraction targets the items you care about.
Gas utilities with paper distribution maps can turn them into a geographic information system (GIS) map with ODMaps. Mechanical and electrical contractors bidding work at the facility can count components on bid packages with ODTakeoff.



