Vehicle Control Unit — VCU

CAD view of a black rectangular controller enclosure with two multipin connectors along one edge and mounting holes at its corners.
The VCU enclosure model, showing the external connectors and mounting points. The enclosure view does not identify the processor or board revision inside.

The Vehicle Control Unit (VCU) coordinates the electrical side of Project sEVen. It reads what the driver wants, listens to the other devices and decides what the system should do next. It is the place where “I pressed the throttle” has to become something rather more carefully considered.

What it does

The VCU firmware keeps track of voltages, currents, motor speed, temperatures and device states. It also records when information arrived and whether it was valid. Freshness matters: a perfectly sensible value from several seconds ago may be the wrong basis for the next decision.

It combines those checks into permissions and sequences. Before requesting torque from the inverter, the rest of the powertrain needs to be in the appropriate state. Charging has its own conditions and sequence.

What it talks to

The CAN bus networks connect the VCU to devices including the TDCDC, inverter, BMS, power delivery module and voltage/current shunt. FOCCCI is part of the charging integration described in December.

The VCU is a coordinator, not the component that physically converts the battery’s power. That job belongs to the TDCDC and inverter; the motor turns electrical power into motion.

Local connections

Local connections only. Solid arrows show power or shaft connections; dotted arrows show measurements, signalling or communications. Arrowheads indicate the relationship shown, not a completed test.

Local connection diagram for Vehicle Control Unit — VCU. The neighbouring components and interfaces are described in the surrounding text and linked below.
Local connections. Solid arrows show power or shaft connections; dotted arrows show measurements, signalling or communications.

Software and the bench

The firmware runs on STM32 hardware, as shown in the charging sequence diagram. It has finite Flash and RAM, which became rather obvious when I tried to fit the real BMS integration alongside all the diagnostics.

The test runner exercises the bench while the software and AI workflow supports development and review. In the December update, the main code elements had been created except for charging. That does not mean every path had finished testing.

Component directory · Glossary · Powertrain overview