Calculating the State of Charge of a Lithium Ion Battery System using a Battery Management System

Stafl Systems
8 Jul 202009:32

Summary

TLDRIn this Stifle Systems Insights video, Eric Staal discusses the concept of State of Charge (SOC) in battery packs, emphasizing its definition as the remaining capacity relative to the total capacity in amp-hours. He illustrates the difference between SOC based on capacity and SOC based on energy, highlighting the importance of understanding the energy available for applications like electric vehicles. Staal also explains the method of Coulomb counting for calculating SOC, the challenges of current sensor drift, and the role of open circuit voltage (OCV) lookup in ensuring accurate SOC estimation for reliable battery performance.

Takeaways

  • πŸ”‹ The state of charge (SOC) is defined as the remaining capacity in amp-hours or coulombs that can be discharged over the total capacity of the battery pack.
  • πŸ“‰ SOC is measured in units of amp-hours, not energy, which is an important distinction because the voltage of a battery changes as it discharges.
  • πŸ“Š The discharge curve for lithium-ion batteries typically shows a varying downward slope, with higher voltage in the initial stages and lower voltage towards the end of discharge.
  • πŸš— In electric vehicle applications, it's more useful to consider the energy available (SOC II) rather than just the capacity remaining, as it provides a more accurate fuel gauge algorithm.
  • πŸ” The 50% SOC point on the discharge curve does not necessarily correspond to 50% of the energy remaining; it's where 50% of the amp-hours have been discharged.
  • πŸ”„ Coulomb counting is the primary method for calculating SOC, which involves integrating the current over time to estimate the amp-hours discharged.
  • πŸ›  Current sensors used in Coulomb counting can have drift and integration errors, which is why open circuit voltage (OCV) lookup tables are used to correct and recalibrate the SOC estimation.
  • πŸ”„ Depth of discharge (DOD) is the inverse of SOC and represents the percentage of the battery's capacity that has been used.
  • πŸ”„ The BMS uses OCV lookup to determine the SOC when the battery is at rest, ensuring an accurate starting point for Coulomb counting and reliable SOC estimation.
  • βš™οΈ Accurate SOC and SOC II algorithms are crucial for the reliable and predictable operation of battery packs, preventing issues like sudden drops in estimated charge.

Q & A

  • What is the state of charge (SOC) of a battery pack?

    -The state of charge (SOC) is defined as the capacity remaining over the total capacity in amp-hours or coulombs that you can discharge over the total capacity of the battery pack.

  • How is the SOC percentage calculated?

    -The SOC percentage is calculated by dividing the remaining capacity by the total capacity of the battery pack. For example, if a battery pack has a total capacity of 100 amp-hours and 70 amp-hours are left, the SOC is 70%.

  • Why is it important to distinguish between SOC and energy units?

    -It's important because SOC is measured in amp-hours, which is a measure of capacity, whereas energy is measured in watt-hours. This distinction is crucial for applications like electric vehicles where the available energy, not just capacity, determines the range.

  • What is the significance of the discharge curve for lithium-ion batteries?

    -The discharge curve for lithium-ion batteries typically shows a varying downward slope in voltage as capacity is discharged. This curve is significant because it illustrates the relationship between voltage, capacity, and energy, which is essential for understanding battery performance.

  • What is the difference between SOC based on capacity (SOC I) and SOC based on energy (SOC II)?

    -SOC I is based on the remaining capacity in amp-hours, while SOC II is based on the available energy. SOC II provides a more accurate representation of the expected runtime or range, as it accounts for the varying energy output at different states of charge.

  • Why is Coulomb counting a primary method for calculating SOC?

    -Coulomb counting is a primary method for calculating SOC because it involves integrating the current over time to estimate the amp-hours discharged, providing a direct measure of the battery's state of charge.

  • What challenges does Coulomb counting face in accurately estimating SOC?

    -Coulomb counting faces challenges such as current sensor drift and integration error, which can lead to inaccuracies in the estimation of discharged amp-hours. To mitigate this, additional methods like open circuit voltage (OCV) lookup are often used.

  • What is open circuit voltage (OCV) lookup and how does it help in SOC estimation?

    -OCV lookup is a method where the BMS compares the actual voltage of the battery at rest with a lookup table to determine the corresponding state of charge or depth of discharge. This helps in recalibrating the SOC estimation, ensuring accuracy and reliability.

  • What is the relationship between depth of discharge (DOD) and SOC?

    -Depth of discharge (DOD) is the inverse of SOC. While SOC represents the remaining capacity, DOD represents the amount of capacity that has been used. For example, at 70% SOC, the DOD would be 30%.

  • Why is it crucial to have an accurate SOC estimation in applications like electric vehicles?

    -In electric vehicles, an accurate SOC estimation is crucial for predicting the remaining range and ensuring reliable operation. Inaccurate SOC estimation can lead to unexpected battery depletion, causing inconvenience and potential stranding of the vehicle.

