A parallel system upgrade method, device and parallel system

By confirming the battery pack successfully connected to the inverter unit in the parallel system and adjusting the power parameters, the safety problem of firmware upgrade in an environment that cannot be powered off is solved, and the safety upgrade under continuous power is achieved, which improves the User experience and system security.

CN114201194BActive Publication Date: 2024-12-03NINGDE AMPEREX TECHNOLOGY LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111406657.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-24
Publication Date
2024-12-03
Estimated Expiration
2041-11-24

AI Technical Summary

Technical Problem

When upgrading firmware in the parallel system, power is required to be cut off to ensure safety, which will not be able to be applied in an environment where power is not cut off, and you need to make an appointment with the user in advance to increase the upgrade time, affecting the user experience.

Method used

By receiving firmware upgrade files, confirm the battery pack that is successfully connected to the inverter unit, and adjust the power parameters of the machine system according to the power parameters of other battery packs, so as to upgrade the battery pack under constant power to avoid the output of the inverter unit Excessive power reduces the risk of overpower.

Benefits of technology

It realizes the firmware upgrade of the parallel system safely under constant power, improves the security and user experience of the upgrade process, and avoids risks caused by excessive power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114201194B_ABST
    Figure CN114201194B_ABST
Patent Text Reader

Abstract

The embodiments of the present application relate to the field of energy storage technology, and in particular, to a parallel system upgrade method, device, and parallel system. The method includes: receiving a firmware upgrade file; confirming a battery pack that is successfully connected to an inverter unit; the battery pack that is successfully connected to the inverter unit is upgraded based on the firmware upgrade file; for the battery pack that is successfully connected to the inverter unit, confirming other battery packs other than those being prepared for upgrade; and adjusting the power parameters of the parallel system according to the power parameters of each of the other battery packs. In the above manner, it is possible to achieve successive upgrades of battery packs, while other battery packs that are not being upgraded can still be connected to the parallel system, and because the power parameters of the inverter unit are adjusted according to other battery packs, the risk of overpower of the parallel system is reduced, thereby improving the safety of the firmware upgrade of the parallel system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of energy storage technology, and specifically to a parallel system upgrade method, device, and parallel system. Background Art

[0002] In the field of energy storage technology, a parallel system is a system that connects multiple battery packs in parallel to facilitate power supply to the load. The battery pack includes a control unit and a battery module. External devices include inverters, power grids, and photovoltaic power generation systems, which can charge the battery module. The control unit is used to manage the charging and discharging of the battery module. As the load or external device is updated or upgraded, the control unit in the parallel system also needs to be upgraded in firmware. Summary of the invention

[0003] In the process of implementing this application, the applicant found that when upgrading the firmware of the parallel system, the parallel system needs to be powered off to ensure the safety of the parallel system, which is not conducive to the application of the parallel system in an environment where power cannot be cut off, and it is necessary to make an appointment with the user in advance for the upgrade time, which affects the user's electricity consumption and reduces the user experience.

[0004] In view of the above problems, the embodiments of the present application provide a parallel system upgrade method, device and parallel system, which improve the above technical problems faced when performing firmware upgrade on the parallel system.

[0005] According to one aspect of an embodiment of the present application, a method for upgrading a parallel system is provided. The parallel system includes a plurality of battery packs electrically connected to an inverter unit, the battery packs include a control unit and a battery module, and the control unit is electrically connected to the battery module and the inverter unit, respectively. The method includes: receiving a firmware upgrade file, confirming a battery pack that is successfully connected to the inverter unit, and upgrading the battery pack that is successfully connected to the inverter unit based on the firmware upgrade file. For the battery pack that is successfully connected to the inverter unit, confirm other battery packs except those that are ready for upgrade, and adjust the power parameters of the parallel system according to the power parameters of each of the other battery packs.

[0006] Through the above method, in the process of upgrading the battery pack, first confirm the battery pack in preparation for upgrading and other battery packs except the battery pack in preparation for upgrading, and then adjust the power parameters of the parallel system according to the power parameters of each battery pack in the other battery packs, so that the parallel system can upgrade the battery pack without power failure, that is, during the firmware upgrade of the parallel system, the inverter unit can still discharge the parallel system in real time. At the same time, since the power parameters of the parallel system are adjusted when the battery pack in preparation for upgrading is upgraded, it is possible to avoid the inverter unit outputting too high power to cause other battery packs to have overpower, reduce the risk of overpower of the parallel system, and improve the safety of the firmware upgrade of the parallel system.

[0007] The power parameter may be a maximum charge and discharge power SOP (State of Power).

[0008] In an optional manner, the battery packs in the parallel system are connected in parallel.

[0009] In an optional manner, the inverter unit includes an inverter, and each battery pack in the parallel system includes a main battery pack, which is communicatively connected to the inverter via a communication line. Each battery pack except the main battery pack is a slave battery pack, and each slave battery pack is communicatively connected to the main battery pack via a communication line.

[0010] In an optional manner, the control unit in the main battery pack is a main control unit, and the main control unit can receive a firmware upgrade file so that the main control unit can perform a firmware upgrade.

[0011] In an optional manner, the control unit in the slave battery pack is a slave control unit, and the master control unit can send the received firmware upgrade file to each slave control unit to facilitate each slave control unit to perform firmware upgrade.

