Battery controller upgrading method and device and energy storage system

By implementing an automated upgrade process in the EMS of the energy storage system, the problem of manual field operation in the existing technology of BCU upgrade is solved, and remote upgrades of multiple BCUs are realized, which improves operation and maintenance efficiency.

CN119960794APending Publication Date: 2025-05-09INPAI BATTERY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510033423.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-09
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

In the prior art, the upgrade of the battery cluster management unit (BCU) in the battery management system (BMS) requires manual operation, and remote upgrade cannot be achieved, and multiple BCUs cannot be upgraded at once, resulting in low operation and maintenance efficiency.

Method used

By implementing an automated upgrade process in the energy management system (EMS) of the energy storage system, EMS obtains the upgrade instructions generated by the cloud server, sends down commands to the battery converter (PCS), and then sends down high-voltage instructions and BCU upgrade instructions to multiple BCUs, realizing automated upgrades to multiple BCUs.

Benefits of technology

Remote upgrades of multiple BCUs in the energy storage system are realized, reducing the time and human resources required for the upgrade, and improving the operation and maintenance efficiency of the energy storage system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119960794A_ABST
    Figure CN119960794A_ABST
Patent Text Reader

Abstract

The invention provides a battery controller upgrading method and device and an energy storage system, relates to the technical field of batteries, and is used for reducing time consumed during BCU upgrading in the energy storage system and manpower resources consumed during BCU upgrading in the energy storage system and improving the operation and maintenance efficiency of the energy storage system. The method is applied to an EMS in the energy storage system, the energy storage system further comprises a PCS and a plurality of BCUs, the EMS is connected with the PCS and the BCUs, and the method comprises the steps that the EMS obtains an upgrading instruction generated by a cloud server in response to user operation and sends a shutdown instruction to the PCS, the upgrading instruction comprises a BCU upgrading data packet, and the shutdown instruction is used for indicating the PCS to shut down. The EMS responds to the shut-down signal sent by the PCS and sends a high-voltage lowering instruction to the multiple BCUs, and the high-voltage lowering instruction is used for indicating the BCUs to stop charging and discharging. Furthermore, the EMS responds to a low-voltage signal sent by the target BCU and sends a BCU upgrading instruction to the target BCU, the target BCU is any one of the multiple BCUs, and the BCU upgrading instruction is used for indicating the BCU to be upgraded based on the BCU upgrading data packet.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of battery technology, and in particular to a battery controller upgrade method, device and energy storage system. Background Art

[0002] With the rapid development of renewable energy and energy storage markets, energy storage batteries are increasingly being used in the energy field. In order to ensure stable operation and efficient management of battery systems, battery management systems (BMS) with multi-controller architectures are widely used in various application scenarios.

[0003] Based on the continuous development of battery technology and the diversification of application requirements, the requirements for the functions, performance and reliability of the controller in the BMS are also constantly increasing. After the energy storage system is delivered, in order to ensure the stable operation of the energy storage system and the timely optimization of its performance, it is necessary to upgrade the BMS software program and optimize the performance of the energy storage product.

[0004] In the related art, the upgrade method for the Battery Cluster Unit (BCU) in the BMS is generally to have after-sales maintenance personnel go to the project site and upgrade the BCU program through a dedicated upgrade host computer. It is impossible to remotely upgrade the BCU, and it is impossible to upgrade multiple BCUs at one time. Manual repetitive operations are required, which is very time-consuming and human resource-intensive, thereby making the operation and maintenance efficiency of the entire energy storage system low. Summary of the invention

[0005] The present application proposes a battery controller upgrade method, device and energy storage system, which are used to reduce the time and human resources consumed when upgrading the BCU in the energy storage system, and improve the operation and maintenance efficiency of the energy storage system.

[0006] In order to achieve the above purpose, this application adopts the following technical solutions:

