Current noise filtering method, storage medium, and device

By obtaining multiple current values ​​and filtering parameters in the battery management system, determining the target filter coefficients, and filtering the current, the problem of noise coupling in current detection is solved, and the filtering effect is achieved with high accuracy and no impact on the current response.

WO2025102459A1PCT designated stage expired Publication Date: 2025-05-22EVE ENERGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/137289
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-11-17
Filing Date
2023-12-07
Publication Date
2025-05-22

AI Technical Summary

Technical Problem

In battery management systems, the current shunt will couple noise when detecting the current, resulting in inaccurate current value. It is difficult for traditional filtering methods to effectively filter noise without affecting the step response of the current.

Method used

By obtaining several current values ​​in the buffer and the current filter threshold and coefficient in the multi-stage current filtering parameters, the target current filtering coefficient is determined, the first current value is filtered, and the filtered target current value is output.

Benefits of technology

It realizes the effective elimination of current noise without affecting the current step response, and improves the accuracy of current detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023137289_22052025_PF_FP_ABST
    Figure CN2023137289_22052025_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a current noise filtering method, a storage medium, and a device. The method comprises: acquiring a first current value, and a plurality of current values stored in a buffer; acquiring a current filtering threshold and a current filtering coefficient corresponding to filtering parameters of each segment of current; on the basis of the plurality of current values, and the current filtering thresholds in the filtering parameters of the plurality of segments of current, determine a target current filtering coefficient; and on the basis of the target current filtering coefficient, filtering the first current value to obtain a target current value.
Need to check novelty before this filing date? Find Prior Art

Description

Current noise filtering method, storage medium and device

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on November 17, 2023, with application number 202311540801.2. The entire contents of the above application are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of current noise filtering, for example, to a current noise filtering method, storage medium and device. Background Art

[0003] Currently, shunts are commonly used in battery management systems to detect current. To achieve good detection accuracy, op amps are usually used to amplify the signal passing through the shunt. However, noise is coupled into the amplification process, making the final detected current value inaccurate. SUMMARY OF THE INVENTION

[0004] The present application provides a current noise filtering method, device, computer-readable storage medium and electronic device, which can better eliminate noise on the current without affecting the step response of the current.

[0005] To achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, the present application provides a current noise filtering method, comprising:

[0007] Obtaining a first current value and a plurality of current values ​​stored in a buffer; wherein the plurality of current values ​​includes the first current value;

[0008] Obtaining a current filter threshold and a current filter coefficient corresponding to each current filter parameter in a plurality of current filter parameters;

[0009] Determining a target current filter coefficient from the current filter coefficients of the multi-segment current filter parameters according to the plurality of current values ​​and the current filter threshold value in the multi-segment current filter parameters;

[0010] The first current value is filtered according to the target current filter coefficient, and the filtered target current value is output.

[0011] In a second aspect, the present application provides a current noise filtering device, the current noise filtering device comprising:

[0012] A first acquisition module is configured to acquire a first current value and a plurality of current values ​​stored in a buffer; wherein the plurality of current values ​​include the first current value;

[0013] A second acquisition module is used to obtain a current filter threshold and a current filter coefficient corresponding to each current filter parameter in the multiple current filter parameters;

[0014] a determination module, configured to determine a target current filter coefficient from the current filter coefficients of the multi-segment current filter parameters according to a plurality of current values ​​and a current filter threshold value in the multi-segment current filter parameters;

[0015] The processing module is configured to filter the first current value according to a target current filter coefficient and output a filtered target current value.

[0016] In a third aspect, the present application provides a computer-readable storage medium, in which a plurality of instructions are stored. The instructions are suitable for being loaded by a processor to execute the steps in the above-mentioned current noise filtering method.

[0017] In a fourth aspect, the present application provides an electronic device, comprising: one or more processors; a memory; and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the processor to implement the steps in the above-mentioned current noise filtering method. Beneficial effects

[0018] The beneficial effects of the present application are as follows: the current noise filtering method, device, computer-readable storage medium, and electronic device provided in the embodiments of the present application obtain a first current value and several current values ​​stored in a buffer to obtain a current filter threshold and a current filter coefficient corresponding to each current filter parameter in a plurality of current filter parameters; determine a target current filter coefficient from the current filter coefficients of the plurality of current filter parameters based on the several current values ​​and the current filter thresholds in the plurality of current filter parameters; filter the first current value based on the target current filter coefficient, and output the filtered target current value. The embodiments of the present application determine the target current filter coefficient corresponding to filtering the first current value from among several preset current filter parameters, so that the selection of the target current filter coefficient is related to the first current value collected in real time, so that when filtering using the target current filter coefficient, the expected filtering effect is met while not significantly affecting the current step response due to the selection of an excessively large target current filter coefficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] FIG1 is a schematic diagram of an application scenario of a current noise filtering method provided in an embodiment of the present application;

