A method, device and storage medium for determining battery health
The actual power consumption and state of charge difference of the electric bicycle battery are obtained through wireless charging, and the power consumption of the battery when it is completely healthy is estimated, which solves the problems of low efficiency and high cost of battery health measurement in the prior art, and achieves an efficient and low-cost battery health assessment.
Patent Information
- Application Number
- CN202510001598.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2045-01-02
AI Technical Summary
In the prior art, the efficiency of measuring the health of electric bicycle batteries is not high, and the labor cost or hardware cost is high.
Through wireless charging, the actual power consumption of the electric bicycle battery in the target time period is obtained, and combined with information such as the difference in charge status, the power consumption of the battery when it is completely healthy is estimated, thereby determining the health of the battery.
Improves the efficiency of battery health measurement of electric bicycles, reduces labor and hardware costs, and avoids the risk of overdischarge of batteries.
Smart Images

Figure CN119395587B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of battery detection technology, and in particular to a method, device and storage medium for determining battery health. Background Art
[0002] Electric bicycles are widely used as an efficient and environmentally friendly means of transportation. As one of the core components of electric bicycles, the health of the battery has a crucial impact on the overall riding experience and safety. The decline in the health of the battery of an electric bicycle may lead to a reduction in driving range and even cause safety hazards of the battery, such as overheating, expansion or short circuit. Therefore, it is very important to measure the health of the battery in the electric bicycle.
[0003] Traditional battery monitoring methods for electric bicycles include monitoring the working status of the battery through voltage, current and temperature sensors. However, this method can only provide real-time working data and cannot accurately reflect the health of the battery. A common method for measuring battery health is to measure the health of the battery by discharging it from a fully charged state. This method usually involves fully charging the battery first to ensure that the battery is fully charged; connecting the fully charged battery to a load device to start the discharge process until the battery is completely discharged; during the discharge process, monitoring battery parameters to evaluate the health of the battery. However, the battery of an electric bicycle can only be discharged by riding or by taking out the battery of the electric bicycle and discharging it using a special discharge device. On the one hand, the long discharge time leads to low efficiency in measuring the health of the battery. On the other hand, during the discharge process of an electric bicycle, it is necessary to arrange for human riding discharge or use discharge equipment, resulting in high human or hardware costs for measuring the health of the battery.
[0004] Therefore, there are problems in the related art such as low efficiency in measuring the health of electric bicycle batteries and high labor costs or hardware costs in the process of measuring the health of electric bicycle batteries. Summary of the invention
[0005] The problem solved by the present invention is how to improve the measurement efficiency of the health of an electric bicycle battery and reduce the manpower cost or hardware cost of measuring the health of an electric bicycle battery.
[0006] In order to solve the above problems, the present invention provides a method, device and storage medium for determining battery health.
[0007] In a first aspect, the present invention provides a method for determining battery health, which is applied to detecting the health of a target battery of an electric bicycle and includes:
[0008] Acquire the actual power consumption when the power supply device wirelessly charges the target battery in the electric bicycle within the target time period to obtain a first power consumption, wherein the start time of the target time period is the time when the power supply device starts charging the target battery, and the end time of the target time period is the time when the power supply device ends charging the target battery;
[0009] Acquire a first state of charge of the target battery at the start time and a second state of charge at the end time;
[0010] Determine the power consumption of the power supply device when the target battery is fully healthy and charged from the first state of charge to the second state of charge to obtain a second power consumption.
[0011] Optionally, the determining the power consumption of the power supply device when the target battery is charged from the first state of charge to the second state of charge when the target battery is in full health to obtain the second power consumption includes:
[0012] Acquire charging data within the target time period, and determine battery characteristics of the target battery based on the charging data, wherein the battery characteristics include a rated battery capacity and a rated voltage of the target battery;
[0013] The second power consumption is determined according to the rated battery capacity, the rated voltage, the first state of charge, and the second state of charge.
[0014] Optionally, determining the second power consumption according to the rated battery capacity, the rated voltage, the first state of charge, and the second state of charge includes:
[0015] determining a difference between the first state of charge and the second state of charge to obtain a first difference;
[0016] The product of the first difference, the rated battery capacity, the rated voltage and a preset value is determined as the second power consumption.
[0017] Optionally, determining the battery characteristics of the target battery based on the charging data includes:
[0018] Acquire a current curve in the charging data, wherein the current curve represents a relationship between a charging current and time of the target battery within the target time period;
[0019] Determine the charging current of the target battery in a constant current charging state according to the current curve to obtain a constant current charging current;
[0020] The rated battery capacity of the target battery is determined according to the constant-current charging current.
[0021] Optionally, determining the rated battery capacity of the target battery according to the constant current charging current includes:
[0022] When the constant current charging current is less than a preset threshold, determining that the target battery is a lead-acid battery;
[0023] Obtaining a charging rate of the lead-acid battery;
[0024] The rated battery capacity is determined according to the charging rate and the constant current charging current.
[0025] Optionally, determining the rated battery capacity according to the charging rate and the constant current charging current includes:
[0026] The ratio of the constant current charging current to the charging rate is determined as the rated battery capacity.
[0027] Optionally, determining the battery characteristics of the target battery based on the charging data includes:
[0028] Determine the cut-off voltage of the target battery when charging is completed according to the charging data;
[0029] The rated voltage of the target battery is determined according to the cut-off voltage.
[0030] Optionally, obtaining the first state of charge of the target battery at the starting moment includes: collecting the current value of the target battery at preset time intervals from the starting moment to obtain a current signal, wherein the current signal includes N collected current values, N is a preset value, and N is greater than 1; performing length padding on the current signal to obtain a first signal; decomposing the first signal into an even part and an odd part to obtain an even index and an odd index; recursively transforming the current values corresponding to the even index and the odd index respectively to obtain a first transformation result and a second transformation result; merging the first transformation result and the second transformation result to obtain a transformation result, and determining the frequency domain signal of the current signal according to the transformation result and the rotation factor, the frequency domain signal representing the AC component characteristics of the current signal; inputting the frequency domain signal into a target model, and outputting the first state of charge according to the frequency domain signal through the target model, wherein the target model is obtained by learning the correlation between the AC component characteristics of the current and the battery state of charge through a training set.
[0031] In a second aspect, the present invention provides a battery health determination device, comprising:
[0032] A first acquisition module is used to acquire the actual power consumption when the power supply device wirelessly charges the target battery in the electric bicycle within the target time period to obtain a first power consumption, wherein the start time of the target time period is the time when the power supply device starts charging the target battery, and the end time of the target time period is the time when the power supply device ends charging the target battery;
[0033] A second acquisition module, used for acquiring a first state of charge of the target battery at the start time and a second state of charge at the end time;
[0034] A first determination module is used to determine the power consumption of the power supply device when the target battery is charged from the first state of charge to the second state of charge when the target battery is in full health;
[0035] The second determining module is used to determine the health of the target battery according to the first power consumption and the second power consumption.
[0036] In a third aspect, the present invention provides an electronic device, including a memory and a processor;
[0037] The memory is used to store computer programs;
[0038] The processor is used to implement the battery health determination method as described in the first aspect when executing the computer program.
[0039] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the battery health determination method as described in the first aspect is implemented.
[0040] The battery health determination method, device and storage medium of the present invention have the following beneficial effects: an electric bicycle is charged by wireless charging, that is, a target battery in the electric bicycle is charged using a power supply device within a target time period. During the charging process, the power consumed by the power supply device is a first power consumption, and the target battery changes from a first state of charge at the start time to a second state of charge at the end time. It is estimated that the power consumption required by the power supply device when the target battery is charged from the first state of charge to the second state of charge using the charging device in full health is the second power consumption. The health of the current target battery can be determined based on the first power consumption and the second power consumption. Compared with the method of measuring the health of the battery by discharging from a fully charged state in the related art, the health of the target battery can be completed by only charging the target battery in the present invention. The target battery does not need to be fully charged to discharge the battery of the electric bicycle, and the charging time of the battery is much shorter than the discharging time of the battery, which shortens the measurement time of the health of the electric bicycle battery and improves the measurement efficiency of the health of the electric bicycle. At the same time, no special discharge equipment is required for discharge, and no human riding discharge is required, which reduces the human cost and hardware cost of measuring the health of the electric bicycle battery. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A flowchart of a method for determining battery health according to an embodiment of the present invention;
[0042] Figure 2 A schematic diagram of a flow chart of determining a second power consumption according to an embodiment of the present invention;
[0043] Figure 3 A schematic diagram of a process for determining battery characteristics according to an embodiment of the present invention;
[0044] Figure 4 A schematic diagram of a charging current curve according to an embodiment of the present invention;
[0045] Figure 5 A schematic diagram of the structure of a device for determining battery health according to an embodiment of the present invention;
[0046] Figure 6 The figure is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0047] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.
[0048] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.
[0049] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to"; the term "based on" means "based at least in part on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0050] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0051] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.
[0052] This embodiment provides a method, device and storage medium for determining battery health.
[0053] like Figure 1 As shown, a battery health determination method provided by an embodiment of the present invention is applied to detect the health of a target battery of an electric bicycle, comprising:
[0054] S100, obtaining the actual power consumption when the power supply device wirelessly charges the target battery in the electric bicycle within the target time period, and obtaining a first power consumption, wherein the start time of the target time period is the time when the power supply device starts charging the target battery, and the end time of the target time period is the time when the power supply device ends charging the target battery.
[0055] Specifically, the target battery is charged by the power supply device within the target time period, and the target time period is from the moment when the power supply device starts charging the target battery (starting moment) to the moment when the power supply device ends charging the target battery. The power supply device is a wireless power supply device, which transmits electric energy to the battery by wireless transmission. The actual power consumption of the power supply device within the target time period is the power charged into the target battery.
[0056] The target battery is a battery of an electric bicycle, which provides a power source for the electric bicycle.
[0057] It should be noted that there is a wireless sensing area in the power supply device, and a transmitter is installed in the wireless sensing area for charging the electric bicycle. A receiving end is installed in the electric bicycle, for example, a receiving end is installed in the foot support of the electric bicycle. The foot support of the electric bicycle contacts the wireless sensing area, and the transmitting end in the wireless sensing area establishes electromagnetic coupling with the foot support in the electric bicycle to realize the transmission of electric energy. The receiving end is connected to the target battery, so that after the receiving end in the electric bicycle receives the electric energy from the transmitting end in the power supply device, the electric energy is transmitted to the target battery, thereby realizing wireless charging of the target battery by the power supply device. Compared with wired charging, it is more convenient to use the power supply equipment to wirelessly charge the electric bicycle.
[0058] The actual power consumption of the power supply equipment during the target time period can be determined by monitoring the meter readings. The meter records the real-time power consumption of the power supply equipment. The recorded values of the meter can be read at the start time and the end time respectively to obtain the first power consumption.
[0059] S200, obtaining a first state of charge of the target battery at the start time and a second state of charge at the end time;
[0060] Specifically, the state of charge refers to the level of electrical energy stored in the target battery, which is used to describe the remaining charge or charging degree of the battery. The state of charge is usually expressed in the form of a percentage, indicating the current electrical energy storage situation of the target battery, that is, the ratio of the current charge stored in the target battery to the battery capacity of the target battery. For example, when the target battery is fully charged, the state of charge is 100%, that is, the current amount of electricity stored in the target battery has reached the battery capacity of the target battery; when the stored electrical energy of the target battery is completely exhausted, the state of charge is 0%; assuming that the current battery capacity is 1000mAh (milliampere-hour) and the current stored charge is 800mAh, the current state of charge of the target battery is 80%.
[0061] The state of charge of the target battery at the start of charging is the first state of charge, and the state of charge of the target battery at the end of charging is the second state of charge.
[0062] S300, determining the power consumption of the power supply device when the target battery is charged from the first state of charge to the second state of charge when the target battery is in full health, and obtaining a second power consumption;
[0063] Specifically, when the target battery is in full health, the battery capacity of the target battery is the rated battery capacity. As the battery is used for a longer time or due to bad usage habits, the battery capacity decreases, that is, the battery's ability to store charge weakens, that is, the battery's health decreases.
[0064] Battery capacity is expressed in ampere-hours (AH) or milliampere-hours (mAH), which indicates the amount of charge that a battery can store. The larger the battery capacity, the more charge the battery can store, which can support a longer battery life. During the charging process, the power consumption of the charging device is related to the battery capacity. That is, when charging a target battery from one state of charge to another state of charge, if the battery capacity of the target battery is different, the power consumption of the charging device during the charging process is also different. The larger the battery capacity, the greater the power consumption of the charging device.
[0065] It should be noted that the amount of charge stored in the target battery at the same state of charge (excluding 0%) is not the same for the same battery in different health conditions. For example, when the target battery is completely healthy, the battery capacity of the target battery is the rated battery capacity, which is 1000mAH. When the state of charge is 100%, the amount of charge stored in the target battery is 1000 mAH, and when the state of charge is 80%, the amount of charge stored in the target battery is 800 mAH. When the target battery is sub-healthy, the battery capacity of the target battery is less than the rated battery capacity. With the current battery capacity of 900mAH, when the state of charge is 100%, the amount of charge stored in the target battery is 900 mAH, and when the state of charge is 80%, the amount of charge stored in the target battery is 720 mAH.
[0066] When the target battery is in full health, if a charging device is used to charge the target battery from the first state of charge to the second state of charge, the power consumption of the charging device during this process is the second power consumption, and the second power consumption can be estimated based on the first state of charge and the second state of charge.
[0067] S400: Determine the health of the target battery according to the first power consumption and the second power consumption.
[0068] Specifically, the current health of the target battery is determined based on the first power consumption of the charging device when charging the target battery from a first state of charge to a second state of charge during the current charging process and the estimated power required to charge the target battery from the first state of charge to the second state of charge when the target battery is completely healthy (second power consumption). The user can reasonably use the target battery based on the determined health and replace the battery immediately when the health is low.
[0069] In this embodiment, a power supply device is used to charge a target battery within a target time period. During the charging process, the power consumed by the power supply device is a first power consumption. The target battery changes from a first state of charge at the start time to a second state of charge at the end time. The power consumption required by the power supply device when the target battery is charged from the first state of charge to the second state of charge using the charging device in a fully healthy state is estimated to be the second power consumption. The health of the current target battery can be determined based on the first power consumption and the second power consumption. Compared with the method of measuring the health of a battery by discharging from a fully charged state in the related art, in this embodiment, only the target battery needs to be charged to complete the health of the target battery. There is no need to fully discharge the target battery to discharge the battery of the electric bicycle, and the charging time of the battery is much shorter than the discharging time of the battery, which shortens the measurement time of the health of the electric bicycle battery and improves the measurement efficiency of the health of the electric bicycle. At the same time, no special discharge equipment is required for discharge, and no human riding is required for discharge, which reduces the manpower cost and hardware cost of measuring the health of the electric bicycle battery.
[0070] In addition, compared with the related art that requires a fully charged battery to be completely discharged, the health of the target battery does not need to be discharged in this embodiment. Therefore, excessive discharge will not occur in the process of determining the health. The health measurement can be completed only during normal charging of the battery, avoiding the problem of battery damage or performance degradation in the process of determining the battery health.
[0071] Optionally, determining the health of the target battery according to the first power consumption and the second power consumption includes: determining a ratio of the first power consumption to the second power consumption as the health.
[0072] Specifically, the power consumption of the charging equipment is positively correlated with the battery capacity when the target battery is charged, and a decrease in battery capacity means a decrease in battery health. The healthier the target battery is, the closer the battery capacity of the target battery is to the rated battery capacity, and the more power consumption is required to charge the target battery from a first state of charge to a second state of charge. Therefore, the health value of the target battery is determined by the power consumption of the power supply equipment during the charging process of the target battery and the power consumption of the power supply equipment during the charging process when the target battery is completely healthy, that is, the ratio of the first power consumption to the second power consumption is determined as the health value of the target battery.
[0073] For example, the first state of charge is 20%, the second state of charge is 80%, and the power supply device currently consumes 0.085KWH to charge the target battery from 20% to 80%, that is, the first power consumption is 0.612KWH. If the target battery is completely healthy, the power supply device currently consumes 0.72KWH to charge the target battery from 20% to 80%, and the health value of the target battery is determined to be 85%.
[0074] Alternatively, if Figure 2 As shown, the determining the power consumption of the power supply device when the target battery is fully healthy and charged from the first state of charge to the second state of charge to obtain the second power consumption includes:
[0075] Acquire charging data within the target time period, and determine battery characteristics of the target battery based on the charging data, wherein the battery characteristics include a rated battery capacity and a rated voltage of the target battery;
[0076] The second power consumption is determined according to the rated battery capacity, the rated voltage, the first state of charge, and the second state of charge.
[0077] Specifically, charging data refers to the changes in various parameters during the charging process within the target time period. Different types of batteries have different battery characteristics. Based on the different battery characteristics of the batteries, the charging data during the charging process is also different. Therefore, the battery characteristics of the target battery can be determined based on the charging data during the charging process. Battery characteristics include rated battery capacity and rated voltage. The rated battery capacity refers to the amount of charge that the battery can store under standard conditions (i.e., fully healthy), and the rated voltage represents the voltage output of the battery when it is fully charged. The second power consumption is determined based on the rated battery capacity, the rated voltage, the first state of charge, and the second state of charge.
[0078] Optionally, determining the second power consumption according to the rated battery capacity, the rated voltage, the first state of charge, and the second state of charge includes:
[0079] determining a difference between the first state of charge and the second state of charge to obtain a first difference;
[0080] The product of the first difference, the rated battery capacity, the rated voltage and a preset value is determined as the second power consumption.
[0081] Specifically, ignoring the consumption during energy transmission and the consumption of the device itself, according to the law of conservation of energy, the newly stored electric energy in the target battery during the target time period is equal to the power consumption of the charging device during the target time period.
[0082] The product of the rated voltage and the rated battery capacity represents the energy storage capacity of the target battery when it is fully healthy and fully charged, that is, the total energy of the battery, that is, the power consumed by the power supply device to charge the target battery from 0% to 100% when the target battery is fully healthy. For example, if the rated voltage of a battery is 60V and the battery capacity is 20AH, then the power consumed by the charging device to charge the battery from 0% to 100% (total power) is: 60 V × 20 AH = 1200 WH. When the first state of charge is 20% and the second state of charge is 100%, the power stored in the target battery during the target time period should be 80% of the total power (the first difference). Therefore, when the target battery is fully healthy, the power consumption required to charge from the first state of charge to the second state of charge should be 1200 WH×80%=960WH.
[0083] The preset value is used to convert units so that the units of the first power consumption and the second power consumption are the same. If the unit of the collected first power consumption is WH, the unit of the rated voltage is V, and the unit of the battery capacity is AH, then the preset value is 1. If the unit of the collected first power consumption is KWH, the unit of the rated voltage is V, and the unit of the battery capacity is AH, then the preset value is 0.001.
[0084] If the first power consumption is 0.816 KWH, the rated voltage of the battery is 60 V, the battery capacity is 20 AH, the first state of charge is 20%, and the second state of charge is 100%, and the preset value is 0.001, then the second power consumption is 60 V × 20 Ah × 80% × 0.001 = 0.96 KWH. At this time, the health level is determined according to the ratio of the first power consumption to the second power consumption, and the health level is: 0.816 KWH ÷ 0.96 KWH × 100% = 85%.
[0085] Alternatively, if Figure 3 As shown, determining the battery characteristics of the target battery based on the charging data includes:
[0086] Acquire a current curve in the charging data, wherein the current curve represents a relationship between a charging current and time of the target battery within the target time period;
[0087] Determine the charging current of the target battery in a constant current charging state according to the current curve to obtain a constant current charging current;
[0088] The rated battery capacity of the target battery is determined according to the constant-current charging current.
[0089] Specifically, the battery characteristics are inherent characteristics of the target battery, which can be stored in the system in advance and directly obtained from the system when determining the second power consumption. The battery characteristics of the target battery can also be determined through charging data during the charging process to prevent the battery characteristics of the target battery from being acquired when the battery characteristics of the target battery are not stored in advance, thereby making it impossible to evaluate the health of the target battery.
[0090] The charging modes of the target battery in the power supply mode are divided into constant current charging mode and constant voltage charging mode. In the constant current charging mode, the charging current of the target battery is constant, and the target battery is charged with a constant current charging current. In this mode, the charging speed is faster.
[0091] Batteries with different rated battery capacities have different constant charging currents in the constant current charging mode, so the rated capacitance can be determined based on the constant current charging current.
[0092] The target battery can switch the charging mode during the charging process, that is, when the power is low, it is in constant current charging mode. After charging in constant current charging mode for a period of time, it switches to constant voltage charging mode for charging. In constant voltage charging mode, the charging current gradually decreases. The charging current curve of the target battery when switching charging mode is as follows: Figure 4 As shown, from the start time to the first time, it is a constant current charging mode, the charging current corresponding to any time between the start time and the first time is determined as the above constant charging current, and from the first time to the end time, it is a constant voltage charging mode.
[0093] Optionally, determining the rated battery capacity of the target battery according to the constant current charging current includes:
[0094] When the constant current charging current is less than a preset threshold, determining that the target battery is a lead-acid battery;
[0095] Obtaining a charging rate of the lead-acid battery;
[0096] The rated battery capacity is determined according to the charging rate and the constant current charging current.
[0097] Optionally, determining the rated battery capacity according to the charging rate and the constant current charging current includes:
[0098] The ratio of the constant current charging current to the charging rate is determined as the rated battery capacity.
[0099] Specifically, taking the target battery as the battery of an electric bicycle as an example, the batteries of an electric bicycle are generally divided into two types: lithium batteries and lead-acid batteries. In order to avoid irreversible damage to the battery, the power supply equipment will charge the lead-acid battery according to a preset charging rate when charging the lead-acid battery, for example, wirelessly charging the lead-acid battery at a rate of 0.15C.
[0100] The unit of charging rate is C. A charging rate of 0.15C means that the charging current is 15% of the battery capacity. The charging rate of lead-acid batteries is usually low, and the charging speed is also slow. Take the 6020 lead-acid battery as an example. The rated voltage of the lead-acid battery is 60V, and the rated battery capacity is 20AH. The constant current charging mode charges the lead-acid battery at a rate of 0.15C. The charging current is 20*0.15A=3A, that is, the constant current charging is 3A at a speed of 3A.
[0101] Determine the constant charging current of the target battery in the target time period, and determine that the target battery is a lead-acid battery based on the constant charging current, and then obtain the charging rate used. The rated battery capacity of the target battery can be determined. The rated battery capacity = constant charging current ÷ charging rate. For example, when the constant charging current is 3.6A, the target battery is a lead-acid battery, and the charging rate is 0.15C. According to the constant charging current and charging rate, the stable battery capacity can be determined as: 3.6÷0.15=24AH.
[0102] Compared with lead-acid batteries, lithium batteries support larger charging currents. However, in order to protect lithium batteries and avoid electromagnetic radiation, lithium batteries should not be charged in the form of charging rates. All specifications of lithium batteries should be charged with the same constant current current. Generally, 5A is used to charge lithium batteries in constant current charging mode.
[0103] It should be noted that the charging current of a lead-acid battery in constant current charging mode is always smaller than the charging current of a lithium battery in constant current charging mode. Therefore, whether the target battery is a lead-acid battery can be determined by a preset threshold and the size of the constant charging current.
[0104] Optionally, determining the battery characteristics of the target battery based on the charging data includes:
[0105] Determine the cut-off voltage of the target battery when charging is completed according to the charging data;
[0106] A rated voltage in the rated battery capacity of the target battery is determined according to the cutoff voltage.
[0107] Specifically, the cut-off voltage refers to the voltage threshold at which the charger stops charging the battery. Once the battery voltage reaches this value, the charger will stop charging to avoid damage caused by overcharging the battery. Generally speaking, the cut-off voltage is slightly lower than the rated voltage. The rated voltage is generally 36V, 48V, 60V or 72V. When the rated voltage is 36V, the cut-off voltage is generally around 34V. When the rated voltage is 48V, the cut-off voltage is generally around 46V. When the rated voltage is 60V, the cut-off voltage is generally around 58V. When the rated voltage is 72V, the cut-off voltage is generally around 70V. It can be seen that the cut-off voltage has a corresponding relationship with the rated voltage, and the corresponding rated voltage can be determined based on the cut-off voltage and the corresponding relationship.
[0108] The voltage of the target battery when charging of the target battery is completed is determined as the cutoff voltage.
[0109] Optionally, obtaining the first state of charge of the target battery at the starting moment includes: collecting the current value of the target battery at preset time intervals from the starting moment to obtain a current signal, wherein the current signal includes N collected current values, N is a preset value, and N is greater than 1; performing length padding on the current signal to obtain a first signal; decomposing the first signal into an even part and an odd part to obtain an even index and an odd index; recursively transforming the current values corresponding to the even index and the odd index respectively to obtain a first transformation result and a second transformation result; merging the first transformation result and the second transformation result to obtain a transformation result, and determining the frequency domain signal of the current signal according to the transformation result and the rotation factor, the frequency domain signal representing the AC component characteristics of the current signal; inputting the frequency domain signal into a target model, and outputting the first state of charge according to the frequency domain signal through the target model, wherein the target model is obtained by learning the correlation between the AC component characteristics of the current and the battery state of charge from a training set.
[0110] Specifically, when determining the health of the target battery, it is necessary to prepare to determine the state of charge of the target battery. The dynamic characteristics of the current are related to the state of charge (SOC) of the battery. During the charging process, different states of charge will affect the chemical reaction rate and internal resistance of the battery, thereby causing the dynamic characteristics of the current (such as fluctuation amplitude, frequency, etc.) to change. The dynamic characteristics of the current are represented by the characteristics of the AC component of the current.
[0111] When determining the first state of charge corresponding to the start time, the current of the target battery is first sampled at the start time to obtain a current value sequence (i.e., a current signal). The current value sequence is composed of multiple current values collected at preset time intervals starting from the start time. The current value sequence composed of N current values sampled is the current signal. The current signal actually includes the N current values collected within the preset time period at the start time. The preset time period is relatively short, such as 2s, 5s, or 10s.
[0112] In order to ensure that the length of the current signal is a power of 2, if N is not a power of 2, the length of the current signal is padded to obtain a first signal, and the length of the first signal is a power of 2. The input signal is divided into an even part and an odd part, and the same steps are used to recursively calculate the corresponding Fourier transform results, that is, the first transform result and the second transform result. The Fourier transform results of the even part and the odd part are combined, that is, the first transform result and the second transform result, and the rotation factor is combined to form the final frequency domain signal.
[0113] The target model learns through the training set to associate the AC component characteristics with the different charge states of the battery, and inputs the frequency domain signal representing the AC component characteristics corresponding to the starting moment into the target model. The target can determine the corresponding charge state and obtain the first charge state. Machine learning is used to improve the accuracy of determining the charge state. In this embodiment, it does not simply rely on the DC characteristics of the current, but utilizes the dynamic characteristics of the current, which can improve the accuracy of the charge state estimation to a certain extent.
[0114] In addition, the process of determining the second state of charge is similar to the process of determining the first state of charge, which will not be repeated here. The difference is that the collected current signals are different. The current signal collected when determining the first state of charge is N current values within a preset time period starting from the start time, and the current signal collected when determining the second state of charge is N current values within a preset time period before the end time.
[0115] Optionally, acquiring AC component characteristics of a voltage signal and an AC component characteristics of a current signal of the target battery within a target time period;
[0116] Determine multiple zero-crossing points of the AC signal within the target time period according to the AC component characteristics of the current signal, and determine multiple zero-crossing points of the voltage signal within the target time period according to the AC component characteristics of the voltage signal;
[0117] Determine a plurality of zero-crossing point phase differences according to a plurality of AC signal zero-crossing points and a plurality of voltage signal zero-crossing points, wherein each zero-crossing point phase difference is a phase difference between an AC signal zero-crossing point and a corresponding voltage signal zero-crossing point;
[0118] Determine the change trend and maximum change amplitude of the zero-crossing point phase difference within the target time period according to all zero-crossing point phase differences;
[0119] The health of the target battery is verified according to the maximum variation amplitude.
[0120] Among them, checking the health of the target battery according to the maximum change amplitude includes: when the health of the target battery is greater than or equal to a preset health threshold, that is, when the health of the target battery indicates that the target battery is in a healthy state, but the maximum change amplitude of the zero-crossing phase difference within the target time period exceeds the preset amplitude threshold, it is determined that the obtained health of the target battery is incorrect, and the health of the target battery is recalculated.
[0121] Specifically, when the battery health changes, it usually corresponds to changes in the internal characteristics of the battery, and the zero-crossing phase difference is an important indicator of the internal characteristics of the battery. By calculating the phase difference between the zero-crossing point of the AC component of the current signal and the zero-crossing point of the AC component of the voltage signal, the calculated health of the target battery is verified according to the change of the zero-crossing phase difference to ensure the accuracy of the calculated health of the target battery.
[0122] Optionally, acquiring the state of charge of the target battery at the start time to obtain a first state of charge includes:
[0123] determining an open circuit voltage of the target battery;
[0124] The first state of charge is determined according to the current open circuit voltage.
[0125] Specifically, the state of charge (SOC) of the target battery is determined by the open circuit voltage method. Based on the fact that the open circuit voltage of the battery is related to the internal ion concentration of the battery, a one-to-one correspondence between the open circuit voltage and the battery state of charge can be fitted.
[0126] Optionally, the battery internal resistance of the target battery is used for error correction to accurately estimate the open circuit voltage. When the battery passes current, the voltage under the load is corrected by subtracting the product of the battery internal resistance and the current inside the battery from the actual measured battery terminal voltage to obtain a corrected open circuit voltage, and then the corrected open circuit voltage is used to obtain the corresponding state of charge to obtain the state of charge, that is, the first state of charge.
[0127] The second state of charge can be obtained by the same method, which will not be described in detail here.
[0128] Preferably, the end time of the target time period may be the time when the target battery is fully charged, at which time the second state of charge is 100%.
[0129] Figure 5 As shown, a battery health determination device 500 provided in an embodiment of the present invention includes:
[0130] The first acquisition module 510 is used to acquire the actual power consumption when the power supply device wirelessly charges the target battery in the electric bicycle within the target time period to obtain a first power consumption, wherein the start time of the target time period is the time when the power supply device starts charging the target battery, and the end time of the target time period is the time when the power supply device ends charging the target battery;
[0131] A second acquisition module 520, configured to acquire a first state of charge of the target battery at the start time and a second state of charge at the end time;
[0132] A first determination module 530 is used to determine the power consumption of the power supply device when the target battery is charged from the first state of charge to the second state of charge when the target battery is in full health;
[0133] The second determining module 540 is configured to determine the health of the target battery according to the first power consumption and the second power consumption.
[0134] Optionally, the second determination module is further configured to determine the health of the target battery according to the first power consumption and the second power consumption in the following manner: determining a ratio of the first power consumption to the second power consumption as the health.
[0135] Optionally, the above-mentioned first determination module is also used to determine the power consumption of the power supply device when the target battery is charged from a first state of charge to a second state of charge when it is completely healthy, and obtain the second power consumption by: obtaining charging data within the target time period, and determining the battery characteristics of the target battery based on the charging data, wherein the battery characteristics include the rated battery capacity and rated voltage of the target battery; determining the second power consumption according to the rated battery capacity, rated voltage, the first state of charge and the second state of charge.
[0136] Optionally, the above-mentioned first determination module is also used to determine the second power consumption according to the rated battery capacity, the rated voltage, the first state of charge and the second state of charge in the following manner, including: determining the difference between the first state of charge and the second state of charge to obtain a first difference; and determining the product of the first difference, the rated battery capacity, the rated voltage and a preset value as the second power consumption.
[0137] Optionally, the above-mentioned first determination module is also used to determine the battery characteristics of the target battery based on the charging data in the following manner: obtain a current curve in the charging data, wherein the current curve represents the relationship between the charging current and time of the target battery in the target time period; determine the charging current of the target battery in a constant current charging state according to the current curve to obtain a constant current charging current; determine the rated battery capacity of the target battery according to the constant current charging current.
[0138] Optionally, the above-mentioned first determination module is also used to determine the rated battery capacity of the target battery according to the constant current charging current in the following manner: when the constant current charging current is less than a preset threshold, determine that the target battery is a lead-acid battery; obtain the charging rate of the lead-acid battery; determine the rated battery capacity according to the charging rate and the constant current charging current.
[0139] Optionally, the first determination module is further configured to determine the rated battery capacity according to the charging rate and the constant current charging current in the following manner: determining a ratio of the constant current charging current to the charging rate as the rated battery capacity.
[0140] Optionally, the first determination module is further configured to determine the battery characteristics of the target battery based on the charging data in the following manner: determining a cutoff voltage of the target battery at the end of charging according to the charging data; and determining a rated voltage of the target battery according to the cutoff voltage.
[0141] Optionally, the second acquisition module is also used to obtain the first state of charge of the target battery at the starting moment in the following manner: collecting the current value of the target battery at preset time intervals from the starting moment to obtain a current signal, wherein the current signal includes N collected current values, N is a preset value, and N is greater than 1; performing length padding on the current signal to obtain a first signal; decomposing the first signal into an even part and an odd part to obtain an even index and an odd index; recursively transforming the current values corresponding to the even index and the odd index respectively to obtain a first transformation result and a second transformation result; merging the first transformation result and the second transformation result to obtain a transformation result, and determining the frequency domain signal of the current signal according to the transformation result and the rotation factor, the frequency domain signal representing the AC component characteristics of the current signal; inputting the frequency domain signal into the target model, and outputting the first state of charge according to the frequency domain signal through the target model, wherein the target model is obtained by learning the correlation between the AC component characteristics of the current and the battery state of charge through a training set.
[0142] The battery health determination device of this embodiment is used to implement the battery health determination method as described above. Its advantages over the prior art are the same as the advantages of the above-mentioned battery health determination method over the prior art, and will not be repeated here.
[0143] like Figure 6 As shown, an electronic device 600 provided by an embodiment of the present invention includes a memory 610 and a processor 620; the memory 610 is used to store a computer program; the processor 620 is used to implement the battery health determination method as described above when executing the computer program.
[0144] In other words, an electronic device 600 includes a memory 610 and a processor 620 coupled to the memory 610; the memory 610 is configured to store a computer program; and the processor 620 is configured to perform the following operations when executing the computer program:
[0145] Acquire the actual power consumption when the power supply device wirelessly charges the target battery in the electric bicycle within the target time period to obtain a first power consumption, wherein the start time of the target time period is the time when the power supply device starts charging the target battery, and the end time of the target time period is the time when the power supply device ends charging the target battery;
[0146] Acquire a first state of charge of the target battery at the start time and a second state of charge at the end time;
[0147] determining the power consumption of the power supply device when the target battery is charged from the first state of charge to the second state of charge when the target battery is in full health, to obtain a second power consumption;
[0148] The health of the target battery is determined according to the first power consumption and the second power consumption.
[0149] 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 battery health determination method as described above is implemented.
[0150] In other words, a non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor performs the following operations:
[0151] Acquire the actual power consumption when the power supply device wirelessly charges the target battery in the electric bicycle within the target time period to obtain a first power consumption, wherein the start time of the target time period is the time when the power supply device starts charging the target battery, and the end time of the target time period is the time when the power supply device ends charging the target battery;
[0152] Acquire a first state of charge of the target battery at the start time and a second state of charge at the end time;
[0153] determining the power consumption of the power supply device when the target battery is charged from the first state of charge to the second state of charge when the target battery is in full health, to obtain a second power consumption;
[0154] The health of the target battery is determined according to the first power consumption and the second power consumption.
[0155] An electronic device 600 that can be used as a server or client of the present invention will now be described, which is an example of a hardware device that can be applied to various aspects of the present invention. The electronic device 600 is intended to represent various forms of digital electronic computer equipment, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 600 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the present invention described and / or required herein.
[0156] The electronic device 600 includes a computing unit, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The computing unit, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0157] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. 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. In the present application, the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present invention. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0158] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.
Claims
1. A method for determining battery health, characterized in that: Applied to detect the health of the target battery of electric bicycles, including: Acquire the actual power consumption when the power supply device wirelessly charges the target battery in the electric bicycle within the target time period to obtain a first power consumption, wherein the start time of the target time period is the time when the power supply device starts charging the target battery, and the end time of the target time period is the time when the power supply device ends charging the target battery; Acquire a first state of charge of the target battery at the start time and a second state of charge at the end time; determining the power consumption of the power supply device when the target battery is charged from the first state of charge to the second state of charge when the target battery is in full health, to obtain a second power consumption; determining the health of the target battery according to the first power consumption and the second power consumption; The obtaining of the first state of charge of the target battery at the start time includes: From the start time, the current value of the target battery is collected at preset time intervals to obtain a current signal, wherein the current signal includes N collected current values, where N is a preset value and N is greater than 1; Performing length padding on the current signal to obtain a first signal; Decomposing the first signal into an even part and an odd part to obtain an even index and an odd index; Recursively transform the current values corresponding to the even index and the odd index respectively to obtain a first transformation result and a second transformation result; Combining the first transformation result and the second transformation result to obtain a transformation result, and determining a frequency domain signal of the current signal according to the transformation result and the rotation factor, wherein the frequency domain signal represents an AC component feature of the current signal; The frequency domain signal is input into a target model, and the first state of charge is output according to the frequency domain signal through the target model, wherein the target model is obtained by learning the correlation between the AC component characteristics of the current and the battery state of charge through a training set.
2. The method for determining battery health according to claim 1, characterized in that: The determining, when the target battery is in full health, the power consumption of the power supply device when charging from the first state of charge to the second state of charge, to obtain the second power consumption includes: Acquire charging data within the target time period, and determine battery characteristics of the target battery based on the charging data, wherein the battery characteristics include a rated battery capacity and a rated voltage of the target battery; The second power consumption is determined according to the rated battery capacity, the rated voltage, the first state of charge, and the second state of charge.
3. The method for determining battery health according to claim 2, characterized in that: The determining the second power consumption according to the rated battery capacity, the rated voltage, the first state of charge, and the second state of charge includes: determining a difference between the first state of charge and the second state of charge to obtain a first difference; The product of the first difference, the rated battery capacity, the rated voltage and a preset value is determined as the second power consumption.
4. The method for determining battery health according to claim 2, characterized in that: The determining the battery characteristics of the target battery based on the charging data includes: Acquire a current curve in the charging data, wherein the current curve represents a relationship between a charging current and time of the target battery within the target time period; Determine the charging current of the target battery in a constant current charging state according to the current curve to obtain a constant current charging current; The rated battery capacity of the target battery is determined according to the constant-current charging current.
5. The method for determining battery health according to claim 4, characterized in that: The step of determining the rated battery capacity of the target battery according to the constant current charging current comprises: When the constant current charging current is less than a preset threshold, determining that the target battery is a lead-acid battery; Obtaining a charging rate of the lead-acid battery; The rated battery capacity is determined according to the charging rate and the constant current charging current.
6. The method for determining battery health according to claim 5, characterized in that: The step of determining the rated battery capacity according to the charging rate and the constant current charging current includes: The ratio of the constant current charging current to the charging rate is determined as the rated battery capacity.
7. The method for determining battery health according to claim 2, characterized in that: The determining the battery characteristics of the target battery based on the charging data includes: Determine the cut-off voltage of the target battery when charging is completed according to the charging data; The rated voltage of the target battery is determined according to the cut-off voltage.
8. A battery health determination device, characterized in that: include: A first acquisition module is used to acquire the actual power consumption when the power supply device wirelessly charges the target battery in the electric bicycle within the target time period to obtain a first power consumption, wherein the start time of the target time period is the time when the power supply device starts charging the target battery, and the end time of the target time period is the time when the power supply device ends charging the target battery; A second acquisition module, used for acquiring a first state of charge of the target battery at the start time and a second state of charge at the end time; The obtaining of the first state of charge of the target battery at the start time includes: From the start time, the current value of the target battery is collected at preset time intervals to obtain a current signal, wherein the current signal includes N collected current values, where N is a preset value and N is greater than 1; Performing length padding on the current signal to obtain a first signal; Decomposing the first signal into an even part and an odd part to obtain an even index and an odd index; Recursively transform the current values corresponding to the even index and the odd index respectively to obtain a first transformation result and a second transformation result; Combining the first transformation result and the second transformation result to obtain a transformation result, and determining a frequency domain signal of the current signal according to the transformation result and the rotation factor, wherein the frequency domain signal represents an AC component feature of the current signal; Inputting the frequency domain signal into a target model, and outputting the first state of charge according to the frequency domain signal through the target model, wherein the target model is obtained by learning the correlation between the AC component characteristics of the current and the battery state of charge through a training set; A first determining module is used to determine the power consumption of the power supply device when the target battery is charged from the first state of charge to the second state of charge when the target battery is in full health, so as to obtain a second power consumption; The second determining module is used to determine the health of the target battery according to the first power consumption and the second power consumption.
9. An electronic device comprising a memory and a processor; The memory is used to store computer programs; The processor is used to implement the battery health determination method as described in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the battery health determination method as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Battery health state measuring and calculating method and related equipment
CN113466716A
Method for determining state of health of battery, vehicle and storage medium
CN117970158A