[0007] In the first aspect, a battery controller upgrade method is provided, which is applied to an energy management system (EMS) in an energy storage system. The energy storage system also includes a power conversion system (PCS) and multiple BCUs. The EMS is connected to the PCS and the multiple BCUs respectively. The method includes: the EMS obtains an upgrade instruction generated by a cloud server in response to a user operation, and sends a shutdown instruction to the PCS. The upgrade instruction is used to instruct the upgrade of multiple BCUs. The upgrade instruction includes a BCU upgrade data packet, and the shutdown instruction is used to instruct the PCS to shut down. Further, the EMS sends a lower high-voltage instruction to the multiple BCUs in response to the shutdown signal sent by the PCS, and the lower high-voltage instruction is used to instruct the BCU to stop charging and discharging. Further, the EMS sends a BCU upgrade instruction to the target BCU in response to the lower high-voltage signal sent by the target BCU. The target BCU is any one of the multiple BCUs, and the BCU upgrade instruction is used to instruct the BCU to upgrade based on the BCU upgrade data packet.

[0008] In the battery controller upgrade method provided in the present application, when the user needs to upgrade the BCU in the energy storage system, an upgrade instruction can be sent to the EMS through the cloud server, and the corresponding EMS automatically runs the upgrade process for multiple BCUs to achieve the upgrade of multiple BCUs. The user only needs to send an upgrade instruction to complete the upgrade of all BCUs in the energy storage system, thereby reducing the time and human resources consumed and improving the operation and maintenance efficiency of the energy storage system.

[0009] In a possible design, the battery controller upgrade method further includes: the EMS obtains the upgrade status sent by the target BCU, the upgrade status includes the version number of the BCU, and the upgrade status is used to indicate whether the BCU upgrade is successful or failed. Further, the EMS sends the upgrade status of the target BCU to the cloud server.

[0010] In a possible design, the above-mentioned battery controller upgrade method also includes: when multiple BCUs are successfully upgraded, the EMS sends restart instructions to multiple BCUs respectively, and the restart instructions are used to instruct the BCU to restart.

[0011] In one possible design, the above-mentioned battery controller upgrade method also includes: when the target BCU upgrade fails and the EMS obtains the upgrade status sent by multiple BCUs, the EMS sends version rollback instructions to multiple BCUs respectively, and the version rollback instructions are used to instruct the BCU to restore to the version before the upgrade.

[0012] In a second aspect, a battery controller upgrade method is provided, which is applied to a target BCU, wherein the target BCU is any one of the multiple BCUs included in the battery control upgrade system, and the battery control upgrade system also includes an EMS and a PCS, and the EMS is connected to the PCS and multiple BCUs respectively. The method includes: the target BCU responds to the EMS sending a high-voltage lowering instruction, stops charging and discharging, and sends a high-voltage lowering signal to the EMS. Further, the target BCU obtains the upgrade instruction sent by the EMS, and upgrades based on the BCU upgrade data packet included in the upgrade instruction. Further, the target BCU generates and sends an upgrade status to the EMS, and the upgrade status includes the version number of the BCU, and the upgrade status is used to indicate whether the BCU upgrade is successful or failed.

[0013] In one possible design, the battery controller upgrade method further includes: the target BCU responds to the version rollback instruction sent by the EMS, and if the target BCU is upgraded successfully, the target BCU is upgraded based on the data packet corresponding to the version before the upgrade of the target BCU.

[0014] In one possible design, when the target BCU upgrade fails, the upgrade status also includes the reason for the target BCU upgrade failure.

[0015] In a third aspect, a battery controller upgrade device is provided, which is deployed in an EMS in an energy storage system. The energy storage system also includes a PCS and multiple BCUs. The EMS is connected to the PCS and the multiple BCUs respectively. The battery controller upgrade device includes an acquisition unit and a sending unit. The acquisition unit is used to acquire an upgrade instruction generated by a cloud server in response to a user operation. The upgrade instruction includes a BCU upgrade data packet. The sending unit is used to send a shutdown instruction to the PCS. The shutdown instruction is used to instruct the PCS to shut down. The sending unit is also used to send a lower high-voltage instruction to multiple BCUs respectively in response to a shutdown signal sent by the PCS. The lower high-voltage instruction is used for the BCU to stop charging and discharging. The sending unit is also used to send a BCU upgrade instruction to the target BCU in response to a lower high-voltage signal sent by the target BCU. The target BCU is any one of the multiple BCUs. The BCU upgrade instruction is used to instruct the BCU to upgrade based on the BCU upgrade data packet.

