Intelligent battery detection method and system for battery replacement cabinet

The battery intelligent detection system for battery swap cabinets addresses the lack of comprehensive analysis by using identification codes, tracking usage records, and analyzing voltage to identify aging batteries and unhealthy user behavior, thereby improving battery life and safety.

CN119224622APending Publication Date: 2024-12-31江西驴充充物联网科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411441159.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-16
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

Existing battery detection systems for battery swap cabinets lack comprehensive analysis of battery health and user usage, leading to improper usage by users that significantly reduces battery life without timely reminders.

Method used

Implement a battery intelligent detection system with unique identification codes for batteries and users, track usage records, analyze battery voltage, and establish histograms to identify aged batteries, calculate risk judgment values, and monitor user behavior for timely intervention.

Benefits of technology

Accurately identifies aging batteries and users with unhealthy usage patterns, enabling timely reminders and improving battery life by tracking usage records and voltage analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119224622A_ABST
    Figure CN119224622A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent battery detection method and system for a battery replacement cabinet, and relates to the technical field of battery health detection, and the method comprises the steps: setting an identification code and a use record table, and updating the use record table; the voltage of the battery is obtained, and the maximum output voltage is calculated; calculating and analyzing the maximum voltage, and marking the battery as an aged battery; obtaining a use frequency, establishing a histogram, and outputting an expected frequency; analyzing the use record table, and outputting a frequency weight value and an identity weight value; calculating the frequency weight value and the identity weight value, monitoring the identity code, and outputting user judgment information; the method is used for solving the problem that in the prior art, comprehensive analysis on battery health and user use conditions is lacked, and a user with an improper battery cannot be found in time and reminded, so that the service life of the battery is greatly shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of battery health detection, and specifically to a battery intelligent detection method and system for a battery swap cabinet. Background Art

[0002] Battery health refers to the condition of the battery's storage capacity and service life; battery health will be affected by factors such as charging method, discharge current, and battery materials; battery performance degradation will lead to a decrease in battery system performance, an increase in failure rate, and a significant increase in operating and maintenance costs; therefore, scientific and accurate evaluation of the battery's health status is of great significance to extending battery life and improving the safety and reliability of system operation.

[0003] Existing improvements to battery detection for battery swap cabinets usually improve the accuracy and efficiency of battery detection and improve the stability of system operation. For example, in a Chinese patent with publication number CN117031280A, a battery intelligent detection system and detection method for a battery swap cabinet are disclosed. The solution determines the corresponding battery data acquisition model and battery diagnosis model based on the relevant data of the battery swap cabinet and the relevant data of the battery swap vehicle, and then collects the detection data according to the guidance of the battery data acquisition model and performs diagnostic analysis according to the battery diagnosis model. The entire detection and diagnosis process is highly intelligent, efficient, and the results are accurate, ensuring the safety and efficiency of the charging process of the battery swap cabinet; however, the above detection method lacks a comprehensive analysis of battery health and user usage, which will result in the inability to promptly detect and remind users who use the battery improperly, thereby significantly reducing the battery life. In view of this, it is necessary to improve the existing automated testing. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems in the prior art to a certain extent. By improving the battery detection of the battery swap cabinet, it is used to solve the problem in the prior art that due to the comprehensive analysis of battery health and user usage, users who use the battery improperly cannot be discovered and reminded in time, thereby causing a significant reduction in battery life.

[0005] To achieve the above-mentioned purpose, in a first aspect, the present invention provides a battery intelligent detection method for a battery swap cabinet, comprising: setting an identification code for each battery and user, wherein the identification code includes an identification code and an identity code; setting a usage record table for each battery, and updating the usage record table based on the user's battery swap process;

[0006] Obtain the voltage of the battery, calculate and analyze the voltage, and output the maximum voltage based on the calculation and analysis results; calculate and analyze the maximum voltage, and mark the battery as an aged battery based on the calculation and analysis results; obtain the number of times a plurality of aged batteries are used, divide the number of times used to obtain a plurality of number intervals, establish a histogram based on the number intervals, analyze the histogram, and output the expected number based on the analysis results;

[0007] Analyze the usage record table of the aged battery based on the expected number of times, and output the number of times weight value and the identity weight value based on the analysis result;

[0008] The number weight value and the identity weight value are calculated, and the identity code is marked based on the calculation results; the identity code is monitored, and user judgment information is output based on the monitoring results.

[0009] Furthermore, the power exchange cabinet has a network communication function, which can upload the usage record sheet and the identification code to the cloud, and can also download the usage record sheet uploaded by other power exchange cabinets from the cloud based on the identification code.

[0010] Further, an identification code is set for each battery and user, a usage record table is set for each battery, and updating the usage record table based on the user's battery replacement process includes:

[0011] Set a unique identification code for each battery and a unique identity code for each user;

