Method and device for acquiring and processing abnormal current of electric vehicle and BMS (Battery Management System) controller

By acquiring and updating the current data set, the positioning current is abnormal, solving the problem of poor real time transmission of electric vehicle data, and improved the accuracy and system stability of SOC computing.

CN119348499APending Publication Date: 2025-01-24WEICHAI POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411495207.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

In the prior art, there is a message cycle in the data transmission of electric vehicles, which is poor in real time, resulting in the inability to effectively collect large currents, affecting the SOC calculation accuracy and system stability.

Method used

By obtaining the current data set, removing the minimum current value, updating the data set, and locating current anomalies, ensure that the data set always contains the maximum current value in the most recent time period or mileage.

Benefits of technology

It improves the real-time performance and collection accuracy of data, ensures the accuracy of SOC calculation, eliminates the impact of abnormally large currents on the system, and improves system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119348499A_ABST
    Figure CN119348499A_ABST
Patent Text Reader

Abstract

The invention provides an electric vehicle abnormal current obtaining and processing method and device and a BMS controller. Comprising the following steps: under the condition that an (n + 1) th current value is greater than a minimum current value in a current data set, removing the minimum current value and a moment and a mileage corresponding to the minimum current value from the current data set, and storing the (n + 1) th current value and the moment and the mileage corresponding to the (n + 1) th current value into the current data set to obtain a first updated current data set; according to the difference value between the moment corresponding to the (n + 1) th current value in the first update current data set and the minimum moment or the difference value between the mileage corresponding to the (n + 1) th current value in the first update current data set and the minimum mileage, updating the first update current data set to obtain a second update current data set; and positioning the current anomaly based on the second updated current data set. The problems that in the prior art, data transmission has a message period and is poor in real-time performance, and large current cannot be collected are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of abnormal current acquisition and processing of electric vehicles, and in particular, to a method, device, computer-readable storage medium and BMS controller for acquiring and processing abnormal current of electric vehicles. Background Art

[0002] During the use of electric vehicles, it is necessary to monitor the charging and discharging current, which is often used to calculate the SOC. Due to the presence of capacitors and inductors in the high-voltage system of electric vehicles, it is very likely that the electric vehicles will generate abnormally large currents when in use, thereby affecting the calculation accuracy of the SOC. At the same time, the abnormally large currents will also have an impact on the high-voltage system and controller, affecting the stability of the system.

[0003] Patent CN112331941 transmits electric vehicle operation data to the cloud platform for storage through a 5G communication unit. This patent uploads the battery pack cell operation data to the cloud, but does not pay attention to the impact of high current on SOC accuracy. In addition, the data transmission of the existing solution has a message cycle, poor real-time performance, and there is a possibility that high current cannot be collected. Summary of the invention

[0004] The main purpose of the present application is to provide a method, device, computer-readable storage medium and BMS controller for obtaining and processing abnormal current of an electric vehicle, so as to at least solve the problems of message cycle, poor real-time performance and inability to collect large current in data transmission in the prior art.

[0005] To achieve the above-mentioned purpose, according to one aspect of the present application, a method for obtaining and processing abnormal current of an electric vehicle is provided, comprising: obtaining a current data set, the current data set comprising n current values, and the time and mileage corresponding to each of the current values, wherein the n current values ​​are all greater than the current setting threshold, and the n current values ​​are collected from the 1st moment to the nth moment; obtaining the n+1th current value collected at the n+1th moment, and when the n+1th current value is greater than the minimum current value in the current data set, removing the minimum current value and the time and mileage corresponding to the minimum current value from the current data set, and storing the n+1th current value and the time and mileage corresponding to the n+1th current value in the current data set to obtain a first updated current data set; updating the first updated current data set to obtain a second updated current data set according to the difference between the time corresponding to the n+1th current value and the minimum time in the first updated current data set, or according to the difference between the mileage corresponding to the n+1th current value and the minimum mileage in the first updated current data set; locating the current anomaly based on the second updated current data set.

[0006] Optionally, updating the first updated current data set to obtain a second updated current data set according to the difference between the moment corresponding to the n+1th current value and the minimum moment in the first updated current data set includes: determining a time difference according to the difference between the moment corresponding to the n+1th current value and the minimum moment in the first updated current data set, and when it is determined that the time difference is greater than a time setting value, removing the minimum moment, the current value corresponding to the minimum moment, and the mileage value corresponding to the minimum moment from the current data set to obtain the second updated current data set; updating the first updated current data set to obtain a second updated current data set according to the difference between the mileage corresponding to the n+1th current value and the minimum mileage in the first updated current data set, including: determining a mileage difference according to the difference between the mileage corresponding to the n+1th current value and the minimum mileage in the first updated current data set, and when it is determined that the mileage difference is greater than a mileage setting value, removing the minimum mileage, the current value corresponding to the minimum mileage, and the moment corresponding to the minimum mileage from the current data set to obtain the second updated current data set.

[0007] Optionally, before acquiring the current data set, the method further includes: constructing a mapping relationship between the battery pack temperature, the battery SOC and the current setting threshold; and determining a current current setting threshold corresponding to the current battery pack temperature and the current battery SOC according to the mapping relationship.

[0008] Optionally, after updating the first updated current data set to obtain a second updated current data set, the method further includes: when it is detected that the electric vehicle is powered off, storing the second updated current data set in a BMS memory; when it is detected that the electric vehicle is powered on, reading the second updated current data set of the previous driving cycle from the BMS memory as the current data set of the current driving cycle.

[0009] Optionally, after obtaining the n+1th current value collected at the n+1th moment and before the n+1th current value is greater than the minimum current value in the current data set, the method further includes: obtaining the duration of the n+1th current value, and determining whether the duration of the n+1th current value is greater than a time setting value; and if the duration of the n+1th current value is greater than the time setting value, determining whether the n+1th current value is greater than the minimum current value in the current data set.