[0016] In a possible design, the acquisition unit is further used to acquire the upgrade status sent by the target BCU, the upgrade status includes the version number of the BCU, and the upgrade status is used to indicate whether the BCU upgrade is successful or failed. The sending unit is also used to send the upgrade status of the target BCU to the cloud server.

[0017] In one possible design, the sending unit is also used to send restart instructions to multiple BCUs respectively when multiple BCUs are successfully upgraded, and the restart instructions are used to instruct the BCU to restart.

[0018] In one possible design, the sending unit is also used to send version rollback instructions to multiple BCUs respectively when the target BCU fails to upgrade and the upgrade status sent by multiple BCUs is obtained. The version rollback instruction is used to instruct the BCU to restore to the version before the upgrade.

[0019] In a fourth aspect, a battery controller upgrade device is provided, which is deployed on a target BCU, and the target BCU is any one of the multiple BCUs included in the battery control upgrade system. The battery control upgrade system also includes an EMS and a PCS, and the EMS is connected to the PCS and multiple BCUs, respectively. The device includes a processing unit, a sending unit, and an acquisition unit. The processing unit is used to stop charging and discharging in response to the EMS sending a high-voltage instruction. The sending unit is used to send a high-voltage signal to the EMS. The acquisition unit is used to obtain an upgrade instruction sent by the EMS. The processing unit is also used to upgrade based on the BCU upgrade data packet included in the upgrade instruction. The processing unit is also used to generate an upgrade status, the upgrade status includes the version number of the BCU, and the upgrade status is used to indicate whether the BCU upgrade is successful or failed. The sending unit is also used to send the upgrade status to the EMS.

[0020] In one possible design, the processing unit is also used to respond to a version rollback instruction sent by the EMS, and if the target BCU is successfully upgraded, upgrade the target BCU based on a data packet corresponding to a version before the upgrade.

[0021] In one possible design, when the target BCU upgrade fails, the upgrade status also includes the reason for the target BCU upgrade failure.

[0022] In a fifth aspect, an EMS is provided, which includes a memory and a processor; the memory and the processor are coupled, the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor executes the computer instructions, the EMS executes the battery controller upgrade method provided in the first aspect or any possible design thereof.

[0023] In a sixth aspect, an energy storage system is provided, comprising the EMS provided in the fifth aspect.

[0024] In the seventh aspect, a computer-readable storage medium is provided, in which instructions are stored. When the instructions are executed on the EMS, the EMS executes the battery controller upgrade method provided in the first aspect or any possible implementation thereof.

[0025] In an eighth aspect, a computer program product is provided, which includes computer instructions. When the computer instructions are run on an EMS, the EMS executes the battery controller upgrade method provided in the first aspect or any possible implementation thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A schematic diagram of a battery controller upgrade structure provided in an embodiment of the present application;

[0027] Figure 2 A battery controller upgrade method provided in an embodiment of the present application Figure 1 ;

[0028] Figure 3 A battery controller upgrade method provided in an embodiment of the present application Figure 2 ;

[0029] Figure 4 A battery controller upgrade method provided in an embodiment of the present application Figure 3 ;

[0030] Figure 5 A battery controller upgrade method provided in an embodiment of the present application Figure 4 ;

[0031] Figure 6 A schematic diagram of the structure of a battery controller upgrade device provided in an embodiment of the present application;

[0032] Figure 7 A schematic diagram of an EMS structure provided for an embodiment of the present application. DETAILED DESCRIPTION

[0033] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0034] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0035] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" and "plurality" refer to two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.

[0036] At present, based on the continuous development of battery technology and the diversification of application needs, the requirements for the functions, performance and reliability of the controller in the BMS are also constantly increasing. After the energy storage system is delivered, in order to ensure the stable operation of the energy storage system and the timely optimization of its performance, it is necessary to upgrade the BMS software program and optimize the performance of the energy storage product.

[0037] In the related art, the upgrade method for the BCU in the BMS is generally that after-sales maintenance personnel go to the project site and upgrade the BCU program through a dedicated upgrade host computer. It is impossible to achieve remote upgrade of the BCU, and it is impossible to upgrade multiple BCUs at a time. Manual repetitive operations are required, which is very time-consuming and human resource-intensive, thereby making the operation and maintenance efficiency of the entire energy storage system low.