[0012] Setting an associated usage record table for each battery, the usage record table including a usage count with an initial value of 0 and a first number of identity codes with an initial value of null and a number;

[0013] It is stipulated that when users use a battery swap cabinet to swap batteries, the batteries placed in the cabinet are marked as recycled batteries, and the batteries taken out of the cabinet are marked as acquired batteries;

[0014] When any battery is marked as an acquired battery, the usage record table associated with the acquired battery is updated;

[0015] When the user performs a battery replacement, the user's identity code is obtained;

[0016] The updating of the usage record table associated with obtaining the battery comprises:

[0017] The number of times the battery is used is incremented by one, and the usage record table is updated based on the identity code.

[0018] Further, obtaining the voltage of the battery, calculating and analyzing the voltage, and outputting the maximum voltage based on the calculation and analysis results include:

[0019] Performing a full-power determination process, the full-power determination process comprising:

[0020] The voltage of the battery is obtained once at each interval and marked as the real-time voltage; the voltage obtained before the first time is marked as the historical voltage;

[0021] Calculate the difference between the real-time voltage and the historical voltage, and mark it as the changed voltage;

[0022] When the changing voltage is less than or equal to the changing threshold, the real-time voltage is marked as the maximum voltage and the stop inspection information is output; when the changing voltage is greater than the changing threshold, the full power judgment process is repeated.

[0023] Further, calculating and analyzing the maximum voltage, and marking the battery as an aged battery based on the calculation and analysis result includes:

[0024] Calculate the ratio of the maximum voltage to the rated voltage and mark it as the intact rate;

[0025] When the intact rate is less than the intact threshold, the battery is marked as an aged battery; when the intact rate is greater than or equal to the intact threshold, no processing is performed.

[0026] Further, the number of times a plurality of aged batteries are used is obtained, the number of times is divided to obtain a plurality of number intervals, a histogram is established based on the number intervals, the histogram is analyzed, and the expected number of times is output based on the analysis result, including:

[0027] Get the usage count of all aging batteries in the cloud, and mark the maximum usage count as the maximum count;

[0028] Marking the first zoom multiple of the maximum number as the division multiple; dividing the maximum number based on the division multiple to obtain a number interval whose number is the reciprocal of the first zoom multiple;

[0029] Calculate the number of times used in each frequency interval and mark it as the interval value;

[0030] A histogram is established with the horizontal axis being the endpoint value of the frequency interval and the vertical axis being the size of the interval value;

[0031] A loop division process is performed, and an expected number is output based on the loop division process, wherein the expected number includes a minimum number and a high frequency number.

[0032] Further, the loop division process includes a loop header, a first loop body and a second loop body, and the loop header includes:

[0033] Set the initial value of i to 1;

[0034] The first loop body comprises:

[0035] Calculate the partition line x, the partition line calculation expression is x=k×i, where k is the number of partitions;

[0036] Calculate the sum of the interval values ​​on the left side of the dividing line in the histogram, marked as the first number;

[0037] Calculate the ratio of the first number to the maximum number, and mark it as the probability of occurrence;

[0038] When the occurrence probability is within the first probability interval, i is incremented by one and the first loop body is executed again;

[0039] When the occurrence probability is not within the first probability interval, the value of x is marked as the minimum number, i is incremented by one, and the second loop body is executed;

[0040] The second loop body comprises:

[0041] Calculate the dividing line x;

[0042] Calculate the sum of the interval values ​​on the left side of the dividing line in the histogram, marked as the second number;

[0043] Calculate the ratio of the second number to the maximum number and mark it as the probability of occurrence;

[0044] When the occurrence probability is within the second probability interval, the second loop body is executed again;

[0045] When the occurrence probability is not within the second probability interval, the value of x is marked as a high frequency number, and the loop division process is terminated.

[0046] Furthermore, the number of times the aged battery is used is analyzed based on the expected number of times, and the number of times weight values ​​output based on the analysis result include:

[0047] When any battery is marked as an aged battery, the number of times the aged battery is used is obtained and marked as the number of times analyzed; a usage record table of the aged battery is obtained, and an identity weight value having the same number as that of all identity codes in the usage record table is set;

[0048] Set the initial value of the times weight value to 0 to compare the analysis times with the minimum times and the high frequency times;

[0049] When the number of analyses is less than or equal to the minimum number, the number weight value is set to the first value; when the number of analyses is greater than the minimum number and less than the high-frequency number, the number weight value is set to the second value; when the number of analyses is greater than or equal to the high-frequency number, the number weight value is set to the third value.

[0050] Furthermore, the user judgment information includes user abnormality information and user risk information, the number weight value and the identity weight value are calculated, and the identity code is marked based on the calculation result; the identity code is monitored, and the user judgment information output based on the monitoring result includes:

[0051] Calculate the product of the number of times weight value and the identity weight value, and mark it as the risk judgment value;

