Impedance detection device of battery

CN118696239APending Publication Date: 2024-09-24HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202280091752.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-03-07
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing battery impedance detection methods cannot be effectively performed in scenarios where the battery has load interference. Especially when the battery is in charging or load discharging state, accurate battery impedance detection cannot be achieved, resulting in failure of battery safety detection.

Method used

By applying the preset code-converted excitation signal to the battery, sampling the voltage and current signals, and performing a second code conversion to eliminate the interference signal spectrum, the battery impedance detection is achieved when the battery is in a load interference state.

Benefits of technology

It achieves high-precision battery impedance detection when the battery is in charging or load discharging state, enhances the reliability of battery safety detection, and ensures the safe use of batteries.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118696239A
    Figure CN118696239A
Patent Text Reader

Abstract

An impedance detection device for a battery, the device comprising: a first processing module (501) for performing first code conversion on a first signal according to a preset code to obtain an excitation signal and applying the excitation signal to the battery, the first signal being an original signal for generating the excitation signal; a sampler (502) coupled to the battery for sampling a voltage of the battery after applying the excitation signal to the battery to obtain a sampled voltage signal; the second processing module (503) is used for performing second code conversion on the sampling voltage signal according to a preset code so as to obtain a first voltage signal; performing second code conversion on the current signal of the battery according to a preset code to obtain a first current signal; and determining impedance corresponding to the battery according to the first voltage signal and the first current signal. By adopting the method, EIS detection can be realized when the battery is in a charging state or the battery is in a load discharging state.
Need to check novelty before this filing date? Find Prior Art

Description

Battery impedance detection device Technical Field

[0001] The embodiments of the present application relate to the field of batteries, and in particular to an impedance detection device for a battery. Background Art

[0002] As charging speeds and battery energy densities increase, battery safety risks continue to rise. This is especially true for ternary lithium-ion batteries, where the nascent oxygen produced during temperature rise can easily cause explosions, posing a serious threat to user safety and property. Therefore, the ability to detect and prevent battery spontaneous combustion through technical means before it occurs is crucial for the safe use of high-energy-density lithium-ion batteries.

[0003] Electrochemical impedance spectroscopy (EIS), as an effective means of detecting battery safety, contains a wealth of basic battery electrochemical and physical process information. It can be used to detect abnormal conditions such as internal battery short circuits, lithium deposition, overheating, and bulging. It is an effective means of detecting and preventing battery failures in advance.

[0004] However, EIS detection is a static detection method, that is, the battery can only be detected when there is no interference current. Therefore, a method for implementing EIS detection in a scenario where the battery has load interference is needed.

[0005] Summary of the Invention

[0006] The present application provides a battery impedance detection device for implementing EIS detection in a scenario where the battery has load interference.

[0007] In a first aspect, the present application provides an impedance detection device for a battery, the device comprising: a first processing module, configured to perform a first code transformation on a first signal according to a preset code to obtain an excitation signal, and apply the excitation signal to a battery, wherein the first signal is an original signal used to generate the excitation signal; a sampler, coupled to the battery, configured to sample the voltage of the battery after applying the excitation signal to the battery to obtain a sampled voltage signal; a second processing module, configured to perform a second code transformation on the sampled voltage signal according to a preset code to obtain a first voltage signal; perform a second code transformation on the current signal of the battery according to the preset code to obtain a first current signal; and determine the impedance corresponding to the battery based on the first voltage signal and the first current signal.

[0008] By adopting the above method, through the first code conversion and the second code conversion, the interference signal spectrum can be eliminated at the test frequency of EIS detection, and EIS detection can be realized when the battery is in a charging state or the battery is in a load discharge state. The above method has the characteristics of strong anti-interference and high precision.

[0009] In one possible design, the first processing module includes: a first code conversion module, configured to multiply a preset code by the first signal to obtain an excitation signal.

[0010] The above method is used to implement the first code conversion and obtain the excitation signal. The solution is simple and easy to implement. In addition, other methods can also be used to obtain the excitation signal, which is not limited in this application. The frequency domain waveform of the excitation signal obtained by the first code conversion is different from the frequency domain waveform of the first signal.

[0011] In one possible design, the first processing module includes: a digital-to-analog converter DAC, configured to perform digital-to-analog conversion on the excitation signal to obtain an analog signal; and a current generator, configured to generate an excitation current according to the analog signal and apply the excitation current to the battery.

[0012] With the above design, the excitation signal can be converted into an excitation current, and the excitation current can be applied to the positive electrode or the negative electrode of the battery.

[0013] In a possible design, the sampler is further configured to sample the current of the battery to obtain a current signal; alternatively, the current signal is determined by calculation based on the excitation signal.

[0014] With the above design, the current signal can be obtained in a variety of ways.

[0015] In one possible design, the second processing module includes: a second code conversion module, configured to multiply a preset code by the sampled voltage signal to obtain a first voltage signal, and multiply the preset code by the current signal to obtain a first current signal.

[0016] The second code conversion is implemented in the above manner to obtain the first voltage signal and the first current signal. The solution is simple and easy to implement.

