Systems and methods for battery reactive impedance measurements

The time-domain impedance measurement system addresses the inefficiencies of conventional methods by determining a time offset to align voltage and current phases, reducing costs and improving efficiency in battery impedance measurement.

JP2024117733APending Publication Date: 2024-08-29RENESAS ELECTRONICS AMERICA INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024014834
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-15
Filing Date
2024-02-02
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Conventional methods for measuring reactive impedance in battery cells require expensive FFT and I/Q demodulation techniques, precise timing control, and four-wire systems, which are costly and inefficient.

Method used

A time-domain-based impedance measurement system that uses a semiconductor device with a controller to determine a time offset, allowing voltage and current to be in phase, enabling impedance calculation without precise knowledge of phase or frequency, and compatible with two-wire connections.

Benefits of technology

This approach reduces costs and enhances efficiency by minimizing phase errors and eliminating the need for additional wiring, while being compatible with existing battery monitoring systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024117733000001_ABST
    Figure 2024117733000001_ABST
Patent Text Reader

Abstract

To provide systems and methods for battery reactive impedance measurement.SOLUTION: A method disclosed herein comprises measuring voltage of a battery cell. The method also comprises measuring current flowing through the battery cell. The method may further comprise determining a time offset based on the voltage and the current. The time offset can cause the voltage and current to be in-phase. The method may further comprise sampling the voltage and the current based on the time offset. The method may further comprise determining impedance of the battery cell on the basis of the sampled voltage and sampled shifted current.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] [CROSS REFERENCE TO RELATED APPLICATIONS] This application claims priority to U.S. Patent Application No. 63 / 483,323, entitled "SYSTEM AND METHOD FOR DETERMINING REACTIVE IMPEDANCE OF A BATTERY," filed February 6, 2023, the entire contents of which are incorporated herein by reference.

[0002] The present disclosure relates to a system and method for determining the reactive impedance of a battery. [Background technology]

[0003] Multi-cell batteries, such as those used in electric vehicles and stationary-based energy storage systems, may have multiple circuits that measure the voltages of the cells in the battery pack, but in this case, there is only one circuit that measures the current in the pack. Furthermore, these voltage and current measurement circuits may be in different locations in the battery pack. The complex impedance of each cell in these battery packs may be determined based on the measured voltages and currents. This complex impedance may be used to monitor the health of the cells and to extract various information about the cells, including temperature information, from the impedance characteristics of the measured impedance. Summary of the Invention

[0004] In one embodiment, generally, a method for measuring a reactive impedance of a battery is provided. The method can include measuring a voltage of a battery cell. Additionally, the method can include measuring a current flowing through the battery cell. Additionally, the method can include determining a time offset based on the voltage and the current. The time offset can cause the voltage and current to be in phase. Additionally, the method can include sampling the voltage and the current based on the time offset. Additionally, the method can include determining an impedance of the battery cell based on the sampled voltage and the sampled shifted current.

[0005] In one embodiment, generally, a semiconductor device for measuring a reactive impedance of a battery is provided. The semiconductor device can include a controller configured to obtain a voltage of a battery cell. Further, the controller can obtain a current flowing through the battery cell. Further, the controller can determine a time offset based on the voltage and the current. The time offset can cause the voltage and the current to be in phase. Further, the controller can sample the voltage and the current based on the time offset. Further, the controller can determine the impedance of the battery cell based on the sampled voltage and the sampled shifted current.

[0006] In one embodiment, generally, a system for measuring a reactive impedance of a battery is provided. The system may include a battery cell. Further, the system may include a cell monitor configured to measure a voltage of the battery cell. Further, the system may include a pack monitor configured to measure a current flowing through the battery cell. Further, the system may include a controller configured to determine a time offset based on the voltage and the current. The time offset may cause the voltage and the current to be in phase. Further, the controller may sample the voltage and the current based on the time offset. Further, the controller may determine the impedance of the battery cell based on the sampled voltage and the sampled shifted current. [Brief description of the drawings]

