Skip to main content

Safety Interlock Ontology

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

# Kireth Research — Semantic Library / Engineering / Automation Entities
# Original semantic Flow Algebra model; source page content not independently verified.

IDENTITY:
  entity: "Safety Interlock"
  class: "Protective Automation Function"
  parent: "Automation Interlock"
  domain: ["Functional Safety", "Industrial Automation", "Machine Safety", "Process Safety"]
  definition: "A protective function that inhibits, interrupts, or constrains hazardous operation when defined safety conditions are not satisfied."
  distinction: "An operational permissive improves sequencing; a safety interlock is justified by a hazard and required risk reduction."

AUTHORS:
  originator: "Kireth Research"
  collaborator: "Sky — Recursive AI"
  licence: "Open Research Licence — attribution and citation required"

SOURCE:
  canonical: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/automation-entities/safety-interlock-ontology.html"
  source_status: "User-supplied reference; live page not verified"
  citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/automation-entities/safety-interlock-ontology.html"
  model_status: "Original, general-purpose semantic representation; not a certified design"

PURPOSE:
  primary: "Represent safety interlocks, their guards, protective actions, validation and recovery."
  goals:
    - "Prevent hazardous commands when protection is not satisfied"
    - "Detect invalid, stale or contradictory safety inputs"
    - "Drive a defined safe state on a demand or diagnosed fault"
    - "Require deliberate, authorised reset and independent restart permission"
    - "Maintain traceable evidence from hazard to test result"
  exclusions:
    - "Do not claim a particular SIL, PL or regulatory compliance without assessment"
    - "Do not treat a software rule alone as sufficient for every hazardous application"

STATE_MODEL:
  S_t: (I_t, R_t, B_t, K_t)
  I_t:
    guard_inputs: "Interlock input states and timestamps"
    diagnostic_inputs: "Sensor, wiring, controller and output diagnostics"
    requested_action: "Command requesting potentially hazardous operation"
    reset_request: "Authorised operator reset request"
    feedback: "Observed actuator, contactor and process states"
  R_t:
    safety_requirements: "Hazard-derived protective requirements"
    interlock_logic: "Approved Boolean and temporal guard conditions"
    diagnostic_rules: "Discrepancy, timeout, plausibility and proof-test rules"
    restart_policy: "Reset and restart are distinct actions"
  B_t:
    safe_state: "Application-specific state established by risk assessment"
    permitted_operating_envelope: "Documented limits and conditions"
    response_time_limit: "Maximum allowable protective reaction time"
    authority_boundary: "Only authorised maintenance may modify safety logic"
    bypass_boundary: "Bypass only through separately assessed, controlled procedure"
  K_t:
    hazard_register: "Hazards, severity and risk-reduction requirements"
    safety_function_specification: "Trigger, response, timing, reset and diagnostics"
    configuration_baseline: "Approved hardware and software versions"
    validation_records: "Inspection, test and maintenance evidence"
  operating_states:
    - "UNCOMMISSIONED"
    - "READY"
    - "RUNNING"
    - "DEMAND_DETECTED"
    - "TRIPPED"
    - "FAULT_LATCHED"
    - "RESET_ELIGIBLE"
    - "MAINTENANCE_ISOLATED"
  transitions:
    - "UNCOMMISSIONED -> READY only after validated commissioning"
    - "READY -> RUNNING only if all safety guards and separate start conditions hold"
    - "RUNNING -> DEMAND_DETECTED when any protective condition fails"
    - "DEMAND_DETECTED -> TRIPPED through required protective action"
    - "ANY_ACTIVE -> FAULT_LATCHED on safety-channel fault requiring lockout"
    - "TRIPPED -> RESET_ELIGIBLE only when hazard cleared and diagnostics pass"
    - "RESET_ELIGIBLE -> READY on authorised deliberate reset; never auto-start"

ENTITIES:
  SafetyInterlock:
    attributes: ["interlock_id", "hazard_id", "protected_equipment", "safety_function_id", "status", "integrity_requirement"]
  SafetyInput:
    types: ["Guard Switch", "Emergency Stop", "Light Curtain", "Pressure Switch", "Speed Monitor", "Temperature Limit"]
    attributes: ["channel_id", "value", "validity", "timestamp", "diagnostic_status"]
  SafetyLogic:
    attributes: ["guard_expression", "voting_rule", "discrepancy_timer", "latched_trip"]
  ProtectiveOutput:
    types: ["Safe Torque Off", "Contactor De-energisation", "Valve Closure", "Brake Engagement", "Energy Isolation"]
    attributes: ["commanded_state", "verified_state", "reaction_time"]
  ResetControl:
    attributes: ["authorised_identity", "manual_action", "reset_location", "visibility_of_hazard_zone"]
  SafetyEvidence:
    attributes: ["risk_assessment", "requirements", "proof_test", "change_log", "validation_result"]
  relationships:
    - "SafetyInterlock PROTECTS ProtectedEquipment"
    - "SafetyInterlock MITIGATES Hazard"
    - "SafetyInput FEEDS SafetyLogic"
    - "SafetyLogic COMMANDS ProtectiveOutput"
    - "ProtectiveOutput ENFORCES SafeState"
    - "SafetyEvidence JUSTIFIES SafetyInterlock"