[0020] FIG2 is a flow chart of a current noise filtering method provided in an embodiment of the present application;

[0021] FIG3 is another flow chart of a current noise filtering method provided in an embodiment of the present application;

[0022] FIG4 is a schematic diagram of a current noise filtering device provided in an embodiment of the present application;

[0023] FIG5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application; Modes for Carrying Out the Invention

[0024] In battery management systems, current shunts are commonly used to detect current. A current shunt is an instrument used to measure DC current. The basic measurement principle is shown in Figure 1. Measurement requires a current shunt, a signal conditioning circuit, and an MCU. Here, IA represents the current input to the shunt, Ux represents the voltage across the shunt, Uy represents the voltage conditioned by the signal conditioning circuit, and the MCU represents the microcontroller unit. When the DC current IA passes through the shunt, a voltage Ux is generated across the shunt due to the shunt's internal resistance. The signal conditioning circuit conditions Ux into a signal Uy that matches the detection range of the AD port and transmits it to the AD port. The MCU reads Uy through the AD port and can thus infer the magnitude of the current Ia flowing through the shunt. The rated voltage of Ux is typically 75mV, while the AD detection range is generally 0-5V. This significant difference between the two is significant. To achieve high detection accuracy, signal conditioning circuits typically use op amps to amplify the Ux signal. However, due to the use of the op amp and the influence of circuit power supply ripple, noise can be coupled into the signal Uy, ultimately leading to inaccurate measured Ia values. This noise can be particularly significant in applications where precision is critical for low currents, such as BMSs. To eliminate this noise on the current Ia, software typically uses average or low-pass filtering. However, if the filter parameters are set too high, the current step response will be significantly affected. If the filter parameters are set too low, the filtering effect is limited. Therefore, traditional filtering methods struggle to achieve both effective noise filtering and minimal impact on the step response.

[0025] In order to solve the above-mentioned problems, the present application provides a current noise filtering method.

[0026] This application receives the current value finally measured by Ux after the above-mentioned op amp operation causes the noise to be coupled into the current value, and performs the following processing.

[0027] As shown in FIG2 , FIG2 is a flow chart of a current noise filtering method provided in an embodiment of the present application, the current noise filtering method includes:

[0028] 101. Obtain a first current value and a plurality of current values ​​stored in a buffer; wherein the plurality of current values ​​include the first current value.

[0029] Before the step of acquiring the first current value and the current values ​​stored in the buffer to obtain a plurality of current values, the maximum number of current values ​​that can be stored in the buffer is preset.

[0030] The first current value and the multiple current values ​​stored in the buffer are current values ​​obtained by the current shunt used to detect the current magnitude in the battery management system. The signal of the current in the battery management system after passing through the current shunt is sent to a signal conditioning circuit connected to the current shunt. The signal is then amplified by the signal conditioning circuit and sent to the MCU. After processing by the MCU, a current value is obtained. The same processing is repeated multiple times to obtain multiple current values.

[0031] In one embodiment, the buffer may be a first-in, first-out data buffer. That is, when the number of current values ​​stored in the buffer exceeds a preset number, the buffer replaces the newly acquired first current value with the current value that has been stored in the buffer the longest. FIG. 3 is an example, which is another flow chart of the present application. FIFO represents a first-in, first-out data buffer. The buffer is preset to store a maximum number of current values, n. After the first current value i0 is stored in the buffer, when the buffer is about to store the second current value i1, the previously stored current value (i.e., i0) is moved one position forward in the buffer, and i1 is stored in the last vacant position in the buffer (i.e., the position where i0 originally existed). When the buffer is about to store the third current value i2, the previously stored current values ​​(i.e., i0, i1) are moved one position forward in the buffer, and i2 is stored in the last vacant position in the buffer (i.e., the position where i1 originally existed). And so on. When the memory has stored n current values ​​(i.e., the maximum number of current values ​​that can be stored in the preset buffer) from i0 to in-1, the current value in+1 to be stored in the buffer will first be removed from the buffer by removing the current value currently at the front row of the buffer, and then the subsequent current value in the buffer will be moved forward one position in its own position, and finally the current value in+1 to be stored in the buffer will be stored in the last vacant position in the buffer, and so on. This embodiment collects a first current value passing through the current shunt and stores it in the buffer, so that when the first current value is subsequently filtered, a filter threshold suitable for the newly collected current value can be determined based on the multiple current values ​​stored in the buffer, thereby determining a target current filter coefficient corresponding to the filter threshold. The newly collected current is filtered using the target current filter coefficient, which not only ensures a sufficiently good filtering effect, but also ensures that the target current filter coefficient does not significantly affect the step response of the newly collected current.