[0017] In one possible design, the preset code multiplied by the preset code is an all-1 sequence.

[0018] In one possible design, the preset code is a sequence including +1 and -1.

[0019] In one possible design, the preset code is a periodic sequence, and the sampler is further used to sample the voltage of the battery to obtain an interference voltage signal before the first processing module applies the excitation signal to the battery; the second processing module is further used to determine the period of the preset code based on the interference sampled voltage signal.

[0020] In one possible design, the preset code is a non-periodic sequence. In this case, there is no need to determine the period of the preset code.

[0021] In a second aspect, the present application provides a battery impedance detection device, the device comprising:

[0022] The processor is configured to perform a first code transformation on a first signal according to a preset code to obtain an excitation signal, and apply the excitation signal to the battery, wherein the first signal is an original signal used to generate the excitation signal; the sampler is coupled to the battery and configured to sample the voltage of the battery after applying the excitation signal to the battery to obtain a sampled voltage signal; the processor is further configured to perform a second code transformation on the sampled voltage signal according to the preset code to obtain a first voltage signal; perform a second code transformation on the current signal of the battery according to the preset code to obtain a first current signal; and determine the impedance corresponding to the battery based on the first voltage signal and the first current signal.

[0023] In one possible design, the processor is configured to, when performing a first code transformation on the first signal according to the preset code to obtain the excitation signal, multiply the preset code by the first signal to obtain the excitation signal.

[0024] In one possible design, the processor is configured to, when applying the excitation signal to the battery, perform digital-to-analog conversion on the excitation signal to obtain an analog signal, generate an excitation current based on the analog signal, and apply the excitation current to the battery.

[0025] In a possible design, the sampler is further configured to sample the current of the battery to obtain a current signal; alternatively, the current signal is determined by calculation based on the excitation signal.

[0026] In one possible design, the processor is further configured to, when performing a second code transformation on the sampled voltage signal according to a preset code to obtain a first voltage signal, and performing a second code transformation on the battery current signal according to the preset code to obtain a first current signal, multiply the preset code by the sampled voltage signal to obtain the first voltage signal, and multiply the preset code by the current signal to obtain the first current signal.

[0027] In one possible design, the preset code multiplied by the preset code is an all-1 sequence.

[0028] In one possible design, the preset code is a sequence including +1 and -1.

[0029] In one possible design, the preset code is a periodic sequence, and the sampler is further used to sample the voltage of the battery to obtain an interference voltage signal before the first processing module applies the excitation signal to the battery; the processor is further used to determine the period of the preset code based on the interference sampled voltage signal.

[0030] In one possible design, the preset code is a non-periodic sequence. In this case, there is no need to determine the period of the preset code.

[0031] In a third aspect, the present application provides an electronic system, which includes the device described in the first aspect or the device described in the second aspect, and a battery.

[0032] In a fourth aspect, the present application provides a battery impedance detection method, the method comprising: performing a first code transformation on a first signal according to a preset code to obtain an excitation signal, and applying the excitation signal to the battery, wherein the first signal is an original signal used to generate the excitation signal; after applying the excitation signal to the battery, sampling the voltage of the battery through a sampler to obtain a sampled voltage signal; performing a second code transformation on the sampled voltage signal according to the preset code to obtain a first voltage signal; performing a second code transformation on the current signal of the battery according to the preset code to obtain a first current signal; and determining the impedance corresponding to the battery based on the first voltage signal and the first current signal.

[0033] In a possible design, when performing a first code transformation on the first signal according to the preset code to obtain the excitation signal, the preset code is multiplied by the first signal to obtain the excitation signal.

[0034] In one possible design, when the excitation signal is applied to the battery, digital-to-analog conversion is performed on the excitation signal to obtain an analog signal, an excitation current is generated according to the analog signal, and the excitation current is applied to the battery.

[0035] In a possible design, the current of the battery is sampled by a sampler to obtain a current signal; alternatively, the current signal is determined by calculation based on the excitation signal.

[0036] In one possible design, when a second code transformation is performed on the sampled voltage signal according to a preset code to obtain a first voltage signal, and a second code transformation is performed on the battery current signal according to the preset code to obtain a first current signal, the preset code is multiplied by the sampled voltage signal to obtain the first voltage signal, and the preset code is multiplied by the current signal to obtain the first current signal.

[0037] In one possible design, the preset code multiplied by the preset code is an all-1 sequence.

[0038] In one possible design, the preset code is a sequence including +1 and -1.

[0039] In one possible design, the preset code is a periodic sequence. Before applying the excitation signal to the battery, the battery voltage is sampled by a sampler to obtain an interference voltage signal. The period of the preset code is determined according to the interference sampled voltage signal.

[0040] In one possible design, the preset code is a non-periodic sequence. In this case, there is no need to determine the period of the preset code.

[0041] In a fifth aspect, the present application further provides an apparatus. The apparatus can execute the method design of the fourth aspect. The apparatus can be a chip or circuit capable of executing the functions corresponding to the method, or a device including the chip or circuit.

