Battery state detection method and device, electronic equipment and storage medium thereof

By acquiring battery and environment information and using preset algorithms to deal with abnormal state thresholds, the problem of battery status detection in the prior art ignores environmental factors, and more accurate and efficient battery status detection is achieved.

CN118914847APending Publication Date: 2024-11-08ZHONGSHAN CHANGHONG ELECTRIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410844372.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The existing battery state detection methods ignore the impact of environmental factors on battery performance, cannot accurately reflect the actual state of the battery, and determine whether the battery is in an abnormal state through a fixed threshold, and cannot adapt to changes in battery state under different working environments and conditions.

Method used

By obtaining the current status information and environment information of the battery, using a preset algorithm to process the environment information and battery temperature data, determine the abnormal status threshold of the battery, and compare the battery status information with the threshold to determine the current status of the battery as abnormal or normal state . Optional steps include obtaining differential temperature data, weight ratio and current change, and detecting the current reset time in real time to adjust the state of the main control chip.

Benefits of technology

It improves the accuracy and efficiency of battery status detection, can detect it in combination with environmental changes, and adapts to battery status changes under different environmental conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118914847A_ABST
    Figure CN118914847A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a battery state detection method, and the method comprises the steps: obtaining the current feature information and environment information of a battery, and the feature information comprises battery voltage data, battery current data and battery temperature data; processing the environment information and the battery temperature data through a preset algorithm, and determining an abnormal state threshold value of the battery; and comparing the feature information with the abnormal state threshold, and determining whether the current state of the battery is an abnormal state or a normal state. According to the method, the state of the battery is detected, the abnormal state judgment threshold value of the battery can be set according to the change of the environment, so that the state of the battery can be detected in combination with the change of the environment, the accuracy of battery state detection is improved, and the efficiency of battery state detection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of battery management, and in particular to a battery status detection method, device, electronic equipment and storage medium thereof. Background Art

[0002] In modern electronic devices, batteries are the core power source, and their performance and safety are crucial to the stable operation of the equipment.

[0003] However, in the existing battery status detection technology, only the voltage or current data of the battery is often focused on, and a fixed threshold is set to determine whether the battery is in an abnormal state, while ignoring the impact of environmental factors on the battery status. Therefore, the existing battery status detection method has the problem of ignoring the impact of environmental factors on battery performance, failing to accurately reflect the actual state of the battery, and failing to adapt to the changes in battery status under different working environments and conditions by using a fixed threshold to determine whether the battery is in an abnormal state. Summary of the invention

[0004] The embodiment of the present invention provides a battery status detection method, which aims to solve the problem that the existing battery status detection method ignores the influence of environmental factors on battery performance, cannot accurately reflect the actual status of the battery, and cannot adapt to the changes in battery status under different working environments and conditions by judging whether the battery is in an abnormal state through a fixed threshold.

[0005] In a first aspect, an embodiment of the present invention provides a battery status detection method, the method comprising the following steps: Acquire current battery status information and environmental information, wherein the battery status information includes battery voltage data, battery current data, and battery temperature data; Processing the environmental information and the battery temperature data by a preset algorithm to determine an abnormal state threshold of the battery; The battery status information and the abnormal status threshold of the battery are compared to determine whether the current status of the battery is an abnormal status or a normal status.

[0006] Optionally, the environmental information includes environmental temperature data, and the processing of the environmental information and the battery temperature data by a preset algorithm to determine the abnormal state threshold of the battery includes: Acquire the current ambient temperature data and the current battery temperature data; Determining difference temperature data based on the current ambient temperature data and the current battery temperature data; The temperature difference data is processed by a preset algorithm to obtain an abnormal state threshold of the battery.

[0007] Optionally, determining the difference temperature data based on the current ambient temperature data and the current battery temperature data further includes: Based on a preset time interval, continuously detect the ambient temperature data and the battery temperature data, the ambient temperature data set and the battery temperature data set; Determining an amount of change in ambient temperature based on the ambient temperature data set; Determine a battery temperature change based on a battery temperature data set; The difference temperature data is determined by calculating and comparing the ambient temperature change and the battery temperature change.

