Skip to content
tejendra-joshi edited this page Sep 6, 2023 · 90 revisions

CONTENTS


Table of Contents

1. INTRODUCTION
2. EVALUATION PLATFORM SETUP
    2.1 HARDWARE SETUP
    2.2 SOFTWARE SETUP
    2.3 TEST SETUP AND EVALUTION RESULTS
3. REFERENCES
4. Contact Us


1. INTRODUCTION

The main function of a Battery Monitoring System is to keep the different cells of the battery pack inside their safe operating area. The ADBMS1818 Multicell Battery Stack Monitor described in this application note is a solution featuring the ADBMS1818, an Analog Devices, Inc., cell monitoring IC.

This application note introduces the ADBMS1818 Multicell Battery Stack Monitor which is an evaluation platform, consisting of the following boards.

  • BMCU Board Unit (see Figure 1: BMCU Board Unit)

  • ADBMS1818 Slave unit (see Figure 2: EVAL-ADBMS1818 Slave)

  • DC2472A 18-Cell Stimulus Board
    This application note also describes the system setup from a hardware and software perspective. Refer to the ADBMS1818 data sheet and the master unit documentation linked in the References section while using this application note.

    Figure 1. BMCU Board Unit
    Figure 1. BMCU Board Unit

    Figure 2. EVAL ADBMS1818 Slave
    Figure 2. EVAL-ADBMS1818 Slave

    Figure 3. DC2472A
    Figure 3. DC2472A

2. EVALUATION PLATFORM SETUP

This section describes the evaluation of the ADBMS1818 platform and lists the required steps for both hardware and software setup.

Figure 3: BMCU Block Diagram shows the main elements and interconnections of the BMS system. The implementation (the number of slave units, the size of the battery) depend on the user application and specifications.

Figure 4. BMCU Block Diagram
Figure 4. BMCU Block Diagram

  2.1 Evaluation Platform Components

This section focuses on the main elements that intercommunicate in the system. Check References for the required hardware.

Equipment Manufacturer Part Number / Description
BMCU Board Unit Analog Devices ADI BMCU Board
ADBMS1818 Slave Unit Analog Devices EVAL-ADBMS1818Z
DC2472A 18-Cell Stimulus Board Analog Devices DC2472A
ADI BMS UI Application EXE Analog Devices Precompiled Sample Python Windows GUI Application
ADI BMS UI Application Source Analog Devices Python Source Code for Windows GUI Application
BMS MASTER: BMCU Firmware Source code Analog Devices Embedded Firmware targeting MAX32626ITK on the BMCU Board Unit

Table 2. BMCU System Components

BMCU Board Unit:

The Evaluation Platform Demo Software uses the following components on the BMCU Board Unit:

  • Microcontroller MAX32626ITK+ with ARM Cortex-M4 FPU Processor.
  • USB Interface for communication as well as power supply source.
  • Two IsoSPI ports for communication with ADBMS1818 Slave Units

There are also additional components on the BMCU Board Unit which are not used in the Demo Software but offer value and may be expanded upon by the customer:

  • Two Standard SPI(FRC)
  • EEPROM via I2C.
  • Arduino Shield connectors.
  • Isolated CAN Interface via SPI.
  • Host computer running Windows

EVAL-ADBMS1818 Slave Unit:

The ADBMS1818 Multicell Battery Stack Monitor can measure up to 18 series connected battery cells with a total measurement error of less than 3mV. The cell measurement range of 0V to 5V makes the ADBMS1818 suitable for most battery chemistries. All 18 cells can be measured in 290μs, and lower data acquisition rates can be selected for high noise reduction.

Multiple ADBMS1818 devices can be connected in series, permitting simultaneous cell monitoring of long, high voltage battery strings. Each ADBMS1818 has an isoSPI interface for high speed, RF immune, long-distance communications. Multiple devices are connected in a daisy chain with one host processor connection for all devices. This daisy chain can be operated bidirectionally, ensuring communication integrity, even in the event of a fault along the communication path.