[0038] In order to solve the above problems, the present application proposes a battery controller upgrade method, device and energy storage system. The method is applied to the EMS in the energy storage system. The energy storage system also includes a PCS and multiple BCUs. The EMS is connected to the PCS and the multiple BCUs respectively. The method includes: the EMS obtains the upgrade instruction generated by the cloud server in response to the user operation, and sends a shutdown instruction to the PCS. The upgrade instruction includes a BCU upgrade data packet, and the shutdown instruction is used to instruct the PCS to shut down. Further, the EMS sends a lower high-voltage instruction to the multiple BCUs respectively in response to the shutdown signal sent by the PCS. The lower high-voltage instruction is used to instruct the BCU to stop charging and discharging. Further, the EMS sends a BCU upgrade instruction to the target BCU in response to the lower high-voltage signal sent by the target BCU. The target BCU is any one of the multiple BCUs. The BCU upgrade instruction is used to instruct the BCU to upgrade based on the BCU upgrade data packet.

[0039] In this way, in the battery controller upgrade method provided in the present application, when the user needs to upgrade the BCU in the energy storage system, an upgrade instruction can be sent to the EMS through the cloud server, and the corresponding EMS automatically runs the upgrade process for multiple BCUs to achieve the upgrade of multiple BCUs. The user only needs to send an upgrade instruction to complete the upgrade of all BCUs in the energy storage system, thereby reducing the time and human resources consumed and improving the operation and maintenance efficiency of the energy storage system.

[0040] Figure 1 An energy storage system is shown. The battery controller upgrade method provided in the embodiment of the present application can be applied to Figure 1 The energy storage system shown is used to reduce the time and human resources spent on upgrading the energy storage system and improve the operation and maintenance efficiency of the energy storage system. Figure 1 As shown, the energy storage system 10 includes an EMS 11 , a PCS 12 , and a plurality of BCUs 13 .

[0041] Among them, EMS11 is connected to PCS12 and multiple BCU13 respectively. EMS11 is also connected to the cloud server. The user can issue upgrade instructions through the cloud server. The cloud server forwards the upgrade instructions to EMS11 in the energy storage system 10. EMS11 executes the battery controller upgrade method to complete the upgrade of multiple BCU13 in the energy storage system 10.

[0042] Figure 2 FIG. 1 is a flow chart of a battery controller upgrade method according to some exemplary embodiments. In some embodiments, the battery controller upgrade method can be applied to Figure 1 The EMS 11 in the energy storage system 10 is shown. In the following, the embodiment of the present application takes the battery controller upgrade method applied to the EMS 11 as an example to illustrate the battery controller upgrade method.

[0043] like Figure 2 As shown, the battery controller upgrade method provided in the embodiment of the present application includes the following S201-S204.

[0044] S201. EMS obtains an upgrade instruction generated by a cloud server in response to a user operation.

[0045] The upgrade instruction includes a BCU upgrade data package.

[0046] As a possible implementation method, after the user receives an Over The Air (OTA) request sent by the cloud server through the user-end device, the user sends the upgrade time to the cloud server. The cloud server further generates an upgrade instruction including a BCU upgrade data packet in response to the upgrade time sent by the user-end device, and sends the upgrade instruction to the EMS after the upgrade time is reached.

[0047] Correspondingly, EMS obtains the upgrade instruction sent by the cloud server.

[0048] S202. EMS sends a shutdown instruction to PCS.

[0049] The shutdown instruction is used to instruct the PCS to shut down.

[0050] As a possible implementation manner, the EMS sends a shutdown instruction to the PCS in response to the upgrade instruction, so that the PCS stops running in response to the shutdown instruction.

[0051] Correspondingly, after receiving the shutdown command, the PCS first reduces the output power to 0, then stops running, and returns a shutdown signal to the EMS.

[0052] In some embodiments, the EMS responds to the upgrade instruction and instructs the PCS to reduce the output power to 0; after the output power is reduced to 0, the PCS sends a signal to the EMS indicating that the output power has reached 0. Further, the EMS sends a shutdown instruction to the PCS, and the PSC stops running in response to the shutdown instruction and returns a shutdown signal to the EMS.

[0053] S203. In response to the shutdown signal sent by the PCS, the EMS sends a high voltage lowering instruction to the multiple BCUs respectively.