[0007] Further features, structure, and operation of various embodiments of the present invention are described in detail below with reference to the accompanying figures, where like reference numbers indicate identical or functionally similar elements. [Figure 1] FIG. 1 illustrates an exemplary system in which measurement of reactive impedance of a battery can be implemented in one embodiment. [Diagram 2] FIG. 1 illustrates an implementation of measuring the reactive impedance of a battery in one embodiment. [Diagram 3] FIG. 1 illustrates a method for determining a time offset for measuring the reactive impedance of a battery in one embodiment. [Figure 4] FIG. 1 is a flow diagram illustrating a process for implementing measurement of reactive impedance of a battery in one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] In the following description, numerous specific details are set forth, including specific structures, components, materials, dimensions, processing steps, and techniques, to facilitate an understanding of various embodiments of the present application. However, those skilled in the art will appreciate that various embodiments of the present application may be realized without these specific details. In some cases, details of known structures or processing steps are omitted in order not to obscure the present application.

[0009] FIG. 1 illustrates an exemplary system that can provide for measuring the reactive impedance of a battery, according to an embodiment. The system 100 can implement a battery pack using one or more semiconductor devices. The system 100 can include a battery circuit 101 and a controller 102. The battery circuit 101 can include at least one battery cell, such as battery cells 108a, ... 108n (collectively referred to herein as "cells 108"), a voltage supply 111, and at least a resistor 110. In an exemplary embodiment, the controller 102 can be connected to at least one cell monitor 104a, ... 104m (collectively referred to herein as "cell monitors 104") and a pack monitor 106. In another embodiment, the controller 102 can include at least one cell monitor 104 and a pack monitor 106.

[0010] Each of the cells 108 may be an energy storage unit comprised of an anode, a cathode, and an electrolyte that work together to generate power for, for example, a device or an electric / hybrid vehicle. Various types of battery cells may be employed, each utilizing different elements to construct a battery cell. For example, lithium-ion batteries feature a lithium-based anode, while nickel-manganese-cobalt (NMC) battery types incorporate NMC cathode components. The voltage supply 111 may be an electrochemical impedance spectroscopy (EIS) excitation load configured to apply a sinusoidal current of a particular amplitude, such as 10 amps (A), to the battery cells 108. The frequency of the sinusoidal current may vary in the range of 0 kilohertz (kHz) to 1 kHz. The EIS excitation load may also be configured to apply the excitation using a voltage. Each of the cell monitors 104 may be an integrated circuit (IC) configured to monitor and receive battery cell information, including, for example, voltage measurements. Each of the cell monitors 104 may be connected to one or more of the battery cells 108. In the embodiment shown in FIG. 1, there may be n cells 108 and m cell monitors 104. The pack monitor 106 may be an IC configured to monitor and receive information of the entire battery pack of at least one battery cell, including, for example, current measurements. The information or measurements obtained by the cell monitor 104 and the pack monitor 106 may prevent potential hazards such as overcharging, over-discharging, and overheating that may lead to battery damage and safety risks. The resistor 110 may be connected between the voltage supply 111 and the battery cell 108. The pack monitor 106 may sense the current across the resistor 110 and provide the sensed current to the controller 102. Although described as a resistor, the resistor 110 is not limited to being a resistor configured to sense the current. The resistor 110 may comprise any other circuit (e.g., a Hall effect sensor) configured to sense the current in the battery circuit 101.

[0011] The controller 102 may include one or more semiconductor devices that may implement, for example, a processor, a microcontroller, a central processing unit (CPU), a field programmable gate array (FPGA), or any other circuitry configured to control and operate the battery circuit 101. Although described as a CPU in the illustrated embodiments, the controller 102 is not limited to a CPU in these embodiments. The controller 102 may include any other circuitry configured to control and operate the battery circuit 101. The controller 102 may be configured to control various components of the system 100, such as the cell monitors 104 and the pack monitor 106.

