Skip to main content

Control Loop Entity 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 "ControlLoopEntity" v1.0

# Kireth Research — Semantic Library / Engineering Entity Graph
# Original semantic Flow Algebra representation; source page not independently verified.

IDENTITY:
  id: "engineering.control_system.control_loop_entity"
  label: "Control Loop Entity"
  category: "Control System Entities"
  type: "EngineeringControlStructure"
  version: "1.0"
  language: "en-GB"

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

SOURCE:
  canonical: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/control-system-entities/control-loop-entity-ontology.html"
  citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/control-system-entities/control-loop-entity-ontology.html"
  derivation: "Original technical synthesis, not a verified extraction of the webpage"

PURPOSE:
  definition: "A control loop coordinates measurement, comparison, control computation and actuation to regulate a process variable relative to a reference."
  goals: ["Represent control-loop topology", "Track dynamic state", "Validate measurements and commands", "Reason about performance and faults", "Preserve safety constraints"]
  scope: ["Continuous control", "Discrete-time control", "Industrial process control", "Motion control", "Supervisory integration"]

STATE_MODEL:
  state S_t: (I_t, R_t, B_t, K_t)
  I_t: "Measurements, setpoint, control output, actuator feedback, disturbances and event history at time t"
  R_t: "Control laws, physical models, communication links and engineering constraints"
  B_t: "Operating limits, interlocks, permissions, saturation bounds and safety barriers"
  K_t: "Known plant parameters, controller settings, calibration status, topology and uncertainty"
  operational_states: ["unconfigured", "commissioning", "manual", "automatic", "tracking", "saturated", "degraded", "faulted", "safe_state", "isolated"]
  transition: "S_(t+1) = Update(S_t, observation_t, command_t, diagnostics_t)"
  recursion: "E_t = Expand(I_t, R_t); V_t = Filter(E_t, B_t); a_t = argmax_(a in V_t) P(a | I_t, R_t, B_t, K_t)"
  invariant: "No inferred command may override an independently engineered safety interlock"

ENTITIES:
  ControlLoop:
    attributes: ["loop_id", "control_objective", "mode", "sample_period", "status", "owner", "criticality"]
  ControlledProcess:
    attributes: ["process_id", "transfer_function", "state_space_model", "dead_time", "disturbance_inputs"]
  Setpoint:
    attributes: ["reference_value", "units", "source", "authorisation", "effective_time", "ramp_rate"]
  ProcessVariable:
    attributes: ["measured_value", "engineering_units", "timestamp", "quality", "uncertainty"]
  Sensor:
    attributes: ["tag", "range", "calibration", "response_time", "diagnostic_status"]
  Controller:
    attributes: ["control_law", "gain", "integral_time", "derivative_time", "output_limits", "anti_windup"]
  Actuator:
    attributes: ["command", "actual_position", "slew_rate", "saturation", "fail_position"]
  Comparator:
    attributes: ["error", "sign_convention", "reference", "feedback"]
  Disturbance:
    attributes: ["source", "amplitude", "frequency", "time"]
  FeedbackPath:
    attributes: ["sensor_chain", "filtering", "delay", "validity"]
  SafetyInterlock:
    attributes: ["trip_condition", "independent_channel", "safe_action", "reset_authority"]
  DiagnosticEvent:
    attributes: ["event_id", "severity", "evidence", "timestamp", "acknowledgement"]

RELATIONSHIPS:
  - "ControlLoop HAS Setpoint"
  - "ControlLoop OBSERVES ProcessVariable"
  - "Sensor MEASURES ControlledProcess"
  - "Comparator COMPARES Setpoint WITH ProcessVariable"
  - "Controller COMPUTES ActuatorCommand FROM Error"
  - "Actuator INFLUENCES ControlledProcess"
  - "ControlledProcess RESPONDS_TO Disturbance"
  - "FeedbackPath RETURNS Measurement TO Controller"
  - "SafetyInterlock OVERRIDES ControlLoop WHEN TripCondition"
  - "DiagnosticEvent DESCRIBES ControlLoopState"

CONTROL_LAWS:
  negative_feedback:
    error: "e(t) = r(t) - y(t), with explicit sign convention"
    control_action: "u(t) = C[e(t)]"
    plant_response: "y(t) = G[u(t), d(t)]"
    closed_loop_transfer: "T(s) = C(s)G(s) / (1 + C(s)G(s)H(s)) for standard negative-feedback SISO topology"
    sensitivity: "S(s) = 1 / (1 + C(s)G(s)H(s))"
  pid_ideal_parallel:
    formula: "u(t) = Kp*e(t) + Ki*integral(e(t)dt) + Kd*de(t)/dt"
    qualification: "Real controllers commonly use derivative filtering, anti-windup and bounded outputs"
  sampled_control:
    cycle: ["sample", "validate", "compute_error", "calculate_control", "limit_output", "apply", "verify_feedback"]
    constraints: ["sample_period_appropriate_to_dynamics", "bounded_jitter", "fresh_measurements", "watchdog_active"]
  physical_limits:
    - "u_min <= u(t) <= u_max"
    - "|du/dt| <= configured_slew_limit when applicable"
    - "process variable and actuator remain within engineered operating envelope"