[0054] Among them, the lower high voltage instruction is used to instruct the BCU to stop charging and discharging.

[0055] Correspondingly, after receiving the high-voltage lowering instruction, each BCU in the multiple BCUs stops charging and discharging, and returns a high-voltage lowering signal to the EMS.

[0056] S204 . The EMS sends a BCU upgrade instruction to the target BCU in response to the high voltage lowering signal sent by the target BCU.

[0057] The target BCU is any one of the multiple BCUs, and the upgrade instruction is used to instruct the BCU to upgrade based on the BCU upgrade data package.

[0058] Correspondingly, after receiving the upgrade instruction, the target BCU is upgraded based on the BCU upgrade data packet.

[0059] It can be understood that in the battery controller upgrade method provided in the present application, the user only needs to send the upgrade time, and the energy storage system can automatically complete the upgrade of multiple BCUs, reducing the time and human resources consumed, and improving the operation and maintenance efficiency of the energy storage system.

[0060] In one design, in order to determine whether multiple BCUs in an energy storage system have been successfully upgraded, an embodiment of the present application provides a battery controller upgrade method, such as Figure 3 As shown, it also includes S301-S302.

[0061] S301. EMS obtains the upgrade status sent by the target BCU.

[0062] The upgrade status includes the version number of the BCU, and the upgrade status is used to indicate whether the BCU upgrade is successful or failed.

[0063] As a possible implementation method, after the target BCU is upgraded based on the BCU upgrade data package, it generates an upgrade status based on the current version number and sends it to the EMS.

[0064] Correspondingly, the EMS receives the upgrade status sent by the target BCU.

[0065] S302. The EMS sends the upgrade status of the target BCU to the cloud server.

[0066] As a possible implementation method, EMS sends the upgrade status of the target BCU to the cloud server, so that the cloud server compares the version number included in the upgrade status with the version corresponding to the issued BCU upgrade package. If the comparison is consistent, it is determined that the target BCU upgrade is successful; if the comparison is inconsistent, it is determined that the target BCU upgrade has failed.

[0067] In some embodiments, when the cloud server determines that multiple BCUs are successfully upgraded, it determines that the upgrade of multiple BCUs in the energy storage system is successful. When at least one BCU among the multiple BCUs fails to upgrade, it determines that the upgrade of multiple BCUs in the energy storage system fails.

[0068] In some embodiments, after receiving the upgrade status sent by the target BCU, the EMS determines whether the target BCU is successfully upgraded. Further, after receiving the upgrade status sent by all BCUs, the EMS determines the upgrade results of multiple BCUs in the energy storage system and forwards the upgrade results to the cloud server. In the case that multiple BCUs are successfully upgraded, the upgrade result is a successful upgrade, and in the case that at least one BCU among the multiple BCUs fails to upgrade, the upgrade result is an upgrade failure.

[0069] In some embodiments, when multiple BCUs are successfully upgraded, the EMS sends restart instructions to the multiple BCUs respectively.

[0070] The restart instruction is used to instruct the BCU to restart.

[0071] Correspondingly, after receiving the restart instruction, the BCU restarts to complete the version update of the BCU.

[0072] In some embodiments, when the upgrade of the target BCU fails and the EMS obtains the upgrade status sent by multiple BCUs, the EMS sends version rollback instructions to the multiple BCUs respectively.

[0073] The version rollback instruction is used to instruct the BCU to restore to the version before the upgrade.

[0074] It is understandable that if any BCU fails to upgrade, it means that there is a BCU in the energy storage system that is not compatible with the upgraded version. Therefore, it is necessary to roll back the versions of multiple BCUs in the current energy storage system to ensure that the versions of multiple BCUs in the energy storage system remain consistent and avoid abnormalities in the energy storage system due to inconsistent BCU versions.

[0075] Figure 4 FIG. 1 is a flow chart of a battery controller upgrade method according to some exemplary embodiments. In some embodiments, the battery controller upgrade method can be applied to Figure 1 The target BCU in the multiple BCUs 13 in the energy storage system 10 shown is any one of the multiple BCUs 13. Hereinafter, the battery controller upgrade method is described by taking the battery controller upgrade method applied to the target BCU as an example in the embodiment of the present application.

[0076] like Figure 4 As shown, the battery controller upgrade method provided in the embodiment of the present application includes the following S401-S404.