Outlines

00:00

πŸ”‹ Understanding State of Charge (SOC) and Capacity

In this segment, Eric Staal, the president of Stoffels Systems, introduces the concept of State of Charge (SOC) in battery packs. SOC is defined as the remaining capacity of a battery pack expressed as a percentage of its total capacity. Using a 100 amp-hour battery pack as an example, if 70 amp-hours are left to discharge, the SOC is 70%. It's emphasized that SOC is measured in amp-hours, not energy, which is a critical distinction. The video also explains the voltage discharge curve of lithium-ion batteries, highlighting how voltage decreases as capacity is discharged. The importance of differentiating between energy and capacity is discussed, especially in applications like electric vehicles where energy available is more relevant than raw capacity. The concept of SOC II, which is energy-based, is introduced as a more accurate representation for fuel gauge algorithms.

05:07

πŸ”¬ Calculating SOC: Coulomb Counting and Open Circuit Voltage (OCV) Lookup

The second paragraph delves into how SOC is calculated, focusing on Coulomb counting as the primary method. Coulomb counting involves integrating the current over time to determine the amp-hours discharged, which is essential for calculating SOC. The discussion points out the challenges of current sensor drift and integration error, which can affect the accuracy of SOC estimation. To mitigate these issues, the Battery Management System (BMS) uses an open circuit voltage (OCV) lookup. This lookup compares the integrated current data with the actual cell voltage to recalibrate the SOC. The concept of depth of discharge (DOD) is also introduced as the inverse of SOC, and its importance in recalibrating the SOC after the battery has been at rest is explained. The video concludes by emphasizing the importance of accurate SOC and SOC II calculations for reliable battery pack operation, particularly in applications like electric vehicles where inaccurate readings could lead to stranded vehicles and safety concerns.

Mindmap

Keywords

πŸ’‘State of Charge (SOC)

State of Charge (SOC) is a measure of the amount of charge left in a battery. It is defined as the ratio of the remaining capacity to the total capacity of the battery pack, expressed in amp-hours or coulombs. In the video, SOC is used to illustrate how much of the battery's capacity is left after a certain amount has been discharged. For instance, if a battery pack has a total capacity of 100 amp-hours and 70 amp-hours are left, the SOC is 70%. This concept is central to understanding the battery's health and capacity to deliver power.

πŸ’‘Battery Pack

A battery pack refers to a combination of multiple battery cells that are connected together to provide a desired voltage and capacity. In the context of the video, the battery pack's total capacity is used to calculate the SOC. The video explains that the SOC is determined by the capacity remaining in the battery pack, which is crucial for applications such as electric vehicles where knowing the exact charge level is essential for range estimation.

πŸ’‘Capacity

Capacity in the context of batteries refers to the amount of electric charge that a battery can store. It is typically measured in amp-hours (Ah). The video uses the term to explain the total capacity of a battery pack, which is the maximum amount of charge it can hold. The SOC is directly related to the capacity, as it represents the percentage of the total capacity that is still available.

πŸ’‘Coulomb Counting

Coulomb counting is a method used to estimate the SOC by integrating the current flowing in or out of the battery over time. It involves multiplying the current by the time interval and summing these products to approximate the total charge that has flowed out of the battery. The video emphasizes that Coulomb counting is the primary method for calculating SOC and is essential for accurate battery management systems (BMS).

