flow "Recorder" v1.0
# KIRETH RESEARCH — SEMANTIC LIBRARY / ENGINEERING / INSTRUMENTATION
# Representation: Flow Algebra (plain text; not JSON)
IDENTITY:
canonical_name: "Recorder"
entity_type: "EngineeringInstrumentationEntity"
parent: "InstrumentationEntity"
related: ["MeasurementInstrument", "DataLogger", "ChartRecorder", "EventRecorder", "Transmitter", "Sensor", "Historian"]
definition: "An instrument or system that captures measurements or events and preserves their values with sufficient context for later interpretation."
scope: "Analogue and digital process, laboratory, industrial and condition-monitoring recorders."
AUTHORS:
origin: "Kireth Research Semantic Library"
flow_representation: "Sky — Recursive AI"
licence_note: "Follow the applicable Kireth Research Open Research Licence and attribution requirements."
SOURCE:
ontology_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/instrumentation-entities/recorder-ontology.html"
source_status: "Original derived model; page content not independently verified."
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/instrumentation-entities/recorder-ontology.html"
PURPOSE:
primary: "Describe how a recorder acquires, timestamps, validates, stores and retrieves engineering observations."
secondary: ["Measurement traceability", "Process history", "Fault investigation", "Trend analysis", "Auditability"]
non_goal: "A stored record alone does not establish sensor accuracy or prove a physical cause."
STATE_MODEL:
S = (I, R, B, K)
I: "Current input signals, events, acquisition configuration and recording state"
R: "Sampling, scaling, timestamping, validation, storage and retrieval rules"
B: "Electrical, temporal, memory, accuracy, security and safety boundaries"
K: "Calibration metadata, channel definitions, timebase, provenance and retained history"
operational_states: ["UNCONFIGURED", "READY", "RECORDING", "PAUSED", "BUFFERING", "FAULT", "FULL", "ARCHIVED", "RETIRED"]
transitions:
UNCONFIGURED -> READY: "Configuration and channel validation pass"
READY -> RECORDING: "Authorised start and storage available"
RECORDING -> BUFFERING: "Destination temporarily unavailable; buffer capacity remains"
BUFFERING -> RECORDING: "Destination recovers and queued records are committed"
RECORDING -> PAUSED: "Authorised pause with explicit data-gap marker"
RECORDING -> FULL: "Storage or retention limit reached without permissible rollover"
ANY_ACTIVE -> FAULT: "Unrecoverable acquisition, clock, integrity or hardware error"
RECORDING -> ARCHIVED: "Recording closed and preserved under retention policy"
ENTITIES:
Recorder:
properties: ["recorder_id", "model", "firmware", "channels", "clock", "storage", "retention_policy", "health"]
InputChannel:
properties: ["channel_id", "signal_type", "unit", "range", "sample_rate", "scaling", "filter", "calibration_ref"]
MeasurementSample:
properties: ["channel_id", "value", "unit", "event_time", "capture_time", "quality_flag", "uncertainty"]
EventRecord:
properties: ["event_type", "timestamp", "source", "severity", "payload", "acknowledgement"]
Timebase:
properties: ["clock_source", "synchronisation", "resolution", "offset", "drift", "timezone"]
StorageMedium:
properties: ["capacity", "available_space", "write_integrity", "wear_state", "encryption"]
RecordSet:
properties: ["start_time", "end_time", "schema_version", "checksum", "provenance", "retention_status"]
Operator:
properties: ["identity", "authorisation", "configuration_changes", "audit_actions"]
relationships:
Recorder -> HAS_CHANNEL -> InputChannel
InputChannel -> PRODUCES -> MeasurementSample
Recorder -> GENERATES -> EventRecord
Recorder -> USES -> Timebase
Recorder -> WRITES_TO -> StorageMedium
StorageMedium -> HOLDS -> RecordSet
RecordSet -> CONTAINS -> MeasurementSample
Operator -> CONFIGURES -> Recorder
PATHWAYS:
P01_acquire: "Physical quantity -> sensor/transmitter -> input conditioning -> conversion -> sample"
P02_scale: "Raw sample -> calibration/scaling -> engineering value + unit + uncertainty"
P03_time: "Sample/event -> timebase -> timestamp + clock-quality metadata"
P04_validate: "Sample -> range/quality/integrity checks -> accepted, flagged or rejected record"
P05_store: "Validated record -> buffer -> durable storage -> checksum/commit confirmation"
P06_retrieve: "Record query -> access check -> index -> data + provenance + quality flags"
P07_archive: "Closed record set -> retention classification -> archive -> integrity verification"
P08_diagnose: "Health metrics -> detect missing samples, clock drift, corruption or capacity limits"
P09_recover: "Failure -> bounded retry -> recovery log -> reconcile buffered and committed samples"
MEASUREMENT_MODEL:
sampling_interval: "Delta_t = 1 / f_s for fixed-rate acquisition"
ideal_sample_count: "N_ideal = f_s * duration; actual count depends on interruptions and trigger policy"
scaled_value: "y = gain * x_raw + offset, where linear scaling is applicable"
quantisation_step: "q = (range_max - range_min) / (2^bits - 1) for an inclusive endpoint code model"
bandwidth_constraint: "For a band-limited signal, sampling above twice its highest frequency is necessary but not sufficient without suitable anti-alias filtering"
clock_error: "t_true approximately t_recorded - offset; uncertainty includes drift and synchronisation error"
storage_estimate: "bytes approximately samples * bytes_per_sample + timestamps + metadata + indexing overhead"
completeness: "completeness = valid_expected_samples / expected_samples when an expected schedule is defined"
quality: "Never replace missing or invalid measurements silently with fabricated observations"
MINI_RECURSION_ENGINE:
Et = expand(It, R)
Vt = filter(Et, B)
xt = argmax_x P(x | I, R, B, K)
It_plus_1 = update(It, xt, observation, audit_event)
repeat_until: "Recording completes, an authorised stop occurs, or a boundary requires a safe transition"
recursion_guard: "Bound retries and reprocessing; retain raw records and record transformations"
stages:
1: "Discover channels, timebase, calibration and storage state"
2: "Acquire the next eligible measurement or event"
3: "Validate units, timestamps, quality and acquisition sequence"
4: "Commit records with integrity and provenance metadata"
5: "Assess gaps, capacity, drift, faults and retention requirements"
6: "Adjust only within authorised limits; log all configuration changes"
INFERENCE_RULES:
R01: "IF signal exceeds configured channel range THEN mark out_of_range; do not treat clipped value as exact"
R02: "IF timestamp sequence regresses unexpectedly THEN flag clock_or_order_anomaly"
R03: "IF expected samples are absent THEN create explicit data_gap with start, end and suspected reason"
R04: "IF buffer utilisation exceeds warning threshold THEN warn of possible data loss"
R05: "IF storage commit fails THEN retain bounded buffer where possible and flag uncommitted records"
R06: "IF checksum verification fails THEN quarantine affected record set and preserve evidence"
R07: "IF calibration expires THEN flag measurement validity as requiring review"
R08: "IF clock synchronisation is lost THEN propagate timebase uncertainty to affected records"
R09: "IF data is transformed or resampled THEN preserve source lineage, algorithm and parameters"
R10: "IF retention deadline arrives THEN apply authorised retention policy, subject to legal hold"
R11: "IF recording supports safety-critical decisions THEN use independent protective functions rather than relying solely on recording"
R12: "IF operator changes configuration THEN create timestamped, attributable audit event"
CONFIDENCE:
assessment: "Confidence is conditional on input quality, calibration, timebase, continuity and storage integrity."
high: "Valid calibration, synchronised clock, complete records and verified storage"
medium: "Minor bounded uncertainty or documented gaps without material impact on interpretation"
low: "Unknown calibration, major gaps, untrusted clock, clipped inputs or integrity failures"
unknown: "Evidence insufficient to assess record reliability"
principle: "Distinguish recording integrity from accuracy of the underlying measurement."
SEMANTIC_EQUIVALENCE:
preferred_term: "Recorder"
context_terms: ["Data recorder", "Measurement recorder", "Process recorder", "Chart recorder", "Event recorder", "Data logger"]
distinctions:
data_logger: "Typically a digital device that records samples autonomously; may be a recorder subtype"
chart_recorder: "Recorder that produces a continuous or sampled graphical trace"
historian: "Long-term collection and query system, often aggregating multiple recorders"
indicator: "Displays values; does not necessarily retain historical records"
transmitter: "Communicates measured signals; does not necessarily store them"
SAFETY_AND_GOVERNANCE:
electrical: "Observe isolation, earthing, rated input limits and hazardous-area requirements"
functional: "Do not assume recorder alarms or archives are certified safety instrumented functions"
data_integrity: "Use access control, audit logs, checksums and backups appropriate to criticality"
privacy: "Restrict and minimise personally identifiable data where present"
retention: "Apply documented retention, backup, legal hold and secure disposal rules"
uncertainty: "Display units, uncertainty, timebase quality and quality flags with retrieved values"
FLOW_HASH:
algorithm: "SHA-256 recommended over canonical UTF-8 flow content"
value: "UNCOMPUTED — compute after final publication and exclude this value from its own digest"
canonicalisation: "Normalise line endings and encoding before hashing"
UPDATE_MODEL:
version: "1.0"
status: "Original semantic engineering model"
revision_triggers: ["New instrument class", "Calibration policy change", "Timebase model change", "Storage or retention update", "New safety requirement"]
compatibility: "Preserve stable entity IDs and explicit schema migration rules"
validation: ["Syntax review", "Domain review", "Measurement traceability review", "Safety review", "Source alignment review"]
publication_rule: "Verify against the linked ontology before claiming source-exact equivalence"
end flow
Download Code
Copy to Clipboard