[0042] In one possible implementation, the apparatus includes: a memory for storing computer-executable program code; and a processor coupled to the memory. The program code stored in the memory includes instructions that, when executed by the processor, cause the apparatus or a device equipped with the apparatus to perform any of the methods described above.

[0043] In one possible implementation, the device may further include a communication interface, which may be a transceiver, or, if the device is a chip or a circuit, the communication interface may be an input / output interface of the chip, such as an input / output pin.

[0044] In one possible design, the device includes corresponding functional units for implementing the steps in the above method. The functions can be implemented by hardware or by hardware executing corresponding software implementations. The hardware or software includes one or more units corresponding to the above functions.

[0045] In a sixth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a device, it executes the method in any possible design of the fourth aspect above.

[0046] In a seventh aspect, the present application provides a computer program product, which includes a computer program. When the computer program runs on a device, it executes the method in any possible design of the fourth aspect above. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] FIG1 is a schematic diagram of an EIS detection in this application;

[0048] FIG2 is a schematic diagram of a VCCS circuit in the present application;

[0049] FIG3 is a schematic diagram of an EIS detection failure when the battery is working online in this application;

[0050] FIG4 is a schematic diagram of the structure of the terminal device in this application;

[0051] FIG5 is a schematic diagram of an impedance detection device for a battery in the present application;

[0052] [Corrected 24.03.2022 according to Rule 91] FIG6 is a schematic diagram of the various components included in the first processing module 501 of the present application;

[0053] [Corrected 24.03.2022 according to Rule 91] Figure 7 is a schematic diagram of the time domain waveform and frequency domain waveform of the preset code in this application;

[0054] FIG8 is a schematic diagram of signals passing through various modules when detecting the impedance of a battery in the present application;

[0055] FIG9 is a schematic diagram of the time domain waveform and frequency domain waveform of the excitation signal in this application;

[0056] FIG10 is a schematic diagram of the various components included in the second processing module 503 of the present application;

[0057] FIG11 is a schematic diagram of the time domain waveform and frequency domain waveform of the first voltage signal in the present application;

[0058] FIG12 is a schematic diagram of the time domain waveform and frequency domain waveform of the first current signal in the present application. DETAILED DESCRIPTION

[0059] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all of the embodiments. The terms "first", "second" and corresponding terminology labels in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, and this is merely a way of distinguishing objects of the same properties when describing the embodiments of the present application. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, so that a process, method, system, product or device that includes a series of units is not necessarily limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or devices.

[0060] In the description of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this application is merely a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of this application, "at least one" refers to one or more items, and "multiple items" refers to two or more items. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0061] To facilitate understanding of the embodiments of the present application, the following EIS test is briefly introduced:

[0062] As shown in FIG1 , for the excitation signal S(n), for example, S(n)=A*sin(2πf0n / f s ), a digital-to-analog converter (DAC) first performs digital-to-analog conversion to generate an analog excitation signal S(t) corresponding to S(n). Here, f0 is the test frequency, fs is the sampling rate, and A is the amplitude of the excitation signal. In this application, * represents a multiplication sign.

[0063] Next, S(t) is input into a current generator, such as a voltage-controlled current source (VCCS). The current generator generates an excitation current I(t) corresponding to S(t) and applies it to the battery. As shown in Figure 1, I(t) is applied to the positive electrode of the battery. In addition, the excitation current I(t) may also be applied to the negative electrode of the battery. Here, only the example of applying the excitation current I(t) to the positive electrode of the battery is used for explanation. Exemplarily, a VCCS circuit includes an operational amplifier and a power MOS transistor, as shown in Figure 2. Therefore, I(t) is proportional to S(t), for example, I(t) = α*S(t), where α is a constant.

[0064] After I(t) is applied to the battery, the sampler detects the voltage V(t) across the battery and performs an analog-to-digital conversion to obtain V(n) corresponding to V(t). Since I(t) is a fixed periodic function, I(n) can be obtained by sampling the battery current online through the sampler, or by performing a Fourier transform on the current value obtained in advance and storing it as a constant, for example Exemplarily, the sampler may be an analog-to-digital converter (ADC).

[0065] Furthermore, V(k) is obtained by performing an N-point fast Fourier transform (FFT) on V(n). Perform N-point FFT transformation on I(n) to obtain I(k). Finally, the impedance Z(ω0) of the battery at the test frequency f0 is:

[0066]

[0067] Where N is the number of sampling points, f0 is the test frequency, and fs is the sampling rate. Where k is a positive integer.

[0068] According to the above method, the sinusoidal excitation signals with test frequencies of f0, f1, ..., fm are applied in sequence, where m is a positive integer, and the obtained Z(ω0), Z(ω1), ..., Z(ω m ), forming an EIS impedance spectrum.

[0069] It should be noted that, in FIG1 , the excitation signal is described by taking a sinusoidal wave excitation signal as an example. In addition, the excitation signal may also be a square wave signal or a triangular wave signal.