[0008] Optionally, comparing the battery status information with an abnormal status threshold of the battery to determine whether the current status of the battery is an abnormal status or a normal status includes: Obtaining a battery status information weight ratio, where the battery status information weight ratio is used to illustrate the degree of influence on the battery status; Determining the weights of the battery voltage data, the battery current data, and the battery temperature data in the battery status information based on the battery status information weight ratio; determining a battery abnormality value based on the weights of the battery voltage data, the battery current data, and the battery temperature data; The battery abnormality value is compared with the abnormal state threshold of the battery to determine whether the current state of the battery is an abnormal state or a normal state.

[0009] Optionally, comparing the battery abnormality value with an abnormal state threshold of the battery to determine whether the current state of the battery is an abnormal state or a normal state includes: If the battery abnormality value is less than the abnormal state threshold of the battery, then the current state of the battery is judged to be a normal state; If the battery abnormality value is greater than or equal to the abnormal state threshold of the battery, it is determined that the current state of the battery is an abnormal state.

[0010] Optionally, if the battery abnormality value is greater than or equal to the abnormal state threshold of the battery, after determining that the current state of the battery is an abnormal state, the method further includes: By presetting the current change time interval, the current change amount is detected in real time to obtain the current change amount data; Determining a current reset time based on the current change data; The main control chip is reset according to the current reset time so that the main control chip is restarted.

[0011] In a second aspect, an embodiment of the present invention further provides a battery status detection device, the battery status detection device comprising: A first acquisition module, used to acquire current battery status information and environmental information, wherein the battery status information includes battery voltage data, battery current data and battery temperature data; A first determination module, configured to process the environmental information and the battery temperature data by a preset algorithm to determine an abnormal state threshold of the battery; The second determination module is used to compare the battery status information with the abnormal state threshold of the battery to determine whether the current state of the battery is an abnormal state or a normal state.

[0012] In a third aspect, an embodiment of the present invention further provides another battery status detection device, wherein the first determination module includes: A first acquisition submodule, used to acquire the current ambient temperature data and the current battery temperature data; A first determining submodule, configured to determine difference temperature data based on the current ambient temperature data and the current battery temperature data; The second determination submodule is used to process the difference temperature data through a preset algorithm to obtain an abnormal state threshold of the battery.

[0013] In a fourth aspect, an embodiment of the present invention provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the battery status detection method provided in the embodiment of the present invention when executing the computer program.

[0014] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the battery status detection method provided in the embodiment of the invention are implemented.

[0015] In an embodiment of the present invention, the current characteristic information and environmental information of the battery are obtained, and the characteristic information includes battery voltage data, battery current data, and battery temperature data; the environmental information and the battery temperature data are processed by a preset algorithm to determine the abnormal state threshold of the battery; the characteristic information and the abnormal state threshold are compared to determine whether the current state of the battery is an abnormal state or a normal state. By obtaining the environmental information of the battery and the characteristic information of the battery, and processing the battery temperature and environmental information by a preset algorithm, the abnormal state threshold of the battery in the current environment is determined, and then the state of the battery is judged according to the abnormal state threshold, so that the state of the battery can be detected in combination with environmental changes, thereby improving the accuracy of battery state detection and improving the efficiency of battery state detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 is a flow chart of a battery status detection method provided by an embodiment of the present invention; Figure 2 is a structural schematic diagram of a battery status detection device provided in an embodiment of the present invention; Figure 3 is a structural schematic diagram of another battery status detection device provided in an embodiment of the present invention; Figure 4 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0018] 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.

[0019] like Figure 1 As shown, Figure 1 : is a flow chart of a battery status detection method provided by an embodiment of the present invention, the battery status detection method comprising the steps of: 101. Obtain current characteristic information and environmental information of the battery.

[0020] In an embodiment of the present invention, the above-mentioned battery status detection method can be applied to a battery status detection platform. The above-mentioned battery status detection platform has functions such as battery characteristic information acquisition, battery characteristic information processing and battery characteristic information storage, and can be constructed based on a server or a server cluster. The above-mentioned server or server cluster can be an electronic device with battery status detection and processing capabilities.

