Skip to the content
2 layers99.1 × 45.7 mmCellMan, the printed circuit board in 3D

A KiCad Schematic for CellMan, A Cell Management Board for the Lafayette FSAE Accumulator Management System

Size
99.1 × 45.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
58
Nets
43
Pads
170
Tracks, vias
476, 49
Pours
9
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
21 Sep 2019
Updated
14 Apr 2020

Overview

CellMan is an open-source printed circuit board by Lafayette-FSAE, from the Lafayette-FSAE/CellMan repository on GitHub. It is a 2-layer board of 99.1 × 45.7 mm with 58 parts on 43 nets, routed with 476 tracks and 49 vias.

It is built around the STM8S003F3P6, AD8479BRZ and L78L05CD13TR-MS. Its parts include 22 resistors, 11 capacitors, 6 diodes, 3 ICs and 3 connectors. It belongs with the STM8 boards of this library.

Main components

3

README

README.md

CellMan v2.2

A Cell Management Board for the Lafayette FSAE Accumulator Management System.

The purpose of CellMan is twofold. First, it is responsible for making and reporting key measurements of the Cell it is mounted to. The most important of these are Voltage and Temperature, which are used by PacMan to determine if a fault condition has occured, and can also be used to help estimate State of Charge. In addition, CellMan is capable of measuring the voltage of its Cell's negative terminal relative to the segment, used for determining its position, and some properties of its balancing circuit.

Render of CellMan

Each CellMan has also been equipped with an experimental Balancing Circuit, which can be used to allow active balancing of Cells within the same segment. This is done through an isolated flyback converter, which pulls current from the cell it sits on, steps it up to the full segment voltage through an isolated transformer, and outputs it back to the segment. A CellMan is capable of measuring the current being drawn from the cell by the flyback converter and the voltage on its output side, and can report these back to PacMan along with the measurements mentioned above.

Interface

Each CellMan is an I2C slave device, and can be controlled by a master, usually PacMan. All data reported to PacMan is sent over this interface, as well as commands that control the high level behavior of CellMan.

While CellMan on different segments are electrically isolated from eachother, they occupy the same I2C bus, through 2 isolators on the PacMan board, and so their addresses cannot conflict

Reading Data

When data is requested from CellMan, it will report it over the bus, one byte at a time, and always in the same order. An arbitrary number of bytes can be requested.

Most data is stored as 16 bit integers, and so is sent in 2 byte pairs, with the Least Significant Byte first, and the Most Significant Byte second.

Bytes are sent in the following order:

Byte0123456
DataFirmware VersionCell Voltage LSBCell Voltage MSBTemperature LSBTemperature MSBPosition LSBPosition MSB
UnitNAmVmV1/10 ºC1/10 ºCRaw ADC ValueRaw ADC Value

Additional data can be added to the end of this as needed.

Sending Commands

PacMan is controlled by writing data to one or more 16 bit registers. Each write command should be 3 bytes long, a 1 byte address, followed by 2 bytes of data.

Register addresses are organized as follows:

Calibration Parameters

While this feature is not currently supported, CellMan will eventually allow configuration of its many calibration functions for maximum accuracy. Addresses from 0x01 to 0x0F have been reserved for this purpose.

AddressDescription
0x01Temp Slope
0x02Temp Offset
0x03Balance Current Slope
0x04Balance Voltage Slope
Balance Circuit

Addresses from 0x11 to 0x1F are reserved for registers which control the behavior of the Balance Circuit. Currently, the circuit can be enabled or disabled, and the duty cycle and frequency of its control signal can be changed. 0x14 is reserved for a Target Voltage parameter in order to allow support for a closed loop control scheme to be used in the future.

AddressDescription
0x11Balance Enabled
0x12Balance Duty Cycle
0x13Balance Frequency
0x14Target Voltage
Debug

0x23 controls the board's green LED, used for Debugging and feedback.

AddressDescription
0x23Debug LED

Schematic

Link to PDF

Parts