[0012] In an optional manner, the power parameters include a maximum discharge current and a maximum charge current. According to the power parameters of each battery pack in the other battery packs, the power parameters of the parallel system are adjusted, further comprising: obtaining a first minimum value of the maximum discharge current of each battery pack in the other battery packs, multiplying the number of the other battery packs by the first minimum value to obtain the maximum discharge current allowed by the parallel system, and / or obtaining a second minimum value of the maximum charge current of each battery pack in the other battery packs, multiplying the number of the other battery packs by the second minimum value to obtain the maximum charge current allowed by the parallel system. Among them, the maximum discharge current allowed by the inverter is equal to the maximum discharge current allowed by the parallel system, the maximum charge current allowed by the inverter is equal to the maximum charge current allowed by the parallel system, and the SOP value of the inverter includes: the product of the maximum discharge current allowed by the inverter and the voltage of the inverter, and the product of the maximum discharge current allowed by the inverter and the voltage of the inverter.

[0013] In an optional manner, controlling the battery pack successfully connected to the inverter unit to be upgraded based on the firmware upgrade file further includes: obtaining an identifier of the battery pack, the identifier of the battery pack including an address of a control unit of the battery pack, and upgrading the battery pack successfully connected to the inverter unit one by one according to the identifier of the battery pack. Upgrading the acquired battery packs one by one according to the order of the addresses can effectively reduce the situation where the battery packs are missed or upgraded multiple times.

[0014] In an optional manner, the parallel system upgrade method further includes: when a battery pack in preparation for upgrade is upgraded, the upgraded battery pack is connected to the power circuit of the inverter unit. Then, one of the battery packs can be promptly integrated into the inverter unit after the upgrade is completed.

[0015] In an optional manner, before the battery pack successfully connected to the inverter unit is upgraded based on the firmware upgrade file, the parallel system upgrade method further includes: based on whether the parallel system is in a static state, controlling the operation of confirming the battery pack in preparation for upgrade and other battery packs except the battery pack in preparation for upgrade. If the parallel system is in a static state, the operation of confirming the battery pack in preparation for upgrade and other battery packs except the battery pack in preparation for upgrade is executed. The static state is a state in which each battery pack in the parallel system is neither charging nor discharging. By setting the parallel system to be upgraded only when the parallel system is in a static state, the safety of upgrading the parallel system is improved.

[0016] In an optional manner, before controlling and confirming the operation of the battery pack being prepared for upgrading and other battery packs except the battery pack being prepared for upgrading based on whether the parallel system is in a static state, the parallel system upgrading method further includes: obtaining the current of the parallel system, and determining whether the absolute value of the current is less than a first value. If so, the parallel system is in a static state; if not, the parallel system is not in a static state. Among them, the first value is the basis for determining whether the parallel system is in a static state. When the current of the parallel system is less than the first value, it is determined that the parallel system is in a static state, and subsequent steps are executed, thereby improving the safety of upgrading the parallel system.

[0017] In an optional manner, the first value may be 1 ampere.

[0018] In an optional manner, before obtaining the battery pack that is successfully connected to the inverter unit, the parallel system upgrade method further includes: obtaining the battery pack that is not successfully connected to the inverter unit, and controlling the battery pack that is not successfully connected to the inverter unit to be upgraded based on the firmware upgrade file. Before successively upgrading the battery packs that are successfully connected to the inverter unit, the battery packs that are not successfully connected to the inverter unit are upgraded based on the firmware upgrade file, thereby performing firmware upgrades on the control units of all battery packs in the parallel system.

[0019] In an optional manner, after the battery pack that is not successfully connected to the inverter unit is obtained, the method further includes: after the battery pack that is successfully connected to the inverter unit is upgraded, the battery pack that is not successfully connected to the inverter unit is upgraded.

[0020] In an optional manner, the parallel system upgrade method further includes: based on the received foolproof information, verifying the firmware upgrade file, and based on the verification result, controlling the acquisition of the battery pack successfully connected to the inverter unit. If the verification passes, the battery pack connected to the power circuit of the inverter is obtained; if the verification fails, the firmware upgrade file error information is returned. If the verification passes, it means that the firmware upgrade file is correct, or the firmware upgrade file can be used to perform a firmware upgrade on the parallel system, thereby improving the security of the firmware upgrade on the parallel system. If the verification fails, the firmware upgrade file error information is returned, which is convenient for the maintenance personnel of the parallel system to adjust the firmware upgrade file in time.

[0021] In an optional manner, before obtaining the battery pack successfully connected to the inverter unit, the parallel system upgrade method further includes: obtaining the existing firmware version in the battery pack, judging whether the firmware version of the firmware upgrade file is consistent with the existing firmware version, and controlling the operation of obtaining the battery pack successfully connected to the inverter unit based on the judgment result. If the firmware version of the firmware upgrade file is inconsistent with the existing firmware version, the battery pack successfully connected to the inverter unit is obtained; if the firmware version of the firmware upgrade file is consistent with the existing firmware version, the firmware upgrade file error information is returned. Wherein, the existing firmware version is the version information of the existing firmware in the control unit of the battery pack. When the firmware version of the firmware upgrade file is inconsistent with the existing firmware version in the obtained battery pack, the firmware of the control unit in the battery pack needs to be upgraded, and the battery pack successfully connected to the inverter unit is obtained for subsequent operations. When the firmware version of the firmware upgrade file is consistent with the existing firmware version in the obtained battery pack, the operation ends, so that the battery pack that does not need to be upgraded can be not upgraded, thereby improving the efficiency of upgrading the parallel system.