[0052] When the risk judgment value is less than the third value, no processing is performed;

[0053] When the risk judgment value is less than the first value, the identity code is marked with the first risk label; when the risk judgment value is equal to the first value, the identity code is marked with the second risk label; when the risk judgment value is greater than the first value and less than the second value, the identity code is marked with the third risk label; when the risk judgment value is greater than the second value, no processing is performed;

[0054] Monitor the marking of identity codes and delete them after the first day;

[0055] When any identity code has both the first risk label and the second risk label, or the first risk label and the third risk label, or two first risk labels, output user abnormal information;

[0056] When any identity code has both the second risk label and the third risk label or there are two second risk labels, output the user risk information;

[0057] When the identity code contains other label combinations, no processing is performed.

[0058] In a second aspect, the present invention further provides a battery intelligent detection system for a battery swap cabinet, comprising an information management module, a battery analysis module and a user judgment module; the information management module is used to set an identification code for each battery and user, the identification code comprising an identification code and an identity code; a usage record table is set for each battery, and the usage record table is updated based on the user's battery swap process;

[0059] The battery analysis module is used to obtain the voltage of the battery, calculate and analyze the voltage, and output the maximum voltage based on the calculation and analysis results; calculate and analyze the maximum voltage, and mark the battery as an aged battery based on the calculation and analysis results; obtain the number of times a plurality of aged batteries are used, divide the number of times used to obtain a plurality of number intervals, establish a histogram based on the number intervals, analyze the histogram, and output the expected number based on the analysis results;

[0060] The user judgment module is used to analyze the usage record table of the aging battery based on the expected number of times, and output the number of times weight value and the identity weight value based on the analysis result; calculate the number of times weight value and the identity weight value, and mark the identity code based on the calculation result; monitor the identity code, and output user judgment information based on the monitoring result.

[0061] Beneficial effects of the present invention: The present invention sets a unique identification code for the battery and the user, sets a usage record table for the battery, and updates the usage record table based on the user's identification code; the advantage of this is that the usage record of each battery and the replacement of each user can be tracked, and when a battery is marked as an aging battery, the user who has recently used the battery can be found through tracking, and users with unhealthy usage methods can be discovered in time;

[0062] The present invention also calculates the voltage of the battery when the battery is fully charged, analyzes the voltage, and determines whether the battery is an aged battery; then obtains the number of times a plurality of aged batteries are used, analyzes the number of times used, and obtains an expected number of times; then judges the newly marked aged battery according to the expected number of times, outputs an identity weight value and a number of times weight value, and finally calculates a risk judgment value, marks the identity code, analyzes the user according to the marked label, and outputs user judgment information; the advantage of this is that three levels of number of times of use can be obtained through big data analysis, and each number of times of use requires different levels of attention, which can be achieved through the number of times weight value; then the number of times weight value is analyzed based on the order of battery use represented by the identity weight value, so that the user's usage method can be judged more accurately, thereby improving the intelligence of battery detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 is a functional block diagram of the system of the present invention;

[0064] Figure 2 is a flow chart of the steps of the method of the present invention;

[0065] Figure 3 It is a schematic diagram of the histogram of the present invention. DETAILED DESCRIPTION

[0066] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0067] Example 1, first aspect, please refer to Figure 1As shown, the present invention provides a battery intelligent detection system for a battery swap cabinet, including an information management module, a battery analysis module and a user judgment module; the information management module is used to set an identification code for each battery and user, and the identification code includes an identification code and an identity code; a usage record table is set for each battery, and the usage record table is updated based on the user's battery swap process;

[0068] The information management module is configured with an identity generation strategy, which includes:

[0069] Set a unique identification code for each battery and a unique identity code for each user;

[0070] In a specific implementation, a reference setting method of the identification code is to combine the generation date of the battery and the number of batteries produced on that day. For example, if the battery is produced on January 1, 2024, and a total of 100 batteries are put into use on that day, and a certain battery is the 50th battery produced among the 100 batteries, then the identification code is set to 02401010050; "0240101" represents the production date; "0050" represents the 50th production on that day. The four-digit number is set to accommodate the large base of battery production every day.

[0071] The setting method of the identity code can refer to the method of the identification code, that is, combining the user's registration date and the number sorted by registration time on that day;

[0072] Setting an associated usage record table for each battery, the usage record table including a usage count with an initial value of 0 and a first number of identity codes with an initial value of null and a number;

[0073] In specific implementation, the first number is set to 3. If the first number is set too large, the data size of each usage record table will become larger, and the size requirement of the database will become higher; and if the first number is set too large, it lacks timeliness in the macro sense. For example, if each battery is replaced once every 2 days on average, the user corresponding to the identity code numbered 4 put the battery into the battery swap cabinet 6 days ago. The value of analysis at this time is small, so the first number is set to 3; a possible usage record table is shown in Table 1-1 Usage Record Table:

[0074] Table 1-1 Usage Record

[0075]

[0076] The ID code corresponding to number 1 indicates that the battery was last used by the user with ID code 02401010001; number 2 indicates that before the user with ID code 02401010001 used the battery, the user with ID code 02401010002 used the battery once; and so on;

[0077] It is stipulated that when users use a battery swap cabinet to swap batteries, the batteries placed in the cabinet are marked as recycled batteries, and the batteries taken out of the cabinet are marked as acquired batteries;

[0078] When any battery is marked as an acquired battery, the usage record table associated with the acquired battery is updated;

[0079] When the user performs a battery replacement, the user's identity code is obtained;

[0080] The usage record table associated with obtaining the battery is updated including:

[0081] The number of times the battery is used is incremented by one, and the usage record table is updated based on the identity code;

[0082] It should be noted that, taking the battery corresponding to Table 1-1 as an example, if the user with the identity code 02402020001 performs a battery replacement, the usage record table after updating the usage record table based on the identity code is shown in the updated record table in Table 1-2:

[0083] Table 1-2 Update record table

[0084]

[0085] The battery analysis module is used to obtain the voltage of the battery, calculate and analyze the voltage, and output the maximum voltage based on the calculation and analysis results; calculate and analyze the maximum voltage, and mark the battery as an aged battery based on the calculation and analysis results; obtain the number of times used by multiple aged batteries, divide the number of times used to obtain multiple number intervals, establish a histogram based on the number intervals, analyze the histogram, and output the expected number based on the analysis results;

[0086] The battery analysis module is configured with a voltage analysis strategy, which includes:

[0087] Perform full power judgment processing, which includes:

[0088] The voltage of the battery is obtained once at each interval and marked as the real-time voltage; the voltage obtained before the first time is marked as the historical voltage;

[0089] Calculate the difference between the real-time voltage and the historical voltage, and mark it as the changed voltage;

[0090] When the change voltage is less than or equal to the change threshold, the real-time voltage is marked as the maximum voltage and the stop inspection information is output; when the change voltage is greater than the change threshold, the full power judgment process is repeated;

[0091] In the specific implementation, the first time is set to 5 minutes, and the change threshold is set to 1. For the power battery used in the battery swap cabinet, when the battery is fully charged, the voltage at both ends of the battery will hardly change when it continues to be charged. Setting the change threshold to 1 means that after two tests with an interval of 5 minutes, the voltage change amplitude at both ends of the battery is within 1V, which means that the battery is fully charged, and the next step can be carried out to determine whether the battery is an aging battery.

[0092] Calculate the ratio of the maximum voltage to the rated voltage and mark it as the intact rate;

[0093] When the intact rate is less than the intact threshold, the battery is marked as an aged battery; when the intact rate is greater than or equal to the intact threshold, no processing is performed;

[0094] It should be noted that marking a battery as an aged battery means that the battery exhibits the same capacity reduction symptoms as an aged battery. This may be caused by unhealthy usage by the user, resulting in battery failure. Therefore, when the battery capacity decreases due to a failure, it will also be marked as an aged battery.

[0095] In specific implementation, the intact threshold is set to 80%. Taking a 12V electric vehicle battery as an example, when the intact rate is 80%, it means that the voltage across the battery is 9.6V when the battery is fully charged; if 5 groups of such batteries are used to form a battery pack to power an electric vehicle, the original 60V voltage will be changed to the actual 48V, resulting in a significant decrease in the power of the electric vehicle. Therefore, a battery with an intact rate lower than 80% will be marked as an aging battery.

[0096] The battery analysis module is also configured with an expected calculation strategy, which includes:

[0097] Get the usage count of all aging batteries in the cloud, and mark the maximum usage count as the maximum count;

[0098] Marking the first zoom multiple of the maximum number as the division multiple; dividing the maximum number based on the division multiple to obtain a number interval whose number is the reciprocal of the first zoom multiple;

[0099] In the specific implementation, the first zoom factor is set to 0.1 times; taking the maximum number of times as 1000 as an example, 10 number intervals are obtained, namely [0, 100], [100, 200] ... [900, 1000]; the first probability interval is set to [0, 0.2], and the second probability interval is set to [0.2, 0.8];

[0100] See also Figure 3 As shown, Figure 3When the first loop is executed four times, the dividing line x = 100 × 4 is obtained. At this time, the first number is equal to 225, and the probability of occurrence is 0.225, which is not within the first probability interval [0, 0.2]. 400 is marked as the minimum number of times, indicating that for any battery, it is abnormal to be marked as an aged battery when the number of times it is used is less than 400, and it needs to be paid special attention to.

[0101] At this time, the second loop body is entered. When the second loop body is executed four times, the dividing line x=100×8 is obtained. At this time, the second number is equal to 850, and the probability of occurrence is 0.85, which is not within the second probability interval [0.2, 0.8]. 800 is marked as a high frequency number, indicating that for any battery, when the number of times it is used is greater than 400 and less than 800, it may be due to normal loss and aging, and ordinary attention is required;

