Inspiration What if the smartest move in a race is taking your foot off the accelerator?
At BC Hacks, our team took on a 22-lap electric endurance challenge. We had to figure out where a driver could give up a little speed to save energy for later. The part we kept coming back to was the driver’s side of that problem. Coming into a corner, you have time for a quick cue. The math has to happen somewhere else.
What it does Silicon Okanagan tells a driver when to lift off the accelerator and coast before a braking zone. It uses the car’s speed, track position, and energy use to decide when to cue the driver. If the battery voltage is predicted to drop too far under load, it can also ask the driver to lift. The cue comes through an LED and buzzer, so the driver can keep their attention on the track.
How we built it We used a Bellman optimization approach to plan lift-and-coast decisions for 10 braking zones per lap across 22 laps. We packed the resulting strategy into a compressed lookup table on an ESP32-S3. The firmware reads telemetry 10 times a second, picks a coast duration based on the remaining energy budget, and uses the car’s speed to work out when to give the cue.
Challenges we ran into Having energy left in the battery and being able to draw power from it are two different problems. The pack can still have energy while its voltage drops under hard acceleration. We had to account for both how much energy the car had left for the race and what the battery could handle in the moment. We also had to make a strategy with thousands of possible energy states practical to look up on a microcontroller.
Accomplishments that we're proud of Our favorite part is how much thought goes into one little light. Behind that cue are 220 possible decision points across the race, an estimate of how the battery behaves under load, and a calculation of how far away the next braking zone is. We brought those pieces together in firmware that gives the driver one clear action at a time.
What we learned A coast duration is only useful if the driver knows exactly when to start. Even a simple instruction like “coast for one second” has to adapt to speed. At higher speed, that same second starts farther from the corner. Building the cue made us think about the strategy from the driver’s seat, one braking zone at a time.
What's next for Silicon Okanagan We want to put a driver in a simulator and see what happens when they react late, miss a cue, or drive a lap differently from the model. We’d compare lap times and battery reserve with and without the cues, and ask the driver which signals they actually noticed. That would tell us where to spend our next round of work.