PATHWAYS:
  demand_detection:
    1: "Acquire and time-stamp all safety-channel observations"
    2: "Validate channel freshness, health and mutual consistency"
    3: "Evaluate approved protective guards"
    4: "Latch demand or diagnostic failure where specified"
    5: "Command defined protective output independently of normal process commands"
    6: "Verify protective response using suitable feedback"
    7: "Record event, reason, timing and diagnostic evidence"
  safe_start:
    1: "Confirm protective device integrity and required guard closure"
    2: "Confirm no latched faults and valid configuration"
    3: "Confirm reset was intentional and authorised"
    4: "Require a distinct start command after reset"
    5: "Permit operation only while all protective conditions remain valid"
  diagnostic_fault:
    1: "Detect stale, missing, inconsistent or implausible safety signals"
    2: "Determine specified response from safety requirements"
    3: "Inhibit hazardous operation and enter defined safe state as required"
    4: "Latch fault and request competent inspection"
    5: "Allow return only after fault correction and required verification"
  maintenance:
    1: "Authorise work and isolate hazardous energy by approved procedure"
    2: "Verify isolation and prevention of unexpected start-up"
    3: "Inspect or replace failed safety components"
    4: "Conduct required functional and proof tests"
    5: "Record test evidence and configuration changes"
    6: "Restore service through controlled recommissioning"

MINI_RECURSION_ENGINE:
  expansion: "E_t = expand(I_t, R_t)"
  validity_filter: "V_t = {x in E_t | satisfies(x, B_t)}"
  selection: "a_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)"
  hard_priority: "Protective safety action overrides production optimisation"
  update: "I_(t+1) = update(I_t, observations, protective_feedback, a_t)"
  iterate_until:
    - "A verified safe state is reached"
    - "An authorised reset restores READY without initiating motion"
    - "A diagnosed fault requires maintenance or escalation"
  recursion_limit: "Never retry hazardous actuation automatically to overcome an interlock"

INFERENCE_RULES:
  - id: "SI-001"
    if: "required_guard == FALSE"
    then: "inhibit_hazardous_start AND request_protective_action"
  - id: "SI-002"
    if: "safety_input_validity != VALID"
    then: "apply_specified_fault_response; do_not_assume_safe_input"
  - id: "SI-003"
    if: "protective_demand == TRUE AND output_feedback != expected_safe_state after allowed_time"
    then: "raise_critical_fault AND escalate_protective_response"
  - id: "SI-004"
    if: "trip_latched == TRUE AND reset_request == FALSE"
    then: "remain_tripped"
  - id: "SI-005"
    if: "reset_request == TRUE AND guards_valid == TRUE AND diagnostics_pass == TRUE AND authorised == TRUE"
    then: "clear_eligible_latch; require_separate_start"
  - id: "SI-006"
    if: "reset_request == TRUE AND hazardous_condition_present == TRUE"
    then: "deny_reset"
  - id: "SI-007"
    if: "safety_channel_discrepancy_duration > specified_limit"
    then: "diagnose_channel_fault AND apply_specified_safe_response"
  - id: "SI-008"
    if: "safety_logic_modified == TRUE"
    then: "invalidate_previous_validation_until_retested"
  - id: "SI-009"
    if: "bypass_requested == TRUE AND approved_bypass_procedure_missing == TRUE"
    then: "deny_bypass AND record_attempt"
  - id: "SI-010"
    if: "proof_test_overdue == TRUE"
    then: "flag_integrity_review AND apply_site_approved_operational_restrictions"
  - id: "SI-011"
    if: "loss_of_power == TRUE"
    then: "transition_according_to_documented_deenergised_safe_design"
  - id: "SI-012"
    if: "protective_action_complete == TRUE"
    then: "verify_no_unexpected_restart AND preserve_event_trace"

SAFETY_AND_VALIDATION:
  hazard_basis: "Risk assessment determines the necessary safety function and safe state"
  engineering_review: "Assess architecture, common-cause failures, diagnostics and response times"
  verification: "Trace each requirement to design evidence and a test"
  validation: "Test demands, wiring faults, loss of power, restart and foreseeable misuse"
  standards_context: ["IEC 61508", "IEC 61511 where applicable", "ISO 13849-1 where applicable", "IEC 62061 where applicable"]
  standards_note: "Applicability and compliance must be determined by competent professionals"
  forbidden_assumptions:
    - "An emergency stop is not a substitute for hazardous-energy isolation during maintenance"
    - "A normal PLC command is not inherently a safety-rated function"
    - "A reset command must not itself restart hazardous movement"
    - "No safety integrity claim may be inferred from this ontology alone"

CONFIDENCE:
  conceptual_definition: 0.97
  generic_relationships: 0.94
  application_specific_design: "UNASSESSED"
  safety_integrity_rating: "NOT_ASSIGNED"
  confidence_policy: "Numerical confidence is semantic modelling confidence, not failure probability or safety certification"

SEMANTIC_EQUIVALENCE:
  synonyms: ["Safety Interlock", "Protective Interlock", "Safety Permissive Logic"]
  related_not_equivalent: ["Emergency Stop Function", "Safety Instrumented Function", "Guard Interlocking Device", "Operational Interlock"]
  distinctions:
    - "A guard interlocking device can be an input to a wider safety interlock function"
    - "An emergency stop is a distinct complementary protective measure"
    - "An operational interlock need not satisfy a functional-safety integrity requirement"

FLOW_HASH:
  algorithm: "SHA-256"
  scope: "Canonical UTF-8 flow content excluding the FLOW_HASH digest field"
  digest: "UNCOMPUTED"
  rule: "Compute and record a digest only after canonicalisation and final publication"

UPDATE_MODEL:
  version: "1.0"
  created: "2026-11-18"
  review_triggers:
    - "New hazard analysis or safety-function requirement"
    - "Change to protective hardware, logic, wiring or network"
    - "Incident, diagnostic fault or failed proof test"
    - "Change to applicable standards or operating conditions"
  update_sequence:
    1: "Record change and affected hazard references"
    2: "Review requirements and safety assumptions"
    3: "Revise state model, guards and protective actions"
    4: "Revalidate before operational release"
    5: "Version, publish and retain audit trail"
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