[0022] According to another aspect of the embodiment of the present application, there is provided an upgrade device for a parallel system, wherein the parallel system comprises a plurality of battery packs electrically connected to an inverter unit, the battery packs comprise a control unit and a battery module, the control unit is electrically connected to the battery module and the inverter respectively, and the upgrade device comprises a receiving module, a first confirmation module, an upgrade module, a second confirmation module and an adjustment module. Among them, the receiving module is used to receive a firmware upgrade file, the first confirmation module is used to confirm the battery pack successfully connected to the inverter unit, the upgrade module is used to upgrade the battery pack successfully connected to the inverter unit based on the firmware upgrade file, the second confirmation module is used to confirm other battery packs except those being prepared for upgrade for the battery pack successfully connected to the inverter unit, and the adjustment module is used to adjust the power parameters of the parallel system according to the power parameters of each of the other battery packs. Through the above-mentioned device, it is possible to upgrade the battery packs one by one. By confirming the battery pack being prepared for upgrading and other battery packs except the battery pack being prepared for upgrading, and adjusting the power parameters of the parallel system according to the power parameters of each battery pack in other battery packs, the battery pack being prepared for upgrading is controlled to be upgraded based on the firmware upgrade file, so that the battery packs can be upgraded one by one. When a battery pack is upgraded, other battery packs do not need to be powered off and can still be connected to the parallel system. Moreover, since the power parameters of the parallel system are adjusted according to other battery packs, the risk of overpower of the parallel system can be reduced, thereby improving the safety of firmware upgrades to the parallel system.

[0023] According to another aspect of the embodiment of the present application, a parallel system is provided, comprising an inverter and a plurality of battery packs. The battery pack comprises a control unit and a battery module, wherein the control unit is electrically connected to the battery module and the inverter respectively; and the control unit is used to execute the above-mentioned parallel system upgrade method.

[0024] The beneficial effects of the embodiments of the present application include: Different from the existing parallel system upgrade method, the embodiments of the present application confirm the battery pack successfully connected to the inverter unit by receiving the firmware upgrade file, and the battery pack successfully connected to the inverter unit is upgraded based on the firmware upgrade file; for the battery pack successfully connected to the inverter unit, other battery packs other than those in preparation for upgrade are also confirmed, and the power parameters of the parallel system are adjusted according to the power parameters of each battery pack in the other battery packs, so as to achieve the successive upgrade of the battery packs successfully connected to the inverter unit. When one of the battery packs is upgraded, the other battery packs can still be connected to the parallel system, and because the power parameters of the parallel system are adjusted according to the other battery packs, the risk of overpower of the parallel system can be reduced, and the safety of the firmware upgrade of the parallel system can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0026] Figure 1 It is a schematic diagram of an implementation method of a parallel system provided in an embodiment of the present application;

[0027] Figure 2 is a schematic diagram of another implementation of the parallel system provided in an embodiment of the present application;

[0028] Figure 3 It is a flowchart of a parallel system upgrade method provided in an embodiment of the present application;

[0029] Figure 4 It is a flowchart of a method for verifying a firmware upgrade file provided in an embodiment of the present application;

[0030] Figure 5 It is a flowchart of a method for determining a firmware upgrade file version provided by an embodiment of the present application;

[0031] Figure 6 It is a flowchart of a method for determining a firmware upgrade file version provided by another embodiment of the present application;

[0032] Figure 7 It is a flowchart of another parallel system upgrade method provided in an embodiment of the present application;

[0033] Figure 8 It is a flowchart of a method for determining whether a parallel system is in a static state provided by an embodiment of the present application;

[0034] Fig. 9 It is a flowchart of a method for upgrading a battery pack provided in an embodiment of the present application;

[0035] Fig.10 is a schematic diagram of a parallel system upgrade device provided in an embodiment of the present application;

[0036] Fig.11 It is a schematic diagram of the hardware structure of a control unit provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be described clearly and in detail in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.

[0038] In addition, the technical features involved in the various embodiments of the present application described below can be combined with each other as long as they do not conflict with each other.

[0039] See also Figure 1 According to an embodiment of the present application, the parallel system includes a plurality of battery packs electrically connected to an inverter unit. Hereinafter, the inverter unit is taken as an example of an inverter. The inverter can be electrically connected to a plurality of battery packs through a bus bar. A switch is provided on the bus bar connected to each battery pack and the switch can be a relay or the like. The inverter is communicatively connected to at least one battery pack.

[0040] The inverter can be used for mutual conversion between AC and DC. When the inverter converts the DC power output by the battery pack into AC power, the battery pack can provide power to external power-consuming devices, and when the inverter converts the external AC power into DC power, it can charge the battery pack. In the embodiment of the present application, the inverter is also used to match the corresponding power to the battery pack according to the maximum charge and discharge power (State of Power, SOP) fed back by the battery pack.

[0041] For the above-mentioned multiple battery packs, each of the battery packs includes a control unit and multiple battery modules connected in series. In a single battery pack, the control unit is electrically connected to the battery module, and the control unit is used to manage the charging and discharging of the battery module.

[0042] Wherein, the battery module includes at least one battery cell. When the battery module includes multiple battery cells, the multiple battery cells are connected in series and / or in parallel.

[0043] In some embodiments, one of the multiple battery packs that is connected to the host computer for communication is a master battery pack, and the other battery packs are slave battery packs. The control unit in the master battery pack is a master control unit, and the control unit in the slave battery pack is a slave control unit. Figure 2 For example, battery pack 1 and control unit 1 are respectively used as the main battery pack and main control unit in the parallel system, and battery pack 2, battery pack 3, control unit 2, control unit 3, etc. are respectively used as the slave battery pack and slave control unit in the parallel system.

[0044] The main battery pack is connected to the inverter through a communication line, and each slave battery pack is connected to the main battery pack through a communication line.

[0045] In some other embodiments, multiple battery packs may be in parallel, without distinguishing between master battery packs and slave battery packs, and each battery pack is connected to the inverter for communication. Regardless of whether the master battery pack and slave battery pack are distinguished, the parallel system upgrade method provided in the embodiment of the present application can be applied.