[0032] In one embodiment, the aforementioned multiple current values ​​may be all current values ​​stored in the buffer. The following description is based on obtaining multiple current values ​​stored in the buffer, i.e., obtaining all current values ​​stored in the buffer. Specifically, using FIG3 as an example, the buffer currently stores n current values, i0 to in-1, so n current values, i0 to in-1, are obtained. If the buffer only stores one current value, n is 1, meaning only i0 stored in the buffer is obtained.

[0033] 102. Obtain a current filtering threshold and a current filtering coefficient corresponding to each current filtering parameter in the multiple current filtering parameters.

[0034] In one embodiment, before obtaining the current filter threshold and current filter coefficient corresponding to each current filter parameter segment in the multiple current filter parameters, the method further includes obtaining current noise level and current fluctuation range, and determining the current filter threshold corresponding to each current filter parameter segment in the multiple current filter parameters based on the current noise level and current fluctuation range, as well as determining the current filter coefficient corresponding to the current filter threshold. This embodiment determines the current filter threshold and current filter coefficient by obtaining the current noise level and current fluctuation range. Compared to the currently commonly used current filtering operation using only a single current filter coefficient, this solution can adjust the current filter coefficient in real time based on actual conditions, so that the selection of the target current filter coefficient is related to the first current value collected in real time, achieving both the desired filtering effect and not significantly affecting the step response of the first current value.

[0035] In one embodiment, the current fluctuation range includes a charging current fluctuation range and a discharging current fluctuation range; and determining the current filtering threshold corresponding to each current filtering parameter in the multiple current filtering parameters based on the current noise level and the current fluctuation range includes: determining the current filtering threshold in the first current filtering parameter segment based on the current noise level; determining the charging current fluctuation range difference based on the charging current fluctuation range; determining the current filtering threshold in the second current filtering coefficient segment based on the charging current fluctuation range difference; determining the discharge current fluctuation range difference based on the discharge current fluctuation range; and determining the current filtering threshold in the third current filtering coefficient segment based on the discharge current fluctuation range difference. It should be noted that the current noise is noise generated by the signal conditioning circuit and other locations as shown in FIG1 . For example, if the actual current noise is 1A, the charging current fluctuation difference is 10A under normal circumstances, and the discharging current fluctuation difference is 30A, then the number of preset filtering thresholds can be 3, where the first filtering threshold can be set to 1A, the second filtering threshold can be set to 10A, and the first filtering threshold can be set to 30A. It should be noted that the above examples are only for better illustrating the present solution and are not intended to limit the present solution. The filtering threshold may also be segmented in other ways according to the current noise level and the current fluctuation range, which is not limited here.

[0036] 103. Determine a target current filter coefficient from the current filter coefficients of the multi-segment current filter parameters according to the multiple current values ​​and the current filter thresholds in the multi-segment current filter parameters.

[0037] In one embodiment, a target current filter coefficient is determined from the current filter coefficients of the multiple-segment current filter parameters based on a plurality of current values ​​and a current filter threshold value in the multiple-segment current filter parameters. This includes determining the target current filter threshold value based on the plurality of current values ​​and the current filter threshold value in the multiple-segment current filter parameters, and determining the target current filter coefficient based on the current filter coefficient corresponding to the target current filter threshold value. In this embodiment, the target current filter threshold value is determined based on the plurality of current values ​​and the current filter threshold value in the multiple-segment current filter parameters, so that the selection of the target current filter threshold value takes into account the overall situation of the plurality of current values. Using the target current filter threshold value for filtering results in a better filtering effect.

[0038] In one embodiment, a target current filtering threshold is determined based on a plurality of current values ​​and a current filtering threshold in a multi-segment current filtering parameter, including: determining a current average value of the plurality of current values, and determining a current value at a preset position among the plurality of current values ​​as a second current value; and determining the target current filtering threshold from the current filtering thresholds in the multi-segment current filtering parameter based on the current average value and the second current value.

