. Project: Lithium ion battery Management System

OUR PROJECT:LITHIUM ION BATTERY MANAGEMENT SYSTEM

By

IRSA JAN (033-19-0046)

BATOOL FATIMA (033-19-0019)

ACKNOWLEDGEMENT

We would also like to pay our gratitude to instructor Worthy Dr.Asim Samejo(Assistant Professor) of Electrical Engineering Department at Sukkur IBA University and Sir Nadir for guiding us in our project Lithium-ion Battery Management System.

ABSTRACT

The Electric Vehicle (EV) is seems to be the roadmap of every important car manufacturer and is seen as the modern solution to a more sustainable transport system, contributing to a reduction of the Greenhouse Gas Emissions. Our project is about a Lithium-ion Battery Management system

    CONTENTS<
  1. Introduction to Embedded Systems and Our project
  2. CLASSIFICATION OF CELLS
  3. CELL ELECTRICAL PROPERTIES
  4. BATTERY TERMINOLOGY
  5. ADVANTAGES OF BMS SYSTEM
  6. CHARGING AND DISCHARGING STATE
  7. CELL BALANCING
  8. TYPES OF LI ION CELLS
  9. How BMS works
  10. DATA COMMUNICATION
  11. Comparison With other ICs
  12. AIMS AND OBECTIVES OF OUR PROJECT
  13. Sample image of final design
  14. Mechanical Drawing
  15. Project Execution Plan
  16. FLOW CHART FOR PROJECT
  17. Distribution of Task
  18. Higher Level System Diagram
  19. Bill of Material
  20. PHASE II
  21. Connectivity of components(protocols)
  22. Electrical Schematic
  23. Brief description of Schematic
  24. PCB layout
  25. Picture of PCB board
  26. Soldering Components on pcb board
  27. FINAL PHASE:
  28. boot load
  29. Arduino Code
  30. Challenges we faced
  31. How we overcome them
  32. Help from Texas Instruments
  33. CAD Design of Enclosure
  34. Cell welding
  35. Cell Testing
  36. OUTPUT:<
  37. CONCLUSIONS
  38. References
  39. The END
LITHIUM ION BATTERY MANAGEMENT SYSTEM

A complete BMS image



Li-ion batteries are able to be recharged hundreds of times and are more stable. They tend to have a higher energy density, voltage capacity and lower self-discharge rate than other rechargeable batteries. This makes for better power efficiency as a single cell has longer charge retention than other battery types.Today, lithium-ion is one of the most successful and safe battery chemistries available. Two billion cells are produced every year. Some of the most common applications of lithium-ion batteries are: Power backups/UPS. Mobile, Laptops, Electric vehicles EVs and other commonly used consumer electronic goods, electric mobility. Whereas Battery Management System BMS, is an electronic device that acts as a brain of a battery pack, monitors the output, and protects the battery from critical damages.It is a circuit combined with an algorithm that monitors the voltage, current and temperature of the cells in a battery pack and ensures performance and safety of the individual cells in a battery pack. It is also responsible for balance charging, State of Charge (SoC) and State of Health (SoH) measurement of the cells and much other important functionalities.The Smart Battery Management System (BMS) is an important component that not only reliably tests battery conditions but also ensures safe operation and extends battery life. Thus we conclude that A battery management system (BMS) is any electronic system that manages a rechargeable battery (cell or battery pack), such as by protecting the battery from operating outside and helps in balancing.

CLASSIFICATION OF CELLS

Cellular batteries are considered original (non-renewable) or seconds (renewable), depending on their ability to charge electronically. Within this category, other categories are used to identify specific buildings or designs. For this, we have two types

PRIMARY CELLS

Since these batteries lack the ability to recharge electrically or efficiently, they are discharged once and then discarded. The main battery is a low-cost option, heavy source of healthy integrated energy on the shelf, high power output at low to moderate output levels

Figure<Primary Cells


Primary cells

SECONDARY CELLS

These batteries can be electrically recharged in their original state after being discharged by passing them on the other side of the current discharge. Depending on the type of battery and its quality, the replacement process can be repeated hundreds or thousands of times. They are also known as "storage batteries" or "accumulators" and are the final component of the power supply. The second set of batteries has been charged by high power capacity, high rate of discharge and flat charging, while their power capacity is usually lower than that of main batteries

Figure<   Secondary Cells


Secondary cells

CELL ELECTRICAL PROPERTIES

Some key words to highlight the electrical characteristics of batteries, are shown in the next section.