πŸ’‘Discharge Curve

A discharge curve is a graphical representation of the voltage of a battery cell or pack as it discharges over time. The video describes how the discharge curve for lithium-ion batteries typically has a downward slope, with the voltage decreasing as the battery discharges. This curve is important for understanding the relationship between the SOC and the actual energy available from the battery.

πŸ’‘Energy-Based SOC (SOC II)

Energy-Based SOC, or SOC II, is a more accurate representation of the battery's state that takes into account the varying energy content at different SOC levels. Unlike the simple capacity-based SOC, SOC II considers the energy available at each point of discharge, which is more relevant for applications like electric vehicles where the usable energy, not just the capacity, is critical. The video explains that SOC II is a more reliable indicator of the expected runtime or range of a battery.

πŸ’‘Open Circuit Voltage (OCV)

Open Circuit Voltage (OCV) is the voltage of a cell when no current is flowing. The video mentions that BMS uses OCV lookup tables to compare the actual voltage of a cell with the expected voltage for a given temperature and SOC. This comparison helps in recalibrating the SOC estimation, ensuring that the battery's state is accurately represented, which is crucial for preventing inaccurate fuel gauge algorithms that could lead to unexpected battery depletion.

πŸ’‘Depth of Discharge (DOD)

Depth of Discharge (DOD) is the inverse of SOC and represents the percentage of the battery's capacity that has been used. The video uses DOD to illustrate the relationship between the SOC and the voltage of the battery. For example, at a 70% SOC, the DOD would be 30%. Understanding DOD is important for battery management as it helps in determining the health and lifespan of the battery by monitoring how much of its capacity has been utilized.

πŸ’‘Fuel Gauge Algorithm

A fuel gauge algorithm is a method used to estimate the remaining capacity or range of a battery, similar to how a fuel gauge in a car shows the amount of fuel left. The video discusses how confusing SOC with a fuel gauge algorithm can lead to inaccuracies because the energy available varies with the SOC. The correct approach, as highlighted in the video, is to use SOC II, which is based on energy, to provide a more accurate and reliable fuel gauge for applications like electric vehicles.

πŸ’‘Battery Management System (BMS)

A Battery Management System (BMS) is an electronic system that monitors and controls the charging and discharging of battery cells to ensure optimal performance, prolong battery life, and prevent damage. The video explains that BMS uses techniques like Coulomb counting and OCV lookup to calculate the SOC and ensure accurate battery monitoring. The BMS is essential for managing battery packs in applications such as electric vehicles and renewable energy storage systems.

Highlights

Definition of State of Charge (SOC) as the remaining capacity relative to total capacity in amp-hours or coulombs.

Example illustrating SOC calculation with a 100 amp-hour battery pack.

Clarification that SOC is measured in amp-hours, not energy units.

Explanation of the typical discharge curve for lithium-ion batteries.

Importance of understanding the varying voltage slope during battery discharge.

Misinterpretation risks when conflating SOC with fuel gauge algorithms.

Introduction of SOC II, which is based on energy rather than capacity.

Practical example of calculating SOC II based on the area under the discharge curve.

Differentiation between energy-based SOC (SOC II) and capacity-based SOC.

Discussion on the importance of SOC II for accurate fuel gauge algorithms in applications like electric vehicles.

Introduction to Coulomb counting as the primary method for calculating SOC.

Description of how a BMS uses current sensing to perform Coulomb counting.

Challenges with current sensor drift and integration error in Coulomb counting.

Use of open circuit voltage (OCV) lookup for accurate SOC estimation.

Explanation of depth of discharge (DOD) as the inverse of SOC.

Process of recalibrating SOC using OCV lookup after the battery has been at rest.

The necessity of accurate SOC algorithms for reliable battery pack operation.

Transcripts

play00:01

[Music]

play00:08

welcome to the stifle systems insights

play00:11

video series I'm Eric Staal president of

play00:14

Stoffels systems the topic of today's

play00:16

video is the state of charge of a

play00:18

battery pack as estimated by a BMS so

play00:21

what is the state of charge or SOC so

play00:25

it's very simple the state of charge is