[0012] In one embodiment, conventional systems can inject an excitation current into the cell 108 to measure the impedance of the cell 108. The conventional systems can measure the voltage across the cell 108 and the current across the resistor 110 generated from the injected excitation current. These conventional systems can demodulate the measured voltage and sample the demodulated voltage multiple times using a fast Fourier transform (FFT) to obtain information such as the magnitude and phase impedance of the cell 108. In another embodiment, in-phase and quadrature (I / Q) demodulation techniques can be used to extract the impedance magnitude and phase information. However, FFT and I / Q demodulation techniques can be relatively expensive, and the excitation current must be unique, requiring perfect knowledge of the excitation current. Additionally, these techniques may require precise timing control to be applied to the voltage and current measurements required to calculate the complex impedance. For example, FFT techniques require both voltage and current to be sampled at high frequency with the same clock timing, while I / Q techniques require the phase of one component (voltage or current) to be known for demodulation of the other component.

[0013] As described below, the controller 102 may be configured to measure the complex impedance of the cells 108 without high frequency sampling or precise knowledge of the voltages or currents, such as the phase of the individual voltage or current waveforms. Instead, a time domain based impedance measurement system (ZIS) may be employed to provide a more cost effective and efficient impedance spectroscopy. The time domain ZIS technique described herein does not require any dependency on the phase of the input signal and has minimal dependency on the frequency of the input signal. This ensures that the performance of the system does not significantly affect the measured magnitude. The use of frequency measurements by the pack monitor 106 also minimizes phase errors. Additionally, implementation with a calibration-free two-wire battery connection eliminates the need for additional wiring, reducing manufacturing costs and improving efficiency compared to a four-wire system. The system is compatible with existing input filters and existing excitation generation systems, allowing it to be integrated into existing battery monitoring systems.

[0014] Figure 2 illustrates an example implementation of measuring the reactive impedance of a battery, according to one embodiment. The description of Figure 2 may refer to components shown in Figure 1. Figure 2 illustrates two waveforms: a voltage waveform 201 and a current waveform 202. In this exemplary embodiment, the voltage waveform 201 may represent the voltage of a particular one of the cells 108 as sensed by the cell monitor 104, and the current waveform 202 may represent the current as sensed by the pack monitor 106. The voltage and current represented by the voltage waveform 201 and the current waveform 202 may vary with time T.

[0015] The controller 102 may be configured to sample a number of voltages V1, V2, V3, etc., where V1, V2, and V3 are sampled at times t1, t2, and t3, respectively. The controller 102 may also sample a number of current values ​​I1, I2, I3, etc., where I1, I2, and I3 are sampled at times t1, t2, and t3, respectively. The controller 102 may generate a data set V(t) / I(t)={V1 / I1, V2 / I2, V3 / I3, ...}. In a purely resistive battery cell, the voltage waveform 201 and the current waveform 202 may be in phase (e.g., aligned in time) and the values ​​in the data sets may be equivalent to each other, such that V1 / I1=V2 / I2=V3 / I3. The impedance of the battery cell may be the average of the values ​​in the data set V(t) / I(t). Thus, when V1 / I1=V2 / I2=V3 / I3, the average of the values ​​in the data set V(t) / I(t) can be any one of the values ​​V1 / I1, V2 / I2, V3 / I3, and the impedance can be any one of the values ​​V1 / I1, V2 / I2, V3 / I3. Furthermore, since the values ​​in the data set are equivalent to each other, the standard deviation of the data set V(t) / I(t) is equal to zero. Thus, for a purely resistive battery cell, the controller 102 can determine the impedance of the battery cell by sampling the voltage sensed by the corresponding cell monitor 104 and the current sensed by the pack monitor 106 and dividing the sampled voltage by the sampled current.

[0016] However, as shown in FIG. 2, the voltage waveform 201 and the current waveform 202 are out of phase. When the voltage waveform 201 and the current waveform 202 are out of phase, the values ​​of V1 / I1, V2 / I2, and V3 / I3 of the data set may be offset from the impedance of the battery cell and may be different from each other such that V1 / I1 ≠ V2 / I2 ≠ V3 / I3. Furthermore, when the voltage and current are out of phase, the standard deviation of the data set will be a non-zero value (e.g., a value greater than zero). Therefore, when the voltage waveform 201 and the current waveform 202 are out of phase, the controller 102 cannot rely solely on the sampled voltage and the sampled current to determine the impedance of the battery cell. To determine the impedance of the battery cell when the battery cell voltage and current are out of phase, the controller 102 may perform a time domain ZIS technique to determine a time offset dt as shown in FIG. 2. The time offset dt may be an amount of time shift that brings the voltage waveform 201 and the current waveform 202 in phase. For example, as shown in Figure 2, the voltage waveform 201 and the current waveform 202 can be in phase if the current waveform 202 is time shifted by a time offset dt. Note that in a purely resistive battery cell, the time offset can be considered to be zero.

