Skip to main content

Proximity Sensor Ontology

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

# Kireth Research Semantic Library — Engineering / Sensor Entities

IDENTITY:
  name: "Proximity Sensor"
  class: "EngineeringSensorEntity"
  parent: "Sensor"
  domain: ["Instrumentation", "Automation", "Mechatronics", "Industrial Control"]
  definition: "A device that detects the presence, absence or approach of a target without requiring mechanical contact."
  distinction: "Proximity detection commonly yields a binary presence indication; some sensors also report distance."

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

SOURCE:
  canonical: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/sensor-entities/proximity-sensor-ontology.html"
  provenance: "Original domain-informed Flow Algebra representation; source-page content not independently verified."
  citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/sensor-entities/proximity-sensor-ontology.html"

PURPOSE:
  - "Represent proximity sensing as an explicit state-transition process."
  - "Map target properties, sensing physics, output signals and detection confidence."
  - "Support selection, calibration, diagnostics, safe integration and explainable inference."
  - "Distinguish target absence from sensor failure or insufficient evidence."

STATE_MODEL:
  state S(t):
    target_present: bool?
    target_distance_m: float?
    target_material: str?
    target_size_m: float?
    target_orientation: str?
    sensing_method: enum[inductive, capacitive, photoelectric, ultrasonic, magnetic, radar, other]
    operating_range_m: tuple[float,float]?
    sensing_threshold: float?
    hysteresis: float?
    raw_signal: float?
    filtered_signal: float?
    output_state: enum[active, inactive, unknown, fault]
    supply_voltage_V: float?
    ambient_temperature_C: float?
    contamination_level: float?
    alignment_state: enum[aligned, misaligned, unknown]
    health_state: enum[healthy, degraded, failed, unknown]
    timestamp_utc: str?
    confidence: float
  input I(t): ["Target", "Environment", "Power", "SensorConfiguration", "Observation"]
  rules R: ["SensingPhysics", "ThresholdLogic", "Hysteresis", "Filtering", "Diagnostics", "SafetyConstraints"]
  boundary B: ["SpecifiedRange", "RatedEnvironment", "SupplyLimits", "ResponseTime", "TargetCompatibility"]
  knowledge K: ["Datasheet", "CalibrationRecord", "TestResults", "ApplicationContext"]
  transition: "S(t+1) = Update(S(t), Observe(I(t)), R, B, K)"
  evidence: "No detection does not prove target absence unless the sensor is healthy and its detection conditions are satisfied."

ENTITIES:
  ProximitySensor:
    properties: ["SensorID", "Technology", "RatedRange", "SwitchingFrequency", "OutputType", "SupplyRating", "IngressProtection"]
    relationships:
      - "is_a -> Sensor"
      - "detects -> Target"
      - "observes -> DetectionZone"
      - "produces -> SensorSignal"
      - "installed_on -> MountingAssembly"
      - "connected_to -> ControllerInput"
      - "calibrated_by -> CalibrationProcedure"
  Target:
    properties: ["Material", "Size", "Shape", "Surface", "Orientation", "Distance", "Velocity"]
  DetectionZone:
    properties: ["NearBoundary", "FarBoundary", "FieldGeometry", "BlindZone"]
  SensorSignal:
    properties: ["RawValue", "FilteredValue", "BinaryState", "Timestamp", "QualityFlag"]
  SensorHealth:
    properties: ["SupplyStatus", "SelfTestStatus", "SignalPlausibility", "Contamination", "CableIntegrity"]
  SensingTechnology:
    inductive: "Detects suitable conductive targets by electromagnetic coupling; range depends on target material and geometry."
    capacitive: "Detects changes in capacitance; sensitivity depends on dielectric properties and environmental conditions."
    photoelectric: "Detects light interruption or reflection; performance depends on optical alignment and surface conditions."
    ultrasonic: "Estimates target presence or distance using acoustic echoes; subject to blind zones and acoustic conditions."
    magnetic: "Responds to magnetic field or magnet proximity; requires compatible magnetic target configuration."
    radar: "Uses radio-frequency reflections; target geometry and electromagnetic environment affect performance."

PATHWAYS:
  - id: P01
    name: "Target Interaction"
    sequence: "Target enters sensing zone -> Physical field or wave changes -> Transducer responds -> Raw signal produced"
    preconditions: ["Power valid", "Compatible target", "Target within specified detection conditions"]
  - id: P02
    name: "Signal Interpretation"
    sequence: "Raw signal -> Compensation -> Filtering -> Threshold with hysteresis -> Presence state -> Controller output"
    postconditions: ["Timestamped output", "Quality flag", "Uncertainty or confidence"]
  - id: P03
    name: "Commissioning"
    sequence: "Review datasheet -> Check mounting and environment -> Verify target material -> Set sensitivity -> Test approach and retreat -> Record results"
  - id: P04
    name: "Fault Investigation"
    sequence: "Unexpected state -> Verify supply and wiring -> Check alignment and contamination -> Compare known targets -> Isolate root cause -> Retest"
  - id: P05
    name: "Maintenance"
    sequence: "Review drift and event history -> Inspect sensing face -> Validate detection margin -> Reconfigure or replace -> Document change"
  - id: P06
    name: "System Integration"
    sequence: "Select output topology -> Confirm controller compatibility -> Assess latency -> Validate fail-state -> Test end-to-end response"