VOLTAGE

The type of active substances present in a cell defines the cell's normal capacity. The following formula can be used to measure general power from normal electrode strength: anode (oxidation potential) + cathode (reduction potential) = standard cell potential

CAPACITY:

The number of active substances in the cell determines the cell's volume. It is calculated in coulombs or ampere-hours and reflects the sum of electricity used in electrochemical reactions.

ENERGY:

By taking both energy and quantity of electricity, the volume of a cell can also be determined on the basis of energy (watt-hour). The highest value that a specific electrochemical system can produce is the amount of thought capacity.

BATTERY TERMINOLOGY

In the following pages, we will go through some main terms that will help you understand how batteries work and what they're good for.

OPERATING VOLTAGE:

The voltage between direct and indirect electrodes when a load is attached to the battery is referred to as the closed voltage or circuit closed. The operating power varies depending on the state of charge (SOC) and the current discharged / charged.

DEPTH OF DISCHARGE (DOD):

The percentage of battery discharge expressed as a percentage of full capacity is referred to as this. A deep discharge is described as a withdrawal of at least 80% DOD.

STATE OF CHARGE (SoC):

Present battery capacity expressed as a percentage of full capacity. To detect changes in battery capacity over time, SOCs are usually measured using current integration.

STATE OF HEALTH (SoH):

SOH is a term that describes the current state of a battery's health in comparison to its initial health calculation. In other words, the SOH is supposed to tell you how long the battery will last before it dies. In a nutshell, it's a measurement of internal resistance, capacity, electrical strength, self-discharge, battery charging capacity and the total number of battery discharge cycles completed by that time.



More about Charging and discharging of batteries

