BATTERY IMPEDANCE SPECTRA MEASUREMENT

Information

  • Patent Application
  • 20230204679
  • Publication Number
    20230204679
  • Date Filed
    March 10, 2023
    a year ago
  • Date Published
    June 29, 2023
    a year ago
  • CPC
    • G01R31/389
    • G01R31/367
    • G01R31/396
    • G01R31/3842
  • International Classifications
    • G01R31/389
    • G01R31/367
    • G01R31/396
    • G01R31/3842
Abstract
From a current measurement circuit, digital samples are received of a current signal that flows through a battery cell within a measurement period. From a voltage measurement circuit, digital samples are received of a voltage signal across the battery cell within the measurement period. First voltage spectral components are generated based on performing a first transform operation on the digital samples of the voltage signal. A current spectrum is generated based on performing a second transform operation on the digital samples of the current signal. Second voltage spectral components are generated based on a first condition of the battery cell before the measurement period and a second condition of the battery cell after the measurement period. A voltage spectrum is including the first voltage spectrum and the second voltage spectrum is generated. An impedance spectrum of the battery cell is generated based on the voltage spectrum and the current spectrum.
Description
BACKGROUND

Battery impedance measurement applies impedance spectroscopy techniques to characterize the frequency-dependent impedance of a battery cell in a battery. A battery cell has an anode (a negative terminal) and a cathode (a positive terminal) separated by an electrolyte that produces a voltage and a current. For manufacturing convenience, a battery can contain one or more battery packs. Each battery pack can contain one or more battery cells coupled together in series and/or in parallel. Battery cell impedance spectra measurements are useful in various application areas to provide non-destructive electrochemical characterization of the battery. The battery cell impedance spectra measurement results can provide information useful to improve operations of a battery pack during charge, discharge, cell balancing, and/or cell disconnect conditions. The battery cell impedance spectra measurement results can also provide information useful to diagnose possible issues of the battery, which can facilitate maintenance and/or replacement of one or battery packs in the battery.


SUMMARY

An apparatus includes a voltage measurement circuit, a current measurement circuit, and a controller circuit. The voltage measurement circuit has first measurement inputs and a first measurement output. The first measurement inputs are adapted to be coupled across a battery cell. The current measurement circuit has second measurement inputs and a second measurement output. The second measurement inputs are adapted to be coupled to the battery cell. The controller circuit has control inputs and control outputs. The control inputs are coupled to the first measurement output and the second measurement output. The controller circuit is configured to receive, via the control inputs, digital samples of a current signal that flows through the battery cell within a measurement period. The controller circuit is also configured to receive, via the control inputs, digital samples of a voltage signal across the battery cell within the measurement period. The controller circuit is further configured to generate first voltage spectral components based on performing a first transform operation on the digital samples of the voltage signal. The controller circuit is configured to generate a current spectrum based on performing a second transform operation on the digital samples of the current signal. The controller circuit is configured to generate second voltage spectral components based on a first condition of the battery cell before the measurement period and a second condition of the battery cell after the measurement period. The controller circuit is further configured to generate a voltage spectrum including the first voltage spectral components and the second voltage spectral components. The controller circuit is configured to provide, via the control outputs, an impedance spectrum of the battery cell based on the voltage spectrum and the current spectrum.


In a method, digital samples of a current signal that flows through a battery cell within a measurement period are receive from a current measurement circuit. Digital samples of a voltage signal across the battery cell within the measurement period are received from a voltage measurement circuit. First voltage spectral components are generated by a controller circuit based on performing a first transform operation on the digital samples of the voltage signal. A current spectrum is generated by the controller circuit based on performing a second transform operation on the digital samples of the current signal. Second voltage spectral components are generated by the controller circuit based on a first condition of the battery cell before the measurement period and a second condition of the battery cell after the measurement period. A voltage spectrum including the first voltage spectrum and the second voltage spectrum is generated by the controller circuit. An impedance spectrum of the battery cell is generated by the controller circuit based on the voltage spectrum and the current spectrum.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1A and FIG. 1B illustrate examples of characteristics of a battery cell that can be measured using techniques of example embodiments.



FIGS. 2A through 2C illustrate examples of a battery monitoring system for a battery and its applications, in accordance with various examples.



FIG. 3 illustrates a data flow diagram of example battery cell spectra measurement operations, in accordance with various examples.



FIGS. 4A through 4C are a set of graphs of example battery cell spectra measurement results using the techniques of FIG. 3.



FIGS. 5A through 5C include data flow diagrams of example battery cell spectra measurement operations, in accordance with various examples.



FIGS. 6, 7 and 8 illustrate data flow diagrams of example operations to compute Laplace transform approximates, in accordance with various examples.



FIG. 9 illustrates example operation conditions in which a battery cell has matching initial and final conditions.



FIG. 10 is an example data table to support battery cell spectra measurements in operation conditions where the initial and final conditions of the battery mismatch, in accordance with various examples.



FIG. 11 is a graph of voltage and current measurements to support battery cell spectra measurements in operation conditions where the initial and final conditions of the battery mismatch, in accordance with various examples.



FIGS. 12A through 12C are graphs of example battery cell spectra measurement results using the example techniques of FIGS. 5A through 11.



FIGS. 13A, 13B, 14 and 15 are flowcharts of example operations of performing battery cell spectra measurements using example techniques of FIGS. 5A through 11, in accordance with various examples.



FIG. 16 illustrates an example hardware computing system that can implement techniques of example embodiments.





DETAILED DESCRIPTION


FIG. 1A illustrates an example of impedance characteristics of a battery 100. Battery 100 can include a battery pack having a plurality of battery cells coupled in series and/or in parallel between terminals 101a and 101b. Terminal 101a can be a positive terminal and have a voltage Vp, and terminal 101b can be a negative terminal and have a voltage Vn. An example battery cell 102 of battery 100 is also shown in FIG. 1A. In a case where battery 100 comprises electrochemical cells, battery cell 102 can have a frequency-dependent impedance Z. The frequency dependence of the impedance can be attributed to the underlying chemical processes of the electrochemical cell. As a current i(t) flows through battery cell 102, a voltage v(t) can develop across the impedance Z in response to the current. In some examples, the voltage v(t) can be applied across the impedance Z, and the current i(t) can flow in response to the voltage. In frequency domain, impedance Z can be characterized by a ratio between the spectral representations of voltage v(t) and current i(t), shown as V(jω) and I(jω) in expression 103 of FIG. 1A where w is the angular frequency in units of rad/sec and j is the unit imaginary number. V(jω) can be a voltage spectrum including a first set of spectral components at a set of angular frequencies, and I(jω) can be a current spectrum including a second set of spectral components at the set of angular frequencies.


In embodiments described herein: (a) a battery cell impedance spectra measurement is performed in a time efficient manner, so the result of the measurement could account for dynamic operation conditions of the battery; and (b) the battery cell impedance spectra measurement operation is performed when the battery is supplying power to a load, so it can support various applications, such as real-time monitoring of a battery in an automobile during a driving operation.


An impedance spectrum is useful to update an internal resistance of a battery cell used to compute optimal charging current that is as high as possible but will not cause Li-plating. Also, single frequency impedance measurement is useful to determine the core temperature of a battery cell more accurately as compared to external battery pack case temperature measurement using a thermistor, especially for fast charging where the temperature difference between cell core and case can be large, sometimes up to 20° C. Further, impedance spectra measurement can be performed as a function of depth of discharge (DOD). DOD may refer to a fraction or a percentage of the capacity which has been removed from the fully charged battery. The DODs of battery cells within a battery pack can be used to predict, for example, usable state of charge (SOC) and state of health (SOH) of the battery cells, and can be used in a cell rebalancing operation. For example, battery cells having a high DOD can be decoupled from the load, while battery cells having a low DOD can be coupled to the load to supply power, until all battery cells have the same DOD.


Also, the battery cell impedance spectra measurement results can also provide information useful to diagnose possible issues in the battery, which can facilitate maintenance and/or replacement of the battery or a given battery pack. For example, the impedance spectrum of a battery cell can be correlated with different failure conditions, such as internal short, deviation from linear increase of impedance to hockey-stick increase which can indicate an upcoming complete failure, etc., and battery cell having these issues can be replaced. Moreover, charging of the battery can also be disabled based on detection of soft internal short from impedance measurement of the battery during discharge or rest, which can prevent charging from a soft short to a hard short and the associated safety hazard.


To obtain an impedance spectrum of a battery cell, a current signal through the battery cell and a voltage signal across the battery cell can each be sampled and measured to obtain, respectively, a time-series of current values and a time-series of voltage values. Transform operations, such as discrete Fourier transform (DFT), can be performed to transform the current values and voltage values from a time domain to a frequency domain, and spectral representations of the current values and of the voltage values can be obtained. The impedance spectrum can then be generated as a ratio between the spectral representation of the current values and the spectral representation of the voltage values. For reasons described below, some limitations make DFT unsuitable for battery cell impedance spectra measurement in a wide range of operation conditions. Example techniques are proposed to address such issues and to improve the accuracy of battery cell impedance spectra measurement.


In some examples, the impedance Z of battery cell 102 can be frequency-dependent, so it has an impedance spectrum. The spectral components of the impedance Z can be complex and have a real component (resistance) and an imaginary component (reactance), and both the resistance and reactance can vary with frequency. The impedance spectrum can be represented in various forms. Graph 104 on the left side of FIG. 1A illustrates an example of the impedance spectrum Z represented by a mapping between imaginary and real components of the impedance spectrum at different frequencies. Graph 106 on the right side of FIG. 1A illustrates another example of the impedance spectrum represented by a mapping between the magnitudes of the impedance spectral components and frequency.



FIG. 1B illustrates an example electrical model 110 of battery cell 102 that can provide an analytical model for the frequency-dependent impedance Z. Impedance Z can be measured across terminals 107a and 107b of battery cell 102. Electrical model 110 can include multiple model components coupled in series between terminals 107a and 107b of battery cell 102. In some examples, the model components can include a series resistor RS, one or more parallel resistor-capacitor networks (e.g., resistor R1 and capacitor C1, resistor R2 and capacitor C2, resistor R3 and capacitor C3, etc.), and a series capacitor CS. Although FIG. 1B illustrates that electrical model 110 has three parallel resistor-capacitor networks, electrical model 110 can include any number of parallel resistor-capacitor networks in other examples. The parallel resistor-capacitor networks can model the electrochemical process of the battery cell when being charged or discharged, the series resistor RS can model terminal resistances, series capacitor CS can model a state of stored charge of the battery cell. With a current i(t) flowing across each model component, a voltage can develop across the model component based on the component's impedance, which can be purely resistive for resistor RS, purely reactive for series capacitor CS, and both resistive and reactive for resistor-capacitor networks R1 and C1, R2 and C2, and R3 and C3. The total voltage response across battery cell 102, vr(t), equals a sum of internal voltages across each of the model components, including vRS(t) across series resistor RS, v1(t) for resistor-capacitor network R1 and C1, v2(t) for resistor-capacitor network R2 and C2, v3(t) for resistor-capacitor network R3 and C3, and vCS(t) across series capacitor CS. The vCS(t) across series capacitor CS is also known as open circuit voltage (OCV). The combined impedances of the model components, as well as voltage vr(t), can change with the frequency of current i(t), hence giving rise to the frequency-dependent impedance Z of battery 100. The resistance and capacitor values in electrical model 110 typically vary based on the operation conditions of battery cell 102, such as temperature, depth of discharge (DOD) and age of the battery cell, such that frequency-dependent impedance Z of battery cell 102 can also vary according to the operation conditions.


The impedance spectrum of battery cell 102, which can be in the forms illustrated in graphs 104 and 106 of FIG. 1A, can be obtained by a battery cell impedance spectra measurement operation. The impedance spectrum of a battery cell can provide information useful to improve operations of a battery pack during charge, discharge, cell balancing, and/or cell disconnect conditions, as well as information useful to diagnose possible issues of the battery cell, which can facilitate maintenance and/or replacement of the battery pack or the entire battery.



FIGS. 2A through 2C illustrate examples of a battery monitoring and management system 200 that can perform a battery cell impedance spectra measurement operation and a management operation on battery 100. As shown in FIG. 2A, a battery monitoring and management system 100 can include a battery monitoring system 202 and a battery management system 204. Battery monitoring and management system 200 can be coupled across a load 206 and battery 100 that supplies power to load 206. As described above, battery 100 may be in the form of a battery pack and can include a plurality of battery cells coupled in series and/or in parallel. Each battery cell can include an electrochemical cell, and battery 100 can have a frequency-dependent impedance.


Battery monitoring system 202 can include a controller circuit 220, a current measurement circuit 222, a voltage measurement circuit 224, and an excitation source 226. In some examples, battery monitoring system 202 can also include a multiplexor circuit 223. Battery monitoring system 202 can have pairs of electrical connections 227 to the positive and negative terminals of each battery cell of battery 100. In some examples, battery monitoring system 202 may also include a temperature sensor 228. Controller circuit 220 can include, for example, a general-purpose central processing unit (CPU), a digital signal processor, a microcontroller, an application specific integrated circuit (ASIC), etc., and can include a memory. Controller circuit 220 can execute instructions from the memory to perform an impedance characterization operation for battery 100, and store and fetch the results of the characterization operation from the memory. Controller circuit 220 can also control the operations of current measurement circuit 122, voltage measurement circuit 224, excitation source 226, and temperature sensor 228 to perform the impedance characterization operation.


