A 7-cell lithium-ion battery management system designed as a student project for EMEN 5830 (Fundamentals of Systems Engineering) at the University of Colorado Boulder in 2015.
This BMS was designed for an electric-assist recumbent tricycle with a focus on battery monitoring, safety, and data logging. The design used the ChibiOS operating system, and includes CAN bus communication, microSD data logging, and comprehensive fault detection.
- 7S Lithium-Ion Battery Monitoring - LT6803-based cell voltage monitoring
- STM32F303 Microcontroller - ARM Cortex-M4 with floating-point unit
- Safety Features - Overcurrent, overvoltage, undervoltage, and thermal protection
- CAN Bus Interface - ADM3054 isolated CAN transceiver for vehicle communication
- Data Logging - microSD card storage for voltage, current, temperature data
- Power Management - LT3990 buck-boost converter for auxiliary power
- Debug Interface - JTAG programming and debugging support
- User Feedback - RGB status LED, two buttons for user input
- Battery Configuration: 7S (7 cells in series)
- Cell Chemistry: 18650 Lithium-Ion (Samsung ICR18650-30B, 3000mAh)
- Voltage Range: 19.6V - 29.4V (2.8V - 4.2V per cell)
- Microcontroller: STM32F303CBT6 (ARM Cortex-M4, 48MHz, 128KB Flash)
- Battery Monitor: LT6803-1 (multicell battery stack monitor)
- Communication: CAN 2.0B, USB 2.0 (micro-B connector)
- Data Logging: microSD card (SPI interface)
- PCB: 4-layer board, approximately 100mm x 75mm
See docs/specifications.md for complete specifications.
This project followed a rigorous systems engineering methodology as taught in EMEN 5830:
- Requirements Development - Stakeholder needs analysis, system requirements derivation
- Concept of Operations - Use cases, operational scenarios, system interactions
- Functional Analysis - 21 iterations of Functional Flow Block Diagrams (FFDB)
- Trade Studies - Component selection based on cost, performance, availability
- Design - Schematic capture, PCB layout, mechanical integration
- Testing - Comprehensive test procedures and validation
The analysis/ directory contains the complete systems engineering documentation, including all 21 FFDB iterations showing the evolution of the design through failure mode analysis.
Version 1 was designed in February 2015, manufactured in March 2015, and tested as part of the course project. Complete gerber files, BOM, and test documentation are included.
- Status: Manufactured, assembled, and tested
- Manufacturing Files: Complete gerbers available in
hardware/bms-v01/gerbers/ - Documentation: Full schematic, layout, BOM, and test results included
Version 2 was a design iteration that incorporated lessons learned from v01 testing, including corrections to the 8MHz crystal package and expanded AUX power traces. This version was never manufactured and the design files remain in the Eagle source directory.
chibi-ecen-bms/
├── hardware/ # Manufacturing-ready files (PDFs, gerbers, BOM)
│ └── bms-v01/ # Version 1 (manufactured)
├── design-source/ # Native design files
│ ├── eagle/ # Eagle CAD schematics and layouts
│ ├── cubemx/ # STM32 configuration files
│ └── mechanical/ # SolidWorks models and renders
├── docs/ # Documentation
├── analysis/ # Systems engineering analysis
│ ├── requirements/ # Requirements documentation
│ ├── failure-analysis/ # FFDB diagrams (21 iterations)
│ ├── calculations/ # Battery and system calculations
│ ├── trade-studies/ # Component selection analysis
│ └── diagrams/ # System block diagrams
├── datasheets/ # Key component datasheets
├── media/ # Photos, renders, and presentation
└── testing/ # Test procedures and results
To manufacture this board:
- Review the schematic and layout
- Order PCBs using the gerber files
- Order components from the BOM
- Refer to the test procedure for validation
The source Eagle CAD files are in design-source/eagle/. The STM32 peripheral configuration can be modified using STM32CubeMX with the .ioc file.
- Specifications - System requirements and performance specs
- Pinout - Connector pinouts and signal definitions
- Hardware README - Manufacturing file details
Version 1 has two known issues that were addressed in the v02 design:
- 8MHz Crystal Package - Incorrect footprint requires rework or substitution
- AUX Power Trace - Undersized trace for auxiliary power distribution
Workarounds: The crystal issue can be resolved by hand-soldering the correct package or using an adapter. The power trace issue can be addressed by adding solder to thicken the trace or adding a parallel wire jumper.
This project is released under the MIT License. See LICENSE for details.
Copyright (c) 2015 Jone Lay
You are free to use, modify, and distribute this design for any purpose, with attribution.
This project is open source hardware. The design files, manufacturing files, and documentation are freely available for educational and non-commercial use.
*This project is shared for educational purposes and as a portfolio piece. It was a graduate student project from 2015. While care was taken in the design and the hardware was successfully manufactured and tested, this is not a production-ready design. Use at your own risk. Battery management systems must be designed with extreme care for safety - this design is presented for educational purposes only.

