flow "Setpoint" v1.0
# KIRETH RESEARCH — SEMANTIC LIBRARY
# Domain: Engineering Entities / Control System Entities
# Format: UTF-8 plain text; Flow Algebra (not JSON)
IDENTITY:
entity: "Setpoint"
entity_type: "ControlReferenceEntity"
domain: "ControlEngineering"
version: "1.0"
language: "en-GB"
status: "original semantic representation"
AUTHORS:
research: "Kireth Research"
collaboration: "Sky — Recursive AI"
licence: "Open Research Licence; attribution and source citation required"
SOURCE:
ontology_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/control-system-entities/setpoint-ontology.html"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/control-system-entities/setpoint-ontology.html"
verification: "The live ontology page has not been verified; this is an original technical model."
PURPOSE:
definition: "A setpoint is a specified target value or trajectory for a controlled variable, used by a controller to calculate corrective action."
objectives: ["represent target values", "track provenance and authority", "validate operating constraints", "compare target and measured values", "manage transitions safely"]
exclusions: ["a setpoint is not a measured process value", "a setpoint is not itself an actuator command", "setpoint acceptance does not establish process safety"]
STATE_MODEL:
state S(t):
id: unique_identifier
loop_id: control_loop_reference
variable: controlled_quantity
target: r(t)
target_unit: engineering_unit
measured_value: y(t)
error: e(t) = r(t) - y(t)
source: operator | recipe | scheduler | supervisory_system | optimisation | local_control
authority: permission_and_priority
operating_mode: manual | automatic | cascade | remote | maintenance | shutdown
validity: valid | rejected | stale | pending | superseded
limits: [minimum, maximum]
rate_limit: maximum_change_per_second
timestamp: timestamp_utc
quality: good | uncertain | bad
revision: integer
transition:
requested -> validated -> authorised -> active -> superseded
requested -> rejected
active -> held_on_fault
active -> safe_fallback_on_interlock
invariants:
- "The target and measured value must have compatible physical dimensions."
- "Only authorised sources may change an active setpoint."
- "Validated targets remain within configured engineering limits."
- "A safe state is defined by the plant hazard analysis, not inferred from zero output."
ENTITIES:
Setpoint:
attributes: [identifier, target, unit, timestamp, source, revision, status]
ControlledVariable:
attributes: [measurement, unit, quality, sampling_period]
Controller:
attributes: [algorithm, mode, tracking_state, output_limits]
Actuator:
attributes: [command, actual_position, saturation_state]
SetpointConstraint:
attributes: [lower_bound, upper_bound, ramp_rate, interlock, operating_envelope]
SetpointAuthority:
attributes: [actor, role, priority, approval, audit_record]
SetpointSchedule:
attributes: [time, target_trajectory, interpolation, expiry]
SafetySystem:
attributes: [independent_trip_limits, permissives, safe_state]
relations:
- "Setpoint targets ControlledVariable"
- "Controller compares Setpoint with ControlledVariable"
- "Controller commands Actuator"
- "SetpointConstraint bounds Setpoint"
- "SetpointAuthority authorises Setpoint changes"
- "SafetySystem may override normal control independently"
PATHWAYS:
pathway "OperatorSetpointChange":
input: [requested_target, engineering_unit, operator_identity]
stages: [authenticate, verify_control_mode, convert_units, check_limits, check_interlocks, apply_ramp, activate, audit]
output: [accepted_or_rejected, active_target, event_record]
pathway "ClosedLoopRegulation":
input: [active_setpoint, measured_process_value]
stages: [validate_measurement_quality, compute_error, calculate_control_action, enforce_output_limits, apply_command, monitor_response]
output: [tracking_error, actuator_command, diagnostics]
pathway "CascadeSetpoint":
input: [primary_controller_output, secondary_loop_limits]
stages: [verify_cascade_mode, validate_source, clamp_or_reject, track_secondary_setpoint, monitor_saturation]
output: [secondary_setpoint, tracking_status]
pathway "ScheduledTrajectory":
input: [time_indexed_targets, interpolation_policy]
stages: [validate_schedule, check_rate_limits, calculate_r(t), apply_permissions, publish_target]
output: [time_varying_setpoint, schedule_status]
pathway "FaultFallback":
input: [sensor_fault, communications_loss, interlock_trip, controller_fault]
stages: [detect, classify, inhibit_unsafe_changes, invoke_approved_fallback, notify, log]
output: [fallback_state, alarm, audit_record]
CONTROL_RELATIONS:
tracking_error: "e(t) = r(t) - y(t), for consistent units and sign conventions"
proportional_action: "u_P(t) = Kp * e(t)"
integral_action: "u_I(t) = Ki * integral(e(t) dt)"
derivative_action: "u_D(t) = Kd * de(t)/dt; often derivative is applied to measurement to avoid setpoint kick"
bounded_target: "r_valid = clamp(r_requested, r_min, r_max) only if clamping is an approved policy; otherwise reject"
rate_limit: "abs(r_active[k] - r_active[k-1]) <= R_max * delta_t"
tracking_deviation: "d(t) = abs(r(t) - y(t))"
settling_condition: "d(t) <= tolerance over a specified dwell interval, when process dynamics permit"
notes:
- "Control error is not a direct measure of sensor accuracy or process safety."
- "Controller tuning, sampling, saturation, deadband and process delay affect tracking."
- "Ramp rates and bounds are application-specific engineering values, not universal constants."
MINI_RECURSION_ENGINE:
initialise:
context: [plant_configuration, controller_mode, current_setpoint, measured_value, constraints, source_authority]
candidate: requested_setpoint
recurse:
step_1: "Validate identity, unit, source authority and timestamp."
step_2: "Check target against process limits and current safety interlocks."
step_3: "Determine whether a ramp, hold, rejection or approved fallback is required."
step_4: "Predict control impact using an appropriate validated plant model if available."
step_5: "Apply the authorised transition and observe actual process response."
step_6: "Compare measured behaviour with target and diagnostics; update state and audit trail."
stop_when: ["target accepted and monitored", "target rejected", "interlock active", "quality insufficient", "iteration budget reached"]
guarantee: "The recursion provides structured checks, not guaranteed convergence or physical safety."
INFERENCE_RULES:
rule "OutOfRange":
if: "requested_target < lower_bound OR requested_target > upper_bound"
then: "reject_or_approved_clamp; raise range diagnostic"
rule "UnauthorisedChange":
if: "source lacks permission for selected operating mode"
then: "reject; retain previous approved setpoint; log attempt"
rule "UnitMismatch":
if: "requested_unit incompatible with controlled_variable.unit"
then: "reject until an unambiguous conversion exists"
rule "TrackingDeviation":
if: "abs(error) > configured_tolerance for longer than configured_dwell"
then: "raise deviation alarm; inspect sensor, actuator, tuning and disturbances"
rule "ExcessiveStep":
if: "requested_target change exceeds allowed rate"
then: "schedule approved ramp or reject"
rule "SensorInvalid":
if: "measurement quality is bad or stale"
then: "suspend confidence in tracking; invoke plant-approved response"
rule "ActuatorSaturation":
if: "controller output at limit while tracking error persists"
then: "flag saturation; apply validated anti-windup where supported"
rule "InterlockTrip":
if: "safety interlock active"
then: "inhibit ordinary setpoint execution and defer to independent protection"
rule "StaleRemoteCommand":
if: "remote request expired or superseded"
then: "reject and preserve latest authorised active state"
CONFIDENCE:
basis: ["source integrity", "calibration quality", "measurement freshness", "model validity", "control mode", "operating envelope"]
levels:
high: "authorised target, healthy feedback, verified limits, current configuration"
medium: "valid target with incomplete diagnostics or uncertain model"
low: "stale data, missing authority, inconsistent units or active fault"
policy: "Never assign numerical confidence without evidence and a defined estimation method."
SEMANTIC_EQUIVALENCE:
related_terms: ["reference value", "target value", "commanded process value", "desired value", "reference trajectory"]
distinctions:
- "Setpoint differs from process variable (PV), which is measured or estimated."
- "Setpoint differs from manipulated variable (MV), which is applied to the plant."
- "Setpoint differs from safety trip threshold, which belongs to protective logic."
- "A schedule of targets is a setpoint trajectory, not a single static target."
FLOW_HASH:
scheme: "SHA-256 of canonical UTF-8 Flow Algebra text at publication"
value: "UNASSIGNED — calculate after final canonicalisation"
rule: "Do not fabricate a digest or treat this placeholder as a verified hash."
UPDATE_MODEL:
triggers: ["ontology revision", "engineering-limit change", "controller-mode change", "new safety evidence", "new control-system integration"]
revision_policy: "Record change reason, reviewer, timestamp and prior version."
verification: ["validate units", "test transitions", "check access controls", "review hazard analysis", "test fault handling", "confirm source attribution"]
publication: "Preserve the source URL and citation backlink in every revision."
END_FLOW
Download Code
Copy to Clipboard