[0077] S401 . The target BCU stops charging and discharging in response to a lower high voltage instruction sent by the EMS.

[0078] As a possible implementation method, after receiving the high-voltage lowering instruction sent by the EMS, the target BCU stops the currently running charging program or discharging program to prepare for the version upgrade.

[0079] S402. The target BCU sends a high voltage signal to the EMS.

[0080] Correspondingly, the EMS receives the high-voltage signal sent by the target BCU and sends an upgrade instruction to the target BCU.

[0081] S403: The target BCU obtains the upgrade instruction sent by the EMS, and performs an upgrade based on the BCU upgrade data package included in the upgrade instruction.

[0082] As a possible implementation manner, after receiving the upgrade instruction sent by the EMS, the target BCU obtains a BCU upgrade data packet therefrom and runs an upgrade program based on the BCU upgrade data packet to complete the upgrade.

[0083] S404: The target BCU generates and sends an upgrade status to the EMS.

[0084] The upgrade status includes the version number of the BCU, and the upgrade status is used to indicate whether the BCU upgrade is successful or failed.

[0085] As a possible implementation manner, after the target BCU is upgraded based on the BCU upgrade data package, an upgrade status is generated based on the current version number and sent to the EMS, so that the EMS knows whether the BCU is successfully upgraded.

[0086] In some embodiments, when the target BCU fails to upgrade, the reason for the upgrade failure is generated based on the operation log, carried in the upgrade status, and sent to the EMS to help the user determine the cause of the failure and further execute the upgrade again after eliminating the abnormality.

[0087] In some embodiments, after receiving the version rollback instruction sent by the EMS, if the upgrade status of the target BCU is upgrade success, the target BCU is upgraded based on the data packet corresponding to the version before the upgrade to achieve version rollback. If the upgrade status of the target BCU is upgrade failure, no processing is performed.

[0088] In some embodiments, after receiving the restart instruction sent by the EMS, the target BCU runs a restart program and restarts.

[0089] In some embodiments, combined with the above-mentioned embodiments of the present application, Figure 5 As shown, a flow chart of a battery controller upgrade method is provided, which shows the signal flow process between various devices, including S501-S512.

[0090] S501, the cloud server sends an OTA request to the user terminal device;

[0091] S502, the user terminal device sends the upgrade time to the cloud server;

[0092] S503, the cloud server sends an upgrade instruction to the EMS;

[0093] S504, the EMS sends an indication message to the PCS that the output power is reduced to 0;

[0094] S505. After the output power is reduced to 0, the PCS sends a signal to the EMS that the output power has been reduced to 0.

[0095] S506, EMS sends a shutdown instruction to PCS;

[0096] S507, PCS sends a shutdown signal to EMS;

[0097] S508, EMS sends high voltage lowering instructions to multiple BCUs respectively;

[0098] S509, after lowering the high voltage, each BCU in the plurality of BCUs sends a high voltage lowering signal to the EMS;

[0099] S510, after receiving the high voltage lowering signal sent by the BCU, the EMS sends an upgrade instruction to the BCU;

[0100] S511. After completing the upgrade, each BCU in the multiple BCUs sends the upgrade status to the EMS;

[0101] S512. The EMS returns the upgrade results of multiple BCUs to the cloud server.

[0102] It should be noted that the specific implementation method of each device in the above steps S501-S512 can refer to the records of the above embodiments of the present application, and will not be repeated here.

[0103] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0104] The embodiment of the present application can divide the functional modules of the user equipment according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0105] Figure 6 The structure diagram of a battery controller upgrade device provided in an embodiment of the present application is shown in FIG. The battery controller upgrade device is used to execute the above-mentioned battery controller upgrade method. Figure 6 As shown, the battery controller upgrading device 60 includes an acquiring unit 601 and a sending unit 602 .

[0106] The acquisition unit 601 is used to acquire an upgrade instruction generated by the cloud server in response to a user operation, where the upgrade instruction includes a BCU upgrade data package.

[0107] The sending unit 602 is used to send a shutdown instruction to the PCS, where the shutdown instruction is used to instruct the PCS to shut down.

[0108] The sending unit 602 is further used to send a lower high voltage instruction to multiple BCUs respectively in response to the shutdown signal sent by the PCS, and the lower high voltage instruction is used for the BCU to stop charging and discharging.