[0070] However, the above-mentioned EIS detection is a static detection method, which cannot realize EIS detection in the scenario where the battery has load interference, or it can be described as being unable to realize dynamic detection when the battery is in an online working state. The online working state of the battery can include the battery being in a charging state or a load discharging state. As shown in Figure 3, when the battery is working online, the interference current I_noise(t) is generated due to charging or discharging. At this time, if this EIS detection is still used, the voltage Vsn(t) across the battery at this time is the voltage corresponding to the excitation response generated by the current I(t) and I_noise(t). It is impossible to obtain an accurate result of the battery impedance at the test frequency f0, resulting in the failure of the EIS detection method.

[0071] Therefore, this EIS method cannot meet the requirements for scenarios where EIS testing is required for both charging and load-discharging batteries. For example, to ensure battery safety, batteries in new energy vehicles, large numbers of batteries in photovoltaic power plants, and batteries in terminal devices such as mobile phones, watches, and tablets may all require EIS testing while the batteries are operating online. However, this EIS method cannot meet these requirements.

[0072] The embodiments of the present application can be applied to various terminal devices, such as mobile phones, personal computers (PCs), tablets, wearable devices, new energy vehicles, photovoltaic power stations, etc. The following uses the terminal device shown in FIG4 as an example to illustrate a specific application scenario of the embodiments of the present application.

[0073] FIG4 is a schematic diagram of the structure of a terminal device. The terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0074] It should be understood that the structures illustrated in the embodiments of the present invention do not constitute specific limitations on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0075] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors. The processor 110 may be located in one or more chips.

[0076] The controller can be the nerve center and command center of the terminal device. It can generate operation control signals based on instruction opcodes and timing signals to complete the control of instruction fetching and execution.

[0077] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0078] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0079] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the terminal device's wireless charging coil. While charging the battery 142, the charging management module 140 can also provide power to the terminal device via the power management module 141.

[0080] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0081] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0082] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the terminal device by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the terminal device (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0083] Exemplarily, the internal memory 121 is used to store the computer executable program code corresponding to the embodiment of the present application; the processor 110 is coupled to the internal memory 121. The computer executable program code stored in the internal memory 121 includes instructions. When the processor 110 executes the instructions, the terminal device executes the impedance spectrum detection method of the battery 142 provided in the embodiment of the present application. The method includes: performing a first code conversion on the first signal according to a preset code to obtain an excitation signal, and applying the excitation signal to the battery; after applying the excitation signal to the battery, sampling the voltage of the battery 142 through a sampler to obtain a sampled voltage signal; performing a second code conversion on the sampled voltage signal according to the preset code to obtain a first voltage signal, performing a second code conversion on the current signal of the battery 142 according to the preset code to obtain a first current signal, and determining the impedance corresponding to the battery 142 based on the first voltage signal and the first current signal. The above method is described below in conjunction with the device shown in Figure 5.

[0084] [Corrected 24.03.2022 according to Rule 91] As shown in Figure 5, the present application provides an impedance spectrum detection device for a battery, which is used to realize EIS detection in a scenario where the battery has load interference. The device includes a first processing module 501, a sampler 502, and a second processing module 503. Exemplarily, the first processing module 501 and the second processing module 503 can be two functional modules in a processor. Optionally, the first processing module 501 and the second processing module 503 can be integrated in the same module. Optionally, the first processing module 501 and the second processing module 503 can reuse some modules. The sampler 502 can be a hardware accelerator inside the processor 110, or an independent hardware component. Alternatively, the sampler 502 can be located inside the battery 142, which is not limited in this embodiment. For example, the first processing module 501 and the second processing module 503 are two functional modules in the processor 110 shown in Figure 4, or the first processing module 501 and the second processing module 503 are respectively located in two processors 110. The first processing module 501 and the second processing module 503 may be implemented by hardware, software, or a combination thereof, which is not limited in this application. For example, the first processing module 501 and the second processing module 503 may be hardware accelerated logic computing circuits in the processor 110. Alternatively, the first processing module 501 and the second processing module 503 may be software modules executed by the processor 110.

[0085] It is understandable that the impedance detection device provided by the present application can measure the impedance of the battery 142 at the test frequency corresponding to the first signal. Furthermore, by changing the test frequency, the impedance of the battery 142 at a series of test frequencies can be obtained to form an EIS impedance spectrum. It should be noted that the embodiments of the present application can be applied not only to scenarios where the impedance of the battery is measured in scenarios where there is load interference with the battery, such as when the battery is in a charging or load-discharging state, but also to scenarios where the impedance of the battery is measured when the battery is in a static state. The detected impedance value or EIS impedance spectrum is used by the processor 110 to manage the battery 142 and achieve safe control of the battery 142.