58
QtyValueFootprintReferences
14RResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR1, R2, R3, R5, R6, R7, R8, R9, R10, R11, R12, R13, R15, R19
42kResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR14, R17, R23, R24
460V 2ALafayette_Electric_Car_Footprints:Diode_NTS260ESFD3, D4, D5, D6
30.1uFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC2, C3, C11
31uFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC6, C8, C9
3JumperConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical_SMD_Pin1LeftJP1, JP2, JP4
2LittelfuseHolderLafayette_Electric_Car_Footprints:fuse_holder_smd_littelfuseF1, F2
10.1uF 250VCapacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolderC10
10.33uFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC1
110kResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR18
11nFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC4
11uF 50VCapacitor_SMD:CP_Elec_4x5.4C5
1250Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR16
1410Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR4
151kResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR21
1ACHS-7122Package_SO:SO-8_3.9x4.9mm_P1.27mmU2
1AD8479Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU5
1ADR510Package_TO_SOT_SMD:SOT-23VREF1
1AVX-IDCLafayette_Electric_Car_Footprints:AVXJ3
1Battery_CellLafayette_Electric_Car_Footprints:CELL60AHBT1
1CCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC7
1Conn_01x05_MaleConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ1
1FlybackTransformerLafayette_Electric_Car_Footprints:TransformerT1
1IDC-ConnectorConnector_IDC:IDC-Header_2x03_P2.54mm_VerticalJ2
1L78L05CD13TRPackage_SO:SO-8_3.9x4.9mm_P1.27mmU1
1LED_GreenLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD1
1LED_RedLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD2
1LeopardPawLogoLafayette_Electric_Car_Footprints:PawLOGO2
1NTCS0603Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolderTH1
1SP8K24FRATBPackage_SO:SO-8_5.3x6.2mm_P1.27mmQ1
1STM8S003F3Package_SO:TSSOP-20_4.4x6.5mm_P0.65mmMCU1
1SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP3

Similar boards

  • 2 layers126.8 × 42.3 mmDriverDisplay4, the printed circuit board in 3D

    DriverDisplay4

    Lafayette-FSAE/DriverDisplay

    Breakout board for interfacing with and controlling the driver's display.

    40 parts
  • 2 layers100 × 100 mmDC Lidar, the printed circuit board in 3D

    DC Lidar

    mszkowalik/DC_LIDAR_v1_board

    64 parts
  • 2 layers87 × 71 mmSocket, the printed circuit board in 3D

    Socket

    eddyem/STM8_samples

    Some code samples and ready projects based on STM8 (deprecated)

    89 parts80
  • 2 layers32.1 × 41.2 mmIr signalgen lite, the printed circuit board in 3D

    Ir signalgen lite

    dilshan/ir-clone

    Open-source infrared remote control signal analysis and generating tool

    40 parts58MIT
  • 4 layers26.4 × 56 mmRPI5-SDexpress Hat, the printed circuit board in 3D

    RPI5-SDexpress Hat

    will127534/RPI5-SDexpress-Hat

    ctrl-c "RPI5-CFE-Hat" ctrl-v "RPI5-SDexpress-Hat"

    51 parts37MIT
  • 4 layers65 × 56 mmRPI5-CFE Hat, the printed circuit board in 3D

    RPI5-CFE Hat

    will127534/RPI5-CFE-Hat

    CFexpress Card hat for Raspberry Pi 5

    59 parts25MIT
  • 4 layersKvm base, the printed circuit board in 3D

    Kvm base

    thatoddmailbox/kvm-base

    The main board for the open-source HDMI KVM switch I built.

    70 parts19
  • 2 layersCtrl brd reduced, the printed circuit board in 3D

    Ctrl brd reduced

    alsav/stm8-soldering-station-controller

    Tomizawa FZ-880B soldering station controller open-source firmware

    14 parts12

Questions

How big is the CellMan PCB?

It measures 99.1 × 45.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the CellMan use?

58 parts, built around the STM8S003F3P6, AD8479BRZ and L78L05CD13TR-MS. 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 CellMan KiCad files?

From the Lafayette-FSAE/CellMan repository on GitHub, at the commit this page was made from: the board is CellMan.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the CellMan design in my own project?

Its repository states no licence, so its author keeps all rights: ask Lafayette-FSAE before reusing the design.