Skip to the content
2 layers195 × 182.5 mmBMS 4 8, the printed circuit board in 3D

ESP32-based EV Battery Management System with EKF SoC estimation, CAN communication, passive cell balancing, and fault protection.

Size
195 × 182.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
51
Nets
71
Pads
194
Tracks, vias
439, 1
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
5 Sep 2026
Updated
5 Sep 2026

Overview

BMS 4 8 is an open-source printed circuit board by Shreeichchha, from the Shreeichchha/EV-Battery-Management-System- repository on GitHub, published under the MIT licence. It is a 2-layer board of 195 × 182.5 mm with 51 parts on 71 nets, routed with 439 tracks and 1 via.

It is built around the TJA1042T/3/1J, ADS1115IDGS and DS18B20, with the IRF3205 among its other parts. Its parts include 23 resistors, 8 ICs, 7 capacitors, 5 transistors and 5 connectors. It belongs with the power boards and the ESP32 boards of this library.

Main components

4

README

README.md

EV Battery Management System with EKF-Based SoC Estimation & CAN Communication

An ESP32-based Battery Management System (BMS) for lithium-ion battery packs, featuring real-time battery monitoring, Extended Kalman Filter (EKF) based State of Charge estimation, passive cell balancing, fault protection, and CAN bus communication.

Developed as a Minor Project at the Department of Electronics and Computer Engineering, Institute of Engineering, Thapathali Campus.


Project Overview

This project focuses on the design and implementation of a modular Battery Management System for monitoring and protecting lithium-ion battery packs.

The system continuously monitors cell voltage, pack current, and temperature and uses an Extended Kalman Filter (EKF) to estimate the battery State of Charge (SoC). Thermal compensation is incorporated to improve SoC estimation under varying temperature conditions.

The BMS also provides passive cell balancing, automatic fault detection, MOSFET-based battery isolation, CAN communication, and a TFT-based monitoring interface.


Key Features

  • Real-time cell voltage, current, and temperature monitoring
  • EKF-based State of Charge (SoC) estimation
  • Temperature-aware SoC compensation
  • Passive cell balancing
  • Overvoltage and undervoltage protection
  • Overcurrent and overtemperature protection
  • MOSFET-based battery isolation / kill switch
  • CAN bus communication
  • TFT-based real-time monitoring
  • Fault detection and alert system
  • Custom-designed BMS and display PCBs

Extended Kalman Filter

A lightweight two-state Extended Kalman Filter is implemented for real-time SoC estimation on the ESP32.

The EKF tracks:

  • State of Charge (SoC)
  • RC polarization voltage

The algorithm combines battery model predictions with measured terminal voltage and current to continuously correct the estimated SoC.

Experimental thermal characterization is also incorporated into the estimation process to account for temperature-dependent battery behavior.


CAN Communication

The BMS transmits battery information over the CAN bus for communication with external monitoring and vehicle systems.

CAN messages include:

  • State of Charge
  • Pack voltage
  • Pack current
  • Individual cell voltages
  • Battery temperature
  • Fault status

Protection & Cell Balancing

The system continuously checks the battery for abnormal operating conditions such as:

  • Overvoltage
  • Undervoltage
  • Overcurrent
  • Overtemperature
  • Sensor faults
  • CAN communication faults

Critical battery faults activate the MOSFET-based isolation circuit to disconnect the battery pack.

Passive cell balancing is used during charging to reduce voltage imbalance between cells.


Hardware

  • ESP32-WROOM-32
  • ADS1115 16-bit ADC
  • INA219 Current Sensor
  • DS18B20 Temperature Sensors
  • CAN Communication Module
  • IRF3205 MOSFETs
  • PC817 Optocoupler
  • TFT Display
  • 4S Lithium-Ion Battery Pack
  • Passive Cell Balancing Circuit

Software & Tools

  • Arduino IDE
  • C/C++
  • MATLAB
  • Python
  • KiCad
  • Proteus Design Suite

Repository Structure

text
EV-Battery-Management-System/
│
├── Firmware/
│   ├── bms_updated.ino
│   └── display_side_updated.ino
│
├── Hardware/
│   ├── main_bms/
│   ├── display_board/
│   └── Proteus/
│
├── Docs/
│   ├── Battery Management System.pdf
│   └── Slide of BMS.pdf
│
└── README.md

Testing & Results

The project involved:

  • Battery capacity characterization
  • Thermal discharge testing
  • Battery model parameter characterization
  • Circuit simulation
  • Schematic and PCB design
  • Custom PCB fabrication
  • Real-time battery monitoring
  • CAN communication testing
  • Fault-condition testing
  • Hardware prototype implementation

The completed system demonstrated real-time battery monitoring, EKF-based SoC estimation, CAN communication, and hardware protection on a functional BMS prototype.


Applications

  • Light Electric Vehicles (LEVs)
  • Electric three-wheelers
  • Retrofitted electric vehicles
  • Stationary solar energy storage
  • Battery testing and research platforms
  • Educational laboratory systems

Future Improvements

  • Machine-learning-based SoC and SoH estimation
  • Predictive fault detection
  • Active cell balancing
  • Regenerative braking integration
  • Cloud-based battery monitoring