Battery monitoring system 202 (and controller circuit 220) can perform the impedance characterization operation based on various techniques. For example, the impedance characterization operation can include a galvanostatic measurement, in which a current signal is supplied to charge or discharge battery 100. For example, excitation source 226 can supply an external current, and load 206 can supply an internal current. Voltage measurement circuit 224 can measure a voltage response signal across each battery cell 102 as a result of the flow of the current signal. As another example, the impedance characterization operation can include a potentiostatic measurement, in which excitation source 226 can apply a voltage signal across battery 100, and current measurement circuit 222 can measure a current signal that flows through battery 100 (as a charging current or a discharging current) as a result of the application of the voltage signal. In both cases, current measurement circuit 222 and voltage measurement circuit 224 can sample and measure the respective current signal and voltage signal to obtain, respectively, a time-series of current values and a time-series of voltage values. Controller circuit 220 can perform transform operations on the current values and voltage values from a time domain to a frequency domain to generate the respective current spectrum and voltage spectrum. Controller circuit 220 can generate battery cell impedance spectrum 230 for a battery cell of battery 100 as a ratio between the current spectrum and the voltage spectrum of the battery cell.


In some examples, battery monitoring system 202 can sample and measure the load current that flows through load 206 and supplied by battery 100 and generate the current spectrum, if the load current includes sufficient spectral information within a range of frequencies of interest. But if the load current does not include sufficient spectral information, battery monitoring system 202 can control excitation source 226 to supply battery 100 and/or remove an external excitation from battery 100. The external excitation can be in the form of voltage or current and can have the requisite spectral characteristics within the frequency range of interest. In some examples, excitation source 226 may include a pulse width modulation (PWM) controller to generate one or more current pulses, and the current pulses can be configured to approximate a periodic function, such as a sinusoidal function, to generate a periodic current signal having pre-determined spectral characteristics.


Specifically, controller circuit 220 can control current measurement circuit 222 to measure a current signal that flows through battery 100, and generate samples of the current signal. Controller circuit 220 can measure the current based on, for example, measuring a voltage across a resistive part of load 206 through which the current signal flows, measuring a voltage across a current path through which excitation source 226 supplies battery 100 and/or removes from battery 100 the external excitation current/voltage. In some examples, controller circuit 220 can control multiplexor circuit 223 to select a pair of electrical connections 207 coupled across a particular battery cell of battery 100 (e.g., battery cell 102), and connect the selected pair of electrical connections 207 to control voltage measurement circuit 224 to measure a voltage signal across the particular battery cell in response to the flow of the current signal, and generate samples of voltage signal. Controller circuit 220 can control multiplexor circuit 223 to select different pairs of electrical connections 207 sequentially to measure the voltage signal across different battery cells. In some examples, controller circuit 220 can include multiple sets of voltage measurement circuits 224, with each voltage measurement circuit 224 adapted to measure the voltage signal across a respective battery cell simultaneously, and multiplexor circuit 223 can be optional accordingly.


Each of current measurement circuit 222 and voltage measurement circuit 224 can include pre-processing circuits, such as analog/digital filters, amplifiers, etc., to perform various pre-processing operations on the voltage/current signals. The pre-processing operations can include filtering operation to remove high frequency spectral components that can cause aliasing in the downstream sampling operation, amplification/attenuation operations, etc. Each of current measurement circuit 222 and voltage measurement circuit 224 can also include an analog-to-digital converter (ADC) to sample the pre-processed analog signal (e.g., a voltage across a battery cell 102, or a voltage across a resistive path to measure the current), and digitalize the signal sample. The sampling rate/frequency can be based on the Nyquist frequency, which can be twice of the maximum frequency of interest. For example, if the maximum frequency of interest is 10 kHz, the sampling frequency can be at least 20 kHz. The digital samples of the voltage signal and current signal can be stored in the memory and fetched by controller circuit 220 to compute battery cell impedance spectrum 230.



FIG. 2B illustrates examples of internal components of current measurement circuit 222, voltage measurement circuit 224, and excitation source 226. In FIG. 2B, MUX 223 is controlled by controller circuit 220 to select a pair of electrical connections 207 across battery cell 102 of battery 100, and route the selected pair of electrical connections 207 to voltage measurement circuit 224. As shown in FIG. 2B, current measurement circuit 222 can include filters 222a and 222b, operational amplifiers 222c and 222d, and ADCs 222e and 222f. Filter 222a can perform a filtering operation on a voltage signal across load 206, which can be used to measure a current signal that flows out of battery 100 (and battery cell 102) and through load 206. The filtered voltage signal can be amplified by operational amplifier 222c, and the amplified voltage signal can be sampled and digitized by ADC 222e to generate digital samples of a current signal that flows through load 206. Moreover, filter 222b can perform a filtering operation on a voltage signal across a resistor 226a along a current path of a discharge current signal provided by excitation source 226. The filtered voltage across resistor 226a can be amplified by operational amplifier 222d, and the amplified voltage signal can be sampled and digitized by ADC 222f to generate digital samples of the discharge current signal.


In addition, voltage measurement circuit 224 can include a subtractor circuit 224a, a filter 224b, an operational amplifier 224c, an ADC 224d, and a digital-to-analog converter (DAC) 224e. Voltage measurement circuit 224 can receive a voltage signal across battery cell 102 (or other battery cell of battery 100) from MUX 223, and subtractor circuit 224a can subtract, from the voltage signal, a DC bias voltage provided by DAC 224e. With such arrangements, the range of voltages to be digitized by ADC 224b can be reduced, which can also reduce the voltage range represented by each bit of ADC 224b. This arrangement can also reduce quantization error and improve the measurement accuracy of voltage measurement circuit 224. In some examples, subtraction circuit 224a can include a voltage subtraction circuit implemented by an operational amplifier, an AC capacitor, etc. The voltage signal with DC bias removed can be filtered by filter 224b and amplified by amplifier 224c, and the amplified voltage signal can be sampled and digitized by ADC 222f to generate digital samples of the voltage signal.


In some examples, excitation source 226 can include a switchable current path coupled between the positive and negative terminals of battery 100. The switchable current path can include resistor 226a, and a switch 226b controlled by a pulse width modulation (PWM) controller 226c. Switch 226b can include a transistor, such as an N-type field effect transistor (NFET), a P-type field effect transistor (PFET), or a parallel combination of both. The current path can be enabled by PWM controller 226c closing switch 226b to provide an electrical short between the positive and negative terminals of battery 100 to discharge the battery, which causes a discharge current signal to flow through resistor 226a, and the discharge current signal can be sampled and measured by ADC 222f as described above. PWM controller 226c control a duty cycle of a PWM signal to control the magnitude and frequency of the discharge current signal. In some examples, excitation source 226 can also include a current source 226d coupled between a voltage source (not shown in the figures) and positive terminal 101a of battery 100 to supply a charging current. The voltage source can provide a higher voltage than the voltage of battery 100 at positive terminal Vp, which allows the charging current to flow into the positive terminal to charge battery 100.


Referring back to FIG. 2A, controller circuit 220 can perform computations to transform the digital samples of current signal and voltage signal from the time domain to, respectively, spectral representations of the current samples and of the voltage samples. Each spectral representation can include a set of spectral components over a set of frequencies. In some examples, controller circuit 220 can obtain a temperature measurement of battery 100 from temperature sensor 228, and include the temperature measurement in the computation of the spectral representations. Controller circuit 220 can generate a battery cell impedance spectrum 230 based on determining, for each frequency in the set of frequencies, a ratio between a voltage spectral component and a current spectral component each at that frequency. Battery cell impedance spectrum 230 can be in various forms, such as a mapping between imaginary and real components of the impedance spectrum at different frequencies, a mapping between the magnitude and phase of the impedance spectral components and frequency, etc., as shown in FIG. 1A.


Battery management system 204 can perform a management operation of battery cell 102, and of other battery cells of battery 100, based on battery cell impedance spectrum 230. The management can be directed to, for example, charging, discharging, cell balancing, and/or cell disconnect operations. For example, based on battery cell impedance spectrum 230, battery management system 204 can determine an internal resistance of a battery cell, and then compute an optimal charging current that is as high as possible but will not cause Li-plating of battery cell 102. As another example, battery monitoring system 202 can perform a single frequency impedance measurement by applying a single-frequency excitation signal (e.g., a current, a voltage, etc.) to battery 100, and then measuring the voltage and/or current of battery cell 102. From the single frequency impedance measurement, battery management system 204 can determine the core temperature of battery cell 102. Such a measurement can be more accurate as compared to, for example, external casing temperature measurement using a thermistor, especially for fast charging where the temperature gradient between cell core and casing can be high.


In addition, from battery cell impedance spectrum 230 of each battery cell of battery 100, battery management system 204 can determine the depth of discharge (DOD) of each battery cell, predict usable state of charge (SOC) and state of health (SOH) of the battery cells based on their DODs, and perform a cell rebalancing operation. For example, battery management system 204 can decouple battery cells of battery 100 having high DODs from load 206, and couple battery cells having low DODs with load 206, until all battery cells have the same DOD.


Further, battery management system 204 can diagnose possible issues of battery 100 based on battery cell impedance spectrum 230 of each battery cell, and output indications to facilitate maintenance and/or replacement of battery 100. For example, impedance spectrum 230 of battery cell 102 can be correlated with different failure conditions, such as internal short, deviation from linear increase of impedance to hockey-stick increase which can indicate an upcoming complete failure, etc. Based on detecting some or all of these potential issues from impedance spectrum 230, battery management system 204 can output an indication that battery cell 102 should be replaced. In some examples, battery management system 204 can also detect a potential soft internal short in battery cell 102 during discharge or rest from impedance spectrum 230, and stop the charging of battery cell 102 to prevent charging from a soft short to a hard short and the associated safety hazard.


In some examples, battery monitoring and management system 200 can be implemented in an automobile to monitor and manage the battery packs in the automobile. Battery monitoring system 202 and battery management system 204 can also be implemented as a distributed system. FIG. 2C illustrates an example application of battery monitoring and management system 200 in an automobile 240. As shown in FIG. 2B, battery management system 204 can be implemented in a host device 242, and battery monitoring system 202 can be embedded with different battery packs. For example, battery monitoring system 202a can be embedded with battery pack 108a and to perform impedance spectra measurement for battery cells in battery pack 108a, whereas battery monitoring system 202b can be embedded with battery pack 108b and to perform impedance spectra measurement for battery cells in battery pack 108b. Each of battery monitoring system 202a and 202b is coupled with host device 242 (and battery management system 204) via a network 244, which can be a Controller Area Network (CAN bus). Battery monitoring systems 202a and 202b can perform the battery cell impedance spectra measurement operations and transmit the impedance spectrum data back to battery management system 204 via network 244 on a regular basis, or upon receiving requests from battery management system 204.



FIG. 3 illustrates a data flow diagram of an example battery cell impedance spectra measurement-operation that can be performed by battery monitoring system 202. Referring to FIG. 3, battery monitoring system 202 can inject a periodic sinusoidal excitation current signal i(t) into battery 100 (e.g., using current source 226d) to generate a voltage signal v(t) across battery cell 102. In some examples, current signal i(t) can include a sinusoidal current signal 306 having a single frequency, and battery cell 102 can generate a voltage signal 308 at that frequency in response to current signal 306. In some examples, current signal i(t) can include a multi-sinusoidal current signal 316 having multiple time-overlapping sinusoidal signals, each with a different frequency. In response to current signal 316, battery cell 102 can generate a voltage signal 318 having the same set of multiple frequencies as current signal 316.


Battery monitoring system 202 can control current measurement circuit 222 and voltage measurement circuit 224 to obtain samples of the respective current signal and voltage response signal within a measurement window. Controller circuit 220 can perform discrete Fourier transform (DFT) operations 320 on the current and voltage response signals samples to compute current and voltage response spectral components. Controller circuit 220 can perform DFT operations 320 using any suitable algorithms, such as fast Fourier transform (FFT) algorithms. DFT operations 320 can be performed on the current and voltage response signals samples to compute current and voltage response spectral components according to the following equations:










I
[
k
]

=







n
=
0


N
-
1




i
[
n
]



e

-
j



2

π

N


kn







(

Equation


1

)













V
[
k
]

=







n
=
0


N
-
1




v
[
n
]



e

-
j



2

π

N


kn







(

Equation


2

)







In Equations 1 and 2, i[n] and v[n] represents an n-th current/voltage signal sample obtained by, for example, current measurement circuit 222 and voltage measurement circuit 224 within the measurement window, I[k] and V[k] represent, respectively, a k-th current spectral component and a k-th voltage spectral component. N represents the total number of signal samples within the measurement window, and j represents the unit imaginary number. Different k indices can be mapped to different frequencies based on a sampling frequency of the current and voltage response signals.


Controller circuit 220 can determine the impedance spectral components Z[k] based on a ratio between V[k] and I[k] for k=0 to N−1, to generate an impedance spectrum (e.g., impedance spectrum 230) for a set of frequencies mapped to the different k indices, as follows:










Z
[
k
]

=




V
[
k
]


I
[
k
]



for


k

=


0


to


N

-
1






(

Equation


3

)







