Skip to main content

Pressure Controller Ontology

Valve and Flow-Control Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 16 November 2026
Audio Overview
FLOW ALGEBRA — PRESSURE CONTROLLER ONTOLOGY
Version: 1.1
Date: 2026-11-16
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/valve-and-flow-control-entities/pressure-controller-ontology.html
Status: Original interpretative flow, not a verbatim extraction of embedded page code.
Licence: Refer to the source's published licence for reuse conditions.

flow "PressureControllerOntology" v1.1

# ---------- PURPOSE ----------
PURPOSE:
  Represent a pressure controller as a feedback-based engineering entity that
  measures pressure, compares it with a setpoint, and commands a final control
  element to regulate the process within defined operating and safety limits.

# ---------- ENTITY IDENTITY ----------
ENTITY:
  id: engineering.valve_flow_control.pressure_controller
  name: Pressure Controller
  parent: Control System Component
  domain: Fluid Engineering / Valve and Flow-Control Entities
  function: Maintain or track a specified pressure under changing disturbances.
  distinguishes_from:
    - Pressure Sensor: measures pressure without necessarily controlling it
    - Pressure Regulating Valve: final or self-acting regulating device
    - Pressure Relief Valve: protective overpressure device, not routine controller

# ---------- STATE MODEL ----------
STATE_MODEL:
  S(t) = (I(t), R, B, K)
  I(t) = {
    pressure_measured,
    pressure_setpoint,
    pressure_error,
    controller_output,
    actuator_position,
    upstream_pressure,
    downstream_pressure,
    flow_rate,
    control_mode,
    sensor_health,
    actuator_health,
    alarm_state
  }
  R = {measurement, comparison, feedback, actuation, constraint_check}
  B = {pressure_limits, actuator_limits, response_limits, safety_boundaries}
  K = {equipment_data, control_configuration, calibration, operating_context}

# ---------- ENTITIES AND RELATIONS ----------
ENTITIES:
  PressureController -> receives -> PressureMeasurement
  PressureController -> receives -> PressureSetpoint
  PressureController -> calculates -> PressureError
  PressureController -> issues -> ControlCommand
  ControlCommand -> drives -> ValveActuator
  ValveActuator -> positions -> ControlValve
  ControlValve -> influences -> ProcessPressure
  PressureSensor -> measures -> ProcessPressure
  PressureController -> monitors -> SensorHealth
  PressureController -> observes -> OperatingLimits
  IndependentSafetySystem -> protects -> PressureBoundary

# ---------- CONTROL PATHWAYS ----------
PATHWAYS:
  observe:
    PressureSensor -> PressureMeasurement -> PressureController
  compare:
    PressureSetpoint + PressureMeasurement -> PressureError
  regulate:
    PressureError -> ControlLaw -> ControlCommand -> Actuator -> Valve
  feedback:
    Valve -> ProcessPressure -> PressureSensor -> PressureController
  fault:
    SensorFault | ActuatorFault | LimitViolation -> Alarm -> DefinedFallback

# ---------- FLOW ALGEBRA TRANSITIONS ----------
TRANSITIONS:
  E(t) = Setpoint(t) - Measurement(t)
  U_raw(t) = ControlLaw(E(t), History(t), K)
  U(t) = Clamp(U_raw(t), ActuatorMinimum, ActuatorMaximum)
  Process(t+1) = PlantTransition(Process(t), U(t), Disturbance(t))
  I(t+1) = Observe(Process(t+1), SensorState(t+1))
  S(t+1) = Update(S(t), I(t+1), R, B, K)

  # Controller action must be configured for the actual process and valve action.
  # The sign of valve movement is not universally inferred from pressure error.

# ---------- PHYSICAL AND OPERATIONAL CONSTRAINTS ----------
CONSTRAINTS:
  - pressure measurements must use consistent units and reference bases
  - setpoint must lie within authorised process operating bounds
  - controller output must remain within configured actuator limits
  - sensor loss or implausible readings must not be treated as valid feedback
  - actuator saturation must be detected; integral wind-up should be prevented
  - unstable oscillation or persistent pressure deviation triggers diagnostics
  - pressure control does not replace independent overpressure protection
  - fallback action depends on documented hazard analysis and equipment design

# ---------- INFERENCE RULES ----------
INFERENCE_RULES:
  rule R1:
    IF sensor_healthy AND mode == AUTO AND abs(error) <= tolerance
    THEN infer pressure_tracking = acceptable

  rule R2:
    IF sensor_healthy AND mode == AUTO AND abs(error) > tolerance
       AND deviation_duration > allowed_duration
    THEN infer pressure_tracking = degraded

  rule R3:
    IF output_at_limit AND abs(error) > tolerance
    THEN infer actuator_saturation_or_capacity_limit = possible

  rule R4:
    IF measurement_invalid OR sensor_health == FAILED
    THEN inhibit_unverified_feedback AND request_defined_fallback

  rule R5:
    IF sustained_oscillation_detected
    THEN infer tuning_or_process_interaction_issue = possible

  rule R6:
    IF pressure_exceeds_authorised_limit
    THEN request_alarm AND defer_protection_to_independent_safety_function

# ---------- MINI RECURSION ENGINE ----------
MINI_RECURSION_ENGINE:
  input: CurrentState + Observations + Setpoint + Constraints
  expand: CandidateControlActions = Expand(CurrentState, R)
  filter: ValidActions = Filter(CandidateControlActions, B)
  rank: PreferredAction = ArgMax(ValidActions, K, tracking_quality, stability)
  execute: Apply(PreferredAction) only if mode and interlocks permit
  observe: NewState = MeasureAndUpdate()
  recurse: Repeat until stop condition, fault, or manual takeover
  stop_conditions:
    - controller_disabled
    - critical_sensor_failure
    - unsafe_state
    - operator_shutdown

# ---------- SEMANTIC EQUIVALENCE ----------
SEMANTIC_EQUIVALENCE:
  Pressure Controller ~= Pressure Control Regulator [context-dependent]
  Pressure Control Loop = Controller + Sensor + Actuator + Process
  Pressure Setpoint != Measured Pressure
  Pressure Controller != Pressure Relief Valve
  Automatic Pressure Control != Independent Safety Protection

# ---------- VALIDATION ----------
VALIDATION:
  V1: every control loop must identify its measured pressure variable
  V2: setpoint, measured value, and limits must have compatible units
  V3: actuator command and fail action must be explicitly defined
  V4: feedback requires a healthy measurement path
  V5: control response must be assessed for stability and saturation
  V6: safety-critical limits require separately validated protection

# ---------- CONFIDENCE AND PROVENANCE ----------
CONFIDENCE:
  ontology_scope: conceptual
  physical_equations: illustrative state transitions, not a validated plant model
  implementation_status: requires equipment-specific engineering verification

UPDATE_MODEL:
  review_on: revised control configuration, new sensor type, new actuator,
             changed safety boundaries, or updated source ontology

CITATION_BACKLINK:
  https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/valve-and-flow-control-entities/pressure-controller-ontology.html

END FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