[0010] Optionally, locating the current anomaly based on the second updated current data set includes: obtaining experimental results of a reproduction experiment, locating the current anomaly according to the experimental results, and obtaining a positioning result, wherein the positioning result includes an abnormal detection point and abnormal electronic components, wherein the operating conditions and operations performed when performing the reproduction experiment are the same as the operating conditions and operations performed when obtaining each current value in the second updated current data set.

[0011] Optionally, when the n+1th current value is greater than the minimum current value in the current data set, the method further includes: filtering the current values ​​greater than the current setting threshold, and using the filtered current values ​​to determine the battery SOC value of the electric vehicle.

[0012] According to another aspect of the present application, an abnormal current acquisition and processing device for an electric vehicle is provided, comprising: an acquisition unit, for acquiring a current data set, the current data set comprising n current values, and a time and mileage corresponding to each of the current values, wherein the n current values ​​are all greater than a current setting threshold, and the n current values ​​are acquired from the 1st moment to the nth moment; a removal unit, for acquiring the n+1th current value acquired at the n+1th moment, and when the n+1th current value is greater than a minimum current value in the current data set, removing the minimum current value and the time and mileage corresponding to the minimum current value from the current data set, and storing the n+1th current value and the time and mileage corresponding to the n+1th current value in the current data set to obtain a first updated current data set; an updating unit, for updating the first updated current data set to obtain a second updated current data set according to a difference between a time corresponding to the n+1th current value and a minimum time in the first updated current data set, or according to a difference between a mileage corresponding to the n+1th current value and a minimum mileage in the first updated current data set; and a positioning unit, for positioning the current abnormality based on the second updated current data set.

[0013] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods for obtaining and processing abnormal current of an electric vehicle.

[0014] According to another aspect of the present application, a BMS controller is provided, which is used to receive the current value of a battery pack collected by a current signal acquisition module, and includes: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing any one of the electric vehicle abnormal current acquisition and processing methods.

[0015] Applying the technical solution of the present application, a current data set is obtained, the current data set includes n current values, and the time and mileage corresponding to each current value, wherein the n current values ​​are all greater than the current setting threshold value, and the n current values ​​are collected from the 1st moment to the nth moment; the n+1th current value collected at the n+1th moment is obtained, and when the n+1th current value is greater than the minimum current value in the current data set, the minimum current value and the time and mileage corresponding to the minimum current value are removed from the current data set, and the n+1th current value and the time and mileage corresponding to the n+1th current value are stored in the current data set to obtain a first updated current data set; according to the difference between the time corresponding to the n+1th current value and the minimum time in the first updated current data set, or according to the difference between the mileage corresponding to the n+1th current value and the minimum mileage in the first updated current data set, the first updated current data set is updated to obtain a second updated current data set; and the current anomaly is located based on the second updated current data set. The abnormal current value in the recent time period is obtained according to the current value, the time and mileage of the current value, and the abnormal current value is stored in the current data set. The current anomaly is located according to the current data set, and the battery SOC is corrected according to the abnormal current value, so that the calculated battery SOC is more accurate, and the problems of message cycle, poor real-time performance and inability to collect large current in data transmission in the prior art are solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 A hardware structure block diagram of a mobile terminal for executing an abnormal current acquisition and processing method for an electric vehicle provided in an embodiment of the present application is shown;

[0018] Figure 2 A schematic diagram of a flow chart of a method for obtaining and processing abnormal current of an electric vehicle provided according to an embodiment of the present application is shown;

[0019] Figure 3The hardware structure diagram of the abnormal current acquisition and processing system of an electric vehicle provided according to an embodiment of the present application is shown;

[0020] Figure 4 A schematic diagram of a process for obtaining and processing abnormal current of an electric vehicle according to an embodiment of the present application is shown;

[0021] Figure 5 A flowchart of abnormal current storage of an electric vehicle provided according to an embodiment of the present application is shown;

[0022] Figure 6 A flow chart of correcting the SOC according to abnormal current of an electric vehicle provided in accordance with an embodiment of the present application is shown;

[0023] Figure 7 A schematic diagram showing the location and cause of abnormal current generation according to a recurrence comparison test provided in an embodiment of the present application is shown;

[0024] Figure 8 A structural block diagram of an abnormal current acquisition and processing device for an electric vehicle provided according to an embodiment of the present application is shown.

[0025] The reference numerals are as follows:

[0026] 102, processor; 104, memory; 106, transmission device; 108, input and output devices. DETAILED DESCRIPTION

[0027] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0028] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:

[0031] SOC: State of Charge, also known as the remaining capacity, represents the ratio of the remaining discharge capacity of the battery to its fully charged state. It is usually expressed as a percentage, which is equal to the ratio of the remaining capacity to the battery capacity. It is an important basis for the driver and the vehicle control system to judge the battery life. Accurate SOC estimation can accurately characterize the cruising range and avoid overcharging, over-discharging and other behaviors that damage the battery.

[0032] BMS: Battery Management System, whose main function is to intelligently manage and maintain each battery unit, monitor the battery status, prevent the battery from overcharging and over-discharging, and extend the battery life.

[0033] As introduced in the background technology, the data transmission in the prior art has a message cycle, poor real-time performance, and the problem of being unable to collect large currents. In order to solve the problems in the prior art that data transmission has a message cycle, poor real-time performance, and the problem of being unable to collect large currents, the embodiments of the present application provide an electric vehicle abnormal current acquisition and processing method, device, BMS controller and computer-readable storage medium.

