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.
| Integration decision | Required GMP behavior | Silent failure prevented |
|---|---|---|
| Absolute UTC bounds per closed phase | Query 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 reads | Store the exact PI query type (recorded, interpolated with grid interval or summary basis) and retrieval time alongside the source WebId and server | Treating a synthetic hourly interpolated grid as proof that the sensor actually measured every hour4 |
Explicit Bad / Questionable quality coverage | Compute time-weighted statistics over usable intervals only, and report explicit usable duration coverage (e.g., 50 / 60 min = 83.3%) beside the mean/min/max | Dividing 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 & pauses | Compute active phase duration strictly from DeltaV source-event timestamps (subtracting Pause to Resume intervals), and verify late-arriving End events before locking the phase | Truncating an interrupted hold phase or closing a phase summary before the final DeltaV event arrives |
| Re-extraction & revision lineage | Keep prior extract Files immutable when a revised query runs after a corrected phase end; never silently overwrite an already-reviewed batch decision | Erasing 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 °Cwith 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.
Open the whole screen in a new tabAQuestions 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
- 1DeltaV Manufacturing Execution System, Emerson. https:/
/ www. emerson. com/ en- us/ automation/ operations- business- management/ deltav- mes (read 5 November 2026) - 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) - 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) - 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) - 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)