[0039] In one embodiment, determining a target current filtering threshold from the current filtering thresholds in multiple segments of current filtering parameters according to the average current value and the second current value includes: determining the absolute value of the difference between the average current value and the second current value, and taking the current filtering coefficient that is closest to and greater than the absolute value from the current filtering thresholds in multiple segments of current filtering parameters as the target current filtering coefficient. Specifically, the absolute value of the difference between the average value and the second current value is obtained, the filtering threshold corresponding to this absolute value among a preset number of filtering thresholds is obtained, and finally the filtering coefficient corresponding to this filtering threshold is obtained, and this filtering coefficient is the target current filtering coefficient. Here is an example: Taking Figure 3 as an example, there are three current filtering thresholds, namely R0, R1, and Ry-1, and four current filtering coefficients, namely fac0, fac1, fac(y-1), and facy, preset in Figure 3. According to a number of current values, where iavg is the average value of a number of current values stored in the buffer and ix is the second current value, then |iavg - ix| is the absolute value of the difference between iavg and ix, R0, R1, and R2 are preset filtering thresholds, and fac0, fac1, fac2, and fac3 are preset filtering coefficients. Among them, the filtering threshold R0 corresponds to the filtering coefficient fac0, the filtering threshold R1 corresponds to the filtering coefficient fac1, the filtering threshold R2 corresponds to the filtering coefficient fac2, and R0 < R1 < R2, fac0 <= fac1 <= fac2 <= fac3. If |iavg - ix| is less than or equal to R0, then the corresponding filtering threshold is R0, so the target current filtering coefficient is fac0. If |iavg - ix| is greater than R0 and at the same time less than or equal to R1, then the corresponding filtering threshold is R1, so the target current filtering coefficient is fac1. If |iavg - ix| is greater than R1 and at the same time less than or equal to R2, then the corresponding filtering threshold is R2, so the target current filtering coefficient is fac2. If |iavg - ix| is greater than R2, then the target current filtering coefficient is fac3. It should be noted that in this embodiment, determining the target current filtering coefficient according to the absolute value of the difference between the average current value and the second current value is only a specific embodiment of this application solution. The target current filtering coefficient can be determined by other methods according to the specific situation using the current values stored in the buffer, and this is not limited here.

[0040] In one embodiment, determining a current value at a preset position among a plurality of current values ​​as a second current value includes: obtaining an actual sampling rate and a maximum allowable signal delay, determining a preset position based on the actual sampling rate and the maximum allowable signal delay, and obtaining the current value at the preset position from the plurality of current values ​​as the second current value. Specifically, the second current value is the current value at a preset position in a buffer. This specific position is determined based on the actual sampling rate and the maximum allowable signal delay. For example, when the sampling rate is 1 ms and the maximum allowable signal delay is 10 ms, the specific position is set to 10 (i.e., maximum allowable signal delay / actual sampling rate). This indicates that the buffer stores the current values ​​in the order in which they were stored, and the tenth current value from the front to the back is the current value at the specific position, i.e., the second current value. It should be noted that when the specific position is set to x, and the number n of current values ​​stored in the memory is less than x, the value ix is ​​set to 0 by default. That is, when ix is ​​substituted into the calculation of |iavg-ix| above, ix is ​​equal to 0. It should be noted that the above examples are only for better illustrating the present solution, and are not intended to limit the present solution. The second current value may also be selected in other ways, which are not limited here.

[0041] In the present application, based on the collected first current value, a most appropriate filter coefficient is selected from a plurality of preset filter coefficients, so that the filter coefficient is not too large, which will increase the time required from the input signal change to the output signal response change, and the filter smoothness is not increased due to the filter coefficient being too large, so that the output signal changes more slowly and the filter is not sensitive to rapidly changing signals, which would cause the current step response to lose its original fast response characteristics. Compared with the currently commonly used method of filtering the current with only one filter coefficient to remove noise, the present application scheme has a better final filtering effect and also reduces the impact on the current step response.

[0042] 104. Filter the first current value according to the target current filter coefficient, and output the filtered target current value.