[0086] In conjunction with Figure 5, the first processing module 501 is used to perform a first code transformation on the first signal according to a preset code to obtain an excitation signal, and apply the excitation signal to the battery. The first signal is the original signal used to generate the excitation signal. The sampler 502 is coupled to the battery and is used to sample the voltage of the battery after applying the excitation signal to the battery to obtain a sampled voltage signal. The second processing module 503 is used to perform a second code transformation on the sampled voltage signal according to the preset code to obtain a first voltage signal; perform a second code transformation on the current signal of the battery according to the preset code to obtain a first current signal; and determine the impedance corresponding to the battery based on the first voltage signal and the first current signal. When the first processing module 501 and the second processing module 503 are implemented as hardware circuits, the first processing module 501 and the second processing module 503 can reuse part of the circuit, such as reuse the circuit for multiplication calculation, which is not limited in this embodiment. When the first processing module 501 and the second processing module 503 are implemented in software, the first processing module 501 and the second processing module 503 may reuse some programs or functions, such as a program or function for performing multiplication calculations, which is not limited in this embodiment.

[0087] The following describes the various components of the above-described apparatus. FIG6 is a schematic diagram illustrating the various components of the first processing module 501. It should be understood that the structure of FIG6 does not constitute a specific limitation on the first processing module 501. In other embodiments of the present application, the first processing module 501 may include more or fewer components than shown, or may combine or separate certain components, or may have a different component arrangement.

[0088] As shown in Figure 6, the first processing module 501 includes: a first code conversion module 601, a digital-to-analog converter 602, and a current generator 603. The illustrated first code conversion module 601 can be implemented in hardware, software, or a combination of software and hardware. The digital-to-analog converter 602 and the current generator 603 can be hardware.

[0089] The first code conversion module 601 is configured to multiply the preset code C(n) by the first signal to obtain an excitation signal.

[0090] For example, the first signal as the original signal can be a single-frequency signal or a multi-frequency signal, which is used to generate the excitation signal. For example, the first signal can be a sine wave signal, a square wave signal, or a triangle wave signal, etc., which is not limited in this application. The following description only takes the first signal as a sine wave signal as an example. For example, the first signal s(n) = A*sin(2πf0n / f s ). Where f0 is the test frequency and fs is the sampling rate. Assume f0 = 125Hz, f s =32KHz, then the first signal s(n)=A*sin(2πn / 256).

[0091] Exemplarily, the preset code C(n) is a sequence including +1 and -1. For example, the preset code can be a periodic sequence including +1 and -1, or the preset code can be a non-periodic sequence including +1 and -1, for example, the preset code can be a random sequence including +1 and -1. It will be understood that the preset code in this application is different from a general binary code. In this application, a high level is represented by 1 and a low level is represented by -1, thereby forming a sequence including +1 and -1. In addition, the preset code multiplied by the preset code itself is a sequence of all 1s.

[0092] Exemplarily, the preset code C(n) may be generated by a code generator, the output end of which is connected to the first processing module 501 and the second processing module 503 respectively.

[0093] Take the preset code C(n) as a periodic square wave sequence as an example:

[0094]

[0095] in, is the fundamental frequency, P is the period length, and P is f s / A positive integer multiple of f0, that is, P = m*f s / f0, where m is a positive integer. For example, taking m = 8, P = 8 × 32 kHz ÷ 125 Hz = 2048. The length of C(n) is the number of sampling points for a single sampling of the first signal, i.e., the number of sampling points N. N = i * P, where i is a positive integer. Taking i = 4 and P = 2048 as an example, N = 8192. The method for determining P and i can be found in the following description.

[0096] Then when P = 2048 and N = 8192, C(n) can be expressed as:

[0097]

[0098] As shown in FIG7 , the upper half of FIG7 is the time domain waveform C(n) of the preset code, and the lower half of FIG7 is the frequency domain waveform C(ω) of the preset code.

[0099] It is understandable that the first code conversion can also be called wave code conversion. In addition to the multiplication method, the first code conversion can also adopt other methods to obtain the excitation signal Sc(n), which is not limited in this application. It should be noted that the excitation signal obtained at this time is a digital signal.

[0100] The digital-to-analog converter 602 is configured to perform digital-to-analog conversion on the excitation signal Sc(n) to obtain an analog signal Sc(t).

[0101] The current generator 603 is configured to generate an excitation current Ic(t) according to the analog signal Sc(t), and apply the excitation current Ic(t) to the battery.

[0102] Exemplarily, the current generator 603 may be a VCCS or other modules for generating current, which is not limited in this embodiment.

[0103] The following describes the signals passing through each module in the first processing module 501 when detecting the impedance of the battery with reference to FIG. 8 .

[0104] The first signal is s(n) = A*sin(2πf0n / f s ) and the preset code are taken as formula (1) as an example, the first code conversion module 601 multiplies s(n) and C(n) to obtain the excitation signal Sc(n). As shown in Figure 8, the excitation signal output by the first code conversion module 601 is Sc(n), and Sc(n) is a digital signal.

[0105] in,

[0106] Assume f0 = 125Hz, f s =32KHz, P=2048, N=8192, then:

[0107]