[0021] The characteristic information of the battery may include but is not limited to battery voltage data, battery current data and battery temperature data. It is understandable that the content of the characteristic information of the battery may be different for different types of batteries. For example, when the battery is a rechargeable battery, in the process of obtaining the characteristic information of the battery, the battery status detection platform also needs to obtain the charging performance of the battery through the main control chip, including but not limited to the number of charge and discharge times, battery capacity and charge and discharge efficiency.

[0022] Specifically, the above-mentioned main control chip can be composed of multiple battery detection chips, which may include but are not limited to functional chips such as environmental information detection chips, power statistics chips, single cell voltage detection chips and protection chips. It should be noted that in this embodiment, the selection of the above-mentioned main control chip can be determined according to different application scenarios or requirements through a combination of different types and quantities of battery detection chips.

[0023] In a possible embodiment, the battery status detection platform detects and acquires the battery status information through a built-in digital-to-analog converter of the main control chip, and uploads the battery status information to a database of the battery status detection platform.

[0024] 102. Process the environmental information and battery temperature data through a preset algorithm to determine an abnormal state threshold of the battery.

[0025] In an embodiment of the present invention, the preset algorithm may include but is not limited to a temperature threshold calculation algorithm, a temperature curve analysis algorithm, a temperature compensation algorithm, and other algorithms that can process and calculate temperature. Specifically, the preset algorithm can process and calculate the battery temperature and the ambient temperature obtained by the battery status detection platform, so as to obtain the abnormal state threshold of the battery under the current ambient temperature.

[0026] It is understandable that the abnormal state threshold of the battery can be used to determine whether the current state of the battery is normal. Generally speaking, environmental factors have a certain impact on the state of the battery. For example, too high or too low temperature can cause changes in the chemical substances inside the battery, increase the internal resistance of the battery, and cause the voltage to rise. Therefore, in this embodiment, the abnormal state threshold can be adjusted and determined according to the current environmental factors of the battery and the specific implementation plan.

[0027] Furthermore, the above abnormal state threshold can be integrated and calculated based on the influence of each factor on the battery temperature in the environmental information to obtain a specific value or range, and then the abnormal state threshold is determined based on the value or range. Generally speaking, the influence of each factor on the battery is different, so the above preset algorithm can calculate the abnormal state threshold that meets the current environment based on the different influences of different environmental factors on the battery.

[0028] The above environmental information may include but is not limited to environmental temperature data, environmental humidity data, and environmental pressure data, etc. The data in the above environmental information will affect the internal chemical substances of the battery, thereby changing the internal resistance of the battery, and ultimately causing the voltage or current of the battery to change. It should be noted that the above voltage or current changes are normal under the influence of certain environmental information. Therefore, it is necessary to determine the abnormal state threshold of the corresponding environmental information based on the current environmental information of the battery, so as to determine whether the battery is in an abnormal state, thereby improving the accuracy of battery status detection.

[0029] In a possible embodiment, the battery status detection platform processes the acquired environmental information and battery temperature data through a preset algorithm in an auxiliary main control chip to obtain an abnormal status threshold that can be used to determine whether the battery status in the current battery environment is in an abnormal state.

[0030] 103. Compare the characteristic information and the abnormal state threshold of the battery to determine whether the current state of the battery is an abnormal state or a normal state.

[0031] In the embodiment of the present invention, since the above abnormal state threshold needs to be determined according to the environmental information of the battery, there may be a situation where the characteristic information of the battery is consistent, but the current state of the battery is different due to the battery being in different environments. For example, under normal atmospheric pressure conditions, a battery at a temperature of 25 degrees Celsius is in a normal state, but when the battery is in a high-voltage and high-temperature environment, the battery reaching a temperature of 25 degrees Celsius may be in an abnormal state of high voltage.

[0032] In a possible embodiment, the battery status detection platform determines the current status attribute of the battery by comparing the characteristic information with an abnormal status threshold obtained according to current environmental information.

[0033] In an embodiment of the present invention, the current characteristic information and environmental information of the battery are obtained, and the characteristic information includes battery voltage data, battery current data, and battery temperature data; the environmental information and the battery temperature data are processed by a preset algorithm to determine the abnormal state threshold of the battery; the characteristic information and the abnormal state threshold are compared to determine whether the current state of the battery is an abnormal state or a normal state. By obtaining the environmental information of the battery and the characteristic information of the battery, and processing the battery temperature and environmental information by a preset algorithm, the abnormal state threshold of the battery in the current environment is determined, and then the state of the battery is judged according to the abnormal state threshold, so that the state of the battery can be detected in combination with environmental changes, thereby improving the accuracy of battery state detection and improving the efficiency of battery state detection.

