flow "VehicleControlUnit" v1.0
# Kireth Research Semantic Library — Flow Algebra
IDENTITY:
name: "Vehicle Control Unit"
class: "AutomotiveEngineeringEntity > ElectronicControlSystem > VehicleControlUnit"
domain: [automotive_engineering, embedded_systems, control_engineering, vehicle_electronics]
definition: "An embedded electronic controller that acquires vehicle signals, evaluates control logic, coordinates subsystems and commands actuators within defined operating and safety constraints."
AUTHORS:
primary: "Mark Higgins — Kireth Research"
collaborator: "Sky — Recursive AI"
licence: "Kireth Open Research Licence — free reuse with citation required"
SOURCE:
ontology_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/automotive-engineering-entities/vehicle-control-unit-ontology.html"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/automotive-engineering-entities/vehicle-control-unit-ontology.html"
provenance: "Original engineering-domain semantic model; not a verified extraction of the linked ontology page."
PURPOSE:
- Represent vehicle control units as typed, traceable entities.
- Describe sensor-to-controller-to-actuator pathways and network dependencies.
- Support reasoning about control states, faults, degraded modes and diagnostics.
- Separate observed facts, inferred conditions and unverified hypotheses.
- Preserve functional safety, cybersecurity and configuration provenance.
STATE_MODEL:
S = (I, R, B, K)
I: "Inputs: sensor measurements, network messages, driver requests, power state, software configuration and diagnostic observations."
R: "Rules: control algorithms, arbitration logic, signal plausibility, state transitions, fault handling and communication protocols."
B: "Boundaries: hardware ratings, timing deadlines, operating envelope, actuator limits, safety constraints and authorisation."
K: "Knowledge: architecture, calibration, validated requirements, fault history, test evidence and configuration versions."
lifecycle: [specified, designed, implemented, integrated, validated, deployed, monitored, serviced, retired]
operating_states: [off, booting, initialising, ready, active, limited_operation, diagnostic, faulted, safe_state, shutdown]
transitions:
- "off -> booting: authorised power-up"
- "booting -> initialising: boot integrity checks pass"
- "initialising -> ready: dependencies and plausibility checks pass"
- "ready -> active: enabling conditions and requests satisfied"
- "active -> limited_operation: recoverable fault or reduced availability"
- "active -> safe_state: safety-relevant fault requiring risk reduction"
- "any_operational_state -> shutdown: authorised shutdown sequence"
ENTITIES:
VehicleControlUnit:
attributes: [unit_id, manufacturer, part_number, hardware_revision, software_version, calibration_version, role, power_supply, operating_state, diagnostic_status]
relations: [contains_processor, executes_software, receives_signal, sends_command, communicates_with, controls_subsystem]
ControllerHardware:
components: [microcontroller, memory, clock, power_management, watchdog, input_output, communication_transceiver, protection_circuit]
attributes: [supply_voltage, current_draw, temperature_range, processing_capacity, memory_capacity, environmental_rating]
ControllerSoftware:
components: [bootloader, operating_system_or_scheduler, application_logic, diagnostics, communication_stack, calibration_data]
attributes: [build_id, integrity_status, version, update_status, validation_record]
Sensor:
examples: [wheel_speed, accelerator_position, brake_pressure, steering_angle, temperature, current, voltage, inertial_measurement]
attributes: [signal_id, unit, sampling_rate, valid_range, quality_flag, timestamp]
Actuator:
examples: [motor_inverter_request, throttle_actuator, hydraulic_valve, cooling_pump, relay, contactor]
attributes: [command_id, command_range, feedback_signal, response_time, fail_safe_behaviour]
VehicleNetwork:
examples: [CAN, CAN_FD, LIN, Automotive_Ethernet]
attributes: [bus_id, topology, message_id, priority, cycle_time, timeout, authentication_policy]
ControlFunction:
attributes: [function_id, objective, inputs, outputs, enabling_conditions, control_period, safety_requirements]
DiagnosticTroubleCode:
attributes: [code, detection_condition, occurrence_count, freeze_frame, status, clearing_policy]
SafetyRequirement:
attributes: [requirement_id, hazard_reference, safety_goal, allocated_function, verification_evidence]
CybersecurityRequirement:
attributes: [requirement_id, threat_reference, trust_boundary, access_policy, verification_evidence]
Calibration:
attributes: [parameter_id, value, unit, permitted_range, variant, approval_status]
FirmwareUpdate:
attributes: [package_id, target_hardware, target_software, authenticity_status, compatibility, rollback_policy]
PATHWAYS:
P01_Sensing: "Physical condition -> sensor -> conditioning -> sampled input -> quality assessment."
P02_Control: "Validated input -> state estimation -> control law -> arbitration -> bounded actuator request."
P03_Feedback: "Actuator response -> measured feedback -> error evaluation -> control correction."
P04_Coordination: "Local controller -> vehicle network -> peer controller -> acknowledgement or timeout."
P05_Diagnostics: "Monitor -> fault detection -> debouncing -> diagnostic code -> warning or mitigation."
P06_Safety: "Hazardous deviation -> safety monitor -> inhibit or limit command -> verified safe-state transition."
P07_Update: "Authenticated update -> compatibility check -> installation -> integrity verification -> commissioning."
P08_Service: "Service request -> authorised diagnostic access -> recorded intervention -> post-service verification."
CONSTRAINTS:
- "Do not issue commands outside validated actuator and operating limits."
- "Reject, substitute or safely degrade on stale, implausible or invalid signals according to validated requirements."
- "Enforce scheduling and end-to-end response deadlines for time-critical functions."
- "Maintain isolation between functions where required by safety architecture."
- "Use independent monitoring or redundancy where required by the hazard analysis."
- "Preserve authenticated access, software integrity and traceable update provenance."
- "Treat loss of communications, power instability and watchdog resets as explicit fault conditions."
- "Do not infer a vehicle is safe solely because no diagnostic trouble code is stored."
- "Any physical safety conclusion requires validated vehicle-specific engineering evidence."
MEASURES:
control_loop_period: "seconds per control iteration"
end_to_end_latency: "seconds from sensed event to effective actuator response"
jitter: "variation in execution or message timing"
signal_age: "elapsed time since last valid measurement"
fault_detection_time: "time between fault onset and detection"
fault_reaction_time: "time between detection and mitigation"
processor_load: "percentage of available processing capacity"
network_utilisation: "percentage of communication channel capacity"
supply_voltage: "volts at controller input"
controller_temperature: "degrees Celsius"
diagnostic_coverage: "fraction of relevant failure modes detected under stated assumptions"
MINI_RECURSION_ENGINE:
state: "S_t = (I_t, R_t, B_t, K_t)"
expand: "E_t = expand(I_t, R_t)"
validate: "V_t = {x in E_t | satisfies(x, B_t) and evidence_supported(x, K_t)}"
select: "x_star = argmax_x P(x | I_t, R_t, B_t, K_t), x in V_t"
update: "I_(t+1) = incorporate(I_t, x_star, observations, provenance)"
stop: "Stop when the control objective is satisfied, no safe action exists or a validated safe state is required."
recursion_guard: "Bound iterations, execution time and authority; never allow semantic inference to override certified safety logic."
INFERENCE_RULES:
R01: "IF power is present AND integrity checks pass THEN boot may proceed to initialisation."
R02: "IF a required sensor is stale THEN mark its measurement invalid and apply the defined fallback."
R03: "IF redundant sensors disagree beyond validated tolerance THEN raise a plausibility fault."
R04: "IF an actuator command exceeds its permitted range THEN clamp or reject according to the safety specification."
R05: "IF actuator feedback deviates persistently from command THEN investigate actuation or sensing fault."
R06: "IF a network message exceeds its timeout THEN invalidate dependent control data."
R07: "IF watchdog servicing fails THEN trigger the configured recovery or safe-state response."
R08: "IF processor or communication load threatens a deadline THEN prioritise safety-critical tasks and record the condition."
R09: "IF supply voltage falls outside the qualified range THEN transition according to the undervoltage or overvoltage strategy."
R10: "IF thermal limits are approached THEN apply validated derating or shutdown logic."
R11: "IF a fault is safety-relevant THEN select the mitigation allocated by the hazard analysis."
R12: "IF a diagnostic code is present THEN treat it as evidence of a detected condition, not proof of root cause."
R13: "IF software and calibration versions are incompatible THEN inhibit commissioning."
R14: "IF firmware authenticity or integrity verification fails THEN reject the update."
R15: "IF a controller loses a required peer dependency THEN evaluate degraded-operation or safe-state requirements."
R16: "IF a repair is completed THEN require applicable post-service verification before return to operation."
R17: "IF control output is proposed from uncertain evidence THEN preserve uncertainty and avoid unsafe autonomous actuation."
R18: "IF a safety requirement changes THEN reassess dependent functions, tests and traceability."
CONFIDENCE:
levels: [verified, high, moderate, low, unknown]
verified: "Supported by traceable vehicle-specific measurements, approved requirements or validation evidence."
high: "Supported by multiple consistent observations within a qualified operating envelope."
moderate: "Plausible inference with incomplete coverage or uncertain dependencies."
low: "Weakly supported interpretation or unverified model assumption."
unknown: "Insufficient information to assign confidence."
rule: "Carry source, timestamp, variant, operating conditions and uncertainty with each assertion."
SEMANTIC_EQUIVALENCE:
canonical: "Vehicle Control Unit"
near_terms: [automotive_control_unit, vehicle_ECU, embedded_vehicle_controller, electronic_control_module]
related_not_equivalent: [engine_control_unit, body_control_module, transmission_control_unit, battery_management_system, gateway_module, domain_controller, vehicle_computer]
disambiguation: "Vehicle Control Unit is a broad class; a particular ECU or domain controller has a specific allocated function and architecture."
FLOW_HASH:
method: "SHA-256 over canonical UTF-8 content excluding the hash value itself"
value: "COMPUTE_ON_PUBLICATION"
UPDATE_MODEL:
triggers: [hardware_revision, software_update, calibration_change, new_diagnostic_evidence, safety_requirement_change, network_architecture_change, cybersecurity_finding]
process:
- "Record the change request and affected controller variants."
- "Review dependencies, interfaces, safety and cybersecurity implications."
- "Update entities, pathways, constraints and inference rules."
- "Verify against traceable requirements and available test evidence."
- "Version the flow, recompute publication hash and preserve previous revisions."
rollback: "Restore the last verified semantic version when evidence or validation fails."
governance: "Human engineering approval required for safety-critical deployment decisions."
END_FLOW
Download Code
Copy to Clipboard