[0108] As shown in Figure 9, the upper half of Figure 9 is the time domain waveform Sc(n) of the excitation signal shown in formula (2), and the lower half of Figure 9 is the frequency domain waveform Sc(ω) of the excitation signal shown in formula (2). From Sc(n), we can see that Sc(n) is no longer a complete sine wave waveform. From Sc(ω), we can see that the two harmonics of Sc(ω) (x = 109.315 and x = 140.625) are located on both sides of the fundamental frequency (x = 125) of s(n) (i.e., the test frequency).

[0109] Next, the D / A converter 602 performs D / A conversion on the excitation signal Sc(n) shown in formula (2) to generate an analog signal Sc(t). As shown in FIG8 , the signal output by the D / A converter 602 is Sc(t), which is an analog signal.

[0110]

[0111] Assuming that the current generator 603 is a VCCS, as shown in FIG8 , the current generator 603 generates an excitation current Ic(t) according to the analog signal Sc(t) shown in formula (3), and applies the excitation current Ic(t) to the battery, such as the positive electrode of the battery.

[0112] in,

[0113] Where α is a constant coefficient.

[0114] The sampler 502 is used to sample the voltage Vcn(t) across the battery after applying the excitation signal to the battery, and perform analog-to-digital conversion on the sampled battery voltage Vcn(t) to obtain a sampled voltage signal Vcn(n). The sampled voltage signal Vcn(n) is a digital signal.

[0115] For example, as shown in FIG8 , after applying the excitation signal Ic(t) to the battery, the sampler 502 samples the battery voltage Vcn(t) and performs analog-to-digital conversion on Vcn(t) to obtain a sampled voltage signal Vcn(n). The sampled voltage signal Vcn(n) is a digital signal corresponding to the battery voltage Vcn(t).

[0116] In addition, the sampler 502 can also be used to sample the current of the battery to obtain a current signal Ic(n). For example, as shown in FIG8 , the current signal obtained by the sampler 502 sampling the current of the battery is Ic(n).

[0117] Alternatively, in another implementation, the current signal Ic(n) can also be calculated and determined based on the excitation signal. Furthermore, when the current signal Ic(n) is calculated and determined based on the excitation signal, the current signal does not take into account the interference current. For example, the battery current is the excitation current Ic(t), and the current signal Ic(n) is a digital signal corresponding to Ic(t). Since Ic(t) = α*Sc(t), then Ic(n) = α*Sc(n), where α is a constant.

[0118] It should be noted that the current signal Ic(n) obtained by the sampler 502 or the current signal Ic(n) determined by calculation according to the excitation signal is a digital signal.

[0119] FIG10 is a schematic diagram of the components of the second processing module 503. It should be understood that the structure of FIG10 does not constitute a specific limitation on the second processing module 503. In other embodiments of the present application, the second processing module 503 may include more or fewer components than shown, or may combine or separate certain components, or may have different component arrangements.

[0120] As shown in Figure 10, the second processing module 503 includes: a second code conversion module 1001, a Fourier transform module 1002, and a calculation module 1003. The components shown in the figure can be implemented in hardware, software, or a combination of software and hardware. For example, the second code conversion module 1001, the Fourier transform module 1002, and the calculation module 1003 can be hardware or software.

[0121] The second code conversion module 1001 is configured to multiply the preset code C(n) by the sampled voltage signal Vcn(n) to obtain a first voltage signal V(n), and to multiply the preset code C(n) by the current signal Ic(n) to obtain a first current signal I(n).

[0122] It can be understood that the second code transformation can also be called wave code inverse transformation. In addition to the multiplication method, the second code transformation can also adopt other methods, which is not limited in this application.

[0123] The Fourier transform module 1002 is configured to perform a Fourier transform on the first voltage signal V(n) to obtain a voltage Fourier transform result V(k), and to perform a Fourier transform on the first current signal I(n) to obtain a current Fourier transform result I(k).

[0124] The calculation module 1003 is used to determine the impedance corresponding to the battery according to the voltage Fourier transform result V(k) and the current Fourier transform result I(k).

[0125] The following describes the signals passing through each module in the second processing module 503 when detecting the impedance of the battery with reference to FIG. 8 .

[0126] The second code conversion module 1001 multiplies the sampled voltage signal Vcn(n) obtained by the sampler 502 by the preset code C(n) corresponding to formula (1) to obtain a first voltage signal Vn(n). It also multiplies the current signal Ic(n) by the preset code C(n) corresponding to formula (1) to obtain a first current signal I(n). As shown in FIG8 , the first voltage signal Vn(n) and the first current signal I(n) are output by the second code conversion module 1001.

[0127] The following example uses Vcn(n) = μ*(Ic(n) + I_noise(n)), where I_noise(n) is the digital signal corresponding to the interference current I_noise(t), and μ is a constant related to the battery impedance. Assuming the frequency of the interference current I_noise(t) falls exactly at the test frequency f0, that is, I_noise(t) = B*cos(2πnf0t), then I_noise(n) = B*cos(2πnf0n). It should be understood that the interference current I_noise(t) is referenced by the load when the battery is connected to a load, such as a charging or discharging circuit. The following derivation is performed.

[0128]

[0129] in,