[0109] The sending unit 602 is further used to send a BCU upgrade instruction to the target BCU in response to the high-voltage signal sent by the target BCU, the target BCU is any one of the multiple BCUs, and the BCU upgrade instruction is used to instruct the BCU to upgrade based on the BCU upgrade data packet.

[0110] Optional, such as Figure 6 As shown, in the battery controller upgrade device 60 provided in the embodiment of the present application, the acquisition unit 601 is also used to acquire the upgrade status sent by the target BCU, the upgrade status includes the version number of the BCU, and the upgrade status is used to indicate whether the BCU upgrade is successful or failed. The sending unit 602 is also used to send the upgrade status of the target BCU to the cloud server.

[0111] Optional, such as Figure 6 As shown, the battery controller upgrading device 60 provided in the embodiment of the present application, the sending unit 602 is also used to send restart instructions to multiple BCUs respectively when multiple BCUs are successfully upgraded, and the restart instructions are used to instruct the BCU to restart.

[0112] Optional, such as Figure 6 As shown, the battery controller upgrade device 60 provided in the embodiment of the present application, the sending unit 602, is also used to send version rollback instructions to multiple BCUs respectively when the target BCU upgrade fails and the upgrade status sent by multiple BCUs is obtained. The version rollback instruction is used to instruct the BCU to restore to the version before the upgrade.

[0113] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiment of the present application provides a possible structural diagram of an EMS. The EMS is used to execute the battery controller upgrade method executed by the battery controller upgrade device in the above-mentioned embodiment. Figure 7 As shown, the EMS 70 includes a processor 701, a memory 702 and a bus 703. The processor 701 and the memory 702 may be connected via the bus 703.

[0114] The processor 701 is the control center of the EMS, which can be a processor or a general term for multiple processing elements. For example, the processor 701 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0115] As an embodiment, the processor 701 may include one or more CPUs, such as Figure 7 CPU 0 and CPU 1 are shown in .

[0116] The memory 702 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0117] As a possible implementation, the memory 702 may exist independently of the processor 701, and the memory 702 may be connected to the processor 701 via a bus 703 to store instructions or program codes. When the processor 701 calls and executes the instructions or program codes stored in the memory 702, the battery controller upgrade method provided in the embodiment of the present application can be implemented.

[0118] In another possible implementation, the memory 702 may also be integrated with the processor 701 .

[0119] The bus 703 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0120] It should be pointed out that Figure 7 The structure shown does not constitute a limitation of the EMS 70. Figure 7 In addition to the components shown, the EMS 70 may include Figure 7 More or fewer components, or combinations of certain components, or different arrangements of components may be shown.

[0121] As an example, combining Figure 6 The functions implemented by the acquisition unit 601 and the sending unit 602 in the battery controller upgrade device 60 are similar to those Figure 7 The function of processor 701 in is the same.

[0122] Optional, such as Figure 7 As shown, the EMS provided in the embodiment of the present application may further include a communication interface 704 .

[0123] The communication interface 704 is used to connect with other devices through a communication network. The communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 704 may include an acquisition unit for receiving data and a sending unit for sending data.

[0124] In one design, in the EMS provided in the embodiments of the present application, the communication interface may also be integrated into the processor.

[0125] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional units is used as an example. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0126] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When a computer executes the instructions, the computer executes each step in the method flow shown in the above method embodiment.

[0127] An embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the battery controller upgrade method in the above method embodiment.

[0128] Among them, the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, and a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), registers, hard disks, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any other form of computer-readable storage medium in a suitable combination of the above, or numerical values ​​in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an Application Specific Integrated Circuit (ASIC). In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0129] Since the apparatus, device computer-readable storage medium, and computer program product in the embodiments of the present application can be applied to the above-mentioned method, the technical effects that can be obtained can also refer to the above-mentioned method embodiments, and the embodiments of the present application will not be described in detail here.