[0034] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0035] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 1 is a hardware structure block diagram of a mobile terminal of an electric vehicle abnormal current acquisition and processing method according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0036] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the abnormal current acquisition and processing method of electric vehicles in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, corporate intranets, local area networks, mobile communication networks and combinations thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0037] In this embodiment, a method for obtaining and processing abnormal current of an electric vehicle running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0038] Figure 2 1 is a flow chart of a method for obtaining and processing abnormal current of an electric vehicle according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:

[0039] Step S201, obtaining a current data set, the current data set including n current values, and the time and mileage corresponding to each current value, wherein the n current values ​​are all greater than a current setting threshold, and the n current values ​​are collected from the first moment to the nth moment;

[0040] Specifically, the battery pack current value is collected, and according to the set current setting threshold, the current value greater than the current setting threshold is stored in the current data set until the current data set stores n current values, where n can be set according to the current value collection requirements, for example, n can be set to 20, 50, 100, etc. The current data set includes the current value, and the collection time and mileage corresponding to the current value.

[0041] Step S202, obtaining the n+1th current value collected at the n+1th time, and when the n+1th current value is greater than the minimum current value in the current data set, removing the minimum current value and the time and mileage corresponding to the minimum current value from the current data set, and storing the n+1th current value and the time and mileage corresponding to the n+1th current value in the current data set, to obtain a first updated current data set;

[0042] Specifically, the collected current value is compared with the minimum current value in the current data set. If the current value is greater than the minimum current value, the minimum current value is removed from the current data set, and the collected current value is stored in the current data set. This ensures that the current data set always contains the n largest current values, as well as the time and mileage corresponding to the current values.

[0043] Step S203, updating the first updated current data set to obtain a second updated current data set according to the difference between the time corresponding to the n+1th current value in the first updated current data set and the minimum time, or according to the difference between the mileage corresponding to the n+1th current value in the first updated current data set and the minimum mileage;

[0044] Specifically, the current data set is arranged in chronological order, the first current value of the current data set is the current value first collected in the current data set, and the collection time or mileage of the n+1th current value is compared with the collection time or mileage of the first current value, and whether to remove the first current value is determined based on the comparison result, thereby ensuring that the current values ​​in the current data set are all collected in the most recent time period or a mileage segment.

[0045] Step S204: locating the current anomaly based on the second updated current data set.

[0046] Specifically, by utilizing the current values ​​and corresponding times or mileages recorded in the second updated current data set, the location and components where the abnormal current is generated can be analyzed through a reproduction test, and then the abnormally large current in the system can be truly eliminated by optimizing the system design or improving the quality of components.

[0047] Through this embodiment, a current data set is obtained, the current data set includes n current values, and the time and mileage corresponding to each current value, wherein the n current values ​​are all greater than the current setting threshold value, and the n current values ​​are collected from the 1st moment to the nth moment; the n+1th current value collected at the n+1th moment is obtained, and when the n+1th current value is greater than the minimum current value in the current data set, the minimum current value and the time and mileage corresponding to the minimum current value are removed from the current data set, and the n+1th current value and the time and mileage corresponding to the n+1th current value are stored in the current data set to obtain a first updated current data set; according to the difference between the time corresponding to the n+1th current value and the minimum time in the first updated current data set, or according to the difference between the mileage corresponding to the n+1th current value and the minimum mileage in the first updated current data set, the first updated current data set is updated to obtain a second updated current data set; and the current anomaly is located based on the second updated current data set. The abnormal current value in the recent time period is obtained according to the current value, the time and mileage of the current value, and the abnormal current value is stored in the current data set. The current anomaly is located according to the current data set, and the battery SOC is corrected according to the abnormal current value, so that the calculated battery SOC is more accurate, and the problems of message cycle, poor real-time performance and inability to collect large current in data transmission in the prior art are solved.

[0048] In a specific implementation process, according to the difference between the moment corresponding to the n+1th current value in the first updated current data set and the minimum moment, the first updated current data set is updated to obtain a second updated current data set, including: determining the time difference according to the difference between the moment corresponding to the n+1th current value in the first updated current data set and the minimum moment, and when it is determined that the time difference is greater than the time setting value, the minimum moment, the current value corresponding to the minimum moment, and the mileage value corresponding to the minimum moment are removed from the current data set to obtain the second updated current data set; according to the difference between the mileage corresponding to the n+1th current value in the first updated current data set and the minimum mileage, the first updated current data set is updated to obtain a second updated current data set, including: determining the mileage difference according to the difference between the mileage corresponding to the n+1th current value in the first updated current data set and the minimum mileage, and when it is determined that the mileage difference is greater than the mileage setting value, the minimum mileage, the current value corresponding to the minimum mileage, and the moment corresponding to the minimum mileage are removed from the current data set to obtain the second updated current data set.

[0049] Among them, the mileage difference can be set to 5km, 10km, 15km, and the time difference can be set to 1h, 3h, 5h.

[0050] This method follows the vehicle to capture abnormally large currents in real time, and by comparing the collection time or collection mileage, ensures that the collected current value is the maximum value of n abnormal currents that have appeared in the recent period of time or mileage. It has the advantage of high timeliness and improves the analysis value of the data.

[0051] Specifically, before acquiring the current data set, the method also includes: constructing a mapping relationship between the battery pack temperature, the battery SOC and the current setting threshold; and determining a current current setting threshold corresponding to the current battery pack temperature and the current battery SOC according to the mapping relationship.

[0052] This method determines the current setting threshold corresponding to different battery pack temperatures and different battery SOCs based on the relationship between the battery pack temperature, the battery SOC and the current setting threshold. This makes the current setting threshold selection more reasonable and the detection of abnormally large current more accurate.