The ADBMS1818 Slave Unit can be powered directly from the battery stack or from an isolated supply. In this evaluation platform, the ADBMS1818 Slave unit is powered by the DC2472A 18-Cell Stimulus Board. The ADBMS1818 includes passive balancing for each cell, with individual PWM duty cycle control for each cell. Other features include an onboard 5V regulator, nine general purpose I/O lines and a sleep mode, where current consumption is reduced to 6μA.

Using the DC2472A 18-Cell Simulus Board:

The DC2472A 18-Cell Simulus Board is a simple battery stack simulator and can be used to mimic up to 18 cells connected in series. It is powered from a USB connection. The number of output rails (cells) can be reduced and adjusted using the jumpers. This board simulates 1.5 volts and 4.2 volts per cell, which is suitable for several battery chemistries.

Evaluation Platform Setup:

Make connections of the BMCU boards with EVAL-ADBMS1818 boards as shown in Figure 3: BMCU Block Diagram.

Connect the following cables:

  1. USB Type-C Cable: This is a generic USB 2.0 Type-C to Type-A Male cable used to connect and power the BMCU Board Unit from the Host PC.
    E.g. https://www.amazon.com/AmazonBasics-Type-C-USB-Male-Cable/dp/B01GGKYKQM/ref=sr_1_3?keywords=usb+type+c+2.0&qid=1672736825&sprefix=usb+type+c+2.0%2Caps%2C383&sr=8-3

  2. USB Type-Micro-B Cable: Used to connect and power each DC2472A 18-Cell Stimulus Board

  3. DuraClik Cable: This is a custom made DuraClik to ethernet which can be assembled as per below instructions:

Duraclick-Ethernet Cable Details
DuraClik-Ethernet Cable Set Details

To connect and communicate between the BMCU Board Unit and two ADBMS1818 Slave Units, two DuraClik-Ethernet Cables are needed. ADBMS1818 Slave Units communicate between each other with normal Ethernet cables. If only one ADBMS1818 Slave Unit is used, there no requirement for a normal Ethernet cable. With each additional ADBMS1818 Slave Unit in the system, an additional Ethernet cable is required.

The following parts are needed to create the two required DuraClik-Ethernet cables.

  • One normal Ethernet cable
  • One Molex 797581009 cable, which has one cable crimp terminal 0797581009 on each end.
  • Cut One Ethernet Cable in two equal parts
  • Cut two 797581009 crimped cables into half
  • Insert crimped end of the 797581009 cable pieces into the DuraClik Connector 5023510200
  • Strip the free ends of the Ethernet cable and 797581009 cable pieces
  • Solder the Ethernet cable and DuraClik cable together.

This cable is used to connect and communicate ADBMS1818 board with BMCU board.

  1. JTAG: JTAG Debugger and programmer is used for flashing the firmware on to the board through a 10-pin connector.

  2.2 SOFTWARE SETUP

The software, documentation, and workspace required for software setup and use are all open source and free to download (see the References section).

C-code files must be compiled to generate the firmware (the binary file) with which the microcontroller max32626 on ADI BMCU Board is flashed.

BMCU Software Name Function
Maxim’s Software Toolchain ARMCortexToolchain This tool chain install’s maxim’s Eclipse IDE with required plugins
Integrated Development Environment Eclipse This component is used for compiling the whole project consisting of C/C++ files

Table 1. BMCU System Software Components

Installation of Eclipse IDE.

  • Download & install ARM Cortex Toolchain from “ARMCortexToolchain.exe ” and the version is 1.2.0 or above.
  • Run the above downloaded ARM Cortex Toolchain.
  • While installing it will ask to select the plugins. select all. It consists of Eclipse CDT, GNU Tools etc.., which are required for the project.
  • After Installation is done, in the installed folder under Maxim directory eclipse bat script will be available, run that script for using eclipse IDE.

For building the project, follow the steps mentioned below.

  • Download the BMS Firmware (see the Reference Section).
  • Run Eclipse IDE.
  • Create a folder for workspace and select it as workspace location in Eclipse IDE.
  • Import the extracted project.
  • Build the project

