Skip to main content

Process Variable Ontology

Control-System Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 18 November 2026
Audio Overview
flow "ProcessVariable" v1.0

# Kireth Research Semantic Library — Control System Entities
# Original Flow Algebra representation; source page content not independently verified.

IDENTITY:
  entity: "Process Variable"
  class: "ControlSystemEntity > MeasuredOrEstimatedVariable"
  aliases: ["PV", "controlled process measurement", "plant variable"]
  scope: "Time-dependent physical or calculated quantity observed in a process control system"
  distinction: "PV is the observed/estimated quantity; SP is the desired target; MV is the manipulated input"

AUTHORS:
  research: "Kireth Research"
  co_author: "Sky — Recursive AI"
  licence: "Open Research Licence — citation required"

SOURCE:
  ontology_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/control-system-entities/process-variable-ontology.html"
  citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/control-system-entities/process-variable-ontology.html"
  derivation: "Original domain-informed flow; not a verbatim source extraction"
  language: "en-GB"

PURPOSE:
  define: "Represent the meaning, measurement, provenance, validation and use of a process variable"
  support: ["control-loop reasoning", "instrumentation interoperability", "diagnostics", "historian records", "safety review"]
  avoid: ["confusing setpoint with measurement", "silently treating stale or invalid data as current", "unit mismatch"]

STATE_MODEL:
  S(t) = (identity, quantity, unit, value, timestamp, quality, uncertainty, source, mode, limits, history)
  quantity: ["temperature", "pressure", "flow", "level", "speed", "position", "concentration", "derived process quantity"]
  value: "Finite numeric measurement or explicitly unavailable"
  unit: "Declared engineering unit with conversion provenance"
  timestamp: "Acquisition time plus clock and latency information"
  quality: ["good", "uncertain", "bad", "stale", "substituted", "simulated", "unknown"]
  mode: ["measured", "estimated", "calculated", "manually substituted", "simulated"]
  transition: "S(t+1) = validate(acquire_or_estimate(S(t), inputs), constraints, provenance)"
  invariant: "Never silently promote bad, stale or substituted data to good measured data"

ENTITIES:
  ProcessVariable:
    fields: ["pv_id", "tag", "description", "quantity_kind", "engineering_unit", "current_value", "timestamp", "quality"]
  MeasurementSource:
    types: ["sensor", "transmitter", "PLC input", "DCS input", "soft sensor", "calculation"]
    fields: ["source_id", "calibration_status", "sample_interval", "signal_range", "diagnostic_status"]
  SignalPath:
    stages: ["sensing", "transduction", "signal conditioning", "conversion", "communication", "scaling", "validation"]
  Setpoint:
    fields: ["target_value", "unit", "effective_time", "permitted_range"]
  ManipulatedVariable:
    fields: ["commanded_output", "actual_output", "saturation", "actuator_state"]
  Controller:
    fields: ["control_mode", "algorithm", "sample_time", "error", "output"]
  QualityRecord:
    fields: ["status", "reason", "timestamp", "source", "operator_override", "expiry"]
  Limit:
    types: ["sensor_range", "engineering_range", "operating_limit", "alarm_limit", "trip_limit"]
    distinction: "Alarm and trip thresholds must not be conflated with physical sensor capability"
  History:
    fields: ["samples", "events", "calibration_changes", "quality_changes", "time_sync_state"]

PATHWAYS:
  P1_measure:
    input: "Physical process quantity x(t)"
    steps: ["transduce", "condition", "sample", "convert", "scale", "timestamp", "assign quality"]
    output: "PV(t), quality(t), uncertainty(t)"
  P2_estimate:
    input: "Validated observations plus an identified estimation model"
    steps: ["check model applicability", "calculate estimate", "propagate uncertainty", "mark estimated"]
    output: "Estimated PV with provenance; never relabel as directly measured"
  P3_compare:
    input: "PV(t), SP(t) with compatible dimensions"
    rule: "e(t) = SP(t) - PV(t) for the declared controller action/sign convention"
    output: "Control error and validity flag"
  P4_control:
    input: "Valid error, controller configuration, actuator constraints"
    steps: ["compute action", "apply limits", "verify interlocks", "issue command", "observe response"]
    output: "Manipulated-variable command and feedback record"
  P5_monitor:
    input: "Time series of PV, quality and operating context"
    steps: ["check freshness", "compare plausible rates", "detect excursions", "record alarms", "retain evidence"]
    output: "Health status and operator-facing events"
  P6_reconcile:
    input: "Independent redundant sensors or model estimate"
    steps: ["align timestamps", "convert units", "compare uncertainties", "test consistency", "flag disagreement"]
    output: "Reconciled evidence with explicit confidence, not an unqualified average"