[0130] I(n)=Ic(n)*C(n)=α*Sc(n)*C(n)=α*S(n)*C(n)*C(n)=α*S(n) Formula (6)

[0131] Among them, C(n)*C(n)=1.

[0132] Assume f0 = 125Hz, f s =32KHz, P=2048, N=8192, substituting into formula (5) and formula (6) we have:

[0133]

[0134] I(n)=α*A*sin(2πn / 256) Formula (8)

[0135] As shown in Figure 11, the upper half of Figure 11 shows the time domain waveform Vn(n) of the first voltage signal shown in Formula (7), and the lower half of Figure 11 shows the frequency domain waveform Vn(ω) of the first voltage signal shown in Formula (7). It can be seen that the amplitude corresponding to the test frequency f0 is independent of I_noise(n). The fundamental frequency of Vn(ω) is the same as the test frequency f0.

[0136] As shown in Figure 12, the upper half of Figure 12 is the time domain waveform I(n) of the first current signal shown in formula (8), and the lower half of Figure 12 is the frequency domain waveform I(ω) of the first current signal shown in formula (8). The fundamental frequency of I(ω) is the same as the test frequency f0.

[0137] The Fourier transform module 1002 performs a Fourier transform on the first voltage signal Vn(n) and the first current signal I(n), respectively, to obtain a voltage Fourier transform result V(k) and a current Fourier transform result I(k). As shown in FIG8 , the voltage Fourier transform result V(k) and the current Fourier transform result I(k) are output by the Fourier transform module 1002.

[0138] For example, Vn(n) is transformed by N-point FFT to obtain V(k), Perform N-point FFT transformation on I(n) to obtain I(k).

[0139] The calculation module 1003 is used to determine the impedance Z(ω0) corresponding to the battery according to the voltage Fourier transform result V(k) and the current Fourier transform result I(k).

[0140] For example, the impedance Z(ω0) of the battery at the test frequency f0 is:

[0141]

[0142] Assume f0 = 125Hz, N = 8192, fs = 32KHz, then

[0143]

[0144] It should be noted that the above process can also be referred to as the detection phase, which is used to detect the battery impedance. The following describes how the period of the preset code is determined. This method can also be referred to as the detection phase, which detects the frequency of the interference current and, in turn, determines the period of the preset code. The preset code is used as input for the detection phase. Furthermore, when the preset code is a non-periodic sequence, the process of determining the period of the preset code can be omitted. That is, the following process is not required.

[0145] The following describes how to determine the period of the preset code. The following scheme is executed when no excitation signal is applied to the battery to determine how to determine a suitable period of the preset code when load interference exists, so as to perform subsequent excitation signal application and measurement.

[0146] The sampler 502 is further configured to sample the voltage of the battery before the first processing module 501 applies the excitation signal to the battery, that is, when no excitation signal is applied to the battery, to obtain an interference voltage signal.

[0147] Exemplarily, when no excitation signal is applied to the battery, the sampler 502 samples the voltage of the battery to obtain the interference voltage signal V'n(t).

[0148] The second processing module 503 is further configured to determine a period of a preset code according to the interference sampling voltage signal.

[0149] Exemplarily, the Fourier transform module 1002 is configured to perform a Fourier transform on the interference voltage signal to obtain a Fourier transform result corresponding to the interference voltage signal, where the Fourier transform result corresponding to the interference voltage signal includes N frequency domain values, where N is the number of sampling points.

[0150] The calculation module 1003 is also used to and and and When the period length of the preset code pattern is determined to be P=N / i, wherein, Belongs to N frequency domain values, f is the test frequency, δ is the preset threshold, and i is a positive integer.

[0151] For example, the Fourier transform module 802 performs the ’ Perform an N-point FFT transformation on n(t) to obtain N frequency domain values. The specific results are as follows: The signal strength is compared with the preset threshold δ in the following order:

[0152] (a) Determine |V(ω0)| < δ. If so, fc = 0 Hz, ωc = 2π*fc = 0. Otherwise, execute (b).

[0153] (b) Judgment and If it satisfies, then i=1, Otherwise, execute (c);

[0154] (c) Judgment and If it satisfies, then i=2, Otherwise, execute (d); ...

[0155] Through the above process, the period length of the preset code is determined to be P, where: And satisfy P=m*f s / f0, where m is a positive integer. Therefore, it is possible to achieve high impedance detection accuracy even when the interference current has strong interference at the same frequency.

[0156] For example, assuming f0 = 125Hz, fs = 32KHz, N = 8192, determine and But satisfied and Then, it is determined that i=4 and the C(n) cycle length P of the preset code with a length of 8192 is 2048.

[0157] The EIS detection scheme provided in the embodiments of the present application has strong anti-interference and high precision. This is because a first code transformation is first performed on the first signal according to a preset code to obtain an excitation signal, which is then applied to the battery. Then, a second code transformation is performed on the sampled voltage signal and the battery current signal according to the preset code, respectively. This ensures that the fundamental frequency of the first voltage signal is the same as the fundamental frequency of the first signal (i.e., the test frequency), and the fundamental frequency of the first current signal is the same as the fundamental frequency of the first signal (i.e., the test frequency). However, for the interference current and the corresponding voltage signal, since only the second code transformation is performed (without the first code transformation), their spectrum is largely spread to other frequency points, thereby achieving the purpose of eliminating the interference signal spectrum at the EIS test frequency.