For programming the BMCU board, follow the steps mentioned below:

  • Connect the JTAG debugger(MAX32625PICO#) betwwen 10Pin connector and Host through USB cable. This should map USB drive on the Host PC.
  • To program the executable onto the BMCU board, drag and drop the executable from "build\BMS_Master.elf" to MAX32625PICO# programmer folder/drive
  • After flashing the executable, “Status LED” on BMCU board will glow with a stedy green color.

For debugging the project, follow the steps mentioned below:

  • Add a run configuration in Eclipse IDE with required details such as elf location(“build\BMS_Master.elf”) in C/C++ applicationfield of Main tab, set the executable field with “openocd”, config options with “-s ${env_var:TOOLCHAIN_PATH}/share/openocd/scripts -f interface/cmsis-dap.cfg -f target/MAX32625.cfg” of Debugger tab.
  • Run the project on IDE.
  • After running the project, “Status LED” on BMCU board will glow with a stedy green color.

BMCU Board Unit Software:

When shipped, the BMCU Board Unit already has programmed flash and is already prepared for demonstrating the evalution platform.

Running ADI BMS UI Application EXE:

  • On the host computer, download BMCU Board GUI Executable(see the Reference Section).
  • Open the extracted BMCU Board GUI Executable folder navigate to Executable\BMS Application\BMS-GUI
  • Open the application named BMS-GUI.exe
  • Determine the COM port of the BMCU Board Unit by going to windows Device Manager.
  • After opening in the PC/Host configuration Tab set the required configuration data like OV, UV thresholds, COM port, number of boards.
  • Set the baud rate to 115200
  • Check the GUI user guide for detailed information, check References for link

Figure 5. BMCU Board GUI
Figure 5. BMCU Board GUI

  2.3 TEST SETUP AND EVALUTION RESULTS

Stack voltage vs time graphs are plotted for each board as shown in Figure 5: GUI - PC/Host Configuration Tab

In board tabs, real time cell voltages, gpio voltages are filled. The graph is plotted for the selected cells as shown in Figure 6: GUI - Board Tab

Figure 6. GUI - PC/Host Configuration Tab
Figure 6. GUI - PC/Host Configuration Tab

Figure 7. GUI - Board Tab
Figure 7. GUI - Board Tab

3. REFERENCES

No. Document Path
1. Reference Code https://github.com/ArrowElectronics/BMCU/tree/Development
2. BMCU Board Schematics https://github.com/ArrowElectronics/BMCU/blob/Development/Documents/Schematic.pdf

Table 3. Reference links

Terms of Use

YOU TAKE ALL SUCH PRODUCTS AND SERVICES “AS-IS” WITHOUT ANY WARRANTY. THERE ARE NO REPRESENTATIONS OR WARRANTIES OF ANY KIND BY SELLER, EXPRESS OR IMPLIED, AS TO THE CONDITION OR PERFORMANCE OF ANY PRODUCTS OR SERVICES, THEIR MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR USE, NON-INFRINGEMENT, OR OTHERWISE. SELLER ASSUMES NO RESPONSIBILITY OR LIABILITY FOR SUPPLIERS’ PRODUCT OR SERVICE SPECIFICATIONS OR THE PERFORMANCE OR ADEQUACY OF ANY DESIGN OR SPECIFICATION PROVIDED TO SELLER.

All rights in intellectual property owned or licensed by Seller or Supplier are hereby reserved and deemed restricted or limited. Seller makes no representation or warranty with respect to such rights and will have no liability in connection with them. You agree to comply with all requirements with regard to any intellectual property (including any requirement to enter into a separate license agreement and prohibitions against duplicating, reverse engineering, or disclosing the same). You shall indemnify Seller against and defend and hold it harmless from all liability, cost, or expense arising out of or relating to any (a) breach or alleged breach of these terms and conditions, (b) allegation or claim, including infringement claims, that arise from Your use of Products or services in combination with other products or services, or (c) alleged or actual infringement of any intellectual property rights provided by You to Seller.



Clone this wiki locally