Skip to main content

Error Signal 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 "ErrorSignal" v1.0

# Kireth Research — Semantic Library / Engineering / Control System Entities

IDENTITY:
  entity: "Error Signal"
  class: "ControlSystemEntity"
  subtype: "ControlLoopSignal"
  version: "1.0"
  language: "en-GB"
  representation: "Flow Algebra TXT; not JSON"
  definition: "A time-varying difference between a desired reference and a measured or estimated controlled variable, interpreted under an explicit sign convention."

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

SOURCE:
  ontology_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/control-system-entities/error-signal-ontology-2.html"
  source_status: "Original technical representation; source page content not independently verified"
  citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/control-system-entities/error-signal-ontology-2.html"

PURPOSE:
  primary: "Represent, validate, analyse and interpret control error signals."
  secondary: ["setpoint tracking", "feedback regulation", "disturbance detection", "control performance monitoring", "fault diagnosis"]
  exclusion: "An error signal alone does not establish root cause, closed-loop stability or safety."

STATE_MODEL:
  S(t) = (R(t), Y(t), E(t), U(t), M(t), Q(t), T(t), C(t))
  R(t): "Reference/setpoint in engineering units"
  Y(t): "Measured or estimated controlled variable in compatible units"
  E(t): "Error signal under the selected sign convention"
  U(t): "Controller output or manipulated variable"
  M(t): "Control mode: manual | automatic | tracking | hold | inhibited | fault"
  Q(t): "Signal quality: good | uncertain | stale | invalid"
  T(t): "Timestamp, sample interval, synchronisation status"
  C(t): "Constraints: limits, deadband, uncertainty, permitted actions"
  transition: "S(t+dt) = F(S(t), observations, controller, constraints)"
  invariant: "Error must not be treated as valid when reference and feedback are incompatible or untrustworthy."

ENTITIES:
  - Setpoint: "Desired target, possibly scheduled or ramped"
  - ControlledVariable: "Actual process quantity intended to follow the setpoint"
  - FeedbackSignal: "Measurement or state estimate returned from the process"
  - ErrorSignal: "Signed discrepancy between reference and feedback"
  - Comparator: "Operation forming the difference"
  - Controller: "Transforms accepted error and state into control action"
  - Actuator: "Applies constrained command to the physical process"
  - Plant: "System whose response is controlled"
  - Disturbance: "External influence on the process"
  - Sensor: "Measurement device with calibration and uncertainty"
  - SignalFilter: "Noise mitigation with latency and phase implications"
  - SignalValidator: "Checks units, range, timing, freshness and integrity"
  - Alarm: "Indication of excessive or persistent error"
  - SafetyInterlock: "Independent authority to prevent unsafe action"
  - ErrorHistory: "Time-indexed record used for trends and performance metrics"

PATHWAYS:
  reference_path: "Setpoint -> validation -> comparator"
  feedback_path: "Plant -> sensor -> conditioning -> validation -> comparator"
  error_path: "Comparator -> quality gate -> controller -> constrained actuator command"
  physical_path: "Actuator -> plant -> controlled variable -> feedback"
  diagnostic_path: "Error history -> residual analysis -> alert -> human review"
  safety_path: "Safety sensors/interlocks -> protective action independent of ordinary error regulation"
  provenance_path: "Instrument tag -> calibration record -> feedback quality -> error confidence"

MATHEMATICAL_RELATIONS:
  convention: "For negative feedback, e(t) = r(t) - y(t), unless an explicitly documented alternative is used."
  continuous_time: "e(t) = r(t) - y(t)"
  discrete_time: "e[k] = r[k] - y[k]"
  units: "[e] = [r] = [y] after valid conversion"
  tracking_error: "e_track(t) = r(t) - y(t)"
  absolute_error: "|e(t)|"
  relative_error: "e_rel = e / reference_scale; reference_scale must be non-zero and defined"
  integral_absolute_error: "IAE = integral(|e(t)| dt) over an explicitly stated interval"
  integral_squared_error: "ISE = integral(e(t)^2 dt) over an explicitly stated interval"
  time_weighted_error: "ITAE = integral(t |e(t)| dt) with time origin defined"
  steady_state_error: "e_ss = limit of e(t) as t approaches infinity, only if the limit exists"
  measurement_error_propagation: "For independent r and y, u_e = sqrt(u_r^2 + u_y^2); include covariance otherwise"
  covariance_case: "u_e^2 = u_r^2 + u_y^2 - 2 cov(r,y)"
  pid_context: "u(t) = Kp e(t) + Ki integral(e(t) dt) + Kd de(t)/dt, subject to implementation limits"
  anti_windup: "Constrain or back-calculate integral state when actuator saturates"
  sample_alignment: "Compare r and y at a common effective time; account for latency"
  caution: "Derivative action on noisy error can amplify noise; practical implementations may differentiate measurement with filtering."

