Skip to main content

Gas 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 "GasSensor" v1.0

# Kireth Research — Semantic Library / Engineering Entities / Sensor Entities
# Original ontology-derived engineering model; not a verified transcription of the webpage.

IDENTITY:
  id: "engineering.sensor.gas"
  name: "Gas Sensor"
  type: "ChemicalSensor"
  parent: "Sensor"
  domain: ["instrumentation", "gas detection", "process safety", "environmental monitoring"]
  version: "1.0"
  language: "en-GB"

AUTHORS:
  primary: "Kireth Research"
  co_author: "Sky — Recursive AI"
  licence: "Kireth Open Research Licence; attribution and source citation required"

SOURCE:
  canonical: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/sensor-entities/gas-sensor-ontology.html"
  citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/sensor-entities/gas-sensor-ontology.html"
  derivation: "Original structured Flow Algebra representation; source content not independently verified"

PURPOSE:
  define: "Represent instruments that detect a target gas or estimate its concentration or partial pressure"
  distinguish: ["gas presence", "gas concentration", "oxygen deficiency", "flammable gas", "toxic gas"]
  support: ["selection", "calibration", "measurement", "diagnosis", "maintenance", "risk assessment"]
  exclude: "A gas sensor alone does not guarantee a safe atmosphere or constitute a complete safety system"

STATE_MODEL:
  S_t = (I_t, R_t, B_t, K_t)
  I_t: ["gas species", "gas concentration", "ambient temperature", "pressure", "humidity", "oxygen level", "sample flow", "raw sensor signal", "power status"]
  R_t: ["response curve", "cross-sensitivity matrix", "temperature compensation", "calibration transform", "alarm thresholds", "response-time constraints"]
  B_t: ["rated gas range", "environmental limits", "sensor lifetime", "permitted exposure", "certification scope", "safe operating conditions"]
  K_t: ["sensor technology", "calibration history", "known interferents", "uncertainty budget", "fault history", "installation context"]
  E_t = expand(I_t, R_t)
  V_t = {x in E_t | valid(x, B_t, K_t)}
  O_t = argmax(x in V_t) P(x | I_t, R_t, B_t, K_t)
  I_(t+1) = update(I_t, O_t, measurement_evidence, operator_review)
  lifecycle: ["specified", "installed", "commissioned", "calibrated", "monitoring", "fault", "maintenance", "retired"]

ENTITIES:
  GasSensor:
    attributes: ["sensor_id", "technology", "target_gas", "measurement_range", "units", "response_time", "accuracy_specification", "operating_limits", "output_type"]
  GasAnalyte:
    attributes: ["chemical_identity", "CAS_identifier_if_known", "molar_mass", "hazard_class", "cross_sensitivity"]
  Measurement:
    attributes: ["value", "unit", "timestamp", "quality_flag", "uncertainty", "sample_location"]
  Calibration:
    attributes: ["reference_gas", "certified_concentration", "zero_reference", "span_reference", "date", "expiry_or_due_date", "technician", "result"]
  SamplePath:
    attributes: ["diffusion_or_pumped", "flow_rate", "tubing_material", "filter", "delay", "leak_status"]
  Alarm:
    attributes: ["setpoint", "latching", "hysteresis", "delay", "acknowledgement", "escalation"]
  Fault:
    classes: ["open_circuit", "short_circuit", "sensor_poisoning", "drift", "saturation", "blocked_inlet", "pump_failure", "power_failure", "communication_loss"]
  Environment:
    attributes: ["temperature", "humidity", "pressure", "oxygen_content", "contaminants", "airflow"]