[0043] The solution disclosed in the present application obtains a first current value and a current value stored in a buffer to obtain a plurality of current values, obtains a current filter threshold and a current filter coefficient corresponding to each current filter parameter in a plurality of current filter parameters, determines a target current filter coefficient from the current filter coefficients of the plurality of current filter parameters based on the plurality of current values ​​and the current filter threshold in the plurality of current filter parameters, filters the first current value based on the target current filter coefficient, and outputs the filtered target current value. The embodiment of the present application determines the target current filter coefficient corresponding to the first current value from a plurality of preset filter coefficients, so that the selection of the target current filter coefficient is related to the first current value collected in real time. That is, the selection of the target current filter coefficient will neither affect the step response of the first current value due to being too large nor affect its filtering effect due to being too small, thereby achieving both the desired filtering effect and not significantly affecting the step response of the first current value.

[0044] The present application also provides a current noise filtering device, as shown in FIG4 , the current noise filtering device 400 includes:

[0045] A first acquisition module 401 is configured to acquire a first current value and a plurality of current values ​​stored in a buffer; the plurality of current values ​​includes the first current value;

[0046] The second acquisition module 402 is used to obtain the current filtering threshold and current filtering coefficient corresponding to each current filtering parameter in the multiple current filtering parameters;

[0047] a determination module 404 for determining a target current filter coefficient from the current filter coefficients of the multi-segment current filter parameters according to the current values ​​and the current filter thresholds in the multi-segment current filter parameters;

[0048] The processing module 405 is configured to filter the first current value according to a target current filter coefficient and output a filtered target current value.

[0049] During specific implementation, the above modules and / or units can be implemented as independent entities, or they can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above modules and / or units can refer to the previous method embodiments. For the specific beneficial effects that can be achieved, please refer to the beneficial effects in the previous battery cell lithium plating potential determination method embodiment, which will not be repeated here.

[0050] The present application also provides a computer device comprising: one or more processors; a memory; and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the processor to implement the steps in the current noise filtering method described above. As shown in FIG5 , it shows a schematic diagram of the structure of the computer device involved in the present application embodiment. Specifically:

[0051] The computer device may include components such as one or more processing cores of a processor 501, one or more computer-readable storage media of a memory 502, a power supply 503, and an input unit 504. Those skilled in the art will appreciate that the computer device structure shown in FIG5 does not limit the computer device, and may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0052] The processor 501 is the control center of the computer device. It uses various interfaces and lines to connect the various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 502 and calling data stored in the memory 502, it performs various functions of the computer device and processes data, thereby monitoring the computer device as a whole.

[0053] The memory 502 may be used to store software programs and modules. The processor 501 executes various functional applications and data processing by running the software programs and modules stored in the memory 502 .

[0054] The computer device also includes a power supply 503 for supplying power to various components. Preferably, the power supply 503 can be logically connected to the processor 501 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 503 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

[0055] The computer device may further include an input unit 504 , which may be configured to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0056] Although not shown, the computer device may further include a display unit for displaying a human-computer interaction interface, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 501 in the computer device will load the executable files corresponding to one or more application processes into the memory 502 according to the following instructions, and the processor 501 will run the application stored in the memory 502 to implement various functions as follows:

[0057] A first current value and a plurality of current values ​​stored in a buffer are obtained; the plurality of current values ​​include the first current value; a current filter threshold and a current filter coefficient corresponding to each current filter parameter in a plurality of current filter parameters are obtained; a target current filter coefficient is determined from the current filter coefficients of the plurality of current filter parameters based on the plurality of current values ​​and the current filter threshold in the plurality of current filter parameters; the first current value is filtered based on the target current filter coefficient, and the filtered target current value is output.

[0058] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0059] To this end, an embodiment of the present application provides a computer-readable storage medium, which can be non-volatile or volatile, and can include: read-only memory (ROM), random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any of the methods for determining the lithium plating potential of a battery cell provided in the embodiments of the present application. For example, the computer program loaded by the processor can execute the following steps:

[0060] Obtaining a first current value and a plurality of current values ​​stored in a buffer; the plurality of current values ​​including the first current value;

[0061] Obtaining a current filter threshold and a current filter coefficient corresponding to each current filter parameter in a plurality of current filter parameters;

[0062] Determining a target current filter coefficient from the current filter coefficients of the multi-segment current filter parameters according to the plurality of current values ​​and the current filter threshold value in the multi-segment current filter parameters;

[0063] The first current value is filtered according to the target current filter coefficient, and the filtered target current value is output.

[0064] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above and will not be repeated here.

[0065] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to implement as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments and will not be repeated here.

Claims

