flow "ProcessController" v1.0
# Kireth Research Semantic Library — Engineering Entities / Control System Entities
# Original semantic Flow Algebra model; source-page content not independently verified.
IDENTITY:
id: "engineering.control_system.process_controller"
name: "Process Controller"
class: "ControlSystemEntity > Controller > ProcessController"
definition: "A device or computational function that measures or receives process variables, compares them with required targets, and commands final control elements to regulate an industrial process."
scope: ["continuous control", "discrete control", "regulatory loops", "supervisory interfaces"]
exclusions: ["sensor alone", "actuator alone", "independent safety instrumented function"]
AUTHORS:
originator: "Kireth Research"
collaboration: "Sky — Recursive AI"
language: "en-GB"
SOURCE:
canonical: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/control-system-entities/process-controller-ontology.html"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/control-system-entities/process-controller-ontology.html"
source_status: "URL supplied; page details not independently extracted"
licence_note: "Observe the applicable Kireth Research Open Research Licence and citation requirements."
PURPOSE:
primary: "Represent process-controller structure, operating state, control decisions, verification and failure handling as an explicit semantic flow."
objectives:
- "Regulate process variables within defined operational limits"
- "Trace measurement, setpoint, control computation and final-element command"
- "Detect abnormal inputs, saturation, timing failures and degraded feedback"
- "Separate ordinary process regulation from independent protective functions"
STATE_MODEL:
state S_t = (I_t, R_t, B_t, K_t)
I_t:
measurements: "time-stamped PV values and quality flags"
references: "setpoints, schedules, operator modes and constraints"
actuator_feedback: "valve position, drive speed or other final-element response"
diagnostics: "communications, computation, power and sensor health"
R_t:
control_law: "selected P, PI, PID, cascade, feedforward or model-based rule"
sample_interval: "validated execution period"
tuning: "gains, limits, filtering, tracking and anti-windup settings"
transition_rules: "mode and interlock transition conditions"
B_t:
physical: "equipment capacity, thermal and pressure limits"
operational: "permitted setpoint and output ranges"
informational: "signal validity, latency and freshness bounds"
safety: "hard interlocks and independent protective systems"
K_t:
process_model: "dynamics, dead time, disturbances and operating regions"
historical_state: "previous errors, integral accumulator and previous output"
calibration: "measurement scaling, uncertainty and provenance"
evidence: "alarms, tests, maintenance records and configuration revisions"
modes: ["OFF", "INITIALISING", "MANUAL", "AUTO", "CASCADE", "TRACKING", "DEGRADED", "FAULT", "SAFE_STATE"]
transition_guard: "Only authorised transitions with valid inputs and satisfied interlocks are allowed."
ENTITIES:
ProcessController:
attributes: ["controller_id", "location", "firmware", "control_strategy", "mode", "health"]
ProcessVariable:
attributes: ["tag", "value", "unit", "timestamp", "quality", "uncertainty"]
Setpoint:
attributes: ["target", "unit", "source", "ramp_limit", "permitted_range"]
ControlError:
expression: "e(t) = SP(t) - PV(t)"
ControlOutput:
attributes: ["command", "unit", "minimum", "maximum", "rate_limit"]
FinalControlElement:
examples: ["control valve", "variable-speed drive", "heater", "damper"]
MeasurementChannel:
attributes: ["sensor", "transmitter", "scaling", "quality_flag"]
ControlLoop:
attributes: ["loop_tag", "process", "feedback_path", "cycle_time"]
Interlock:
attributes: ["condition", "priority", "action", "reset_authority"]
Alarm:
attributes: ["cause", "severity", "time", "acknowledgement", "resolution"]
ConfigurationRevision:
attributes: ["version", "authorisation", "effective_time", "audit_record"]
RELATIONSHIPS:
- "ProcessController observes ProcessVariable through MeasurementChannel"
- "ProcessController compares ProcessVariable with Setpoint"
- "ControlError influences ControlOutput through ControlLaw"
- "ControlOutput commands FinalControlElement"
- "FinalControlElement changes Process through physical dynamics"
- "Process produces feedback to MeasurementChannel"
- "Interlock constrains ProcessController and FinalControlElement"
- "ConfigurationRevision governs active tuning and operational limits"
PATHWAYS:
normal_regulation:
sequence: ["acquire_PV", "validate_PV", "read_SP", "compute_error", "apply_control_law", "enforce_limits", "issue_command", "verify_feedback", "record_state"]
success: "PV remains within tolerance and output remains feasible"
manual_control:
sequence: ["authorise_operator", "validate_manual_output", "apply_output_limits", "command_element", "monitor_PV"]
guard: "No manual action may override independent safety protection."
automatic_transfer:
sequence: ["validate_feedback", "track_current_output", "initialise_integrator", "authorise_mode_change", "enable_closed_loop"]
objective: "bumpless transfer where supported by the controller design"
cascade_control:
sequence: ["primary_loop_computes_secondary_SP", "limit_secondary_SP", "secondary_loop_regulates_PV", "verify_both_loops"]
guard: "secondary loop must be healthy before cascade is enabled"
disturbance_rejection:
sequence: ["detect_deviation", "estimate_disturbance", "compute_response", "limit_command", "observe_recovery"]
fault_response:
sequence: ["detect_invalid_measurement_or_control_fault", "classify_severity", "alarm", "apply_approved_fallback", "log_event", "require_authorised_recovery"]
CONTROL_EQUATIONS:
error: "e(t) = r(t) - y(t)"
proportional: "u_P(t) = Kp * e(t)"
proportional_integral: "u_PI(t) = Kp*e(t) + Ki*integral(e(t) dt)"
ideal_pid: "u_PID(t) = Kp*e(t) + Ki*integral(e(t) dt) + Kd*de(t)/dt"
note: "Practical PID implementations require sampling, derivative filtering, output limits and anti-windup."
output_limit: "u_applied = clamp(u_requested, u_min, u_max)"
rate_limit: "abs(u_applied[k] - u_applied[k-1]) <= du_max_per_sample"
tracking_error: "e_tracking = u_applied - u_requested"
sample_age: "age = now - PV_timestamp"
validity: "measurement_valid iff quality_good and age <= age_limit and PV within credible sensor range"
model_warning: "Stability and performance cannot be guaranteed without process-specific analysis and validation."
MINI_RECURSION_ENGINE:
input: "current controller state and newly sampled process evidence"
expand: "E_t = expand(I_t, R_t)"
validate: "V_t = filter(E_t, B_t)"
choose: "a_t = argmax P(a | I_t, R_t, B_t, K_t) over permitted actions"
update: "I_(t+1) = observe(process_response(a_t))"
learn: "K_(t+1) = update(K_t, observations, authorised_configuration_changes)"
terminate: "continue while enabled, valid and within operating constraints"
recursion_guard: "No autonomous tuning or boundary expansion without explicit approval and independent verification."
INFERENCE_RULES:
- if: "PV quality is bad or sample age exceeds permitted latency"
then: "invalidate feedback and enter approved degraded or safe response"
- if: "abs(SP - PV) remains above tolerance longer than settling allowance"
then: "flag persistent regulation error and investigate process or control limitations"
- if: "requested output exceeds physical limits"
then: "clamp output, apply anti-windup and record saturation"
- if: "output is changing but actuator feedback remains stationary"
then: "suspect actuator, communications or feedback failure; verify before diagnosis"
- if: "manual-to-auto transfer is requested"
then: "check feedback, tracking and integrator initialisation before enabling"
- if: "control cycle deadline is missed repeatedly"
then: "flag timing integrity failure and invoke defined fallback"
- if: "interlock is active"
then: "block prohibited commands and preserve the independent protective action"
- if: "oscillation or instability indicators persist"
then: "raise diagnostic warning; do not retune without engineering review"
- if: "sensor calibration expires or traceability is lost"
then: "downgrade confidence and request calibration assessment"
- if: "setpoint source conflicts with authorised operating limits"
then: "reject or constrain setpoint and log the reason"
SAFETY_AND_ASSURANCE:
separation: "Process regulation must not be treated as a substitute for independently designed safety instrumented protection."
fail_state: "Fail-safe actions depend on hazard analysis, plant design and equipment characteristics."
permissions: "Authorise changes to mode, setpoints, tuning and interlock configuration."
verification: ["loop checks", "functional testing", "alarm testing", "communications testing", "restoration testing"]
cybersecurity: ["authenticated access", "change logging", "least privilege", "segmented communications"]
documentation: ["P&IDs", "loop diagrams", "cause-and-effect records", "operating procedures", "maintenance history"]
CONFIDENCE:
model_confidence: "conceptual ontology, not equipment certification"
input_confidence: "derived from calibration, signal quality, timestamps and consistency checks"
inference_confidence: "high for explicit rule matches; reduced for ambiguous faults or unvalidated process models"
uncertainty_policy: "retain units, accuracy classes, uncertainty estimates and unknown values"
evidence_policy: "distinguish observed measurements from inferred failure causes"
SEMANTIC_EQUIVALENCE:
related_terms: ["process control unit", "industrial process controller", "regulatory controller", "loop controller"]
related_entities: ["ControlSystem", "Controller", "ProcessInstrument", "Sensor", "Actuator", "ControlLoop", "Setpoint", "Feedback"]
distinctions:
- "A process controller computes regulatory commands; a transmitter primarily measures and communicates."
- "A PLC or DCS may host process-control functions but is not identical to one control loop."
- "A safety controller performs distinct protective functions with separate assurance requirements."
FLOW_HASH:
algorithm: "SHA-256"
canonicalisation: "UTF-8; normalise line endings; exclude computed hash field"
value: "computed on publication, not asserted in this draft"
UPDATE_MODEL:
version: "1.0"
created: "2026-11-18"
review_triggers: ["source ontology revision", "new control strategy", "standards update", "validated engineering correction"]
change_policy: "version changes, preserve provenance, review safety-related modifications"
status: "original research draft for semantic indexing and refinement"
end flow
Download Code
Copy to Clipboard