SENSOR_TECHNOLOGIES:
  electrochemical: "Target gas produces an electrode reaction and an electrical signal; subject to selectivity, depletion and environmental effects"
  metal_oxide_semiconductor: "Gas exposure changes semiconductor surface conductivity; heating and cross-sensitivity may be important"
  catalytic_bead: "Combustible gas oxidation changes bead temperature and resistance; requires suitable oxygen and is vulnerable to poisoning"
  non_dispersive_infrared: "Gas absorption at selected infrared bands estimates concentration; only suitable for gases with appropriate IR absorption"
  photoionisation: "UV ionisation detects compatible volatile compounds; response depends on lamp energy and compound"
  thermal_conductivity: "Difference in thermal conductivity provides concentration information in a defined gas mixture"
  optical_laser: "Wavelength-specific absorption can provide selective gas measurement when appropriately designed"
  paramagnetic_oxygen: "Uses oxygen magnetic properties; distinct from oxygen electrochemical cells"

RELATIONSHIPS:
  GasSensor -> measures -> GasAnalyte
  GasSensor -> produces -> Measurement
  GasSensor -> requires -> Calibration
  GasSensor -> operates_within -> Environment
  GasSensor -> may_trigger -> Alarm
  SamplePath -> delivers -> GasSample
  Fault -> degrades -> MeasurementQuality
  Measurement -> informs -> ControlOrSafetyDecision
  Calibration -> references -> CertifiedGasStandard

PATHWAYS:
  P1_specify:
    input: ["hazard or process requirement", "target gas", "expected concentration", "environment"]
    steps: ["identify gas species", "select sensing principle", "check range and selectivity", "check approvals and installation constraints"]
    output: "documented sensor specification"
  P2_measure:
    input: ["gas sample", "sensor health", "calibration model"]
    steps: ["admit sample", "transduce response", "condition signal", "apply calibration and compensation", "assign quality flag"]
    output: "time-stamped gas estimate with units and quality"
  P3_validate:
    input: ["raw signal", "range", "environment", "fault flags"]
    steps: ["check power and communication", "check sample availability", "screen saturation", "evaluate interferents", "evaluate uncertainty"]
    output: "valid, degraded or invalid measurement"
  P4_alarm:
    input: ["validated concentration", "configured threshold", "safety logic"]
    steps: ["compare against setpoints", "apply authorised delay and hysteresis", "raise alarm", "record event"]
    output: "alarm state or explicit fault state"
  P5_calibrate:
    input: ["certified zero/span references", "instrument procedure"]
    steps: ["confirm safe conditions", "apply reference", "record as-found", "adjust if authorised", "record as-left", "verify response"]
    output: "traceable calibration record"
  P6_diagnose:
    input: ["fault indicators", "test gas response", "service history"]
    steps: ["inspect inlet and sample path", "verify power", "compare with reference", "check drift and response time", "isolate cause"]
    output: "fault classification and maintenance recommendation"

MEASUREMENT_MODEL:
  concentration_units: ["ppm", "ppb", "%vol", "%LEL", "mg/m3"]
  ppm_to_percent_volume: "%vol = ppm / 10000, for volume fraction under consistent conditions"
  percent_volume_to_ppm: "ppm = %vol * 10000"
  lel_conversion: "%LEL = 100 * gas_volume_fraction / gas_specific_LEL_volume_fraction"
  lel_caution: "LEL depends on gas, mixture, conditions and reference definition; never use a universal LEL value"
  nominal_linear_response: "y = a*C + b + epsilon, only where linearity is validated"
  calibrated_estimate: "C_hat = inverse_calibration(y, temperature, pressure, humidity, sensor_state)"
  response_time: "t90 = time to reach 90 percent of final indicated step change under stated test conditions"
  total_detection_delay: "sample_transport_delay + sensor_response_delay + processing_delay + alarm_logic_delay"
  uncertainty: "combine characterised calibration, repeatability, drift, environmental, sampling and resolution contributions; document correlations"
  units_caution: "Mass concentration conversion requires molar mass, temperature and pressure assumptions"

MINI_RECURSION_ENGINE:
  initialise: "Load identity, technology, target gas, reference calibration and constraints"
  observe: "Acquire raw signal, diagnostics and environmental context"
  infer: "Generate concentration estimate and measurement-quality hypothesis"
  validate: "Reject out-of-range or untrustworthy states and distinguish hazard from instrument fault"
  act: "Publish validated measurement, raise configured alarms and request maintenance when required"
  learn: "Update calibration and drift evidence only through authorised, traceable procedures"
  repeat_until: "stable measurement, safety intervention or controlled shutdown"
  stop_conditions: ["unresolved hazardous condition", "untrusted sensor output", "loss of essential safety function"]

