Challenge

Week 7 State of charge estimation

Target:
1. Simulate 3 test cases from the harness dashboard and create a detailed report of the results.
2. What is Coulomb count? See the model above for an explanation of how BMS implements Coulomb counting for SOC estimation.
Clarity:
(1) BMS simulation with 3 different tests from the harness dashboard.
Battery management system:
Electric vehicles run on rechargeable battery packs that consist of multiple cell modules arranged in series and parallel. These battery packs produce hundreds of volts of electricity. Various functions in the car depend on them. As such, it is an important vehicle component that requires constant monitoring and control.
A battery management system (BMS) is an embedded system that monitors the components close to the battery cells because each cell must be carefully monitored for voltage fluctuations and imbalances in voltage conditions. The BMS consists of various components that ensure the battery works efficiently and without the possibility of failure.
BMS Requirements:
The main function of BMS is to ensure battery protection and prevent operation beyond safe limits. Monitor the state of charge (SOC) and health of the battery pack. BMS also manages battery optimization through cell balancing, which extends battery life in the long run. The BMS also controls the voltage, various temperature parameters and cooling flow.
High charge density lithium-ion batteries power most electric vehicles. These battery packs are not that big. It can be very unstable. Therefore, these batteries should never be overcharged or allowed to become overdischarged at any time. Thermal runaway is a condition where the temperature of the cell increases due to current flowing through the battery during charging or overcharging. Such conditions can negatively affect the life and capacity of the battery. To prevent this from happening, the BMS must control its voltage and current.
This process is very difficult because many cells are combined to form an electric vehicle battery pack and all the cells are needed.

4. Fault management - over/under voltage, over current, over temperature:
Battery management systems provide the necessary monitoring and control to protect cells from environmental conditions or unacceptable performance. This is especially important in automotive applications due to the harsh working conditions. Beyond protecting individual cells, automotive systems must be designed to respond to external fault conditions by isolating the battery and addressing the cause of the fault. For example, if your battery is overheating, you can turn on the cooling fan. In case of overheating, the battery can be removed.
Fault monitoring systems continuously monitor parameters such as temperature, voltage and current.
The current monitoring system checks the current input to the battery every time the peak current duration increases or the required peak duration exceeds the fault and the battery enters the fault state.
Similarly, cell voltages and temperatures are continuously compared to maximum and minimum limits, and an error is generated every time the limits are exceeded.

Charge/Discharge Current Limit Subsystem:
The minimum voltage is then fed to the discharge current subsystem, where the minimum difference between the cut-off voltage and the minimum cell voltage is used to find the maximum instantaneous discharge current using the cell resistance. The minimum discharge current is then chosen taking into account the instantaneous cell temperature, resistance and cell voltage.
Similarly, the maximum charging current is found based on the maximum instantaneous voltage, which is then compared to the maximum safe voltage of the cell. Instantaneous cell temperature, resistance and voltage are also taken into account.

Charge current limit subsystem:

Plant Module:

Battery pack Module:

The battery pack consists of modules with 6 cells connected in series with a cell balancing circuit.
A voltmeter is connected in parallel to the battery pack and an ammeter is connected in series to the negative terminal of the battery.

Cell Module:-

  • It shows 6 cells connected in series along with the temperature sensor. The simulation is stopped when the SOC of the cell drops below 0.00

Cell balancing Circuit:

  • Here we only passive cell balancing technique as it is comparatively cheaper and less complex than the active cell balancing technique.
  • In the cell balancing circuit, we use only a resistor in parallel to dissipate the charge stored in the form of heat. This is controlled using a voltage sensor which checks when to stop balancing to stop over-discharge.

Pre Chrging Circuit:

The pre-charge circuit is used to prevent surge current when charging and discharging the battery and to prevent sparking, wiring and components from sudden high current flow.
A resistor is connected in series to limit current flow and a capacitor is connected to prevent voltage ripple. First the negative pole of the battery is connected and then the capacitor is charged through the resistor and finally the positive pole is connected.

3. Charging/Discharging Load:-

  • The charging or the load is applied using based on the user input given is state request given as input in the subsystem.

Discharging:-

  • Here the charge given by the battery is considered as positive and the charge given to the battery is considered as negative.
  • The state requirement is checked and the current profile for discharge is made as a repeating sequence from a remapped data in the variable "BattCrnt'. The battery is discharged using a controlled current source.

Simulate different test cases:-
This is the BMS bundle control board for designing and testing this 3 algorithm and this project also contains files for:
1. Estimation of Li-ion battery cell parameters
2. Batteries with 6 cells in series and 96 cells in series
3. Simulink Test files with test cases for State Machine Logic testing
4. Linking requirements with models