While controller circuit 220 can perform DFT operations 320 to generate an impedance spectrum, various limitations make DFT operations challenging for a battery cell impedance spectra measurement in certain operation conditions, such as in an automobile. First, controller circuit 220 may perform the DFT operations on samples of current and voltage signals obtained from battery cell 102 after battery cell 102 has reached steady state (e.g., having a constant state of charge (SOC)). Accordingly, various electrical model parameters of battery cell 102 that can affect the impedance Z can stay constant. Moreover, the DFT operation may require that the excitation current signal and the resulting voltage signal are periodic, and the initial and final conditions of the signals (e.g., signals correspond to n=0 and n=N−1 in Equations 1 and 2) match. The voltage/current signal output by battery cell 102 responsive to a periodic excitation signal (current/voltage signal) can having matching initial and final conditions if battery cell 102 has reached steady state.


While battery monitoring system 202 can perform an off-line impedance measurement (e.g., when battery 100 is not operational and not supplying power to load 206) when battery cell 102 reaches the steady state, it may be challenging for battery monitoring system 202 to perform real-time monitoring of battery 100 when battery 100 is operational, such as in a driving or charging operation of automobile 240, if battery monitoring system 202 were to wait till battery cell 102 reaches the steady state to perform the impedance measurement. Specifically, the state of charge of battery 100 can vary during the operation of the automobile, and it may take a long time for battery 100 to reach the steady state, especially in a case where the excitation signal includes multiple cycles of sinusoidal current/voltage signals of different periods to cover all frequencies of interest. This may also cause battery monitoring system 202 to wait for a long period of time before collecting voltage and current signal samples. But such a long period of time may be not feasible for a real-time monitoring operation, especially if the monitoring operation is to account for rapid and unexpected changes in the operation conditions of the battery.


Moreover, applying a periodic excitation signal to charge battery 100 while battery 100 is operational, in order to obtain periodic current/voltage signals from battery 100, can waste power and pose a safety risk. Specifically, as described above, excitation source 226 may include a voltage source operating at a higher positive voltage than battery 100 coupled to current source 226d to charge the battery. The voltage source can be a high voltage external power supply, but such a power supply can use additional power and is power inefficient, especially if the additional power is not used in other operations of the automobile. Moreover, it can also be unsafe to charge battery 100 when the battery is in operation. Overvoltage and overcurrent protection mechanisms can be introduced to improve safety, but these mechanisms can increase the overall complexity of the excitation source. The complexity of the excitation source, as well as the associated energy inefficiency and safety risk, can be further increased when the battery includes multiple battery cells stacked in series to output a high voltage, which may need to be matched or exceeded by the external power source of the excitation source in order to charge battery 100.


In addition, applying a periodic excitation signal to charge battery 100 does not necessarily produce periodic current/voltage signals in battery 100. Specifically, battery 100 may be coupled with an arbitrary and variable current load during driving or the regenerative charging of the battery. Even if a periodic excitation voltage/current signal is supplied to battery 100, the variable current load can introduce distortions to the periodic voltage signal across battery, and the voltage signal across battery 100 can become aperiodic. There can also be mismatches between the first and last samples of the current and voltage response signals collected in the measurement window.


Performing a DFT operation on voltage and current signals obtained from a battery when the battery is not in steady state, or on the aperiodic voltage signal and current signal samples having mismatching initial and final conditions, can introduce spectral elements that either do not belong to the signal being processed or do not reflect the actual electrical properties of the battery, both of which can lead to substantial errors in the resulting impedance spectrum.



FIGS. 4A through 4C are graphs of example battery cell impedance spectrums generated from performing DFT operations on voltage and current signals containing non-periodic transient signals. FIG. 4A includes a graph 430 that shows a mapping 432 of real and imaginary components of the actual/target impedance spectrum, and a mapping 434 of real and imaginary components of an impedance spectrum determined from the DFT operations on the voltage and current signals. Also, FIG. 4B includes a graph 440 that shows a plot 442 of the imaginary components of the actual/target impedance spectrum and a plot 444 of the imaginary components of impedance spectrum from the DFT operations. Further, FIG. 4C includes a graph 450 that shows a plot 452 of the imaginary components of the actual/target impedance spectrum and a plot 454 of the imaginary components of impedance spectrum from the DFT operations. As shown in FIGS. 4A through 4C, substantial discrepancies exist between the actual/target impedance spectrum and the impedance spectrum computed from the results of the DFT operations, especially at frequencies beyond 10 rad/s.



FIGS. 5A through 5C illustrate data flow diagrams of example battery cell impedance spectra measurement operations that can address at least some of the issues described above. As shown in FIG. 5A, controller circuit 220 can perform a transform operation 500 that does not require the input signal to be periodic nor to have matching initial and final conditions. Controller circuit 220 can perform transform operation 500 on measurements of current signal i(t) and voltage signal v(t) of battery cell 102 to compute the respective current spectrum and voltage spectrum. In some examples, transform operation 500 can be based on a Laplace transform operation, and the Laplace transforms of the current signal and the voltage signal can be computed based on the following equations:






I(sk)=∫0i(t)e−sktdt  (Equation 4)






V(sk)=∫0v(t)e−sktdt  (Equation 5)


In Equations 4 and 5, i(t) is a continuous time function representing the variation of the current signal with respect to time t, and v(t) is a continuous time function representing the variation of the voltage signal with respect to time. Battery monitoring system 202 can sample the voltage signal and the current signal, and controller circuit 220 can perform transform operation 500 on the samples, in both galvanostatic measurement operation and potentiostatic measurement operation.


Moreover, the parameter sk is a s-domain parameter representing a complex frequency, and can be mapped to a frequency fk according to the following equation:






s
k=2πfkj  (Equation 6)


In Equation 6, j is the unit imaginary number.


Accordingly, a set of N s-domain parameters {s0, s1, . . . sN-1} can be mapped to a set of N frequencies {f0, f1, . . . fN-1}, and each of Laplace transforms I(sk) and V(sk) can represent a spectral component of, respectively, the current signal and the voltage signal at frequency fk. A set of N Laplace transforms (and spectral components) can be computed for the respective voltage and current signals.


To compute the Laplace transforms, controller circuit 220 can perform an integration operation for a first product between the current signal function i(t) and exponential function e−skt from time zero (t=0) to infinite time (t=∞) to compute I(sk). Moreover, controller circuit 220 can perform an integration operation for a second product between the voltage signal function v(t) and exponential function e−skt from time zero (t=0) to infinite time (t=∞) to compute V(sk). As to be described below, controller circuit 220 can compute I(sk) and V(sk) using various approximation techniques in lieu of or in addition to the integration operations. Controller circuit 220 can then compute impedance spectrum 230 based on computing a ratio between each respective voltage response spectral component V(sk) and current spectral component I(sk) for a set of s-domain parameters sk (each of which corresponds to a frequency fk) as follows:










Z

(

s
k

)

=




V

(

s
k

)


I

(

s
k

)



for


k

=


0


to


N

-
1






(

Equation


7

)







Using a transform operation based on Laplace transform allows the impedance spectra measurement to be performed under arbitrary load conditions and without injection of external excitation current. This is because Laplace transform does not require the input signal to be periodic nor to have matching initial and final signal conditions. Therefore, the presence of non-periodic transient signals in the input voltage/current signal, as well as mismatching initial and final conditions of the signal, may not lead to substantial error in the signal spectrum as shown in FIGS. 4A through 4C. For example, referring to FIG. 5A, current signals of different forms and shapes, such as current signals 502, 504, 506, and 508, can be supplied to battery cell 102 (either by excitation source 226 or as part of a load current by load 206) to generate, respectively, voltage signals 512, 514, 516, and 518.


Also, in a case where injection of external excitation current is needed (e.g., because the load current does not have spectral components in the frequency of interest), the excitation current can be in the form of a discharge current from battery cell 102, and controller circuit 220 can still perform Laplace transform operation 500 on the voltage and current signals samples to generate a reasonably accurate impedance spectrum for battery cell 102. For example, referring back to FIG. 2B, PWM controller 226c can close switch 226b to short the terminals 101a and 101b of battery cell 102 to discharge the battery cell, and the discharge current can be measured by measuring a voltage across resistor 226a. Such arrangements can reduce the complexity, energy inefficiency, and hazard associated with injecting a positive and periodic current signal into battery cell 102 by current source 226d to generate a periodic voltage signal across battery 100. Further, battery monitoring system 202 needs not wait for battery cell 102 to be in steady state to sample and measure the current and voltage signals, and the measurement period can be shortened to account for dynamic operation conditions of the battery cell.


While the Laplace transform operations in Equations 4 and 5 include integration operations of an input signal (current signal i(t) and voltage response v(t)) from time zero (t=0) to infinite time (t=∞), the portion of input signal being transformed can be time limited to reduce the quantities of current and voltage signals samples to be collected and digitized by current measurement circuit 222 and voltage measurement circuit 224, and to reduce the amount of computations to be performed by controller circuit 220 to generate the impedance spectrum.



FIG. 5B and FIG. 5C illustrate data flow diagrams of examples of Laplace transform operation 500 on input signals that are time limited. Referring to FIG. 5B, as part of a galvanostatic measurement, excitation source 226 can supply an excitation current signal 520 (labelled iexc(t) in FIG. 5B) to battery cell 102 within a measurement period that spans from time zero (t=0) to excitation time end time (t=Tmeas), and battery cell 102 can produce a voltage response signal 522 (labelled vr(t) in FIG. 5B) in response to the excitation current signal. The excitation current signal iexc(t) can be regarded as zero after t=Tmeas. The excitation current signal iexc(t) can be either set to zero by the current source that provides the excitation current, or can be regarded as zero if controller circuit 220 do not include samples of the excitation current signal collected after time Tmeas in the impedance spectra measurement operation. The duration of the measurement period can be based on the lowest frequency of interest. For example, if the spectral components of impedance spectrum to be measured has the lowest frequency of 1 kHz, the measurement period can span at least one cycle of 1 kHz, which is 1 milli-second (ms). The measurement period may span multiple cycles.


Controller circuit 220 can compute a Laplace transform of the current signal Iexc(sk) as the current spectrum based on an integration operation 524 between t=0 and t=Tmeas for a product between iexc(t) and exponential function e−skt as follows:






I
exc(sk)=∫0Tmeasiexc(t)e−sktdt  (Equation 8)


While the current spectrum is computed based on current signal i(t) that is timed limited between t=0 and t=Tmeas, the voltage response vr(t) can span from time zero to a theoretically infinite time. Referring to FIG. 5B, the voltage response vr(t) can have two portions: a first portion 522a that spans from time zero to time Tmeas, and a second portion 522b from time Tmeas to infinity. First portion 522a can represent a response of battery 100 to the current excitation signal between t=0 and t=Tmeas, and second portion 522b can represent a final transient voltage vfinal of battery 100 after the current signal is removed, such as discharge voltages from the capacitors of electrical model 110 (e.g., C1, C2, C3, CS, etc.).


Controller circuit 220 can compute the spectral components Vr(sk) based on a Laplace transform operation of voltage response vr(t), and the Laplace transform operation can include two portions. Controller circuit 220 can perform a first portion of the Laplace transform operation based on an integration operation 526 of a product between first portion 522a of voltage response vr(t) and exponential function e−skt as follows:






V
exc_r(sk)=∫0Tmeasvr(t)e−sktdt  (Equation 9)


Also, controller circuit 220 can perform a second portion of the Laplace transform operation, for second portion 522b of voltage response vr(t) between t=Tmeas to t=∞, based on determining the internal transient voltages across internal capacitors C1, C2, C3, and CS of electrical model 110 after the end of the measurement period as follows:






V
final_tran(sk)=Pexc(sk,[vfinal])  (Equation 10)


In Equation 10, Pexc(sk, vfinal) can be a function that approximates a second portion of the Laplace transform of voltage response vr(t) from t=Tmeas to t=∞, in which the array [vfinal] represents an array of final internal voltages of electrical model 110 at t=Tmeas. As to be described below, the Pexc function can be determined based on the final voltages of electrical model 110 at t=Tmeas, the resistances of resistors R1, R2, R3, and RS of electrical model 110, and the capacitances of capacitors C1, C2, C3, and CS of electrical model 110. With such arrangements, battery monitoring system 202 is not required to measure the voltage response vr(t) beyond the measurement period Tmeas to compute the voltage spectrum.


Controller circuit 202 can obtain an approximate of the Laplace transform of voltage response Vr(sk) based on summing Vexc_r(sk) (obtained based on Equation 9) and Vfinal_tran(sk) (obtained based on Equation 10) as follows:






V
r(sk)=∫0vr(t)e−sktdt=Vexc_r(sk)+Vfinal_tran(sk)  (Equation 11)


Controller circuit 202 can then compute impedance spectrum 230 of battery cell 102 based on computing a ratio between each respective voltage response spectral component V(sk) and current spectral component I(sk) at a given s-domain parameter sk (which corresponds to a frequency fk) as described in Equation 7.


Referring to FIG. 5C, in a case where battery cell 102 has a non-zero initial condition (e.g., non-zero state of charge), voltage measurement circuit 224 can receive voltage signal 530 across battery cell 102 (labelled vmeas(t) in FIG. 5C) that includes an initial transient voltage component 532 (labelled vinit_tran(t) in FIG. 5C) and voltage response signal 520 (vr(t) in FIG. 5C). Initial transient voltage component 532 can represent discharging voltages from the capacitors of electrical model 110 from their initial voltages at the beginning of the measurement period. Due to the superimposition of voltage response vr(t) and the discharging vinit_tran(t), the DC level of voltage signal 530 (vmeas(t)) can exhibit some degrees of drooping as shown in FIG. 5C. The spectral components of the voltage response signal vr(t) within the measurement period (Vexc_r(sk)) can be related to the spectral components of the measured voltage vmeas(t) (Vmeas(sk)) and the spectral components of the initial transient voltage vinit(t) (Vinit(sk)), as follows:






