Releases: justkuchkorov/bms
Releases · justkuchkorov/bms
BMS Digital Twin - v1.1.0 (Vehicle Networking Upgrade)
What's New in v1.1.0
This release upgrades the BMS digital twin from a standalone monitor to a fully networked vehicle component.
- CAN Bus Simulation: Implemented an active broadcasting system (
sendCANFrame) that translates physical floating-point telemetry (Voltage, SoC) into standard 8-byte hexadecimal CAN frames. - Hexadecimal Data Packing: Scaled 0-5V analog readings and 0-100% SoC integrations into single-byte representations (0-255) to maximize bus bandwidth efficiency.
- Network Identifier: Configured default broadcasting on standard battery data ID
0x620.
BMS Digital Twin - v1.0.0 (Production Release)
Overview
Initial production release of the Battery Management System (BMS) Digital Twin. This firmware simulates hardware-level telemetry polling, real-time safety cutoffs, and State of Charge (SoC) estimation for a lithium-ion battery pack.
Live Simulation
https://wokwi.com/projects/459317716940232705
Key Features
- Telemetry Engine: Real-time polling of ADC pins for Voltage, Current, and Temperature.
- Hardware Safety Bouncer: Hardcoded Over-Voltage (4.2V) and Under-Voltage (3.0V) limits triggering an instantaneous digital contactor shutdown (Pin 13).
- SoC Estimation: Implemented continuous Coulomb Counting algorithm (integration of current over time) to calculate precise battery percentage dynamically.
Result
