A battery heating method, apparatus, electronic device, and storage medium
By setting dual heating time periods in the battery management system and dynamically adjusting the heating mode and power based on photovoltaic output power and electricity price, the problem of insufficient intelligence in the battery heating system under low-temperature conditions is solved, and the charging and discharging performance of the battery is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GOODWE TECHNOLOGIES CO LTD
- Filing Date
- 2026-03-30
- Publication Date
- 2026-06-23
AI Technical Summary
Existing battery heating systems cannot dynamically adjust according to grid electricity prices and photovoltaic panel illumination conditions in low-temperature environments, resulting in a decline in battery charging and discharging performance.
By setting dual heating time periods in the battery management system, with the first heating time period set based on photovoltaic output power and the second heating time period set based on electricity price, and combining the cell's discharge capacity and temperature range, the heating mode and power are dynamically adjusted to achieve intelligent heating.
It improves the battery's charging and discharging performance, responds to customer requirements for charging speed and cost, and achieves intelligent adjustment and temperature control of the heating process.
Smart Images

Figure CN122267367A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of battery thermal management technology, and in particular to a battery heating method, apparatus, electronic device, and storage medium. Background Technology
[0002] In low-temperature environments, maintaining battery temperature is crucial for normal charging and discharging. Currently, this is achieved by installing a heating film on the battery to heat it and prevent excessively low temperatures from affecting charging and discharging. However, most current battery cell heating control logics rely on a single temperature threshold and have a fixed heating time window. This lack of dynamic adjustment based on grid electricity prices and photovoltaic (PV) light conditions results in insufficient intelligence in the battery heating system, leading to a decline in battery charging and discharging performance.
[0003] It is evident that how to intelligently heat batteries to improve their charging and discharging performance is a problem that needs to be solved by those skilled in the art. Summary of the Invention
[0004] The purpose of this application is to provide a battery heating method, apparatus, electronic device, and storage medium that can improve battery charging and discharging performance.
[0005] This application provides a battery heating method, applicable to a battery management system, the method comprising: The first heating period of the battery is obtained from the first segment register; wherein, the first heating period is set according to the photovoltaic output power; When the current time is in the first heating period, the heating mode is determined according to the discharge capacity of the battery cell, and the battery cell is heated and charged according to the power and temperature range corresponding to the heating mode. If the battery supports two-stage heating, the second heating time period of the battery is obtained from the second stage register; wherein, the second heating time period is set according to the electricity price. When the current time is in the second heating period, the heating mode is determined according to the discharge capacity of the battery cell, and the battery cell is heated and the battery is charged according to the power and temperature range corresponding to the heating mode.
[0006] On the one hand, the cell is heated and the battery is charged according to the power and temperature range corresponding to the heating mode, including: When the heating mode is the first power mode, power is supplied to the heating device within the first temperature range to heat the battery cell; when the battery temperature reaches the upper limit of the first temperature range, the battery is charged according to the first power. When the heating mode is the second power mode, power is supplied to the heating device within the second temperature range to heat the battery cell; when the battery temperature reaches the upper limit of the second temperature range, the battery is charged according to the second power. When the heating mode is the third power mode, power is supplied to the heating device within the third temperature range to heat the battery cell; when the battery temperature reaches the upper limit of the third temperature range, the battery is charged according to the third power; wherein, the first power is less than the second power, the second power is less than the third power; the upper limit of the first temperature range is less than the lower limit of the second temperature range; the upper limit of the second temperature range is less than the lower limit of the third temperature range.
[0007] On the one hand, the battery includes a first battery and a second battery; regarding the method for determining whether the battery supports two-stage heating, the method also includes: Read the enable bit for the first heating period from the first function configuration register of the first battery; If the enable bit is enabled during the first heating period, it is determined that the first battery supports two heating stages. Read the second heating time period enable bit from the second function configuration register of the second battery; If the enable bit is enabled during the second heating period, it is determined that the second battery supports two heating stages.
[0008] On the one hand, when the battery supports two-stage heating, the second heating time period of the battery is obtained from the second-stage register, including: When the first battery supports two heating stages, the heating start time and heating end time of the first battery are read from the second stage register corresponding to the first battery. When the second battery supports two-stage heating, the start time and end time of heating of the second battery are read from the second stage register corresponding to the second battery.
[0009] On the one hand, after heating the battery cell and charging the battery according to the power and temperature range corresponding to the heating mode, it also includes: Upon receiving an off-grid signal from the inverter, heating of the battery cells is stopped.
[0010] On the one hand, after heating the battery cell and charging the battery according to the power and temperature range corresponding to the heating mode, it also includes: When the inverter is not available for charging and the ambient temperature is below the set temperature threshold, the remaining battery power is detected. When the remaining battery charge is below the set capacity threshold, heating of the battery cell will be stopped.
[0011] On the one hand, it also includes: Upon receiving a battery status query command from the inverter, the system sends feedback on the battery status to the inverter so that the inverter can relay the battery status to the client. The battery status includes whether the battery heating function is enabled and the heating mode.
[0012] This application embodiment also provides a battery heating device, including a receiving unit, a heating unit, and an acquiring unit; The receiving unit is used to obtain the first heating period of the battery from the first segment register; wherein the first heating period is set according to the photovoltaic output power; The heating unit is used to determine the heating mode based on the discharge capacity of the battery cell when the current time is in the first heating period, and to perform heating operation on the battery cell and charging operation on the battery according to the power and temperature range corresponding to the heating mode. The acquisition unit is used to acquire the second heating time period of the battery from the second stage register when the battery supports two-stage heating; wherein the second heating time period is set according to the electricity price. The heating unit is also used to determine the heating mode based on the cell's discharge capacity when the current time is in the second heating period, and to perform heating operations on the cell and charging operations on the battery according to the power and temperature range corresponding to the heating mode.
[0013] This application also provides an electronic device, including: a memory for storing a computer program; and a processor for executing the computer program to implement the steps of any of the above-described battery heating methods.
[0014] This application also provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of any of the above-described battery heating methods.
[0015] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the above-described battery heating methods.
[0016] As can be seen from the above technical solution, the battery management system obtains the first heating period of the battery from the first register. Considering that the battery can be fast-charged under good photovoltaic conditions, the battery can be heated in advance under good photovoltaic conditions to ensure that the battery reaches the optimal temperature required for fast charging. Therefore, the first heating period can be set according to the photovoltaic output power. When the current time is within the first heating period, the heating mode is determined according to the discharge capacity of the battery cell, and the battery cell is heated and charged according to the power and temperature range corresponding to the heating mode. It is then determined whether the battery supports two-stage heating. If the battery supports two-stage heating, the second heating period of the battery is obtained from the second register; the second heating period is set according to the electricity price. When the current time is within the second heating period, the heating mode is determined according to the discharge capacity of the battery cell, and the battery cell is heated and charged according to the power and temperature range corresponding to the heating mode. This technical solution supports customer-defined heating time periods, allowing for the addition of two heating time periods based on customer needs. The first heating time period is set according to photovoltaic illumination conditions, enabling rapid battery charging and meeting customer requirements for charging speed. The second heating time period is set according to grid electricity prices, enabling low-cost charging and meeting customer requirements for charging costs. This solution utilizes dual time periods and simultaneously heats the battery cells using heating modes matched to their discharge capacity. Different heating modes correspond to different power and temperature ranges. Real-time monitoring of battery temperature changes during heating ensures that the battery is charged within a suitable temperature range, achieving intelligent adjustment of the heating process and improving battery charging and discharging performance. Attached Figure Description
[0017] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 A flowchart illustrating a battery heating method provided in this application embodiment; Figure 2 This is a schematic diagram of a battery heating device provided in an embodiment of this application. Detailed Implementation
[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this application.
[0020] The terms "comprising" and "having," and any variations thereof, in the specification and accompanying drawings of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may include steps or units not listed.
[0021] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0022] Current battery heating solutions have fixed heating time windows and cannot be adjusted for heating timing. They cannot preheat according to the low electricity price of the grid and the peak power generation of photovoltaic panels (PV), resulting in low charging efficiency. They also have a single power mode that cannot match the actual temperature requirements of the battery. Furthermore, they lack a power protection mechanism, which may cause the battery to shut down completely due to self-heating when the temperature is low and the power is low.
[0023] Therefore, this application provides a battery heating method, apparatus, electronic device, and storage medium, which can support the setting of dual heating time periods according to customers' needs for fast charging and low-cost charging. The first heating time period is set based on the photovoltaic output power; the second heating time period is set based on the electricity price. Furthermore, the heating mode can be determined based on the discharge capacity of the battery cell, achieving intelligent management of the heating power. The battery heating solution provided in this application is mainly suitable for low-temperature environments, solving the problems of decreased battery charging and discharging performance and insufficient intelligence in low-temperature environments.
[0024] Next, a battery heating method provided by the embodiments of this application will be described in detail. Figure 1 A flowchart of a battery heating method provided in this application embodiment, the method including: S101: Obtain the first heating period of the battery from the first segment register.
[0025] The first heating period can be set according to the photovoltaic output power.
[0026] This application adds a function that allows customers to set the heating period. The battery heating function should be enabled by default at the factory, and after the customer sets the heating period, it will operate according to the customer's set heating period.
[0027] Battery heating primarily applies to batteries equipped with heating devices. In practical applications, the Customer Setting Platform (SEMS) determines which batteries have heating devices and which do not based on battery index values; batteries with heating devices can have their corresponding heating time periods set.
[0028] Heating devices include, but are not limited to, heating films, resistance wire heaters, liquid circulation heaters, silicone film heaters, or positive temperature coefficient (PTC) ceramic plate heaters.
[0029] The battery has a default 24-hour heating time. Batteries with heating devices have heating enabled by default, and the default heating mode is low-power mode. If the customer sets a heating time period and mode, the battery will be heated according to the customer's settings. If the battery's internal time storage expires, the 24-hour heating mode will be restored, and the customer will need to set the heating time period again.
[0030] Taking the first heating period as an example, heating can be carried out at a fixed time during the day. It is best to heat it in advance before charging the battery during the day to ensure that the battery can be charged at high power when the PV light intensity is high.
[0031] In this application, the heating time is determined according to project requirements. Specifically, it is limited based on the power of the heating device and the temperature at which the battery reaches its minimum rechargeable power (0.3P) after heating in ambient temperature, to ensure that the heating time meets the requirement of the battery reaching its minimum rechargeable power after heating at low temperature. The heating time can be set to at least 3 hours (h), that is, the heating end time ≥ heating start time + 3 hours.
[0032] In practical applications, the time required for the battery cell temperature to reach the minimum rechargeable power can be determined based on experimental data and in consultation with cell engineers. This process should cover as many projects as possible before being output to the project platform. Considering that the customer may not start charging after the battery temperature reaches the required charging temperature, potentially causing the battery temperature to drop and increasing the customer's power consumption, and taking into account the battery's own heat preservation requirements, a minimum fixed time of 3 hours is generally used.
[0033] The heating time can be set to 3 hours by default. In extreme cases, such as when the temperature needs to rise from -20°C to 25°C for 4 hours, the heating time can be set to 4 hours.
[0034] Taking a heating time of 3 hours as an example, assuming that the photovoltaic output power reaches the power required for charging at 9:00 AM, then the 3 hours before 9:00 AM, i.e., 6:00 AM, can be taken as the heating start time of the first heating period, and 9:00 AM can be taken as the heating end time of the first heating period.
[0035] It should be noted that the battery heating process may not be continuous during the heating period. There may be instances where the battery temperature reaches its upper temperature limit. When the battery temperature reaches the upper temperature limit, heating can be stopped and charging can begin. During the first heating period, if the battery temperature drops back to the lower temperature limit, heating will resume. Furthermore, besides the battery supplying power to the heating device for cell heating, the inverter can also supply power to the heating device for cell heating. Therefore, battery charging may occur during the first heating period; that is, charging does not necessarily begin only after the first heating period ends.
[0036] In practical applications, customers can send heating time periods to the inverter via SEMS. The inverter will then feed back the heating time periods to the Battery Management System (BMS), which are stored in the first register. The BMS can directly read the first heating time period from the first register.
[0037] S102: When the current time is in the first heating period, determine the heating mode according to the discharge capacity of the battery cell, and perform heating operation on the battery cell and charging operation on the battery according to the power and temperature range corresponding to the heating mode.
[0038] If the current time is within the first heating period, the battery heating will begin immediately.
[0039] Different battery cells have different discharge capacities. To improve battery charging and discharging performance, various heating modes can be set.
[0040] This application describes three heating modes as examples, which can be referred to as the first power mode, the second power mode, and the third power mode. In order of increasing power, the three heating modes are low power mode, medium power mode, and high power mode, respectively. The low power mode is used when the cell's discharge capability is weak, the medium power mode is used when the cell's discharge capability is moderate, and the high power mode is used when the cell's discharge capability is strong.
[0041] When the heating mode is the first power mode, power is supplied to the heating device within the first temperature range to heat the battery cell; when the battery temperature reaches the upper limit of the first temperature range, the battery is charged according to the first power.
[0042] When the heating mode is the second power mode, power is supplied to the heating device within the second temperature range to heat the battery cell; when the battery temperature reaches the upper limit of the second temperature range, the battery is charged according to the second power.
[0043] When the heating mode is the third power mode, power is supplied to the heating device within the third temperature range to heat the battery cell; when the battery temperature reaches the upper limit of the third temperature range, the battery is charged according to the third power.
[0044] Wherein, the first power is less than the second power, the second power is less than the third power; the upper limit of the first temperature range is less than the lower limit of the second temperature range; and the upper limit of the second temperature range is less than the lower limit of the third temperature range.
[0045] By dynamically adjusting the heating power to match the cell's discharge capacity, safe and efficient battery self-heating and charging operations are achieved.
[0046] In practical applications, the following modes are used: Low power mode: The battery can be charged with a power of 0.2P or less, activated when the minimum temperature is <5℃ and deactivated when the minimum temperature is ≥7℃. Medium power mode: The battery can be charged with a power of 0.5P or less, activated when the minimum temperature is <10℃ and deactivated when the minimum temperature is ≥12℃. High power mode: The battery can be charged with a power of 0.7P or less, activated when the minimum temperature is <15℃ and deactivated when the minimum temperature is ≥17℃.
[0047] Taking low-power mode as an example, the heating function is activated when the battery temperature is below 5℃ and deactivated when the battery temperature reaches 7℃. This means that the battery heating operation is activated when the battery temperature is below 5℃ and deactivated when the battery temperature reaches 7℃. At this time, the battery can be charged at a power of less than 0.2P. If the battery temperature drops to 5℃ again during the first heating period, the battery heating operation is activated again and deactivated when the battery temperature reaches 7℃. At this time, the battery can be charged at a power of less than 0.2P.
[0048] S103: If the battery supports two-stage heating, obtain the second heating time period of the battery from the second stage register.
[0049] To achieve low-cost charging, the second heating period can be set according to electricity prices.
[0050] Assuming electricity prices are cheaper after midnight, and taking a heating time of 3 hours as an example, 9 PM can be set as the start time for the second heating period, and midnight as the end time. This ensures that the battery temperature reaches the level required for fast charging at midnight, achieving both low-cost charging and improved charging efficiency.
[0051] S104: When the current time is in the second heating period, determine the heating mode according to the discharge capacity of the battery cell, and perform heating operation on the battery cell and charging operation on the battery according to the power and temperature range corresponding to the heating mode.
[0052] When the current time is in the second heating period, the implementation of heating the battery cell and charging the battery can be found in the description of S102, and will not be repeated here.
[0053] As can be seen from the above technical solution, the battery management system obtains the first heating period of the battery from the first register. Considering that the battery can be fast-charged under good photovoltaic conditions, the battery can be heated in advance under good photovoltaic conditions to ensure that the battery reaches the optimal temperature required for fast charging. Therefore, the first heating period can be set according to the photovoltaic output power. When the current time is within the first heating period, the heating mode is determined according to the discharge capacity of the battery cell, and the battery cell is heated and charged according to the power and temperature range corresponding to the heating mode. It is then determined whether the battery supports two-stage heating. If the battery supports two-stage heating, the second heating period of the battery is obtained from the second register; the second heating period is set according to the electricity price. When the current time is within the second heating period, the heating mode is determined according to the discharge capacity of the battery cell, and the battery cell is heated and charged according to the power and temperature range corresponding to the heating mode. This technical solution supports customer-defined heating time periods, allowing for the addition of two heating time periods based on customer needs. The first heating time period is set according to photovoltaic illumination conditions, enabling rapid battery charging and meeting customer requirements for charging speed. The second heating time period is set according to grid electricity prices, enabling low-cost charging and meeting customer requirements for charging costs. This solution utilizes dual time periods and simultaneously heats the battery cells using heating modes matched to their discharge capacity. Different heating modes correspond to different power and temperature ranges. Real-time monitoring of battery temperature changes during heating ensures that the battery is charged within a suitable temperature range, achieving intelligent adjustment of the heating process and improving battery charging and discharging performance.
[0054] In practical applications, the battery is typically configured with two circuits: a first circuit and a second circuit. Each circuit can have its own register to store the heating time period.
[0055] Taking the first heating period as an example, the first battery corresponds to registers 47938~47939; the second battery corresponds to registers 47940~47941; among them, 47938 and 47940 are used as registers to store the heating start time, and 47939 and 47941 are used as registers to store the heating end time; 0~2 bits represent min, and 3~7 bits represent 24 hours; if the end time is less than the start time, it is considered that the end time is the next day.
[0056] In this application, a function configuration register can be set for each battery to indicate whether the battery supports two heating time periods. For ease of distinction, the function configuration register corresponding to the first battery can be called the first function configuration register, and the function configuration register corresponding to the second battery can be called the second function configuration register.
[0057] The method for determining whether a battery supports two-stage heating can include: reading the first heating time period enable bit from the first function configuration register of the first battery; if the first heating time period enable bit is enabled, determining that the first battery supports two-stage heating. Then, reading the second heating time period enable bit from the second function configuration register of the second battery; if the second heating time period enable bit is enabled, determining that the second battery supports two-stage heating.
[0058] In the function configuration register, bit 12 is the two-stage heating time period enable flag. When bit 12 is set to 1, it means that the battery allows setting and executing two independent heating time periods; when bit 12 is set to 0, only a single heating time period configuration is supported.
[0059] The first channel configuration register 37094, with bit 12 set to 1, indicates that the first channel battery has two heating periods. The second channel configuration register 39093, with bit 12 set to 1, indicates that the second channel battery has two heating periods.
[0060] For batteries that support two heating periods, the client application (app) settings page will display that two heating periods can be set.
[0061] The second heating time period can be recorded in the second register. If the first battery supports two heating stages, the start and end times of heating for the first battery are read from the second register corresponding to the first battery. If the second battery supports two heating stages, the start and end times of heating for the second battery are read from the second register corresponding to the second battery.
[0062] For example, the second register is set as follows: The register for the start time of heating of the first battery is 47942; the register for the end time of heating of the first battery is 47943; the register for the start time of heating of the second battery is 47944; and the register for the end time of heating of the second battery is 47945.
[0063] In this embodiment, the battery heating state is set by default to activate heating if communication is available during the customer-defined heating period; otherwise, heating is deactivated. If communication is interrupted during the heating period, heating is stopped. Outside the heating period, heating is deactivated regardless of communication availability.
[0064] Therefore, when heating the battery cell and charging the battery according to the power and temperature range corresponding to the heating mode, if an off-grid signal is received from the inverter, the heating of the battery cell will be stopped.
[0065] When controlling heating with a BMS, factors such as its own power capacity, the heating requirements of different projects, the power supply method of the heating devices in different projects, and whether the temperature reaches the target temperature within the customer-set time should be considered. The power supply method for the heating devices can include both battery self-powering and inverter powering.
[0066] After heating the battery cells and charging the battery according to the power and temperature range corresponding to the heating mode, if the inverter does not have charging conditions and the ambient temperature is lower than the set temperature threshold, the remaining battery power is detected; if the remaining battery power is lower than the set capacity threshold, heating the battery cells is stopped.
[0067] The remaining battery capacity can be represented by the battery's State of Charge (SOC). When the temperature is low, the battery's reserved capacity should not be less than 10%. Therefore, when the SOC drops to 10%, it is hard-locked to prevent the battery from shutting down due to low temperature.
[0068] When the inverter sends a no-communication signal to the battery, it indicates that the inverter is in an off-grid state. If the inverter is in an off-grid state, and there is no sunlight from the PV source or AC grid connection, it means the inverter is not capable of charging.
[0069] Meanwhile, when the temperature is below 0℃, the battery can only discharge to 10% of its SOC, thus preventing the battery from shutting down due to low temperatures. This allows the battery to be heated to a rechargeable temperature range during the day when there is sunlight from the PV.
[0070] In this embodiment, a feedback communication function is added between the BMS and the inverter to provide feedback on whether battery heating is on and the heating mode. Upon receiving a battery status query command from the inverter, the BMS sends feedback on the battery status to the inverter, enabling the inverter to relay the battery status to the client. The battery status may include whether the battery heating function is on and the heating mode.
[0071] When the inverter restarts and establishes communication, it can query the battery status. The battery management system (BMS) then replies to the inverter's processor (ARM) indicating whether the battery heating is on. The ARM sends this status to the platform, which displays the current heating device status and heating mode when the customer opens the battery heating page.
[0072] In practical applications, the manual can remind customers that differences in battery installation environment and space can affect the temperature at which battery heating is turned on and off.
[0073] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method.
[0074] Figure 2 A schematic diagram of a battery heating device provided in an embodiment of this application includes a receiving unit 21, a heating unit 22, and an acquisition unit 23; The receiving unit 21 is used to obtain the first heating time period of the battery from the first segment register; wherein the first heating time period is set according to the photovoltaic output power; The heating unit 22 is used to determine the heating mode based on the discharge capacity of the battery cell when the current time is in the first heating period, and to perform heating operation on the battery cell and charging operation on the battery according to the power and temperature range corresponding to the heating mode. Acquisition unit 23 is used to acquire the second heating time period of the battery from the second stage register when the battery supports two-stage heating; wherein the second heating time period is set according to the electricity price. The heating unit 22 is also used to determine the heating mode based on the discharge capacity of the battery cell when the current time is in the second heating period, and to perform heating operation on the battery cell and charging operation on the battery according to the power and temperature range corresponding to the heating mode.
[0075] In some embodiments, the heating unit includes a first control subunit, a second control subunit, and a third control subunit; The first control subunit is used to supply power to the heating device within a first temperature range when the heating mode is the first power mode, so as to heat the battery cell; and to charge the battery according to the first power when the battery temperature reaches the upper limit of the first temperature range. The second control subunit is used to supply power to the heating device within a second temperature range when the heating mode is the second power mode, so as to heat the battery cell; and to charge the battery according to the second power when the battery temperature reaches the upper limit of the second temperature range. The second control subunit is used to supply power to the heating device within a third temperature range to heat the battery cell when the heating mode is the third power mode; and to charge the battery according to the third power when the battery temperature reaches the upper limit of the third temperature range; wherein the first power is less than the second power, the second power is less than the third power; the upper limit of the first temperature range is less than the lower limit of the second temperature range; and the upper limit of the second temperature range is less than the lower limit of the third temperature range.
[0076] In some embodiments, the battery includes a first battery and a second battery; the device further includes a first reading unit, a first determination unit, a second reading unit, and a second determination unit to determine whether the battery supports two-stage heating. The first reading unit is used to read the first heating time period enable bit from the first function configuration register of the first battery; The first determination unit is used to determine that the first battery supports two heating stages when the enable bit is effectively enabled during the first heating time period. The second reading unit is used to read the second heating time period enable bit from the second function configuration register of the second battery; If the enable bit is enabled during the second heating period, the second determination unit determines that the second battery supports two heating stages.
[0077] In some embodiments, the acquisition unit is configured to read the heating start time and heating end time of the first battery from the second segment register corresponding to the first battery when the first battery supports two-stage heating; and to read the heating start time and heating end time of the second battery from the second segment register corresponding to the second battery when the second battery supports two-stage heating.
[0078] In some embodiments, a stop unit is also included; The stop unit is used to stop heating the battery cells upon receiving an off-grid signal from the inverter.
[0079] In some embodiments, a detection unit and a stop unit are also included; The detection unit is used to detect the remaining battery power when the inverter is not available for charging and the ambient temperature is below a set temperature threshold. The stop unit is used to stop heating the battery cell when the remaining battery power is lower than a set capacity threshold.
[0080] In some embodiments, a feedback unit is also included; The feedback unit is used to send the battery status back to the inverter when it receives the battery status query command sent by the inverter, so that the inverter can send the battery status back to the client; wherein, the battery status includes whether the battery heating function is on and the heating mode.
[0081] Figure 2 The description of the features in the corresponding embodiments can be found in [reference needed]. Figure 1 The relevant descriptions of the corresponding embodiments will not be repeated here.
[0082] As can be seen from the above technical solution, the battery management system obtains the first heating period of the battery from the first register. Considering that the battery can be fast-charged under good photovoltaic conditions, the battery can be heated in advance under good photovoltaic conditions to ensure that the battery reaches the optimal temperature required for fast charging. Therefore, the first heating period can be set according to the photovoltaic output power. When the current time is within the first heating period, the heating mode is determined according to the discharge capacity of the battery cell, and the battery cell is heated and charged according to the power and temperature range corresponding to the heating mode. It is then determined whether the battery supports two-stage heating. If the battery supports two-stage heating, the second heating period of the battery is obtained from the second register; the second heating period is set according to the electricity price. When the current time is within the second heating period, the heating mode is determined according to the discharge capacity of the battery cell, and the battery cell is heated and charged according to the power and temperature range corresponding to the heating mode. This technical solution supports customer-defined heating time periods, allowing for the addition of two heating time periods based on customer needs. The first heating time period is set according to photovoltaic illumination conditions, enabling rapid battery charging and meeting customer requirements for charging speed. The second heating time period is set according to grid electricity prices, enabling low-cost charging and meeting customer requirements for charging costs. This solution utilizes dual time periods and simultaneously heats the battery cells using heating modes matched to their discharge capacity. Different heating modes correspond to different power and temperature ranges. Real-time monitoring of battery temperature changes during heating ensures that the battery is charged within a suitable temperature range, achieving intelligent adjustment of the heating process and improving battery charging and discharging performance.
[0083] Embodiments of this application also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the battery heating method embodiments described above.
[0084] Embodiments of this application also provide a computer-readable storage medium storing a computer program configured to execute the steps in any of the above-described battery heating method embodiments when running.
[0085] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0086] An embodiment of this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above-described battery heating method embodiments.
[0087] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in any of the above-described battery heating method embodiments.
[0088] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0089] The foregoing has provided a detailed description of a battery heating method, apparatus, electronic device, computer-readable storage medium, and computer program product provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only intended to aid in understanding the method and core ideas of this application. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of this application.
Claims
1. A battery heating method, characterized in that, Applicable to a battery management system, the method includes: The first heating period of the battery is obtained from the first segment register; wherein, the first heating period is set according to the photovoltaic output power; When the current time is within the first heating period, the heating mode is determined according to the discharge capacity of the battery cell, and the battery cell is heated and charged according to the power and temperature range corresponding to the heating mode. When the battery supports two-stage heating, the second heating time period of the battery is obtained from the second stage register; wherein, the second heating time period is set according to the electricity price; When the current time is within the second heating period, the heating mode is determined according to the discharge capacity of the battery cell, and the battery cell is heated and the battery is charged according to the power and temperature range corresponding to the heating mode.
2. The battery heating method according to claim 1, characterized in that, Heating the battery cell and charging the battery according to the power and temperature range corresponding to the heating mode include: When the heating mode is the first power mode, power is supplied to the heating device within the first temperature range to heat the battery cell; when the battery temperature reaches the upper limit of the first temperature range, the battery is charged according to the first power. When the heating mode is the second power mode, power is supplied to the heating device within the second temperature range to heat the battery cell; when the battery temperature reaches the upper limit of the second temperature range, the battery is charged according to the second power. When the heating mode is the third power mode, power is supplied to the heating device within the third temperature range to heat the battery cell; when the battery temperature reaches the upper limit of the third temperature range, the battery is charged according to the third power; wherein, the first power is less than the second power, the second power is less than the third power; the upper limit of the first temperature range is less than the lower limit of the second temperature range; and the upper limit of the second temperature range is less than the lower limit of the third temperature range.
3. The battery heating method according to claim 1, characterized in that, The battery includes a first battery and a second battery; Regarding the method for determining whether a battery supports two-stage heating, the method further includes: Read the enable bit for the first heating period from the first function configuration register of the first battery; If the enable bit is enabled during the first heating period, it is determined that the first battery supports two heating stages. Read the second heating time period enable bit from the second function configuration register of the second battery; If the enable bit is enabled during the second heating period, it is determined that the second battery supports two heating stages.
4. The battery heating method according to claim 3, characterized in that, When the battery supports two-stage heating, the second heating time period of the battery is obtained from the second-stage register, including: When the first battery supports two heating stages, the heating start time and heating end time of the first battery are read from the second segment register corresponding to the first battery. When the second battery supports two-stage heating, the start time of heating for the second battery and the end time of heating for the second battery are read from the second-stage register corresponding to the second battery.
5. The battery heating method according to claim 1, characterized in that, After heating the battery cell and charging the battery according to the power and temperature range corresponding to the heating mode, the process further includes: Upon receiving an off-grid signal from the inverter, heating of the battery cell is stopped.
6. The battery heating method according to claim 1, characterized in that, After heating the battery cell and charging the battery according to the power and temperature range corresponding to the heating mode, the process further includes: When the inverter is not available for charging and the ambient temperature is below a set temperature threshold, the remaining charge of the battery is detected. When the remaining charge of the battery is lower than a set capacity threshold, heating of the battery cell is stopped.
7. The battery heating method according to claim 1, characterized in that, Also includes: Upon receiving a battery status query command from the inverter, the system feeds back the battery status to the inverter so that the inverter can then relay the battery status to the client. The battery status includes whether the battery heating function is enabled and the heating mode.
8. A battery heating device, characterized in that, It includes a receiving unit, a heating unit, and an acquisition unit; The receiving unit is used to obtain the first heating time period of the battery from the first segment register; wherein the first heating time period is set according to the photovoltaic output power. The heating unit is used to determine the heating mode based on the discharge capacity of the battery cell when the current time is within the first heating time period, and to perform heating operation on the battery cell and charging operation on the battery according to the power and temperature range corresponding to the heating mode. The acquisition unit is used to acquire the second heating time period of the battery from the second stage register when the battery supports two-stage heating; wherein the second heating time period is set according to the electricity price. The heating unit is also used to determine the heating mode based on the discharge capacity of the battery cell when the current time is in the second heating period, and to perform heating operation on the battery cell and charging operation on the battery according to the power and temperature range corresponding to the heating mode.
9. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the battery heating method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the battery heating method as described in any one of claims 1 to 7.