[0053] More specifically, after updating the first updated current data set to obtain the second updated current data set, the method further includes: when it is detected that the electric vehicle is powered off, storing the second updated current data set in the BMS memory; when it is detected that the electric vehicle is powered on, reading the second updated current data set of the previous driving cycle from the BMS memory as the current data set of the current driving cycle.

[0054] When the electric vehicle is powered off, the method stores the second updated current data set in the BMS memory. When the electric vehicle is powered on again, the second updated current data set is read from the memory as the input of this driving cycle, so that the continuity of the record can be maintained.

[0055] Furthermore, after obtaining the n+1th current value collected at the n+1th moment, the method also includes: obtaining the duration of the n+1th current value, determining whether the duration of the n+1th current value is greater than the time setting value; if the duration of the n+1th current value is greater than the time setting value, determining whether the n+1th current value is greater than the minimum current value in the current data set.

[0056] Among them, the time setting value can be set to 1s; when the abnormally large current occurs, the method determines the duration of the abnormally large current, and when the duration is less than 1s, the abnormally large current is not recorded.

[0057] Furthermore, locating the current anomaly based on the second updated current data set includes: obtaining the experimental results of the reproduction experiment, locating the current anomaly according to the experimental results, and obtaining the locating results, the locating results including the abnormal detection points and abnormal electronic components, wherein the operating conditions and the operations performed when performing the reproduction experiment are the same as the operating conditions and the operations performed when obtaining each current value in the second updated current data set.

[0058] Among them, the operating conditions of electric vehicles include the vehicle's driving speed, driving surface, road slope, etc., and the operations performed include accelerator pedal opening, brake pedal opening, vehicle gear position, etc.

[0059] This method analyzes the data based on the value and time or mileage of the abnormally large current in the second updated current data set, and studies the location and mechanism of the abnormally large current. For example, whether it is caused by the abnormal current collected by the Hall sensor of the current signal acquisition module or the excessive wave of the motor drive system, by recording the working conditions at the time and combining the value of the large current generated, adding measurement points at various positions of the system, conducting repetitive comparison tests, comparing the numerical characteristics and working conditions of the abnormal current, locking the location and cause of the abnormally large current, and then improving the system design or improving the quality of components, finally eliminating the abnormally large current and improving the stability of the system operation.

[0060] During the test, current sensors are arranged on each branch of the system, and the operating conditions corresponding to the time or mileage of abnormally large current are run. The signals of the current sensors on each branch are monitored, the branch where the abnormally large current is generated is locked, and then the various components on the branch where the abnormally large current occurs are analyzed to determine the cause of the abnormal current.

[0061] Specifically, after the n+1th current value is greater than the minimum current value in the current data set, the method further includes: filtering the current values ​​greater than the current setting threshold, and using the filtered current values ​​to determine the battery SOC value of the electric vehicle.

[0062] This method filters out current values ​​that are greater than a current setting threshold value to obtain a normal current value, and calculates the battery SOC value of the electric vehicle based on the normal current value, so that the battery SOC value calculated in this way is more accurate.

[0063] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the electric vehicle abnormal current acquisition and processing method of the present application will be described in detail below in combination with specific embodiments.

[0064] This embodiment relates to a hardware system for obtaining and processing abnormal current of an electric vehicle, such as Figure 3As shown, it includes a BMS controller, a current signal acquisition module, and a battery pack. When the battery pack is discharging, the current signal acquisition module collects the discharge current and transmits the current signal to the BMS controller. The BMS controller calculates the SOC and monitors the current based on the current signal to prevent the battery pack from being over-discharged and ensure the safety of the battery pack.

[0065] The judgment of abnormally large current includes: setting a current threshold for the large current, which can be set in combination with the discharge limit and with reference to the maximum value of the actual current value under each working condition, to form a threshold lookup table as shown in Table 1, and determine the current maximum discharge current based on the current battery pack temperature and SOC lookup table.

[0066] Table 1

[0067]

[0068] When the actual current value exceeds the threshold, it is recorded, and the time or mileage when the large current is generated is also recorded;

[0069] Recording of abnormally large currents: Given an array A, the dimension can be set to n, and n abnormally large currents can be recorded. Given an array B, the dimension is also set to n, and the time or mileage of n abnormally large currents can be recorded. The purpose of the A and B arrays is to record the value of the abnormally large current and the corresponding mileage, to facilitate the analysis of the abnormally large current, and to provide data support for finding the mechanism of the abnormally large current, rather than simply filtering out the abnormally large current. At the same time, in order to maximize the data value of the captured abnormally large current, the AB data needs to be continuously updated in order to create a sliding recording window. The recording time can be guaranteed to be within the most recent period of time, and the current is also the largest n sets of data within this period of time. System developers obtain the value and time or mileage of the abnormally large current recorded by the array, analyze the data, and study the location and mechanism of the abnormally large current. For example, whether it is caused by abnormal current collection by the Hall sensor or excessive wave in the system. By recording the working conditions at the time and combining them with the value of the large current generated, they conduct reproduction tests and ultimately find out the cause and location of the abnormally large current. Then, by improving the system design or improving the quality of components, they can ultimately eliminate the abnormally large current and improve the stability of the system operation.

[0070] This embodiment relates to a specific method for obtaining and processing abnormal current of an electric vehicle, such as Figure 4 As shown, including the following:

[0071] When an abnormally large current occurs, arrays A and B will record a set of data until n sets of data are recorded. n+1 When it appears, it is equal to the minimum value I of the previous n groups of data n-min For comparison, if I n+1 Less than In-min , then I n+1 Not recorded, the first n data of A and B arrays are maintained, otherwise I n-min and the corresponding time and mileage are discarded from array A and array B, and I n+1 The corresponding time or mileage is recorded in array A and array B. In this way, it can be ensured that the abnormal current captured is always the n maximum value.

