Vehicle Control Systems

You remove the charging cable, you turn the key, you press the start button, you press a pedal. Now you are zooming down the road. A lot happens in the low-voltage control systems to ensure you are safe and comfortable on your journeys at all times.

I have designed my own controllers, put them in a car that I have built and drove all across the British Isles. You can benefit from what I have learnt without any exposure to dangerous high voltage.

Multiple devices communicate via the CAN bus with each other. Your Battery Management System talks to control modules every 100ms and the Electric Drivetrain propels you forward, while being constantly monitored.

Vehicle State Machine

Reducing errors by structuring code

Separating control logic into states in the firmware is the only way to reason about them effectively, a structure enables manufacturers to find dangerous bugs.

Rendering of OpenInverter mini board
  • Understand CAN communication
  • Master vehicle states
  • Learn about control system tasks

1) (video coming)