flow "ProcessInstrument" v1.0
# KIRETH RESEARCH — SEMANTIC LIBRARY — ENGINEERING ENTITIES
# Original Flow Algebra representation; source page not independently verified.
IDENTITY:
canonical_name: "Process Instrument"
entity_type: "EngineeringInstrumentationEntity"
parent_classes: ["InstrumentationEntity", "EngineeringInstrument", "MeasurementInstrument"]
domain: "Industrial process measurement and control"
version: "1.0"
language: "en-GB"
AUTHORS:
research: "Kireth Research"
collaboration: "Sky — Recursive AI"
licence_note: "Refer to the applicable Kireth Research Open Research Licence; citation required"
SOURCE:
canonical_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/instrumentation-entities/process-instrument-ontology.html"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/instrumentation-entities/process-instrument-ontology.html"
provenance: "New domain-informed representation, not a verbatim page extraction"
PURPOSE:
description: "Model a process instrument as an identifiable, calibrated device that senses, indicates, records, transmits or controls a physical process variable."
questions:
- "What process variable does the instrument measure or influence?"
- "Is its measurement suitable for the specified range and conditions?"
- "Can its signal and health state be trusted by a control system?"
- "What evidence supports calibration, maintenance and safe operation?"
scope: ["pressure", "temperature", "flow", "level", "analytical composition", "position", "process condition"]
exclusions: ["unverified safety certification", "assumed universal instrument accuracy", "unqualified process control decisions"]
STATE_MODEL:
state S_t: (I_t, R_t, B_t, K_t)
I_t: "Observed process signals, instrument metadata, diagnostics and calibration records"
R_t: "Measurement physics, signal conversion, process relations and control-system interfaces"
B_t: "Range, uncertainty, environmental, installation and safety boundaries"
K_t: "Instrument specifications, traceability, operating history and accepted engineering knowledge"
expansion E_t: expand(I_t, R_t)
valid_candidates V_t: {x in E_t | satisfies(x, B_t) and supported_by(x, K_t)}
selection x_star: argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
transition I_(t+1): update(I_t, x_star, observations_t)
modes: ["uninstalled", "installed", "commissioning", "operational", "maintenance", "calibration", "fault", "isolated", "retired"]
lifecycle_guard: "Never infer operational fitness from connectivity alone"
ENTITIES:
ProcessInstrument:
attributes: ["tag", "manufacturer", "model", "serial_number", "location", "service", "instrument_type", "lifecycle_state"]
relations: ["measures ProcessVariable", "installed_at ProcessConnection", "produces InstrumentSignal", "has CalibrationRecord", "communicates_with ControlSystem"]
ProcessVariable:
attributes: ["quantity_kind", "engineering_unit", "normal_range", "design_range", "alarm_limits", "measurement_point"]
PrimarySensingElement:
examples: ["thermocouple", "RTD", "pressure diaphragm", "orifice plate", "ultrasonic element", "pH electrode"]
relations: ["responds_to ProcessVariable", "feeds Transmitter"]
Transmitter:
attributes: ["input_range", "output_range", "damping", "linearisation", "diagnostic_status"]
InstrumentSignal:
forms: ["4–20 mA", "voltage", "pulse", "frequency", "digital fieldbus", "discrete contact"]
attributes: ["raw_value", "scaled_value", "timestamp", "quality_flag", "communication_status"]
CalibrationRecord:
attributes: ["reference_standard", "as_found", "as_left", "date", "due_date", "uncertainty", "technician", "traceability"]
ProcessConnection:
attributes: ["mounting", "impulse_line", "thermowell", "seal", "wetted_material", "pressure_rating"]
ControlSystem:
examples: ["PLC", "DCS", "SCADA", "safety instrumented system"]
InstrumentFault:
types: ["open_circuit", "short_circuit", "sensor_drift", "plugged_impulse_line", "loss_of_power", "signal_saturation", "communication_loss", "out_of_calibration"]
MaintenanceEvent:
attributes: ["inspection", "proof_test", "repair", "replacement", "authorisation", "evidence"]
PATHWAYS:
- id: "P01_measurement"
path: "ProcessVariable -> PrimarySensingElement -> Transmitter -> InstrumentSignal -> ControlSystem"
guard: "Signal must retain units, timestamp, quality and range context"
- id: "P02_installation"
path: "ProcessConnection -> CompatibilityCheck -> Installation -> Commissioning -> OperationalState"
guard: "Check process pressure, temperature, media, ingress and hazardous-area requirements"
- id: "P03_calibration"
path: "ReferenceStandard -> AsFoundTest -> AdjustmentIfAuthorised -> AsLeftTest -> CalibrationRecord"
guard: "Record traceability and measurement uncertainty; adjustment does not erase as-found evidence"
- id: "P04_diagnostics"
path: "ObservedSignal -> PlausibilityCheck -> FaultHypothesis -> IndependentVerification -> CorrectiveAction"
guard: "Do not replace direct measurements with unsupported fault hypotheses"
- id: "P05_control"
path: "ValidatedMeasurement -> Controller -> FinalControlElement -> ProcessResponse -> Feedback"
guard: "Control authority and fail-safe behaviour require system-level validation"
- id: "P06_maintenance"
path: "HealthIndicator -> MaintenanceDecision -> IsolationPermit -> Service -> Recommissioning"
guard: "Apply site isolation and permit-to-work procedures before intervention"
MEASUREMENT_RELATIONS:
linear_scaling:
equation: "PV = LRV + (signal - signal_low) * (URV - LRV) / (signal_high - signal_low)"
constraints: "Valid only for the configured linear signal mapping and non-zero signal span"
span:
equation: "span = URV - LRV"
guard: "URV and LRV must use the same quantity and units"
indication_error:
equation: "error = indicated_value - reference_value"
note: "Compare at specified conditions; account for reference uncertainty"
combined_standard_uncertainty:
equation: "u_c = sqrt(sum_i (c_i * u_i)^2)"
assumption: "Independent contributions; include covariance terms if correlated"
expanded_uncertainty:
equation: "U = k * u_c"
note: "State coverage factor and associated coverage basis"
dynamic_response:
model: "tau * dy/dt + y = K * u(t)"
assumption: "First-order approximation only where instrument dynamics justify it"
signal_quality:
fields: ["validity", "staleness", "diagnostics", "range_status", "communication_integrity"]
rule: "A numeric reading without a valid quality flag is not automatically a valid process measurement"
MINI_RECURSION_ENGINE:
input: ["instrument_tag", "measurement", "units", "timestamp", "quality", "configuration", "calibration", "process_limits"]
repeat:
- "Resolve instrument identity, variable, measurement principle and installation context"
- "Normalise units and verify configured signal scaling"
- "Check validity, freshness, range, diagnostics and calibration status"
- "Compare with process expectations and independent evidence"
- "Generate bounded explanations and ranked fault hypotheses"
- "Apply safety and evidence gates before recommending action"
- "Update state and provenance when new evidence arrives"
stop_when: ["sufficient_evidence", "no_valid_candidates", "safety_boundary_reached", "iteration_limit"]
max_iterations: 8
no_autonomous_actuation: true
INFERENCE_RULES:
- id: "IR01"
if: "signal_quality == invalid OR communication_status == lost"
then: "mark measurement unreliable; request diagnostic verification"
- id: "IR02"
if: "calibration_due_date < observation_date"
then: "flag overdue calibration; do not assume actual measurement error without testing"
- id: "IR03"
if: "measured_value outside configured_range"
then: "flag out-of-range condition; distinguish process excursion from sensor fault"
- id: "IR04"
if: "signal is saturated AND process evidence indicates continued variation"
then: "consider range limitation, wiring or transmitter fault; seek independent measurement"
- id: "IR05"
if: "independent_measurements disagree beyond combined uncertainty"
then: "investigate drift, installation effects, process gradients and reference validity"
- id: "IR06"
if: "instrument has process-contact materials incompatible with service"
then: "block compatibility approval pending qualified engineering review"
- id: "IR07"
if: "instrument designated safety-critical"
then: "require approved proof-testing, independence and functional-safety procedures"
- id: "IR08"
if: "reading lacks unit OR timestamp OR provenance"
then: "reduce confidence and prohibit safety-critical use until resolved"
CONFIDENCE:
components: ["sensor_health", "calibration_evidence", "signal_quality", "environmental_suitability", "independent_agreement", "traceability"]
output: ["supported", "provisional", "insufficient_evidence", "contradicted"]
rule: "Do not manufacture numeric probabilities without an empirically justified model"
downgrade_on: ["stale_data", "missing_calibration", "unverified_units", "active_diagnostic_fault", "out_of_specification_conditions"]
SEMANTIC_EQUIVALENCE:
equivalent_terms: ["process instrumentation device", "industrial process instrument", "process measurement instrument"]
related_not_equivalent: ["sensor", "transducer", "transmitter", "controller", "actuator", "instrument loop"]
disambiguation: "A process instrument may include sensing and transmission, but a sensor alone is not always a complete process instrument"
units: "Use explicit SI-compatible quantity definitions and conversion provenance"
SAFETY_AND_BOUNDARIES:
- "Do not infer that an instrument is suitable for a hazardous area without applicable certification"
- "Pressure-boundary and wetted-material suitability require documented ratings and compatibility"
- "Electrical isolation, stored energy and process containment must be addressed before maintenance"
- "Safety-instrumented functions require system-level lifecycle and integrity assessment"
- "No automatic bypass, trip reset, setpoint change or field actuation from ontology inference"
- "Use approved local procedures, competent personnel and applicable standards"
FLOW_HASH:
scheme: "SHA-256 of canonicalised flow text excluding the FLOW_HASH value itself"
value: "UNCOMPUTED"
note: "Compute after final canonical serialisation; do not invent a digest"
UPDATE_MODEL:
triggers: ["new_calibration", "instrument_replacement", "configuration_change", "new_diagnostic_evidence", "standards_revision", "process_change"]
version_policy: "Increment version for semantic or rule changes; retain prior versions and provenance"
validation: ["schema_consistency", "unit_consistency", "traceability_review", "engineering_review", "safety_review"]
audit_fields: ["change_timestamp", "change_author", "reason", "evidence", "review_status"]
END_FLOW
Download Code
Copy to Clipboard