[0072] Among them, the storage of abnormally large currents such as Figure 5 As shown, when the electric vehicle is powered off, the A array and the B array are stored in the BMS memory. When the electric vehicle is powered on again, the A array and the B array are read from the memory as inputs for this driving cycle, so that the continuity of the record can be maintained.

[0073] Abnormally high current filtering such as Figure 6 As shown, when an abnormally large current occurs, the abnormally large current occurs for a short time, generally less than 1s, so the current can maintain the historical value. When the abnormally large current disappears, the actual value is collected as the output.

[0074] System developers obtain the value and time or mileage of abnormally large current recorded by the array, analyze the data, and study the location and mechanism of abnormally large current generation. Figure 7 The Hall sensor of the current signal acquisition module collects abnormal current, or the motor drive system has too large a wave.

[0075] The test process is as follows Figure 7 As shown: current sensors are arranged on each branch of the system, and the operating conditions corresponding to the time or mileage of abnormally large current are operated. The signals of the current sensors of each branch are monitored, the branch where the abnormally large current is generated is locked, and then the various components on the branch where the abnormally large current occurs are analyzed to determine the cause of the abnormal current.

[0076] By recording the working conditions at the moment combined with the value of the large current generated, adding measurement points at various locations in the system, conducting reproduction and comparison tests, comparing the numerical characteristics and working conditions of the abnormal current, and identifying the location and cause of the abnormally large current, and then improving the system design or improving the quality of components, ultimately eliminating the abnormally large current and improving the stability of the system operation.

[0077] The purposes of recording abnormally large current in this embodiment include:

[0078] 1. By recording data, it can be confirmed whether there is an abnormally large current in the system. If it is directly filtered out, this information cannot be obtained. If an abnormally large current is recorded, it means that there are certain problems with the system operation. Therefore, it can be used as a means to monitor whether the system is working normally.

[0079] 2. Using the recorded values ​​and the corresponding time or mileage, the location and components where the abnormal current is generated can be analyzed through reproducing the test, and then the abnormal large current in the system can be truly eliminated by optimizing the system design or improving the quality of components.

[0080] This embodiment has the following advantages:

[0081] 1. High timeliness. It can capture abnormally large current in real time by following the vehicle, and it is the maximum value of n abnormal currents that have appeared in the recent period or mileage. If abnormally large current appears at the same time, the SOC can be corrected.

[0082] 2. It is highly targeted and can eliminate the SOC error caused by abnormally large current in electric vehicles.

[0083] This embodiment improves the analysis value of data by capturing the maximum values ​​of n abnormally large currents over a period of time or a mileage, while solving the SOC calculation error caused by the abnormally large current and improving the calculation accuracy of the SOC.

[0084] The embodiment of the present application also provides an abnormal current acquisition and processing device for an electric vehicle. It should be noted that the abnormal current acquisition and processing device for an electric vehicle in the embodiment of the present application can be used to execute the abnormal current acquisition and processing method for an electric vehicle provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and those that have been described will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0085] The following is an introduction to the abnormal current acquisition and processing device for an electric vehicle provided in an embodiment of the present application.

[0086] Figure 8 Schematic diagram of an abnormal current acquisition and processing device for an electric vehicle according to an embodiment of the present application. Figure 8 As shown, the device comprises:

[0087] An acquisition unit 81 is used to acquire a current data set, the current data set including n current values, and the time and mileage corresponding to each current value, wherein the n current values ​​are all greater than a current setting threshold, and the n current values ​​are collected from the first moment to the nth moment;

[0088] Specifically, the battery pack current value is collected, and according to the set current setting threshold, the current value greater than the current setting threshold is stored in the current data set until the current data set stores n current values, where n can be set according to the current value collection requirements, for example, n can be set to 20, 50, 100, etc. The current data set includes the current value, and the collection time and mileage corresponding to the current value.

[0089] a removing unit 82, configured to obtain the n+1th current value collected at the n+1th time, and when the n+1th current value is greater than the minimum current value in the current data set, remove the minimum current value and the time and mileage corresponding to the minimum current value from the current data set, and store the n+1th current value and the time and mileage corresponding to the n+1th current value in the current data set, to obtain a first updated current data set;

[0090] Specifically, the collected current value is compared with the minimum current value in the current data set. If the current value is greater than the minimum current value, the minimum current value is removed from the current data set, and the collected current value is stored in the current data set. This ensures that the current data set always contains the n largest current values, as well as the time and mileage corresponding to the current values.

[0091] An updating unit 83, configured to update the first updated current data set to obtain a second updated current data set according to a difference between a time corresponding to the n+1th current value in the first updated current data set and a minimum time, or according to a difference between a mileage corresponding to the n+1th current value in the first updated current data set and a minimum mileage;

[0092] Specifically, the current data set is arranged in chronological order, the first current value of the current data set is the current value first collected in the current data set, and the collection time or mileage of the n+1th current value is compared with the collection time or mileage of the first current value, and whether to remove the first current value is determined based on the comparison result, thereby ensuring that the current values ​​in the current data set are all collected in the most recent time period or a mileage segment.

[0093] The positioning unit 84 is used to locate the current anomaly based on the second updated current data set.

[0094] Specifically, by utilizing the current values ​​and corresponding times or mileages recorded in the second updated current data set, the location and components where the abnormal current is generated can be analyzed through a reproduction test, and then the abnormally large current in the system can be truly eliminated by optimizing the system design or improving the quality of components.