[0046] For the above-mentioned multiple battery packs, each battery pack can be connected in parallel. After being connected in parallel, each battery pack is electrically connected to the inverter through a bus bar, and the voltage of each battery pack is basically the same. In a specific embodiment, Figure 2 For example, current flows from the inverter through the bus into the positive terminal of the battery pack, flows out from the negative terminal of the battery pack, and returns to the inverter through the bus, thereby forming part of the power loop.

[0047] Please continue reading Figure 2 In some embodiments, the master battery pack is also connected to the host computer via a communication line, and the master battery pack is used to receive firmware upgrade files or foolproof information from the host computer to upgrade the firmware of the master battery pack. The master battery pack can transfer the firmware upgrade file to the slave battery pack via the communication line to upgrade the firmware of the slave battery pack. When the battery pack is upgraded, the switch on the corresponding busbar will be controlled to disconnect to disconnect the power circuit of the inverter. Optionally, the switch can be a relay.

[0048] In some embodiments, the main control unit may also obtain the power parameters of the slave battery pack, or the slave control unit may send the power parameters of the slave battery pack corresponding to the slave control unit to the main control unit, so that the inverter can match the appropriate power parameters for the battery pack. The power parameters may be the maximum charge and discharge power SOP value, including the maximum discharge power and the maximum charging power.

[0049] In some embodiments, the control units in the master battery pack and the slave battery pack each have a unique address, and the address of the control unit can be used to identify the battery pack, thereby facilitating firmware upgrades for the control units in each battery pack. For example, the address of the master control unit is "0", and the address of the slave control unit can be "1", "2", "3", "4", "5", ..., and the address of the control unit can also be in other forms, which are not limited here.

[0050] In the related art, during the charging and discharging process of the battery pack, if the firmware of one or several battery packs needs to be upgraded, all the battery packs need to be powered off to ensure the safety of the parallel system. In addition, when upgrading the firmware of the parallel system, it is necessary to arrange the power off time with the user of the parallel system in advance, which is very inconvenient.

[0051] Based on this, an embodiment of the present application provides a parallel system upgrade method to improve the above-mentioned problem.

[0052] See also Figure 3 , Embodiment 1 of the present application provides a parallel system upgrade method, the method comprising:

[0053] S10a, receiving a firmware upgrade file.

[0054] The firmware upgrade file is used to upgrade the firmware of the control unit.

[0055] In some embodiments, the firmware upgrade file is sent from the host computer to the main control unit, and then sent from the main control unit to each slave control unit, wherein the operation of receiving the firmware upgrade file can be performed by the main control unit in the parallel system.

[0056] The main control unit in the parallel system receives the firmware upgrade file, which may be that the main control unit sends an upgrade request to the host computer, the host computer sends the firmware upgrade file, and the main control unit receives the firmware upgrade file. It is also possible that the host computer sends the firmware upgrade file to the main control unit at a first interval. It is also possible that the host computer first receives the upgraded firmware upgrade file and then sends it to the main control unit. In addition, the firmware upgrade file may also be that the main control unit sends an upgrade request to the host computer at a second interval, and then the host computer sends the firmware upgrade file to the main control unit. Here, the present application does not specifically limit the sending and receiving of firmware upgrade files.

[0057] In some other embodiments, after receiving the firmware upgrade file, it is necessary to verify the firmware upgrade file to confirm whether to continue the subsequent operation. Figure 4 , the specific verification process includes:

[0058] S101d. Based on the received foolproof information, verify the firmware upgrade file.

[0059] The foolproof information is used to verify the firmware upgrade file, for example, it can be a check code, and the firmware upgrade file is verified by the check code. If the check passes, it means that the firmware upgrade file is correct, or it means that the received firmware upgrade file can be used to perform firmware upgrade on the parallel system, thereby improving the security of the upgrade. Specifically, the check code as the foolproof information can be used to verify the data header of the firmware upgrade file, and the data header of the firmware upgrade file is part of the data of the firmware upgrade file. If the check of the data header of the firmware upgrade file passes, it means that the firmware upgrade file is safe and can be used to upgrade the parallel system.

[0060] The method of verifying the data header of the firmware upgrade file based on the verification code described above is only an example of verifying the firmware upgrade file based on the received foolproof information, and is not limited to verifying the firmware upgrade file.

[0061] S102d, based on the verification result, determine whether to execute the operation of obtaining the battery pack successfully connected to the inverter unit. Specifically, if the verification passes, execute step S20a to obtain the battery pack successfully connected to the inverter unit; if the verification fails, execute step S103d to return the firmware upgrade file error information so as to adjust the firmware upgrade file in time.

[0062] In some other embodiments, after receiving the firmware upgrade file, it is necessary to determine whether the control unit in the current parallel system needs to be upgraded to confirm whether to perform subsequent upgrade operations. Figure 5 , the confirmation process includes:

[0063] S101e, obtain the existing firmware version in the battery pack, and determine whether the firmware version of the firmware upgrade file is consistent with the existing firmware version, that is, determine whether the control unit in the parallel system needs to be upgraded. Specifically, first obtain the existing firmware version in the battery pack, and then determine whether the firmware version of the firmware upgrade file is consistent with the existing firmware version in the battery pack. The firmware version is the version of the firmware already existing in the control unit of the battery pack, or the firmware version is the version of the firmware upgrade file. The firmware version can be, for example, 00001, or 00002, or other forms.

[0064] S102e: Based on the judgment result, control the operation of obtaining the battery pack that is successfully connected to the inverter unit. Figure 6 If they are inconsistent, execute step S20a to obtain the battery pack successfully connected to the inverter unit; if they are consistent, end the upgrade operation and do not upgrade the firmware of the battery pack, thereby improving the upgrade efficiency of the parallel system.