1. A current noise filtering method, include: Acquire a first current value and a plurality of current values ​​stored in a buffer; wherein the plurality of current values ​​include the first current value; Obtaining a current filter threshold and a current filter coefficient corresponding to each current filter parameter in multiple current filter parameters; Determining a target current filter coefficient from the current filter coefficients of the multi-segment current filter parameters according to the multiple current values ​​and the current filter thresholds in the multi-segment current filter parameters; The first current value is filtered according to the target current filter coefficient, and the filtered target current value is output.

2. The current noise filtering method according to claim 1, in, The step of determining a target current filter coefficient from the current filter coefficients of the multi-segment current filter parameters according to the multiple current values ​​and the current filter thresholds in the multi-segment current filter parameters comprises: Determining a target current filtering threshold value according to the multiple current values ​​and the current filtering threshold value in the multiple-stage current filtering parameters; The target current filter coefficient is determined according to the current filter coefficient corresponding to the target current filter threshold.

3. The current noise filtering method according to claim 2, in, The step of determining a target current filtering threshold value according to the multiple current values ​​and the current filtering threshold value in the multiple current filtering parameters includes: Determining a current average value of the multiple current values, and determining a current value at a preset position among the multiple current values ​​as a second current value; A target current filtering threshold is determined from the current filtering thresholds in the multi-stage current filtering parameters according to the current average value and the second current value.

4. The current noise filtering method according to claim 3, in, The step of determining a target current filtering threshold value from the current filtering threshold values ​​in the multi-segment current filtering parameters according to the current average value and the second current value includes: determining an absolute value of a difference between the current average value and the second current value; From the current filtering thresholds in the multiple-stage current filtering parameters, a current filtering threshold that is closest to the absolute value and greater than the absolute value is used as a target current filtering threshold.

5. The current noise filtering method according to claim 3, in, The step of determining a current value at a preset position among the plurality of current values ​​as a second current value comprises: Get the actual sampling rate and the maximum allowable signal delay; Determining a preset position according to the actual sampling rate and the maximum allowable delay of the signal; A current value at a preset position is acquired from the plurality of current values ​​as a second current value.

6. The current noise filtering method according to any one of claims 1 to 5, before the step of obtaining the current filtering threshold and the current filtering coefficient corresponding to each current filtering parameter in the multiple current filtering parameters, include: Get the current noise level and current fluctuation range; According to the current noise level and the current fluctuation range, a current filtering threshold corresponding to each current filtering parameter in the multiple current filtering parameters is determined, and a current filtering coefficient corresponding to the current filtering threshold is determined.

7. The current noise filtering method according to claim 6, in, The current fluctuation range includes a charging current fluctuation range and a discharging current fluctuation range; the current filtering threshold corresponding to each current filtering parameter in the multiple current filtering parameters is determined according to the current noise level and the current fluctuation range, including: Determine a current filtering threshold corresponding to the first current filtering parameter according to the current noise level; Determine a charging current fluctuation range difference according to the charging current fluctuation range, and determine a current filtering threshold corresponding to a second-stage current filtering coefficient according to the charging current fluctuation range difference; A discharge current fluctuation range difference is determined according to the discharge current fluctuation range, and a current filtering threshold corresponding to a third-stage current filtering coefficient is determined according to the discharge current fluctuation range difference.

8. The current noise filtering method according to any one of claims 1 to 5, in, The first current value and the multiple current values ​​stored in the buffer are current values ​​obtained by the current shunt being configured to detect the current magnitude in the battery management system.

9. The current noise filtering method according to claim 1, in, The buffer is a first-in-first-out data buffer.

10. The current noise filtering method according to claim 1, in, The plurality of current values ​​include all current values ​​stored in the buffer.

11. A computer-readable storage medium, wherein a plurality of instructions are stored in the computer storage medium, wherein the instructions are suitable for being loaded by a processor to execute the steps in the current noise filtering method according to any one of claims 1 to 10.

12. An electronic device, the electronic device include: one or more processors; Memory; and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the processor to implement the steps in the current noise filtering method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Current sampling method, device and system and unmanned aerial vehicle

    CN112630515A

  • Filtering processing method and system, noise filter, BMS and electric vehicle

    CN115048961A

  • Dynamic adjustment method and device of filter, electronic equipment and storage medium

    CN116405008A

  • Inverter control method and device, computer equipment and readable storage medium

    CN117013621A

  • Method and system for transient and intermittent earth fault detection and direction determination in a three-phase median voltage electric power distribution system

    US20120123708A1