flow "InstrumentChannel" v1.0
# KIRETH RESEARCH — SEMANTIC LIBRARY
# Original Flow Algebra representation; source page not independently verified.
IDENTITY:
id: "engineering.instrumentation.instrument_channel"
name: "Instrument Channel"
type: "EngineeringInstrumentationEntity"
parent: "Instrumentation Entities"
definition: "A defined pathway by which a measured variable or instrument signal is acquired, conditioned, transmitted, converted, recorded or delivered to a receiving system."
scope: ["analogue input", "analogue output", "digital input", "digital output", "measurement acquisition", "signal transmission"]
AUTHORS:
research: "Kireth Research"
collaboration: "Sky — Recursive AI"
licence: "Open Research Licence — attribution and citation required"
SOURCE:
ontology_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/instrumentation-entities/instrument-channel-ontology.html"
source_status: "URL supplied; live ontology content not independently verified"
representation: "Original domain-informed Flow Algebra, not a verbatim page extraction"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/instrumentation-entities/instrument-channel-ontology.html"
PURPOSE:
- "Represent instrument channels as identifiable, testable signal pathways."
- "Connect physical measurements to acquisition hardware and downstream consumers."
- "Support channel configuration, calibration, diagnostics and traceability."
- "Separate channel health from the validity of the measured process value."
STATE_MODEL:
state S_t = (I_t, R_t, B_t, K_t)
I_t: "Observed input signal, channel settings, timestamps and diagnostic observations"
R_t: "Electrical, metrological, communication and configuration relationships"
B_t: "Permitted voltage/current, bandwidth, isolation, timing and safety boundaries"
K_t: "Instrument metadata, calibration records, signal specifications and channel history"
expand E_t = expand(I_t, R_t)
validate V_t = {x in E_t | conforms(x, B_t) and evidence_supported(x, K_t)}
select x_star = argmax(x in V_t) P(x | I_t, R_t, B_t, K_t)
update I_(t+1) = integrate(I_t, x_star, evidence_t)
lifecycle: ["specified", "configured", "commissioned", "active", "degraded", "faulted", "isolated", "maintained", "retired"]
transition_guard: "No transition to active without required configuration, electrical checks and applicable calibration verification."
ENTITIES:
InstrumentChannel:
attributes: ["channel_id", "instrument_tag", "channel_type", "direction", "status", "sample_rate", "latency", "resolution", "accuracy_spec", "calibration_status"]
relations: ["belongs_to_instrument", "receives_from_source", "connects_to_terminal", "feeds_consumer", "has_signal", "uses_conditioner", "has_calibration", "has_fault"]
ChannelInput:
attributes: ["source_id", "signal_type", "nominal_range", "physical_units", "reference_potential", "source_impedance"]
ChannelOutput:
attributes: ["destination_id", "engineering_units", "output_range", "update_rate", "quality_flag"]
SignalConditioner:
attributes: ["gain", "offset", "filter_bandwidth", "isolation_rating", "excitation", "linearisation"]
AcquisitionConverter:
attributes: ["adc_bits", "reference_voltage", "sampling_frequency", "quantisation_step", "anti_alias_filter"]
ChannelConfiguration:
attributes: ["input_mode", "range_low", "range_high", "scaling", "alarm_thresholds", "filter_settings", "configuration_version"]
ChannelDiagnostic:
attributes: ["fault_code", "signal_quality", "last_good_sample", "diagnostic_timestamp", "evidence", "severity"]
CalibrationRecord:
attributes: ["reference_standard", "as_found", "as_left", "uncertainty", "date", "validity", "operator"]
ChannelNetwork:
attributes: ["wiring", "shielding", "grounding", "multiplexing", "protocol", "address", "redundancy"]
PATHWAYS:
measurement_path:
"measurand -> sensor/transducer -> instrument signal -> channel input -> conditioning -> conversion -> engineering-unit value -> consumer"
analogue_current_path:
"process variable -> transmitter -> 4–20 mA loop -> input burden/receiver -> scaled value -> quality check"
digital_path:
"sensor state -> input threshold/debounce -> channel state -> timestamp -> logic consumer"
calibration_path:
"reference input -> observed channel output -> comparison -> correction or rejection -> documented result"
diagnostic_path:
"raw signal -> plausibility/range/timing checks -> fault classification -> alarm or safe response"
traceability_path:
"channel ID -> instrument tag -> cable/terminal -> I/O module -> controller tag -> process record"
PHYSICAL_AND_SIGNAL_RULES:
linear_scaling:
formula: "y = y_low + (x - x_low)*(y_high - y_low)/(x_high - x_low)"
precondition: "x_high != x_low; linear channel configured and verified"
current_loop_4_20mA:
formula: "PV = LRV + ((I_mA - 4)/16)*(URV - LRV)"
note: "Out-of-range and fault-current thresholds are device/configuration specific; do not equate all sub-4 mA readings with a single fault."
quantisation:
ideal_step: "q = (V_high - V_low)/2^N for an ideal N-bit converter using 2^N code bins"
note: "Actual ADC transfer, endpoint conventions, effective bits and noise must be specified."
sampling:
rule: "For a band-limited signal, sample above twice the highest retained frequency and provide adequate anti-alias filtering."
uncertainty:
rule: "Combine applicable standard uncertainty components with correlations where relevant; do not assume independent errors."
channel_integrity:
rule: "Check continuity, common-mode limits, isolation, supply compliance, grounding, shielding and permissible load."
timestamp_integrity:
rule: "Associate values with acquisition time and clock-quality metadata; detect stale, duplicated and missing samples."
MINI_RECURSION_ENGINE:
input: "channel specification, measurements, diagnostics and calibration history"
steps:
- "Resolve channel identity, type, signal direction and intended process variable."
- "Expand links to source, conditioner, converter, terminals and consumer."
- "Check configuration consistency and operating boundaries."
- "Convert raw input to engineering units only when scaling is valid."
- "Compare observed values, quality flags and timestamps with expected behaviour."
- "Classify plausible faults and identify required verification evidence."
- "Update channel state with provenance and confidence."
stop_when: "No new supported relationships or diagnostics are produced, or iteration/time limit is reached."
guarantee: "Terminates under finite entity set and bounded iterations; does not guarantee physical fault isolation."
INFERENCE_RULES:
- id: "IC-01"
if: "channel configuration references a non-existent source or destination"
then: "flag unresolved connectivity; do not infer a working measurement path"
- id: "IC-02"
if: "raw input outside configured valid operating range"
then: "mark value out-of-range; preserve raw reading and diagnostic context"
- id: "IC-03"
if: "channel reading remains unchanged while independently verified stimulus varies beyond expected deadband"
then: "suspect stuck channel, sensor, wiring or acquisition fault; require discrimination tests"
- id: "IC-04"
if: "input signal is plausible but scaled output inconsistent with configured transfer function"
then: "suspect scaling or configuration error"
- id: "IC-05"
if: "measurement timestamps exceed permitted age"
then: "set stale-data flag and prohibit use as current measurement where required"
- id: "IC-06"
if: "noise exceeds channel tolerance or aliasing is plausible"
then: "investigate shielding, grounding, filtering, sample rate and source noise"
- id: "IC-07"
if: "calibration expired or verification evidence absent"
then: "flag metrological status unverified; do not automatically claim the channel inaccurate"
- id: "IC-08"
if: "channel overload, unsafe common-mode voltage or insulation defect detected"
then: "initiate applicable safe-state procedure; require qualified inspection"
- id: "IC-09"
if: "redundant channels disagree beyond justified tolerance"
then: "flag discrepancy; do not select a supposedly correct channel without independent evidence"
- id: "IC-10"
if: "recorded channel identifier conflicts with wiring or I/O assignment"
then: "flag traceability mismatch and block automatic reconciliation"
CONFIDENCE:
factors: ["reference quality", "calibration validity", "signal-to-noise", "configuration consistency", "time synchronisation", "diagnostic coverage", "independent corroboration"]
levels:
high: "Verified configuration, current traceable calibration and consistent independent checks"
medium: "Plausible measurement with partial verification or limited diagnostic evidence"
low: "Missing traceability, conflicting observations or unresolved channel fault"
principle: "Confidence is evidential, not a substitute for measurement uncertainty or functional-safety integrity."
SEMANTIC_EQUIVALENCE:
aliases: ["instrument I/O channel", "measurement channel", "DAQ channel", "analogue input channel", "digital input channel"]
distinctions:
- "Instrument channel is not necessarily the sensor or the entire instrument loop."
- "Signal path describes a route; channel also includes identity, configuration and status."
- "Accuracy, resolution, precision and uncertainty are not interchangeable."
- "Redundant channels are not necessarily independent if they share power, wiring or common-mode failure mechanisms."
SAFETY_AND_VALIDATION:
- "Never bypass protective interlocks or safety-instrumented functions to validate a channel."
- "Use rated isolation and test equipment; observe electrical and process hazards."
- "Preserve original readings and audit logs before applying corrections."
- "Require competent review for safety-critical channel mapping and fault response."
- "Use applicable device manuals, site procedures and standards for acceptance limits."
FLOW_HASH:
method: "SHA-256 of canonicalised flow text, excluding the FLOW_HASH value"
value: "COMPUTE_ON_PUBLICATION"
integrity_rule: "Recompute after every substantive change; never claim an uncomputed digest."
UPDATE_MODEL:
version: "1.0"
status: "Original draft for ontology mapping"
review_triggers: ["new instrument type", "channel reassignment", "calibration update", "diagnostic evidence", "revised signal specification", "safety requirement change"]
provenance: "Preserve source URL, editor, revision date, change rationale and evidence links."
compatibility: "Keep entity identifiers stable where possible; document breaking schema changes."
END_FLOW
Download Code
Copy to Clipboard