SEGULA Technologies · Final-year project · 2026
CAN-FD battery management test bench
I built an STM32 firmware emulator and a Linux supervision path to exercise BMS-style temperature telemetry, state transitions, and fault handling on a bench.
Read the case study
A timer gates the application loop at 10 Hz. The firmware filters analog readings, estimates temperature and its rate of change, and packs the health state into an eight-byte CAN-FD telemetry frame. A UART status line exposes the decoded fields and frame counters during bring-up.
On the Pi, SocketCAN receives the frames and the backend decodes them using a DBC file. FastAPI serves the React dashboard and streams live updates over WebSocket. The bench also supports commands for repeatable fault-handling tests.
I wrote Python and shell tooling for test execution and data capture, and documented the bench setup and validation procedures.