[0034] Optionally, in the step of processing the environmental information and battery temperature data through a preset algorithm to determine the abnormal state threshold of the battery, the current environmental temperature data and the current battery temperature data can also be obtained, and then based on the current environmental temperature data and the current battery temperature data, the difference temperature data can be determined, and finally based on the difference temperature data, the abnormal state threshold of the battery can be determined according to the preset algorithm.

[0035] In an embodiment of the present invention, the current ambient temperature data may be obtained by acquiring the ambient temperature of the current battery through the battery status detection platform. Generally speaking, the temperature near the battery may be detected using a temperature sensor attached to the battery status detection platform, such as a thermistor, a temperature differential capacitor, and other devices. Specifically, due to the thermal radiation effect, a non-contact sensor may also be used to acquire ambient temperature data when detecting the ambient temperature.

[0036] The above current battery temperature data can be acquired by real-time detection of the battery temperature data through the main control chip attached to the above battery status detection platform.

[0037] The above-mentioned difference temperature data can be the difference between the above-mentioned ambient temperature data and the battery temperature data at the same time. It is understandable that, since the ambient temperature data has a certain influence on the battery temperature data, the larger the above-mentioned difference temperature data is, the smaller the influence of the ambient temperature data on the battery temperature data is, and the greater the influence of its own properties on the temperature is. For example, when the outside temperature is low and the battery is in a high temperature state, it may be explained that the battery is in a high-voltage state, that is, in an abnormal state. It is understandable that the above-mentioned difference temperature data can be used as a basis for the influence of the ambient temperature data on the battery temperature data.

[0038] The above processing of the difference temperature data may be to calculate the difference temperature data at different moments, such as taking an average, so as to obtain an abnormal state threshold with a stable output basis.

[0039] In a possible embodiment, the battery status detection platform calculates the difference between the current ambient temperature data and the current battery temperature data to obtain differential temperature data, and then performs time-based analysis on the differential temperature data to calculate the abnormal status threshold of the battery.

[0040] Optionally, in the step of determining the difference temperature data based on the current ambient temperature data and the current battery temperature data, the ambient temperature data and the battery temperature data can also be continuously detected based on a preset time interval to obtain an ambient temperature data set and a battery temperature data set, and then the ambient temperature change is determined based on the ambient temperature data set, and then the battery temperature change is determined based on the battery temperature data set, and finally the difference temperature data is determined by calculating and comparing the ambient temperature change and the battery temperature change.

[0041] In an embodiment of the present invention, the preset time interval can be determined by the change in ambient temperature. Specifically, since the ambient temperature changes during the day are differentiated, for example, the temperature change difference between the morning and the evening is the largest, and the temperature change is also related to the geological data in the environmental information, for example, the temperature change difference in areas with different longitudes and latitudes is also different. Therefore, the preset time interval can be determined based on the temperature change difference at different times in different regions. The preset time interval is used to detect the ambient temperature data and the battery temperature data in a time period with a small temperature change difference, to ensure that the acquired temperature data has the smallest fluctuation within a certain time period, so that the acquired data is more accurate and has reference value.

[0042] The above-mentioned ambient temperature data set may be the ambient temperature data corresponding to multiple different moments acquired by detecting the ambient temperature at the above-mentioned preset time interval.

[0043] Similarly, the battery temperature data set may also be battery temperature data corresponding to multiple different moments acquired by detecting the ambient temperature at the preset time intervals.

[0044] It is understandable that the above-mentioned ambient temperature data set and the battery temperature data set have differences in the time points of collection. Since the temperature change difference of the battery will not have obvious differences and fluctuations within a day, the preset time interval of the battery can be continuous, while there may be moments with obvious differences and fluctuations in the ambient temperature data set. Therefore, in a possible embodiment, the above-mentioned battery status detection platform will eliminate the recording moments of the above-mentioned ambient temperature data with obvious differences and fluctuations, and will also eliminate the recording moments of the battery temperature data at the corresponding moments, so as to ensure that the temperature corresponding to the moment in the ambient temperature data set and the temperature corresponding to the moment in the battery temperature data set can be compared and calculated.

