Battery charging and discharging management method and device, electronic equipment and storage medium
By real-time monitoring of battery status and calculation of power regulation parameter values, the battery charge and discharge strategy is dynamically adjusted, which solves the problem of low efficiency of battery management systems in existing technologies and achieves efficient operation and extended battery life.
Patent Information
- Application Number
- CN202411248200.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2044-09-06
AI Technical Summary
Existing battery management systems fail to dynamically adjust the charge and discharge strategies according to the actual operating conditions and performance characteristics of the battery, resulting in low battery charge and discharge efficiency.
By monitoring the battery's working status information and electric power in real time, using adjustment parameters and preset formulas to calculate the power adjustment parameter value, the battery's charging and discharging process is dynamically adjusted to ensure that the battery operates in the optimal working range.
It improves the charging and discharging efficiency of the battery, reduces energy consumption, prolongs the battery life, and enhances the stability and reliability of the system.
Smart Images

Figure CN119298265B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery management technology, and in particular to a battery charge and discharge management method, device, electronic device, and storage medium. Background Art
[0002] With the rapid advancement of electric vehicles and renewable energy technologies, efficient and safe battery management systems have become a key technology. Although existing battery management systems have achieved some success in battery status monitoring and protection, they still have significant shortcomings in optimizing charging and discharging strategies to improve battery efficiency and extend battery life.
[0003] The mainstream charge and discharge management solutions currently on the market rely primarily on real-time monitoring of battery parameters such as voltage, current, and temperature, and setting corresponding thresholds for management. Once these critical parameters exceed preset safety ranges, the system immediately takes measures such as power cutoff to protect the battery from damage. This management approach fails to fully dynamically adjust the charge and discharge strategy based on the battery's actual operating conditions and performance characteristics, resulting in inefficient charging and discharging. Summary of the Invention
[0004] In view of this, the present application provides a battery charge and discharge management method, device, electronic device and storage medium to solve the problem of low efficiency of battery charge and discharge management.
[0005] In a first aspect, the present application provides a battery charge and discharge management method, the method comprising:
[0006] Monitor whether the target power supply has power input and / or output;
[0007] When the target power source has power input and / or output, obtaining the working status information and current power of the target power source in real time;
[0008] determining adjustment parameters according to the working status information;
[0009] Calculating a power adjustment parameter value according to the adjustment parameter, the current electric power, and a preset adjustment formula;
[0010] The input and / or output of the target power supply is adjusted according to the power adjustment parameter value and the current electric power.
[0011] In an optional embodiment, the calculating the power adjustment parameter value according to the adjustment parameter, the current electric power and a preset adjustment formula includes:
[0012] The power adjustment parameter value is calculated by the following formula:
[0013] ∆P=K·g(T)·h(P);
[0014] Wherein, ∆P is the power adjustment parameter value, K is the adjustment sensitivity, g(T) is the temperature adjustment parameter, and h(P) is the power adjustment parameter.
[0015] In an optional embodiment, the method further comprises:
[0016] The temperature adjustment parameter is calculated by the following formula:
[0017] ;
[0018] Wherein, T is the battery temperature of the target power source obtained in real time, T opt is the optimal operating temperature of the target power supply, T range is the operating temperature range of the target power supply.
[0019] In an optional embodiment, the method further comprises:
[0020] The power adjustment parameter is calculated by the following formula:
[0021] ;
[0022] Wherein, P is the current electric power of the target power source obtained in real time, P opt is the target power of the target power supply, P range is the input and / or output range of the target power supply.
[0023] In an optional embodiment, adjusting the input and / or output of the target power supply according to the power adjustment parameter value and the current electric power includes:
[0024] The regulated power is calculated using the following formula:
[0025] P1=P+∆P;
[0026] Wherein, P is the current electric power of the target power source obtained in real time, P1 is the adjusted power, and ∆P is the power adjustment parameter value;
[0027] The input and / or output of the target power supply is adjusted according to the adjustment power.
[0028] In an optional embodiment, the method further comprises:
[0029] determining whether the regulated power is within the input and / or output range of the target power supply;
[0030] When the regulated power is not within the input and / or output range of the target power supply, an alarm is issued according to a preset alarm method.
[0031] A second aspect of the present application provides a battery charge and discharge management device, the device comprising:
[0032] A monitoring module, used to monitor whether the target power supply has power input and / or output;
[0033] an acquisition module, configured to acquire, in real time, the operating status information and current electric power of the target power source when the target power source has electric energy input and / or output;
[0034] A determination module, configured to determine adjustment parameters according to the working status information;
[0035] a calculation module, configured to calculate a power adjustment parameter value according to the adjustment parameter, the current electric power, and a preset adjustment formula;
[0036] The regulating module is configured to regulate the input and / or output of the target power source according to the power regulating parameter value and the current electric power.
[0037] In an optional embodiment, the device further comprises:
[0038] The alarm module is used to determine whether the adjusted power is within the input and / or output range of the target power supply, and to issue an alarm according to a preset alarm method when the adjusted power is not within the input and / or output range of the target power supply.
[0039] In a third aspect of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the battery charge and discharge management method as described above when executing the computer program.
[0040] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the battery charge and discharge management method described above are implemented.
[0041] In summary, this application has at least the following beneficial technical effects:
[0042] 1. Through real-time monitoring and dynamic adjustment of the power supply working status, it can ensure that the power supply operates in the optimal working range, reduce unnecessary energy consumption, and improve the regulation efficiency of the target power supply.
[0043] 2. Optimize power output by adjusting parameters to avoid system crashes due to power failures and enhance system stability and reliability.
[0044] 3. Reasonable power regulation can reduce the working time of the power supply under high load state, reduce the loss and aging caused by long-term high load operation, and thus extend the service life of the power supply.
[0045] 4. By adjusting parameters and adjustment formulas, it can be configured and modified according to actual needs. It has high flexibility and adaptability and is suitable for power management systems in different scenarios and needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0047] Figure 1 This is a flow chart of a battery charge and discharge management method provided in an embodiment of the present application;
[0048] Figure 2 This is a functional module diagram of a battery charge and discharge management device provided in an embodiment of the present application;
[0049] Figure 3 It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0051] like Figure 1 FIG2 is a flow chart of a battery charge and discharge management method according to an embodiment of the present application. The battery charge and discharge management method according to an embodiment of the present application includes the following steps.
[0052] Step S11 : monitoring whether the target power source has power input and / or output.
[0053] A sensor is installed in the target interface of the target power supply. When it detects current transmission at the target interface, the sensor generates a preset electrical signal and transmits it to the Battery Management System (BMS) circuit board, triggering a signal change in the BMS circuit board. The BMS circuit board detects this signal change and determines whether the target power supply is inputting and / or outputting power.
[0054] Step S12: When the target power source has power input and / or output, obtain the working status information and current power of the target power source in real time.
[0055] The operating status information includes, but is not limited to, battery temperature (hereinafter referred to as battery temperature in lieu of operating status information). The BMS circuit board acquires the battery temperature of the target power source in real time through an integrated temperature sensor and power detection sensor.
[0056] When it is determined that the target power supply has power input and / or output, a wired communication link with the target external device is established using the target interface. This process involves identifying and parsing the charge and discharge protocol followed by the external device to determine the charging or discharging mode that the target power supply should adopt. Subsequently, based on the identified charge and discharge protocol, a protocol handshake process is executed between the target power supply and the external device. This process is intended to establish a series of key parameters required during the charging or discharging process. These key parameters include, but are not limited to: the acceptable range of voltage and current, the basic power level, and the protection mechanisms implemented to ensure the safety of the transmission process, such as safety measures to prevent excessive current (overcurrent protection) and excessive temperature (overtemperature protection).
[0057] Step S13: determining adjustment parameters according to the working status information.
[0058] It should be understood that batteries generate heat during operation. This heat is transferred to the battery surface and captured by temperature sensors. The internal temperature of the battery directly reflects its workload, charge and discharge efficiency, and potential safety hazards. Battery performance (such as capacity, internal resistance, and charge and discharge efficiency) is significantly affected by temperature. Excessively high or low temperatures can lead to degraded battery performance and even cause safety issues. Therefore, monitoring battery temperature can indirectly assess the battery's operating status.
[0059] After the battery temperature is acquired, an adjustment parameter for adjusting the degree of influence of different factors on power regulation is determined according to a preset mapping table between the battery temperature and the adjustment parameter.
[0060] Step S14: Calculate a power adjustment parameter value according to the adjustment parameter, the current electric power, and a preset adjustment formula.
[0061] After obtaining the adjustment parameters and the current electric power, the BMS circuit board calculates the power adjustment parameter value using the following formula:
[0062] ∆P=K·g(T)·h(P);
[0063] Where ∆P is the power adjustment parameter, K is the adjustment sensitivity, g(T) is the temperature adjustment parameter, and h(P) is the power adjustment parameter. The value of K is related to the battery temperature of the current target power source.
[0064] At the same time, the temperature adjustment parameter is calculated by the following formula:
[0065] ;
[0066] Wherein, T is the battery temperature of the target power source obtained in real time, T opt is the optimal operating temperature of the target power supply, T range is the operating temperature range of the target power supply.
[0067] The power adjustment parameter is calculated by the following formula:
[0068] ;
[0069] Wherein, P is the current electric power of the target power source obtained in real time, P opt is the target power of the target power supply, P range is the input and / or output range of the target power supply.
[0070] Step S15: Regulate the input and / or output of the target power source according to the power regulation parameter value and the current electric power.
[0071] After obtaining the power regulation parameter value and the current power, the BMS circuit board calculates the regulated power using the following formula:
[0072] P1=P+∆P;
[0073] Where P is the current power of the target power source, acquired in real time, P1 is the adjusted power, and ∆P is the power adjustment parameter. A positive ∆P indicates a power increase; a negative ∆P indicates a power reduction. If the target power source is charging and ∆P is positive, the charging power is increased; if ∆P is negative, the charging power is reduced or charging is stopped. If the target power source is discharging and ∆P is positive, the discharging power is increased (within the battery's safe range); if ∆P is negative, the discharging power is reduced or discharging is limited.
[0074] In an optional embodiment, to prevent potential damage or failure caused by regulating power beyond the physical limitations or safety thresholds of the power supply, the method further includes:
[0075] determining whether the regulated power is within the input and / or output range of the target power supply;
[0076] When the regulated power is not within the input and / or output range of the target power supply, an alarm is issued according to a preset alarm method.
[0077] After calculating the regulated power using P1 = P + ∆P, it's necessary to determine whether the calculated regulated power, P1, is within the permitted input and / or output range of the target power supply. This range is typically determined by the power supply's physical characteristics, safety standards, and user requirements. For example, a lithium-ion battery has clear upper and lower limits for both charging and discharging power.
[0078] When the regulated power P1 falls outside the permitted range, the system will generate an alarm using a pre-defined alarm method. This alarm method may include, but is not limited to, audible alarms, visual alarms (such as a flashing LED), software interface prompts, and alarm information sent to a remote monitoring system. The purpose of the alarm is to promptly notify operators or system administrators so they can take appropriate measures to resolve the issue.
[0079] For example, consider a lithium-ion battery pack with a maximum charging power of 100W and a maximum discharging power of 200W. Currently, the battery pack is discharging at 50W. Using the regulation formula, ∆P = 20W. The regulated power, calculated as P1 = P + ∆P, is 70W. Since 70W is within the battery pack's maximum allowable discharge power of 200W, the regulated power P1 is within the allowable range, and no alarm is required.
[0080] When the adjustment formula obtains ∆P = 160W, the adjustment power obtained according to P1=P+∆P is 210W. Since 210W exceeds the maximum discharge power allowed by the battery pack, an alarm is required.
[0081] This application is applied to the field of battery management technology. This application uses sensors to monitor in real time whether a target power supply has an electrical energy input and / or output state. When it is detected that the target power supply has an electrical energy input and / or output, data collection is initiated to obtain the target power supply's operating status information and current electrical power value in real time. Based on the collected operating status information, an adjustment parameter is determined, and a preset adjustment formula is used to calculate the power adjustment parameter value to automatically adjust the input and / or output of the target power supply according to the power adjustment parameter value. This application ensures that the power supply operates in the optimal operating range through real-time monitoring and dynamic adjustment of the power supply's operating status, reduces unnecessary energy consumption, and improves the adjustment efficiency of the target power supply.
[0082] like Figure 2 , which is a functional module diagram of a battery charge and discharge management device provided in an embodiment of the present application.
[0083] In some embodiments, the battery charge and discharge management device 2 may include multiple functional modules composed of computer program segments. The computer programs of the various program segments in the battery charge and discharge management device 2 may be stored in a memory of a server and executed by at least one processor to perform (see Figure 1 Description) Function of battery charge and discharge management method.
[0084] In this embodiment, the battery charge and discharge management device 2 can be divided into multiple functional modules based on their functions. These functional modules may include a monitoring module 21, an acquisition module 22, a determination module 23, a calculation module 24, an adjustment module 25, and an alarm module 26. As used herein, a module refers to a series of computer program segments that can be executed by at least one processor and perform fixed functions, and are stored in a memory. The functions of each module in this embodiment will be described in detail in subsequent embodiments.
[0085] The monitoring module 21 is used to monitor whether there is power input and / or output from the target power supply.
[0086] The acquisition module 22 is configured to acquire the working status information and current electric power of the target power supply in real time when the target power supply has electric energy input and / or output.
[0087] The determination module 23 is configured to determine adjustment parameters according to the working status information.
[0088] The calculation module 24 is used to calculate the power adjustment parameter value according to the adjustment parameter, the current electric power and a preset adjustment formula.
[0089] In an optional embodiment, the calculation module 24 is specifically configured to:
[0090] The power adjustment parameter value is calculated by the following formula:
[0091] ∆P=K·g(T)·h(P);
[0092] Wherein, ∆P is the power adjustment parameter value, K is the adjustment sensitivity, g(T) is the temperature adjustment parameter, and h(P) is the power adjustment parameter.
[0093] In an optional embodiment, the calculation module 24 is further configured to:
[0094] The temperature adjustment parameter is calculated by the following formula:
[0095] ;
[0096] Wherein, T is the battery temperature of the target power source obtained in real time, T opt is the optimal operating temperature of the target power supply, T range is the operating temperature range of the target power supply.
[0097] In an optional embodiment, the calculation module 24 is further configured to:
[0098] The power adjustment parameter is calculated by the following formula:
[0099] ;
[0100] Wherein, P is the current electric power of the target power source obtained in real time, P opt is the target power of the target power supply, P range is the input and / or output range of the target power supply.
[0101] The regulating module 25 is configured to regulate the input and / or output of the target power source according to the power regulating parameter value and the current electric power.
[0102] In an optional embodiment, the adjustment module 25 is specifically configured to:
[0103] The regulated power is calculated using the following formula:
[0104] P1=P+∆P;
[0105] Wherein, P is the current electric power of the target power source obtained in real time, P1 is the adjusted power, and ∆P is the power adjustment parameter value;
[0106] The input and / or output of the target power supply is adjusted according to the adjustment power.
[0107] In an optional embodiment, the battery charging and discharging management method further comprises an alarm module 26, which is specifically configured to:
[0108] determining whether the adjusted power is within the input and / or output range of the target power supply;
[0109] when the adjusted power is not within the input and / or output range of the target power supply, alarming according to a preset alarming mode.
[0110] It should be understood that the various changes and specific embodiments of the method provided in the above embodiments are also applicable to the battery charging and discharging management device of the present embodiment. Through the foregoing detailed description of the battery charging and discharging management method, those skilled in the art can clearly understand the implementation method of the battery charging and discharging management device in the present embodiment. For the sake of brevity of the description, it will not be described in detail here.
[0111] As shown in FIG. 1, it is a structural schematic diagram of an electronic device provided by the present embodiment. Figure 3
[0112] In the preferred embodiment of the present application, the electronic device 3 can include, but is not limited to, a memory 31, at least one processor 32, and at least one communication bus 33.
[0113] Those skilled in the art should understand that the structure of the electronic device 3 shown is not a limitation of the present embodiment, and the electronic device 3 can also include more or less other hardware or software, or different component arrangements. Figure 3
[0114] In some embodiments, the electronic device 3 is a device capable of automatically performing numerical calculation and / or information processing according to pre-set or stored instructions. The hardware thereof includes, but is not limited to, a microprocessor, an application specific integrated circuit, a programmable gate array, a digital processor, and an embedded device, etc.
[0115] It should be noted that the electronic device 3 is only an example, and other existing or future electronic products, such as those that can be adapted to the present application, should also be included within the protection scope of the present application and are hereby incorporated by reference.
[0116] In some embodiments, the memory 31 stores a computer program that, when executed by the at least one processor 32, implements all or part of the steps in the battery charge and discharge management method. The memory 31 includes a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other optical disk storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data. Furthermore, the computer-readable storage medium may primarily include a program storage area and a data storage area. The program storage area may store an operating system, at least one application required for a function, and the like.
[0117] In some embodiments, the at least one processor 32 is the control core (Control Unit) of the electronic device 3. It connects the various components of the entire electronic device 3 using various interfaces and lines. It executes or runs programs or modules stored in the memory 31 and calls data stored in the memory 31 to perform various functions of the electronic device 3 and process data. For example, when the at least one processor 32 executes the computer program stored in the memory 31, it implements all or part of the steps of the battery charge and discharge management method described in the embodiments of the present application; or it implements all or part of the functions of the battery charge and discharge management device. The at least one processor 32 can be composed of an integrated circuit, such as a single packaged integrated circuit or multiple packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and a combination of various control chips.
[0118] In some embodiments, the at least one communication bus 33 is configured to enable communication between the memory 31 and the at least one processor 32. Although not shown, the electronic device 3 may also include a power supply (e.g., a battery) to power various components. Preferably, the power supply can be logically connected to the at least one processor 32 via a power management device, thereby enabling the power management device to manage charging, discharging, and power consumption. The power supply may also include one or more DC or AC power supplies, a recharging device, a power failure detection circuit, a power converter or inverter, a power status indicator, and other components. The electronic device 3 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be detailed here.
[0119] The above-mentioned integrated unit implemented in the form of a software functional module can be stored in a computer-readable storage medium. The above-mentioned software functional module stored in a storage medium includes a number of instructions for causing an electronic device (which can be a personal computer, electronic device, or network device, etc.) or a processor to execute portions of the methods described in various embodiments of the present application.
[0120] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the module division is only a logical function division, and other division methods may be used in actual implementation.
[0121] The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical units, and may be located in one place or distributed across multiple network elements. Some or all of the modules may be selected to achieve the purpose of this embodiment based on actual needs.
[0122] The above are all preferred embodiments of the present application, and are not intended to limit the scope of protection of the present application. Therefore, any equivalent changes made based on the structure, shape, and principle of the present application should be included in the scope of protection of the present application.
Claims
1. A battery charge and discharge management method, characterized in that: The method comprises: Monitor whether the target power supply has power input and / or output; When the target power source has power input and / or output, obtaining the working status information and current power of the target power source in real time; determining adjustment parameters according to the working status information; Calculating a power adjustment parameter value according to the adjustment parameter, the current electric power, and a preset adjustment formula; adjusting the input and / or output of the target power supply according to the power adjustment parameter value and the current electric power; Calculating the power adjustment parameter value according to the adjustment parameter, the current electric power, and a preset adjustment formula includes: The power adjustment parameter value is calculated by the following formula: ∆P=K·g(T)·h(P); Wherein, ∆P is the power adjustment parameter value, K is the adjustment sensitivity, g(T) is the temperature adjustment parameter, and h(P) is the power adjustment parameter; The temperature adjustment parameter is calculated by the following formula: ; Wherein, T is the battery temperature of the target power source obtained in real time, T opt is the optimal operating temperature of the target power supply, T range is the operating temperature range of the target power supply; The power adjustment parameter is calculated by the following formula: ; Wherein, P is the current electric power of the target power source obtained in real time, P opt is the target power of the target power supply, P range is the input and / or output range of the target power supply.
2. The battery charge and discharge management method according to claim 1, characterized in that: The adjusting the input and / or output of the target power supply according to the power adjustment parameter value and the current electric power includes: The regulated power is calculated using the following formula: P1=P+∆P; Wherein, P is the current electric power of the target power source obtained in real time, P1 is the adjusted power, and ∆P is the power adjustment parameter value; The input and / or output of the target power supply is adjusted according to the adjustment power.
3. The battery charge and discharge management method according to claim 2, characterized in that: The method further comprises: determining whether the regulated power is within the input and / or output range of the target power supply; When the regulated power is not within the input and / or output range of the target power supply, an alarm is issued according to a preset alarm method.
4. A battery charge and discharge management device, characterized in that: The device is used to execute the battery charge and discharge management method according to any one of claims 1 to 3, comprising: A monitoring module, used to monitor whether the target power supply has power input and / or output; an acquisition module, configured to acquire, in real time, the operating status information and current electric power of the target power source when the target power source has electric energy input and / or output; A determination module, configured to determine adjustment parameters according to the working status information; a calculation module, configured to calculate a power adjustment parameter value according to the adjustment parameter, the current electric power, and a preset adjustment formula; The regulating module is configured to regulate the input and / or output of the target power source according to the power regulating parameter value and the current electric power.
5. The battery charge and discharge management device according to claim 4, characterized in that: The device further comprises: The alarm module is used to determine whether the adjusted power is within the input and / or output range of the target power supply, and to issue an alarm according to a preset alarm method when the adjusted power is not within the input and / or output range of the target power supply.
6. An electronic device, characterized in that: The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the battery charge and discharge management method according to any one of claims 1 to 3 are implemented.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the battery charge and discharge management method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Power control method, power control device and vehicle
CN113022311A
Power regulation method and power regulation device of power supply and storage medium
CN116826926A