Skip to main content

Feedback 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 "FeedbackLoopEntity" v1.0

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

IDENTITY:
  id: "engineering.control.feedback_loop_entity"
  label: "Feedback Loop Entity"
  category: "Control System Entity"
  definition: "A closed signal and causal path in which measured system output is compared with a reference and used to modify control action."
  scope: ["continuous control", "discrete-time control", "industrial automation", "mechatronics"]

AUTHORS:
  research: "Kireth Research"
  collaboration: "Sky — Recursive AI"
  licence_note: "Refer to the current Kireth Research Open Research Licence; retain source attribution."

SOURCE:
  ontology: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/control-system-entities/feedback-loop-entity-ontology.html"
  citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/control-system-entities/feedback-loop-entity-ontology.html"
  source_status: "User-supplied URL; live ontology not independently verified"
  representation: "Newly constructed, not a verbatim extraction"

PURPOSE:
  primary: "Represent feedback-loop structure, behaviour, verification and failure handling in a machine-readable semantic flow."
  questions: ["What is controlled?", "How is it measured?", "What command is applied?", "Is the loop stable and safe?", "Which fault explains the observed deviation?"]
  outputs: ["loop graph", "state estimate", "tracking error", "control command", "diagnostic assessment", "confidence score"]

STATE_MODEL:
  state: S_t = (r_t, y_t, yhat_t, e_t, u_t, x_t, d_t, n_t, q_t, m_t, h_t)
  variables:
    r_t: "reference/setpoint with units"
    y_t: "measured controlled variable"
    yhat_t: "estimated or filtered output"
    e_t: "tracking error, r_t - yhat_t for negative feedback"
    u_t: "applied control effort after constraints"
    x_t: "plant internal state vector"
    d_t: "external disturbance"
    n_t: "measurement noise"
    q_t: "measurement and communication quality"
    m_t: "mode: disabled, manual, automatic, degraded, faulted, safe"
    h_t: "health indicators and fault history"
  transitions:
    disabled_to_auto: "requires commissioned sensors, valid command path and authorised enable"
    auto_to_degraded: "measurement quality loss, saturation or reduced actuator authority"
    auto_to_faulted: "unrecoverable feedback mismatch, watchdog timeout or unsafe excursion"
    faulted_to_safe: "apply engineered safe action, not a universal zero-output assumption"
    safe_to_auto: "requires verified cause removal and authorised reset"

ENTITIES:
  - id: "reference"; type: "Setpoint"; role: "desired controlled-variable value"
  - id: "comparator"; type: "ErrorCalculator"; role: "compare reference with feedback"
  - id: "controller"; type: "ControlLaw"; role: "compute control action"
  - id: "actuator"; type: "FinalControlElement"; role: "apply command to plant"
  - id: "plant"; type: "DynamicProcess"; role: "transform input and disturbance into output"
  - id: "sensor"; type: "MeasurementDevice"; role: "observe process output"
  - id: "feedback_path"; type: "SignalChannel"; role: "return observation to controller"
  - id: "disturbance"; type: "ExternalInfluence"; role: "alter process independently of command"
  - id: "constraint"; type: "OperatingLimit"; role: "restrict output, rate, temperature and travel"
  - id: "interlock"; type: "SafetyFunction"; role: "prevent or terminate unsafe action"
  - id: "diagnostic"; type: "HealthMonitor"; role: "evaluate consistency, quality and latency"

PATHWAYS:
  normal_feedback:
    reference -> comparator -> controller -> actuator -> plant -> sensor -> feedback_path -> comparator
  disturbance_rejection:
    disturbance -> plant -> sensor -> comparator -> controller -> actuator -> plant
  validation:
    sensor -> quality_check -> estimator -> comparator
  command_protection:
    controller -> limits -> interlock -> actuator
  diagnostic:
    command_history + sensor_history + plant_model -> residuals -> fault_hypotheses -> operator_review
  safe_transition:
    unsafe_condition -> protective_logic -> defined_safe_state -> acknowledgement -> authorised_recovery