play00:28

defined as the capacity remaining so

play00:37

that total capacity in amp hours or

play00:40

coulombs that you can discharge over the

play00:43

total capacity of the battery pack so

play00:50

let's give an example

play00:51

so if we had a battery pack that was say

play00:57

100 amp hour battery pack total capacity

play01:01

and we had 70 amp hours left to

play01:06

discharge that would give us a state of

play01:10

charge of 70% so this would mean that if

play01:17

we fully charge the battery pack up to

play01:19

the 400 amp hours and then discharge 30

play01:22

amp hours we would have 70 amp hours or

play01:24

70 percent of the capacity remaining now

play01:27

it's very important to note that this is

play01:30

in units of amp hours not in units of

play01:33

energy and why is that important well if

play01:37

we look at the discharge curve for a

play01:39

lithium-ion battery cell or a battery

play01:42

pack for that matter with voltage here

play01:44

on the exit y-axis and on the x-axis we

play01:48

have amp hour discharged

play01:56

what does the curve typically look like

play01:58

so for most lithium-ion batteries for

play02:00

example like an MMC or lco type

play02:02

chemistry you would expect to see a

play02:04

curve like this and it falls off towards

play02:06

the end and so typically this is about

play02:09

4.2 volts per cell and the end of

play02:11

discharge is 2.5 volts per cell this

play02:14

could be a little different for

play02:15

different chemistry's but the point is

play02:16

the same in general you have a varying

play02:19

downward facing slope for the voltage as

play02:23

you discharge capacity out of the pack

play02:25

so for example if I took the 50% point

play02:30

for the amp hours discharged so if we

play02:33

took the example above and said that

play02:35

this was a hundred amp hours or 100% and

play02:37

this was 50 amp hours this is zero then

play02:41

this would be the 50% state of charge

play02:43

point which means that we've discharged

play02:47

50 amp hours out of a hundred amp hours

play02:49

and we have 50 amp hours left to go

play02:51

before the battery reads reaches its

play02:53

termination voltage so one thing to

play02:56

notice is that look at the areas under

play02:58

these relative curves one side is bigger

play03:01

than the other so for example there's a

play03:03

lot more energy on the left side of this

play03:06

line than on the right side of the line

play03:08

and why is that important because when

play03:14

you confuse state of charge with a fuel

play03:16

gage algorithm this happens which is

play03:19

typically if you want to get a fuel gage

play03:22

if you want to use a fuel gage for

play03:23

example from electric vehicle

play03:25

application or most applications you're

play03:27

more interested in the energy available

play03:28

as opposed to the capacity so for

play03:30

example if we were doing an electric

play03:31

vehicle design and we were trying to

play03:35

determine okay this is a 200 mile range

play03:37

at what state of charge would you have a

play03:40

hundred miles of range remaining well

play03:42

look at this the balance between this

play03:44

side and this side is clearly imbalanced

play03:47

because the voltage is higher in the

play03:49

lower than the higher states of charge

play03:52

and the voltage is lower in the lower

play03:53

state to charge so it's important to

play03:55

introduce the concept of soe II or SOC

play03:59

based on energy so we denote this as

play04:02

follows

play04:04

I use the black pen for this so SOC c4

play04:11

capacity or SOC II for energy and these

play04:20

are different and this is actually what

play04:24

most applications are interested in

play04:25

because this is actually the more

play04:26

accurate fuel gauge algorithm that tells

play04:29

you how much expected runtime use

play04:32

distance range you ever made so let's

play04:35

look at look at this example again if we

play04:38

say okay where is the actual 50% SOC II

play04:43

point on this well that would be where

play04:45

we would have approximately 50% of the

play04:48

area under the curve on the left side of

play04:49

the line as on the right side that would

play04:51

be somewhere more like here say that

play04:55

this corresponds to a point of 42% SOC

play04:59

see but this equals 50% SOC II so it's

play05:07

very important to understand the

play05:08

distinction between energy state to

play05:10

charge fuel gauge algorithms and

play05:12

capacity states of charge in a future

play05:16

video we'll discuss how the state of

play05:18

charge is actually calculated it

play05:20

