flow "Sensor" v1.0
# Kireth Research Semantic Library — Engineering / Sensor Entities
# Original Flow Algebra representation; source page not independently verified.
IDENTITY:
id: "engineering.sensor"
label: "Sensor"
type: "EngineeringEntity"
parent: "SensorEntities"
definition: "Device or element that responds to a physical, chemical or biological measurand and produces an observable output."
AUTHORS:
research: "Kireth Research"
co_author: "Sky — Recursive AI"
licence: "Open Research Licence; attribution and source citation required"
SOURCE:
ontology: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/sensor-entities/sensor-ontology-4.html"
provenance: "Original domain-based modelling; not a verbatim extraction"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/sensor-entities/sensor-ontology-4.html"
PURPOSE:
goal: "Represent sensor identity, sensing mechanisms, signals, performance, calibration, operational states and failure modes as a traversable entity graph."
applications: ["instrumentation", "control", "monitoring", "diagnostics", "data acquisition", "automation"]
STATE_MODEL:
S_t: "(I_t, R_t, B_t, K_t)"
I_t: "observed measurand, excitation, output, environment, diagnostics and timestamps"
R_t: "physical transfer function, response dynamics, calibration and validity rules"
B_t: "measurement range, safe limits, bandwidth, supply, installation and access boundaries"
K_t: "sensor specification, calibration history, uncertainty, failure history and traceability"
operational_states: ["unpowered", "initialising", "ready", "measuring", "saturated", "degraded", "fault", "maintenance", "retired"]
transition: "S_(t+1) = Update(S_t, validated_observation, diagnostics, maintenance_event)"
ENTITIES:
Sensor:
attributes: ["sensor_id", "sensor_type", "serial_number", "manufacturer", "model", "installation_location", "status"]
relations: ["detects:Measurand", "uses:SensingElement", "produces:Signal", "has:CalibrationRecord", "belongs_to:InstrumentLoop"]
Measurand:
attributes: ["quantity_kind", "unit", "expected_range", "process_context"]
examples: ["temperature", "pressure", "displacement", "light", "flow", "humidity", "concentration"]
SensingElement:
attributes: ["transduction_principle", "sensitivity", "material", "response_time"]
mechanisms: ["resistive", "capacitive", "inductive", "piezoelectric", "optical", "electrochemical", "thermal", "magnetic"]
Signal:
attributes: ["signal_type", "amplitude", "unit", "sample_rate", "timestamp", "quality_flag"]
forms: ["analogue_voltage", "analogue_current", "frequency", "pulse", "digital_bus", "discrete_state"]
SignalConditioner:
operations: ["excitation", "amplification", "filtering", "linearisation", "isolation", "conversion"]
CalibrationRecord:
attributes: ["reference_standard", "as_found", "as_left", "date", "uncertainty", "technician", "due_date"]
Environment:
attributes: ["ambient_temperature", "humidity", "vibration", "EMI", "ingress_exposure", "chemical_exposure"]
SensorFault:
kinds: ["open_circuit", "short_circuit", "loss_of_supply", "stuck_output", "drift", "noise", "saturation", "communication_loss", "contamination"]
PATHWAYS:
sensing:
- "measurand -> sensing_element -> transduction -> raw_signal"
- "raw_signal -> conditioning -> conversion -> scaled_measurement"
- "scaled_measurement -> validity_check -> timestamped_observation"
calibration:
- "reference_standard -> comparison -> deviation -> correction_or_adjustment"
- "correction_or_adjustment -> verification -> calibration_record -> traceability"
integration:
- "sensor -> channel -> acquisition_system -> controller_or_recorder"
- "sensor -> instrument_tag -> instrument_loop -> process_equipment"
diagnostics:
- "output_and_health_flags -> plausibility_check -> fault_hypothesis"
- "fault_hypothesis -> corroborating_evidence -> maintenance_action -> retest"
PHYSICAL_AND_MEASUREMENT_RULES:
transfer: "y = f(x, theta, environment) + noise"
linear_approximation: "y ≈ a*x + b, only within validated linear operating region"
sensitivity: "dy/dx, evaluated at specified operating point"
error: "e = indicated_value - reference_value"
correction: "corrected_value = indicated_value + documented_correction"
combined_standard_uncertainty: "u_c = sqrt(sum((c_i*u_i)^2)) when inputs are uncorrelated"
correlated_uncertainty: "Include covariance terms when inputs are correlated"
dynamic_response: "For first-order sensors: tau*dy/dt + y = K*x under stated assumptions"
quantisation: "Digital resolution depends on converter, range and effective noise; bit depth alone does not establish accuracy"
limitations:
- "Accuracy, precision, resolution, repeatability and uncertainty are distinct properties"
- "A calibration correction is valid only for its documented conditions and interval"
- "No measurement is considered valid merely because a signal is present"
MINI_RECURSION_ENGINE:
input: "observation, sensor_state, calibration, environment, constraints"
expand: "E_t = expand(I_t, R_t)"
filter: "V_t = {candidate in E_t | satisfies(candidate, B_t)}"
select: "x_star = argmax_x P(x | I_t, R_t, B_t, K_t)"
update: "I_(t+1) = reconcile(I_t, x_star, evidence)"
stop_conditions: ["validated_measurement", "diagnostic_limit", "unsafe_condition", "insufficient_evidence"]
guard: "Never convert an unverified diagnosis into a confirmed fact"
INFERENCE_RULES:
- if: "measurand outside specified range"
then: "mark measurement out_of_range; do not extrapolate without validated model"
- if: "output at rail or fixed extreme"
then: "consider saturation, wiring fault and genuine extreme process value; discriminate using evidence"
- if: "measured value changes slower than expected"
then: "investigate sensor response time, filtering and process dynamics"
- if: "reference comparison shows persistent offset"
then: "evaluate zero error and calibration drift"
- if: "slope differs from calibrated transfer"
then: "evaluate span or sensitivity drift"
- if: "noise increases with vibration or EMI"
then: "inspect installation, shielding, grounding and mechanical integrity"
- if: "sensor signal missing"
then: "check power, connections, acquisition channel and sensor health before assigning cause"
- if: "calibration overdue or traceability incomplete"
then: "flag metrological status for review; do not assert compliance"
- if: "safety-related channel diagnostic fails"
then: "apply documented safe-state procedure and require authorised assessment"
CONFIDENCE:
levels:
high: "traceable reference, validated conditions, consistent diagnostics and repeat observations"
medium: "plausible measurement with partial corroboration"
low: "out-of-range, stale calibration, contradictory evidence or unknown environment"
evidence_fields: ["source", "timestamp", "calibration_id", "uncertainty", "operating_conditions", "diagnostic_status"]
policy: "Confidence is evidence-based, not a substitute for measurement uncertainty"
SEMANTIC_EQUIVALENCE:
canonical: "Sensor"
related_terms: ["sensing device", "sensing element", "detector", "measurement sensor"]
distinctions:
- "Sensor is not necessarily the same as a complete transmitter"
- "Transducer is broader: it converts one form of energy or signal to another"
- "Indicator displays a value; it need not perform sensing"
- "Instrument channel is the signal path, not necessarily the sensor itself"
SAFETY_AND_GOVERNANCE:
- "Check voltage, pressure, temperature, hazardous-area and environmental ratings before use"
- "Treat safety instrumented functions according to the applicable engineered safety lifecycle"
- "Do not bypass protective interlocks based on an inferred sensor fault"
- "Record changes, calibration results, authorisation and configuration versions"
- "Preserve raw observations and provenance where practical"
FLOW_HASH:
algorithm: "SHA-256"
input_scope: "canonical UTF-8 content, excluding the digest field"
digest: "computed on publication; not asserted here"
UPDATE_MODEL:
version: "1.0"
review_triggers: ["new sensing technology", "revised calibration", "new failure mode", "standard update", "ontology correction"]
change_policy: "Preserve stable identifiers; record revision, date, rationale and source evidence"
compatibility: "Cross-link InstrumentationEntity, MeasurementInstrument, InstrumentSignal, InstrumentChannel and CalibrationStandard"
Download Code
Copy to Clipboard