V
meas(sk)=Vexc_r(sk)+Vinit_tran(sk,[vinit])  (Equation 12)


To obtain Vexc_r(sk), controller circuit 220 can perform an integration operation 540 on the measured voltage signal across battery cell 102, vmeas(t), between t=0 and t=Tmeas to obtain Vmeas(sk) as follows:











V
meas

(

s
k

)

=



0

T
meas





v
meas

(
t
)



e

-

s
k


t



dt






(

Equation


13

)







The result of integration operation 540 can represent a Laplace transform of vmeas(t) between t=0 and t=Tmeas where vmeas(t) is zero after the measurement period ends.


Moreover, controller circuit 220 can compute the spectral components of the initial transient voltage vinit_tran(t), Vinit_tran(sk, [vinit]), based on an array of initial internal voltages of electrical model 110, [vinit], at t=0. As to be described below, controller circuit 220 can determine parameters representing the Vinit_tran(sk, [vinit]) function based on the initial voltages of electrical model 110 at t=T0, the resistances of resistors R1, R2, R3, and RS of electrical model 110, and the capacitances of capacitors C1, C2, C3, and CS of electrical model 110. Controller circuit 220 can then determine the voltage response spectral components Vexc_r(sk) for the voltage response during the measurement period based on subtracting Vinit_tran(sk, [vinit]) from Vmeas(sk) for each sk to generate the voltage spectrum.


Combining Equations 4-13, the impedance Z[sk] in the s-domain can be determined from the measured voltage vmeas(t), the excitation current signal i(t), the Laplace transform of the initial transient voltage Vinit_tran(sk, [vinit]), and the Laplace transform of the final transient voltage Vfinal_tran(sk, vfinal) based on the following Equations:










Z

(

s
k

)

=




V
meas

(

s
k

)

-

Pexc

(


s
k

,

[

v
final

]


)



I

(

s
k

)






(

Equation


14

)







Equation 13 can be rewritten as follows:










Z

(

s
k

)

=





0

T
meas





v
meas

(
t
)



e

-

s
k


t



dt


-


V

init

_

tran


(


s
k

,

[

v
init

]


)

+

Pexc

(


s
k

,

[

v
final

]


)





0

T
meas





i
exc

(
t
)



e

-

s
k


t



dt







(

Equation


15

)







Although FIGS. 5A through 5C illustrate a galvanostatic measurement operation, the techniques described herein can also be applied to a potentiostatic measurement operation. In such a case, excitation source 226 can apply an excitation voltage signal to battery cell 102 between t=0 and t=Tmeas Controller circuit 220 can compute the spectral components of the excitation voltage signal based on an integration operation of the excitation voltage signal between t=0 and Tmeas. Controller circuit 220 can also compute the spectral components of the current response based on combining the integration result of a first portion of the current response signal between t=0 and t=Tmeas with approximations of spectral components contributed by the initial and final transients of the current signals in battery cell 102. Controller circuit 220 can compute the approximates of spectral components contributed by the initial and final transients of the current signals in battery cell 102 based on similar techniques as described above in Equations 9-15.


As described above, controller circuit 220 can perform the integration operations to compute the Laplace transforms of measured voltage signal vmeas(t) and current excitation signal iexc(t) within the measurement period, such as integration operations 524 and 526 of FIG. 5B as described in Equations 8 and 13. Controller circuit 220 can perform the integration operations based on approximation operations using the current and voltage signal samples obtained by, respectively, current measurement circuit 222 and voltage measurement circuit 224 within the measurement period between t=0 and t=Tmeas. Specifically, to reduce the computations involved in the integration operations, controller circuit 220 can select a function that approximates the continuous-time variations of current/voltage signal and that also has an analytical Laplace transform expression. Controller circuit 220 can then use parameters of the analytical Laplace transform expression to compute approximations of the Laplace transforms of current signal iexc(t) and voltage signal vmeas(t). Some examples of functions and their analytical Laplace transform expressions are provided in Table 1 below:










TABLE 1





Function f(t)
Analytical Laplace transform expression F(s)







Linear piecewise interpolation function  
f(t)=x(tj)+(x(tj+1)-x(tj)tj+1-tj)(t-tj)






F

(

s
k

)

=



(



x

(

t
j

)


s
k


+


(



x

(

t

j
+
1


)

-

x

(

t
j

)




t

j
+
1


-

t
j



)


s
k
2



)



e


-

s
k




t
j




-


(



x

(

t

j
+
1


)


s
k


+


(



x

(

t

j
+
1


)

-

x

(

t
j

)




t

j
+
1


-

t
j



)


s
k
2



)



e


-

s
k




t

j
+
1















Heaviside step function f(t) = Φ(t − tj) − Φ(t − tj+1)





F

(

s
k

)

=



e


-

s
k




t
j



-

e


-

s
k




t

j
+
1






s
k











Pulse function f(t) = δ(t − tj)
F(sk) = e−Sktj









Controller circuit 220 can compute the approximates of the Laplace transform of the current/voltage signals within the measurement period based on combining samples of voltage/current signals (collected within the measurement period) with parameters of the analytical Laplace transform expression, and computing the values of the combination for different s-domain parameters sk. The Laplace transform approximates can represent the spectral components contributed by the current/voltage signals within the measurement period.



FIG. 6 is a data flow graph of example computations of the Laplace transform approximates using a linear piecewise interpolation function in Table 1. In FIG. 6, signal 602 can be a voltage signal or a current signal. In FIG. 6, for each pair of neighboring signal samples of signal 602 sampled (by current measurement circuit 222 and voltage measurement circuit 224) at t=tj and t=tj+1, controller circuit 220 can determine a linear piecewise interpolation function 604 based on computing a slope of signal 602 between the pair of neighboring signal samples, as follows:











x
int

(
t
)

=







j
=
0


N
-
1




(


x

(

t
j

)

+


(



x

(

t

j
+
1


)

-

x

(

t
j

)




t

j
+
1


-

t
j



)



(

t
-

t
j


)



)






(

Equation


16

)







In Equation 16, x(t) can be function that represents signal 602, and xint(t) can represent linear piecewise interpolation function 604. The time difference between sampling times tj and tj+1 can be constant or variable between different pairs of samples. In Equation 16, the first signal sample can be obtained at t=t0 and the last signal sample is obtained at t=tN-1, and a total of N signal samples can be involved in the computation.


Referring back to Table 1, a linear piecewise interpolation function between two neighboring samples has an analytical Laplace transform expression, as follows:











X

int
,


t
j

-

t

j
+
1





(

s
k

)

=



(



x

(

t
j

)


s
k


+


(



x

(

t

j
+
1


)

-

x

(

t
j

)




t

j
+
1


-

t
j



)


s
k
2



)



e

-

s
k



t
j




-


(



x

(

t

j
+
1


)


s
k


+


(



x

(

t

j
+
1


)

-

x

(

t
j

)




t

j
+
1


-

t
j



)


s
k
2



)



e

-

s
k



t

j
+
1










(

Equation


17

)







Accordingly, by combining Equations 16 and 17, the Laplace transform approximate of signal 602 over signal samples between t=t0 and t=tN-1 can be computed based on summing the analytical Laplace transform expression evaluated at different pairs of neighboring samples, as follows:






X
int(sk)=Σj=0N-1(Xint,tj-tj+1(sk))  (Equation 18)


Controller circuit 220 can compute the Laplace transform approximates of the excitation current signals iexc(t) and the measured voltage vmeas(t) based on samples of the current and voltage signals collected within the measurement period based on Equation 18. For example, controller circuit 220 can compute the Laplace transform approximates of the measured voltage vmeas(t), Vmeas,int(sk), as follows:











V

meas
,
int


(

s
k

)

=




j
=
0


N
-
1




[


(




v
meas

(

t
j

)


s
k


+


1

s
k
2




(




v
meas

(

t

j
+
1


)

-


v
meas

(

t
j

)




t

j
+
1


-

t
j



)



)



e

-

s
k



t
j










(

Equation


19

)












-

(




v
meas

(

t

j
+
1


)


s
k


+


1

s
k
2




(




v
meas

(

t

j
+
1


)

-


v
meas

(

t
j

)




t

j
+
1


-

t
j



)



)




e

-

s
k



t

j
+
1





]




Moreover, controller circuit 220 can compute the Laplace transform approximates of the excitation current signal iexc(t), Iexc,int(sk), as follows:











I

exc
,
int


(

s
k

)

=




j
=
0


N
-
1




[


(




i
exc

(

t
j

)


s
k


+


1

s
k
2




(




i
exc

(

t

j
+
1


)

-


i
exc

(

t
j

)




t

j
+
1


-

t
j



)



)



e

-

s
k



t
j










(

Equation


20

)












-

(




i
exc

(

t

j
+
1


)


s
k


+


1

s
k
2




(




i
exc

(

t

j
+
1


)

-


i
exc

(

t
j

)




t

j
+
1


-

t
j



)



)




e

-

s
k



t

j
+
1





]




In Equations 19 and 20, the first signal sample can be obtained (by current measurement circuit 222 and voltage measurement circuit 224) at t=t0, and the last signal sample can be obtained at t=tN-1, and a total of N signal samples can be collected within the measurement period.


To compute impedance Z(sk) to generate battery cell impedance spectrum 230, controller circuit 220 can compute Vmeas,int(sk) to approximate Vmeas(sk). Controller circuit 220 can also compute Iexc,int(sk) to approximate Iexc(sk). Controller circuit 220 can also compute the Laplace transforms of final transient voltage Pexc(sk, [Vfinal]) and initial transient voltage Vinit_tran(sk, [vinit]). Controller circuit 220 can then compute impedance Z(sk) as follows:










Z

(

s
k

)

=




V

meas
,
int


(

s
k

)

+

Pexc

(


s
k

,

[

v
final

]


)

-


V

init
tran


(


s
k

,

[

v
init

]


)




I

exc

_

init


(

s
k

)






(

Equation


21

)








FIG. 7 is a data flow graph of example computations of the Laplace transform approximates using a Heaviside step function of Table 1. In FIG. 7, a Heaviside step function 702 can be used to approximate signal 602. A Heaviside step function Φ(t) can be defined based on the following Equations:










Φ

(
t
)

=