[0102] For any battery, if the number of uses is greater than 800, it is sufficient to indicate that the battery has aged after being used normally enough times and no concern is needed.

[0103] Calculate the number of times used in each frequency interval and mark it as the interval value;

[0104] A histogram is established with the horizontal axis being the endpoint value of the frequency interval and the vertical axis being the size of the interval value;

[0105] A loop division process is performed, and an expected number is output based on the loop division process, where the expected number includes a minimum number and a high frequency number.

[0106] The loop division process includes a loop header, a first loop body, and a second loop body. The loop header includes:

[0107] Set the initial value of i to 1;

[0108] The first loop body includes:

[0109] Calculate the partition line x, the partition line calculation expression is x = k × i, where k is the number of partitions;

[0110] Calculate the sum of the interval values ​​on the left side of the dividing line in the histogram, marked as the first number;

[0111] Calculate the ratio of the first number to the maximum number, and mark it as the probability of occurrence;

[0112] When the occurrence probability is within the first probability interval, i is incremented by one and the first loop body is executed again;

[0113] When the occurrence probability is not within the first probability interval, the value of x is marked as the minimum number, i is incremented by one, and the second loop body is executed;

[0114] The second loop body includes:

[0115] Calculate the dividing line x;

[0116] Calculate the sum of the interval values ​​on the left side of the dividing line in the histogram, marked as the second number;

[0117] Calculate the ratio of the second number to the maximum number and mark it as the probability of occurrence;

[0118] When the occurrence probability is within the second probability interval, the second loop body is executed again;

[0119] When the occurrence probability is not within the second probability interval, the value of x is marked as a high frequency number, and the loop division process is terminated.

[0120] The user judgment module is used to analyze the usage record table of the aged battery based on the expected number of times, and output the number of times weight value and the identity weight value based on the analysis result; calculate the number of times weight value and the identity weight value, and mark the identity code based on the calculation result; monitor the identity code, and output user judgment information based on the monitoring result;

[0121] The user judgment module is configured with an aging analysis strategy, which includes:

[0122] When any battery is marked as an aged battery, the number of times the aged battery is used is obtained and marked as the number of times analyzed; a usage record table of the aged battery is obtained, and an identity weight value having the same number as that of all identity codes in the usage record table is set;

[0123] Set the initial value of the times weight value to 0 to compare the analysis times with the minimum times and the high frequency times;

[0124] When the number of analysis times is less than or equal to the minimum number of times, the number of times weight value is set to the first value; when the number of analysis times is greater than the minimum number of times and less than the high frequency number of times, the number of times weight value is set to the second value; when the number of analysis times is greater than or equal to the high frequency number of times, the number of times weight value is set to the third value;

[0125] In a specific implementation, the first value is set to 0.5, the second value is set to 1, and the third value is set to 2.

[0126] The user judgment module is also configured with an abnormal calculation strategy, which includes:

[0127] Calculate the product of the number of times weight value and the identity weight value, and mark it as the risk judgment value;

[0128] In specific implementation, the calculation method and results of the risk judgment value are shown in the calculation diagram in Table 2-1. The leftmost column in the table represents the value of the identity weight value, and the top row represents the value of the frequency weight value;

[0129] Table 2-1 Calculation diagram

[0130] 0.5 1 2 1 0.5 1 2 2 1 2 4 3 1.5 3 6

[0131] When the risk judgment value is less than or equal to 1, it is the first risk label on the identity code standard; when the risk judgment value is greater than 1 and less than 2, the second risk label is added to the identity code;

[0132] When the risk judgment value is less than the first value, the identity code is marked with the first risk label; when the risk judgment value is equal to the first value, the identity code is marked with the second risk label; when the risk judgment value is greater than the first value and less than the second value, the identity code is marked with the third risk label; when the risk judgment value is greater than the second value, no processing is performed;

[0133] Taking Table 2-1 as an example, when the identity weight value is 1 and the frequency weight value is 0.5, it will be labeled with the first risk label; when the identity weight value is 2 and the frequency weight value is 0.5 or the identity weight value is 1 and the frequency weight value is 1, it will be labeled with the second risk label; when the identity weight value is 3 and the frequency weight value is 0.5, it will be labeled with the third risk label;

[0134] Monitor the marking of identity codes and delete them after the first day;

[0135] The first day is set to 7 days. It should be noted that deleting the label after the first day means that if any identity code is marked with any label on January 1, the label will be deleted on January 8.

[0136] When any identity code has both the first risk label and the second risk label, or the first risk label and the third risk label, or two first risk labels, output user abnormal information;

[0137] When any identity code has both the second risk label and the third risk label or there are two second risk labels, output the user risk information;