MEASUREMENT_MODEL:
  ideal: "y(t) = x(t)"
  practical: "y(t) = f(x(t), environment, calibration) + bias(t) + noise(t)"
  scaled_linear: "PV = LRV + ((signal - signal_LRV)/(signal_URV - signal_LRV)) * (URV - LRV)"
  scale_guard: "signal_URV != signal_LRV; apply only when configured mapping is linear"
  measurement_error: "error = indication - reference_value"
  standard_uncertainty: "u_c = sqrt(sum((sensitivity_i * u_i)^2)) only for uncorrelated inputs"
  correlated_uncertainty: "Include covariance terms when input errors are correlated"
  response_lag: "tau * dPV/dt + PV = true_quantity for a justified first-order sensor approximation"
  sampling: "Sampling and filtering can conceal fast transients; validate bandwidth against process dynamics"
  time: "Use source timestamps and clock quality; receipt time is not always measurement time"

MINI_RECURSION_ENGINE:
  initialise: "Load PV identity, source configuration, engineering units, limits and quality policy"
  observe: "Acquire or estimate a candidate PV sample"
  validate: "Check type, finite value, range, freshness, source health and units"
  contextualise: "Compare against recent trend, process state and independent evidence"
  infer: "Classify normal, uncertain, degraded, out-of-range, stale or failed"
  act: "Publish validated PV or explicit invalid status; request safe controller response if required"
  learn: "Update diagnostics from confirmed calibration and maintenance records, never from unverified anomalies alone"
  repeat: "Continue while authorised and operational; preserve full provenance across iterations"

INFERENCE_RULES:
  R01: "IF PV timestamp exceeds freshness limit THEN quality = stale"
  R02: "IF sensor diagnostic reports failure THEN quality = bad regardless of numeric plausibility"
  R03: "IF PV outside calibrated measurement range THEN mark out_of_range; do not imply true process value equals the clipped indication"
  R04: "IF PV and SP units differ THEN convert explicitly or block error calculation"
  R05: "IF SP - PV is computed from invalid PV THEN controller error is invalid"
  R06: "IF PV is manually substituted THEN retain operator identity, reason and expiry"
  R07: "IF multiple sensors disagree beyond combined uncertainty THEN flag inconsistency; investigate common-cause failure"
  R08: "IF abrupt PV change exceeds physically plausible rate THEN flag anomaly, not automatic sensor failure"
  R09: "IF measured PV is constant during known process excitation THEN investigate frozen signal or real process constraint"
  R10: "IF PV crosses an alarm limit THEN generate alarm per configured delay and hysteresis"
  R11: "IF a safety trip depends on PV THEN use the separately engineered safety function and its validated input requirements"
  R12: "IF communication fails THEN do not silently retain the last value as a fresh sample"
  R13: "IF calibration changes THEN version scaling and preserve historical interpretation"
  R14: "IF sensor uncertainty exceeds process tolerance THEN mark unsuitable for the required control or decision task"
  R15: "IF derived PV uses invalid inputs THEN propagate quality and uncertainty to the derived result"

CONFIDENCE:
  evidence_levels:
    high: "Calibrated source, good diagnostics, fresh timestamp, valid range, consistent independent evidence"
    medium: "Valid source with limited corroboration or increased uncertainty"
    low: "Stale, substituted, estimated outside validated domain, or conflicting evidence"
  confidence_rule: "Confidence is not equivalent to measurement accuracy, safety integrity or statistical probability"
  output: ["confidence_level", "quality_reason", "uncertainty", "source_trace"]

SEMANTIC_EQUIVALENCE:
  equivalent_when_context_matches: ["process measurement", "PV", "measured process variable"]
  related_not_equivalent: ["setpoint", "manipulated variable", "controller output", "alarm threshold", "sensor raw signal"]
  distinguish: "A raw 4–20 mA signal represents a PV only after configured scaling and validation"
  unit_examples: ["degC", "bar", "kPa", "m3/h", "percent", "rpm"]
  note: "Different units are convertible only when they describe the same physical quantity and reference basis"

SAFETY_AND_GOVERNANCE:
  fail_safe: "Select safe handling for invalid PV through documented hazard analysis, not a universal fixed output"
  interlocks: "Protect critical actions from invalid, stale or unauthorised process data"
  change_control: "Version tag mapping, scaling, limits, source replacement and controller configuration"
  cybersecurity: "Authenticate authorised changes, protect communications and audit overrides"
  audit: "Record source, timestamps, quality transitions, alarms, overrides and calibration evidence"
  verification: "Bench-test scaling, limit behaviour, stale-data handling and control response before deployment"
  disclaimer: "Ontology and reasoning model; not a substitute for certified safety-system engineering"

FLOW_HASH:
  scheme: "SHA-256 of canonical UTF-8 flow text, excluding the FLOW_HASH value itself"
  value: "compute-on-publication"
  rule: "Recompute after any semantic change; do not treat a placeholder as a digest"

UPDATE_MODEL:
  version: "1.0"
  created: "2026-11-18"
  change_policy: "Increment version for changes to definitions, constraints, pathways or inference rules"
  verification: "Review against the source ontology, instrument documentation and applicable engineering standards"
  provenance: "Maintain backlink, authorship, update date and change log"
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