typically has a number of more

play05:22

sophisticated elements but for the

play05:24

purposes of today I do want to discuss

play05:26

Coulomb counting which is the primary

play05:28

way that state of charge is calculated

play05:30

so as I mentioned earlier in this

play05:34

example we have a hundred amp hours and

play05:36

we discharged 30 amp hours to have 70

play05:39

amp hours remaining which means we're at

play05:41

a c2 charge of 70% but how did we

play05:43

determine that we discharged 30 amp

play05:45

hours well from the first video we can

play05:48

remember that a BMS typically has a

play05:52

current sensor either a shunt or a Hall

play05:54

effect device that can monitor the

play05:58

current flowing in or out of the battery

play06:00

pack and what are you doing to determine

play06:03

amp hours since amp hours are in units

play06:05

of current times time we are actually

play06:08

performing an integration

play06:10

called Coulomb counting so this is your

play06:13

current and this is time so say that we

play06:17

have a curve that looks like this

play06:23

that is how much charge that's how much

play06:27

current at any given time is coming out

play06:28

of the pack the area under the curve

play06:33

corresponds to the actual capacity

play06:36

removed so this is in units of amp hours

play06:40

and this is what Coulomb counting does

play06:41

Coulomb counting is basically looking at

play06:44

every single slice in a time slice

play06:48

integration fashion multiplying the

play06:51

current times the time interval and

play06:53

summing that up to get an approximation

play06:56

of the integral of this function and

play06:58

what that does is that gives us an

play07:00

accurate estimate of amp hours which

play07:03

gives us a basis for SoC

play07:05

now one of the things to note about

play07:07

Coulomb counting and current sensing is

play07:10

that the current sensor has drift and

play07:13

integration error so you're not going to

play07:15

get perfect alignment of all your

play07:19

sensing with the actual current spikes

play07:21

itself so it's important to note that

play07:25

oftentimes you also need what's called a

play07:27

ocv or open cell voltage lookup to

play07:30

compare what you're integrating with

play07:32

your actual voltage so we'll look over

play07:36

here I'll draw on this plot voltage

play07:43

times I'm gonna introduce a new term

play07:46

called depth of discharge depth of

play07:48

discharge is the inverse of state of

play07:50

charge so for example at 70 percent SOC

play07:54

you would have a depth of discharge of

play07:56

30% so for example 30% SOC right depth

play08:02

of discharge 60% depth of discharge and

play08:05

say this is a hundred percent your

play08:07

voltage is gonna go like this so when

play08:09

the PAC has been at rest for a

play08:10

considerable period of time what you do

play08:13

is the BMS will look up with a lookup

play08:17

table or something similar to see what

play08:19

the open circuit voltage of the cell is

play08:21

for a given temperature

play08:22

and then it will equate that or

play08:25

determine what the corresponding state

play08:27

of charge or depth of discharge is for

play08:28

that and then it will re cede the soc

play08:32

function so that you have a basis upon

play08:35

which to get an accurate understanding

play08:36

of where you need to start Coulomb

play08:39

counting again and this is very

play08:41

important because you don't want to have

play08:43

a fuel gauge algorithm that gets off so

play08:46

you can imagine how frustrating it would

play08:47

be if you had say you're driving along

play08:49

and all of a sudden you went from 30% to

play08:51

0% state of charge immediately because

play08:54

there is an inaccurate estimation it

play08:56

would leave you stranded at least

play08:57

anxiety all sorts of problems like that

play08:59

so the benefit of having both open

play09:03

circuit voltage lookup and accurate

play09:05

Coulomb counting is that you can

play09:06

actually ensure a high degree of

play09:08

accuracy for the state of charge

play09:10

algorithm and the state of charge energy

play09:12

algorithm such that your results are

play09:14

expected in a reliable and predictable

play09:16

operation of your battery pack that's

play09:19

all for today thanks for watching see

play09:21

you next time

play09:22

[Music]

play09:25

you

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Battery ManagementState of ChargeCoulomb CountingEnergy AlgorithmsLithium-ion BatteriesElectric VehiclesVoltage CurvesCapacity MeasurementFuel GaugeBattery Health