[0017] Upon determining the time offset dt, the controller 102 can use the time offset dt to identify a current value that leads to a determination of the impedance of the battery cell. With reference to the example shown in FIG. 2, the controller 102 can sample the current I1' at time t1-dt, sample the current I2' at time t2-dt, and sample the current I3' at time t3-dt. Shifting the current waveform 202 by the time offset dt (or shifting the voltage waveform 201 by dt) can align the current waveform 202 and the voltage waveform 201, so that the data set V(t) / I'(t)={V1 / I1', V2 / I2', V3 / I3', ...} can include values ​​that are equivalent to each other (e.g., V1 / I1'=V2 / I2'=V3 / I3'), and any one of the values ​​V1 / I1', V2 / I2', V3 / I3' can be the impedance value of the battery cell. Note that, as in the case of a purely resistive battery cell, the standard deviation of the data set V(t) / I'(t) is equivalent to zero. Thus, the controller 102 can determine a time offset dt and use the time offset dt to identify a voltage-to-current ratio, such as V1 / I1', or V2 / V2', or V3 / V3', shown in FIG. 2, to determine the impedance of a battery cell that is not purely resistive.

[0018] FIG. 3 illustrates a method for determining a time offset for measuring a reactive impedance of a battery in one embodiment. The description of FIG. 3 may refer to components illustrated in FIG. 1 and FIG. 2. In the embodiment illustrated in FIG. 3, the controller 102 may determine a time offset dt by estimating a phase value corresponding to the time offset dt using multiple time offset candidates. Referring to FIG. 1, in one embodiment, the controller 102 may inject a stimulation signal, such as a stimulation current or a stimulation voltage, through the battery cell 108. In one embodiment, the controller 102 may control the voltage supply 111 to provide the stimulation signal. The cell monitor 104 may be configured to sense a stimulation voltage applied to a corresponding battery cell. Also, the pack monitor 106 may be configured to sense a stimulation current flowing through the battery cell 108. The controller 102 may select multiple time offset candidates, such as dt1, dt2, dt3, etc. The number of time offset candidates selected by the controller 102 may be arbitrary. The controller 102 obtains the sensed voltage and current and applies each time offset candidate to the obtained current to phase shift the current (or applies the time offset candidate to phase shift the voltage). For each time offset candidate after phase shifting, the controller 102 can sample the voltage and the phase-shifted current (or the current and the phase-shifted voltage) to generate a data set corresponding to the applied time offset candidate. For example, referring to FIG. 2, the controller 102 can phase shift the current waveform 202 by dt1 to generate a data set including V(t) / I(t) values ​​corresponding to the time offset candidate dt1. The controller 102 can also phase shift the current waveform 202 by dt2 to generate another data set including V(t) / I(t) values ​​corresponding to dt2, and can phase shift the current waveform 202 by dt3 to generate another data set including V(t) / I(t) values ​​corresponding to dt3.

[0019] In one aspect, the standard deviation of the data set may vary with different values ​​of dt, expressed in radians and represented by the phase value in the example shown in FIG. 3. For example, the time offset candidates are represented as phase values ​​φ1, φ2, and φ3. In one embodiment, the time offset dt, represented by the phase value φ (which is the target time offset), causes the voltage and current to be in phase, so the standard deviation of the data set V(t) / I(t) corresponding to the phase value φ is zero or a minimum value, as shown by the sample standard deviation curve 301 shown in FIG. 3. When the controller 102 obtains the sensed voltage and sensed current from the cell monitor 104 and the pack monitor 106, the phase value φ is unknown to the controller 102. To identify the phase value φ, the controller 102 may determine the standard deviations σ1, σ2, and σ3 of the data sets corresponding to the time offset candidates dt1, dt2, and dt3, respectively. The controller 102 can map the determined standard deviations σ1, σ2, σ3 to phase values ​​φ1, φ2, φ3 that represent the time offset candidates dt1, dt2, dt3, respectively. The controller 102 can determine the phase value φ based on the standard deviations σ1, σ2, σ3.