PATHWAYS:
  configure:
    input: ["loop_design", "plant_model", "instrument_tags", "control_objective", "limits"]
    steps: ["validate_topology", "confirm_units", "verify_control_direction", "set_modes", "commission_safeguards"]
    output: "validated_configuration"
  operate:
    input: ["setpoint", "measurement", "controller_state", "actuator_feedback"]
    steps: ["check_quality", "compute_error", "apply_control_law", "enforce_limits", "issue_command", "observe_response"]
    output: "updated_loop_state"
  tune:
    input: ["response_data", "plant_constraints", "performance_targets"]
    steps: ["identify_dynamics", "estimate_dead_time", "propose_gains", "simulate", "check_robustness", "authorise_change"]
    output: "reviewed_controller_parameters"
  diagnose:
    input: ["setpoint_history", "measurement_history", "output_history", "alarm_history"]
    steps: ["check_sensor", "check_actuator", "check_direction", "assess_saturation", "assess_oscillation", "identify_candidate_faults"]
    output: "ranked_diagnostic_hypotheses"
  protect:
    input: ["interlock_status", "critical_alarms", "permissives"]
    steps: ["detect_trip", "inhibit_unsafe_commands", "execute_engineered_safe_action", "log_event", "require_authorised_reset"]
    output: "safe_state_or_protected_operation"

MINI_RECURSION_ENGINE:
  loop "ControlLoopReasoning":
    observe: "Acquire current PV, SP, output, actuator feedback, timestamp and quality"
    expand: "Generate control and fault hypotheses using known loop relationships"
    validate: "Reject stale, inconsistent, unsafe or uncalibrated evidence"
    infer: "Estimate deviation, control performance, disturbance and fault likelihood"
    constrain: "Apply operating limits, authority boundaries and independent safety functions"
    act: "Recommend or issue only permitted controller action"
    verify: "Compare expected and observed response after settling and transport delays"
    update: "Record results, uncertainty, alarms and configuration revision"
    terminate_if: ["unsafe_state", "invalid_measurement", "interlock_trip", "operator_stop"]

INFERENCE_RULES:
  - if: "measurement_quality == bad OR measurement_age > permitted_age"
    then: "mark_feedback_invalid; enter_engineered_fallback; do_not_treat_PV_as_reliable"
  - if: "abs(setpoint - process_variable) > tracking_tolerance for dwell_time"
    then: "raise_persistent_control_error; inspect_disturbance_and_actuator"
  - if: "controller_output_at_limit AND persistent_error"
    then: "infer_possible_saturation_or_insufficient_actuator_authority"
  - if: "output_changes AND actuator_feedback_does_not_change"
    then: "infer_possible_actuator_stiction_disconnection_or_failure"
  - if: "PV_oscillates AND controller_output_oscillates"
    then: "evaluate_tuning_delay_noise_and_mechanical_cycling"
  - if: "control_direction_wrong"
    then: "inhibit_automatic_control_until_verified"
  - if: "interlock_trip == true"
    then: "execute_independent_protective_action; inhibit_automatic_restart"
  - if: "setpoint_change_requested AND authorisation_missing"
    then: "reject_setpoint_change_and_log_attempt"
  - if: "manual_to_auto_transition"
    then: "apply_bumpless_transfer_where_supported_and_validated"
  - if: "loop_model_uncertainty_high"
    then: "decrease_recommendation_confidence; require_test_or_engineer_review"

PERFORMANCE_METRICS:
  tracking: ["steady_state_error", "rise_time", "settling_time", "overshoot", "IAE", "ISE"]
  robustness: ["gain_margin", "phase_margin", "disturbance_rejection", "sensitivity_peak"]
  operational: ["saturation_fraction", "actuator_travel", "alarm_rate", "measurement_availability"]
  quality: ["calibration_validity", "signal_age", "noise", "uncertainty", "data_completeness"]
  note: "Performance targets must be selected for the actual plant; no universal safe numerical limits are assumed"

CONFIDENCE:
  evidence_sources: ["commissioning_tests", "calibration_records", "trend_data", "plant_model", "operator_observations"]
  model: "confidence = weighted_consistency(evidence_quality, model_fit, repeatability, recency)"
  levels: ["low", "moderate", "high"]
  constraints: ["missing_evidence_reduces_confidence", "correlated_evidence_not_counted_twice", "confidence_is_not_safety_certification"]

SEMANTIC_EQUIVALENCE:
  preferred: "Control Loop"
  equivalents: ["Regulatory Control Loop", "Process Control Loop", "Closed-Loop Control Circuit when feedback exists"]
  distinct_from: ["Feedback Path", "Controller", "Instrument Loop", "Open-Loop Command Chain"]
  relation_note: "An instrument loop describes instrumentation connections; a control loop describes the regulation function and may include several instrument loops"

SAFETY_AND_GOVERNANCE:
  - "Safety instrumented functions remain independent of ordinary control logic where required by design"
  - "Engineering validation and hazard analysis precede commissioning or tuning changes"
  - "Loss of communication, power or feedback uses a documented, tested fallback"
  - "Manual override requires defined authority, audit logging and safe procedures"
  - "Controller recommendations are not substitutes for site-specific safety engineering"
  - "Protect personnel and equipment during testing, maintenance and restart"

FLOW_HASH:
  algorithm: "SHA-256"
  input: "Canonicalised flow content excluding the FLOW_HASH value"
  value: "compute_on_publication"

UPDATE_MODEL:
  revision: "1.0"
  date: "2026-11-18"
  triggers: ["ontology_revision", "new_control_topology", "revised_safety_constraint", "validated_engineering_evidence", "fault_taxonomy_update"]
  process: ["record_change", "validate_semantics", "review_safety", "recompute_hash", "publish_with_citation"]
  backwards_compatibility: "Retain stable entity IDs and document changes to inference rules"

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