DYNAMICS:
  continuous_plant: "dx/dt = A*x + B*u + E*d; y = C*x + D*u + n, where a linear model is justified"
  discrete_plant: "x[k+1] = Ad*x[k] + Bd*u[k] + Ed*d[k]"
  negative_feedback_error: "e(t) = r(t) - yhat(t)"
  loop_transfer: "L(s) = C(s)*P(s)*H(s) for a compatible linear time-invariant representation"
  closed_loop_reference_transfer: "T(s) = C(s)*P(s)/(1 + C(s)*P(s)*H(s)) for standard negative feedback"
  sensitivity: "S(s) = 1/(1 + L(s))"
  complementary_sensitivity: "T_loop(s) = L(s)/(1 + L(s)); S(s) + T_loop(s) = 1"
  pid_example: "u_raw(t) = Kp*e(t) + Ki*integral(e(t)dt) + Kd*de_filtered(t)/dt"
  actuator_limit: "u(t) = clamp(u_raw(t), u_min, u_max) with rate limits where applicable"
  sample_constraint: "sampling interval and end-to-end delay must be assessed against plant dynamics"
  assumptions: "Transfer-function equalities assume compatible dimensions, linearity and stated loop topology."

MINI_RECURSION_ENGINE:
  input: "reference, measurements, actuator status, model, limits, event history"
  expand: "Enumerate plausible loop states, disturbances and fault causes."
  evaluate: "Compare candidates against residuals, timing, operating limits and measured response."
  filter: "Discard candidates violating known physics, signal units or safety requirements."
  select: "Rank remaining explanations by evidence quality and consistency."
  update: "Refine state estimate and diagnostics; preserve previous evidence."
  terminate: "Stop on stable explanation, insufficient evidence or safety-critical exception."
  recurrence: "I_(t+1) = Update(I_t, observations, validated_inference, constraints)"

INFERENCE_RULES:
  - "IF feedback signal is missing THEN mark loop unobservable and prohibit unsupported automatic inference."
  - "IF |r-yhat| exceeds permitted tracking error for a defined duration THEN flag tracking anomaly."
  - "IF command saturates while error persists THEN assess capacity limits and integral windup."
  - "IF output oscillates with growing amplitude THEN investigate instability, delay and gain settings."
  - "IF command changes but measured output remains constant THEN examine actuator, sensor and mechanical linkage."
  - "IF measured output changes without corresponding command THEN examine disturbances, leakage and sensor faults."
  - "IF sensor value is stale or out of range THEN reduce confidence and invoke configured fallback."
  - "IF feedback polarity is reversed THEN treat positive-feedback risk as a commissioning fault."
  - "IF communication delay increases THEN re-evaluate stability margin and control timing."
  - "IF protective interlock is active THEN it overrides ordinary control optimisation."
  - "IF redundant sensors disagree THEN preserve disagreement and request independent verification."
  - "IF manual mode is active THEN distinguish operator commands from automatic controller outputs."

VERIFICATION:
  structure: ["unique signal identifiers", "documented loop direction", "consistent physical units", "valid sensor-to-actuator mapping"]
  performance: ["tracking error", "settling time", "overshoot", "disturbance rejection", "steady-state error"]
  robustness: ["gain and phase margins where applicable", "delay sensitivity", "noise amplification", "actuator saturation"]
  safety: ["safe-state definition", "interlock independence", "fault-response testing", "authorised restart"]
  evidence: ["commissioning test", "trend capture", "calibration record", "software revision", "alarm log"]

CONFIDENCE:
  dimensions: ["measurement integrity", "model validity", "timestamp quality", "diagnostic agreement", "operating-envelope coverage"]
  high: "Calibrated observations, validated model and repeated consistent tests"
  medium: "Partial observations or limited model validation"
  low: "Missing feedback, uncertain topology, inconsistent units or unverified assumptions"
  policy: "Never infer a safety-certified state solely from model confidence."

SEMANTIC_EQUIVALENCE:
  preferred: "Feedback Loop Entity"
  related: ["closed-loop control", "control loop", "negative feedback loop", "regulation loop", "servo loop"]
  distinctions:
    "feedback loop != open-loop control"
    "measurement feedback != safety interlock"
    "controller != plant"
    "setpoint != measured process value"
    "closed-loop stability != guaranteed safety"

FLOW_HASH:
  method: "SHA-256 of canonical UTF-8 flow text after normalisation; calculate at publication"
  value: "UNCOMPUTED"
  rule: "Do not assert a digest before canonicalisation and hashing."

UPDATE_MODEL:
  version: "1.0"
  review_triggers: ["ontology revision", "new control topology", "fault evidence", "model revalidation", "safety requirement change"]
  preserve: ["citation backlink", "prior versions", "test evidence", "engineering assumptions"]
  publication_state: "Draft semantic representation for technical review"
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