flow "ActuatorCommand" v1.0
# KIRETH RESEARCH — SEMANTIC LIBRARY / ENGINEERING ENTITY GRAPH
# Original Flow Algebra representation; not a verified extraction of the linked page.
IDENTITY:
id: engineering.actuator.command
label: "Actuator Command"
category: "Engineering Entities / Actuator Entities"
definition: "An authorised instruction requesting an actuator to adopt a specified operating state, position, velocity, force, torque or action."
distinct_from: [actuator_state, actuator_feedback, measured_position, control_error]
AUTHORS:
research: "Kireth Research"
collaboration: "Sky — Recursive AI"
SOURCE:
ontology_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/actuator-entities/actuator-command-ontology.html"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/actuator-entities/actuator-command-ontology.html"
derivation: "Original domain-informed Flow Algebra model; source page content not independently verified."
licence_note: "Observe the source publisher's Open Research Licence and citation requirements."
PURPOSE:
primary: "Represent, validate, route, execute and audit actuator commands."
objectives: [semantic_interoperability, command_traceability, safe_actuation, state_consistency, fault_diagnosis]
non_goal: "A command is not proof that physical movement occurred."
STATE_MODEL:
S_t: (I_t, R_t, B_t, K_t)
I_t: "Command identity, target, origin, timestamp, sequence and requested value."
R_t: "Links to controller, actuator, operating mode, feedback and interlocks."
B_t: "Permitted range, slew rate, timing, authority, safety and resource limits."
K_t: "Actuator capabilities, calibration, operating context and prior outcomes."
lifecycle: [created, validated, authorised, queued, dispatched, acknowledged, executing, completed, rejected, timed_out, cancelled, failed]
transitions:
created -> validated: "Schema, units and target are valid."
validated -> authorised: "Requester permissions and interlocks permit execution."
authorised -> dispatched: "Communications channel and actuator are available."
dispatched -> acknowledged: "Receiving endpoint confirms receipt; not necessarily execution."
acknowledged -> executing: "Actuator reports execution start or motion is observed."
executing -> completed: "Feedback satisfies completion criterion within tolerance and deadline."
any_nonterminal -> rejected: "Invalid, unsafe or unsupported request."
any_nonterminal -> timed_out: "Deadline exceeded without required evidence."
any_nonterminal -> cancelled: "Cancellation accepted before or during execution where supported."
any_nonterminal -> failed: "Confirmed inability to achieve the command."
ENTITIES:
ActuatorCommand:
fields: [command_id, target_actuator_id, command_type, setpoint, unit, coordinate_frame, direction, mode, issued_at, deadline, sequence_number, priority, issuer_id, authority, status]
CommandType:
values: [enable, disable, move_absolute, move_relative, set_velocity, set_force, set_torque, open, close, hold, stop, emergency_stop, reset]
Actuator:
fields: [actuator_id, technology, rated_limits, current_mode, availability, health]
Controller:
fields: [controller_id, control_policy, safety_state, active_command]
CommandEnvelope:
fields: [correlation_id, protocol, checksum, signature, expiry, acknowledgement_policy]
Setpoint:
fields: [value, unit, reference_frame, tolerance, resolution]
Feedback:
fields: [actual_value, unit, sampled_at, validity, uncertainty, health]
Interlock:
fields: [interlock_id, condition, status, required_action]
ExecutionRecord:
fields: [command_id, accepted_at, started_at, ended_at, result, evidence, fault_code]
PATHWAYS:
P01_command_creation: "requester -> command envelope -> syntax and unit validation"
P02_authorisation: "validated command -> identity and permission check -> safety interlock evaluation"
P03_limit_enforcement: "setpoint -> physical range check -> rate and acceleration limits -> admissible target"
P04_dispatch: "authorised command -> sequence control -> actuator interface -> acknowledgement"
P05_execution: "actuator drive -> physical response -> sensor feedback -> convergence assessment"
P06_exception: "stale, duplicated, conflicting or invalid command -> reject or safe hold -> event record"
P07_recovery: "fault detection -> controlled stop or designated safe state -> inspection -> authorised reset"
P08_audit: "command identity -> event timestamps -> feedback evidence -> immutable provenance record"
DOMAIN_RULES:
setpoint_error: "e(t) = r(t) - y(t), where r is requested setpoint and y is measured response in compatible units."
position_completion: "abs(position_feedback - position_target) <= position_tolerance, sustained for required settling interval."
velocity_completion: "abs(velocity_feedback - velocity_target) <= velocity_tolerance, with valid sensor data."
time_validity: "issued_at <= evaluated_at <= deadline, subject to clock uncertainty."
rate_limit: "abs(r_t - r_previous) / delta_t <= permitted_slew_rate for delta_t > 0."
capability: "Requested mode and quantity must be supported by the addressed actuator."
feedback_requirement: "Acknowledgement alone cannot establish completion; use measured feedback or explicitly documented open-loop criteria."
stop_semantics: "Normal stop, protective stop and emergency stop have distinct, design-specific semantics."
safety_boundary: "Software checks complement but do not replace independent hardware protection where required."
MINI_RECURSION_ENGINE:
initialise: "Read S_t and incoming command."
expand: "E_t = expand(I_t, R_t): enumerate target, authority, dependencies, interlocks and feedback paths."
filter: "V_t = {x in E_t | schema_valid(x) and authorised(x) and within_bounds(x) and interlocks_clear(x)}."
choose: "x_star = argmax P(x | I_t, R_t, B_t, K_t), restricted to safe admissible actions."
execute: "Dispatch x_star only after explicit safety and mode checks."
observe: "Acquire acknowledgement, sensor feedback, timestamps and fault status."
update: "I_(t+1) = update(I_t, observation, outcome); retain audit evidence."
terminate: "Complete, reject, cancel or fail; do not recurse indefinitely on a stalled command."
retry_policy: "Retries require idempotency or explicit deduplication; never assume repeating a move is harmless."
INFERENCE_RULES:
R01: "IF target_actuator_id is unknown THEN reject(command, unknown_target)."
R02: "IF setpoint.unit is incompatible with actuator.quantity THEN reject(command, unit_mismatch)."
R03: "IF requested_setpoint exceeds rated limits THEN reject(command, out_of_range)."
R04: "IF safety_interlock is active THEN inhibit motion and invoke defined safe response."
R05: "IF command is expired or sequence is stale THEN reject(command, stale_request)."
R06: "IF command_id was previously processed THEN return recorded result; do not blindly re-execute."
R07: "IF active commands conflict THEN resolve by defined arbitration policy; never infer priority from arrival order alone."
R08: "IF acknowledgement missing after deadline THEN mark communication timeout; physical state remains uncertain."
R09: "IF feedback invalid THEN prohibit feedback-based completion claims and apply safe fallback policy."
R10: "IF position error remains above tolerance beyond settling deadline THEN mark tracking fault."
R11: "IF actuator reports overtemperature, overload or end-stop violation THEN stop or inhibit according to risk assessment."
R12: "IF requested mode differs from current mode THEN require permitted mode transition before dispatch."
R13: "IF emergency stop is active THEN reject ordinary motion commands until authorised reset conditions are met."
R14: "IF communication recovers after timeout THEN reconcile actual actuator state before issuing further motion."
R15: "IF command completed THEN preserve correlation between request, response and measured evidence."
CONFIDENCE:
model_confidence: "Domain-informed ontology; not a certified functional-safety specification."
evidence_levels:
high: "Calibrated, timestamped feedback plus matching actuator acknowledgement and healthy diagnostics."
medium: "Reliable acknowledgement with partial or indirect response evidence."
low: "Command transmitted without verified acknowledgement or response."
uncertainty_sources: [sensor_noise, network_latency, clock_skew, backlash, hysteresis, load_variation, actuator_saturation]
guardrail: "Unknown physical state must not be represented as successful execution."
SEMANTIC_EQUIVALENCE:
aliases: [actuation_command, actuator_control_request, motion_command, drive_command, actuator_setpoint_request]
related_but_distinct: [control_signal, actuator_state, setpoint, control_loop, safety_interlock, motion_profile]
mapping_notes:
"open/close": "May represent binary valve or damper requests; physical direction depends on configuration."
"move": "Requires explicit absolute/relative semantics and coordinate reference."
"enable": "Permission to operate is not a request for movement."
"stop": "Must not be treated as interchangeable with emergency stop."
FLOW_HASH:
method: "SHA-256 over canonical UTF-8 content in the publishing pipeline."
value: "UNCOMPUTED_AT_AUTHORING; populate after final canonicalisation."
hash_scope: "Versioned Flow Algebra payload, excluding mutable publication metadata."
UPDATE_MODEL:
version: "1.0"
update_triggers: [actuator_capability_change, safety_policy_revision, protocol_change, new_fault_evidence, ontology_revision]
change_control: "Increment version, retain prior version and revalidate inference and safety rules."
provenance: "Record editor, date, source URL and change summary for each revision."
END_FLOW
Download Code
Copy to Clipboard