[0138] When the identity code contains other label combinations, no processing is performed.

[0139] Example 2, please refer to Figure 2 As shown, the present invention also provides a battery intelligent detection method for a battery swap cabinet, comprising:

[0140] Step S1, setting an identification code for each battery and user, the identification code including an identification code and an identity code; setting a usage record table for each battery, and updating the usage record table based on the user's battery replacement process; Step S1 also includes the following sub-steps:

[0141] Step S101, setting a unique identification code for each battery and a unique identity code for each user;

[0142] Step S102, setting an associated usage record table for each battery, the usage record table including a usage count with an initial value of 0 and a first number of identity codes with an initial value of null and a number;

[0143] It is stipulated that when users use a battery swap cabinet to swap batteries, the batteries placed in the cabinet are marked as recycled batteries, and the batteries taken out of the cabinet are marked as acquired batteries;

[0144] Step S103, when the user performs a battery replacement process, obtain the user's identity code;

[0145] Step S104: when any battery is marked as an acquired battery, the usage count of the acquired battery is increased by one, and the usage record table is updated based on the identity code.

[0146] Step S2, obtaining the voltage of the battery, calculating and analyzing the voltage, and outputting the maximum voltage based on the calculation and analysis results; calculating and analyzing the maximum voltage, and marking the battery as an aged battery based on the calculation and analysis results; obtaining the number of times used of multiple aged batteries, dividing the number of times used to obtain multiple number intervals, establishing a histogram based on the number intervals, analyzing the histogram, and outputting the expected number based on the analysis results; Step S2 also includes the following sub-steps:

[0147] Step S201, performing a full-power determination process, the full-power determination process includes:

[0148] The voltage of the battery is obtained once at each interval and marked as the real-time voltage; the voltage obtained before the first time is marked as the historical voltage;

[0149] Calculate the difference between the real-time voltage and the historical voltage, and mark it as the changed voltage;

[0150] When the changing voltage is less than or equal to the changing threshold, the real-time voltage is marked as the maximum voltage and the stop inspection information is output; when the changing voltage is greater than the changing threshold, the full power judgment process is repeated.

[0151] Step S202, calculating the ratio of the maximum voltage to the rated voltage, and marking it as the intact rate;

[0152] Step S203, when the intact rate is less than the intact threshold, the battery is marked as an aged battery; when the intact rate is greater than or equal to the intact threshold, no processing is performed;

[0153] Step S204, obtaining the usage counts of all aged batteries in the cloud, and marking the maximum usage count as the maximum count;

[0154] Step S205, marking the first zoom multiple of the maximum number as the division multiple; dividing the maximum number based on the division multiple to obtain a number interval whose number is the reciprocal of the first zoom multiple;

[0155] Step S206, calculating the number of times used in each frequency interval and marking it as the interval value;

[0156] Step S207, creating a histogram with the horizontal axis representing the endpoint values ​​of the frequency interval and the vertical axis representing the interval values;

[0157] Step S208, executing loop division processing, and outputting expected times based on the loop division processing, wherein the expected times include minimum times and high frequency times.

[0158] The loop division process includes a loop header, a first loop body, and a second loop body. The loop header includes:

[0159] Set the initial value of i to 1;

[0160] The first loop body includes:

[0161] Calculate the partition line x. The partition line calculation expression is x=k×i, where k is the number of partitions.

[0162] Calculate the sum of the interval values ​​on the left side of the dividing line in the histogram, marked as the first number;

[0163] Calculate the ratio of the first number to the maximum number, and mark it as the probability of occurrence;

[0164] When the occurrence probability is within the first probability interval, i is incremented by one and the first loop body is executed again;

[0165] When the occurrence probability is not within the first probability interval, the value of x is marked as the minimum number, i is incremented by one, and the second loop body is executed;

[0166] The second loop body includes:

[0167] Calculate the dividing line x;

[0168] Calculate the sum of the interval values ​​on the left side of the dividing line in the histogram, marked as the second number;

[0169] Calculate the ratio of the second number to the maximum number and mark it as the probability of occurrence;

[0170] When the occurrence probability is within the second probability interval, the second loop body is executed again;

[0171] When the occurrence probability is not within the second probability interval, the value of x is marked as a high frequency number, and the loop division process is terminated.

[0172] Step S3, analyzing the usage record table of the aged battery based on the expected number of times, and outputting the number of times weight value and the identity weight value based on the analysis result; Step S3 also includes the following sub-steps:

[0173] Step S301, when any battery is marked as an aged battery, the number of times the aged battery is used is obtained and marked as the number of times analyzed; a usage record table of the aged battery is obtained, and an identity weight value having the same number as that of all identity codes in the usage record table is set;

[0174] Step S302, setting the number weight value with an initial value of 0 to compare and analyze the number of times with the minimum number of times and the high frequency number of times;