[0130] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A battery controller upgrade method, characterized in that: An energy management system EMS applied to an energy storage system, wherein the energy storage system further comprises an energy storage converter PCS and a plurality of battery cluster management units BCU, wherein the EMS is connected to the PCS and the plurality of BCUs respectively, and the method comprises: Acquire an upgrade instruction generated by the cloud server in response to a user operation, wherein the upgrade instruction includes a BCU upgrade data packet; Sending a shutdown instruction to the PCS, wherein the shutdown instruction is used to instruct the PCS to shut down; In response to the shutdown signal sent by the PCS, respectively send a lower high voltage instruction to the multiple BCUs, wherein the lower high voltage instruction is used to instruct the BCU to stop charging and discharging; In response to a high-voltage signal sent by a target BCU, a BCU upgrade instruction is sent to the target BCU, where the target BCU is any one of the multiple BCUs, and the BCU upgrade instruction is used to instruct the BCU to upgrade based on the BCU upgrade data packet.

2. The battery controller upgrade method according to claim 1, characterized in that: The method further comprises: Obtaining an upgrade status sent by the target BCU, wherein the upgrade status includes a version number of the BCU, and the upgrade status is used to indicate whether the BCU upgrade is successful or failed; Send the upgrade status of the target BCU to the cloud server.

3. The battery controller upgrade method according to claim 2, characterized in that: The method further comprises: In the case that the multiple BCUs are all upgraded successfully, restart instructions are sent to the multiple BCUs respectively, where the restart instructions are used to instruct the BCU to restart.

4. The battery controller upgrade method according to claim 2, characterized in that: The method further comprises: When the target BCU fails to be upgraded and the upgrade status sent by the multiple BCUs is obtained, version rollback instructions are sent to the multiple BCUs respectively, and the version rollback instructions are used to instruct the BCU to restore to the version before the upgrade.

5. A battery controller upgrade method, characterized in that: Applied to a target battery cluster management unit BCU, the target battery cluster management unit BCU is any one of the multiple BCUs included in the battery control upgrade system, the battery control upgrade system also includes an energy management system EMS and an energy storage converter PCS, the EMS is connected to the PCS and the multiple BCUs respectively, the method includes: In response to the EMS sending a high voltage lowering instruction, stopping charging and discharging, and sending a high voltage lowering signal to the EMS; Obtaining the upgrade instruction sent by the EMS, and performing the upgrade based on the BCU upgrade data packet included in the upgrade instruction; Generate and send an upgrade status to the EMS, where the upgrade status includes a version number of the BCU, and the upgrade status is used to indicate whether the BCU upgrade is successful or failed.

6. The battery controller upgrade method according to claim 5, characterized in that: The method further comprises: In response to the version rollback instruction sent by the EMS, if the target BCU is successfully upgraded, the upgrade is performed based on the data packet corresponding to the version before the target BCU is upgraded.

7. The battery controller upgrade method according to claim 5, characterized in that: In the case where the target BCU upgrade fails, the upgrade status also includes the reason for the target BCU upgrade failure.

8. A battery controller upgrade device, characterized in that: An energy management system EMS deployed in an energy storage system, wherein the energy storage system further comprises an energy storage converter PCS and a plurality of battery cluster management units BCU, the EMS is connected to the PCS and the plurality of BCUs respectively, and the battery controller upgrade device comprises an acquisition unit and a sending unit; The acquisition unit is used to acquire an upgrade instruction generated by the cloud server in response to a user operation, wherein the upgrade instruction includes a BCU upgrade data packet; The sending unit is used to send a shutdown instruction to the PCS, where the shutdown instruction is used to instruct the PCS to shut down; The sending unit is further used to send a lower high voltage instruction to the multiple BCUs respectively in response to the shutdown signal sent by the PCS, wherein the lower high voltage instruction is used for the BCU to stop charging and discharging; The sending unit is further used to send a BCU upgrade instruction to the target BCU in response to the high-voltage signal sent by the target BCU, wherein the target BCU is any one of the multiple BCUs, and the BCU upgrade instruction is used to instruct the BCU to upgrade based on the BCU upgrade data packet.

9. An energy management system EMS, characterized in that: including memory and processor; The memory is coupled to the processor; The memory is used to store computer program code, wherein the computer program code includes computer instructions; When the processor executes the computer instructions, the EMS executes the battery controller upgrade method as described in any one of claims 1-7.

10. An energy storage system, characterized in that: It includes the battery controller upgrading device as described in claim 8, or the energy management system EMS as described in claim 9.