[0065] In other embodiments, when the existing firmware version of the acquired battery pack is lower than the firmware version of the firmware upgrade file, step S20a is executed; otherwise, it indicates that the firmware upgrade of the battery pack is not required and the upgrade operation is terminated.

[0066] Since the firmware upgrade file stored in the host computer is generally the latest version of the firmware upgrade file, when the firmware version of the firmware upgrade file is inconsistent with the acquired firmware version of the battery pack, it often indicates that the firmware version of the battery pack is lower than the firmware version of the received firmware upgrade file, and step S20a can be executed.

[0067] S20a, obtain the battery pack that is successfully connected to the inverter unit. Among them, the battery pack that is successfully connected to the inverter unit may be a battery pack that has been successfully connected to the inverter power circuit, the battery pack in the power circuit is conductive with the inverter, and the corresponding battery pack can be charged and discharged. The battery pack that is not successfully connected to the inverter unit may be a battery pack that is not successfully connected to the inverter power circuit, the battery pack is disconnected from the inverter, and the corresponding battery pack cannot be charged and discharged. For the battery pack that has been successfully connected to the inverter power circuit, the embodiment of the present application details the method for upgrading the firmware of the battery pack.

[0068] The parallel system obtains the battery pack that is successfully connected to the inverter unit. This can be information transmitted by each battery pack to the main control unit through the communication line, and then transmitted by the main control unit to the inverter. Alternatively, the main battery pack directly reports to the inverter whether the main battery pack and the slave battery pack are successfully connected to the inverter unit through the communication line.

[0069] In some other embodiments, before executing step S20a to obtain the battery pack successfully connected to the inverter unit, the battery pack that is not successfully connected to the inverter unit is first upgraded. Figure 7 , the upgrade process includes:

[0070] S201c, obtaining a battery pack that is not successfully connected to the inverter unit;

[0071] S202c, control the battery pack that has not been successfully connected to the inverter unit, and upgrade it based on the firmware upgrade file. Among them, the battery pack that has not been successfully connected to the inverter unit may be a battery pack that has not been successfully connected to the inverter power circuit. When performing a firmware upgrade on the battery pack that has not been connected to the inverter power circuit, since these battery packs are not connected to the inverter power circuit, there is no need to consider the over-power problem of the parallel system, and the upgrade can be performed directly. After the upgrade is completed, the battery pack that has been successfully connected to the inverter unit is upgraded, and the process goes to step S20a.

[0072] In some other embodiments, the upgrade of the battery pack that is not successfully connected to the inverter unit can also be performed after the upgrade of the battery pack that is successfully connected to the inverter unit, that is, the battery pack that is successfully connected to the inverter unit is upgraded first, and then the battery pack that is not connected to the inverter unit is upgraded.

[0073] S30a, for the battery pack successfully connected to the inverter unit, confirm the battery pack in preparation for upgrade and other battery packs, and the other battery packs may be battery packs other than those in preparation for upgrade. When the battery pack is upgraded, the power circuit of the inverter needs to be disconnected. The battery pack is in "preparation for upgrade", which means that the control unit of the battery pack in preparation for upgrade is about to be upgraded according to the firmware upgrade file. The operation performed on the battery pack in preparation for upgrade includes: disconnecting the electrical connection between the battery pack and the power circuit of the inverter.

[0074] Whether it is a master control unit or a slave control unit, each has a unique address for identifying the control unit. For example, there are six battery packs that are successfully connected to the inverter unit, and their corresponding control unit addresses are "0", "1", "2", "3", "4" and "5". The control units of these battery packs are upgraded one by one. Before the upgrade begins, the battery pack with control unit address "0" is the battery pack to be upgraded, and the control unit addresses of other battery packs include "1", "2", "3", "4" and "5". When the battery pack with control unit address "0" is upgraded, the battery pack will be reconnected to the power circuit of the inverter, and then the battery pack with control unit address "1" will be upgraded. The battery pack with control unit address "1" is the battery pack to be upgraded. At this time, the control unit addresses of other battery packs include "0", "2", "3", "4" and "5".

[0075] Among them, see Figure 8 The specific confirmation process includes:

[0076] S30b: Based on whether the parallel system is in a static state, controlling and confirming the operation of the battery pack being prepared for upgrading and other battery packs except the battery pack being prepared for upgrading.

[0077] S301b, obtaining the current of the parallel system, and determining whether the absolute value of the current is less than a first value. The current of the parallel system is the total current of the parallel system, that is, the total current of each battery pack, that is, the bus current of the inverter.

[0078] The method for determining whether the parallel system is in a static state is to determine whether the absolute value of the bus current of the inverter is less than a first value, wherein the first value is a basis for determining whether the parallel system is in a static state. In some embodiments, the first value may be 1 ampere.

[0079] In a specific embodiment of the present application, when the battery pack is in a charging state, the current flowing through the busbar may be a positive value, such as 5A, and when the battery pack is in a discharging state, the current flowing through the busbar may be a negative value, such as -5A. When the busbar current of the inverter is greater than -1A and less than 1A, it can be considered that the parallel system is in a static state.

[0080] If the parallel system is in a static state, step S30a is executed to confirm the battery pack being prepared for upgrading and other battery packs except the battery pack being prepared for upgrading; if the parallel system is not in a static state, the upgrading process is terminated.