[0020] For example, the controller 102 can perform various linear approximation techniques to estimate the phase value φ using the standard deviations σ1, σ2, σ3. In the embodiment shown in FIG. 3, the controller 102 can determine a best fit line 303 between two of the standard deviations σ1, σ2, σ3 (e.g., σ2, σ3) and determine a line 302 that intersects with the remaining standard deviation σ1 and is orthogonal to the best fit line 303. The standard deviation value where the lines 302 and 303 intersect with each other is determined by the controller 102 as the minimum standard deviation, and the controller 102 can identify the phase associated with this minimum standard deviation as the phase value φ. The controller 102 can convert the phase value φ into a time unit that can be set as a time offset dt.

[0021] In one embodiment, the controller 102 can select the time offset candidates dt1, dt2, dt3 based on one or more predetermined criteria. For example, the controller 102 can set a predetermined time offset candidate value as dt2, add a predetermined value t' to dt2 such that dt3=dt2+t', and subtract a predetermined value t' from dt2 such that dt1=dt2-t'. The predetermined value t' can be relatively small, such as a time value that can be converted to 6 degrees or less (in radians). In another example, the controller 102 can intentionally shift the injected stimulation signal by a relatively short amount of time, such as X microseconds (μs), where X is set as dt2, and dt1 and dt3 can be determined by the controller 102 by adding and subtracting the predetermined value t'.

[0022] In one embodiment, the controller 102 can determine whether the standard deviations σ1, σ2, σ3 can be used to determine the impedance. For example, the controller 102 can fit the standard deviations σ1, σ2, σ3 to the sample standard deviation curve 301. After fitting, the controller 102 can determine whether the standard deviations σ1, σ2, σ3 are on both sides (left and right) of the minimum point of the sample standard deviation curve 301. If the standard deviations σ1, σ2, σ3 are on both sides (left and right) of the minimum point, the controller 102 can determine that the standard deviations σ1, σ2, σ3 can be used to determine the impedance. If all the standard deviations σ1, σ2, σ3 are on one side (left or right) of the minimum point, the controller 102 can determine that the standard deviations σ1, σ2, σ3 cannot be used to determine the impedance. If the standard deviations σ1, σ2, σ3 cannot be used to determine the impedance, the controller 102 can reselect the time offset candidates dt1, dt2, dt3.

[0023] The controller 102 can use the time offset dt to determine the impedance of the battery cell. In one embodiment, as shown in FIG. 2, the controller 102 can sample the current I1' at time t1-dt, sample the current I2' at time t2-dt, and sample the current I3' at time t3-dt. The controller 102 can generate a data set V(t) / I'(t)={V1 / I1', V2 / I2', V3 / I3', ...} and determine the average of the values ​​in the data set V(t) / I'(t), where the average is the impedance. In another embodiment, referring to FIG. 2, the controller 102 can shift (e.g., phase shift) the current (or current waveform 202) by dt such that the currents I1', I2', and I3' are aligned with V1, V2, and V3, respectively. After the shift, the controller 102 may sample I1', I2', I3' and V1, V2, V3 at times t1, t2, t3 to generate a data set V(t) / I'(t)={V1 / I1', V2 / I2', V3 / I3',...}. The controller 102 may determine an average of the values ​​in the data set V(t) / I'(t), where the average is the impedance. Referring to FIG. 1, the controller 102 performs the impedance determination described herein for each of the battery cells 108.

[0024] 4 is a flow diagram illustrating a process for implementing measurement of a battery's reactive impedance, in one embodiment. Process 400 may include one or more operations, acts, or functions as illustrated by one or more blocks 402, 404, 406, and / or 408. Although illustrated in the diagram as separate blocks, various blocks may be divided into additional blocks, combined into fewer blocks, omitted, performed in a different order, or performed in parallel, depending on the desired application.