[0045] The above-mentioned amount of change in ambient temperature may be a value that can be used to measure the change in ambient temperature, obtained by calculating the above-mentioned ambient temperature data set, such as taking an average or calculating a fluctuation curve.

[0046] Similarly, the battery temperature variation may be a value that can be used to measure the battery temperature variation, obtained by calculating the battery temperature data set, such as taking an average or calculating a fluctuation curve.

[0047] In a possible embodiment, the battery status detection platform performs real-time detection of the ambient temperature of the battery and the temperature of the battery itself at preset time intervals, and obtains an ambient temperature data set and a battery temperature data set by eliminating moments of obvious differences and fluctuations, and calculates and processes the temperature data in the ambient temperature data set and the battery temperature data set respectively to obtain the ambient temperature change and the battery temperature change, and determines the final difference temperature data by comparing and calculating the changes of the two.

[0048] Specifically, the temperature difference data may be obtained by performing a difference calculation between the ambient temperature change and the battery temperature change.

[0049] Optionally, in the step of comparing the characteristic information and the abnormal state threshold of the battery to determine whether the current state of the battery is an abnormal state or a normal state, the weight ratio of the battery characteristic information can also be obtained, and then based on the weight ratio of the battery characteristic information, the weights corresponding to the battery voltage data, the battery current data and the battery temperature data are determined, and then based on the current battery voltage data, battery current data and battery temperature data, and the weights corresponding to the battery voltage data, battery current data and battery temperature data, the battery abnormal value is determined, and finally the battery abnormal value is compared with the abnormal state threshold of the battery to determine whether the current state of the battery is an abnormal state or a normal state.

[0050] In an embodiment of the present invention, the above-mentioned battery status information weight ratio can be used to illustrate the degree of influence on the battery status, wherein, for the influence on battery status detection, generally speaking, the voltage and current have the greatest influence. Therefore, the battery status information weight ratio of the current battery can be obtained through the above-mentioned battery status detection platform. The above-mentioned weight ratio can also be determined according to the degree of influence considered during battery design. For example, if the change in battery voltage data has a greater impact on the detection of battery status, then when calculating the abnormal value of battery voltage data, it is possible to consider increasing the weight value of voltage change detection.

[0051] The above-mentioned battery abnormal value can be obtained by calculating various data in the battery status information to obtain a value used to describe the current state of the battery. Generally speaking, in the calculation of the battery abnormal value, it is necessary to consider the influence of various data in the battery status information on the battery status. For example, when it is detected that the battery capacity does not meet the original 100% capacity, and the battery capacity may account for 30% of the calculation of the battery abnormal value, then when calculating the above-mentioned battery abnormal value, it is necessary to consider the 30% proportion of the battery capacity and the current battery capacity value.

[0052] In a possible embodiment, the battery status detection platform calculates the weight ratio of various data in the battery status information to obtain the weight of each data corresponding to the impact on the battery status, calculates the final battery difference value according to the various data in the battery status information and the corresponding weights, and then compares the battery difference value with the abnormal status threshold to determine whether the current battery is in an abnormal state or a normal state.

[0053] Optionally, in the step of comparing the battery abnormality value with the battery abnormal state threshold to determine whether the current state of the battery is an abnormal state or a normal state, if the battery abnormality value is less than the battery abnormal state threshold, the current state of the battery is judged to be a normal state; if the battery abnormality value is greater than or equal to the battery abnormal state threshold, the current state of the battery is judged to be an abnormal state.

[0054] In an embodiment of the present invention, in the process of comparing the current battery abnormality value of the above-mentioned battery with the current abnormal state threshold, the current abnormal state threshold can also be changed according to the influence of the current environmental information on the battery state information, for example, the influence of the ambient temperature on the battery voltage and the acquisition detection influence. It should be noted that in the process of changing the abnormal state threshold, the current battery abnormal value of the battery can also be changed, so as to ensure that the replaced abnormal state threshold and the battery abnormal value are under the influence of the same environmental factors.