MINI_RECURSION_ENGINE:
  initialise:
    - "Identify controlled variable, setpoint, units and error sign convention"
    - "Verify sensor calibration, sampling and signal quality"
    - "Load permitted limits, control mode and safe fallback policy"
  observe:
    - "Acquire timestamped reference and feedback"
    - "Reject stale, non-finite or out-of-range inputs"
  compare:
    - "Align timestamps and units"
    - "Compute signed and absolute error"
    - "Propagate measurement uncertainty"
  infer:
    - "Assess persistence, direction, trend, oscillation and deadband"
    - "Distinguish expected transients from sustained discrepancies"
  act:
    - "Pass validated error to controller when automatic mode and interlocks permit"
    - "Apply rate limits, saturation and anti-windup"
  verify:
    - "Compare predicted and observed response"
    - "Detect actuator tracking failures, sensor faults or unexpected disturbances"
  recurse:
    - "Update quality, state estimate, diagnostics and confidence"
    - "Repeat at specified control interval without bypassing safety constraints"

INFERENCE_RULES:
  R01: "IF reference or feedback is invalid THEN error_quality = invalid AND prohibit ordinary automatic action based solely on error."
  R02: "IF units differ AND no verified conversion exists THEN reject comparison."
  R03: "IF feedback timestamp is stale THEN flag stale_error; do not infer a current process deviation."
  R04: "IF |error| <= configured_deadband THEN classify as within deadband, not necessarily exact tracking."
  R05: "IF |error| > warning_threshold for persistence_window THEN raise tracking warning."
  R06: "IF |error| > trip_threshold AND independent protection criteria are met THEN invoke designated safety function."
  R07: "IF actuator output saturates AND error persists THEN assess limited authority and integral windup."
  R08: "IF error oscillates THEN investigate tuning, dead time, sensor noise and process dynamics; do not assume instability."
  R09: "IF setpoint changes abruptly THEN distinguish transient tracking error from steady-state error."
  R10: "IF sensor bias is suspected THEN error may be misleading; request independent measurement or calibration."
  R11: "IF error changes sign repeatedly near target THEN evaluate noise, quantisation and deadband before retuning."
  R12: "IF controller is manual THEN retain error for monitoring but do not claim automatic correction."
  R13: "IF uncertainty exceeds the error magnitude THEN avoid confident claims about the sign of the true deviation."
  R14: "IF safety interlock is active THEN protective state overrides nominal controller output."
  R15: "IF error metrics improve while process limits are breached THEN reject performance as unsafe."

CONFIDENCE:
  evidence: ["sensor calibration", "signal freshness", "unit consistency", "time alignment", "model validity", "independent cross-checks"]
  high: "Traceable measurements, valid synchronisation, bounded uncertainty and verified controller state"
  medium: "Valid measurements with incomplete disturbance or model information"
  low: "Stale, uncalibrated, ambiguous, inconsistent or missing feedback"
  propagation: "Overall confidence cannot exceed the weakest safety-critical input without independent corroboration"
  report: "State assumptions, uncertainty and diagnostic limitations explicitly"

SEMANTIC_EQUIVALENCE:
  canonical: "Error Signal"
  synonyms: ["control error", "tracking error", "setpoint deviation", "reference-minus-feedback signal", "regulation error"]
  qualified_terms: ["deviation signal", "difference signal", "control-loop error"]
  distinctions:
    - "Measurement error is not identical to control error"
    - "Prediction residual is not automatically the same as setpoint error"
    - "Fault indication is not equivalent to a non-zero error"
    - "Steady-state error differs from transient error"
    - "Signed error differs from absolute error"

SAFETY_AND_VALIDATION:
  - "Never disable independent emergency stops or safety instrumented functions to reduce control error."
  - "Validate operating ranges, actuator limits and permitted setpoint changes."
  - "Use qualified engineering review for safety-critical tuning or automatic interventions."
  - "Account for sensor failure, communications loss and controller restart states."
  - "Log setpoint, feedback, computed error, units, quality, timestamp and active mode."
  - "Treat missing data as unknown rather than zero error."
  - "Use application-specific thresholds rather than universal numerical defaults."

FLOW_HASH:
  algorithm: "SHA-256"
  scope: "Canonical UTF-8 Flow Algebra content excluding the mutable digest field"
  value: "Compute during publishing; no fabricated digest"

UPDATE_MODEL:
  triggers: ["ontology revision", "controller design change", "sensor replacement", "calibration change", "new failure evidence", "safety review"]
  method: "Version changes; preserve provenance and previous records"
  verification: "Check semantic compatibility, units, rule consistency and safety invariants"
  release_status: "Original draft for research and engineering review"

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