{



1




if


t

>
0





0




if


t

<
0





0.5




if


t

=
0









(

Equation


22

)







Referring to FIG. 7, between each pair of neighboring signal samples of signal 602 sampled at t=tj and t=tj+1, controller circuit 220 can compute an approximation function 702 using Heaviside step function, as follows:






x
step(t)=Σj=0N-1((Φ(t−tj)−Φ(t−tj+1))x(tj))  (Equation 23)


In Equation 23, x(tj) can represent a sampled signal value at t=tj. The portion of approximation function 702 between t=tj and t=tj+1 can have a constant value given by x(tj). The time difference between sampling times tj and tj+1 can be constant or variable between different pairs of samples. In Equation 23, the first signal sample can be obtained at t=t0 and the last signal sample can be obtained at t=tN-1, and a total of N signal samples can be involved in the computation.


Referring back to Table 1, a step function can have an analytical Laplace transform expression, which can be combined with Equation 23 as follows:











X

step
,


t
j

-

t

j
+
1





(

s
k

)

=


(



e


-

s
k




t
j



-

e


-

s
k




t

j
+
1






s
k


)



x

(

t
j

)






(

Equation


24

)







Accordingly, by combining Equations 23 and 24, the Laplace transform approximate of signal 602 over signal samples between t0−tN-1 can be computed based on summing the analytical Laplace transform expression evaluated at different pairs of neighboring samples, as follows:











X
step

(

s
k

)

=




j
=
0


N
-
1



(


(



e


-

s
k




t
j



-

e


-

s
k




t

j
+
1






s
k


)



x

(

t
j

)


)






(

Equation


25

)







Battery monitoring system 202 can compute the Laplace transform approximates of the excitation current signals iexc(t) and the measured voltage vmeas(t) based on Equation 25, where samples of the current signals can replace x(tj) to compute Xstep(sk) for the current spectral components, and samples of the voltage signals can replace x(tj) to compute Xstep(sk) for the voltage spectral components.



FIG. 8 is a data flow graph of example computations of the Laplace transform approximates using a pulse function of Table 1. In FIG. 8, a pulse function 802 can be used to approximate signal 602 at each sampling time. A pulse function 6 (t) can be defined based on the following Equations:










δ

(
t
)

=

{



1




if


t

=
0





0




if


t


0









(

Equation


26

)







Referring to FIG. 8, signal samples x(tj) of signal 602 obtained at different time t can be approximated based on a sequence of pulses, as follows:






x
pulse(t)=Σj=0N-1(δ(t−tj)×(tj))  (Equation 27)


In FIG. 8, the time difference between sampling times tj and tj+1 can be constant or variable between different pairs of samples. In Equation 27, the first signal sample is obtained at t=t0 and the last signal sample is obtained at t=tN-1, and a total of N signal samples are involved in the computation.


Referring back to Table 1, a pulse function has an analytical Laplace transform expression, which can be combined with Equation 27 as follows:






X
pulse,t

j
(sk)=x(tj)e−sktj  (Equation 28)






X
pulse(sk)=Σj=0N-1(x(tj)e−sktj)  (Equation 29)


Battery monitoring system 202 can compute the Laplace transform approximates of the excitation current signal iexc(t) and the measured voltage signal vmeas(t) based on Equation 29, where samples of the current signals can replace x(tj) to compute Xstep(sk) for the current spectral components, and samples of the voltage signals can replace x(tj) to compute Xstep(sk) for the voltage spectral components.


In some examples, other transform operations, such as Z-transform, can be used to approximate Laplace transform, in a case where the excitation signal (current/voltage) comprises a sequence of uniform separated pulses, and the response signal is also sampled at a uniform sampling rate. For example, if battery cell 102 generates signal 602 in response to a sequence of uniform separated current pulses provided by excitation source 226, and a large number (N) of samples are obtained, the Laplace transform of signal 602 can be approximated based on Z-transform as follows:






X(z)=Σj=0(x(tj)z−j)  (Equation 30)


The z-transform result X(z) can be mapped to X(sk) as follows:






z=e
−s

k

Δt  (Equation 31)


In Equation 31, Δt can represent the uniform sampling period (e.g., between tj and tj+1).


In some examples, battery monitoring system 202 can select a function that approximates the continuous-time variations of current/voltage signals based on various criteria, such as computation power, sampling frequency, the characteristics of the excitation signal, etc. For example, if the excitation signal (current/voltage) comprises a sequence of uniform separated pulses, and the response signal is also sampled at a uniform sampling rate, battery monitoring system 202 can use pulse function to approximate the signal and compute the Laplace transform approximates based on Equations 30 and 31 above.


In addition, battery monitoring system 202 can select the function based on computation power and sampling frequency. Specifically, the analytical Laplace transform expressions of different functions can have different computation complexities and require different amounts of computation and/or memory resources to complete the computation. For example, in Table 1, the analytical Laplace transform of piecewise linear interpolation function may have the highest computation complexity and require the most computation and memory resources to complete, followed by step function and pulse function. Accordingly, in some examples, if battery monitoring system 202 is constrained by available computation and memory resources, it may select step function and/or pulse function over piecewise linear interpolation function to approximate the current/voltage signals, and compute the Laplace transform approximates based on the analytical Laplace transform expressions of step function and/or pulse function.


In some examples, battery monitoring system 202 may select a function based on the sampling frequency by which the current and voltage signals are sampled. Specifically, while piecewise linear interpolation function can provide more accurate approximation of the continuous-time variations of the signal than step function, the accuracy improvement may diminish at a high sampling rate. Accordingly, battery monitoring system 202 may select a step function to approximate the signal when the sampling rate is high, and may select a piecewise linear interpolation function when the sampling rate is low. In a case where battery monitoring system 202 samples the signal at a non-uniform sampling rate, battery monitoring system 202 may select different functions to compute the Laplace transform approximates for different samples, and add the approximates to compute the Laplace transform approximates for all the signal samples within the measurement


The Laplace transform of initial transient voltage Vinit_tran(sk, [vinit]) can be derived from a state-space model representation of electrical model 110. For example, from the state-space model, a transfer function between the response voltage signal and the excitation current signal can be obtained. Accordingly, controller circuit 220 can compute Vinit_tran(sk, [vinit]) based on the following Equation:











V

init

_

tran


(


s
k

,

[

v
init

]


)

=




m



R
m


1
+


R
m



C
m



s
k





+



v
Cs

(
0
)


s
k







(

Equation


32

)







In Equation 32, vm(0) can represent the initial voltages v1, v2, and v3 across, respectively, the R1C1, R2C2, and R3C3 parallel resistor-capacitor networks of electrical model 110 at t=0. Rm represents the resistance of R1, R2, and R3, Cm represents the capacitance of C1, C2, and C3, and vCs(0) represents the voltage across series capacitor CS at t=0. The voltages v1(0) and vCs(0) can be part of the [vinit] array. Equation 32 can represent a transfer function (modelled by electrical model 110) that defines the voltage response of battery 100 for the excitation current signal. As to be described below, controller circuit 220 can determine the initial voltages as well as the R and C parameters based on an optimization operation.


In addition, controller circuit 220 can compute the Laplace transform of final transient voltage Pexc(sk, [vfinal]) based on the transfer function of Equation 32 with the same set of R and C parameters, but with the onset of response shifted by the measurement period duration Tmeas, as follows:










Pexc

(


s
k

,

[

v
final

]


)

=


e


-

s
k




T
meas



(




1




v
1

(

T
meas

)


1
+


R
1



C
1



s
k





+



v
Cs

(

T
meas

)


s
k



)





(

Equation


33

)







Referring to Equations 21 and 33, when battery cell 102 operates in a steady state, the initial internal voltages vm(0) across the parallel RmCm networks (e.g., R1C1, R2C2, and R3C3 networks of electrical model 110) at t=0 and the final internal voltages v1(Texc) at t=Tmeas can be substantially equal. Accordingly, portions of Vinit_tran(sk, [vinit]) and Pexc(sk, [vfinal]) contributed by the RmCm networks can cancel each other in the difference between the Laplace transforms of the initial transient voltage and of the final transient voltage, Pexc(sk, [vfinal])−Vinittran(sk, [vinit]), and Equation 21 for impedance spectral component Z(sk) can be simplified and become:










Z

(

s
k

)

=





V

meas
,
int


(

s
k

)

+


e


-

s
k




T
meas



(




v
Cs

(

T
meas

)


s
k


-



v
Cs

(
0
)


s
k



)




I

exc

_

int


(

s
k

)


=




V

meas
,
int


(

s
k

)

+


e


-

s
k




T
meas



(


Δv
Cs


s
k


)




I

exc

_

int


(

s
k

)







(

Equation


34

)







Referring again to Equation 21, the difference between the Laplace transforms of the initial transient voltage and of the final transient voltage, Pexc(sk, [vfinal])−Vinittran(sk, [vinit]), can be simplified to a term based on the voltage difference ΔvCs across the series capacitor between t=0 and t=Tmeas. The voltage difference ΔvCs can be independent from the RC parameters of electrical model 110.


Controller circuit 220 can determine the voltage difference ΔvCs based on various techniques, such as a linear regression of voltages across battery cell 102 with respect to the excitation current. Specifically, in a case where a varying excitation current signal is supplied to battery cell 102, battery monitoring system 202 can obtain multiple samples of the excitation current signal and the corresponding voltage response signal. Controller circuit 220 can generate a linear graph to fit the current and voltage response signal samples in a linear regression operation, and the linear graph can relate the voltage response signal to the current signal. In a case where the excitation current signal is periodic, the slope of the linear graph can provide ΔvCs, the intercept of the linear graph can provide the capacitance of series capacitor CS, and the effect of the voltages across capacitors Cm on the voltage across battery cell 102 can be averaged out. In some examples, the capacitance of series capacitor CS can also be determined based on a rate of change in the stored charge with respect to the open circuit voltage (OCV) of battery 100.



FIG. 9 are graphs that illustrate example operation conditions in which battery cell 102 operates in a steady state, where controller circuit 220 can determine the impedance spectral component Z(sk) of impedance spectrum 230 based on Equation 34. The left side of FIG. 9 illustrates an operation condition 902. In operation condition 902, excitation source 226 can apply multiple cycles of a sinusoidal (or multi-sinusoidal) excitation current to battery cell 102 (e.g., by charging and/or discharging). Controller circuit 220 can control current measurement circuit 222 and voltage measurement circuit 224 to obtain respective samples of current signal i(t) and voltage signal vmeas(t) in the last cycle(s) of the sinusoidal excitation current, battery cell 102 can be in the steady state. Accordingly, the initial internal voltages vm(0) and the final internal voltages vm(Tmeas) can be substantially equal across each of the parallel resistor-capacitor networks RmCm, and impedance spectral component Z(sk) can be determined based on the simplified Equation 34.


The right side of FIG. 9 illustrates another example operation condition 904 in which battery cell 102 can operate in a steady state. In operation condition 902, battery cell 102 can be in a well-relaxed/well-rested condition prior to the measurement period, which starts at time=0, and zero load current flows through load 206. This situation allows the initial internal voltages vm(0) to start at zero. Moreover, excitation source 226 can stop the application of i(t) at the t=Tstop, which starts a relaxation period, and the measurement period ends at t=Tmeas. This situation allows the final internal voltages vm(Tmeas) to settle to zero as well and become equal to the initial internal voltages vm(0). Accordingly, the initial and final conditions can match, and controller circuit 220 can determine the impedance spectral component Z(sk) of impedance spectrum 230 based on Equation 34. In operation condition 902, controller circuit 220 can control current measurement circuit 222 and voltage measurement circuit 224 to obtain respective samples of current signal i(t) and voltage signal vmeas(t) within the entire measurement period from t=0 to t=Tmeas including the relaxation period between Tstop and Tmeas.


In a case where initial and final conditions of battery cell 102 do not match, to account for Vinit_tran(sk, [vinit]) and Pexc(sk, [vfinal]), controller circuit 220 can perform an optimization operation to determine the resistances Rm (e.g., R1, R2, R3, and RS) the capacitances Cm (e.g., capacitance of capacitors C1, C2, C3, and CS), as well as the internal voltage vRs(t), vm(t) and vCs(t). The optimization operation can be performed over an array of sk values each corresponding to a frequency fk. The array of sk values can be larger than the number of electrical model parameters to be determined, to improve the robustness of the estimation.


Specifically, controller circuit 220 can compute an initial estimate of the Laplace transform Vest(sk) of the measured voltages based on estimated R and C parameters and the Laplace transform approximate of the current signal Iexc_int(sk) as follows:











V
est

(

s
k

)

=




Z


(

S
k

)




I

exc

_

int


(

s
k

)


+


P
init

(

s
k

)

-

Pexc

(

s
k

)






(

Equation


35

)














Z


(

S
k

)

=


R
s

+



m



R
m


1
+


R
m



C
m



s
k










(

Equation


36

)















P
init

(

s
k

)

=




m




v
m

(
0
)


1
+


R
m



C
m



s
k





+



v
Cs

(
0
)


s
k







(

Equation


37

)














Pexc

(

s
k

)

=


e


-

s
k




T
meas



(




m




v
1

(

T
meas

)


1
+


R
m



C
m



s
k





+



v
Cs

(

T
meas

)


s
k



)





(

Equation


38

)







The objective of the optimization operations can be to minimize a cost function r. Controller circuit 220 can compute the cost function r based on a difference between the Laplace transform approximate of the measured voltages Vmeas,int(sk) within the measurement period, and initial estimate of the Laplace transform Vest(sk), as follows:






r(sk)=Vmeas,int(sk)−Vest(sk)  (Equation 39)


As described above, controller circuit 220 can compute Vmeas,int(sk) and Iexc,int(sk) from, respectively, the measured voltage signal samples and current signal samples using the analytical Laplace transform expression of a function that approximates the variation of the voltage signal (e.g., a piecewise linear interpolation function, a step function, a pulse function, etc.). Controller circuit 220 can compute Vest(sk) based on Iexc,int(sk), as well as Z′(sk), Pinit(sk), and Pexc(sk) from initial estimates of parameters including the resistances Rm, capacitances Cm, initial states of internal voltages vm(0) and vCs(0), and final states of internal voltages vm(Texc) and vCs(Texc). In some examples, controller circuit 220 can determine the initial estimates of these parameters from impedance Z(sk) of battery cell 102 in steady state (e.g., from Equation 34). After obtaining the initial estimates, controller circuit 220 can perform the optimization operation based on solving a Non-Linear Least-Squares (NLLS) problem, which includes the computations of a residual fit error and an optimization cost function to obtain an optimal function over an array of sk values, as follows:


Computation of residual fit error:






r(k,[β])=Vmeas,int(sk)−Vest(sk,[β])  (Equation 40)





[r]=[r(1,[β]) . . . r(N,[β])]T  (Equation 41)





[β]=[[R1 . . . RM][C1 . . . CM]]]  (Equation 42)





[V]=[Vmeas,int(s1) . . . Vmeas,int(sN)]T  (Equation 43)


Optimization cost function:





Opt([r])=Σk=1Nr(sk,β)=[r]T[r]  (Equation 44)


Optimization solution:











β
^

*

=

arg

min





R
p

>
0







C
p

>
0






r
T


r





(

Equation


45

)







At the end of the optimization operation, controller circuit 220 can determine the optimized parameters for the resistances Rm, capacitances Cm, initial states of internal voltages vm(0) and vCs(0), and final states of internal voltages vm(Texc) and vCs(Texc), and compute optimized functions Pinit*(sk) and P* exc(sk) based on the optimized parameter values. Controller circuit 220 can then compute the impedance Z(sk) as follows:










Z

(

s
k

)

=




V

meas
,
init


(

s
k

)

-


P
init
*

(

s
k

)

+


P
*



exc

(

s
k

)





I
int

(

s
k

)






(

Equation


46

)







As described above, the resistance and capacitance values in electrical model 110 may vary based on the operation conditions of battery cell 102, such as temperature and depth of discharge (DOD) of the battery. Accordingly, the frequency-dependent impedance Z of battery cell 102 can also vary according to the operation conditions. To improve the initiate estimates for Rm, Cm, RS and CS values at different state of charge and temperatures, which can speed up the optimization operation, battery monitoring system 202 can store, in a memory, a table that maps values of Rm, Cm, and RS parameters to different temperatures and depth of discharge (DOD), and fetch the initiate estimates for Rm, Cm, RS and CS values from the table to start the optimization operation based on a temperature and a DOD of the battery cell.



FIG. 10 illustrates an example of an RC parameter table 1000 that can be maintained by battery monitoring system 202 for battery cell 102. In RC parameter table 1000, each entry {R, C} includes a set of resistance values for Rm and a set of capacitance values for Cm and is mapped to a particular temperature and a particular DOD. For example, an entry {R, C}2,1 is mapped to DOD_2 and temperature Temp_1.


In addition, the capacitance of series capacitor CS, which can model the state of charge of battery cell 102, can be determined based on the total discharge capacity Qmax of battery cell 102 and a rate of change between the series capacitor voltage vCs and DOD, as follows:










C
s

=


Q

max

×



Δ

v

Cs


Δ

DOD







(

Equation


47

)







In some examples, the series capacitor voltage vCs, which can be an open circuit voltage (OCV), can be obtained from a discharge/relaxation test where the open circuit voltage data are obtained at the end of a discharge/relaxation period. FIG. 11 illustrates a graph 1102 showing an example of discharge/relaxation test performed on battery cell 102 at a temperature of 25° C. by battery monitoring system 202. Graph 1102 includes a plot 1104 of measured voltage Vmeas(t) across battery cell 102 with respect to time, and a plot 1106 of current i(t) that flows through battery cell 102 with respect to time. Plot 1106 shows that excitation source 226 charges battery cell 102 with a positive current between times TC0 and TC1, followed by sequences of discharges with a negative current pulse between TD0 and TD1, TD2 and TD3, TD4 and TD5, TD6 and TD7, and between TD8 and TD9.


During the discharge/relaxation test, each discharge current pulse can remove a pre-determined quantity of charge from battery cell 102 to change the DOD. Moreover, between each discharge current pulse zero current flows through battery cell 102, therefore battery cell 102 is in a relaxed state, and the measured voltage Vmeas from plot 1104 between consecutive discharge current pulses can represent an OCV data point as well as a series capacitor voltage vCs. From graph 1102, controller circuit 220 can determine a relationship between DOD (at each discharge current pulse) and OCV (between two discharge current pulses), and use the relationship to determine an initial estimate of vCs (or OCV) as a function of DOD. The discharge/relaxation test can also be performed by battery monitoring system 202 on battery 100 over different temperatures (and for different DODs) to provide an initial estimate of vCs as a function of both DOD and temperature.


In some examples, battery monitoring system 202 can determine the Rm and Cm parameters during the discharge/relaxation test to generate table 1000. For example, at the end of each relaxation that follows a discharge current pulse, which can set a particular DOD of battery 100, excitation source 226 can apply a sinusoidal (or multi-sinusoidal) excitation current signal (a charge current, a discharge current, or both) to battery cell 102, which then generates a voltage response signal. Current measurement circuit 222 and voltage measurement circuit 224 can generate digital samples of the respective current signal and voltage response signal, and controller circuit 220 can perform the aforementioned Laplace transform computations and optimization operations on the current and voltage response samples to determine the impedance spectrum as well as the Rm and Cm parameters for a particular DOD and temperature combination.


In some examples, battery monitoring system 202 can update RC parameter table 1000 to account for changes in the conditions of battery cell 102 caused by aging. For example, battery monitoring system 202 can update the initial estimates of the RC parameters in RC parameter table 1000 using the refined estimates of the RC parameters obtained from the optimization operation. Such arrangements allow controller circuit 220 to start the next optimization operation using initial estimates of the RC parameters that are closer to their optimized values, which can speed up and improve the accuracy of the optimization operation.


To update RC parameter table 1000, battery monitoring system 202 can determine a present DOD (DODpresent) based on the following Equation:










DOD
present

=


DOD
initial

-


Q

pass


Q

max







(

Equation


48

)







In Equation 48, DODinitial can be determined based on measuring the open circuit voltage (OCV) with zero current in the battery, and solving for the DODinitial from a function that relates OCV with DODs obtained from a discharge/relaxation test such as the one shown in FIG. 4G. In addition, Qpass can represent a quantity of charge that has been discharged from battery 100 between the times associated with DODinitial and DODpresent. For example, assuming that DODinitial and DODpresent are computed for two neighboring digital samples, Qpass can be based on the sampling time between the two digital samples, the discharging current idis, sampling time interval tsample, and Qmax as follows:










DOD
present

=


DOD
initial

-



i
dis

×

t
sample



Q

max







(

Equation


49

)







In Equation 49, both the discharging current idis and sampling time interval tsample can vary between different samples.


After performing the optimization operations and determining a set of RC parameters, battery monitoring system 202 can access an {R, C} entry having the closest DOD with DODpresent. Battery monitoring system 202 can combine the R and C parameters in the {R, C} entry with the new R and C parameters obtained from the optimization operation. The combination can be based on various techniques, such as a linear interpolation operation, a weighted averaging operation, etc. For example, battery monitoring system 202 can compute means square errors for the R and C parameters in the {R, C} entry and for the new R and C parameters obtained from the optimization operation. The means square errors can be computed from line regression of multiple samples of the voltage/current values that give rise to the R and C parameters. Battery monitoring system 202 can use the means square errors to compute weights for the R and C parameters in the {R, C} entry and for the new R and C parameters, and compute a weighted average for each R and C parameter based on the weights. Battery monitoring system 202 can then store the weighted average R and C parameters in the {R, C} entry of table 1000.


Also, controller circuit 220 can use the total capacity of battery cell 102, represented by Qmax, to estimate DOD and the capacitance of series capacitor CS. Controller circuit 220 can compute Qmax during an active discharge event (e.g., when excitation source 226 applies a discharge current pulse) based on the following Equation:










Q

max

=


Q

pass



DOD
discharge

-

DOD
initial







(

Equation


50

)







In Equation 50, Qpass represents the total quantity of charge discharged, which can be determined from the duration and the magnitude of the discharge current pulse. Moreover, DODinitial can be determined based on the OCV voltage before the discharge, whereas DODdischarge can be determined based on the OCV voltage after the discharge, from the function that relates OCV with DODs.



FIGS. 12A through 12C are graphs of example impedance spectrums generated by battery monitoring system 202 using the example Laplace transform approximation techniques described in FIGS. 5A through 11. FIG. 12A includes a graph 1200 that shows mappings 1202, 1204, and 1206 of real and imaginary components of different impedance spectrums. Mapping 1202 is for the true impedance spectrum of battery cell 102, mapping 1204 is for an impedance spectrum determined using DFT, and mapping 1204 is for an impedance spectrum determined using the example Laplace transform approximation techniques of FIGS. 5A through 11. As shown in graph 1200, mappings of 1202 and 1206 (actual impedance and impedance from Laplace transform approximation) are closely matched, and mapping 1204 (impedance from DFT) deviate from both mappings of 1202 and 1206.


Also, FIG. 12B includes a graph 1210 that shows a plot 1212 of the imaginary components of the actual impedance and a plot 1214 of the imaginary components of impedance from Laplace transform approximation, both with respect to frequency. Further, FIG. 12C includes a graph 1220 that shows a plot 1222 of the real components of the actual impedance and a plot 1224 of the real components of impedance from Laplace transform approximation, both with respect to frequency. As shown in both graphs 1210 and 1220, the impedance spectral components from Laplace transform approximation match well with the actual impedance spectral components across a wide range of frequencies.



FIG. 13A, FIG. 13B, FIG. 14 and FIG. 15 are flowcharts of example methods to perform a battery impedance spectra measurement operation. The example methods can be performed by various components of battery monitoring system 202, such as controller circuit 220. In some examples, controller circuit 220 can fetch a set of instructions from a memory, and execute the instructions to perform the example methods. In some examples, controller circuit 220 can include hardware logic circuits configured to execute the example methods.



FIG. 13A is a flowchart of an example method 1300. In step 1302, controller circuit 220 can receive digital samples of a current signal that flow through a battery cell of a battery (e.g., battery cell 102 of battery 100) during a measurement period. The current signal can be a load current supplied by battery 100, or an external excitation current injected to and/or discharged from battery 100 by excitation source 226. Controller circuit 220 may enable excitation source 226 to inject/discharge an external excitation current after generating an impedance spectrum based on the load current, and determining that the impedance spectrum does not include spectral components of sufficient power (e.g., based on comparing against a noise threshold) within a frequency range of interest. The current signal can be zero or non-zero outside the measurement period. The current signal can flow through a resistor to generate a voltage, and the resistor voltage can be sampled by an ADC of current measurement circuit 222 to generate digital samples of the current signal.


In step 1304, controller circuit 220 can receive digital samples of a voltage signal across the battery cell during the measurement period. The voltage signal can be output by the battery cell in response to the current signal. The voltage signal can be sampled by an ADC of voltage measurement circuit 224 to generate digital samples of the voltage signal.


Both the measurement period, as well as the sampling rate of the current signal and of the voltage signal, can be based on the range of frequency of interest. For example, the sample rate can be based on a Nyquist frequency, which can be twice of the maximum frequency of interest. For example, if the maximum frequency of interest is 10 kHz, the sampling frequency can be at least 20 kHz. Moreover, the duration of the measurement period can be based on the lowest frequency of interest. For example, if the spectral components of impedance spectrum to be measured has the lowest frequency of 1 kHz, the measurement period can span one or more periods of 1 kHz.


In step 1306, controller circuit 220 can generate first voltage spectral components based on performing a first transform operation on the digital samples of the voltage signal. In addition, in step 1308, controller circuit 220 can generate a current spectrum based on performing a second transform operation on the digital samples of the current signal.


Specifically, both the first transform operation and the second transform operation can include a transform operation that makes no assumption of the periodicity and initial and final conditions of the signals being transformed, such as Laplace transform, Z-transform, etc. Referring to FIG. 6 to FIG. 8 and Equations 16-33, controller circuit 220 can select a function, such as a piecewise linear interpolation function, a step function, a pulse function, etc., that can be used to approximate the variations of the current/voltage signals and that also has an analytical Laplace transform expression. Controller circuit 220 can combine the values of digital samples of the voltage signal with coefficients of the analytical Laplace transform expression for different s-domain parameters sk and compute the first voltage spectral components in step 1306. Moreover, controller circuit 220 can combine the values of digital samples of the voltage signal with coefficients of the analytical Laplace transform expression for different s-domain parameters sk and compute the current spectrum in step 1308.


In addition, controller circuit 220 can also compute a set of parameters that can be reused between the transform computations for the voltage signal and for the current signal, and store the parameters to avoid recomputing them again. For example, controller circuit 220 can compute an array of complex frequencies sk based on a set of frequencies fk, as well as the exponents e−skTa and e−skTa+1, to support the transform computations for the voltage signal in step 1306. Controller circuit 220 can then store these variables in the memory and reuse them for the transform computations for the current signal in step 1308.


In step 1310, controller circuit 220 can generate second voltage spectral components based on a first condition (e.g., an initial condition) of the battery before the measurement period and a second condition (e.g., a final condition) of the battery after the measurement period. The second voltage spectrum can be combined with the first voltage spectrum to generate a voltage response spectrum of a voltage response of the battery to the current signal, with the voltage response being compensated for an initial transient voltage (if any) prior to the measurement period and including a final transient voltage in response to the halting of the current signal after the measurement period ends.



FIG. 13B illustrates a flowchart of operations that can be performed by controller circuit 220 as part of step 1310. Referring to FIG. 13B, in step 1310a, controller circuit 220 determines whether the initial condition and the final condition of the battery cell are equal. As described above in FIG. 9, the determination can be based on whether battery cell 102 (and battery 100) operates in a steady state condition, or whether battery 100 starts from a well relaxed state and ends also at a well relaxed state within the measurement period. For example, in a case where controller circuit 220 controls excitation source 226 to apply a periodic sinusoidal excitation current (by charging and/or discharging battery 100), controller circuit 220 can determine that battery cell 102 is in a steady state responsive to zero load current, and after multiple cycles of the periodic sinusoidal excitation current have been applied to the battery prior to the measurement period. As another example, controller circuit 220 can also determine that battery cell 102 starts from a well-relaxed state and ends also at a well-relaxed state if excitation source 226 applies a short pulse of excitation current to battery cell 102, and zero load current exists, and the measurement period includes a long relaxation period after the excitation current pulse ends.


If the initial and final conditions of the battery cell are equal (in step 1310a), the difference between the Laplace transform of the initial transient voltage Vinit_train(sk, [vinit]) and the Laplace transform of the final transient voltage Pexc(sk, [vfinal]) can be simplified to a term based on the difference in the voltage across the series capacitor, vCs, between t=0 and t=Tmeas, and the Laplace transform difference can be independent from the RC parameters of electrical model 110. Controller circuit 220 can determine a change in the series capacitor voltage ΔVCs between the start (e.g., t=0) and end of the measurement period (e.g., t=Tmeas), in step 1310b. Controller circuit 220 can determine the changes in the series capacitor voltage vCs based on various techniques including running a linear regression to determine a relationship between series capacitor voltage vCs and measured voltage vmeas(t) Controller circuit 220 can then generate the second voltage spectral components based on the change in the series capacitor voltage ΔVCs and Equation 34 described above, in step 1310c. Controller circuit 220 can generate the second voltage spectral components based on computing ΔVCs/sk at different values of sk corresponding to different frequencies fk. Step 1310 can then end.


If the initial and final conditions of the battery cell are not equal (in step 1310a), controller circuit 220 can compute the Laplace transform of a first transient voltage (e.g., an initial transient v voltage before the measurement period), Vinit_train(sk, [vinit]), and the Laplace transform of a second transient voltage (e.g., a final transient voltage after the measurement period), Pexc(sk, [vfinal]), based on the RC parameters of battery electrical model 110, in step 1310d.


Specifically, controller circuit 220 can perform an optimization operation to determine the resistances R1, R2, R3, and RS, the capacitances of capacitors C1, C2, C3, and CS, as well as the internal voltage vRs(t), vm(t) and vCs(t), as described above in Equations 35-45. Controller circuit 220 can perform the optimization operation over an array of sk values each corresponding to a frequency fk. The objective of the optimization operations can be based on minimizing a cost function r between the Laplace transform approximate of the voltage signal within the measurement period, Vmeas,int(sk), and an initial estimate of the Laplace transform approximate of the voltage signal within the measurement period Vest(sk). As described above, Controller circuit 220 can compute Vmeas,int(sk) from the voltage signal samples using the analytical Laplace transform expression of a function that approximates the variation of the voltage signal (e.g., a piecewise linear interpolation function, a step function, a pulse function, etc.) and can be used as a reference/target. Controller circuit 220 can also compute the estimate Vest(sk) based on initial estimate of the Rm and Cm parameters and the Laplace transform approximate of the current signal Iint(sk), based on Equations 35-39 described above. Controller circuit 220 can start the optimization operation with initial estimates of Rm and Cm parameters based on impedance Z(sk) of battery cell 102 in steady state, or initial estimates of Rm and Cm parameters based on the temperature and DOD of the battery cell (e.g., from table 1000 of FIG. 10). Controller circuit 220 can perform the optimization operation based on solving a Non-Linear Least-Squares (NLLS) problem, which can include computation of a residual fit error and an optimization cost function to obtain an optimal function over an array of sk values, based on Equations 40-46.


At the end of the optimization operation, controller circuit 220 can determine optimized functions Pinit*(sk) and P* exc(sk) based on the optimal Rm and Cm parameters values, and controller circuit 220 can generate the second voltage spectrum based on computing the values of Pinit*(sk) and P* exc(sk) over a set of sk values corresponding to frequencies fk, in step 1310e. Step 1310 can then end.


Referring back to FIG. 13A, controller circuit 220 generates a voltage spectrum for the voltage signal including the first voltage spectral components and the second voltage spectral components, in step 1312. Controller circuit 220 can then generate an impedance spectrum of the battery cell based on the voltage response spectrum and the current spectrum, in step 1314. The impedance spectrum can be generated according to Equation 34, in the case of initial and final conditions of the battery cell being equal, or according to Equation 46, in the case of initial and final conditions of the battery cell not being equal.



FIG. 14 illustrates a flowchart of an example method 1400 that can be performed by controller circuit 220 to perform impedance spectra measurements in a case where the initial and final conditions of battery cell 102 are equal. Method 1400 can include, for example, steps 1310b and 1310c of FIG. 13B.


Referring to FIG. 14, in step 1402, controller circuit 220 can wait for a sampling time interval dt, and then obtain a sample of a voltage signal across battery cell 102 as vmeas[n] (e.g., using voltage measurement circuit 224) and obtain a sample of a current signal that flows through battery cell 102 as i[n] (e.g., using current measurement circuit 222). As described above, the sampling time interval can be based on a Nyquist sampling frequency, which in turn can be based on a maximum frequency of the spectral components of the voltage signal and of the current signal to be measured.


In step 1404, controller circuit 220 can store, in a memory, the previous voltage sample vmeas[n−1] as a variable v_last and the previous current sample i[n−1] as a variable i_last, and increment a counter variable k. Counter variable k starts at zero. The counter variable k can be tracked by controller circuit 220 to determine whether the voltage sample are the last samples collected before an excitation current is applied to battery cell 102.


In step 1406, controller circuit 220 can determine whether the counter variable k equals one. If it is, controller circuit 220 can proceed to step 1408 and store vmeas[n] as variable v0, which represents the last unloaded/initial voltage. In a case where no load current exists, and that battery cell 102 is in a well-relaxed state, v0 can be used to determine the initial voltage across series capacitor CS, vCs(0). Controller circuit 220 can then proceed to step 1402 to collect the next samples of voltage signal and current signal.


If the counter variable k does not equal one in step 1406, controller circuit 220 can determine whether an excitation variable equals one, in step 1410. The excitation variable can be initialized to one at the beginning, and can be set to zero when it is determined that the excitation current is to stop. If the excitation variable equals one, controller circuit 220 can control excitation source 226 to apply an excitation current, which can be a charging current, a discharging current (e.g., as shown in FIG. 2B), or both, to battery cell 102, in step 1412. But if the excitation current variable does not equal to one, controller circuit 220 can disable excitation source 226.


Controller circuit 220 can then proceed to step 1414, where it computes, for each complex frequency sk, Laplace transform approximate for the interval dt for current using i[n], i_last (representing i[n−1]), and dt, and for voltage using vmeas[n], v_last, and dt, based on Equations 16-33 as described above. Specifically, controller circuit 220 can select a function, such as a piecewise linear interpolation function, a step function, a pulse function, etc., that can be used to approximate the variations of the current/voltage signals and that also has an analytical Laplace transform expression. Controller circuit 220 can combine the i[n], i_last (for piecewise linear interpolation function), and dt with coefficients of the analytical Laplace transform expression to compute the Laplace transform approximate of the current signal. Moreover, controller circuit 220 can combine the vmeas[n], v_last (for piecewise linear interpolation function), and dt with coefficients of the analytical Laplace transform expression to compute the Laplace transform approximate of the voltage signal.


In addition, controller circuit 220 can also compute a set of parameters that can be reused between the transform computations for the voltage signal and for the current signal, and store the parameters to avoid recomputing them again. For example, controller circuit 220 can compute an array of complex frequencies sk based on a set of frequencies fk, as well as the exponents e−skTa and e−skTa+1, to support the transform computations for the voltage signal. Controller circuit 220 can then store these variables and reuse them for the transform computations for the current signal.


In step 1416, for each complex frequency sk, controller circuit 220 can accumulate the Laplace transform approximates of the respective current and voltage signals samples. For example, controller circuit 220 can add the Laplace transform approximate of the current signal sample i[n] to the sum of Laplace transform approximates of the previous current signal samples to compute a current spectral component. Controller circuit 220 can also add the Laplace transform approximate of the measured voltage signal sample vmeas[n] to the sum of Laplace transform approximates of the previous measured voltage signal samples to compute the first voltage spectral components.


In step 1418, controller circuit 220 can determine whether the application of excitation current is to stop. Referring back to FIG. 9, the determination can be based on, for example, whether the measurement period Tmeas has expired, as in operation condition 902, or whether the stop time Tstop has arrived, as in operation condition 904. If controller circuit 220 determines that application of excitation current is to stop, it can proceed to step 1420 to set the excitation variable to zero.


In step 1422, controller circuit 220 can determine whether the measurement period Tmeas has ended. Referring back to FIG. 9, in operation condition 902, the measurement period Tmeas can stop at the end of the last cycle of excitation current, whereas in operation condition 904, the measurement period can stop at the end of the relaxation period. If controller circuit 220 determines that the measurement period Tmeas has not yet ended, it can proceed back to step 1402 to collect the next samples of current signal and measured voltage signal.


If controller circuit 220 determines that the measurement period Tmeas has ended in step 1522, it can proceed to step 1424 to store the voltage sample vmeas[n] as the final voltage v1. The final voltage can represent the final voltage across series capacitor CS, vCs(Tmeas). Controller circuit 220 can then proceed to step 1426 to compute the voltage spectrum of battery cell 102 based on the first voltage spectral components computed in steps 1414 and 1416, second voltage spectral components based on the initial voltage v0 and final voltage v1, and the current spectrum computed in steps 1414 and 1416, as described above with respect to Equation 34.



FIG. 15 illustrates a flowchart of an example method 1500 that can be performed by controller circuit 220 to perform impedance spectra measurements in a case where the initial and final conditions of battery cell 102 do not match. Method 1500 can include, for example, steps 1310d and 1310e of FIG. 13B.


Referring to FIG. 15, in step 1502, controller circuit 220 can wait for a sampling time interval dt, and then obtain a sample of a voltage signal across battery cell 102 as vmeas[n] (e.g., using voltage measurement circuit 224) and obtain a sample of a current signal that flows through battery cell 102 as i[n] (e.g., using current measurement circuit 222). Controller circuit 220 can also measure temperature T using temperature sensor 228. As described above, the sampling time interval can be based on a Nyquist sampling frequency, which in turn can be based on a maximum frequency of the spectral components of the voltage signal and of the current signal to be measured.


In step 1504, controller circuit 220 can store the previous voltage sample vmeas[n−1] as a variable v_last and the previous current sample i[n−1] as a variable i_last, and increment a counter variable k. Counter variable k starts at zero. The counter variable k can be tracked by controller circuit 220 to determine whether the voltage sample are the last samples collected before an excitation current or load current is applied to battery cell 102. The depth of discharge DOD can be determined based on the sampled voltage prior to flowing of current through battery cell 102.


In step 1506, controller circuit 220 can determine whether the counter variable k equals one. If it is, controller circuit 220 can proceed to step 1508 and determine the current depth of discharge, DODpresent, based on the measured voltage sample vmeas[n] and temperature T. DODpresent can be determined based on solving a function that relates OCV with DODs, as well as temperature T, obtained from a discharge/relaxation test such as the one shown in FIG. 10. DODpresent can also be updated for each current sample based on Equations 48 and 49. Controller circuit 220 can then proceed back to step 1502 to collect next current and voltage samples.


If the counter variable k does not equal to one in step 1506, controller circuit 220 may determine that the voltage and current samples are obtained within the measurement period Tmeas, where the measured voltage is a voltage response signal of battery cell 102 to the current signal. Controller circuit 220 can then proceed to step 1510, for each complex frequency sk, Laplace transform approximate for the interval dt for current using i[n], i_last (representing i[n−1]), and dt, and for voltage using vmeas[n], v_last, and dt, based on Equations 16-33 as described above. Specifically, controller circuit 220 can select a function, such as a piecewise linear interpolation function, a step function, a pulse function, etc., that can be used to approximate the variations of the current/voltage signals and that also has an analytical Laplace transform expression. Controller circuit 220 can combine the i[n], i_last (for piecewise linear interpolation function), and dt with coefficients of the analytical Laplace transform expression to compute the Laplace transform approximate of the current signal. Moreover, controller circuit 220 can combine the vmeas[n], v_last (for piecewise linear interpolation function), and dt with coefficients of the analytical Laplace transform expression to compute the Laplace transform approximate of the voltage signal.


In addition, controller circuit 220 can also compute a set of parameters that can be reused between the transform computations for the voltage signal and for the current signal, and store the parameters to avoid recomputing them again. For example, controller circuit 220 can compute an array of complex frequencies sk based on a set of frequencies fk, as well as the exponents e−skTa and e−skTa+1, to support the transform computations for the voltage signal. Controller circuit 220 can then store these variables and reuse them for the transform computations for the current signal.


In step 1512, for each complex frequency sk, controller circuit 220 can accumulate the Laplace transform approximates of the respective current and voltage signals samples. For example, controller circuit 220 can add the Laplace transform approximate of the current signal sample i[n] to the sum of Laplace transform approximates of the previous current signal samples to compute a current spectral component. Controller circuit 220 can also add the Laplace transform approximate of the measured voltage signal sample vmeas[n] to the sum of Laplace transform approximates of the previous measured voltage signal samples to compute the first voltage spectral components.


In step 1514, controller circuit 220 can determine whether the measurement period Tmeas has ended. If it has not, controller circuit 220 can proceed back to step 1602 to obtain the next current and voltage samples to update the Laplace transform approximates of the voltage and current signals.


If the measurement period Tmeas has ended in step 1514, controller circuit 220 can proceed to select initial estimate Rs, Cser, Rm, Cm, and internal voltages vm from a DOD table (e.g., table 1000 of FIG. 10 based on DODpresent and temperature T), in step 1516.


As part of step 1516, controller circuit 220 can also update the estimates to minimize cost function r(s). Specifically, controller circuit 220 can perform an optimization operation to determine the resistances Rm (e.g., R1, R2, R3, and RS of FIG. 1B) the capacitances Cm (e.g., capacitances of capacitors C1, C2, C3, and CS of FIG. 1B), as well as the internal voltage vRs(t), vm(t) and vCs(t). Controller circuit 220 can perform the optimization operation over an array of sk values each corresponding to a frequency fk. The objective of the optimization operations can be based on minimizing a cost function r between a target Laplace transform approximate of the measured voltages Vmeas,int(sk) and an initial estimate of Laplace transform of the measured voltage Vest(sk). Controller circuit 220 can compute the initial estimate based on estimated Rm and Cm parameters and the Laplace transform approximate of the current signal Iint(sk), based on Equations 35-39 above. Controller circuit 220 can start the optimization operation with initial estimates of Rm and Cm parameters based on impedance Z(sk) of battery cell 102 in steady state, or initial estimates of initial estimates of Rm and Cm parameters based on the temperature and DOD of the battery cell (e.g., from table 1000 of FIG. 10). The optimization can be based on solving a Non-Linear Least-Squares (NLLS) problem, which can include computation of a residual fit error and an optimization cost function to obtain an optimal function over an array of sk values, based on Equations 40-45.


At the end of the optimization operation, controller circuit 220 can determine the optimized functions Pinit*(sk) and P* exc(sk) based on the optimal parameter values. Controller circuit 220 can compute the Laplace transform approximate of the initial transient voltage, Vinit(sk), based on Pinit*(sk), and the Laplace transform approximate of the final transient voltage, Pexec(sk), based on P*exc(sk), over a set of sk values corresponding to frequencies fk, in step 1518.


In step 1520, controller circuit 220 can compute an impedance spectrum Z of battery cell 102 based on the Laplace transform approximates of the voltage and current signal samples within the measurement period (from steps 1510 and 1512), as well as Vinit(sk), and Pexec(sk), as described above with respect to Equation 46.


In step 1522, controller circuit 220 can update the Rs, Cser, Rm, Cm, and internal voltages vm estimates in DOD table using the updated estimates from the optimization operation. The combination can be based on, for example, a linear interpolation operation, a weighted averaging operation, etc.


Any of the computing systems mentioned herein may utilize any suitable number of subsystems. Examples of such subsystems are shown in FIG. 16 in a hardware computing system 10, which can be part of battery monitoring system 202.


The subsystems shown in FIG. 16 are interconnected via a system bus 75. Additional subsystems such as a printer 74, keyboard 78, storage device(s) 79, monitor 76 (which is coupled to display adapter 82) and others are shown. Peripherals and input/output (I/O) devices, which couple to I/O controller 71, can be connected to the hardware computing system by any number of means such as input/output (I/O) port 77 (e.g., USB, FireWire®). For example, I/O port 77 or external interface 81 (e.g. Ethernet, Wi-Fi, etc.) can be used to connect hardware computing system 10 to a wide area network such as the Internet, a mouse input device, or a scanner. The interconnection via system bus 75 allows the central processor 73 to communicate with each subsystem and to control the execution of a plurality of instructions from system memory 72 or the storage device(s) 79 (e.g., a fixed disk, such as a hard drive, or optical disk), and the exchange of information between subsystems. The system memory 72 and/or the storage device(s) 79 may embody a computer readable medium. In some examples, central processor 73 can be part of controller circuit 220, which can execute instructions stored in system memory 72 and/or storage device(s) 79 to perform the example computations and methods described above in, for example, FIG. 13A through FIG. 15, and use system memory 72 to store the input data, output data, as well as intermediary data generated from the performance of the methods. Another subsystem is a data collection device 85, such as current measurement circuit 222, voltage measurement circuit 224, and temperature sensor 228 of FIG. 2A. Data collection device 85 can store the data (e.g., samples of current signal and voltage signal, temperature measurements, etc.) at system memory 72. Any of the data described herein can be output from one component to another component and can be provided to the user.


A hardware computing system can include the same components or subsystems, e.g., connected together by external interface 81 or by an internal interface. In some embodiments, hardware computing systems, subsystem, or apparatus can communicate over a network. In such instances, one computer can be a client and another computer a server, where each can be part of a same computer system. A client and a server can each include multiple systems, subsystems, or components.


Aspects of embodiments herein can be implemented in the form of control logic using hardware (e.g. an application specific integrated circuit or field programmable gate array) and/or using computer software with a generally programmable processor in a modular or integrated manner. As used herein, a processor includes a single-core processor, multi-core processor on a same integrated chip, or multiple processing units on a single circuit board or networked.


Any of the software components or functions described in this application may be implemented as software code to be executed by a processor using any suitable computer language such as, for example, Java, C, C++, C #, Objective-C, Swift, or scripting language such as Perl or Python using, for example, conventional or object-oriented techniques. The software code may be stored as a series of instructions or commands on a computer readable medium for storage and/or transmission. A suitable non-transitory computer readable medium can include random access memory (RAM), a read only memory (ROM), a magnetic medium such as a hard-drive or a floppy disk, or an optical medium such as a compact disk (CD) or DVD (digital versatile disk), flash memory, and the like. The computer readable medium may be any combination of such storage or transmission devices.


Such programs may also be encoded and transmitted using carrier signals adapted for transmission via wired, optical, and/or wireless networks conforming to a variety of protocols, including the Internet. As such, a computer readable medium may be created using a data signal encoded with such programs. Computer readable media encoded with the program code may be packaged with a compatible device or provided separately from other devices (e.g., via Internet download). Any such computer readable medium may reside on or within a single computer product (e.g. a hard drive, a CD, or an entire computing system), and may be present on or within different computer products within a system or network. A computing system may include a monitor, printer, or other suitable display for providing any of the results mentioned herein to a user.


Any of the methods described herein may be totally or partially performed with a computing system including one or more processors, which can be configured to perform the steps. Thus, embodiments can be directed to computing systems configured to perform the steps of any of the methods described herein, potentially with different components performing a respective steps or a respective group of steps. Although presented as numbered steps, steps of methods herein can be performed at a same time or in a different order. Additionally, portions of these steps may be used with portions of other steps from other methods. Also, all or portions of a step may be optional. Additionally, any of the steps of any of the methods can be performed with modules, units, circuits, or other means for performing these steps.


In this description, the term “couple” may cover connections, communications or signal paths that enable a functional relationship consistent with this description. For example, if device A provides a signal to control device B to perform an action, then: (a) in a first example, device A is directly coupled to device B; or (b) in a second example, device A is indirectly coupled to device B through intervening component C if intervening component C does not substantially alter the functional relationship between device A and device B, so device B is controlled by device A via the control signal provided by device A.


A device that is “configured to” perform a task or function may be configured (e.g., programmed and/or hardwired) at a time of manufacturing by a manufacturer to perform the function and/or may be configurable (or reconfigurable) by a user after manufacturing to perform the function and/or other additional or alternative functions. The configuring may be through firmware and/or software programming of the device, through a construction and/or layout of hardware components and interconnections of the device, or a combination thereof.


A circuit or device that is described herein as including certain components may instead be adapted to be coupled to those components to form the described circuitry or device. For example, a structure described herein as including one or more semiconductor elements (such as transistors), one or more passive elements (such as resistors, capacitors and/or inductors), and/or one or more sources (such as voltage and/or current sources) may instead include only the semiconductor elements within a single physical device (e.g., a semiconductor die and/or integrated circuit (IC) package) and may be adapted to be coupled to at least some of the passive elements and/or the sources to form the described structure either at a time of manufacture or after a time of manufacture, such as by an end-user and/or a third party.


While certain components may be described herein as being of a particular process technology, these components may be exchanged for components of other process technologies. Circuits described herein are reconfigurable to include the replaced components to provide functionality at least partially similar to functionality available prior to the component replacement. Components shown as resistors, unless otherwise stated, are generally representative of any one or more elements coupled in series and/or parallel to provide an amount of impedance represented by the shown resistor. For example, a resistor or capacitor shown and described herein as a single component may instead be multiple resistors or capacitors, respectively, coupled in series or in parallel between the same two nodes as the single resistor or capacitor.


Uses of the phrase “ground voltage potential” in this description include a chassis ground, an Earth ground, a floating ground, a virtual ground, a digital ground, a common ground, and/or any other form of ground connection applicable to, or suitable for, the teachings of this description. Unless otherwise stated, “about,” “approximately,” or “substantially” preceding a value means+/−10 percent of the stated value.


Modifications are possible in the described examples, and other examples are possible, within the scope of the claims.

Claims
  • 1. An apparatus comprising: a voltage measurement circuit having measurement inputs and a measurement output; anda controller circuit having control inputs and control outputs, the control inputs coupled to the measurement output, and the controller circuit configured to: receive, via the control inputs, measurement signals representing a voltage signal across a battery cell within a measurement period;generate voltage spectral components based on: the measurement signals; a first condition of the battery cell before the measurement period; and a second condition of the battery cell after the measurement period;generate a voltage spectrum including the voltage spectral components; andprovide a signal based on the voltage spectrum at the control outputs.
  • 2. The apparatus of claim 1, wherein the voltage spectral components are first voltage spectral components, and the controller circuit is configured to: generate second voltage spectral components based on performing a transform operation on the measurement signals; andgenerate the voltage spectrum including the first and second voltage spectral components.
  • 3. The apparatus of claim 2, wherein the measurement inputs are first measurement inputs, the measurement output is a first measurement output, the measurement signals are first measurement signals, the transform operation is a first transform operation, the apparatus further comprises a current measurement circuit having second measurement inputs and a second measurement output, and the controller circuit is configured to: receive second measurement signals representing a current signal through the battery cell within the measurement period;generate a current spectrum based on performing a second transform operation on the second measurement signals;generate an impedance spectrum of the battery cell based on the voltage spectrum and the current spectrum; andprovide the signal representing the impedance spectrum at the control outputs.
  • 4. The apparatus of claim 3, wherein at least one of the first transform operation or the second transform operation is based on a Laplace transform operation.
  • 5. The apparatus of claim 4, wherein the controller circuit is configured to: receive first parameters of a first analytical Laplace transform expression of a first function that approximates variations of the voltage signal within the measurement period;receive second parameters of a second analytical Laplace transform expression of a second function that approximates variations of the current signal within the measurement period;generate the first voltage spectral components based on the first measurement signals and the first parameters; andgenerate the current spectrum based on the second measurement signals and the second parameters.
  • 6. The apparatus of claim 2, wherein the controller circuit is configured to: responsive to the first condition matching the second condition: determine a difference between a first voltage across the battery cell before the measurement period and a second voltage across the battery cell after the measurement period; andgenerate the second voltage spectral components based on computing a Laplace transform of the difference.
  • 7. The apparatus of claim 6, wherein each of the first voltage and the second voltage include an open circuit voltage (OCV) of the battery cell.
  • 8. The apparatus of claim 2, wherein the controller circuit is configured to: responsive to the first condition not matching the second condition: determine a first Laplace transform based on the first condition;determine a second Laplace transform based on the second condition; andgenerate the second voltage spectral components based on the first Laplace transform and the second Laplace transform.
  • 9. The apparatus of claim 3, further comprising an excitation source.
  • 10. The apparatus of claim 9, wherein: the excitation source has an excitation control input, a positive terminal and a negative terminal, and the excitation source includes a switchable discharge path coupled between the positive and negative terminals;the controller circuit has an excitation control output coupled to the excitation control input, and the controller circuit is configured to enable the discharge path; andthe second measurement signals represent a discharge current signal that flows out of the battery cell between the positive and negative terminals.
  • 11. The apparatus of claim 10, wherein the excitation source comprises a current source coupled to the positive terminal and configured to provide a charging current at the positive terminal; and wherein the second measurement signals represent the charging current.
  • 12. The apparatus of claim 10, wherein the excitation source comprises a voltage source; and wherein the excitation source is configured to apply the voltage signal across the battery cell to generate the current signal.
  • 13. The apparatus of claim 9, wherein the voltage signal is provided by the battery cell in response to the current signal supplied by the excitation source.
  • 14. The apparatus of claim 3, wherein the current signal is periodic at least within the measurement period.
  • 15. A method comprising: receiving, from a voltage measurement circuit, measurement signals representing a voltage signal across a battery cell within a measurement period;generating, by a controller circuit, voltage spectral components based on: the measurement signals; a first condition of the battery cell before the measurement period; and a second condition of the battery cell after the measurement period;generating, by the controller circuit, a voltage spectrum including the voltage spectral components; andproviding, by the controller circuit, a signal based on the voltage spectrum.
  • 16. The method of claim 15, wherein the voltage spectral components are first voltage spectral components, and the method further comprises: generating, by the controller circuit, second voltage spectral components based on performing a transform operation on the measurement signals; andgenerating, by the controller circuit, the voltage spectrum including the first and second voltage spectral components.
  • 17. The method of claim 16, wherein the transformation operation is a first transformation operation, the measurement signals are first measurement signals, and the method further comprises: receiving, from a current measurement circuit, second measurement signals representing a current signal through the battery cell within the measurement period;generating, by the controller circuit, a current spectrum based on performing a second transform operation on the second measurement signals;generating, by the controller circuit, an impedance spectrum of the battery cell based on the voltage spectrum and the current spectrum; andproviding, by the controller circuit, the signal representing the impedance spectrum.
  • 18. The method of claim 17, wherein at least one of the first transform operation or the second transform operation is based on a Laplace transform operation.
  • 19. A non-transitory computer readable medium storing instructions that, when executed by a processor, causes the processor to: receive, from a voltage measurement circuit, measurement signals representing a voltage signal across a battery cell within a measurement period;generate voltage spectral components based on: the measurement signals; a first condition of the battery cell before the measurement period; and a second condition of the battery cell after the measurement period;generate a voltage spectrum including the voltage spectral components; andprovide a signal based on the voltage spectrum.
  • 20. The non-transitory computer readable medium of claim 19, wherein the voltage spectral components are first voltage spectral components, and the non-transitory computer readable medium further stores instructions that, when executed by the processor, causes the processor to: generate second voltage spectral components based on performing a transform operation on the measurement signals; andgenerate the voltage spectrum including the first and second voltage spectral components.
  • 21. The non-transitory computer readable medium of claim 20, wherein the measurement signals are first measurement signals, the transform operation is a first transform operation, and the non-transitory computer readable medium further stores instructions that, when executed by the processor, causes the processor to: receive second measurement signals representing a current signal through the battery cell within the measurement period;generate a current spectrum based on performing a second transform operation on the second measurement signals; andgenerate an impedance spectrum of the battery cell based on the voltage spectrum and the current spectrum.
  • 22. The non-transitory computer readable medium of claim 21, wherein at least one of the first transform operation or the second transform operation is based on a Laplace transform operation.
CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No. 17/520,316 filed Nov. 5, 2021, which claims priority to U.S. Provisional Patent Application No. 63/118,394 filed Nov. 25, 2020, which is incorporated by reference herein.

Provisional Applications (1)
Number Date Country
63118394 Nov 2020 US
Continuations (1)
Number Date Country
Parent 17520319 Nov 2021 US
Child 18182306 US