Charger Overview
The Charger repository contains the Arduino-based (Teensy) firmware that safely manages the High Voltage (HV) charging process of the Formula Student car.
It ensures that the charging circuit only closes if all hardware interlocks and safety mechanisms are validated, preventing damage to the accumulator and keeping personnel safe.
System Architecture
- Sensing: The system relies on hardwired physical signals, such as the Shutdown Circuit (SDC) OK signal, a Start Button, and a Precharge completion comparator.
- Communication: Over the CAN bus, it continuously monitors safety status and fault metrics broadcasted by the Battery Management System (BMS).
- Processing: A Finite State Machine (FSM) tracks the system's current step in the charging sequence (Idle -> Precharge -> Wait -> Charging), immediately jumping to a Fault state if any conditions fail.
- Actuation: Output control is given to the AIR+ (Accumulator Isolation Relay), AIR-, and the Precharge relay.
