flow "InstrumentLoop" v1.0
# Kireth Research Semantic Library — Engineering / Instrumentation Entities
IDENTITY:
id: "engineering.instrumentation.instrument_loop"
name: "Instrument Loop"
type: "EngineeringInstrumentationEntity"
domain: "Process measurement, instrumentation and control"
version: "1.0"
language: "en-GB"
AUTHORS:
research: "Kireth Research"
collaboration: "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/instrumentation-entities/instrument-loop-ontology.html"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/instrumentation-entities/instrument-loop-ontology.html"
provenance: "Original domain-grounded Flow Algebra representation; source page content not independently verified."
PURPOSE:
definition: "Represent the connected instrumentation path that measures a process variable, conveys its signal and optionally drives indication, control or final actuation."
objectives: ["identify loop elements", "validate signal and power paths", "trace measurement to control action", "diagnose loop faults", "support safe commissioning"]
scope: ["open-loop measurement", "closed-loop process control", "analogue and digital instrument links"]
exclusions: ["assuming all loops are closed-loop controllers", "treating safety instrumented functions as ordinary control loops"]
STATE_MODEL:
state S(t) = (I(t), R(t), B(t), K(t))
I(t): "Observed measurements, signals, commands, status and alarms at time t"
R(t): "Instrument interconnections, signal mappings and causal relationships"
B(t): "Physical, operational, calibration and safety boundaries"
K(t): "Instrument specifications, configuration, test records and uncertainty"
expand E(t) = expand(I(t), R(t))
viable V(t) = {x in E(t) | satisfies(x, B(t))}
select x*(t) = argmax_x P(x | I(t), R(t), B(t), K(t)) for x in V(t)
update I(t+1) = observe_and_validate(x*(t), I(t))
lifecycle: ["designed", "installed", "commissioned", "operating", "degraded", "isolated", "maintained", "retired"]
status: ["healthy", "suspect", "failed", "unknown"]
ENTITIES:
InstrumentLoop:
attributes: ["loop_id", "service", "process_variable", "measurement_range", "engineering_units", "loop_type", "location", "revision", "status"]
Process:
attributes: ["process_id", "variable", "normal_range", "safe_limits", "dynamics"]
PrimaryElement:
examples: ["orifice plate", "thermowell", "level probe", "pressure tapping"]
Sensor:
attributes: ["sensor_type", "range", "accuracy", "response_time", "failure_modes"]
Transmitter:
attributes: ["input_type", "output_type", "lower_range_value", "upper_range_value", "calibration", "diagnostics"]
SignalPath:
attributes: ["source", "destination", "medium", "signal_type", "shielding", "isolation", "termination"]
examples: ["4–20 mA", "0–10 V", "pulse", "HART", "fieldbus", "industrial Ethernet"]
PowerSupply:
attributes: ["voltage", "current_capacity", "polarity", "protection", "earth_reference"]
Controller:
attributes: ["control_mode", "setpoint", "algorithm", "output_limits", "manual_auto_state"]
Indicator:
attributes: ["displayed_value", "units", "scaling", "alarm_annunciation"]
FinalControlElement:
examples: ["control valve", "variable-speed drive", "heater", "damper"]
attributes: ["command", "position_feedback", "fail_position", "travel_limits"]
LoopDrawing:
attributes: ["drawing_number", "revision", "terminals", "cable_numbers", "I/O_channels"]
CalibrationRecord:
attributes: ["reference_standard", "as_found", "as_left", "uncertainty", "date", "traceability"]
Alarm:
attributes: ["limit", "priority", "delay", "acknowledgement", "response"]
PATHWAYS:
measurement:
sequence: "process variable -> primary element -> sensor -> transmitter -> signal path -> receiving input"
result: "time-stamped measurement with units, quality and provenance"
indication:
sequence: "receiving input -> scaling -> display or historian"
condition: "engineering units and range mapping agree"
control:
sequence: "measurement -> controller comparison with setpoint -> output -> final control element -> process response -> measurement"
condition: "closed-loop control is explicitly present and authorised"
commissioning:
sequence: "verify drawings -> inspect wiring -> verify supply -> test continuity/isolation -> simulate inputs -> verify output mapping -> document results"
fault_diagnosis:
sequence: "detect abnormal value -> inspect quality/status -> verify power -> check field signal -> check input scaling -> isolate fault domain -> retest"
maintenance:
sequence: "authorise work -> establish safe state -> isolate as required -> calibrate or repair -> restore -> functional test -> record"
ENGINEERING_RELATIONS:
connectivity: "connected(A,B) only when terminals, conductor continuity and interface types are validated"
range_mapping: "for a linear 4–20 mA transmitter, PV = LRV + ((I_mA - 4)/16)*(URV - LRV)"
inverse_mapping: "I_mA = 4 + 16*(PV - LRV)/(URV - LRV)"
validity: "range mapping requires URV != LRV and a configured linear transfer function"
loop_power: "available supply voltage must exceed sum of device drops and I*total_loop_resistance at maximum operating current"
uncertainty: "combine independent standard uncertainties by root-sum-square only when assumptions hold; otherwise account for covariance"
dynamics: "observed response reflects sensor lag, signal filtering, controller dynamics and actuator response"
signal_quality: "measurement value is distinct from diagnostic status, stale-data state and communication quality"
MINI_RECURSION_ENGINE:
input: "loop identity, drawing, observed signals, operating conditions and known limits"
steps:
- "identify components and expected process-to-output relationships"
- "expand connected paths and possible fault hypotheses"
- "filter hypotheses using power, range, continuity and safety boundaries"
- "rank remaining explanations against observations and test evidence"
- "request the next safe discriminating measurement"
- "update loop knowledge and repeat until acceptance criteria or escalation threshold"
stop_conditions: ["verified normal operation", "confirmed fault", "unsafe condition", "insufficient evidence", "authorised handover"]
INFERENCE_RULES:
- id: "IL-001"
if: "measured current is below configured valid low limit"
then: "flag possible under-range, open circuit or transmitter fault; distinguish by device-specific diagnostics"
- id: "IL-002"
if: "measured current exceeds configured valid high limit"
then: "flag possible over-range, wiring or transmitter fault; inspect diagnostic configuration"
- id: "IL-003"
if: "input changes at transmitter but not at controller"
then: "investigate cable, terminals, barriers, channel and scaling before blaming the process"
- id: "IL-004"
if: "field value is stable but controller value oscillates"
then: "inspect sampling, filtering, grounding, communication and controller configuration"
- id: "IL-005"
if: "output command changes but final element feedback does not"
then: "investigate actuator supply, interlocks, positioner, mechanical obstruction and feedback path"
- id: "IL-006"
if: "loop drawing and installed terminal assignment disagree"
then: "mark configuration mismatch; require verification before energising or modifying wiring"
- id: "IL-007"
if: "instrument calibration is overdue or traceability absent"
then: "degrade confidence in quantitative readings pending authorised assessment"
- id: "IL-008"
if: "signal is stale, invalid or diagnostic-bad"
then: "do not treat numerical display as confirmed process truth"
- id: "IL-009"
if: "proposed test could move hazardous equipment or defeat a protective function"
then: "block automatic execution and require approved procedure, isolation and competent authorisation"
BOUNDARIES_AND_SAFETY:
- "Never bypass an interlock, trip or safety instrumented function as a routine diagnostic shortcut."
- "Apply site permit-to-work, isolation and lockout requirements before intrusive testing."
- "Account for hazardous-area equipment certification, barriers and intrinsic-safety limits where applicable."
- "Observe electrical shock, stored energy, process pressure, temperature and moving-machinery hazards."
- "A safety instrumented function requires separate lifecycle and integrity verification; do not infer SIL from a generic instrument loop."
- "Confirm polarity, loop loading, grounding and isolation before connecting test equipment."
- "Treat device-specific fault current conventions as configuration-dependent, not universal constants."
CONFIDENCE:
evidence_levels:
high: "recent calibrated measurements, verified drawings, diagnostics and successful functional tests agree"
medium: "some observations corroborated but installation or calibration evidence incomplete"
low: "single ambiguous reading, missing documentation or unresolved signal-quality fault"
scoring_factors: ["source reliability", "calibration validity", "signal quality", "independent corroboration", "configuration currency", "test coverage"]
rule: "confidence is evidence-based and must not be presented as a certified probability without validation"
SEMANTIC_EQUIVALENCE:
preferred_term: "instrument loop"
related_terms: ["measurement loop", "instrumentation loop", "process instrument loop", "control loop", "signal loop"]
distinctions:
- "instrument loop may provide monitoring without feedback control"
- "control loop explicitly includes feedback and a controller"
- "electrical current loop is a signal interface, not necessarily the whole instrument loop"
- "safety instrumented function is a separately governed protective function"
FLOW_HASH:
method: "SHA-256 over canonical UTF-8 content excluding the FLOW_HASH value itself"
value: "compute-on-publication"
purpose: "detect unexpected changes and associate revisions with published artefacts"
UPDATE_MODEL:
version: "1.0"
revision_triggers: ["instrument replacement", "range change", "wiring modification", "control strategy change", "calibration update", "new fault evidence", "standard or safety requirement change"]
update_process: "record source -> validate engineering change -> revise entities/pathways -> retest rules -> increment version -> publish with citation"
preserve: ["canonical source URL", "revision history", "test evidence", "safety boundaries"]
END_FLOW
Download Code
Copy to Clipboard