[0175] Step S303, when the number of analysis times is less than or equal to the minimum number of times, the number of times weight value is set to the first value; when the number of analysis times is greater than the minimum number of times and less than the high-frequency number of times, the number of times weight value is set to the second value; when the number of analysis times is greater than or equal to the high-frequency number of times, the number of times weight value is set to the third value.

[0176] Step S4, calculating the number weight value and the identity weight value, marking the identity code based on the calculation result; monitoring the identity code, and outputting user judgment information based on the monitoring result; Step S4 also includes the following sub-steps:

[0177] Step S401, calculating the product of the number weight value and the identity weight value, and marking it as the risk judgment value;

[0178] Step S402: when the risk judgment value is less than the third value, no processing is performed;

[0179] Step S403: when the risk judgment value is less than the first value, the identity code is marked with a first risk label; when the risk judgment value is equal to the first value, the identity code is marked with a second risk label; when the risk judgment value is greater than the first value and less than the second value, the identity code is marked with a third risk label; when the risk judgment value is greater than the second value, no processing is performed;

[0180] Step S404, monitor the marking of the identity code and delete the marking after the first day; when any identity code has the first risk label and the second risk label, or the first risk label and the third risk label, or two first risk labels, output user abnormal information; when any identity code has the second risk label and the third risk label, or there are two second risk labels, output user risk information; when the identity code has other label combinations, no processing is performed.

[0181] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0182] It should be understood by those skilled in the art that the embodiments of the present invention can be provided as methods, systems or computer program products. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program codes. Among them, the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or optical disk. 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 comprising 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.

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

Claims

1. A battery intelligent detection method for a battery swap cabinet, characterized in that: include: An identification code is set for each battery and user, wherein the identification code includes an identification code and an identity code; a usage record table is set for each battery, and the usage record table is updated based on the user's battery replacement process; Obtaining the voltage of the battery, calculating and analyzing the voltage, and outputting the maximum voltage based on the calculation and analysis results; Calculating and analyzing the maximum voltage, and marking the battery as an aged battery based on the calculation and analysis result; Obtain the usage times of multiple aged batteries, divide the usage times to obtain multiple time intervals, establish a histogram based on the time intervals, analyze the histogram, and output the expected times based on the analysis results; Analyze the usage record table of the aged battery based on the expected number of times, and output the number of times weight value and the identity weight value based on the analysis result; Calculate the number of times weight value and identity weight value, and mark the identity code based on the calculation results; Monitor the identity code and output user judgment information based on the monitoring results.

2. The battery intelligent detection method of a battery swap cabinet according to claim 1 is characterized in that: The power exchange cabinet has a network communication function, and can upload usage record sheets and identification codes to the cloud, and can also download usage record sheets uploaded by other power exchange cabinets from the cloud based on the identification codes.

3. The battery intelligent detection method of a battery swap cabinet according to claim 2 is characterized in that: Setting an identification code for each battery and user, setting a usage record table for each battery, and updating the usage record table based on the user's battery replacement process includes: Set a unique identification code for each battery and a unique identity code for each user; Setting an associated usage record table for each battery, the usage record table including a usage count with an initial value of 0 and a first number of identity codes with an initial value of null and a number; It is stipulated that when users use a battery swap cabinet to swap batteries, the batteries placed in the cabinet are marked as recycled batteries, and the batteries taken out of the cabinet are marked as acquired batteries; When any battery is marked as an acquired battery, the usage record table associated with the acquired battery is updated; When the user performs a battery replacement, the user's identity code is obtained; The updating of the usage record table associated with obtaining the battery comprises: The number of times the battery is used is incremented by one, and the usage record table is updated based on the identity code.

4. The battery intelligent detection method of a battery swap cabinet according to claim 3 is characterized in that: Obtain the battery voltage, calculate and analyze the voltage, and output the maximum voltage based on the calculation and analysis results, including: Performing a full-power determination process, the full-power determination process comprising: The voltage of the battery is obtained once at each interval and marked as the real-time voltage; the voltage obtained before the first time is marked as the historical voltage; Calculate the difference between the real-time voltage and the historical voltage, and mark it as the changed voltage; When the changing voltage is less than or equal to the changing threshold, the real-time voltage is marked as the maximum voltage and the stop inspection information is output; when the changing voltage is greater than the changing threshold, the full power judgment process is repeated.

5. The battery intelligent detection method of a battery swap cabinet according to claim 4 is characterized in that: The maximum voltage is calculated and analyzed, and the battery is marked as an aged battery based on the calculation and analysis results, including: Calculate the ratio of the maximum voltage to the rated voltage and mark it as the intact rate; When the intact rate is less than the intact threshold, the battery is marked as an aged battery; when the intact rate is greater than or equal to the intact threshold, no processing is performed.