[0095] In this embodiment, an acquisition unit is used to acquire a current data set, the current data set includes n current values, and a time and mileage corresponding to each current value, wherein the n current values ​​are all greater than a current setting threshold value, and the n current values ​​are collected from the 1st moment to the nth moment; a removal unit is used to acquire the n+1th current value collected at the n+1th moment, and when the n+1th current value is greater than the minimum current value in the current data set, the minimum current value and the time and mileage corresponding to the minimum current value are removed from the current data set, and the n+1th current value and the time and mileage corresponding to the n+1th current value are stored in the current data set to obtain a first updated current data set; an updating unit is used to update the first updated current data set according to the difference between the time corresponding to the n+1th current value and the minimum time in the first updated current data set, or according to the difference between the mileage corresponding to the n+1th current value and the minimum mileage in the first updated current data set to obtain a second updated current data set; a positioning unit is used to locate the current anomaly based on the second updated current data set. The abnormal current value in the recent time period is obtained according to the current value, the time and mileage of the current value, and the abnormal current value is stored in the current data set. The current anomaly is located according to the current data set, and the battery SOC is corrected according to the abnormal current value, so that the calculated battery SOC is more accurate, and the problems of message cycle, poor real-time performance and inability to collect large current in data transmission in the prior art are solved.

[0096] As an optional solution, the update unit includes a first update module and a second update module; the first update module is used to determine the time difference based on the difference between the moment corresponding to the n+1th current value in the first updated current data set and the minimum moment, and when it is determined that the time difference is greater than the time setting value, the minimum moment, the current value corresponding to the minimum moment, and the mileage value corresponding to the minimum moment are removed from the current data set to obtain a second updated current data set; the second update module is used to determine the mileage difference based on the difference between the mileage corresponding to the n+1th current value in the first updated current data set and the minimum mileage, and when it is determined that the mileage difference is greater than the mileage setting value, the minimum mileage, the current value corresponding to the minimum mileage, and the moment corresponding to the minimum mileage are removed from the current data set to obtain a second updated current data set.

[0097] Specifically, the abnormally large current is captured in real time by following the vehicle, and by comparing the collection time or collection mileage, it is ensured that the collected current value is the maximum value of n abnormal currents that have appeared in the recent period of time or mileage. This has the advantage of high timeliness and improves the analysis value of the data.

[0098] In an optional scheme, the device also includes a construction unit and a first determination unit. The construction unit is used to construct a mapping relationship between the battery pack temperature, the battery SOC and the current setting threshold before acquiring the current data set; the first determination unit is used to determine the current current setting threshold corresponding to the current battery pack temperature and the current battery SOC based on the mapping relationship.

[0099] Specifically, according to the relationship between the battery pack temperature, the battery SOC and the current setting threshold, the current setting threshold corresponding to different battery pack temperatures and different battery SOCs is determined, so that the current setting threshold is selected more reasonably and the abnormally large current is detected more accurately.

[0100] In an optional solution, the device also includes a storage unit and a reading unit. The storage unit is used to store the second updated current data set in a BMS memory after updating the first updated current data set to obtain the second updated current data set when it is detected that the electric vehicle is powered off; the reading unit is used to read the second updated current data set of the previous driving cycle from the BMS memory as the current data set of the current driving cycle when it is detected that the electric vehicle is powered on.

[0101] Specifically, when the electric vehicle is powered off, the second updated current data set is stored in the BMS memory, and when the electric vehicle is powered on again, the second updated current data set is read from the memory as input for this driving cycle, so that the continuity of the record can be maintained.

[0102] In an optional scheme, the device also includes a second determination unit and a third determination unit, the second determination unit is used to obtain the duration of the n+1th current value after obtaining the n+1th current value collected at the n+1th time, and determine whether the duration of the n+1th current value is greater than a time setting value; the third determination unit is used to determine whether the n+1th current value is greater than the minimum current value in the current data set when the duration of the n+1th current value is greater than the time setting value.

[0103] Specifically, when an abnormally large current occurs, the duration of the abnormally large current is determined, and when the duration is less than 1 s, the abnormally large current is not recorded.

[0104] An optional solution, the positioning unit includes an acquisition module, which is used to obtain the experimental results of the reproduction experiment, locate the current anomaly according to the experimental results, and obtain the positioning result, the positioning result includes the abnormal detection point, abnormal electronic components, wherein the operating conditions and the operations performed when performing the reproduction experiment are the same as the operating conditions and the operations performed when obtaining each current value in the second updated current data set.

[0105] Specifically, according to the value and time or mileage of the abnormally large current in the second updated current data set, the data is analyzed to study the location and mechanism of the generation of the abnormally large current.

[0106] In an optional solution, the device also includes a filtering processing unit, which is used to filter the current values ​​greater than the current setting threshold after the n+1th current value is greater than the minimum current value in the current data set, and use the filtered current value to determine the battery SOC value of the electric vehicle.

[0107] Specifically, current values ​​greater than a current setting threshold are filtered out to obtain a normal current value, and the battery SOC value of the electric vehicle is calculated based on the normal current value, so that the battery SOC value calculated in this way is more accurate.

[0108] The electric vehicle abnormal current acquisition and processing device includes a processor and a memory. The acquisition unit, removal unit, update unit, positioning unit, etc. are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions. The above modules are all located in the same processor; or, the above modules are located in different processors in any combination.

[0109] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to solve the problems of the existing technology in data transmission, such as message cycle, poor real-time performance, and inability to collect large current.

[0110] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0111] An embodiment of the present invention provides a BMS controller, which is used to receive the current value of a battery pack collected by a current signal acquisition module, and includes: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the above-mentioned electric vehicle abnormal current acquisition and processing methods.

[0112] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the electric vehicle abnormal current acquisition and processing method.

[0113] Specifically, the method for obtaining and processing abnormal current of an electric vehicle includes:

[0114] Step S201, obtaining a current data set, the current data set including n current values, and the time and mileage corresponding to each current value, wherein the n current values ​​are all greater than a current setting threshold, and the n current values ​​are collected from the first moment to the nth moment;

[0115] Step S202, obtaining the n+1th current value collected at the n+1th time, and when the n+1th current value is greater than the minimum current value in the current data set, removing the minimum current value and the time and mileage corresponding to the minimum current value from the current data set, and storing the n+1th current value and the time and mileage corresponding to the n+1th current value in the current data set, to obtain a first updated current data set;

[0116] Step S203, updating the first updated current data set to obtain a second updated current data set according to the difference between the time corresponding to the n+1th current value in the first updated current data set and the minimum time, or according to the difference between the mileage corresponding to the n+1th current value in the first updated current data set and the minimum mileage;

[0117] Step S204: locating the current anomaly based on the second updated current data set.

[0118] An embodiment of the present invention provides a processor, which is used to run a program, wherein the electric vehicle abnormal current acquisition and processing method is executed when the program is running.

[0119] Specifically, the method for obtaining and processing abnormal current of an electric vehicle includes:

[0120] Step S201, obtaining a current data set, the current data set including n current values, and the time and mileage corresponding to each current value, wherein the n current values ​​are all greater than a current setting threshold, and the n current values ​​are collected from the first moment to the nth moment;

[0121] Step S202, obtaining the n+1th current value collected at the n+1th time, and when the n+1th current value is greater than the minimum current value in the current data set, removing the minimum current value and the time and mileage corresponding to the minimum current value from the current data set, and storing the n+1th current value and the time and mileage corresponding to the n+1th current value in the current data set, to obtain a first updated current data set;

[0122] Step S203, updating the first updated current data set to obtain a second updated current data set according to the difference between the time corresponding to the n+1th current value in the first updated current data set and the minimum time, or according to the difference between the mileage corresponding to the n+1th current value in the first updated current data set and the minimum mileage;

[0123] Step S204: locating the current anomaly based on the second updated current data set.

[0124] An embodiment of the present invention provides a device, the device including a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, at least the following steps are implemented:

[0125] Step S201, obtaining a current data set, the current data set including n current values, and the time and mileage corresponding to each current value, wherein the n current values ​​are all greater than a current setting threshold, and the n current values ​​are collected from the first moment to the nth moment;

[0126] Step S202, obtaining the n+1th current value collected at the n+1th time, and when the n+1th current value is greater than the minimum current value in the current data set, removing the minimum current value and the time and mileage corresponding to the minimum current value from the current data set, and storing the n+1th current value and the time and mileage corresponding to the n+1th current value in the current data set, to obtain a first updated current data set;

[0127] Step S203, updating the first updated current data set to obtain a second updated current data set according to the difference between the time corresponding to the n+1th current value in the first updated current data set and the minimum time, or according to the difference between the mileage corresponding to the n+1th current value in the first updated current data set and the minimum mileage;

[0128] Step S204: locating the current anomaly based on the second updated current data set.

[0129] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0130] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:

[0131] Step S201, obtaining a current data set, the current data set including n current values, and the time and mileage corresponding to each current value, wherein the n current values ​​are all greater than a current setting threshold, and the n current values ​​are collected from the first moment to the nth moment;

[0132] Step S202, obtaining the n+1th current value collected at the n+1th time, and when the n+1th current value is greater than the minimum current value in the current data set, removing the minimum current value and the time and mileage corresponding to the minimum current value from the current data set, and storing the n+1th current value and the time and mileage corresponding to the n+1th current value in the current data set, to obtain a first updated current data set;

[0133] Step S203, updating the first updated current data set to obtain a second updated current data set according to the difference between the time corresponding to the n+1th current value in the first updated current data set and the minimum time, or according to the difference between the mileage corresponding to the n+1th current value in the first updated current data set and the minimum mileage;

[0134] Step S204: locating the current anomaly based on the second updated current data set.

[0135] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0136] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0137] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0138] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0139] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0140] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0141] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0142] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0143] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0144] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:

[0145] 1) A method for obtaining and processing abnormal current of an electric vehicle of the present application comprises: obtaining a current data set, the current data set comprising n current values, and the time and mileage corresponding to each current value, wherein the n current values ​​are all greater than the current setting threshold value, and the n current values ​​are collected from the 1st moment to the nth moment; obtaining the n+1th current value collected at the n+1th moment, and when the n+1th current value is greater than the minimum current value in the current data set, removing the minimum current value and the time and mileage corresponding to the minimum current value from the current data set, and storing the n+1th current value and the time and mileage corresponding to the n+1th current value in the current data set to obtain a first updated current data set; updating the first updated current data set to obtain a second updated current data set according to the difference between the time corresponding to the n+1th current value and the minimum time in the first updated current data set, or according to the difference between the mileage corresponding to the n+1th current value and the minimum mileage in the first updated current data set; locating the current anomaly based on the second updated current data set. The abnormal current value in the recent time period is obtained according to the current value, the time and mileage of the current value, and the abnormal current value is stored in the current data set. The current anomaly is located according to the current data set, and the battery SOC is corrected according to the abnormal current value, so that the calculated battery SOC is more accurate, and the problems of message cycle, poor real-time performance and inability to collect large current in data transmission in the prior art are solved.

