Battery management method and device, wireless sensor network node and readable medium
Patent Information
- Application Number
- CN202110406482.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-15
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2041-04-15
AI Technical Summary
[0004]对于目前对无线用电设备中电池进行管理的方法,通过减少能耗以延长无线用电设备的寿命,但是无法基于电池确定无线用电设备的剩余寿命,从而无法根据无线用电设备的剩余寿命合理配置无线用电设备的性能,进而导致用户的使用体验较差
[0055] As can be seen from the above technical solution, by using two batteries to supply power to the device in rotation, when one battery is supplying power to the device, the open-circuit voltage of the other battery is detected to accurately determine the open-circuit voltage. Then, based on the battery's open-circuit voltage, battery temperature, and load current, the battery's state of charge can be accurately determined, and the device's energy consumption can be determined based on the battery's load current. Finally, based on the state of charge of the two batteries and the device's energy consumption, the device's lifespan can be predicted. Thus, users can rationally configure the device's performance or operating mode according to its lifespan to meet their needs and improve the user experience.
Smart Images

Figure CN115224375B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of battery management technology, and more particularly to battery management methods, devices, wireless sensor network nodes, and readable media. Background Technology
[0002] A battery is a device that converts chemical energy into electrical energy and is widely used to power wireless devices. Wireless devices operate using the electrical energy output from batteries. When the battery is depleted, the wireless device will no longer function and will need to be replaced or recharged to continue operating. Wireless sensor network nodes are battery-powered wireless devices used to collect environmental parameters such as ambient temperature, humidity, and the concentration of toxic and harmful gases, and then transmit the detected environmental parameters to a gateway or server to monitor industrial or home environments.
[0003] For battery-powered wireless devices, the devices cannot continue to operate once the battery is depleted. Therefore, battery management is necessary to rationally allocate the device's energy consumption and ensure that the device's lifespan meets design requirements before battery replacement or recharging. Currently, various mechanisms are used to reduce energy consumption and extend the device's lifespan when managing the battery in wireless devices.
[0004] Current methods for managing batteries in wireless devices aim to extend their lifespan by reducing energy consumption. However, they cannot determine the remaining lifespan of the wireless device based on the battery level, making it impossible to rationally configure the device's performance according to its remaining lifespan, which in turn leads to a poor user experience. Summary of the Invention
[0005] In view of this, the battery management method, apparatus, wireless sensor network node, and readable medium provided in this application can improve the user experience.
[0006] In a first aspect, embodiments of this application provide a battery management method applied to an electrical device comprising two batteries, including:
[0007] When power is supplied to the electrical device through either of the two first batteries, the open-circuit voltage of the second battery is detected.
[0008] When switching to supply power to the electrical device via the second battery;
[0009] Detect the battery temperature and load current of the second battery;
[0010] The state of charge of the second battery is determined based on the open-circuit voltage, battery temperature, and load current of the second battery.
[0011] The energy consumption of the electrical equipment is determined based on the load current of the second battery.
[0012] The lifespan of the electrical device is predicted based on the state of charge of the first and second batteries and the energy consumption of the electrical device.
[0013] In a first possible implementation, in conjunction with the first aspect described above, the battery management method further includes:
[0014] After the duration of supplying power to the electrical device through the second battery reaches a preset duration threshold, the open-circuit voltage of the first battery is detected.
[0015] Switch to supplying power to the electrical device via the first battery.
[0016] In a second possible implementation, in conjunction with the first aspect described above, determining the state of charge of the second battery based on its open-circuit voltage, battery temperature, and load current includes:
[0017] Based on the predetermined mapping relationship between the state of charge and open-circuit voltage, battery temperature and load current, and the open-circuit voltage, battery temperature and load current of the second battery, the state of charge of the second battery is determined.
[0018] In a third possible implementation, in conjunction with the first aspect above, determining the energy consumption of the electrical device based on the load current of the second battery includes: determining the energy consumption of the electrical device when performing different types of tasks based on the load current of the second battery when the electrical device performs different types of tasks;
[0019] The step of predicting the lifespan of the electrical device based on the state of charge of the first and second batteries and the energy consumption of the electrical device includes:
[0020] Based on the energy consumption of the electrical equipment when performing different types of tasks, determine the daily energy consumption of the electrical equipment in its current working mode;
[0021] Based on the state of charge of the first battery and the second battery, and the daily energy consumption of the electrical equipment in its current operating mode, the lifespan of the electrical equipment is calculated using the following first formula;
[0022] The first formula includes:
[0023]
[0024] Wherein, T represents the lifespan of the electrical device, T0 represents the usage time of the electrical device, E1 represents the total energy of the first battery, E2 represents the total energy of the second battery, SOC1 represents the state of charge of the first battery, SOC2 represents the state of charge of the second battery, and Q represents the daily energy consumption of the electrical device in its current operating mode.
[0025] In the fourth possible implementation, combined with the third possible implementation mentioned above, the battery management method further includes:
[0026] If the lifespan of the electrical device is less than a preset lifespan threshold, then the electrical device is adjusted to a low-energy mode.
[0027] In the fifth possible implementation, combining the first aspect and any one of the first, second, third, and fourth possible implementations of the first aspect, the battery management method further includes:
[0028] Based on the load current of the second battery, the current state of charge of the second battery is calculated using the following second formula; the second formula includes:
[0029]
[0030] Wherein, SOC2 is used to characterize the current state of charge of the second battery, SOC0 is used to characterize the state of charge of the second battery when it first begins to supply power to the electrical device through the second battery, C N The rated capacity of the second battery is used to characterize η, the discharge efficiency of the second battery is used to characterize I, the load current of the second battery is used to characterize τ, and the duration of the current power supply to the electrical device through the second battery is used to characterize τ.
[0031] Secondly, embodiments of this application also provide a battery management device for supplying power to electrical devices. The battery management device includes: a battery detection unit, a battery switching unit, a microcontroller unit, and two batteries.
[0032] The battery detection unit is used to detect the open-circuit voltage of the second battery when power is supplied to the electrical device through either of the two batteries.
[0033] The battery switching unit is used to switch to supplying power to the electrical device through the second battery after the battery detection unit detects the open-circuit voltage of the second battery;
[0034] The battery detection unit is also used to detect the battery temperature and load current of the second battery when powering the electrical device through the second battery;
[0035] The microcontroller unit is used to determine the state of charge of the second battery based on the open-circuit voltage, battery temperature and load current of the second battery obtained by the battery detection unit, determine the energy consumption of the electrical device based on the load current of the second battery, and predict the lifespan of the electrical device based on the state of charge of the first battery and the second battery and the energy consumption of the electrical device.
[0036] In a first possible implementation, in conjunction with the second aspect described above, the battery detection unit is further configured to detect the open-circuit voltage of the first battery after the duration of power supply to the electrical device via the second battery reaches a preset duration threshold; the battery switching unit is further configured to switch to power supply to the electrical device via the first battery after the battery detection unit detects the open-circuit voltage of the first battery.
[0037] In a second possible implementation, in conjunction with the second aspect described above, the microcontroller unit is used to determine the state of charge of the second battery based on a predetermined mapping relationship between the state of charge and open-circuit voltage, battery temperature, and load current, and the open-circuit voltage, battery temperature, and load current of the second battery.
[0038] In a third possible implementation, in conjunction with the second aspect above, the battery detection unit is used to detect the load current of the second battery when the power device performs different types of tasks; the microcontroller unit is used to determine the energy consumption of the power device when performing different types of tasks based on the load current of the second battery when the power device performs different types of tasks, and to determine the daily energy consumption of the power device in the current working mode based on the energy consumption of the power device when performing different types of tasks, and to calculate the lifespan of the power device using the following first formula;
[0039] The first formula includes:
[0040]
[0041] Wherein, T represents the lifespan of the electrical device, T0 represents the usage time of the electrical device, E1 represents the total energy of the first battery, E2 represents the total energy of the second battery, SOC1 represents the state of charge of the first battery, SOC2 represents the state of charge of the second battery, and Q represents the daily energy consumption of the electrical device in its current operating mode.
[0042] In a fourth possible implementation, combined with the third possible implementation, the microcontroller is further configured to adjust the power-consuming device to a low-energy mode when the lifespan of the power-consuming device is less than a preset lifespan threshold.
[0043] In the fifth possible implementation, in combination with the second aspect above and any one of the first, second, third and fourth possible implementations of the second aspect, the microcontroller unit is further configured to calculate the current state of charge of the second battery according to the load current of the second battery using the following second formula;
[0044] The second formula includes:
[0045]
[0046] Wherein, SOC2 is used to characterize the current state of charge of the second battery, SOC0 is used to characterize the state of charge of the second battery when it first begins to supply power to the electrical device through the second battery, C N The rated capacity of the second battery is used to characterize η, the discharge efficiency of the second battery is used to characterize I, the load current of the second battery is used to characterize τ, and the duration of the current power supply to the electrical device through the second battery is used to characterize τ.
[0047] Thirdly, embodiments of this application also provide another battery management device, including: at least one memory and at least one processor;
[0048] The at least one memory is used to store a machine-readable program;
[0049] The at least one processor is configured to invoke the machine-readable program to execute the methods provided by the first aspect and any possible implementation thereof.
[0050] Fourthly, embodiments of this application also provide a wireless sensor network node, including: a sensor unit, a wireless communication unit, and a battery management device provided in the second aspect, any possible implementation of the second aspect, or the third aspect.
[0051] The battery management device is used to supply power to the sensor unit and the wireless communication unit;
[0052] The sensor unit is used to detect environmental parameters;
[0053] The wireless communication unit is used to send the environmental parameters to the data receiving end via wireless communication.
[0054] Fifthly, embodiments of this application also provide a computer-readable medium storing computer instructions, which, when executed by a processor, cause the processor to perform the methods provided by the first aspect and any possible implementation thereof.
[0055] As can be seen from the above technical solution, by using two batteries to supply power to the device in rotation, when one battery is supplying power to the device, the open-circuit voltage of the other battery is detected to accurately determine the open-circuit voltage. Then, based on the battery's open-circuit voltage, battery temperature, and load current, the battery's state of charge can be accurately determined, and the device's energy consumption can be determined based on the battery's load current. Finally, based on the state of charge of the two batteries and the device's energy consumption, the device's lifespan can be predicted. Thus, users can rationally configure the device's performance or operating mode according to its lifespan to meet their needs and improve the user experience. Attached Figure Description
[0056] Figure 1 This is a flowchart of a battery management method provided in Embodiment 1 of this application;
[0057] Figure 2 This is a flowchart of another battery management method provided in Embodiment 2 of this application;
[0058] Figure 3 This is a schematic diagram of a battery management device provided in Embodiment 3 of this application;
[0059] Figure 4 This is a schematic diagram of a battery management device provided in Embodiment 4 of this application;
[0060] Figure 5 This is a schematic diagram of a wireless sensor network node provided in Embodiment 5 of this application;
[0061] Figure 6 This is a schematic diagram of another wireless sensor network node provided in Embodiment 5 of this application.
[0062] List of reference numerals in the attached diagram:
[0063] 101: When supplying power to the device through the first battery, detect the open-circuit voltage of the second battery.
[0064] 102: Switch to powering the device via the second battery.
[0065] 103: Detect the battery temperature and load current of the second battery.
[0066] 104: Determine the state of charge of the second battery based on its open-circuit voltage, battery temperature, and load current.
[0067] 105: Determine the energy consumption of electrical equipment based on the load current of the second battery.
[0068] 106: Based on the state of charge of the first and second batteries and the energy consumption of the electrical equipment, predict the lifespan of the electrical equipment.
[0069] 201: Powering the device via the first battery
[0070] 202: Detect the open-circuit voltage of the second battery.
[0071] 203: Switch to powering the device via the second battery.
[0072] 204: Detect the battery temperature and load current of the second battery.
[0073] 205: Determine the state of charge of the second battery based on its open-circuit voltage, battery temperature, and load current.
[0074] 206: Determine the energy consumption of the electrical equipment performing different types of tasks based on the load current of the second battery.
[0075] 207: Determine whether the duration of the current power supply to the device via the second battery has reached the preset duration threshold.
[0076] 208: Based on the state of charge of the first and second batteries and the energy consumption of the electrical equipment, predict the lifespan of the electrical equipment.
[0077] 209: Determine whether the lifespan of the electrical equipment is less than the preset lifespan threshold.
[0078] 210: Adjust the operating mode of electrical equipment to low-energy mode.
[0079] 211: Detect the open-circuit voltage of the first battery.
[0080] 212: Switch to powering the device via the first battery.
[0081] 213: Detect the battery temperature and load current of the first battery.
[0082] 214: Determine the state of charge of the first battery based on its open-circuit voltage, battery temperature, and load current.
[0083] 215: Based on the load current of the first battery, determine the energy consumption of the electrical equipment performing different types of tasks.
[0084] 216: Determine whether the duration of the current power supply to the device via the first battery has reached a preset duration threshold.
[0085] 217: Based on the state of charge of the first battery box and the second battery, and the energy consumption of the electrical equipment, predict the lifespan of the electrical equipment.
[0086] 218: Determine whether the lifespan of the electrical equipment is less than the preset lifespan threshold.
[0087] 219: Adjust the operating mode of electrical equipment to low-energy mode.
[0088] 30: Battery management device; 40: Battery management device; 50: Wireless sensor network node
[0089] 31: Battery detection unit; 32: Battery switching unit; 33: Microcontroller unit
[0090] 341: First battery; 342: Second battery; 41: Memory.
[0091] 42: Processor; 51: Sensor unit; 52: Wireless communication unit Detailed Implementation
[0092] As mentioned earlier, for battery-powered wireless devices, once the battery is depleted, the device can no longer function and requires battery replacement or recharging. For wireless devices with disposable batteries, battery depletion signifies the end of the device's lifespan. Therefore, battery consumption directly impacts the device's lifespan. Current battery management methods for wireless devices employ various mechanisms to reduce energy consumption and extend lifespan, ensuring the device meets design requirements. However, existing battery management methods cannot predict the device's lifespan based on remaining battery power, thus hindering the ability to optimize device performance based on the predicted lifespan, resulting in a poor user experience.
[0093] In this embodiment, two batteries can alternately / rotate to supply power to the device. When one battery is supplying power, the open-circuit voltage of the other battery is detected, along with the battery temperature and load current. Based on these parameters, the state of charge (SOC) of the batteries is determined, and the energy consumption of the device is determined based on the load current. Therefore, the device's lifespan can be predicted based on the SOC of the two batteries and the device's energy consumption. Thus, by alternating power supply from two batteries, the open-circuit voltage of both batteries can be accurately detected, allowing for the determination of their SOC. Based on the SOC and the device's energy consumption, the device's lifespan can be predicted. Users can then rationally configure the device's performance based on its lifespan to meet their needs, thereby improving the user experience.
[0094] It should be noted that, in the embodiments of this application and subsequent embodiments, the lifespan refers to the length of time that the electrical device can operate normally before the battery power is exhausted. When both batteries in the electrical device are exhausted, depending on the type of battery in the electrical device, the battery in the electrical device can be replaced, or the battery in the electrical device can be charged, or the battery in the electrical device is designed for single use, and the service life of the electrical device ends after the battery power is exhausted.
[0095] The battery management method, apparatus, and wireless sensor network node provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0096] Example 1
[0097] Figure 1 This is a flowchart of a battery management method provided in Embodiment 1 of this application. The battery management method provided in this embodiment is applied to electrical devices including two batteries. See also... Figure 1 The battery management method includes the following steps:
[0098] 101. When power is supplied to an electrical device through either of the two first batteries, the open-circuit voltage of the second battery is detected.
[0099] The electrical device contains two batteries. When power is supplied to the device through one battery, the power supply line from the other battery is disconnected. At this point, the open-circuit voltage of the battery whose power supply line is disconnected can be detected. Since the open-circuit voltage of a battery is close to its electromotive force (EMF), and the EMF can reflect the remaining charge of the battery to some extent, the state of charge (SCC) of the battery can be determined based on the open-circuit voltage. By alternating the power supply from the two batteries to the device, the open-circuit voltages of both batteries can be accurately detected, and thus the SCC can be determined more accurately based on the open-circuit voltage.
[0100] State of charge (SOC) is used to characterize the remaining capacity of a battery. It is equal to the ratio of the remaining usable energy of the battery to the total usable energy of the battery, and is also equal to 1 minus the ratio of the used energy of the battery to the total usable energy of the battery.
[0101] It should be noted that "first battery" and "second battery" do not refer to specific batteries. "First battery" can be either of two batteries, and the other battery is the corresponding "second battery." For example, if an electrical device includes battery A and battery B, when battery A is the first battery, battery B is the second battery, and vice versa. By sequentially using the two batteries in the electrical device as the first battery, power can be supplied to the device through both batteries alternately. Furthermore, the open-circuit voltage of each battery can be detected separately to accurately determine its state of charge.
[0102] 102. Switch to powering the device via the second battery.
[0103] When powering the device through the first battery, the open-circuit voltage of the second battery is detected. After detecting the open-circuit voltage of the second battery, the system switches to powering the device through the second battery to detect relevant parameters during the power supply process of the second battery, and can also detect the open-circuit voltage of the first battery.
[0104] 103. When switching to powering the device via the second battery, detect the battery temperature and load current of the second battery.
[0105] The state of charge (SCC) of a battery is related not only to its electromotive force (EMF) but also to its load current and temperature. After switching to power the device via a second battery, the battery temperature and load current of the second battery are monitored. Since battery temperature changes during battery power supply, and the battery's open-circuit voltage is affected by temperature, the battery temperature and load current of the second battery are immediately monitored upon switching to power the device via the second battery. This ensures that the obtained open-circuit voltage, battery temperature, and load current match, thereby guaranteeing the accuracy of the SCC determined based on these parameters.
[0106] 104. When switching to supply power to the electrical equipment through the second battery, determine the state of charge of the second battery based on the open-circuit voltage, battery temperature and load current of the second battery.
[0107] Since the state of charge (SOC) of a battery is related to its open-circuit voltage, temperature, and load current, the SOC of the second battery can be determined based on these parameters after obtaining the open-circuit voltage, temperature, and load current of the second battery. For example, the mapping relationship between SOC and these parameters can be established beforehand through experimental methods, and then the SOC of the second battery can be determined based on this mapping relationship after obtaining the open-circuit voltage, temperature, and load current of the second battery.
[0108] 105. When switching to supply power to the electrical equipment through the second battery, determine the energy consumption of the electrical equipment based on the load current of the second battery.
[0109] As electrical equipment operates over time, its components age, leading to changes in energy consumption. Furthermore, changes in the environment in which the equipment operates, such as temperature, humidity, cleanliness, and pH levels, also affect energy consumption. Because these changes in energy consumption affect battery depletion, it is necessary to calibrate the equipment's energy consumption data to ensure accuracy and determine its lifespan.
[0110] The battery outputs current to drive the electrical equipment, therefore the energy consumption of the equipment can be determined based on the battery's load current. After obtaining the load current of the second battery, the energy consumption of the equipment can be determined based on the second battery's load current. For example, it can be determined using the formula P = I based on the load current and load resistance. 2 The energy consumption of electrical equipment is calculated using R. In this formula, P is the energy consumption of the electrical equipment, I is the load current, and R is the load resistance.
[0111] It should be noted that steps 104 and 105 can be executed synchronously or in the current order, or step 105 can be executed first and then step 104.
[0112] 106. Based on the state of charge of the first and second batteries and the energy consumption of the electrical equipment, predict the lifespan of the electrical equipment.
[0113] By alternating the power supply to the device using two batteries, the open-circuit voltage, battery temperature, and load current of each battery can be detected separately. This allows for the determination of the state of charge (SOC) of each battery and the energy consumption of the device. Since SOC represents the remaining charge of a battery, and energy consumption represents the rate at which the device consumes electrical energy during operation, the device's lifespan ends when both batteries are depleted due to lack of power supply. Therefore, the device's lifespan can be predicted based on the SOC of the two batteries and the device's energy consumption.
[0114] In one possible implementation, since the energy consumption of electrical equipment does not change significantly in a short period of time, it is not necessary to update the energy consumption of the equipment every time the power supply battery is switched. The energy consumption of the equipment can be updated once every set number of power supply battery switches, or at set intervals. For example, the energy consumption of the equipment can be updated once a month.
[0115] After determining the state of charge (SOC) of the second battery, the SOC of the first battery when switching to supply power to the device via the second battery is determined. Then, the device's lifespan is predicted based on the determined SOCs of the first and second batteries. The SOC of the first battery when switching to supply power to the device via the second battery can be determined based on the SOC of the first battery when supplying power via the first battery and the power consumption during that operation.
[0116] The solution provided in this application embodiment includes an electrical device with two batteries that alternately supply power to the device. When one battery supplies power to the device, the open-circuit voltage of the other battery is detected to accurately determine the open-circuit voltage. Based on the open-circuit voltage, battery temperature, and load current, the state of charge (SOC) of the battery can be accurately determined, and the energy consumption of the device can be determined based on the load current. Then, the lifespan of the device is predicted based on the SOC of the two batteries and the energy consumption of the device. Thus, users can reasonably configure the performance or operating mode of the device according to its lifespan to meet their needs and improve the user experience.
[0117] Example 2
[0118] Figure 2 This is a flowchart of a battery management method provided in Embodiment 2 of this application. This battery management method is applied to an electrical device comprising two batteries. See also... Figure 2 The battery management method includes the following steps:
[0119] 201. Power is supplied to the electrical equipment through the first battery.
[0120] When electrical equipment is first started, it is powered by the first battery by default.
[0121] It should be noted that the battery management method provided in this application embodiment can start from the initial startup of the electrical device or from any moment during the operation of the electrical device. When the battery management method provided in this application embodiment starts from the initial startup of the electrical device, the first battery is the default power supply battery of the electrical device. When the battery management method provided in this application embodiment starts from any moment during the operation of the electrical device, the first battery is either of the two batteries included in the electrical device, and the other battery in the electrical device is the second battery.
[0122] 202. Detect the open-circuit voltage of the second battery.
[0123] When power is supplied to the device through the first battery, the power supply line between the second battery and the load in the device is disconnected, and the second battery has no output. At this time, the open-circuit voltage of the second battery is detected by the voltage detection module in the device. It should be noted that when the battery management method provided in this application starts at any time during the operation of the device, the open-circuit voltage of the second battery is detected only after the duration of power supply to the device through the first battery exceeds a preset duration threshold, so as to allow the second battery to cool down sufficiently and ensure the accuracy of the obtained open-circuit voltage of the second battery.
[0124] 203. Switch to powering the device via the second battery.
[0125] Upon detecting the open-circuit voltage of the second battery, the system switches to supply power to the device via the second battery. At this time, the power supply line between the first battery and the load in the device is disconnected, while the power supply line between the second battery and the load in the device is connected, and the first battery stops outputting power. It should be noted that a seamless switching mode is used during the battery switching process to ensure uninterrupted power supply to the device.
[0126] 204. Detect the battery temperature and load current of the second battery.
[0127] After switching to powering the device via the second battery, the battery temperature of the second battery is immediately detected. During the initial stage of the battery outputting current to the load, the battery temperature gradually increases. The battery's open-circuit voltage is affected by this temperature. The open-circuit voltage of the second battery is detected when it is not outputting current. When powering the device via the second battery begins, its temperature is similar to the temperature at which the open-circuit voltage was detected, ensuring a match between the obtained open-circuit voltage and the battery temperature. In one possible implementation, the battery temperature of the second battery is detected by a temperature detection module included in the device.
[0128] After switching to powering the device via a second battery, the load current of the second battery is detected by a current detection module included in the device. When detecting the load current of the second battery, two aspects are considered: firstly, the average load current of the second battery is detected to determine its state of charge (SOC); secondly, the load current of the second battery is detected when the device performs different types of tasks, allowing for updates to the device's lifetime based on these load current readings. For example, if the device is a wireless sensor network node used to collect data such as ambient temperature, humidity, and concentrations of toxic and harmful gases, typical tasks of a wireless sensor network node include node processing, node sensing, node transmission, and node reception. Therefore, it is necessary to detect the load current of the second battery when the wireless sensor network node performs each of these tasks.
[0129] 205. Determine the state of charge of the second battery based on its open-circuit voltage, battery temperature, and load current.
[0130] After obtaining the open-circuit voltage, battery temperature, and load current of the second battery, the state of charge of the second battery is determined according to the predetermined mapping relationship between the state of charge and the open-circuit voltage, battery temperature, and load current.
[0131] In one possible implementation, the mapping relationship between the state of charge (SCC) and open-circuit voltage, battery temperature, and load current is determined beforehand through experimental methods. This mapping relationship can be a curve characterizing the change of SCC with variations in open-circuit voltage, battery temperature, and load current, or it can be a table recording the correspondence between different SCCs and these parameters. When the mapping relationship is a curve, the point corresponding to the open-circuit voltage, battery temperature, and load current of the second battery is found on the curve, and the SCC corresponding to that point is determined as the SCC of the second battery. When the mapping relationship is a table, the SCC corresponding to the open-circuit voltage, battery temperature, and load current of the second battery is determined by looking up the table, and that SCC is determined as the SCC of the second battery.
[0132] It should be noted that the electrical device includes a Microcontroller Unit (MCU), in which the mapping relationship between state of charge (SOC) and open-circuit voltage, battery temperature, and load current is stored. Different battery models have different VOC-SOC mapping relationships (the mapping relationship between SOC and open-circuit voltage, battery temperature, and load current). The battery's VOC-SOC mapping relationship is obtained through laboratory testing, and the MCU stores the VOC-SOC mapping relationship corresponding to the battery model in the electrical device. The first and second batteries can be the same or different models. When the first and second batteries are the same model, the MCU only needs to store one VOC-SOC mapping relationship corresponding to the first and second batteries. When the first and second batteries are different models, the MCU needs to store both the VOC-SOC mapping relationships corresponding to the first and second batteries.
[0133] In this embodiment, the state of charge (SOC) of the battery is determined by the battery's open-circuit voltage, battery temperature, and load current (discharge current). The parameters required to determine the SOC are few, and the SOC can be accurately determined by looking up a table. This method is suitable for small, low-power devices such as wireless sensor network nodes, thus improving the applicability of the battery management system.
[0134] 206. Determine the energy consumption of electrical equipment performing different types of tasks based on the load current of the second battery.
[0135] In step 204, when detecting the load current of the second battery, the load current of the second battery is detected when the electrical device performs various typical tasks. For each typical task performed by the electrical device, based on the load current of the second battery when the electrical device performs that typical task, and the load resistance of the electrical device or the open-circuit voltage of the second battery when the electrical device performs that typical task, the load current is calculated according to the formula P = I. 2 R or P = UI can be used to calculate the energy consumption of electrical equipment when performing a typical task, in the formula P = I 2 In R and P=UI, P is the energy consumption of the electrical device performing the typical task, I is the load current of the second battery when the electrical device performs the typical task, R is the load resistance of the second battery when the electrical device performs the typical task, and U is the open-circuit voltage of the second battery.
[0136] For example, if the electrical device is a wireless sensor network node, and the typical tasks of a wireless sensor network node include node processing, node sensing, node transmitting, and node receiving, then the energy consumption of the node processing task can be calculated based on the load current of the second battery when the wireless sensor network node performs the node processing task, the energy consumption of the node sensing task can be calculated based on the load current of the second battery when the wireless sensor network node performs the node sensing task, the energy consumption of the node transmitting task can be calculated based on the load current of the second battery when the wireless sensor network node performs the node receiving task, and the energy consumption of the node receiving task can be calculated based on the load current of the second battery when the wireless sensor network node performs the node receiving task.
[0137] By calibrating the energy consumption of electrical equipment performing typical tasks, the daily energy consumption of the equipment can be calculated based on the energy consumption of the equipment performing typical tasks, and then the lifespan of the equipment can be predicted based on the daily energy consumption of the equipment.
[0138] 207. Determine whether the duration of power supply to the device via the second battery has reached the preset duration threshold. If yes, proceed to step 211; otherwise, proceed to step 208.
[0139] Since the battery generates heat during power supply, and the open-circuit voltage detected when the battery temperature is high is inaccurate, a preset duration threshold is set to ensure that the battery can cool down sufficiently within the threshold to obtain a more accurate open-circuit voltage. After obtaining the state of charge of the second battery and calibrating the energy consumption of the device performing a typical task, it is determined whether the duration of the previous power supply to the device via the second battery has reached the preset duration threshold. If the duration of the power supply to the device via the second battery has reached the preset duration threshold, it indicates that the first battery has cooled down sufficiently, and the open-circuit voltage of the first battery can be detected, and step 211 is executed accordingly. If the duration of the power supply to the device via the second battery has not reached the preset duration threshold, the power supply to the device via the second battery continues to allow the first battery to cool down sufficiently, and step 208 is executed accordingly.
[0140] It should be noted that different battery models may have different temperatures when supplying power, and the time required for different battery models to cool down completely may also be different. Therefore, different battery models may correspond to different preset time thresholds. The specific preset time threshold needs to be determined based on the battery model in the device.
[0141] 208. Based on the state of charge of the first and second batteries and the energy consumption of the electrical equipment, predict the lifespan of the electrical equipment.
[0142] When switching to powering the device via a battery (first battery / second battery), the state of charge of the battery can be updated based on the state of charge of the battery when it starts supplying power and the load current of the battery, so as to determine the state of charge of the battery at different times during the power supply process. Specifically, the state of charge of the battery can be updated using the following second formula.
[0143] The second formula includes:
[0144]
[0145] Wherein, SOC2 is used to characterize the current state of charge of the battery, SOC0 is used to characterize the state of charge of the battery when it first starts supplying power to the device, and C N The rated capacity of the battery is used to characterize the battery's discharge efficiency, I is used to characterize the battery's load current, and τ is used to characterize the duration of the current power supply to the device via the battery.
[0146] Currently, power is supplied to the device via the second battery. During the previous power supply to the device via the first battery, the state of charge of the first battery can be updated using the above method, thereby obtaining the state of charge of the first battery at the end of the previous power supply to the device via the first battery.
[0147] Based on the energy consumption of electrical equipment performing different types of tasks, and the number of times or the duration of each type of task performed daily, the daily energy consumption of the electrical equipment in the current operating mode can be determined. For example, when the electrical equipment is a wireless sensor network node, the daily energy consumption of the wireless sensor network node can be calculated based on the energy consumption of node processing tasks, node sensing tasks, node transmitting tasks, and node receiving tasks, as well as the daily execution time of node processing tasks, node sensing tasks, node transmitting tasks, and node receiving tasks.
[0148] Currently, the device is powered by the second battery. After obtaining the state of charge of the second battery, the state of charge of the first battery when the last power supply to the device was completed via the first battery, and the daily energy consumption of the device, the device's lifespan is calculated using the following first formula.
[0149] The first formula includes:
[0150]
[0151] Where T represents the lifespan of the electrical equipment, T0 represents the usage time of the electrical equipment, E1 represents the total energy of the first battery, E2 represents the total energy of the second battery, SOC1 represents the state of charge of the first battery, SOC2 represents the state of charge of the second battery, and Q represents the daily energy consumption of the electrical equipment in its current operating mode.
[0152] In this embodiment of the application, during the process of supplying power to the device via battery, the state of charge of the battery is updated according to the second formula described above, so that the user can obtain the remaining power information of the battery in a timely manner, making it convenient for the user to obtain the status of the device, thereby further improving the user experience.
[0153] 209. Determine whether the lifespan of the electrical equipment is less than the preset lifespan threshold. If yes, proceed to step 210; otherwise, proceed to step 207.
[0154] After predicting the lifespan of the electrical equipment, it is determined whether the lifespan of the electrical equipment is less than the preset lifespan threshold. If the lifespan of the electrical equipment is less than the lifespan threshold, it means that the electrical equipment consumed a lot of power during operation. The electrical equipment will not be able to reach the lifespan threshold if it operates in the current working mode. The corresponding step 210 is executed to adjust the working mode of the electrical equipment. If the lifespan of the electrical equipment is greater than or equal to the lifespan threshold, it means that the electrical equipment can reach the lifespan threshold if it operates in the current working mode. The corresponding step 207 is executed to switch to power supply to the electrical equipment through the first battery after the working time of the electrical equipment reaches the preset duration threshold.
[0155] The lifespan threshold for electrical equipment can be a user-defined time length or the designed lifespan of the electrical equipment.
[0156] 210. Adjust the operating mode of the electrical equipment to low energy consumption mode and proceed to step 208.
[0157] Once it is determined that the lifespan of the electrical equipment is less than the lifespan threshold, the equipment's operating mode is adjusted to a low-energy mode. In low-energy mode, the daily energy consumption of the equipment decreases, thereby extending its lifespan. Then, step 208 is executed to re-predict the equipment's lifespan and determine whether the re-predicted lifespan is greater than or equal to the lifespan threshold. If the re-predicted lifespan is still less than the lifespan threshold, a prompt message can be sent to the user, allowing the user to determine further processing methods.
[0158] In this embodiment, the electrical device has multiple operating modes, such as a limited lifespan mode (low-energy mode), a performance-priority mode, and a custom mode. When the predicted lifespan of the electrical device is less than the lifespan threshold, the operating mode of the electrical device can be adjusted to the low-energy mode, or it can be adjusted to the corresponding operating mode according to the user's settings, or no operating mode adjustment may be performed.
[0159] 211. Detect the open-circuit voltage of the first battery.
[0160] 212. Switch to supplying power to the electrical equipment via the first battery.
[0161] 213. Detect the battery temperature and load current of the first battery.
[0162] 214. Determine the state of charge of the first battery based on its open-circuit voltage, battery temperature, and load current.
[0163] 215. Determine the energy consumption of the electrical equipment when performing different types of tasks based on the load current of the first battery.
[0164] 216. Determine whether the duration of power supply to the device via the first battery has reached the preset duration threshold. If yes, proceed to step 202; otherwise, proceed to step 217.
[0165] 217. Based on the state of charge of the first battery box and the second battery and the energy consumption of the electrical equipment, predict the lifespan of the electrical equipment.
[0166] 218. Determine whether the lifespan of the electrical equipment is less than the preset lifespan threshold. If yes, proceed to step 219; otherwise, proceed to step 216.
[0167] 219. Adjust the operating mode of the electrical equipment to low energy consumption mode and execute step 217.
[0168] It should be noted that steps 211 to 219 are the processing steps for supplying power to the device through the first battery, while steps 202 to 210 are the processing steps for supplying power to the device through the second battery. The processing methods for supplying power through the first battery and the second battery are the same, so steps 211 to 219 can be referred to steps 202 to 210, and will not be repeated here.
[0169] Example 3
[0170] Figure 3 This is a schematic diagram of a battery management device provided in Embodiment 3 of this application. See also... Figure 3The battery management device 30 provided in this application embodiment includes: a battery detection unit 31, a battery switching unit 32, a microcontroller unit 33, and two batteries;
[0171] The battery detection unit 31 is used to detect the open-circuit voltage of the second battery 342 when power is supplied to the electrical device through either the first battery 341 of the two batteries.
[0172] The battery switching unit 32 is used to switch to supply power to the electrical device through the second battery 342 after the battery detection unit 31 detects the open circuit voltage of the second battery 342.
[0173] The battery detection unit 31 is also used to detect the battery temperature and load current of the second battery 342 when power is supplied to the electrical device through the second battery 342;
[0174] The microcontroller unit 33 is used to determine the state of charge of the second battery 342 based on the open-circuit voltage, battery temperature and load current of the second battery 342 obtained by the battery detection unit 31, determine the energy consumption of the electrical device based on the load current of the second battery 342, and predict the lifespan of the electrical device based on the state of charge of the first battery 341 and the second battery 342 and the energy consumption of the electrical device.
[0175] In this embodiment, the battery detection unit 31 can be used to execute steps 101 and 103 in the first embodiment above, the battery switching unit 32 can be used to execute step 102 in the first embodiment above, and the microcontroller unit 33 can be used to execute steps 104 and 105 in the first embodiment above.
[0176] In one possible implementation, the battery detection unit 31 and the battery switching unit 32 operate under the control of the microcontroller unit 33. For example, the battery detection unit 31 detects the open-circuit voltage, battery temperature and load current of the first battery 341 and the second battery 342 under the control of the microcontroller unit 33, and the battery switching unit 32 switches to the first battery 341 or the second battery 342 to supply power to the electrical device under the control of the microcontroller unit 33.
[0177] It should be noted that the electrical device includes two batteries, each of which can be a battery pack or a single battery. When each battery in the electrical device is a single battery, the two batteries can be the same or different models. When each battery in the electrical device is a battery pack, a battery pack includes at least two batteries of the same model, and the batteries in the two battery packs can be the same or different models. When it is necessary to replace a battery in a battery pack, a new battery of the same model must be replaced, and it must be fully charged.
[0178] Optionally, in Figure 3 Based on the battery management device 30 shown, the battery detection unit 31 is further configured to detect the open-circuit voltage of the first battery 341 after the duration of power supply to the electrical device through the second battery 342 reaches a preset duration threshold, and the battery switching unit 32 is further configured to switch to power supply to the electrical device through the first battery 341 after the battery detection unit 31 detects the open-circuit voltage of the first battery 341.
[0179] Optionally, in Figure 3 Based on the battery management device 30 shown, the microcontroller unit 33 is used to determine the state of charge of the second battery 342 according to the predetermined mapping relationship between the state of charge and open circuit voltage, battery temperature and load current, and the open circuit voltage, battery temperature and load current of the second battery 342.
[0180] Optionally, in Figure 3 Based on the battery management device 30 shown, the battery detection unit 31 is used to detect the load current of the second battery 342 when the power device performs different types of tasks, and the microcontroller unit 33 is used to determine the energy consumption of the power device when performing different types of tasks according to the load current of the second battery 342 when the power device performs different types of tasks, and to determine the daily energy consumption of the power device in the current working mode according to the energy consumption of the power device when performing different types of tasks, and to calculate the lifespan of the power device through the following first formula;
[0181] The first formula includes:
[0182]
[0183] Wherein, T represents the lifespan of the electrical equipment, T0 represents the usage time of the electrical equipment, E1 represents the total energy of the first battery 341, E2 represents the total energy of the second battery 342, SOC1 represents the state of charge of the first battery 341, SOC2 represents the state of charge of the second battery 342, and Q represents the daily energy consumption of the electrical equipment in its current operating mode.
[0184] Optionally, in Figure 3 Based on the battery management device 30 shown, the microcontroller 33 is also used to adjust the power-consuming device to a low-energy consumption mode when the lifespan of the power-consuming device is less than a preset lifespan threshold.
[0185] Optionally, in Figure 3 Based on the battery management device 30 shown, the microcontroller unit 33 is also used to calculate the current state of charge of the second battery 342 according to the load current of the second battery 342 by the following second formula;
[0186] The second formula includes:
[0187]
[0188] Wherein, SOC2 is used to characterize the current state of charge of the second battery 342, SOC0 is used to characterize the state of charge of the second battery 342 when it first starts supplying power to the device through the second battery 342, and C N The rated capacity of the second battery 342 is used to characterize η, the discharge efficiency of the second battery 342 is used to characterize I, the load current of the second battery 342 is used to characterize τ, and the duration of the current power supply to the electrical device through the second battery 342 is used to characterize the rated capacity of the second battery 342.
[0189] It should be noted that the information interaction and execution process between the units in the battery management device 30 are based on the same concept as the aforementioned method embodiment. For details, please refer to the description in the aforementioned method embodiment, and it will not be repeated here.
[0190] Example 4
[0191] Figure 4 This is a schematic diagram of another battery management device provided in Embodiment 4 of this application. See also... Figure 4 The battery management device 40 provided in this application embodiment includes: at least one memory 41 and at least one processor 42;
[0192] The at least one memory 41 is used to store a machine-readable program;
[0193] The at least one processor 42 is configured to invoke the machine-readable program to execute the battery management methods provided in the above embodiments.
[0194] It should be noted that the information interaction and execution process between the modules in the battery management device 40 are based on the same concept as the aforementioned method embodiment. For details, please refer to the description in the aforementioned method embodiment, and will not be repeated here.
[0195] Example 5
[0196] Figure 5 This is a schematic diagram of a wireless sensor network node provided in Embodiment 5 of this application. See also... Figure 5 The wireless sensor network node 50 provided in this application embodiment includes: a sensor unit 51, a wireless communication unit 52, and a battery management device 30 provided in embodiment three or a battery management device 40 provided in embodiment four.
[0197] Battery management device 30 / 40 is used to power sensor unit 51 and wireless communication unit 52;
[0198] Sensor unit 51 is used to detect environmental parameters;
[0199] The wireless communication unit 52 is used to send environmental parameters to the data receiving end via wireless communication.
[0200] In this embodiment, during the process of powering the sensor unit 51 and the wireless communication unit 52, the battery management device 30 / 40 can accurately detect the open-circuit voltage of the battery by alternating power supply of the two batteries. Based on the open-circuit voltage, the state of charge of the battery can be determined. Then, based on the state of charge of the battery, the cumulative runtime of the wireless sensor network node when the battery is depleted can be predicted, i.e., the predicted lifetime of the wireless sensor network node. In this way, the user can reasonably configure the wireless sensor network node based on the predicted lifetime of the wireless sensor network node, thereby improving the user's experience with the wireless sensor network node.
[0201] In this embodiment, the sensor unit 51 is used to detect environmental parameters such as ambient temperature, humidity, and concentration of toxic and harmful gases, while the wireless communication unit 52 is used to send the environmental parameters detected by the sensor unit 51 to the data receiving end, which may be a server, gateway, etc.
[0202] In the embodiments of this application, see Figure 6 The wireless sensor network node 50 shown not only uses the battery management device 30 to power the sensor unit 51 and the wireless communication unit 52, but the microcontroller unit 33 in the battery management device 30 also controls the operation of the sensor unit 51 and the wireless communication unit 52. For example, the microcontroller unit 33 controls the frequency and type of environmental parameter detection performed by the sensor unit 51. The sensor unit 51 sends the collected environmental parameters to the microcontroller unit 33, and the microcontroller unit 33 sends the environmental parameters to the data receiving end through the wireless communication unit 52 according to a specific protocol.
[0203] In one possible implementation, the microcontroller unit 33 includes a processor and a memory, which can be used to store data such as the battery's open-circuit voltage, battery temperature, and load current.
[0204] This application also provides a computer-readable medium storing instructions for causing a computer to perform the battery management method as described herein. Specifically, a system or apparatus equipped with a storage medium storing software program code that implements the functions of any of the embodiments described above, and causing the computer (or CPU or MPU) of the system or apparatus to read and execute the program code stored in the storage medium.
[0205] In this case, the program code read from the storage medium can itself implement the function of any of the above embodiments, and therefore the program code and the storage medium storing the program code constitute part of this application.
[0206] Examples of storage media used to provide program code include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), magnetic tapes, non-volatile memory cards, and ROMs. Alternatively, program code can be downloaded from a server computer via a communication network.
[0207] Furthermore, it should be clear that not only can the program code read by the computer be executed, but also the operating system or other components operating on the computer can be instructed based on the program code to perform some or all of the actual operations, thereby realizing the function of any of the embodiments described above.
[0208] Furthermore, it is understood that the program code read from the storage medium is written to the memory set in the expansion board inserted into the computer or to the memory set in the expansion unit connected to the computer. Then, based on the instructions of the program code, the CPU or other components installed on the expansion board or expansion unit execute some and all of the actual operations, thereby realizing the function of any of the embodiments described above.
[0209] It should be noted that not all steps and modules in the above processes and system structure diagrams are mandatory; some steps or modules can be omitted as needed. The execution order of each step is not fixed and can be adjusted as required. The system structure described in the above embodiments can be a physical structure or a logical structure. That is, some modules may be implemented by the same physical entity, or some modules may be implemented by multiple physical entities, or they may be jointly implemented by certain components in multiple independent devices.
[0210] In the above embodiments, the hardware units can be implemented mechanically or electrically. For example, a hardware unit may include permanent dedicated circuitry or logic (such as a dedicated processor, FPGA, or ASIC) to perform the corresponding operation. The hardware unit may also include programmable logic or circuitry (such as a general-purpose processor or other programmable processor), which can be temporarily configured by software to perform the corresponding operation. The specific implementation method (mechanical, dedicated permanent circuitry, or temporarily configured circuitry) can be determined based on cost and time considerations.
[0211] The present application has been shown and described in detail above with reference to the accompanying drawings and preferred embodiments. However, the present application is not limited to these disclosed embodiments. Based on the above multiple embodiments, those skilled in the art will know that more embodiments of the present application can be obtained by combining the code review methods in the different embodiments above. These embodiments are also within the protection scope of the present application.
Claims
1. A battery management method, applied to an electrical device comprising two batteries, characterized in that, The two batteries alternately or in rotation supply power to the electrical device, the method comprising: When power is supplied to the electrical device through either of the two batteries, the open-circuit voltage of the second battery (342) is detected. When switching to supply power to the electrical device via the second battery (342), Detect the battery temperature and load current of the second battery (342); The state of charge of the second battery (342) is determined based on the open-circuit voltage, battery temperature and load current of the second battery (342); The energy consumption of the electrical equipment is determined based on the load current of the second battery (342); Based on the state of charge of the first battery (341) and the second battery (342) and the energy consumption of the electrical device, the lifespan of the electrical device is predicted, whereby the lifespan refers to the length of time the electrical device can operate normally before the battery power is exhausted.
2. The method according to claim 1, characterized in that, The method further includes: After the duration of power supply to the electrical device via the second battery (342) reaches a preset duration threshold, the open-circuit voltage of the first battery (341) is detected; Switch to supplying power to the electrical device via the first battery (341).
3. The method according to claim 1, characterized in that, The step of determining the state of charge of the second battery (342) based on its open-circuit voltage, battery temperature, and load current includes: Based on the predetermined mapping relationship between the state of charge and open circuit voltage, battery temperature and load current, and the open circuit voltage, battery temperature and load current of the second battery (342), the state of charge of the second battery (342) is determined.
4. The method according to claim 1, characterized in that, Determining the energy consumption of the electrical equipment based on the load current of the second battery (342) includes: Based on the load current of the second battery (342) when the electrical equipment performs different types of tasks, determine the energy consumption of the electrical equipment when performing different types of tasks; The step of predicting the lifespan of the electrical device based on the state of charge of the first battery (341) and the second battery (342) and the energy consumption of the electrical device includes: Based on the energy consumption of the electrical equipment when performing different types of tasks, determine the daily energy consumption of the electrical equipment in its current working mode; Based on the state of charge of the first battery (341) and the second battery (342), and the daily energy consumption of the electrical equipment in the current working mode, the lifespan of the electrical equipment is calculated by the following first formula; The first formula includes: in, Used to characterize the lifetime of the electrical equipment. Used to characterize the time the electrical equipment has been used. Used to characterize the total energy of the first battery (341), Used to characterize the total energy of the second battery (342), Used to characterize the state of charge of the first battery (341), Used to characterize the state of charge of the second battery (342), Used to characterize the daily energy consumption of the electrical equipment under its current operating mode.
5. The method according to claim 4, characterized in that, The method further includes: If the lifespan of the electrical device is less than a preset lifespan threshold, then the electrical device is adjusted to a low-energy mode.
6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: Based on the load current of the second battery (342), the current state of charge of the second battery (342) is calculated by the following second formula; The second formula includes: in, Used to characterize the current state of charge of the second battery (342), Used to characterize the state of charge of the second battery (342) when it first starts supplying power to the electrical device through the second battery (342), Used to characterize the rated capacity of the second battery (342), Used to characterize the discharge efficiency of the second battery (342), Used to characterize the load current of the second battery (342), Used to characterize the duration of the current power supply to the electrical device via the second battery (342).
7. A battery management device (30) for supplying power to electrical equipment, characterized in that, The battery management device (30) includes: a battery detection unit (31), a battery switching unit (32), a microcontroller unit (33), and two batteries, which alternately or in turn supply power to the electrical device; The battery detection unit (31) is used to detect the open-circuit voltage of the second battery (342) when power is supplied to the electrical device through either the first battery (341) of the two batteries; The battery switching unit (32) is used to switch to supply power to the electrical device through the second battery (342) after the battery detection unit (31) detects the open circuit voltage of the second battery (342); The battery detection unit (31) is also used to detect the battery temperature and load current of the second battery (342) when powering the electrical device through the second battery (342); The microcontroller unit (33) is used to determine the state of charge of the second battery (342) based on the open-circuit voltage, battery temperature and load current of the second battery (342) obtained by the battery detection unit (31), and to determine the energy consumption of the electrical device based on the load current of the second battery (342). It is also used to predict the lifespan of the electrical device based on the state of charge of the first battery (341) and the second battery (342) and the energy consumption of the electrical device. The lifespan refers to the length of time that the electrical device can operate normally before the battery power is exhausted.
8. The apparatus according to claim 7, characterized in that, The battery detection unit (31) is also used to detect the open-circuit voltage of the first battery (341) after the duration of power supply to the electrical device through the second battery (342) reaches a preset duration threshold. The battery switching unit (32) is also used to switch to supply power to the electrical device through the first battery (341) after the battery detection unit (31) detects the open circuit voltage of the first battery (341).
9. The apparatus according to claim 7, characterized in that, The microcontroller unit (33) is used to determine the state of charge of the second battery (342) based on the predetermined mapping relationship between the state of charge and open circuit voltage, battery temperature and load current, and the open circuit voltage, battery temperature and load current of the second battery (342).
10. The apparatus according to claim 7, characterized in that, The battery detection unit (31) is used to detect the load current of the second battery (342) when the electrical device performs different types of tasks; The microcontroller unit (33) is used to determine the energy consumption of the device performing different types of tasks based on the load current of the second battery (342) when the device performs different types of tasks, and to determine the daily energy consumption of the device in the current working mode based on the energy consumption of the device performing different types of tasks, and to calculate the lifespan of the device using the following first formula. The first formula includes: in, Used to characterize the lifetime of the electrical equipment. Used to characterize the time the electrical equipment has been used. Used to characterize the total energy of the first battery (341), Used to characterize the total energy of the second battery (342), Used to characterize the state of charge of the first battery (341), Used to characterize the state of charge of the second battery (342), Used to characterize the daily energy consumption of the electrical equipment under its current operating mode.
11. The apparatus according to claim 10, characterized in that, The microcontroller unit (33) is also used to adjust the power-consuming device to a low-energy consumption mode when the lifespan of the power-consuming device is less than a preset lifespan threshold.
12. The apparatus according to any one of claims 7 to 11, characterized in that, The microcontroller unit (33) is also used to calculate the current state of charge of the second battery (342) according to the load current of the second battery (342) by the following second formula; The second formula include: in, Used to characterize the current state of charge of the second battery (342), Used to characterize the state of charge of the second battery (342) when it first starts supplying power to the electrical device through the second battery (342), Used to characterize the rated capacity of the second battery (342), Used to characterize the discharge efficiency of the second battery (342), Used to characterize the load current of the second battery (342), Used to characterize the duration of the current power supply to the electrical device via the second battery (342).
13. A battery management device (40), characterized in that, include: At least one memory (41) and at least one processor (42); The at least one memory (41) is used to store a machine-readable program; The at least one processor (42) is configured to invoke the machine-readable program to perform the method described in any one of claims 1 to 6.
14. A wireless sensor network node (50), characterized in that, include: The sensor unit (51), the wireless communication unit (52), and the battery management device (30 / 40) according to any one of claims 7 to 13. The battery management device (30 / 40) is used to supply power to the sensor unit (51) and the wireless communication unit (52); The sensor unit (51) is used to detect environmental parameters; The wireless communication unit (52) is used to send the environmental parameters to the data receiving end via wireless communication.
15. A computer-readable medium storing computer instructions that, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 6.
Citation Information
Patent Citations
Battery management system, electric vehicle and state-of-charge estimation method
CN102088118A
Battery management system
CN105071453A