6. The battery intelligent detection method of a battery swap cabinet according to claim 5 is characterized in that: The number of times a plurality of aged batteries are used is obtained, the number of times is divided into a plurality of number intervals, a histogram is established based on the number intervals, the histogram is analyzed, and the expected number of times is output based on the analysis results, including: Get the usage count of all aging batteries in the cloud, and mark the maximum usage count as the maximum count; Marking the first zoom multiple of the maximum number as the division multiple; dividing the maximum number based on the division multiple to obtain a number interval whose number is the reciprocal of the first zoom multiple; Calculate the number of times used in each frequency interval and mark it as the interval value; A histogram is established with the horizontal axis being the endpoint value of the frequency interval and the vertical axis being the size of the interval value; A loop division process is performed, and an expected number is output based on the loop division process, wherein the expected number includes a minimum number and a high frequency number.

7. The battery intelligent detection method of a battery swap cabinet according to claim 6 is characterized in that: The loop division process includes a loop header, a first loop body, and a second loop body, wherein the loop header includes: Set the initial value of i to 1; The first loop body comprises: Calculate the partition line x, the partition line calculation expression is x=k×i, where k is the number of partitions; Calculate the sum of the interval values ​​on the left side of the dividing line in the histogram, marked as the first number; Calculate the ratio of the first number to the maximum number, and mark it as the probability of occurrence; When the occurrence probability is within the first probability interval, i is incremented by one and the first loop body is executed again; When the occurrence probability is not within the first probability interval, the value of x is marked as the minimum number, i is incremented by one, and the second loop body is executed; The second loop body comprises: Calculate the dividing line x; Calculate the sum of the interval values ​​on the left side of the dividing line in the histogram, marked as the second number; Calculate the ratio of the second number to the maximum number and mark it as the probability of occurrence; When the occurrence probability is within the second probability interval, the second loop body is executed again; When the occurrence probability is not within the second probability interval, the value of x is marked as a high frequency number, and the loop division process is terminated.

8. The battery intelligent detection method of a battery swap cabinet according to claim 7 is characterized in that: The number of times the aged battery is used is analyzed based on the expected number of times, and the number of times weight values ​​output based on the analysis results include: When any battery is marked as an aged battery, the number of times the aged battery is used is obtained and marked as the number of times analyzed; a usage record table of the aged battery is obtained, and an identity weight value having the same number as that of all identity codes in the usage record table is set; Set the initial value of the times weight value to 0 to compare the analysis times with the minimum times and the high frequency times; When the number of analyses is less than or equal to the minimum number, the number weight value is set to the first value; when the number of analyses is greater than the minimum number and less than the high-frequency number, the number weight value is set to the second value; when the number of analyses is greater than or equal to the high-frequency number, the number weight value is set to the third value.

9. The battery intelligent detection method of a battery swap cabinet according to claim 8 is characterized in that: The user judgment information includes user abnormal information and user risk information, the number of weight values ​​and the identity weight values ​​are calculated, and the identity code is marked based on the calculation results; Monitor the identity code and output user judgment information based on the monitoring results, including: Calculate the product of the number of times weight value and the identity weight value, and mark it as the risk judgment value; When the risk judgment value is less than the third value, no processing is performed; When the risk judgment value is less than the first value, the identity code is marked with the first risk label; when the risk judgment value is equal to the first value, the identity code is marked with the second risk label; when the risk judgment value is greater than the first value and less than the second value, the identity code is marked with the third risk label; when the risk judgment value is greater than the second value, no processing is performed; Monitor the marking of identity codes and delete them after the first day; When any identity code has both the first risk label and the second risk label, or the first risk label and the third risk label, or two first risk labels, output user abnormal information; When any identity code has both the second risk label and the third risk label or there are two second risk labels, output the user risk information; When the identity code contains other label combinations, no processing is performed.

10. A battery intelligent detection system for a battery swap cabinet, used to implement a battery intelligent detection method for a battery swap cabinet according to any one of claims 1 to 9, characterized in that: It includes an information management module, a battery analysis module and a user judgment module; the information management module is used to set an identification code for each battery and user, and the identification code includes an identification code and an identity code; a usage record table is set for each battery, and the usage record table is updated based on the user's battery replacement process; The battery analysis module is used to obtain the voltage of the battery, calculate and analyze the voltage, and output the maximum voltage based on the calculation and analysis results; Calculating and analyzing the maximum voltage, and marking the battery as an aged battery based on the calculation and analysis result; Obtain the usage times of multiple aged batteries, divide the usage times to obtain multiple time intervals, establish a histogram based on the time intervals, analyze the histogram, and output the expected times based on the analysis results; The user judgment module is used to analyze the usage record table of the aged battery based on the expected number of times, and output the number of times weight value and the identity weight value based on the analysis result; Calculate the number of times weight value and identity weight value, and mark the identity code based on the calculation results; Monitor the identity code and output user judgment information based on the monitoring results.