[0081] S40a. Adjust the power parameters of the parallel system according to the power parameters of each battery pack in the other battery packs. The power parameters include the maximum amplification current and the maximum charging current. When N slave battery packs are connected to the power circuit, the parallel system can calculate the maximum allowable charge and discharge current: the maximum charge current allowed by the system is Imaxc=Ic*N, and the maximum discharge current allowed by the system is Imaxd=Id*N, where Ic is the maximum charge current allowed by a single battery pack, and Id is the maximum discharge current allowed by a single battery pack.

[0082] The battery pack will be disconnected from the inverter's power circuit when it is upgraded, and will be reconnected to the inverter's power circuit after the upgrade is completed. If the power parameters of the parallel system are not adjusted, the current of the upgraded battery pack will be distributed to other battery packs after the power circuit is disconnected, which will increase the current of other battery packs and pose a risk of overpower. Therefore, when the parallel system is to be upgraded, it is necessary to adjust the maximum charge and discharge current allowed by the system, that is, the power parameters of the parallel system. Then, the main control unit of the main battery pack can send the upgrade status of each battery pack and the power parameters of the parallel system to the inverter through the communication line. The inverter will adjust the inverter's power output according to the power parameters of the parallel system, thereby reducing the risk of overpower in other battery packs caused by excessive inverter output.

[0083] Specifically, a first minimum value of the maximum discharge current of each battery pack in the other battery packs is obtained, and the number of the other battery packs is multiplied by the first minimum value to obtain a maximum discharge current allowed by the parallel system;

[0084] and / or,

[0085] The second minimum value of the maximum charging current of each battery pack in the other battery packs is obtained, and the number of the other battery packs is multiplied by the second minimum value to obtain the maximum charging current allowed by the parallel system.

[0086] When the maximum discharge currents of the battery packs are the same, the first minimum value is the same as the maximum discharge current of any one of the battery packs.

[0087] When the maximum discharge currents of the battery packs are different, the minimum value of the maximum discharge currents of the other battery packs is the first minimum value.

[0088] The maximum discharge current allowed by the parallel system is obtained by multiplying the number of other battery packs by the first minimum value.

[0089] Since the multiple battery packs in the parallel system are connected in parallel, the voltages of the battery packs are substantially the same. After the first minimum value is obtained, the maximum discharge power allowed by the parallel system can be obtained by multiplying it by the voltage of any battery pack.

[0090] Similarly, when the maximum charging currents of the battery packs are the same, the second minimum value is the same as the maximum charging current of any one of the battery packs.

[0091] When the maximum charging currents of the battery packs are different, the second minimum value is the minimum value of the maximum charging currents of the other battery packs.

[0092] The maximum charging current allowed by the parallel system is obtained by multiplying the number of other battery packs by the second minimum value.

[0093] Since the multiple battery packs in the parallel system are connected in parallel, the voltages of the battery packs are basically the same. After the second minimum value is obtained, the maximum charging power allowed by the parallel system can be obtained by multiplying it by the voltage of any battery pack.

[0094] Specifically, the maximum charging current allowed by the system is adjusted to Imaxc=Ic*(N-1), and the maximum discharging current allowed by the system is adjusted to Imaxd=Id*(N-1), where Ic is the second minimum value and Id is the first minimum value. When the battery packs connected to the power circuit of the inverter are upgraded one by one, the battery packs in the upgrade preparation and other battery packs except the battery packs in the upgrade preparation are confirmed, and the power parameters of the parallel system are adjusted according to the power parameters of each battery pack in the other battery packs, and the battery packs in the upgrade preparation are controlled to be upgraded based on the firmware upgrade file, so that the battery packs can be upgraded one by one. When a battery pack is upgraded, other battery packs do not need to be powered off and can still be connected to the parallel system. Since the power parameters of the parallel system are adjusted according to other battery packs, the risk of overpower of the parallel system can be reduced, and the safety of the firmware upgrade of the parallel system can be improved. It can be understood that when adjusting the power parameters of the parallel system, a calculation can be performed once for each battery pack to ensure that the power output of the inverter always matches the maximum charge and discharge current allowed by the parallel system during the upgrade process. In some other embodiments, if one battery pack is upgraded each time and the voltage and internal resistance of each battery pack are roughly the same, the power parameters of the parallel system can be adjusted only once before upgrading the system. The adjusted value can be applied to the upgrade process of all battery packs successfully connected to the inverter unit, further improving the upgrade efficiency.

[0095] S50a, controlling the battery pack in preparation for upgrading to upgrade based on the firmware upgrade file. Fig. 9 , step S50a specifically includes:

[0096] S501a, obtaining an identification of the battery pack, where the identification of the battery pack includes an address of a control unit of the battery pack;

[0097] S502a: According to the identification of the battery pack, the battery packs successfully connected to the inverter unit are upgraded one by one.

[0098] Among them, the identification of the battery pack is used to distinguish each battery pack. For example, the address of the control unit of each battery pack can be used to identify the battery pack. Whether it is a master control unit or a slave control unit, it has a unique control unit address. For example, in some embodiments, the control unit address of the master battery pack is "0", the control unit address of the slave battery pack directly connected to the master battery pack is "1", the control unit address of the slave battery pack connected to the slave battery pack is "2", and the addresses of the control units of the subsequent slave battery packs are sequentially to the Nth. Assuming that N is 9, if the slave battery packs with control unit addresses of "1", "2", "5", "8" and "9" are the battery packs that are successfully connected to the inverter unit in this upgrade task, the battery packs that are not successfully connected to the inverter unit, that is, the slave battery packs with control unit addresses of "3", "4", "6" and "7" are upgraded first, and then the slave battery packs with control unit addresses of "1", "2", "5", "8" and "9" are upgraded in sequence. After all the slave battery packs are upgraded, the master battery pack with control unit address "0" is upgraded last. By upgrading the acquired battery packs one by one according to the order of the addresses, the situation where the battery packs are missed or upgraded multiple times can be effectively reduced.

