Each layer operates in an isolated execution environment. Failures in any single layer — especially the UI — cannot compromise core powertrain safety logic.
| # | Layer | Component | Technology | Isolation |
|---|---|---|---|---|
| L1 | Embedded Powertrain | Pre-Production BMS Firmware (84S HV + 4S LV) | Custom C / RTOS | Full |
| L2 | Simulation Environment | MCU Hardware Emulator | Renode | Full |
| L3 | Communication Bridge | Middleware Protocol Translator | Python / Socket I/O | Process |
| L4 | Control & Safety | VCU Safety Daemon | Native C++ / AAOS | Full |
| L5 | CCS Charging Interface | Linux User-Space SPI Driver + PLC Modem | spidev / ISO 15118 | Full |
| L6 | Application | Dashboard UI | VHAL / Android UI | One-Way IPC |
The UI application layer receives powertrain state via one-way UDP broadcast only. A crash, freeze, or memory corruption in the UI process cannot propagate upstream to affect the VCU safety loop.
The most significant departure from conventional EV design in the EVO architecture.
HV pack failure causes simultaneous 12V collapse. No controlled shutdown. No fault logging. No contactor sequencing.
HV pack failure is fully isolated. LV pack keeps VCU running, coils powered, fault logged. Ordered shutdown executed.
DC Fast Charging via CCS Type 2 demands deterministic, low-latency SPI access — incompatible with the Android HAL's scheduling variability.
Rather than routing PLC modem communication through the standard Android Hardware Abstraction Layer, the EVO VCU daemon implements a direct Linux user-space SPI driver via the native kernel spidev interface.
The SPI bus is configured via ioctl calls at daemon initialization — mode, word length, and clock speed — validated before any charging session begins.
A formally structured machine governing all high-voltage contactor operations. Each transition is conditional, safety-gated, and unidirectional.
Critical constraint: There is no path from STANDBY directly to DRIVE. The PRECHARGE sequence is mandatory, not optional — preventing destructive inrush current that would weld contactors or destroy the motor controller's input stage.