flow "TemperatureSensor" v1.0
# Kireth Research Semantic Library — Engineering / Sensor Entities
# Original Flow Algebra representation; source page content not independently verified.
IDENTITY:
entity: "Temperature Sensor"
class: "Sensor > Thermal Sensor > Temperature Sensor"
domain: ["instrumentation", "thermal engineering", "measurement", "control"]
version: "1.0"
language: "en-GB"
AUTHORS:
research: "Kireth Research"
collaborator: "Sky — Recursive AI"
licence_note: "Refer to the Kireth Research Open Research Licence; citation required."
SOURCE:
canonical_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/sensor-entities/temperature-sensor-ontology.html"
representation: "Original semantic Flow Algebra model, not a verbatim page extraction"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/sensor-entities/temperature-sensor-ontology.html"
PURPOSE:
define: "A temperature sensor detects thermal state and produces a measurable indication or signal."
support: ["sensor selection", "measurement interpretation", "calibration", "diagnostics", "control-system integration"]
distinguish: "Temperature is a measurand; sensor output, indicated value and reference temperature are separate quantities."
STATE_MODEL:
S(t) = (I(t), R(t), B(t), K(t))
I(t): {sensor_id, type, installation, calibration_id, timestamp, observed_signal}
R(t): {transfer_function, wiring, thermal_coupling, compensation, conversion, uncertainty}
B(t): {rated_range, accuracy_limits, response_time, environment, safety_limits}
K(t): {reference_data, calibration_history, drift_estimate, faults, maintenance_events}
physical_state: {temperature_true, junction_temperature, ambient_temperature, self_heating, thermal_gradient}
electrical_state: {excitation, resistance, voltage, current, digital_code, noise}
lifecycle: ["specified", "installed", "calibrated", "operating", "suspect", "faulted", "maintained", "retired"]
ENTITIES:
TemperatureSensor:
properties: ["identifier", "technology", "measurement_range", "response_time", "uncertainty", "output_type"]
Measurand:
properties: ["temperature", "unit", "location", "time", "reference_condition"]
RTD:
properties: ["nominal_resistance", "temperature_coefficient", "lead_configuration", "excitation_current"]
Thermistor:
properties: ["NTC_or_PTC", "R_reference", "B_parameter_or_model", "self_heating"]
Thermocouple:
properties: ["junction_pair", "thermoelectric_voltage", "cold_junction_temperature", "polarity"]
SemiconductorSensor:
properties: ["integrated_transducer", "analogue_or_digital_output", "supply", "conversion_time"]
InfraredSensor:
properties: ["emissivity", "field_of_view", "optical_path", "reflected_temperature"]
MeasurementChain:
members: ["sensing_element", "signal_conditioner", "ADC", "transmitter", "display_or_controller"]
CalibrationReference:
properties: ["reference_temperature", "traceability", "uncertainty", "validity"]
Fault:
kinds: ["open_circuit", "short_circuit", "lead_error", "drift", "saturation", "thermal_decoupling", "EMI", "incorrect_compensation"]
PATHWAYS:
measurement:
input: "thermal environment"
sequence: ["thermal coupling", "transduction", "signal conditioning", "compensation", "conversion", "validation", "reported temperature"]
output: "temperature estimate with unit, timestamp and quality flag"
selection:
sequence: ["define measurand", "determine range", "assess environment", "choose technology", "assess response", "budget uncertainty", "verify installation"]
calibration:
sequence: ["identify reference", "stabilise conditions", "collect paired readings", "estimate correction", "quantify uncertainty", "document results", "set interval"]
diagnosis:
sequence: ["inspect status", "verify supply and wiring", "compare reference", "check thermal contact", "evaluate drift", "classify fault", "authorise intervention"]
control:
sequence: ["measure", "validate", "filter where appropriate", "compare setpoint", "control", "monitor response"]
PHYSICAL_RELATIONS:
temperature_units:
kelvin: "T_K = T_C + 273.15"
fahrenheit: "T_F = 1.8 * T_C + 32"
RTD_approximation:
equation: "R(T) ≈ R0 * (1 + alpha * (T - T0))"
applicability: "Local linear approximation only; use a validated characteristic model over wider ranges."
NTC_approximation:
equation: "1/T = 1/T0 + (1/B) * ln(R/R0)"
units: "Absolute temperatures in kelvin; model parameters depend on device."
thermocouple:
relation: "V_TC = integral(S_A(T) - S_B(T), T_cold, T_hot)"
caution: "Cold-junction compensation and correct reference tables are required."
self_heating:
relation: "P = I^2 * R; delta_T ≈ P * thermal_resistance"
caution: "Steady-state approximation; dynamic and installation effects may differ."
first_order_response:
relation: "tau * dT_sensor/dt + T_sensor = T_medium"
caution: "Simplified lumped thermal model; not universal."
uncertainty:
relation: "u_c = sqrt(sum(u_i^2)) for independent standard-uncertainty terms"
caution: "Include correlations and sensitivity coefficients where applicable."
MINI_RECURSION_ENGINE:
seed: "Observed temperature signal and measurement context"
expand: "E_t = expand(I_t, R_t)"
validate: "V_t = filter(E_t, B_t, K_t)"
choose: "x* = argmax_x P(x | I_t, R_t, B_t, K_t)"
update: "I_(t+1) = update(I_t, x*, evidence_t)"
stop_when: ["measurement validated", "uncertainty acceptable", "fault identified", "safe escalation required"]
guard: "Never treat a predicted temperature as a verified measurement without evidence."
INFERENCE_RULES:
- "IF signal is outside valid electrical bounds THEN flag out_of_range; do not silently clamp."
- "IF RTD excitation is excessive THEN assess self-heating bias."
- "IF two-wire RTD lead resistance is material THEN correct or include it in uncertainty."
- "IF thermocouple cold-junction compensation is missing THEN temperature estimate is unverified."
- "IF infrared emissivity is unknown THEN increase uncertainty and require surface assessment."
- "IF response lags rapid process changes THEN distinguish sensor lag from actual process stability."
- "IF calibration residual exceeds tolerance THEN flag nonconformity; preserve as-found evidence."
- "IF temperature exceeds rated operating range THEN flag potential sensor damage or invalid output."
- "IF measurement is safety-critical AND quality is invalid THEN invoke approved safe-state procedure."
- "IF redundant sensors disagree beyond combined uncertainty THEN investigate common-mode and local faults."
CONFIDENCE:
fields: ["value", "evidence_quality", "calibration_validity", "model_fit", "installation_quality", "timestamp"]
levels: ["high", "moderate", "low", "unverified"]
rule: "Confidence must reflect actual evidence, not the precision of a displayed number."
degrade_on: ["stale calibration", "unknown emissivity", "unverified compensation", "drift", "out-of-range operation", "poor thermal contact"]
SEMANTIC_EQUIVALENCE:
synonyms: ["thermal sensor", "temperature transducer", "temperature probe"]
related_not_identical: ["thermostat", "temperature transmitter", "thermometer", "temperature controller"]
relations:
- "TemperatureSensor measures Temperature"
- "TemperatureSensor may_use SensingElement"
- "TemperatureSensor produces MeasurementSignal"
- "TemperatureSensor is_calibrated_against CalibrationReference"
- "TemperatureSensor is_installed_in EngineeringSystem"
- "TemperatureSensor may_feed ControlLoop"
SAFETY_AND_VALIDATION:
requirements:
- "Check electrical isolation, hazardous-area classification and relevant equipment ratings."
- "Account for process pressure, chemical compatibility, ingress protection and thermal limits."
- "Do not bypass independent protective functions based on unverified sensor data."
- "Retain traceability, calibration records, uncertainty assumptions and fault history."
- "Follow applicable standards and qualified engineering review for safety-critical installations."
FLOW_HASH:
method: "SHA-256 of canonical UTF-8 flow content, calculated by the publishing pipeline"
value: "UNCOMPUTED — canonicalisation required"
UPDATE_MODEL:
revision: "1.0"
triggers: ["new calibration evidence", "revised sensor model", "failure analysis", "new standards", "ontology correction"]
preserve: ["source attribution", "prior revisions", "traceability", "uncertainty history"]
policy: "Review changes, version the flow, regenerate hash and retain citation backlink."
END_FLOW
Download Code
Copy to Clipboard