[0025] The process 400 may be performed by a controller (e.g., the controller 102 described herein). The process 400 may begin at block 402. In block 402, the controller may measure a voltage of a battery cell. The process 400 may proceed from block 402 to block 404. In block 404, the controller may measure a current flowing through the battery cell. The process 400 may proceed from block 404 to block 406. In block 406, the controller may determine a time offset based on the voltage and current. The time offset may cause the voltage and current to be in phase. The process 400 may proceed from block 406 to block 408. In block 408, the controller may sample the voltage and current based on the time offset. The process 400 may proceed from block 408 to block 410. In block 410, the controller may determine an impedance of the battery cell based on the sampled voltage and the sampled shift current.

[0026] In one embodiment, a stimulation signal can be injected into the battery cell. The stimulation signal can be a stimulation current or a stimulation voltage. In another embodiment, determining the time offset can include selecting a plurality of time offset candidates. Further, determining the time offset can include generating a plurality of data sets for the plurality of time offset candidates. Further, determining the time offset can include determining a plurality of standard deviations for the plurality of data sets. Further, determining the time offset can include determining the time offset based on the plurality of standard deviations.

[0027] In another embodiment, the plurality of time offset candidates can include three time offset candidates. The plurality of data sets can include three data sets. The plurality of standard deviations can include three standard deviations. In another embodiment, the plurality of time offset candidates can be within a predetermined time range. In another embodiment, generating the plurality of data sets can include, for each of the time offset candidates, shifting the current by the time offset candidate. Further, generating the plurality of data sets can include, for each of the time offset candidates, sampling a voltage and a current based on the time offset candidate. Generating the plurality of data sets can include, for each of the time offset candidates, dividing the sampled voltage by the sampled current to generate a data set corresponding to the time offset candidate.

[0028] In another embodiment, determining the time offset based on the plurality of standard deviations can include performing a linear approximation on the plurality of standard deviations to identify a minimum standard deviation corresponding to the time offset. In another embodiment, determining the impedance of the battery cell based on the sampled voltage and the sampled shift current can include generating a data set corresponding to the time offset. Further, determining the impedance of the battery cell based on the sampled voltage and the sampled shift current can include determining an average of the values ​​in the data set. Further, determining the impedance of the battery cell based on the sampled voltage and the sampled shift current can include setting the average as the impedance.

[0029] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or portion thereof of instructions that includes one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions shown in the blocks may occur out of the order shown in the figures. For example, two blocks shown in succession may in fact be implemented substantially simultaneously or may even be implemented in the reverse order, depending on the functionality involved. It should also be noted that each block of the block diagrams and / or flowcharts, as well as combinations of those blocks, may be implemented by a special purpose hardware-based system that performs the specified functions or operations or a combination of special purpose hardware and computer instructions.

[0030] The terms used in this specification are used only to describe certain embodiments and are not intended to limit the present invention. Terms used in this specification that denote the singular are also intended to include the plural unless otherwise specified. It should also be noted that the term "comprises" used in this specification defines the presence of the described features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more features, integers, steps, operations, elements, components, and / or groups thereof.

[0031] The corresponding structures, materials, operations, and equivalents of all means or steps and functional elements recited in the appended claims are intended to encompass any structures, materials, or operations for achieving a function in combination with other elements specifically described. The description of the disclosed embodiments of the present invention has been provided for purposes of illustration and description, but is not intended to be exhaustive or limited to the disclosed forms. It will be apparent to those skilled in the art that many modifications and variations can be applied without departing from the scope and spirit of the invention. The above-described embodiments have been selected and described in order to best explain the principles and practical applications of the invention and to enable those skilled in the art to understand the invention in various embodiments with various modifications as appropriate for the particular applications contemplated.

Claims

1. measuring a voltage of a battery cell; measuring a current flowing through the battery cell; determining a time offset based on the voltage and the current, the time offset causing the voltage and the current to be in phase; sampling the voltage and the current based on the time offset; determining an impedance of the battery cell based on the sampled voltage and the sampled shifted current; A method comprising:

