flow "ControlledVariable" v1.0
# Kireth Research — Semantic Library / Engineering Entity Graph
# Original Flow Algebra representation; source page content not independently verified.
IDENTITY:
name: "Controlled Variable"
category: "Engineering / Control System Entities"
type: "ControlSystemVariable"
definition: "A process quantity selected for regulation or tracking by a control system."
distinction: "A controlled variable is the regulation target; a manipulated variable is adjusted to influence it."
units: "Declared engineering units specific to the physical quantity"
AUTHORS:
research: "Kireth Research"
collaborator: "Sky — Recursive AI"
licence: "Open Research Licence; citation required"
SOURCE:
url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/control-system-entities/controlled-variable-ontology.html"
provenance: "Concept-derived original modelling; not a verified extraction of source HTML"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/control-system-entities/controlled-variable-ontology.html"
PURPOSE:
primary: "Represent the measured or estimated quantity a controller seeks to regulate."
secondary: ["Track deviation from a setpoint", "Preserve units and uncertainty", "Link disturbances and manipulated inputs", "Diagnose unsafe or unreliable control"]
non_goals: ["Guarantee closed-loop stability without a plant model", "Replace independent safety systems"]
STATE_MODEL:
S(t) = (I(t), R(t), B(t), K(t))
I(t):
variable_id: str
variable_kind: enum[temperature, pressure, level, flow, speed, position, composition, other]
measured_value: number?
estimated_value: number?
setpoint: number?
engineering_unit: str
timestamp: datetime
quality: enum[good, uncertain, bad, stale, unavailable]
uncertainty: number?
sampling_period_s: number?
process_mode: enum[manual, automatic, cascade, shutdown, maintenance]
R(t):
measured_by: "Sensor / transmitter / estimator"
regulated_by: "Controller or control algorithm"
influenced_by: "Manipulated variable through process dynamics"
disturbed_by: "External or internal disturbance"
constrained_by: "Operational limits and safety limits"
B(t):
lower_operating_limit: number?
upper_operating_limit: number?
lower_safety_limit: number?
upper_safety_limit: number?
maximum_rate_of_change: number?
data_freshness_limit_s: number?
allowed_units: list[str]
K(t):
plant_model: "Known dynamics or identified transfer/state-space model, if available"
calibration_record: "Traceable sensor calibration, if available"
alarm_policy: "Configured independently of ordinary control where required"
control_objective: "Regulation, tracking, or constraint satisfaction"
ENTITIES:
ControlledVariable:
properties: [identity, quantity, unit, current_value, setpoint, quality, uncertainty, limits, timestamp]
relations: [hasMeasurement, hasSetpoint, isRegulatedBy, isAffectedBy, hasConstraint, hasHistory]
ProcessVariable:
distinction: "Any measurable process quantity; may or may not be controlled"
ManipulatedVariable:
distinction: "Input adjusted by controller, such as valve position or heater power"
DisturbanceVariable:
distinction: "Influence not directly commanded by this control loop"
Setpoint:
distinction: "Desired target value or trajectory for the controlled variable"
Sensor:
role: "Provide observations, with quality and uncertainty"
Controller:
role: "Calculate action using target, observation, and configured control law"
Actuator:
role: "Apply control action to the physical process"
ProcessPlant:
role: "Transform manipulated inputs and disturbances into process response"
PATHWAYS:
observe:
input: [sensor_signal, timestamp, calibration, channel_status]
steps: [validate_source, convert_units, apply_calibration, estimate_uncertainty, assess_freshness]
output: [observed_value, quality, uncertainty]
regulate:
input: [setpoint, observed_value, controller_state, operating_limits]
steps: [check_mode, calculate_error, evaluate_control_law, enforce_output_limits, command_actuator]
output: [manipulated_input_command, command_status]
verify:
input: [command, subsequent_measurements, expected_dynamics]
steps: [check_response_window, compare_model_response, detect_stiction_or_saturation, classify_deviation]
output: [tracking_status, diagnostic_evidence]
alarm:
input: [observed_value, safety_limits, quality, persistence_time]
steps: [evaluate_limit_breach, reject_stale_or_invalid_as_proof_of_safety, apply_alarm_policy, notify_operator]
output: [alarm_state, evidence_log]
update:
input: [new_measurement, new_setpoint, approved_configuration]
steps: [validate, timestamp, update_state, preserve_history, re_evaluate_constraints]
output: [new_state, audit_event]
PHYSICAL_AND_CONTROL_RELATIONS:
tracking_error: "e(t) = r(t) - y(t), for matched units and sign convention"
controlled_output: "y(t) = G[u(t), d(t), initial_state], where G denotes process dynamics"
linear_model_example: "Y(s) = Gp(s)U(s) + Gd(s)D(s), under LTI assumptions"
closed_loop_example: "T(s) = C(s)Gp(s) / (1 + C(s)Gp(s)), unity negative feedback, ideal measurement"
error_integral: "IAE = integral(abs(e(t)) dt) over an explicitly stated evaluation interval"
rate: "dy/dt; numerical derivative only when sampling and noise permit"
caution: "Model equations are conditional abstractions, not universal physical laws."
MINI_RECURSION_ENGINE:
initialise: "Read I, R, B, K; reject missing identity or incompatible units"
expand: "E(t) = expand(I(t), R(t)) -> sensors, controller, actuator, plant, disturbances"
filter: "V(t) = {x in E(t) | unit_consistent(x) and within_authorised_boundaries(x)}"
select: "x*(t) = argmax_x P(x | I(t), R(t), B(t), K(t)) subject to evidence and safety"
update: "I(t+1) = reconcile(I(t), x*(t), fresh_measurements, quality_flags)"
stop: "Stop on convergence, deadline, insufficient evidence, or unsafe state"
invariant: "No inferred value may silently replace a validated measurement"
INFERENCE_RULES:
- id: CV_001
if: "variable has setpoint and closed-loop controller mapping"
then: "classify as actively controlled when loop mode is automatic and enabled"
- id: CV_002
if: "abs(setpoint - measured_value) exceeds configured tracking tolerance for configured dwell time"
then: "flag persistent control deviation"
- id: CV_003
if: "measurement timestamp exceeds freshness limit"
then: "mark observation stale; prohibit normal-quality classification"
- id: CV_004
if: "measurement unit differs from setpoint unit and no validated conversion exists"
then: "reject error calculation"
- id: CV_005
if: "actuator command is saturated and error remains persistent"
then: "flag limited control authority; inspect load and disturbances"
- id: CV_006
if: "sensor quality bad or unavailable"
then: "mark controlled variable unverified and invoke configured fallback"
- id: CV_007
if: "controlled variable exceeds a safety limit"
then: "trigger safety escalation according to independently validated protection logic"
- id: CV_008
if: "measurement changes while actuator command is constant"
then: "consider disturbance or process dynamics; do not assert a single cause"
- id: CV_009
if: "two redundant sensors disagree beyond combined tolerance"
then: "raise discrepancy and request diagnostic confirmation"
- id: CV_010
if: "controlled variable exhibits sustained oscillation"
then: "investigate tuning, delays, nonlinearity, noise, and interacting loops"
CONFIDENCE:
evidence_levels:
high: "Calibrated measurement, current timestamp, consistent independent corroboration"
medium: "Plausible measurement with bounded uncertainty or model-based support"
low: "Stale, uncalibrated, conflicting, or indirect evidence"
calculation: "confidence = quality_weight * freshness_weight * calibration_weight * consistency_weight"
policy: "Do not equate confidence with probability of safety or guaranteed correctness"
SEMANTIC_EQUIVALENCE:
aliases: ["controlled process variable", "regulated variable", "controlled output", "CV"]
context_sensitive: ["process variable", "output variable"]
not_equivalent: ["setpoint", "manipulated variable", "disturbance", "controller output"]
disambiguation: "A process variable becomes a controlled variable only in a declared control objective."
FLOW_HASH:
method: "SHA-256 of canonical UTF-8 Flow Algebra content excluding the FLOW_HASH value"
value: "computed_at_publication"
note: "Placeholder; calculate after canonicalisation, never treat as a completed checksum"
UPDATE_MODEL:
version: "1.0"
review_triggers: ["Ontology revision", "Plant-model change", "Sensor replacement", "Controller retuning", "Safety-limit change", "New failure evidence"]
change_policy: "Preserve provenance, version history, unit definitions, and approved configuration"
validation: ["Schema consistency", "Units", "Physical bounds", "Time freshness", "Rule conflicts", "Safety review"]
citation_required: true
END_FLOW
Download Code
Copy to Clipboard