PHYSICAL_AND_SIGNAL_MODEL:
  detection:
    generic: "detection = threshold_test(filtered_signal, threshold, hysteresis)"
    qualification: "Threshold polarity and signal-distance relation depend on sensor technology."
  hysteresis:
    principle: "Use distinct assert and release thresholds to prevent output chatter near the switching boundary."
    caution: "Do not apply a universal threshold direction across all technologies."
  response:
    total_latency: "t_total = t_sensor + t_filter + t_interface + t_controller"
    constraint: "t_total must be evaluated against process speed and stopping or reaction requirements."
  motion:
    travel_during_latency: "distance_m = target_speed_m_per_s * total_latency_s"
  uncertainty:
    note: "Detection repeatability, nominal sensing distance and measurement accuracy are different specifications."
    contributors: ["Target variability", "Temperature", "Supply variation", "Noise", "Alignment", "Contamination", "Mechanical tolerances"]
  technology_constraints:
    inductive: "Nominal distance is not guaranteed for every metal or target geometry."
    capacitive: "Humidity, deposits and nearby materials can change effective sensitivity."
    photoelectric: "Reflectivity, ambient light, dirt and misalignment may cause false switching."
    ultrasonic: "Sound speed varies with environment; minimum sensing distance may apply."
    magnetic: "Field orientation and external magnetic interference affect response."

MINI_RECURSION_ENGINE:
  objective: "Iteratively improve detection reliability while preserving explicit operating and safety boundaries."
  initialise: "Load sensor specification, target requirements, environment and last verified state."
  observe: "Acquire output, diagnostics, temperature and representative target observations."
  evaluate: "Compare observations with expected sensing behaviour and valid operating envelope."
  infer: "Rank causes of missed detections, nuisance switching or inconsistent timing."
  act: "Propose alignment, cleaning, shielding, filtering, sensitivity or sensor-type changes."
  verify: "Repeat tests across worst-case target and environmental conditions."
  commit: "Update configuration and evidence only after acceptance criteria are met."
  stop: "Stop when reliable detection is demonstrated or uncertainty requires human review."
  recursion_limit: 8
  invariant: "Never convert a fault or unknown signal into an assumed safe detection state."

INFERENCE_RULES:
  - "IF supply_invalid THEN health_state = fault AND output_state = unknown unless documented fail-safe behaviour is verified."
  - "IF target_detected AND target_outside_rated_range THEN flag anomalous_detection; do not infer guaranteed extended range."
  - "IF target_not_detected AND health_state != healthy THEN target_present = unknown."
  - "IF repeated_switching_near_threshold THEN investigate hysteresis, vibration and electrical noise."
  - "IF inductive_sensor AND nonconductive_target THEN flag technology_mismatch."
  - "IF capacitive_sensor AND humidity_or_deposits_change THEN raise false_detection_risk."
  - "IF photoelectric_sensor AND optical_path_obstructed THEN inspect contamination and alignment."
  - "IF ultrasonic_sensor AND target_inside_blind_zone THEN mark measurement_unreliable."
  - "IF process_speed * total_latency exceeds available_detection_margin THEN flag timing_hazard."
  - "IF controller_input_incompatible_with_output_type THEN reject integration until corrected."
  - "IF observed_detection_margin_below_required_margin THEN recommend redesign or retest."
  - "IF sensor_used_for_personnel_protection THEN require independently validated safety-rated design; generic proximity detection alone is insufficient."

CONFIDENCE:
  score_range: [0.0, 1.0]
  evidence_sources: ["Manufacturer specification", "Bench test", "Installed test", "Diagnostics", "Calibration history"]
  confidence_factors: ["Target compatibility", "Signal margin", "Health evidence", "Environmental validity", "Repeatability", "Recency"]
  reduction_triggers: ["Unknown target", "Unverified installation", "Fault flag", "Out-of-range conditions", "Stale tests", "Conflicting readings"]
  rule: "High confidence requires independent evidence of correct operation, not merely a stable output."
  uncertainty_policy: "Return unknown where evidence is inadequate."

SEMANTIC_EQUIVALENCE:
  preferred: "Proximity Sensor"
  related: ["Non-contact sensor", "Presence detector", "Proximity switch", "Object detection sensor"]
  distinctions:
    - "Proximity switch usually implies thresholded on/off output."
    - "Distance sensor reports a quantitative distance; not all proximity sensors do so."
    - "Limit switch may require physical contact and is not automatically equivalent."
    - "Safety proximity sensor is not synonymous with an ordinary industrial proximity switch."
  cross_links: ["Sensor", "Position Sensor", "Instrument Signal", "Instrument Channel", "Control System", "Electronic Sensor"]

SAFETY_AND_VALIDATION:
  - "Observe manufacturer voltage, current, temperature and ingress-protection ratings."
  - "Verify wiring polarity, PNP/NPN or other output compatibility, and cable integrity."
  - "Assess electromagnetic compatibility, mechanical damage and contamination."
  - "Validate detection under worst-case speed, alignment, target and environmental conditions."
  - "For safety functions, use appropriate certified equipment and system-level risk assessment."
  - "Preserve evidence of tests, failures, corrective actions and configuration changes."

FLOW_HASH:
  algorithm: "SHA-256"
  canonicalisation: "UTF-8; normalise line endings; exclude FLOW_HASH.digest from hashed payload."
  digest: "UNCOMPUTED — generate after final canonical publication."

UPDATE_MODEL:
  version: "1.0"
  update_triggers: ["New sensing technology", "Manufacturer specification revision", "Calibration change", "Observed failure", "Safety requirement change"]
  process: "Propose -> Review evidence -> Validate rules -> Recompute hash -> Publish version -> Retain provenance"
  backward_compatibility: "Preserve entity IDs and document renamed fields."
  citation_required: true

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