2. The method of claim 1 , further comprising the step of injecting a stimulus signal into the battery cell, the stimulus signal being one of the current and the voltage.

3. The step of determining the time offset comprises: selecting a number of candidate time offsets; generating a plurality of data sets for the plurality of candidate time offsets; determining a plurality of standard deviations for the plurality of data sets; determining the time offset based on the plurality of standard deviations; Including, The method of claim 1.

4. The method of claim 3 , wherein the plurality of time offset candidates comprises three time offset candidates, the plurality of data sets comprises three data sets, and the plurality of standard deviations comprises three standard deviations.

5. The method of claim 3 , wherein the plurality of time offset candidates are within a predetermined time range.

6. The step of generating the plurality of data sets comprises, for each of the candidate time offsets: - shifting said current by a candidate time offset; - sampling the voltage and the current based on the candidate time offsets; - dividing the sampled voltage by the sampled current to generate a data set corresponding to the candidate time offsets; Including, The method according to claim 3.

7. The step of determining the time offset based on the plurality of standard deviations comprises: performing a linear approximation on the plurality of standard deviations to identify a minimum standard deviation that corresponds to the time offset; The method according to claim 3.

8. The step of determining an impedance of a battery cell based on the sampled voltage and the sampled shifted current comprises: generating a data set corresponding to said time offset; determining the average of the values ​​in the data set; - setting said average as the impedance; Including, The method of claim 1.

9. A semiconductor device including a controller, the controller comprising: configured to obtain a voltage of a battery cell; configured to obtain a current flowing through the battery cell; configured to determine a time offset based on the voltage and the current, where the time offset causes the voltage and the current to be in phase; configured to sample the voltage and the current based on the time offset; configured to determine an impedance of the battery cell based on the sampled voltage and the sampled shifted current; Semiconductor device.

10. The semiconductor device of claim 9 , wherein the controller is configured to inject a stimulus signal into the battery cell, the stimulus signal being one of the current and the voltage.

11. The controller: Select multiple time offset candidates; generating a plurality of data sets for the plurality of candidate time offsets; determining a plurality of standard deviations for the plurality of data sets; configured to determine the time offset based on the standard deviation; The semiconductor device according to claim 9.

12. The semiconductor device of claim 11 , wherein the plurality of time offset candidates includes three time offset candidates, the plurality of data sets includes three data sets, and the plurality of standard deviations includes three standard deviations.

13. The semiconductor device according to claim 11 , wherein the plurality of time offset candidates are within a predetermined time range.

14. The controller, for each of the candidate time offsets: Shifting the current by a candidate time offset; sampling the voltage and the current based on the candidate time offsets; configured to divide the sampled voltage by the sampled current to generate a data set corresponding to the candidate time offsets; The semiconductor device according to claim 11.

15. The controller: configured to perform a linear approximation on the plurality of standard deviations to identify a minimum standard deviation that corresponds to the time offset; The semiconductor device according to claim 11.

16. The controller: generating a data set corresponding to said time offset; determining the average of the values ​​in the data set; configured to set the average as impedance; The semiconductor device according to claim 9.

17. 1. A system comprising: a battery cell; a cell monitor configured to measure the voltage of the battery cell; a pack monitor configured to measure current flowing in the battery cells; a controller; The controller comprises: configured to determine a time offset based on the voltage and the current, where the time offset causes the voltage and the current to be in phase; configured to sample the voltage and the current based on the time offset; configured to determine an impedance of the battery cell based on the sampled voltage and the sampled shifted current; system.

18. The controller: Select multiple time offset candidates; generating a plurality of data sets for the plurality of candidate time offsets; determining a plurality of standard deviations for the plurality of data sets; configured to perform a linear approximation on the plurality of standard deviations to identify a minimum standard deviation that corresponds to the time offset; 20. The system of claim 17.

19. 20. The system of claim 18, wherein the plurality of time offset candidates comprises three time offset candidates, the plurality of data sets comprises three data sets, and the plurality of standard deviations comprises three standard deviations.

20. The controller: generating a data set corresponding to said time offset; determining the average of the values ​​in the data set; configured to set the average as impedance; 20. The system of claim 17.