Team

Pramisha Rai
Samiksha Dhakal
Shreeichchha K.C.
Shristi Mallik

Supervisor

Er. Suwarna Lingden

Department of Electronics and Computer Engineering
Institute of Engineering, Thapathali Campus


Documentation

The complete project report and presentation slides are available in the Docs folder.


Developed as a Minor Project for the Bachelor of Engineering program at IOE, Thapathali Campus.

Parts

51
QtyValueFootprintReferences
9RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2, R3, R4, R5, R6, R7, R8, R22
410KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR12, R15, R18, R20
4330Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR9, R11, R14, R17
439Resistor_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P15.24mm_HorizontalR13, R16, R19, R21
4CCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mmC1, C2, C3, C4
4NPNPackage_TO_SOT_THT:TO-92_WideQ2, Q3, Q4, Q5
4PC817Package_DIP:DIP-4_W7.62mmU4, U5, U6, U7
10.1uFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC7
110kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR10
110uFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC6
12200uFCapacitor_THT:CP_Radial_D16.0mm_P7.50mmC5
14.7KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR24
1ADS1115IDGSADS1115_MODULE:ADS1115U1
1Bridge RectifierDiode_THT:Diode_Bridge_Round_D9.8mmD1
1CAN LinesTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-4-5.08_1x04_P5.08mm_HorizontalJ6
1Conn_01x04_SocketTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-5-5.08_1x05_P5.08mm_HorizontalJ1
1DS18B20TerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-3-5.0-H_1x03_P5.00mm_HorizontalJ2
1ESP32 DEVKIT CADS1115_MODULE:ESP32-DEVKITCJ5
1FuseFuse:Fuseholder_Clip-5x20mm_Littelfuse_519_Inline_P20.60x5.00mm_D1.00mm_Horizontal5A1
1INA219AxDADS1115_MODULE:INA219_ModuleU2
1IRF3205Package_TO_SOT_THT:TO-220-3_VerticalQ1
1LM7805_TO220Package_TO_SOT_THT:TO-220-3_VerticalU3
1Load TerminalTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalLoadTerminal1
1TJA1042T-3MCP2515:MCP2515U13
1Transformer (Output)TerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-3-5.0-H_1x03_P5.00mm_HorizontalJ4

More from Shreeichchha/EV-Battery-Management-System-

1
  • 2 layers187.5 × 70 mmBMS DisplaySide, the printed circuit board in 3D

    BMS DisplaySide

    Shreeichchha/EV-Battery-Management-System-

    ESP32-based EV Battery Management System with EKF SoC estimation, CAN communication, passive cell balancing, and fault protection.

    5 parts1MIT

Similar boards

  • 2 layers90 × 53.4 mmOpenOx, the printed circuit board in 3D

    OpenOx

    hacklabkyiv/openox-pcb

    PCB design for OpenOx - open source oxygen concentrator

    43 parts7GPL-3.0
  • 2 layers205.7 × 137.2 mmArdipool, the printed circuit board in 3D

    Ardipool

    golgoth31/domopool

    Swimming pool management with an esp32

    21 parts3GPL-3.0
  • 2 layers100.9 × 82 mmMashMachine V2.0, the printed circuit board in 3D

    MashMachine V2.0

    xrayer2000/MashMachine

    My own built brewing system for making wonderful beer at home

    62 parts1
  • 2 layers115 × 85.1 mmELV1 revision, the printed circuit board in 3D

    ELV1 revision

    omerikinci/ELV1

    Elektronik kör yük (electronic dummy load) cihazının ilk stabil versiyonu. 150 W ile sınırlandırılmış, 30 V / 10 A aralığını destekler.

    228 parts
  • 2 layers95.9 × 100 mmPipeWatch, the printed circuit board in 3D

    PipeWatch

    TheEinfachFelix/PipeWatch

    64 parts
  • 4 layers160 × 110 mmHPM6E00FULLPORTRevB, the printed circuit board in 3D

    HPM6E00FULLPORTRevB

    hpmicro/hpm_apps

    hpm apps for hpm sdk

    726 parts35BSD-3-Clause
  • 4 layers90 × 50 mmGreenmobi bms, the printed circuit board in 3D

    Greenmobi bms

    G-Pereira/greenmobi-bms

    A VESC compatible battery management system

    141 parts31CERN-OHL-S-2.0
  • 2 layers82.8 × 63 mmBldc BMS, the printed circuit board in 3D

    Bldc BMS

    mpater/bldc-BMS

    Battery management system for a VESC

    175 parts26

Questions

How big is the BMS 4 8 PCB?

It measures 195 × 182.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the BMS 4 8 use?

51 parts, built around the TJA1042T/3/1J, ADS1115IDGS, DS18B20 and IRF3205. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the BMS 4 8 KiCad files?

From the Shreeichchha/EV-Battery-Management-System- repository on GitHub, at the commit this page was made from: the board is Hardware/main_bms/BMS_4_8.kicad_pcb and its schematic Hardware/display_board/BMS_DisplaySide.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the BMS 4 8 design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).