[0055] In a possible embodiment, the battery status detection platform compares the current battery abnormality value with the current abnormal status threshold. If the battery abnormality value is less than the battery abnormal status threshold, the current state of the battery is judged to be normal. Then, no subsequent operation will be performed, but the battery status information and environmental information will continue to be detected and acquired. If the battery abnormality value is greater than or equal to the battery abnormal status threshold, the current state of the battery is judged to be abnormal. At this time, an instruction will be sent to the main control chip through the battery status detection platform, so that the main control chip controls the battery output and puts the battery in low power consumption mode.

[0056] Optionally, when the battery abnormality value is greater than or equal to the abnormal state threshold of the battery, in the step after judging that the current state of the battery is an abnormal state, the main control chip can also be controlled to enter a low power consumption mode, and then the current change amount is detected in real time through a preset current change time interval to obtain the current change amount data, and then the current reset time is determined based on the current change amount data, and finally the main control chip is reset according to the current reset time, so that the main control chip exits the low power consumption mode.

[0057] In an embodiment of the present invention, the above-mentioned preset current change time interval can be determined according to the reset time interval of the main control chip. Generally speaking, due to the delay property of the hardware chip, there may be a situation in which the potential does not change basically during the instantaneous power-on process, resulting in the inability to reset the chip, that is, there is no obvious process of current disconnection and reconnection. When the battery is in a normal state, the above-mentioned current may not have an obvious process of disconnection and reconnection due to factors such as pulses.

[0058] Specifically, the above-mentioned current change time interval may be the time interval when the current changes, that is, the moment after the potential changes and returns to normal.

[0059] The above-mentioned current change amount can also be determined according to the above-mentioned preset current change time interval. When the time interval is smaller, the current change is less obvious.

[0060] The above current reset time can be used as a basis for resetting the main control chip. That is, when there is an obvious current change, it can be explained that the main control chip has an obvious disconnection to reconnection process, thereby completing the reset operation.

[0061] In a possible embodiment, the battery status detection platform compares the current reset moment with the time when the current is disconnected and reconnected, and determines whether the main control chip has completed the reset operation through the comparison result. If the current reset moment is greater than the time when the current is disconnected and reconnected, it means that the main control chip has an obvious process from disconnection to reconnection, thereby determining that the main control chip has completed the reset operation. If the current reset moment is less than or equal to the time when the current is disconnected and reconnected, it means that the main control chip does not have an obvious process from disconnection to reconnection, thereby determining that the main control chip cannot complete the reset operation.

[0062] like Figure 2 As shown, an embodiment of the present invention further provides a battery status detection device, the battery status detection device comprising: A first acquisition module 201 is used to acquire current characteristic information and environmental information of the battery, wherein the characteristic information includes battery voltage data, battery current data and battery temperature data; A first determination module 202, configured to process the environmental information and the battery temperature data by a preset algorithm to determine an abnormal state threshold of the battery; The second determination module 203 is used to compare the characteristic information with the abnormal state threshold to determine whether the current state of the battery is an abnormal state or a normal state.

[0063] Optionally, the first determining module 202 includes: The first acquisition submodule 301 is used to acquire the current ambient temperature data and the current battery temperature data; A first determining submodule 302, configured to determine difference temperature data based on the current ambient temperature data and the current battery temperature data; The second determination submodule 303 is configured to determine an abnormal state threshold of the battery based on the difference temperature data and according to a preset algorithm.

[0064] Optionally, the first determining submodule 302 includes: A first detection unit, configured to continuously detect the ambient temperature data and the battery temperature data based on a preset time interval to obtain an ambient temperature data set and a battery temperature data set; A first determining unit, configured to determine an amount of change in the ambient temperature based on the ambient temperature data set; A second determining unit, configured to determine a battery temperature variation based on the battery temperature data set; The third determining unit is used to determine the difference temperature data by calculating and comparing the ambient temperature change amount and the battery temperature change amount.

