Skip to main content

How do you link DeltaV and AVEVA PI Historian to GMP batch records?

Connecting Emerson DeltaV and AVEVA PI Historian to GMP electronic batch records requires querying bounded UTC phase windows, preserving explicit bad-status or questionable quality flags alongside values, separating recorded events from interpolated grids and keeping source extracts attached for audit review. Under 21 CFR 211.68(b) and EU GMP Annex 11, an eBR phase summary is trustworthy only when it reports usable duration coverage instead of silently averaging across sensor outages.Checked against its sources on 4 December 2026. How these answers are made

1Why simple tag averages from PI Historian or DeltaV break GMP data integrity.

Process automation teams run Emerson DeltaV1 for real-time batch phase control and AVEVA PI Historian for high-frequency archive retention across bioreactors, SIP/CIP skids, autoclaves and cleanroom utilities. When engineers pull a single average temperature or hold duration into an electronic batch record without inspecting data quality flags, unequal interval durations or late-arriving DeltaV phase events, the batch summary can hide a 15-minute sensor fault or compress two separate pause/resume hold occurrences into one misleading number.

Under 21 CFR 211.68(b), computerized inputs and outputs must be checked for accuracy in proportion to complexity and reliability.2 EU GMP Annex 11 section 5 expects built-in checks for secure, accurate electronic data exchange between systems.3 PI Web API explicitly returns Timestamp, Value, Good, Questionable and Substituted attributes on recorded and interpolated reads, which must be preserved rather than stripped to bare numeric pairs.4

2Critical engineering rules for DeltaV and PI Historian batch extracts.

Table 1. Core data-integrity controls for linking Emerson DeltaV and AVEVA PI Historian into GMP eBRs.
Integration decisionRequired GMP behaviorSilent failure prevented
Absolute UTC bounds per closed phaseQuery closed batch phases using explicit UTC [start, end) intervals resolved from the batch-to-equipment occurrence ID, never relative strings like “last hour”Daylight-saving clock collisions or pulling neighboring batch intervals into the wrong lot
Recorded vs interpolated vs summary readsStore the exact PI query type (recorded, interpolated with grid interval or summary basis) and retrieval time alongside the source WebId and serverTreating a synthetic hourly interpolated grid as proof that the sensor actually measured every hour4
Explicit Bad / Questionable quality coverageCompute time-weighted statistics over usable intervals only, and report explicit usable duration coverage (e.g., 50 / 60 min = 83.3%) beside the mean/min/maxDividing by full 60 minutes (treating an outage as zero) or drawing a straight line across a 10-minute bad-status gap
DeltaV event time vs arrival time & pausesCompute active phase duration strictly from DeltaV source-event timestamps (subtracting Pause to Resume intervals), and verify late-arriving End events before locking the phaseTruncating an interrupted hold phase or closing a phase summary before the final DeltaV event arrives
Re-extraction & revision lineageKeep prior extract Files immutable when a revised query runs after a corrected phase end; never silently overwrite an already-reviewed batch decisionErasing audit evidence of what a QA reviewer actually saw when approving a phase5

3Worked example: why duration-weighted mean and coverage matter.

Invented for illustration: During a 60-minute vessel hold (09:00 to 10:00 UTC), PI Historian records 20 °C for 10 minutes, 24 °C for 20 minutes, explicit Bad sensor status for 10 minutes (09:30 to 09:40) and 20 °C for the final 20 minutes.

  • Simple unweighted average of 3 good points: (20 + 24 + 20) / 3 = 21.33 °C (ignores unequal interval lengths).
  • Time-weighted mean over 50 usable minutes: (10 × 20 + 20 × 24 + 20 × 20) / 50 = 21.60 °C with 83.3% usable coverage and an explicit 10-minute `Bad` status gap flag.
  • QA outcome: Because 10 minutes of temperature evidence are missing, the eBR surfaces an automatic review-by-exception flag instead of silently displaying a green “21.6 °C Pass” badge.

Inspect downloadable worked CSV interval datasets in Seal’s PI Historian batch record workflow and DeltaV process data batch record workflow.

4How it runs in Seal.

Seal connects AVEVA PI Historian and Emerson DeltaV directly into your electronic batch records using bounded UTC window extracts, preserving raw interval Files, quality flags and explicit coverage percentages so QA reviews exceptions directly beside the batch step. Explore our worked examples in PI Historian to batch records and DeltaV to batch records.

Batch record B-041 in Seal, post-mix hold and transfer: the instruction to keep the product at 2 to 8 °C and transfer it within 45 minutes of the mix, three process readings recorded at 10:12, 10:42 and 11:04, and the linked sample IPC-041 and investigation DEV-018. Fictional records.Open the whole screen in a new tab
Figure 1. B-⁠041 in Seal: the post-mix hold’s readings at mix, hold check and transfer, against its 45-minute limit.
Watch your own SOP run in Seal

AQuestions and answers

Should an eBR pull every 1-second PI Historian point into batch record fields?

No. Retain the complete raw extract as an immutable attached File, and store bounded phase summary statistics (min, max, time-weighted mean, usable coverage percentage, bad-status gap count and query metadata) in typed eBR fields.

How should a GMP batch record handle a 10-minute Bad status gap in PI Historian data?

Exclude the bad-status duration from the denominator rather than substituting zero or interpolating across the gap, display usable coverage percentage prominently and flag the step for QA exception review.

Does connecting DeltaV or PI Historian to a cloud eBR alter real-time plant control?

No. Keep the connection strictly read-only over site-approved outbound network paths so real-time batch phase control, alarms and safety interlocks remain inside the qualified DeltaV DCS.

References5 sources

References

  1. 1DeltaV Manufacturing Execution System, Emerson. https://www.emerson.com/en-us/automation/operations-business-management/deltav-mes (read 5 November 2026)
  2. 221 CFR 211.68, Automatic, mechanical, and electronic equipment, paragraph (b), eCFR. https://www.ecfr.gov/current/title-21/section-211.68 (read 4 December 2026)
  3. 3EudraLex Volume 4, Annex 11: Computerised Systems, European Commission, January 2011, section 5. https://health.ec.europa.eu/system/files/2016-11/annex11_01-2011_en_0.pdf (read 4 December 2026)
  4. 4OSIsoft PI World 2020: Using PI Web API From Beginner to Advanced, exercises 2 and 3, OSIsoft / AVEVA. https://cdn.osisoft.com/learningcontent/pdfs/PIWorld%202020%20Using%20PI%20Web%20API%20From%20Beginner%20to%20Advanced.pdf (read 4 December 2026)
  5. 5Data Integrity and Compliance With Drug CGMP: Questions and Answers, Guidance for Industry, FDA, December 2018. https://www.fda.gov/media/119267/download (read 4 December 2026)

See your process in Seal.

Bring a procedure or a recurring problem. See how your team configures it with Neil and improves the next run.