[0099] In some other embodiments, the battery pack upgrade process is not limited to upgrade one by one, but can also be upgraded in batches. For example, two of the battery packs can be upgraded at the same time first, and then the other two battery packs can be upgraded at the same time, until all the battery packs are upgraded. In addition, multiple battery packs can be upgraded at the same time first, and then the other multiple battery packs can be upgraded at the same time, until all the battery packs are upgraded.

[0100] In some other embodiments, the method for parallel system upgrade further includes:

[0101] S60a: When a battery pack in preparation for upgrading is upgraded, the upgraded battery pack is connected to the power circuit of the inverter unit. Through step S60a, the battery pack is promptly integrated into the inverter after the upgrade is completed.

[0102] The above-mentioned steps S10a, S20a, S30a, S40a, S50a and S60a do not limit the order of upgrading the parallel system of the present application. Any reasonable replacement of the order of steps between steps S10a, S20a, S30a, S40a, S50a and S60a is within the protection scope of the present application.

[0103] In an embodiment of the present application, by receiving a firmware upgrade file, obtaining a battery pack that is successfully connected to the inverter unit, for the battery pack that is successfully connected to the inverter unit, confirming the battery pack in preparation for upgrade and other battery packs except the battery pack in preparation for upgrade, adjusting the power parameters of the parallel system according to the power parameters of each battery pack in the other battery packs, and controlling the battery pack in preparation for upgrade to be upgraded based on the firmware upgrade file, the battery pack can be upgraded. Among them, the power parameter of the parallel system can be the maximum charge and discharge power SOP value allowed by the parallel system, including the maximum discharge power and the maximum charging power; the power parameter of the inverter can be the maximum charge and discharge power SOP value that the inverter can provide when charging and discharging the parallel system, including the maximum discharge power and the maximum charging power. By adjusting the power parameters of the parallel system according to the power parameters of each battery pack in other battery packs, it is possible to upgrade the battery packs one by one, and other battery packs that have not been upgraded do not need to be powered off and can still be connected to the parallel system. In addition, since the power parameters of the inverter are synchronously adjusted according to the power parameters of the parallel system, the input and output power of the inverter will not exceed the power range allowed by the parallel system, thereby reducing the risk of overpower of the parallel system and improving the safety of firmware upgrades for the parallel system.

[0104] In addition, during the whole process of parallel system upgrade, the main control unit in the main battery pack maintains communication connection with the inverter through the communication line, which can avoid the situation that the system operation is affected by abnormal communication. After the parallel system upgrade is completed, the power parameters adjusted during the upgrade process can be adjusted back to the values ​​under normal use.

[0105] See also Fig.10 , Fig.10 It is a schematic diagram of a parallel system upgrade device provided in an embodiment of the present application, and the parallel system upgrade device 200 includes a receiving module 201, a first confirmation module 202, an upgrade module 203, a second confirmation module 204 and an adjustment module 205. Among them, the receiving module 201 is used to receive a firmware upgrade file. The first confirmation module 202 is used to confirm the battery pack that is successfully connected to the inverter unit. The upgrade module 203 is used to upgrade the battery pack that is successfully connected to the inverter unit based on the firmware upgrade file. The second confirmation module 204 is used to confirm other battery packs except those being prepared for upgrade for the battery pack that is successfully connected to the inverter unit. The adjustment module 205 is used to adjust the power parameters of the parallel system according to the power parameters of each battery pack in the other battery packs. In some other embodiments, the adjustment module 205 is also used to connect the upgraded battery pack to the power circuit of the inverter unit.

[0106] In the embodiment of the present application, the firmware upgrade file is received by the receiving module 201; the battery pack successfully connected to the inverter unit is confirmed by the first confirmation module 202; the battery pack successfully connected to the inverter unit is confirmed by the second confirmation module 204, except for the battery packs in preparation for upgrading; the power parameters of the parallel system are adjusted by the adjustment module 205 according to the power parameters of each battery pack in the other battery packs; and the battery pack successfully connected to the inverter unit is controlled to upgrade based on the firmware upgrade file by the upgrade module 203. Through the above device, the battery packs can be upgraded one by one. By adjusting the power parameters of the parallel system according to the power parameters of each battery pack in the other battery packs, the battery packs can be upgraded in batches, and the other battery packs not being upgraded do not need to be powered off and can still be connected to the parallel system. Moreover, since the power parameters of the parallel system are adjusted according to the other battery packs not being upgraded, the risk of overpower of the parallel system is reduced, and the safety of the firmware upgrade of the parallel system is improved.

[0107] See also Fig.11 , Fig.11 1 is a schematic diagram of the hardware structure of a control unit that can execute the parallel system upgrade method provided in an embodiment of the present application. The control unit may be the above-mentioned main control unit. The control unit includes: one or more processors and a memory, Fig.11 A memory is taken as an example.

[0108] The processor and the memory may be connected via a bus or other means. In the embodiment of the present application, connection via a bus is taken as an example.

[0109] The memory is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as the program instructions / modules corresponding to the parallel system upgrade method in the embodiment of the present application (for example, the attached Fig.10 The processor executes various functional applications and data processing of the device of the parallel system upgrade method by running the non-volatile software programs, instructions and modules stored in the memory, that is, the parallel system upgrade method of the above method embodiment is implemented.

[0110] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created according to the use of the device of the parallel system upgrade method, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the parallel system upgrade method device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0111] One or more modules are stored in the memory, and when executed by one or more processors, the parallel system upgrade method in any of the above method embodiments is executed.