[0158] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0159] In a fifth aspect, the present application further provides a device. The device may be capable of executing the aforementioned solution, and includes a chip or circuit with corresponding functions, such as a processor, such as the processor 110 in FIG4 .

[0160] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0161] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0162] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0163] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0164] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium, such as the internal memory 121 in FIG4 . Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory ROM, a random access memory RAM, a magnetic disk, or an optical disk.

Claims

1. A battery impedance detection device, characterized in that: The device comprises: a first processing module, configured to perform a first code transformation on a first signal according to a preset code to obtain an excitation signal, and apply the excitation signal to the battery, wherein the first signal is an original signal used to generate the excitation signal; a sampler coupled to the battery, configured to sample the voltage of the battery after applying the excitation signal to the battery to obtain a sampled voltage signal; The second processing module is used to: perform a second code transformation on the sampled voltage signal according to the preset code to obtain a first voltage signal; perform the second code transformation on the current signal of the battery according to the preset code to obtain a first current signal; and determine the impedance corresponding to the battery according to the first voltage signal and the first current signal.

2. The device according to claim 1, wherein The first processing module includes: a first code conversion module, configured to multiply the preset code by the first signal to obtain the excitation signal.

3. The device according to claim 1 or 2, characterized in that The first processing module includes: A digital-to-analog converter DAC, configured to perform digital-to-analog conversion on the excitation signal to obtain an analog signal; A current generator is configured to generate an excitation current according to the analog signal and apply the excitation current to the battery.

4. The device according to any one of claims 1 to 3, characterized in that The sampler is further used to sample the current of the battery to obtain the current signal; Alternatively, the current signal is determined by calculation based on the excitation signal.

5. The device according to any one of claims 1 to 4, characterized in that The second processing module includes: The second code conversion module is configured to multiply the preset code by the sampled voltage signal to obtain a first voltage signal, and to multiply the preset code by the current signal to obtain a first current signal.

6. The device according to any one of claims 1 to 5, characterized in that The preset code multiplied by the preset code is an all-1 sequence.

7. The device according to claim 6, characterized in that The preset code is a sequence including +1 and -1.

8. The device according to any one of claims 1 to 7, characterized in that The preset code is a periodic sequence, and the sampler is further configured to sample the voltage of the battery to obtain an interference voltage signal before the first processing module applies the excitation signal to the battery; The second processing module is further configured to determine a period of the preset code according to the interference sampling voltage signal.

9. A battery impedance detection device, characterized in that: The device comprises: a processor, configured to perform a first code transformation on a first signal according to a preset code to obtain an excitation signal, and apply the excitation signal to the battery, wherein the first signal is an original signal used to generate the excitation signal; a sampler coupled to the battery, configured to sample the voltage of the battery after applying the excitation signal to the battery to obtain a sampled voltage signal; The processor is further configured to perform a second code transformation on the sampled voltage signal according to the preset code to obtain a first voltage signal; perform the second code transformation on the current signal of the battery according to the preset code to obtain a first current signal; and determine the impedance corresponding to the battery according to the first voltage signal and the first current signal.

10. The device according to claim 9, wherein The processor is configured to, when performing a first code transformation on the first signal according to the preset code to obtain the excitation signal, multiply the preset code by the first signal to obtain the excitation signal.

11. The device according to claim 9 or 10, characterized in that The processor is configured to, when applying the excitation signal to the battery, perform digital-to-analog conversion on the excitation signal to obtain an analog signal, generate an excitation current according to the analog signal, and apply the excitation current to the battery.

12. The device according to any one of claims 9 to 11, characterized in that The sampler is further used to sample the current of the battery to obtain the current signal; Alternatively, the current signal is determined by calculation based on the excitation signal.

13. The device according to any one of claims 9 to 12, characterized in that The processor is further configured to, when performing a second code transformation on the sampled voltage signal according to the preset code to obtain a first voltage signal, and performing the second code transformation on the current signal of the battery according to the preset code to obtain a first current signal, multiply the preset code by the sampled voltage signal to obtain the first voltage signal, and multiply the preset code by the current signal to obtain the first current signal.

14. The device according to any one of claims 9 to 13, characterized in that The preset code multiplied by the preset code is an all-1 sequence.

15. The device according to claim 14, wherein The preset code is a sequence including +1 and -1.

16. The device according to any one of claims 9 to 15, characterized in that The preset code is a periodic sequence, and the sampler is further configured to sample the voltage of the battery to obtain an interference voltage signal before the first processing module applies the excitation signal to the battery; The processor is further configured to determine a period of the preset code according to the interference sampling voltage signal.

Citation Information

Cited By

  • System, method and equipment for detecting health state of whole pack of batteries based on EIS

    CN121679397A