flow "BiosensorEntity" v1.0
# KIRETH RESEARCH — SEMANTIC LIBRARY / ENGINEERING ENTITY GRAPH
# Domain: Engineering > Sensor Entities > Biosensor Entity
# Representation: original Flow Algebra ontology, not a transcription of the webpage
IDENTITY:
id: "engineering.sensor.biosensor"
name: "Biosensor Entity"
type: "EngineeringSensorEntity"
version: "1.0"
language: "en-GB"
status: "research-model"
AUTHORS:
primary: "Kireth Research"
collaborator: "Sky — Recursive AI"
attribution: "Open Research Licence; citation required"
SOURCE:
canonical_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/sensor-entities/biosensor-entity-ontology.html"
derivation: "Original domain-specific Flow Algebra representation; source-page contents not independently verified"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/sensor-entities/biosensor-entity-ontology.html"
PURPOSE:
define: "Represent biosensors as measurement systems that couple biological recognition to a physicochemical transducer"
support: ["semantic retrieval", "design reasoning", "measurement interpretation", "calibration", "fault diagnosis", "traceability"]
distinguish: "A biosensor is not merely a biological specimen or an electronic transducer: both recognition and readout are required"
STATE_MODEL:
S_t: (I_t, R_t, B_t, K_t)
I_t: "Input sample, analyte context, environment and observed instrument signals at time t"
R_t: "Recognition, transduction, calibration, inference and quality-control relations"
B_t: "Physical, chemical, biological, operational and safety boundaries"
K_t: "Validated sensor models, calibration records, reference methods and uncertainty evidence"
E_t: "expand(I_t, R_t)"
V_t: "filter(E_t, B_t, K_t)"
D_t: "argmax_x P(x | I_t, R_t, B_t, K_t), subject to validity constraints"
I_next: "update(I_t, D_t, new_measurements, provenance)"
states: ["unconfigured", "conditioning", "ready", "sampling", "recognising", "transducing", "processing", "validated", "out_of_range", "fouled", "fault", "retired"]
transitions:
- "unconfigured -> conditioning when sensor identity and protocol are recorded"
- "conditioning -> ready when stabilisation and quality checks pass"
- "ready -> sampling when a compatible sample is presented"
- "sampling -> recognising when target interacts with recognition element"
- "recognising -> transducing when a measurable physicochemical change occurs"
- "transducing -> processing when signal acquisition is complete"
- "processing -> validated when controls, calibration and uncertainty checks pass"
- "any_active -> fault when integrity or safety constraints fail"
ENTITIES:
biosensor:
attributes: ["sensor_id", "purpose", "measurement_principle", "operating_range", "response_time", "limit_of_detection", "limit_of_quantification", "selectivity", "shelf_life"]
analyte:
attributes: ["identity", "concentration", "units", "matrix", "interferents", "reference_value"]
sample:
attributes: ["sample_id", "collection_time", "storage_conditions", "preparation", "matrix", "chain_of_custody"]
biorecognition_element:
subclasses: ["enzyme", "antibody", "aptamer", "nucleic_acid_probe", "receptor", "whole_cell", "molecularly_imprinted_material"]
attributes: ["binding_affinity", "specificity", "activity", "immobilisation", "stability"]
transducer:
subclasses: ["electrochemical", "optical", "piezoelectric", "thermal", "field_effect"]
attributes: ["gain", "noise", "linearity", "sensitivity", "interface"]
electronics:
attributes: ["excitation", "analogue_front_end", "filtering", "adc", "sampling_rate", "power_supply"]
calibration_model:
attributes: ["blank", "standards", "fit_function", "valid_range", "uncertainty", "date", "reference_traceability"]
measurement:
attributes: ["raw_signal", "corrected_signal", "estimated_concentration", "units", "uncertainty", "quality_flags", "timestamp"]
environment:
attributes: ["temperature", "pH", "ionic_strength", "humidity", "pressure", "matrix_effects"]
quality_control:
attributes: ["negative_control", "positive_control", "blank", "replicates", "recovery", "acceptance_criteria"]
failure_mode:
examples: ["bioreceptor_denaturation", "biofouling", "non_specific_binding", "drift", "interference", "contamination", "electronic_fault"]
RELATIONSHIPS:
- "biosensor HAS_PART biorecognition_element"
- "biosensor HAS_PART transducer"
- "biosensor HAS_PART electronics"
- "biorecognition_element RECOGNISES analyte"
- "transducer CONVERTS recognition_event TO electrical_or_optical_signal"
- "measurement DERIVED_FROM sample"
- "measurement USES calibration_model"
- "measurement HAS uncertainty"
- "quality_control VALIDATES measurement"
- "environment MODULATES recognition_and_transduction"
- "failure_mode DEGRADES measurement_validity"
PATHWAYS:
recognition_to_result:
input: "sample + target analyte + sensor configuration"
steps: ["verify sample identity", "check sensor readiness", "expose recognition element", "measure transducer response", "correct baseline and matrix effects", "apply valid calibration", "quantify uncertainty", "apply quality-control gates", "report or withhold result"]
output: "traceable measurement with validity flags"
calibration:
steps: ["select matrix-matched standards where appropriate", "measure blank", "measure reference series", "fit response function", "inspect residuals", "estimate uncertainty", "establish working range", "record calibration version"]
diagnostics:
steps: ["inspect blank drift", "compare controls", "test reference response", "check environmental excursions", "evaluate fouling or degradation", "isolate electronic failures", "quarantine invalid measurements"]
lifecycle:
steps: ["manufacture", "characterise", "calibrate", "deploy", "monitor", "recalibrate", "replace recognition element if permitted", "retire"]
PHYSICAL_AND_ANALYTICAL_MODEL:
generic_response: "y = f(c, T, pH, matrix, time, sensor_state) + epsilon"
local_linear_model: "y = y0 + sensitivity * c, only within validated linear region"
concentration_estimate: "c_hat = inverse_calibration(y_corrected), when identifiable"
signal_to_noise: "SNR = signal_amplitude / noise_amplitude, under a stated convention"
lod_convention: "LOD may be estimated using blank variation and calibration slope, but method and multiplier must be declared"
uncertainty: "combine validated uncertainty contributions including calibration, repeatability, drift, sampling and matrix effects"
kinetics: "response_time and binding kinetics may limit measurement before equilibrium"
caveat: "Do not assume every biosensor has a linear response, reversible binding or a universal detection-limit formula"
BOUNDARIES:
validity:
- "Reject concentrations outside validated working range rather than extrapolate silently"
- "Reject stale or invalid calibration and missing reference traceability"
- "Distinguish detection from reliable quantification"
- "Distinguish selectivity from absolute specificity"
- "Account for cross-reactivity, sample matrix and environmental dependence"
- "Treat biological activity and shelf life as time-dependent"
safety:
- "Handle biological samples according to applicable biosafety procedures"
- "Use validated clinical or regulatory workflows where results influence medical, food or environmental decisions"
- "Never substitute inferred values for required confirmatory laboratory tests"
- "Flag potentially hazardous samples and unsuitable operating conditions"
privacy:
- "Protect identifiable patient and sample records; preserve access controls and provenance"
MINI_RECURSION_ENGINE:
seed: "biosensor entity, analyte and measurement intent"
expand: "identify biorecognition, transduction, sample, calibration, controls and environment"
evaluate: "score semantic fit, physical plausibility, quality controls and uncertainty"
recurse: "for each missing or uncertain dependency, request evidence or a bounded submodel"
stop_when: "all mandatory entities and validation constraints are resolved, or uncertainty is explicitly reported"
max_depth: 6
guard: "no invented calibration values, biological specificity or diagnostic claims"
INFERENCE_RULES:
- id: "BIO-001"
if: "recognition_element absent OR transducer absent"
then: "classify as incomplete biosensor assembly"
- id: "BIO-002"
if: "sample_matrix differs from validated calibration matrix"
then: "flag matrix effect and require compatibility evidence"
- id: "BIO-003"
if: "estimated_concentration below LOD"
then: "report not detected under method conditions, not zero concentration"
- id: "BIO-004"
if: "estimated_concentration between LOD and LOQ"
then: "flag detected but not reliably quantified"
- id: "BIO-005"
if: "signal exceeds calibration limits"
then: "flag out of range; do not extrapolate without validated procedure"
- id: "BIO-006"
if: "positive control fails OR blank contamination exceeds acceptance criteria"
then: "invalidate affected measurement batch"
- id: "BIO-007"
if: "baseline drift increases AND sensitivity decreases"
then: "investigate fouling, ageing, degradation and electronics before attributing cause"
- id: "BIO-008"
if: "temperature or pH exceeds qualified limits"
then: "suspend validated reporting until requalification"
- id: "BIO-009"
if: "replicate variability exceeds method acceptance threshold"
then: "flag poor repeatability and repeat quality review"
- id: "BIO-010"
if: "result has medical or safety implications"
then: "require intended-use validation and appropriate professional or confirmatory review"
CONFIDENCE:
basis: ["sensor characterisation", "calibration quality", "matrix match", "control results", "repeatability", "traceability", "uncertainty"]
high: "validated range, suitable controls, traceable standards and bounded uncertainty"
medium: "partial evidence with documented limitations"
low: "unknown matrix, expired calibration, failed controls or unsupported specificity"
rule: "confidence is evidence-dependent and must not be presented as an invented numerical probability"
SEMANTIC_EQUIVALENCE:
exact: ["biosensor", "biological recognition sensor"]
contextual: ["bioanalytical sensor", "biochemical sensor", "biorecognition transducer"]
related_not_identical: ["chemical sensor", "immunoassay", "electrode", "laboratory analyser", "wearable sensor"]
disambiguation: "An assay or standalone bioreceptor is not automatically a complete biosensor"
FLOW_HASH:
algorithm: "SHA-256"
canonicalisation: "UTF-8; stable field order; LF line endings; exclude generated hash value"
value: "compute on publication; not asserted here"
UPDATE_MODEL:
triggers: ["new sensor technology", "revised calibration", "new interference evidence", "changed acceptance criteria", "updated safety standards", "new validation study"]
procedure: ["retain prior version", "record source and date", "reassess affected inference rules", "run consistency tests", "publish revised hash and changelog"]
compatibility: "preserve stable entity identifiers; explicitly version breaking semantic changes"
END_FLOW
Download Code
Copy to Clipboard