[0065] Optionally, the second determining module 203 includes: A second acquisition submodule is used to acquire a weight ratio of battery characteristic information, where the weight ratio of the battery characteristic information is used to reflect the influence of the battery characteristic information on the battery state; A third determination submodule, configured to determine weights corresponding to battery voltage data, battery current data, and battery temperature data based on a weight ratio of the battery characteristic information; a fourth determination submodule, configured to determine a battery abnormality value based on current battery voltage data, battery current data, and battery temperature data, and weights corresponding to the battery voltage data, battery current data, and battery temperature data; The fifth determination submodule is used to compare the battery abnormality value with the abnormal state threshold of the battery to determine whether the current state of the battery is an abnormal state or a normal state.

[0066] Optionally, the fifth determining submodule includes: A first judging unit, configured to judge that the current state of the battery is a normal state if the battery abnormality value is less than an abnormal state threshold of the battery; The second judgment unit is configured to judge that the current state of the battery is an abnormal state if the battery abnormal value is greater than or equal to an abnormal state threshold of the battery.

[0067] Optionally, the above device further comprises: Chip module, used to control the main control chip to enter low power consumption mode; The first detection module is used to detect the current change amount in real time according to the preset current change time interval to obtain the current change amount data; A third determination module, configured to determine a current reset time based on the current variation data; The reset module is used to reset the main control chip according to the current reset time so that the main control chip exits the low power consumption mode.

[0068] like Figure 4 As shown, an embodiment of the present invention further provides an electronic device, including a processor, and the processor can execute any one of the above-mentioned battery status detection methods.

[0069] Specifically, it includes a processor 401 and a memory 402, and a computer program for executing a battery status detection method that is stored in the memory 402 and can be run on the processor 401, wherein: The processor 401 runs the computer program of the battery status detection method stored in the memory 402 to perform the following steps: Acquire current characteristic information and environmental information of the battery, wherein the characteristic information includes battery voltage data, battery current data, and battery temperature data; Processing the environmental information and the battery temperature data by a preset algorithm to determine an abnormal state threshold of the battery; The characteristic information and the abnormal state threshold are compared to determine whether the current state of the battery is an abnormal state or a normal state.

[0070] Optionally, the processor 401 executes the step that the environmental information includes environmental temperature data, and the step of processing the environmental information and the battery temperature data by a preset algorithm to determine the abnormal state threshold of the battery includes: Acquire the current ambient temperature data and the current battery temperature data; Determining difference temperature data based on the current ambient temperature data and the current battery temperature data; Based on the difference temperature data, an abnormal state threshold of the battery is determined according to a preset algorithm.

[0071] Optionally, the processor 401 performs the step of determining the difference temperature data based on the current ambient temperature data and the current battery temperature data, further comprising: Based on a preset time interval, the ambient temperature data and the battery temperature data are continuously detected to obtain an ambient temperature data set and a battery temperature data set; Determining an amount of change in ambient temperature based on the ambient temperature data set; Determine a battery temperature change based on a battery temperature data set; The difference temperature data is determined by calculating and comparing the ambient temperature change and the battery temperature change.

[0072] Optionally, the processor 401 performs the step of comparing the characteristic information with the abnormal state threshold of the battery to determine whether the current state of the battery is an abnormal state or a normal state, including: Obtaining a weight ratio of battery characteristic information, where the weight ratio of the battery characteristic information is used to reflect the degree of influence of the battery characteristic information on the battery state; Determining weights corresponding to battery voltage data, battery current data, and battery temperature data based on a weight ratio of the battery characteristic information; Determine a battery abnormal value based on current battery voltage data, battery current data and battery temperature data, and weights corresponding to the battery voltage data, battery current data and battery temperature data; The battery abnormality value is compared with the abnormal state threshold of the battery to determine whether the current state of the battery is an abnormal state or a normal state.

[0073] Optionally, the processor 401 performs the step of comparing the battery abnormality value with the abnormal state threshold of the battery to determine whether the current state of the battery is an abnormal state or a normal state, including: If the battery abnormality value is less than the abnormal state threshold of the battery, then the current state of the battery is judged to be a normal state; If the battery abnormality value is greater than or equal to the abnormal state threshold of the battery, it is determined that the current state of the battery is an abnormal state.

[0074] Optionally, the processor 401 further executes the step after determining that the current state of the battery is an abnormal state if the battery abnormal value is greater than or equal to the abnormal state threshold of the battery, and the method further includes: Control the main control chip to enter low power consumption mode; By presetting the current change time interval, the current change amount is detected in real time to obtain the current change amount data; Determining a current reset time based on the current change data; The main control chip is reset according to the current reset time, so that the main control chip exits the low power consumption mode.

