Skip to main content

Optical 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 "OpticalSensor" v1.0

# Kireth Research — Semantic Library / Engineering Entities / Sensor Entities
# Original Flow Algebra ontology; not a verified transcription of the linked webpage.

IDENTITY:
  id: "engineering.sensor.optical"
  label: "Optical Sensor"
  class: "Sensor"
  domain: ["Engineering", "Instrumentation", "Optoelectronics", "Measurement"]
  version: "1.0"
  language: "en-GB"

AUTHORS:
  primary: "Kireth Research"
  collaborator: "Sky — Recursive AI"
  licence_note: "Consult the Kireth Research Open Research Licence; citation required."

SOURCE:
  canonical: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/sensor-entities/optical-sensor-ontology.html"
  citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/sensor-entities/optical-sensor-ontology.html"
  provenance: "Newly constructed engineering ontology, based on the requested subject; live page content not verified."

PURPOSE:
  definition: "A device that detects optical radiation or changes in its properties and produces a measurable electrical, digital or optical output."
  scope: ["light detection", "object detection", "intensity measurement", "spectral measurement", "distance and displacement sensing", "imaging"]
  objective: "Represent optical sensing, conversion, calibration, uncertainty, diagnosis and safe interpretation as recursive semantic pathways."
  exclusions: ["unverified medical diagnosis", "claims of certified safety performance without evidence"]

STATE_MODEL:
  state S(t):
    I: "Incident radiation: spectral power, wavelength, intensity, direction, modulation, polarisation"
    R: "Sensor responsivity, optics, spectral response, gain, sampling and conversion rules"
    B: "Physical bounds: optical power, supply, ambient conditions, response time, saturation, noise"
    K: "Calibration data, reference standards, configuration, uncertainty and known failure modes"
    X: "Internal state: temperature, dark current, gain, offset, integration time, contamination"
    Y: "Output: analogue signal, digital count, detection state, image or inferred optical quantity"
  transition:
    "S(t+1) = update(S(t), observation(t), diagnostics(t), calibration(t))"
  observability:
    "Optical input is only partially observable; measured output depends on geometry, spectral response, noise and signal processing."
  valid_states: ["unpowered", "initialising", "calibrating", "measuring", "saturated", "degraded", "fault", "maintenance"]

ENTITIES:
  OpticalSensor:
    is_a: "Sensor"
    has_part: ["optical aperture", "sensing element", "signal conditioning", "output interface"]
    measures: ["irradiance", "radiant power", "illuminance when appropriately calibrated", "optical intensity", "reflectance", "transmittance", "spectral features"]
  SensingElements:
    kinds: ["photodiode", "phototransistor", "photoresistor", "CMOS image pixel", "CCD", "avalanche photodiode", "photomultiplier"]
    note: "Each has different noise, gain, response speed, spectral sensitivity and operating limits."
  OpticalConfigurations:
    kinds: ["through-beam", "retroreflective", "diffuse reflective", "fibre-optic", "ambient light", "colour", "spectral", "time-of-flight", "imaging"]
  OpticalPath:
    elements: ["source", "medium", "lens", "filter", "target", "detector"]
    perturbations: ["occlusion", "scattering", "absorption", "stray light", "alignment error", "surface reflectance"]
  MeasurementRecord:
    fields: ["sensor_id", "timestamp", "raw_output", "calibrated_value", "unit", "uncertainty", "status", "calibration_id"]
  RelatedEntities:
    references: ["Sensor", "Instrument Signal", "Instrument Channel", "Calibration Standard", "Measurement Instrument", "Data Logger", "Proximity Sensor"]

PATHWAYS:
  optical_acquisition:
    input: ["incident optical radiation", "sensor spectral response", "optical geometry"]
    steps: ["receive photons", "filter and focus radiation", "convert to charge or resistance change", "condition signal", "sample output"]
    output: "Raw optical measurement with acquisition metadata"
  calibration:
    input: ["traceable optical reference", "environmental conditions", "raw readings"]
    steps: ["stabilise", "measure dark/zero baseline", "apply reference points", "fit calibration model", "estimate residuals", "record uncertainty"]
    output: "Calibration coefficients and traceability record"
  object_detection:
    input: ["baseline signal", "current signal", "threshold", "hysteresis"]
    steps: ["remove baseline", "filter", "compare with entry threshold", "apply exit threshold", "debounce", "report detection and confidence"]
    output: "Detection state, not a guaranteed identification of an object"
  spectral_measurement:
    input: ["wavelength-dependent response", "reference spectrum", "optical filter or dispersive element"]
    steps: ["acquire channels", "subtract dark signal", "correct response", "normalise if appropriate", "estimate spectral quantity"]
    output: "Spectrum or band-limited optical estimate"
  fault_diagnosis:
    input: ["raw readings", "self-test", "temperature", "supply", "reference readings"]
    steps: ["check power", "check saturation", "test blocked/contaminated optics", "compare references", "flag drift", "request maintenance"]
    output: "Diagnostic status and supporting evidence"