Test Case1:

The simulation is run for 20000 seconds in which the first 3000 seconds is the discharge or the driving mode then the next 1000 seconds are in balancing or standby mode then for 5000 seconds in charging and balancing mode and afterwards the in standby or balancing mode.

Comment for the Scope output:-
  1. The first cell voltage graph shows the voltage of all six cells connected in series. During the first 3000 seconds, the cell voltage decreases as the battery discharges, and during the standby period the cell balance is activated and the cell delivery stabilizes the voltage. The cell voltage then increases during charging and stabilizes while the cell is balanced.
  2. The second diagram containing Pack Current shows the current delivered to the battery during charging and discharging. We can also see that during charging, the current first remains constant and then the charging decreases in the constant voltage mode.
  3. The third graph shows the cell temperature for each cell and shows that the cell temperature increases during charging and discharging.
  4. The fourth diagram shows the input states with specified state inputs.
  5. The fifth diagram shows the charging status of the whole pack with three different calculations. The soc curve decreases as the battery discharges and increases during charging.
  6. The sixth diagram shows the cell balance commands for all six cells. All other cells have a signal magnitude of 1 while the first cell has a signal magnitude of 0 because it has the lowest voltage and does not need to be balanced.

Scope Output:

Test Case2:

The simulation is to run for 20000 seconds in which the first 5000 seconds is the discharge or the driving mode then the rest of the time is set to charge the battery.

Comment for scope output:

  1. The first cell voltage graph shows the voltage of all six cells connected in series. During the first 5000 seconds, the cell voltage decreases as the battery discharges, the cell voltage increases during charging, and the voltage stabilizes while the cell is in equilibrium.
  2. The second diagram containing Pack Current shows the current delivered to the battery during charging and discharging. We can also see that during charging, the current first remains constant and then the charging decreases in the constant voltage mode.
  3. The third graph shows the cell temperature of all cells, the cell temperature increases during charging and discharging, and at about 6000 seconds, the temperature of the sixth cell increases to about 323.15 K and the battery fails.
  4. The fourth diagram shows the input states with specified state inputs until failure occurs at about 6000 seconds.
  5. The fifth diagram shows the charging status of the whole pack with three different calculations. The soc curve decreases as the battery discharges and increases during charging. The battery is charged up to 70-75% and stops charging if an error occurs.
  6. The sixth diagram shows the cell balance commands for all six cells. All other cells have a signal magnitude of 1 while the first cell has a signal magnitude of 0 because it has the lowest voltage and does not need to be balanced. Cell balancing starts when the battery starts charging, and when a fault occurs, battery charging stops, but balancing still occurs.

Scope Output:

Test Case3:

The simulation is run for 20000 seconds in which the first 10000 seconds is the discharge or the driving mode then the rest of the time is set to charge the battery.

Output:-

Comments for the Scope Output:-

  1. The first graph with Cell Voltages shows the voltage of all 6 cells connected in series. The cell voltage continues to drop as the battery continues to discharge until it reaches a zero state of charge and the simulation is stopped.
  2. The second graph with Pack Current represents the current drawn and supplied to the battery during charging and discharging. Here we can see that the battery repeats the charge and discharge pattern as explained above in the charge and discharge load.
  3. The third plots the cell temperature of all the individual cells and we see how the cell temperature increases as it charges and discharges.
  4. The fourth plot shows the state of the input according to the given state input, the simulation runs only in discharge mode and when the SOC reaches zero, the simulation stops at about 8692 seconds.
  5. The fifth chart shows the charge status of the entire pack using 3 different calculation methods. The Soc curve decreases as the battery discharges and increases as it charges. Here the battery continues to discharge because the regenerative charging is very less.
  6. The sixth chart shows the cell alignment command for all six cells. Cell balancing does not take place because the simulation only runs in the driving state.

Scope Output:

2) Coulomb counting:
Coulomb counting is a technique used to monitor the state of charge of a battery. It works by integrating the active current flowing (measured in amps) over time to derive the total amount of energy entering or leaving the battery. This creates a capacitance that is usually measured in ampere-hours.The Coulomb counting method measures the discharge current of the battery and integrates the discharge current over time to estimate the SOC. An estimate of SOC(t) is performed, which is estimated from the discharge current I(t) and the previously estimated SOC values, SOC(t-1). SOC is calculated according to the following equation:

conclusion:

Here,All the test conditions are Checked and Commented for the Scope Result.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.