INFERENCE_RULES:
  R01: "IF gas identity is unknown THEN do not assert that a single sensor detects all hazardous gases"
  R02: "IF measured concentration exceeds validated range THEN flag overrange; do not report a precise extrapolated value"
  R03: "IF catalytic sensor oxygen is insufficient THEN combustible-gas response may be unreliable"
  R04: "IF calibration overdue THEN increase uncertainty and require maintenance review according to site policy"
  R05: "IF sensor does not respond to authorised challenge gas THEN mark failed or suspect; do not treat zero indication as proof of safety"
  R06: "IF humidity, temperature or pressure exceed rated conditions THEN mark measurement degraded or invalid"
  R07: "IF interferent is present THEN assess documented cross-sensitivity before attributing signal to target gas"
  R08: "IF pumped sampling flow fails THEN invalidate affected concentration readings and trigger fault handling"
  R09: "IF signal is lost THEN enter defined fault state; do not interpret loss as zero concentration"
  R10: "IF sensor reaches end of qualified life THEN replace or recertify as specified"
  R11: "IF alarm threshold is crossed by valid data THEN invoke configured alarm logic without suppressing safety-critical notifications"
  R12: "IF concentration trend changes abruptly THEN test for real release, sample disturbance and sensor artefact"
  R13: "IF a reading is reported in %LEL THEN attach the target gas and reference LEL definition"
  R14: "IF sensor output is used for a safety function THEN require independent safety engineering and relevant certification"

CONFIDENCE:
  components: ["calibration validity", "signal quality", "sensor health", "environmental suitability", "analyte selectivity", "sampling integrity"]
  high: "All essential checks pass with traceable evidence and quantified uncertainty"
  medium: "Measurement plausible but affected by known noncritical limitations"
  low: "Calibration, environment, selectivity or sampling status uncertain"
  invalid: "Essential fault, overrange, unqualified conditions or absent measurement evidence"
  rule: "Confidence is not a substitute for safety integrity or proof of a hazard-free atmosphere"

SEMANTIC_EQUIVALENCE:
  exact_or_contextual: ["gas detector", "gas sensing element", "gas concentration sensor", "gas analyser sensing channel"]
  distinctions:
    gas_sensor_vs_gas_detector: "Detector may include housing, alarms, communications and system-level functions"
    gas_sensor_vs_gas_analyser: "Analyser may use sampling, separation and multiple sensor stages"
    concentration_vs_exposure: "Instantaneous concentration differs from time-weighted personal exposure"
    percent_volume_vs_percent_LEL: "Different quantities; not interchangeable"

SAFETY_CONSTRAINTS:
  - "Do not rely on one unverified reading to declare an enclosed space safe"
  - "Follow applicable confined-space, explosive-atmosphere, occupational exposure and electrical safety procedures"
  - "Use suitably certified equipment for hazardous locations and intended gas applications"
  - "Design fail-safe behaviour for loss of power, sensor fault and communications failure"
  - "Observe calibration-gas handling, ventilation and manufacturer service requirements"
  - "Use competent personnel and independent validation for safety-critical installations"

FLOW_HASH:
  method: "SHA-256 of canonical UTF-8 flow content when published"
  value: "UNASSIGNED — calculate after final editorial approval"
  canonicalisation: "Normalise line endings to LF and preserve field order"

UPDATE_MODEL:
  revision_policy: "Version revisions are explicit, dated and attributable"
  triggers: ["sensor technology update", "calibration evidence", "new failure mode", "revised standards", "ontology correction"]
  verification: ["engineering review", "unit checks", "rule consistency", "source citation", "hash regeneration"]
  backwards_compatibility: "Preserve stable entity identifiers; document breaking changes"

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