[0075] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the battery status detection method or the application-side battery status detection method provided in the embodiment of the present invention are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0076] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0077] The above disclosure is only the preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. A battery status detection method, characterized in that: The method comprises the following steps: Acquire current characteristic information and environmental information of the battery, wherein the characteristic information includes battery voltage data, battery current data, and battery temperature data; Processing the environmental information and the battery temperature data by a preset algorithm to determine an abnormal state threshold of the battery; The characteristic information and the abnormal state threshold are compared to determine whether the current state of the battery is an abnormal state or a normal state.

2. The battery status detection method according to claim 1, characterized in that: The environmental information includes environmental temperature data, and the environmental information and the battery temperature data are processed by a preset algorithm to determine the abnormal state threshold of the battery, including: Acquire the current ambient temperature data and the current battery temperature data; Determining difference temperature data based on the current ambient temperature data and the current battery temperature data; Based on the difference temperature data, an abnormal state threshold of the battery is determined according to a preset algorithm.

3. The battery status detection method according to claim 2, characterized in that: The determining of the difference temperature data based on the current ambient temperature data and the current battery temperature data further includes: Based on a preset time interval, the ambient temperature data and the battery temperature data are continuously detected to obtain an ambient temperature data set and a battery temperature data set; Determining an amount of change in ambient temperature based on the ambient temperature data set; Determine a battery temperature change based on a battery temperature data set; The difference temperature data is determined by calculating and comparing the ambient temperature change and the battery temperature change.

4. The battery status detection method according to claim 1, characterized in that: The comparing the characteristic information with the abnormal state threshold to determine whether the current state of the battery is an abnormal state or a normal state includes: Obtaining a weight ratio of battery characteristic information, where the weight ratio of the battery characteristic information is used to reflect the degree of influence of the battery characteristic information on the battery state; Determining weights corresponding to battery voltage data, battery current data, and battery temperature data based on a weight ratio of the battery characteristic information; Determine a battery abnormal value based on current battery voltage data, battery current data and battery temperature data, and weights corresponding to the battery voltage data, battery current data and battery temperature data; The battery abnormality value is compared with the abnormal state threshold of the battery to determine whether the current state of the battery is an abnormal state or a normal state.

5. The battery status detection method according to claim 4, characterized in that: The comparing the battery abnormal value with the abnormal state threshold of the battery to determine whether the current state of the battery is an abnormal state or a normal state includes: If the battery abnormality value is less than the abnormal state threshold of the battery, then the current state of the battery is judged to be a normal state; If the battery abnormality value is greater than or equal to the abnormal state threshold of the battery, it is determined that the current state of the battery is an abnormal state.

6. The battery status detection method according to claim 5, characterized in that: If the battery abnormality value is greater than or equal to the abnormal state threshold of the battery, after determining that the current state of the battery is an abnormal state, the method further includes: Control the main control chip to enter low power consumption mode; By presetting the current change time interval, the current change amount is detected in real time to obtain the current change amount data; Determining a current reset time based on the current change data; The main control chip is reset according to the current reset time, so that the main control chip exits the low power consumption mode.

7. A battery status detection device, characterized in that: The battery status detection device comprises: A first acquisition module, used to acquire current battery status information and environmental information, wherein the battery status information includes battery voltage data, battery current data and battery temperature data; A first determination module, configured to process the environmental information and the battery temperature data by a preset algorithm to determine an abnormal state threshold of the battery; The second determination module is used to compare the battery status information with the abnormal state threshold of the battery to determine whether the current state of the battery is an abnormal state or a normal state.

8. The battery status detection device according to claim 7, characterized in that: The first determining module includes: A first acquisition submodule, used to acquire the current ambient temperature data and the current battery temperature data; A first determining submodule, configured to determine difference temperature data based on the current ambient temperature data and the current battery temperature data; The second determination submodule is used to process the difference temperature data through a preset algorithm to obtain an abnormal state threshold of the battery.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the battery status detection method according to any one of claims 1 to 6 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the battery status detection method according to any one of claims 1 to 6 are implemented.