[0112] The above product can execute the parallel system upgrade method provided in the embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in this embodiment, please refer to the parallel system upgrade method provided in the embodiment of the present application.

[0113] An embodiment of the present application provides a non-volatile computer-readable storage medium, which stores computer-executable instructions. The computer-executable instructions can be used by a parallel system to execute a parallel system upgrade method in any of the above method embodiments.

[0114] An embodiment of the present application provides a computer program product, including a computer program stored on a non-volatile computer-readable storage medium, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the parallel system upgrade method in any of the above method embodiments.

[0115] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0116] Through the description of the above implementation methods, ordinary technicians in this field can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course it can also be implemented by hardware. Ordinary technicians in this field can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0117] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Under the concept of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes in different aspects of the present application as above, which are not provided in detail for the sake of simplicity. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for upgrading a parallel system, the parallel system comprising a plurality of battery packs electrically connected to an inverter unit, characterized in that: The method comprises: Receive firmware upgrade files; Confirm the battery pack that is successfully connected to the inverter unit, where the successfully connected battery pack is a battery pack that has been successfully connected to the inverter power circuit; The battery pack successfully connected to the inverter unit is upgraded based on the firmware upgrade file; For the battery pack successfully connected to the inverter unit, confirm other battery packs except those being prepared for upgrading, wherein the other battery packs are battery packs other than those being prepared for upgrading, and the battery packs being prepared for upgrading are disconnected from the electrical connection with the inverter power circuit; adjusting the power parameters of the parallel system according to the power parameters of each battery pack in the other battery packs; The power parameters of the battery pack include a maximum amplification current and a maximum charging current. The power parameters of the parallel system are adjusted according to the power parameters of each battery pack in the other battery packs, and further include: Obtaining a first minimum value of the maximum discharge current of each battery pack in the other battery packs, and multiplying the number of the other battery packs by the first minimum value to obtain a maximum discharge current allowed by the parallel system; and / or, The second minimum value of the maximum charging current of each battery pack in the other battery packs is obtained, and the number of the other battery packs is multiplied by the second minimum value to obtain the maximum charging current allowed by the parallel system.

2. The upgrading method according to claim 1, characterized in that: The battery pack successfully connected to the inverter unit is upgraded based on the firmware upgrade file, further comprising: Obtaining an identification of the battery pack, wherein the identification of the battery pack includes an address of a control unit of the battery pack; The battery packs successfully connected to the inverter unit are upgraded one by one according to the identification of the battery pack.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: When the upgrade of a battery pack that is being prepared for upgrading is completed, the battery pack is connected to the power circuit of the inverter unit.

4. The method according to claim 1 or 2, characterized in that: Before the battery pack successfully connected to the inverter unit is upgraded based on the firmware upgrade file, the method further includes: Based on whether the parallel system is in a stationary state, an upgrade operation of the battery pack successfully connected to the inverter unit is controlled.

5. The method according to claim 4, characterized in that Before controlling the upgrade operation of the battery pack successfully connected to the inverter unit based on whether the parallel system is in a static state, the method further includes: Obtaining a current of the parallel system, and determining whether an absolute value of the current is less than a first value; If yes, the parallel system is in a static state; If not, the parallel system is not in a static state.

6. The method according to claim 1 or 2, characterized in that: The method further comprises: Get the battery pack that is not successfully connected to the inverter unit; Control the battery pack that has not been successfully connected to the inverter unit to be upgraded based on the firmware upgrade file.

7. The method according to claim 1, characterized in that The method further comprises: Based on the received foolproof information, verify the firmware upgrade file; Based on the verification result, the operation of obtaining the battery pack successfully connected to the inverter unit is controlled.

8. The method according to claim 1, characterized in that Before acquiring the battery pack successfully connected to the inverter unit, the method further includes: Obtaining an existing firmware version in the battery pack, and determining whether the firmware version of the firmware upgrade file is consistent with the existing firmware version; Based on the judgment result, the operation of obtaining the battery pack successfully connected to the inverter unit is controlled.

9. An upgrading device for a parallel system, the parallel system comprising a plurality of battery packs electrically connected to an inverter unit, characterized in that: The device comprises: A receiving module, used for receiving a firmware upgrade file; A first confirmation module, used to confirm the battery pack successfully connected to the inverter unit, wherein the successfully connected battery pack is a battery pack that has been successfully connected to the inverter power circuit; An upgrade module, used for upgrading the battery pack successfully connected to the inverter unit based on the firmware upgrade file; A second confirmation module is used to confirm other battery packs except the battery packs being prepared for upgrading for the battery packs successfully connected to the inverter unit, wherein the other battery packs are battery packs other than the battery packs being prepared for upgrading, and the battery packs being prepared for upgrading are disconnected from the electrical connection with the inverter power circuit; An adjustment module, used for adjusting the power parameters of the parallel system according to the power parameters of each battery pack in the other battery packs; The power parameters of the battery pack include the maximum amplification current and the maximum charging current. The adjustment module is specifically used for: Obtaining a first minimum value of the maximum discharge current of each battery pack in the other battery packs, and multiplying the number of the other battery packs by the first minimum value to obtain a maximum discharge current allowed by the parallel system; and / or, The second minimum value of the maximum charging current of each battery pack in the other battery packs is obtained, and the number of the other battery packs is multiplied by the second minimum value to obtain the maximum charging current allowed by the parallel system.

10. A parallel system, characterized in that: include: Inverter unit; A plurality of battery packs, each battery pack comprising a control unit and a battery module, wherein the control unit is electrically connected to the battery module and the inverter unit respectively; The control unit is used to execute the method according to any one of claims 1 to 8.