ADVANTAGES OF BMS SYSTEM
  1. BMS is an electronic device that acts as a brain of a battery pack, monitors the output, and protects the battery from critical damages.
  2. BMS will improve safety by reducing the need of physical contact.
  3. BMS will optimize the battery life.
  4. BMS will also reduce maintenance and replacing cost by monitoring and performing preventive maintenance.
  5. It is a circuit combined with an algorithm that monitors the voltage, current and temperature of the cells in a battery pack and ensures performance and safety of the individual cells in a battery pack. It is also responsible for balance charging, State of Charge (SoC) and State of Health (SoH) measurement of the cells and much other important functionalities
  6. It should ensure that the energy of the battery is optimized to power the product.
  7. BMS ensures that the risk of damaging the battery is minimal
  8. BMS monitors and controls the charging and discharging process of the battery
  9. BMS protects every individual cells in battery pack from over-charge and over-discharge.
  10. BMS never allows cells get too hot during charge or discharge.
  11. BMS protects the battery cells from abuse and damage.
  12. BMS extends the battery life as long as possible.
  13. MORE Advantages of BMS BY NASA

    10s lipo batteries for ebikes and li ion batteries for electric vehicles

    Lithium-ion (li-ion) batteries are the best option for e-bikes.As for its self-charging feature, the bike integrated lithium-ion battery can be completely recharged just by pedaling or braking.An electric-vehicle battery (EVB, also known as a traction battery) is a battery used to power the electric motors of a battery electric vehicle (BEV) or hybrid electric vehicle (HEV). These batteries are usually rechargeable (secondary) batteries, and are typically lithium-ion batteries. These batteries are specifically designed for a high ampere-hour (or kilowatt-hour) capacity

    CHARGING AND DISCHARGING STATE

    The battery management system's aim is to preserve the battery in good working order. During discharge, the BMS should protect the cell from any occurrences. Otherwise, the cell is unrestricted in its activity.



    Battery termonology



    CHARGING CONTROL

    Improper charging may be more dangerous to batteries than any other factor. As a result, charging power is an important feature of the BMS. A fixed-voltage charging system for lithium-ion batteries is also regarded as a two-stage charging system (CC-CV). The charger generates a steady current that increases the battery capacity during the first charging process (current continuous phase). The battery enters the voltage (CV) process on a regular basis when the voltage reaches a constant value and the battery is almost completely charged. As the current battery decomposes further, the charger retains a steady voltage until the battery is fully charged.

    CELL BALANCING

    BMS may use one of three cell measurement systems to quantify cells and protect individual cells from over-stress, offering a powerful solution to this problem when taking into account the age and working conditions of the cells: an efficient measurement system, a charging scheme, and an idle measurement system. Charges from solid cells are extracted and transferred to weak cells during active cell alignment.The distribution strategies used to find the cells with the highest charge in the bag, as shown by the large number of cells, were used in random measurements. After that, a bypass resistor removes the majority of the power before the voltage or charge at the weak cells matches the voltage at the strong cells.

    BATTERY MANAGEMENT SYSTEM (BMS) FOR EV

    Following significant progress in ESS, a reliable and efficient BMS is needed. BMS is a battery-powered device, according to the most commonly accepted description [22]. BMS in EVs contains a variety of sensors, actuators, and controls. An effective BMS performs the following key functions: i) battery protection; ii) operates the battery with a safe current, power supply and temperature range; and iii) measure and estimate whether the battery is accurate. Figure 5 introduces an effective BMS scheme diagram.

    BMS for EV

    FLOW CHART FOR PROJECT

    Our project is based on 3 parts:

    1. PHASE I
    2. PHASE II
    3. FINAL PHASE
    4. TYPES OF LITHIUM ION BATTERIES

      There are several different types of lithium ion batteries available today, although there are a few that stand out due to their long life, specific power, and overall level of safety, specifically when it comes to EVs [35]. The three most relevant to EVs are: Lithium Manganese Oxide (LiMn2O4), Lithium Iron Phosphate (LiFePO4), and Lithium Nickel Manganese Cobalt Oxide (LiNiMnCoO2); the abbreviations for these types of lithium ion batteries are LMO, LFP, and NMC respectively.

      Types of Li-ion cells

      DATA COMMUNICATION

      i. Data should be communicated through an arduino lead and I2I PROTOCOL.

      COMPARISON WITH OTHER ICS
      Integrated Circuit Number of Cells Connected (Max) Operating Temperature Range ( o C ) Approx. Price (USD)
      BQ769130 10 -40 to 85 1.9
      Bq76940 15 -40 to 85 1.9
      BQ79616-Q1 16 -40 to 125 6.9
      EMB1428Q 14 -40 to 125 9.59
      EMB1499Q 14 -40 to 125 5.28
      LTC6804 12 -40 to 125 10.5

      Refer to datasheet of IC bq76930:



      Refer to datasheet of IC :



      Refer to datasheet of IC EMB1499Q :



      Refer to datasheet of IC LTC6804-1 :



      You can see from the above table that we have different ICs for example BQ76942, BQ79616-Q1, EMB1428Q, EMB1499Q and LTC6804 etc. These all ICs have their specification but they all are having complexity in there circuits. Also some of them are not available in the market

      GPIO PINS

      GPIO stands for General Purpose Input/Output. It's a standard interface used to connect microcontrollers to other electronic devices. For example, it can be used with sensors, diodes, displays, and System-on-Chip modules.

      CELL VOLTAGES

      The Nominal Cell Voltage of a single Lithium-ion Cell is Minimum 2V and Maximum 3.7V.

      BQ76930

      HOW BMS WORKS:

      The Battery Management System (BMS) performs three primary functions:

      1. It protects the battery pack from being over-charged (cell voltages going too high) or over-discharged (cell voltages going too low) thereby extending the life of the battery pack. It does this by constantly monitoring every cell in the battery pack and calculating exactly how much current can safely go in (source, charge) and come out (load, discharge) of the battery pack without damaging it. These calculated current limits are then sent to the source (typically a battery charger) and load (motor controller, power inverter, etc), which are responsible for respecting these limits.
      2. It calculates the State of Charge (the amount of energy remaining in the battery) by tracking how much energy goes in and out of the battery pack and by monitoring cell voltages. This value can be thought of as a fuel gauge indicating how much battery power is left in the pack.
      3. It monitors the health and safety of the battery pack by constantly checking for shorts, loose connections, break downs in wire insulation, and weak or defective battery cells that need to be replaced
      4. The Battery Management System (BMS) performs some secondary functions:

      5. Balances all the cells in the battery pack by intelligently bleeding off excess energy from cells that are charged more than others. This provides the maximum amount of usable energy (capacity) from the battery pack since the pack is only as strong as the weakest cell.
      6. Monitors the temperature of the battery pack and controls a battery fan to regulate the temperature of the pack. Additionally, it constantly monitors the output of the fan to make sure it is working properly.
      7. Provides real-time information and values to other devices such as motor controllers, chargers, displays and data loggers using several different methods (CANBUS, analog outputs, and digital outputs).
      8. Stores error codes and comprehensive diagnostic information to aide in fixing problems with the battery pack should any issues arise.


      9. PHASE I

        AIMS AND OBECTIVES OF OUR PROJECT


        1. Our circuit module includes use of 1 bq76930 integrated circuit (IC), sense resistors, power FETs, capacitors, NTC and all other on board components necessary to protect the cells from overcharge, over discharge, short circuit, and overcurrent discharge in a 7- or 10-series cell Li battery
        2. After complete milling of our pcb board conataing IC BQ76930, we will start our soldering as we had received the IC bq76930 and PNP MOSFETS: NTR1P02T1G ,2 NPN MOSFETS: IPD034N06N3 G and a diode MBRA104TRBF.
        3. Then we will make a outer case for the enclosure of battery cells with pcb and an interface between them with the help of small LCD display which will show the amount of charge and discharge values in each cell.
        4. < Sample image of final design


          Final design

          expected image of final pcb


          Final PCB

          expected image of final project

          Final PROJECT



          expected image of cell enclosure



          Mechanical Drawing
          1 / 3
          MECHANICAL DRAWING
          2 / 3
          FROM DATASHEET
          3 / 3
          FROM BOM TABLE

          Refer to datasheet:Below Link



          Refer to datasheet of IC:



          Distribution of task

          We know that Individual commitment to a group effort, that is what makes a team work. "Talent wins games, but teamwork and intelligence win championships." --Michael Jordan.

          We were 2 group members working on Battery Managemnet System of Li ion cells. Since the first day of our project, we both are being working togther. In start, I was working on Electrical Schematic Design while my group member was working on understanding Datasheet of IC. Later on, we decided to perform each task together and work as a TEAM. "

          Higher level system diagram

          The interaction of bq76930 IC with microcontroller is shown in this figure.



          Bill of material

          PHASE II Electrical Schematic and board layout:

          Following the datasheet and mechanical drawing for connectivity of components, we prepare this Schematic Layout of BMS using bq76930 IC with the help of Sir Nadir.

          1 / 3
          1st pcb board
          2 / 3
          final pcb board
          3 / 3
          1st pcb board

          Brief description of schematic::

          In Eagle file, sometimes its hard to find the required ICS there. For this purpose, we have to add that particular IC library on Eagle. We did so in this schematic design also. Here the blue line shown is for microcontroller while red line is showing cells.

          PCB layout:

          Making schematic design is much more easier as compare to board layout and Routing. Its such a difficult task but not impossible and a precise work also. It can be seen in this picture that the IC terminals are like spiders web and hard to separate and join them correctly.

          With the help of Sir Nadir, our pcb designed (both schematic and board) got prepared and thus we go towards our

          Finalising traces of pcb before milling
          1 / 7
          Board layout initial step
          2 / 7
          1st pcb
          3 / 7
          FINAL PCB sch
          4 / 7
          traces of final pcb
          5/ 7
          traces of final 2
          6/ 7
          Me while finalising traces
          7 / 7
          My grp mate while finalising traces

          Picture of PCB board:

          Front side of our pcb board:

          Backside of our pcb board.For this pcb , we use FR 1(FIRE RESISTIVE) sheet for our pcb. It a light weighted board.

          Our Final Pcb board made of FR 4 sheet(it a a little bit heavier than FR 1, its more qualitative and expansive than FR1)

          1 / 6
          1st pcb mil
          2 / 6
          1st pcb
          3 / 6
          final pcb milled
          4 / 6
          final pcb milled 2nd lay
          5/ 6
          Our 1st pcb board with some components
          6/ 6
          our soldering area

          Soldering components on board(Connectivity of components)

          Our first pcb board, it has two parts. Left part is for bms which includes all the required components along with IC BQ76930. Right part is for microcontroller which is Atmega 328P.

          Me and my group mate while soldering components on PCB board.

          Finally we solder it. This is the picture of our PCB board along with soldered components.

          Challenges we faced and how we overcome them:

          It was a rough testing of our project, after soldering when we connect our pcb board to arduino board and cells to check the cell volages of each individual cell, the output on screen was showing zero voltages for each cell. We all got disappointed and depressed. We mustered up our courage and tried again, then we came to know that some MOSFETS models were not accurate. We took help from Texas Instruments and they suggested us the correct MOSFETS models, but there was no such big difference between their ratings, thue we decided to put these Mosfets also in Bill of material in additional use. Moreover, we detect that there were some components which were not soldered properply and as it was a two layer pcb , some vias were also not soldered properly. We correct our all mistakes and thus decided to make separate the microcontroller part from pcb and to design a new qualitative board.

          We tried again and milled a new pcb. This time we milled pcb excluding microcontroller ATMEGA 328P part which was milled together on previous board. We did it soldering by ourselves. However, its IC was soldered by Sir Nadir. We ordered the required MOSFETS which were suggested by Texas Instruments, till they arrive, we solder the previous MOSFETS which are named in Bill of material table. Then we followed the same procedure ,connecting soldered pcb with arduino and cells through jumping wires. We run the arduino code on PC and this time it was showing results on screen. The voltages of each single cell was shown on screen. We both group members were so happy that we were rewarded for our hardwork. Then suddenly when we were checking the voltages across each cell using DMM(digital multimeter meter) , our IC bq76930 got burned. Now this moment was a heart wrenching moment. We decided to desolder the IC and will replaced it with another, but again while doing desoldering, its one trace got removed, and our pcb again became useless. We also detect our another mistake, in the box of capacitors for 1uF, 10uF capacitors were there. But we did not know that, as it was mentioned on their white paper 1uF, that is why we solder it. Later on, our Sir detects our this mistake and told us it was mistakenly placed there. It was also one of the reason, why our IC burnt.

          We did not lose hope and tried again. Tough our IC got burned but we were happy our that at least it showed us some results. Again we milled another pcb board and solder components on it. This time we placed all our components correctly. This is the picture of our final Pcb board

          Now this is the picture of all 3 pcb boards. The centre board is the final board.

          It was a rough testing of our project, after soldering when we connect our pcb board to arduino board and cells to check the cell voltages of each individual cell, the output on screen was;

          Help from TEXAS INSTRUMENTS:

          It was a rough testing of our project, after soldering when we connect our pcb board to arduino board and cells to check the cell volages of each individual cell, the output on screen was showing zero voltages for each cell. It was a heart wrenching moment. We mustered up our courage and tried again, this time again it was showing the zero results. When our output on screen was showing zero voltages for each cell, We raised our problem on TEXAS INSTRUMENTS and they give us the following solution.

          Texas instruments

          FINAL PHASE boot load:

          In our first pcb, we used microcontroller and thus for this purpose we boot load it. Following are the images of boot load;

          Arduino Code:

          For Arduino code, Click on this

             CAD MODEL for enclosure:

          We were in search of an enclosure model for our cells. For this purpose, we select cell arrangement that is 5s2p arrangement of cells and we design this model in Solid Works. Its dimensions are



          Cell welding and cell testing:

          After making pcb board and its soldering, our next task was to conjoin them to form a single prototype. We selected 5s2p arrangement of our cells and thus selected total 10 lipo cells for our project. Thus for joining cells with the board, first of all we did cell welding with cell welding machine. We both group members did this as shown in figure and then we solder some connecting wires with it to connect it with PCB board

          1 / 5
          Me while cell welding
          2 / 5
          My grp mate
          3 / 5
          Cell welding
          4 / 5
          CELL testing
          5/ 5
          Cell testing

          OUTPUT:
          Conclusion:

          Thus it is concluded that from this project we learnt new innovative ideas.We learned the basic fundamentals of Eagle while making schematic and board layouts for PCB. We profound studied BQ76930 IC datasheet ,soldering components on PCB, cell connectivity, boot loading, cell welding and CAD model in solid works.To do a remarkable and outstanding project, it is vital we take consistent action in spite of our fears and doubts. No doubt, It is true that our 2 Ics got burnt, but we we learned two new ideas not to soldet that IC in such a way. We learned from our mistakes. Though, our project took some time, but If we rushed the project in search of achieving our goals in the shortest amount of time, We might not learned from the experiences along the way. It was a journey of minor mistakes. We correct them and it saved us from big failures.When our IC got burnt, we felt ourselve in the thick of spilled milk journey. We learned that for the replacement of components, one should refer their datasheets first. Different Models of MOSFETS( N channel and P channel) are used, their currents aur voltage ratings matters alot. IC BQ76930 is so small, its all terminals are tiny and need more attention when soldering it on pcb. Arranegemnet of Cells matters, either they are connecting in parallel or in series, we selected 5s2p arrangement. Thus in last ,we learned the main function of BMS and cell individual monitoring and voltages shown on output console.

          Refrences

          BMS(Open electronics)

          BMS(TEXAS INSTRUMENTS)

          About BMS

          About BMS

          "THE END"

          "THANK YOU"