PHYSICAL_RELATIONS:
  photodiode_current:
    "I_photo ≈ R_lambda * P_incident, within the device's calibrated linear operating region"
    variables: "I_photo [A], spectral responsivity R_lambda [A/W], incident optical power P_incident [W]"
  photon_energy:
    "E_photon = h * c / lambda"
    note: "Use consistent SI units; h is Planck's constant and c is the speed of light in vacuum."
  inverse_square_approximation:
    "I ∝ 1/r^2 for a point-like emitter in a suitable unobstructed far-field geometry"
    caution: "Not generally valid for focused beams, extended sources, reflective targets or near-field arrangements."
  signal_to_noise:
    "SNR = signal_power / noise_power; SNR_dB = 10 * log10(SNR)"
    note: "Signal and noise must use compatible power definitions."
  sampled_signal:
    "sampled_output = quantise(gain * optical_response + offset + noise)"
    note: "Finite ADC range, sample rate and integration time constrain observability."

MINI_RECURSION_ENGINE:
  initialise:
    "Load sensor identity, calibration, environment, optical geometry and permitted operating range."
  observe:
    "Acquire signal and supporting diagnostic channels."
  expand:
    "Generate hypotheses: valid optical event, ambient light variation, misalignment, contamination, saturation, wiring fault or calibration drift."
  validate:
    "Reject hypotheses incompatible with sensor specifications, timing, calibration or independent observations."
  rank:
    "Order surviving explanations by evidence, uncertainty and diagnostic consistency; do not equate ranking with certainty."
  update:
    "Record confirmed observations, preserve prior calibration provenance and schedule recalibration where justified."
  stop:
    "Terminate recursion when evidence stabilises, resource limits are reached or an unsafe condition is detected."

INFERENCE_RULES:
  - "IF raw_output is at ADC maximum AND optical input may exceed range THEN flag saturation; do not extrapolate unboundedly."
  - "IF dark baseline increases with temperature THEN assess dark-current contribution before declaring a light event."
  - "IF reflected signal falls AND target geometry is unchanged THEN consider contamination, source ageing, target reflectance change and alignment."
  - "IF detection oscillates near a threshold THEN apply documented hysteresis and timing rules."
  - "IF optical spectrum differs from calibration source THEN apply spectral mismatch correction or increase uncertainty."
  - "IF source power degrades THEN re-evaluate detection margin and maintenance state."
  - "IF signal is absent THEN distinguish no optical input from disconnected, unpowered or failed detector."
  - "IF ambient light exceeds rejection capacity THEN mark measurement unreliable."
  - "IF calibration is expired or reference traceability is broken THEN downgrade measurement confidence."
  - "IF used in a safety function THEN require independently validated safety architecture and appropriate certified components."

CONFIDENCE:
  factors: ["calibration traceability", "signal-to-noise ratio", "operating margin", "spectral match", "alignment", "environmental stability", "self-test results"]
  representation: "Report confidence with explicit uncertainty and evidence; never invent a numerical probability."
  quality_flags: ["valid", "estimated", "noisy", "saturated", "out_of_range", "uncalibrated", "fault", "unknown"]

SEMANTIC_EQUIVALENCE:
  equivalent_terms: ["optical detector", "light sensor when the measured quantity is light", "photoelectric sensor in suitable contexts"]
  non_equivalent_terms:
    - "A light sensor is not necessarily a calibrated photometer."
    - "An optical proximity sensor is not equivalent to a generic position encoder."
    - "A photodiode is a sensing component, not necessarily a complete optical instrument."
    - "Irradiance [W/m^2] is not illuminance [lux]."
  units: ["W", "W/m^2", "lux", "nm", "A", "V", "counts", "s"]

SAFETY_AND_LIMITATIONS:
  - "Laser emitters require wavelength- and power-appropriate eye-safety assessment and controls."
  - "Protect optical and electrical components against overvoltage, overheating and environmental ingress."
  - "Do not use an unvalidated optical sensor as the sole safeguard for hazardous machinery."
  - "Account for ambient lighting, reflective surfaces, optical contamination and cross-talk."
  - "Record uncertainty, calibration status and sensor-specific detection limits."

FLOW_HASH:
  method: "SHA-256 over the canonical UTF-8 representation after agreed normalisation"
  value: "computed at publication; no hash asserted in this draft"

UPDATE_MODEL:
  triggers: ["new calibration", "sensor replacement", "firmware change", "optics change", "environmental change", "new fault evidence", "ontology revision"]
  policy: "Preserve version history, source attribution and test evidence; revalidate dependent pathways after change."
  compatibility: "Maintain stable entity identifiers; document changes to terms, units, inference and calibration semantics."

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