[0146] 2) An abnormal current acquisition and processing device for an electric vehicle of the present application comprises: an acquisition unit, used to acquire a current data set, the current data set comprising n current values, and the time and mileage corresponding to each current value, wherein the n current values ​​are all greater than the current setting threshold value, and the n current values ​​are collected from the 1st moment to the nth moment; a removal unit, used to acquire the n+1th current value collected at the n+1th moment, and when the n+1th current value is greater than the minimum current value in the current data set, remove the minimum current value and the time and mileage corresponding to the minimum current value from the current data set, and store the n+1th current value and the time and mileage corresponding to the n+1th current value in the current data set to obtain a first updated current data set; an updating unit, used to update the first updated current data set according to the difference between the time corresponding to the n+1th current value and the minimum time in the first updated current data set, or according to the difference between the mileage corresponding to the n+1th current value and the minimum mileage in the first updated current data set, to obtain a second updated current data set; a positioning unit, used to locate the current anomaly based on the second updated current data set. The abnormal current value in the recent time period is obtained according to the current value, the time and mileage of the current value, and the abnormal current value is stored in the current data set. The current anomaly is located according to the current data set, and the battery SOC is corrected according to the abnormal current value, so that the calculated battery SOC is more accurate, and the problems of message cycle, poor real-time performance and inability to collect large current in data transmission in the prior art are solved.

[0147] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for obtaining and processing abnormal current of an electric vehicle, characterized in that: include: Acquire a current data set, the current data set including n current values, and a time and mileage corresponding to each current value, wherein the n current values ​​are all greater than a current setting threshold, and the n current values ​​are collected from a first time to an nth time; Acquire the n+1th current value collected at the n+1th time, and when the n+1th current value is greater than the minimum current value in the current data set, remove the minimum current value and the time and mileage corresponding to the minimum current value from the current data set, and store the n+1th current value and the time and mileage corresponding to the n+1th current value in the current data set to obtain a first updated current data set; According to the difference between the time corresponding to the n+1th current value in the first updated current data set and the minimum time, or according to the difference between the mileage corresponding to the n+1th current value in the first updated current data set and the minimum mileage, the first updated current data set is updated to obtain a second updated current data set; The current anomaly is located based on the second updated current data set.

2. The method according to claim 1, characterized in that According to the difference between the time corresponding to the n+1th current value and the minimum time in the first updated current data set, updating the first updated current data set to obtain a second updated current data set, comprising: determining a time difference according to the difference between the time corresponding to the n+1th current value and the minimum time in the first updated current data set, and when it is determined that the time difference is greater than a time setting value, removing the minimum time, the current value corresponding to the minimum time, and the mileage value corresponding to the minimum time from the current data set to obtain the second updated current data set; According to the difference between the mileage corresponding to the n+1th current value and the minimum mileage in the first updated current data set, updating the first updated current data set to obtain the second updated current data set, including: determining the mileage difference according to the difference between the mileage corresponding to the n+1th current value and the minimum mileage in the first updated current data set, and when it is determined that the mileage difference is greater than the mileage setting value, removing the minimum mileage, the current value corresponding to the minimum mileage, and the time corresponding to the minimum mileage from the current data set to obtain the second updated current data set.

3. The method according to claim 1, characterized in that: Before acquiring the current data set, the method further includes: Constructing a mapping relationship between the battery pack temperature, the battery SOC and the current setting threshold; The current current setting threshold corresponding to the current battery pack temperature and the current battery SOC is determined according to the mapping relationship.

4. The method according to claim 1, characterized in that After updating the first updated current data set to obtain a second updated current data set, the method further includes: When it is detected that the electric vehicle is powered off, storing the second updated current data set in a BMS memory; When it is detected that the electric vehicle is powered on, the second updated current data set of the previous driving cycle is read from the BMS memory as the current data set of the current driving cycle.

5. The method according to claim 1, characterized in that After obtaining the n+1th current value collected at the n+1th time, the method further includes: Obtaining a duration of the n+1th current value, and determining whether the duration of the n+1th current value is greater than a set time value; In the case that the duration of the n+1th current value is greater than a time setting value, it is determined whether the n+1th current value is greater than the minimum current value in the current data set.

6. The method according to claim 1, characterized in that The method of locating the current anomaly based on the second updated current data set includes: Acquire the experimental results of the reproduction experiment, locate the current anomaly according to the experimental results, and obtain the positioning results, wherein the positioning results include abnormal detection points and abnormal electronic components, wherein the operating conditions and operations performed when performing the reproduction experiment are the same as the operating conditions and operations performed when obtaining each current value in the second updated current data set.

7. The method according to claim 1, characterized in that After the n+1th current value is greater than the minimum current value in the current data set, the method further includes: The current value greater than the current setting threshold is filtered, and the battery SOC value of the electric vehicle is determined using the filtered current value.

8. An abnormal current acquisition and processing device for an electric vehicle, characterized in that: include: An acquisition unit, configured to acquire a current data set, wherein the current data set includes n current values, and a time and a mileage corresponding to each current value, wherein the n current values ​​are all greater than a current setting threshold, and the n current values ​​are collected from a first time to an nth time; a removing unit, configured to obtain an n+1th current value collected at an n+1th time, and when the n+1th current value is greater than a minimum current value in the current data set, remove the minimum current value and the time and mileage corresponding to the minimum current value from the current data set, and store the n+1th current value and the time and mileage corresponding to the n+1th current value in the current data set, to obtain a first updated current data set; an updating unit, configured to update the first updated current data set to obtain a second updated current data set according to a difference between a time corresponding to the n+1th current value in the first updated current data set and a minimum time, or according to a difference between a mileage corresponding to the n+1th current value in the first updated current data set and a minimum mileage; A positioning unit is used to locate the current anomaly based on the second updated current data set.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the electric vehicle abnormal current acquisition and processing method according to any one of claims 1 to 7.

10. A BMS controller, characterized in that: The BMS controller is used to receive the current value of the battery pack collected by the current signal acquisition module, and includes: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing the abnormal current acquisition and processing method of an electric vehicle as described in any one of claims 1 to 7.