Modularized string inverter online program upgrading architecture and method

Through the online program upgrade of the architecture of the modular string inverter, the logic unit and multiple controllers DSP are used to control the relay to maintain the reliability of load power supply, and the problem of load power loss during the upgrade process in the existing technology is solved, and the upgrade is realized Process smoothness and minimization of power changes.

CN118920586AActive Publication Date: 2024-11-08NINGBO GINLONG TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411039353.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-08
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

The existing technology lacks a solution for the load not to be powered off during online program upgrade of modular string inverters, which may lead to interruption of the power grid and load during the upgrade process.

Method used

The online program upgrade architecture of the modular string inverter is adopted, and the logic unit and multiple controllers DSP are controlled by the relay, and the communication bus is used to communicate. The relay groups relay-G and relay-L are controlled to ensure the load power supply. Reliability and power reallocation through the host computer ARM ensures smooth upgrade process.

Benefits of technology

It realizes that the network side relay is kept on the conduction state during the program upgrade process, ensures the reliability of load power supply, and minimizes the power changes on the AC side, ensuring the smoothness of the upgrade process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118920586A_ABST
    Figure CN118920586A_ABST
Patent Text Reader

Abstract

The invention discloses an online program upgrading architecture and method for a modular string inverter. The architecture comprises a relay control logic unit and a plurality of controller DSPs. Each group of serial modules controls a relay group through at least one controller DSP, and a relay control logic unit controls the relay group connected with a power grid and a load; when at least one controller DSP is upgraded, the controller DSP controls the relay group of the corresponding string type module to be disconnected; and the relay logic control unit continues to maintain the closing of the relay group through the communication of the other controller DSPs. The method is implemented through the architecture. The method has the advantages that an online program upgrading scheme and an upgrading preparation power redistribution control mode are provided for an inverter system of a string module, it can be guaranteed that in the program upgrading process, a network side relay is kept in a conduction state, and the reliability of load power supply is guaranteed; and meanwhile, the whole upgrading process can be smoothly switched to minimize the power change of the alternating current side.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of renewable energy power generation technology, and in particular to an online program upgrade architecture and method for a modular string inverter. Background Art

[0002] The modular string photovoltaic storage inverter system has the advantages of high flexibility and easy expansion. Figure 1 and Figure 2 As shown, the traditional modular string photovoltaic storage inverter system mainly includes a plurality of string modules connected in parallel to the bus. After these modules are connected in parallel, they are connected to the power grid and the load through the relay group relay-G and the relay group relay-L, so as to achieve the purpose of system expansion. Each PV unit of each string module is connected to the DC bus through its own DC / DC unit; the battery is connected to the DC bus through a bidirectional DC / DC unit; the DC bus passes through the DC / AC unit and is output through the relay group relay. However, there is no public solution in the prior art for online program upgrade of modular string photovoltaic storage inverter without power failure. Summary of the invention

[0003] One of the objectives of the present application is to provide an architecture for implementing an online program upgrade method for a modular string inverter, which can solve at least one defect in the above-mentioned background technology.

[0004] In order to achieve the above-mentioned purpose, the technical solution adopted in the present application is: a modular string inverter online program upgrade architecture, the modular string inverter includes a relay group relay connected to each string module, and relay groups relay-G and relay-L connected to the AC side of the bus; the architecture includes a relay control logic unit, multiple controllers DSP and a host computer ARM; each string module controls the relay group relay through at least one of the controllers DSP, and the controllers DSP corresponding to each string module communicate with each other through a communication bus; the relay logic control unit is communicatively connected with each of the controllers DSP, and the relay control logic unit controls the relay groups relay-G and relay-L connecting the power grid and the load; the host computer ARM is suitable for sending upgrade instructions to the controller DSP by means of communication; when at least one of the controllers DSP is upgraded, the controller DSP controls the corresponding string module to be blocked; the relay logic control unit continues to maintain the closure of the relay groups relay-G and relay-L through the communication of the remaining controllers DSP.

[0005] Preferably, each of the string-type modules corresponds to a plurality of the controller DSPs, and the controller DSPs communicate with each other; all of the controller DSPs simultaneously control the relay groups of the string-type modules, so that when one or more of the controller DSPs are upgraded, the relay groups corresponding to the string-type modules are disconnected; one of the controller DSPs corresponding to the string-type module is connected to the communication bus to receive program upgrade instructions of all of the controller DSPs corresponding to the string-type module.

[0006] Preferably, the modular string inverter online program upgrade architecture also includes multiple first AND gate units, the first AND gate units corresponding to each of the string modules; the input end of the first AND gate unit is communicatively connected with the multiple controller DSPs corresponding to the string module, and the output end of the first AND gate unit is driven and controlled by the relay group relay of the string module; when one or more of the controller DSPs corresponding to the string module are upgraded, the first AND gate unit is suitable for outputting a low-level drive signal to drive the corresponding relay group relay to disconnect.

[0007] Preferably, the string module corresponds to two controllers DSP that communicate with each other, namely DSP#_1 and DSP#_2, and DSP#_1 communicates with the communication bus; DSP#_1 is used to control the DC / DC unit and the bidirectional DC / DC unit of the string module, and DSP#_2 is used to control the DC / AC unit of the string module; DSP#_1 and DSP#_2 simultaneously control the relay group relay of the string module.

[0008] Preferably, the relay control logic unit includes a first OR gate unit, a second OR gate unit, a second AND gate unit and a third AND gate unit; the first OR gate unit is suitable for receiving a control signal relay-G-ctrl issued by the DSP#_1 corresponding to each of the group string modules; the second OR gate unit is suitable for receiving a control signal relay-L-ctrl issued by the DSP#_1 corresponding to each of the group string modules; the second AND gate unit is suitable for receiving an output signal of the first OR gate unit and a blocking signal relay_block issued by the DSP#_2 corresponding to each of the group string modules; the second AND gate unit is suitable for outputting a drive signal relay-G_drv for controlling the relay group relay-G; the third AND gate unit is suitable for receiving an output signal of the second OR gate unit and a blocking signal relay_block issued by the DSP#_2 corresponding to each of the group string modules; the second AND gate unit is suitable for outputting a drive signal relay-L_drv for controlling the relay group relay-L.

[0009] Preferably, when the controllers corresponding to one or more of the string modules are upgraded, the remaining string modules redistribute power through the corresponding controller DSP so that the output power distribution of the string modules corresponding to the controller to be upgraded is 0.

[0010] A modular string inverter program online upgrade method using the above-mentioned modular string inverter online program upgrade architecture comprises the following steps: a host computer ARM sends a program upgrade preparation instruction to the controller DSP to be upgraded; the host computer ARM performs overall power redistribution according to feedback information of the controller DSP to be upgraded, so that the output power of the string module corresponding to the controller DSP to be upgraded is 0; the host computer ARM sends an upgrade program package to the controller DSP to be upgraded after completing power control, and the controller DSP to be upgraded receives the upgrade program package and completes the upgrade after controlling the corresponding relay group relay to be disconnected; the controller DSP is reconnected to the grid after completing the upgrade and feeds back information to the host computer ARM, and the host computer ARM sends a power allocation value to the corresponding string module according to the information fed back by the controller DSP.

[0011] Preferably, the process of the upper computer ARM performing overall power redistribution according to the feedback information of the controller DSP to be upgraded is as follows: for the string modules to be upgraded, the DC / DC unit performs power limitation through the MPPT control loop, so that the load-limited power target value corresponding to the PV unit is reduced to 0; the bidirectional DC / DC unit adopts dual-loop control of power loop and current loop, so that the power loop target value corresponding to the battery is reduced to 0; the DC / AC unit adopts dual-loop control of voltage loop and current loop to perform power balance on the bus voltage.

[0012] Preferably, the information fed back by the controller DSP to be upgraded to the host computer ARM includes the output power P of the string module to be upgraded. AC1 and battery power P B1 , and the MPPT power P of the non-upgraded string module MPPT2 , output power P AC2 And the battery power P B2 , and then obtain the corresponding load power P L When the controller DSP is upgraded, the control logic of the host computer ARM for the non-upgraded string module is as follows:

[0013] P B2_ref =P B2_max1 , (P L -P PV1 -P B1 -P MPPT2 >P B2_max1 );

[0014] P B2_ref =P L -P PV1_ref -P B1_ref -P MPPT2 , (-P B2_max2 <P L -P PV1 -P B1 -P MPPT2 <P B2_max1 );

[0015] P B2_ref =P B2_max2 , (P L -P PV1 -P B1 -P MPPT2 <-P B2_max2 );

[0016] Among them, P B2_ref represents the power ring target value corresponding to the battery in the non-upgraded string module, P B2_max1 and P B2_max2represent the maximum discharge power and maximum charging power of the battery in the non-upgraded string module, P PV1_ref Indicates the load limit power target value of the string module to be upgraded.

[0017] Preferably, after the controller DSP completes the upgrade, the process of the upper computer ARM allocating power to the string modules is as follows: the DC / AC unit performs dual-loop control on the bus voltage through the voltage loop and the current loop for the upgraded string modules; when the bus voltage stabilizes at the target value, the DC / DC unit performs MPPT control to track the maximum power point; when the maximum power point is tracked, the upper computer ARM sends the battery power target value to all the string modules according to the current working mode, power information and battery status, and then controls the battery power through the power loop and the current loop.

[0018] Compared with the prior art, the beneficial effects of this application are:

[0019] For the inverter system of string modules, this application proposes an online program upgrade solution and a power redistribution control method for upgrade preparation, which can ensure that the grid-side relay remains in the on state during the program upgrade process to ensure the reliability of load power supply. At the same time, the entire upgrade process is smoothly switched, which can minimize the power change on the AC side. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A schematic diagram of the overall architecture of a modular string photovoltaic storage inverter of the present application.

[0021] Figure 2 A schematic diagram of the topological structure of a modular string photovoltaic storage inverter of the present application.

[0022] Figure 3 This is a schematic diagram of the structure of the online program upgrade architecture of the modular string inverter in this application.

[0023] Figure 4 This is a structural diagram of the online program upgrade architecture for a single-module multi-DSP scenario in this application.

[0024] Figure 5 Schematic diagram of the circuit topology of the relay control logic unit in this application.

[0025] Figure 6 Schematic diagram of the control loop of each converter in this application.

[0026] Figure 7 This is a flow chart of online upgrade of DSP#1_1 in this application.

[0027] Figure 8This is a timing diagram of the online upgrade of DSP#1_1 in this application.

[0028] Fig. 9 This is a flow chart of online upgrade of DSP#1_2 in this application.

[0029] Fig.10 This is a timing diagram of the online upgrade of DSP#1_2 in this application. DETAILED DESCRIPTION

[0030] Below, the present application is further described in conjunction with specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form new embodiments.

[0031] In the description of the present application, it should be noted that directional words, such as the terms "center", "lateral", "longitudinal", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", etc., indicating directions and positional relationships are based on the directions or positional relationships shown in the accompanying drawings, which are only for the convenience of narrating the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and cannot be understood as limiting the specific scope of protection of the present application.

[0032] It should be noted that the terms "first", "second", etc. in the description and claims of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0033] The terms "including" and "having" and any variations thereof in the specification and claims of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.

[0034] One aspect of the present application provides a modular string inverter online program upgrade architecture, such as Figure 3As shown, one of the preferred embodiments includes a relay control logic unit and multiple controllers DSP. The modular string inverter includes at least one string module, each string module controls the relay group relay through at least one controller DSP, and the controllers DSP corresponding to each string module can communicate with each other through a communication bus. The relay logic control unit is connected to all the controllers DSP, and the output end of the relay control logic unit can be connected to the relay groups relay-G and relay-L connecting the power grid and the load for control, and the relay groups relay-G and relay-L are comprehensively controlled by the controllers DSP corresponding to all the string modules.

[0035] When the controller DSP is working normally, the controller DSP can output a high-level enable control signal to the corresponding relay group relay, so that the relay group relay is closed and turned on, thereby realizing the normal connection between the string module and the bus. At this time, the relay control logic unit can output a high-level enable signal to the relay groups relay-G and relay-L according to the output signal of the controller DSP, so that the relay groups relay-G and relay-L are both closed and turned on, thereby realizing the grid connection of the string module and the normal power supply of the load.

[0036] When one or more controller DSPs are upgraded, these controller DSPs can output control signals to control the corresponding string modules to be blocked. There are many ways to block, such as directly disconnecting the relay group relay so that the output power of the string module is 0; or blocking the DC / AC unit of the string module so that the output power of the string module is 0, and the relay group relay can remain in the open state. At this time, the relay logic control unit can continue to maintain the closure of the relay group relay-G and relay-L through the communication of the remaining controller DSPs, so that the load can continue to work without power failure.

[0037] It should be known that the specific structure and working principle of the controller DSP are well-known technologies for those skilled in the art, so they will not be elaborated in detail here. The upgrade instruction of the controller DSP can be implemented by the host computer ARM, that is, the host computer ARM is connected to the controller DSP through a signal line for communication. Common signal lines include BOOT, RESET and communication buses such as CAN, etc.; the specific structure and working principle of the host computer ARM are well-known technologies for those skilled in the art, so they will not be elaborated in detail here. When the controller DSP is working normally, the host computer ARM can send a high-level signal to the controller DSP through the signal lines BOOT and RESET, so that the controller DSP outputs a corresponding high-level control signal to control the corresponding relay group relay to perform a high-level enabling closed state.

[0038] It should also be known that when the controller DSP is upgraded, the corresponding string module is blocked and cannot output power, which may cause bus voltage fluctuations. Therefore, when upgrading the controller DSP, the output power of the entire modular string inverter can be redistributed through the communication bus interconnecting the controller DSPs, so that the output power of the string module corresponding to the controller DSP to be upgraded is first reduced to 0, so that during the upgrade of the controller DSP, the controller DSP can be ensured to switch smoothly to minimize the impact of the power change on the bus voltage on the AC side.

[0039] It is understandable that the modular string inverter may include N string modules, respectively marked as string modules #1 to #N; each string module may correspond to M PV units and DC / DC units. Taking any string module #i as an example, each PV unit and DC / DC unit may be marked as PV#i_1 to PV#i_M, and DC / DC#i_1 to DC / DC#i_M, respectively. The values ​​of N and M may be set according to actual needs, and the values ​​of N and M are generally greater than 1. There are multiple control methods for each string module, which can be analyzed through two specific examples below.

[0040] Specific example 1: The string module can control the corresponding DC / DC unit, bidirectional DC / DC unit, DC / AC unit and relay group relay through a controller DSP. When the controller DSP needs to be upgraded, the output power of the string module can be limited to 0 by controlling each converter, and then a low-level control signal is output to the corresponding relay group relay to disconnect the relay group relay.

[0041] Specific example 2: Each string module can control the aforementioned converters through multiple controllers DSP, and multiple controllers DSP can control the relay group relay at the same time. The controllers DSP can communicate with each other through signal lines, such as I2C. One of the controllers DSP communicates with the communication bus, so that the controller DSP can receive the upgrade instructions and upgrade program packages of all controllers DSP, and transmit them to each controller DSP through I2C. Of course, it is also possible that all controllers DSP communicate with the communication bus, so that all controllers DSP can receive corresponding upgrade instructions and upgrade program packages through the communication bus. When one or more controllers DSP need to be upgraded, the corresponding converters can be controlled by each controller DSP first, so that the output power of the string module is limited to 0 first, and then the controller DSP that needs to be upgraded or all controllers DSP output a low-level control signal to the corresponding relay group relay, so that the relay group relay is disconnected.

[0042] It should be noted that both of the above two specific examples can meet the needs of this application, and those skilled in the art can choose according to actual needs. In this embodiment, the control of the string module preferably adopts the above specific example 2; and for the convenience of description, the subsequent content will be described by taking the multiple controllers DSP communicating with the communication bus only through one of the controllers DSP, and the upgraded controller DSP sending a low-level control signal to the relay group relay as an example.

[0043] In this embodiment, there are various control situations for the multiple controllers DSP corresponding to the string modules. Each controller DSP can control one converter individually, or the controller DSP can control multiple converters at the same time. In order to improve resource utilization, this embodiment preferably adopts a combination of the two. For ease of understanding, a specific example will be used for detailed explanation below.

[0044] Specifically, Figure 4As shown, each string module corresponds to two controllers DSP, and the two controllers DSP can be marked as DSP#_1 and DSP#_2 respectively. DSP#_1 can communicate with the communication bus, and DSP#_2 communicates with DSP#_1 through a signal line. Among them, DSP#_1 can be used to control all DC / DC units and bidirectional DC / DC units of the string module, and DSP#_2 is used to control the DC / AC unit of the string module; DSP#_1 and DSP#_2 control the relay group relay of the string module at the same time. It should be known that the DC / AC unit needs to process the data of multiple DC / DC units and bidirectional DC / AC units at the same time, so a separate controller DSP can be set for control. The data processing volume of a single DC / DC unit is small, so a separate controller DSP can be set to control all DC / DC units and bidirectional DC / DC units at the same time.

[0045] In this embodiment, there are multiple specific structures for the multiple controllers DSP corresponding to the string modules to control the relay group relay. For the sake of easy understanding, the following will be described in detail using one of the structures. Figure 4 As shown, the modular string inverter online program upgrade architecture also includes multiple first AND gate units, each of which corresponds to each string module. The input end of the first AND gate unit can be connected to the multiple controllers DSP corresponding to the string module, and the output end of the first AND gate unit is driven and controlled by the relay group relay of the string module. When one or more controllers DSP corresponding to the string module are upgraded, a low-level control signal can be sent to the first AND gate unit; thus, the first AND gate unit can output a low-level drive signal relay_drv according to its own working logic to drive the corresponding relay group relay to disconnect.

[0046] It should be known that the specific structure and working principle of the first AND gate unit are well known to those skilled in the art, and therefore will not be elaborated on in detail herein; the working logic of the AND gate unit is that it outputs a high level only when both input terminals are at a high level.

[0047] In this embodiment, there are multiple specific structures of the relay control logic unit that can ensure that the relay groups relay-G and relay-L on the output side are powered on when the controller DSP is upgraded. For ease of understanding, one of the structures will be described in detail below. Figure 4 and Figure 5 As shown, the relay control logic unit includes a first OR gate unit, a second OR gate unit, a second AND gate unit and a third AND gate unit.

[0048] The input end of the first OR gate unit is respectively connected to the DSP#_1 corresponding to each group of string modules, and the output end of the first OR gate unit is connected to one of the input ends of the second AND gate unit; thereby, the first OR gate unit can receive the control signal relay-G-ctrl sent by the DSP#_1 corresponding to each group of string modules, and send the corresponding level signal to the second AND gate unit.

[0049] The input end of the second OR gate unit is respectively connected to the DSP#_1 corresponding to each group of string modules, and the output end of the first OR gate unit is connected to one of the input ends of the third AND gate unit; thus, the first OR gate unit can receive the control signal relay-L-ctrl sent by the DSP#_1 corresponding to each group of string modules, and send the corresponding level signal to the third AND gate unit.

[0050] The remaining input ends of the second AND gate unit are respectively connected to the controller DSP#2 corresponding to each group of string modules, and the output end of the second AND gate unit is connected to the relay group relay-G for control. Therefore, the second AND gate unit can output the driving signal relay-G_drv for controlling the relay group relay-G according to the level signal output by the received first OR gate unit and the blocking signal relay_block sent by the DSP#2 corresponding to each group of string modules.

[0051] The remaining input ends of the third AND gate unit are respectively connected to the controller DSP#2 corresponding to each group of string modules, and the output end of the third AND gate unit is connected to the relay group relay-L for control. Thus, the third AND gate unit can output the driving signal relay-L_drv for controlling the relay group relay-L according to the level signal output by the received second OR gate unit and the blocking signal relay_block sent by the DSP#2 corresponding to each group of string modules.

[0052] It should be known that the specific structures and working principles of the first OR gate unit, the second OR gate unit, the third AND gate unit and the fourth AND gate unit are well-known technologies to those skilled in the art, so they will not be elaborated in detail here; the working logic of the OR gate unit is that it outputs a low level only when the input ends are all low levels, and the working logic of the AND gate unit is that it outputs a high level only when the input ends are all high levels.

[0053] For ease of understanding, the specific working process of the modular string inverter online upgrade architecture of the present application will be described in detail below by taking the values ​​of N and M both being 2 as an example.

[0054] like Figure 4 and Figure 5As shown, the two controllers DSP corresponding to the string module #1 can be marked as DSP#1_1 and DSP#1_2, respectively, and the two controllers DSP corresponding to the string module #2 can be marked as DSP#2_1 and DSP#2_2, respectively. The communication bus includes CANH and CANL, and the host computer ARM is connected to the communication bus CA NH and CANL through the communication lines CAN_RX and CAN_TX. DSP#1_1 is connected to the communication bus CANH and CANL through the communication lines CAN_RX_1 and CAN_TX_1, respectively, and DSP#2_1 is connected to the communication bus CANH and CANL through the communication lines CAN_RX_2 and CAN_TX_2. The host computer ARM is connected to DSP#1_1 and DSP#2_1 through the upgrade signal lines RESET1 and RESET2, respectively, and the host computer ARM is also connected to DSP#1_1 and DSP#2_1 through the upgrade signal line BOOT. DSP#1_1 is connected to DSP#1_2 through communication lines SCL_1 and SLA_1, and is also connected to DSP#1_2 through upgrade signal lines BOOT1_2 and RESET1_2. DSP#2_1 is connected to DSP#2_2 through communication lines SCL_2 and SLA_2, and is also connected to DSP#2_2 through upgrade signal lines BOOT2_2 and RESET2_2.

[0055] It should be noted that the program upgrade signal lines of DSP#1_1 and DSP#2_1 share a BOOT line, which is reset by RESET1 and RESET2 respectively, and determines whether DSP#1_1 or DSP#1_2 executes the upgrade boot program according to the BOOT status. RESET1 and RESET2 cannot output low level at the same time.

[0056] The first AND gate unit corresponding to the string module #1 can be marked as AND gate unit #1, and the first AND gate unit corresponding to the string module #2 can be marked as AND gate unit #2; the first OR gate unit and the second OR gate unit of the relay control logic unit can be marked as OR gate unit #1 and OR gate unit #2 respectively; the second AND gate unit and the third AND gate unit of the relay control logic unit can be marked as AND gate unit #G and AND gate unit #L respectively. AND gate unit #1 sends a driving signal relay1_drv to the relay group relay1 corresponding to the string module #1 according to the control signal relay1_ctrl sent by DSP #1_1 and the blocking signal relay_block_1 sent by DSP #1_2. AND gate unit #2 sends a driving signal relay2_drv to the relay group relay2 corresponding to the string module #2 according to the control signal relay2_ctrl sent by DSP #2_1 and the blocking signal relay_block_2 sent by DSP #2_2. The OR gate unit #1 outputs a corresponding level signal G according to the control signal relay-G_ctrl_1 sent by DSP#1_1 and the control signal relay-G_ctrl_2 sent by DSP#2_1. The OR gate unit #2 outputs a corresponding level signal L according to the control signal relay-L_ctrl_1 sent by DSP#1_1 and the control signal relay-L_ctrl_2 sent by DSP#2_1. The AND gate unit #G can send a driving signal relay-G_drv to the relay group relay-G according to the received level signal G, the blocking signal relay_block_1 sent by DSP#2_1 and the blocking signal relay_block_2 sent by DSP#2_2. The AND gate unit #L can send a driving signal relay-L_drv to the relay group relay-L according to the received level signal L, the blocking signal relay_block_1 sent by DSP#2_1 and the blocking signal relay_block_2 sent by DSP#2_2.

[0057] According to the above example structure, the working logic relationship of each driving signal can be summarized as follows:

[0058] relay1_drv=relay1_ctrl&relay_block_1.

[0059] relay2_drv=relay2_ctrl&relay_block_2.

[0060] relay-G_drv=(relay-G_ctrl_1|relay-G_ctrl_2)&relay_block_1&relay_block_2.

[0061] relay-L_drv=(relay-L_ctrl_1|relay-L_ctrl_2)&relay_block_1&relay_block_2.

[0062] Another aspect of the present application provides a method for online program upgrade of a modular string inverter using the above-mentioned online program upgrade architecture of the modular string inverter, such as Figures 7 to 10 As shown, one of the preferred embodiments includes the following steps: the host computer ARM sends a program upgrade preparation instruction to the controller DSP to be upgraded. The host computer ARM redistributes the overall power according to the feedback information of the controller DSP to be upgraded, so that the output power of the string module corresponding to the controller DSP to be upgraded is 0. After completing the power control, the host computer ARM sends an upgrade program package to the controller DSP to be upgraded. The controller DSP to be upgraded receives the upgrade program package and completes the upgrade after controlling the corresponding relay group relay to be disconnected. After completing the upgrade, the controller DSP is reconnected to the grid and feedbacks information to the host computer ARM. The host computer ARM sends the power allocation value to the corresponding string module according to the information feedback from the controller DSP.

[0063] It is understandable that the program upgrade process of the controller DSP can be divided into a preparation stage, an upgrade stage, and an upgrade completion stage. For ease of understanding, the upgrade process can be described in detail below in conjunction with the aforementioned architecture topology in which both N and M are 2. Since the upgrade process of DSP#2_1 is the same as that of DSP#1_1, and the upgrade process of DSP#2_2 is the same as that of DSP#1_2, the following content only describes the upgrade process of DSP#1_1 and DSP#1_2. For the convenience of description, the string module corresponding to the controller DSP to be upgraded can be defined as the string module to be upgraded, and the remaining string modules can be defined as non-upgraded string modules.

[0064] 1. The upgrade process of DSP#1_1, such as Figure 3 , Figure 4 , Figure 7 and Figure 8 shown.

[0065] Preparation stage: First, the host computer ARM sends DSP#1_1 program upgrade preparation instructions to DSP#1_1 and DSP#2_1, corresponding to Figure 8After receiving the program upgrade instruction, DSP#1_1 and DSP#2_1 send the output power P of the string module #1 to be upgraded to the upper computer ARM. AC1 and battery power P B1 , and the MPPT power P of the non-upgraded string module #2 MPPT2 , output power P AC2 and battery power P B2 ,correspond Figure 8 b1 and b2 positions in the middle, so that the host computer ARM can obtain the load power P L .

[0066] Then, the modular string inverter enters the power redistribution control in the upgrade preparation stage. The host computer ARM performs power distribution according to the overall power information of the current modular string inverter. Figure 8 a3 and a4 positions, so that the output power P of the string module #1 to be upgraded AC1 is 0. The specific control process is as follows:

[0067] like Figure 6 As shown, for the string module #1 to be upgraded, its DC / DC unit can limit the power through the MPPT control loop so that the load limit power target value P corresponding to the PV unit PV1_ref The bidirectional DC / DC unit uses a power loop and a current loop to perform dual-loop control on the battery power, so that the power loop target value P corresponding to the battery B1_ref (absolute value) is reduced to 0 with a certain slope. The DC / AC unit uses a voltage loop and a current loop to perform dual-loop control on the bus voltage to achieve power balance.

[0068] For the non-upgraded string module #2, its DC / DC unit adopts MPPT control; the bidirectional DC / DC unit adopts dual-loop control of power loop and current loop, and its power loop target value P B2_ref The host computer ARM is given according to the current working mode, power information and battery status information of the modular string inverter; the DC / AC unit uses the voltage loop and the current loop to perform dual-loop control on the bus voltage to achieve power balance. For ease of understanding, the following will take the modular string inverter working in the self-generation and self-use mode as an example to explain in detail the given logic of the battery power target value of the non-upgraded string module #2. The given logic in other modes can be adjusted accordingly.

[0069] P B2_ref =P B2_max1 , (P L -P PV1 -P B1-P MPPT2 >P B2_max1 ).

[0070] P B2_ref =P L -P PV1_ref -P B1_ref -P MPPT2 , (-P B2_max2 <P L -P PV1 -P B1 -P MPPT2 <P B2_max1 ).

[0071] P B2_ref =P B2_max2 , (P L -P PV1 -P B1 -P MPPT2 <-P B2_max2 ).

[0072] Among them, P B2_max1 and P B2_max2 They represent the maximum discharge power and maximum charging power of the battery in the non-upgraded string module. L -P PV1 -P B1 -P MPPT2 >P B2_max1 When P is high, it means the load is heavy and the modular string inverter needs to output at maximum power. The insufficient power needs to be provided by the grid. L -P PV1 -P B1 -P MPPT2 <-P B2_max2 When the load is very light, the PV unit can fully charge the battery and the excess can be fed into the grid. B2_max2 <P L -P PV1 -P B1 -P MPPT2 <P B2_max1 When , it means that the modular string inverter can meet the self-generation and self-use, and the power fed into the grid is 0.

[0073] It should be noted that if the above solution is extended to more than two string modules, the power control loop is the same, and the host computer ARM only needs to adjust the battery power target value of each string module according to the system power information and battery status information.

[0074] After the system loop control of the modular string inverter, if the output power of the string module #1 to be upgraded is adjusted to 0, the converter drive signals of the string module #1 to be upgraded are blocked. Then DSP #1_1 sends the power control completion information to ARM, corresponding to Figure 8 b3 position; then DSP#1_1 starts to enter the upgrade phase. If the output power of the string module #1 to be upgraded is not adjusted to 0, the power control is continued.

[0075] Upgrade stage: The host computer ARM first sets the BOOT line and the RESET1 line to a low level; specifically, the RESET1 line can be set to a low level 10ms later than the BOOT line, that is, the host computer ARM first sets the BOOT line to a low level, and then sets the RESET1 line to a low level 10ms later; so that the control signals relay1_ctrl, relay-G_ctrl_1, and relay-L_ctrl_1 are pulled down to a low level. At this time, the RESET2 line remains at a high level, and the control signals relay2_ctrl, relay-G_ctrl_2, and relay-L_ctrl_2 remain at a high level. After the logic unit works, the output drive signal relay1_drv is low level, and the drive signals relay2_drv, relay-G_drv, and relay-L_drv are high level. Then the relay group relay1 corresponding to the upgraded string module #1 is disconnected, and the group relays relay2, relay-G, and relay-L continue to be open, thereby ensuring that the load continues to work without power failure. After the RESET1 line is reset, DSP#1_1 executes the boot program, starts to receive the upgrade package and upgrades, corresponding Figure 8 a5 position in the middle. After the upgrade package is received, the upgrade completion phase begins. It should be noted that during the program upgrade phase, DSP#1_2 maintains normal operation and communication; at the same time, the non-upgraded string module #2 continues to maintain the power redistribution control in the upgrade preparation phase. Specifically, during the DSP#1_1 program upgrade process, DSP#2_1 communicates normally with the host computer ARM, and DSP#2_1 works normally. The relay groups relay2, relay-G, and relay-L are maintained and controlled by DSP#2_1, and when DSP#1_1 is reset, the signal of the RESET1_2 line needs to be pulled up to enable DSP#1_2 to work normally and ensure the normal output of the blocking signal relay_block_1.

[0076] Upgrade completion stage: The host computer ARM sets the BOOT line, control signals relay-G_ctrl_1 and relay-L_ctrl_1 to high level, so that DSP#1_1 can resume communication with the host computer ARM. At the same time, the upgraded string module #1 is connected to the grid. After the string module #1 is connected to the grid, the control signal relay1_ctrl is set to high level, so that the DC / AC unit and DC / DC unit of the string module #1 begin to resume power control. Then DSP#1_1 and DSP#1_2 send the current power and battery status information of string module #1 and string module #2 to the host computer ARM respectively, corresponding to Figure 8 Then the host computer ARM sends the power control instructions of the string module #1 and the string module #2 to DSP#1_1 and DSP#1_2 respectively, that is, the battery power target value, corresponding to Figure 8 a6 and a7 positions; then the modular string inverter starts to work normally. The battery power target value is given by the host computer ARM according to the set working mode and the overall power and battery status of the modular string inverter.

[0077] The specific power control of the string module by the upper computer ARM includes the following process: First, the DC / AC unit performs dual-loop control of the bus voltage through the voltage loop and the current loop for the upgraded string module #1. When the bus voltage stabilizes at the target value, the DC / DC unit performs MPPT control to track the maximum power point. At this time, the PV unit of the string module #1 feeds energy to the grid. After tracking the maximum power point, the upper computer ARM sends the battery power target value to the upgraded string module #1 and the non-upgraded string module #2 according to the current working mode (such as self-generation and self-use mode), power information, and battery status information, and controls the battery power through the dual-loop control of the power loop and the current loop. At this stage, the DC / DC unit of the non-upgraded string module #2 performs MPPT control, and the DC / AC unit controls the bus voltage and achieves power balance through the dual-loop control of the voltage loop and the current loop.

[0078] 1. The upgrade process of DSP#1_2, such as Figure 3 , Figure 4 , Fig. 9 and Fig.10 shown.

[0079] For DSP#1_2 to be controlled and upgraded by DSP#1_1, the upgrade process can also be divided into the preparation stage, the upgrade stage and the upgrade completion stage; among them, the upgrade preparation stage is the same as the upgrade preparation stage of DSP#1_1 mentioned above, so it will not be described again here. The following will describe in detail the upgrade stage and the upgrade completion stage of DSP#1_2 upgrade process. Fig.10The positions c1 to c4 correspond to Figure 8 Positions a1 to a4 in Fig.10 The positions d1 to d3 in Figure 8 The b1 to b3 positions in .

[0080] Upgrade phase: The host computer ARM sends the upgrade package of DSP#1_2 to DSP#1_1 via CAN bus, corresponding to Fig.10 After receiving the upgrade package and storing it, DSP#1_1 sets the BOOT1_2 line to a low level first, and then sets the RESET1_2 line to a low level after 10ms. Then DSP#1_2 receives the upgrade package through I2C communication, corresponding to Fig.10 e5 position. During the upgrade process, the blocking signal relay_block_1 output by DSP#1_2 is reset and pulled up to a high level, and loses the blocking function; it should be noted that the blocking signal relay_block_1 here is reset and pulled up by external hardware. At this time, the control signals relay1_ctrl, relay-G_ctrl_1, and relay-L_ctrl_1 output by DSP#1_1 remain at a high level; the control signals relay2_ctrl, relay-G_ctrl_2, and relay-L_ctrl_2 output by DSP#2_1 remain at a high level. Therefore, after each logic unit performs logical work, the output drive signals relay1_drv, relay2_drv, relay-G_drv, and relay-L_drv are all high levels, and the relay groups relay1, relay2, relay-G, and relay-L remain in the open state. It should be noted that, during the program upgrade phase, although the relay group relay1 remains open, the DC / AC circuit controlled by DSP#1_2 stops working, so the string module #1 still cannot output power, that is, the output power is 0.

[0081] Upgrade completion stage: After DSP#1_2 completes the upgrade, the host computer ARM can set the BOOT line, control signals relay-G_ctrl_1 and relay-L_ctrl_1 to high level. DSP#1_1 resumes communication with the host computer ARM, and after the string module #1 is reconnected to the grid, the control signal relay1_ctrl is set to high level, and the DC / AC unit and DC / DC unit of the string module #1 begin to resume power control; at this time, the output power P of the string module #1 AC1 The MPPT power tracked by the DC / DC unit. When the DC / DC unit tracks the maximum power, DSP#1_1 resumes communication with the host computer ARM and sends the current power and battery status information of the string module #1 to the host computer ARM. Fig.10DSP#2_1 sends the current power and battery status information of the string module #2 to the upper computer ARM, corresponding to Fig.10 Then the host computer ARM sends the battery power target values ​​of string module #1 and string module #2 to DSP#1_1 and DSP#2_1 respectively, corresponding to Fig.10 c6 and c7. Then the modular string inverter starts to work normally, and the battery power target value is given by the host computer ARM according to the set working mode and the overall power and battery status of the modular string inverter. The power recovery process and control loop in this stage are the same as those in the DSP#1_1 upgrade completion stage, so they will not be repeated here.

[0082] The above describes the basic principles, main features and advantages of the present application. Those skilled in the art should understand that the present application is not limited by the above embodiments, and the above embodiments and the specification only describe the principles of the present application. The present application may have various changes and improvements without departing from the spirit and scope of the present application, and these changes and improvements fall within the scope of the present application for which protection is sought. The scope of protection claimed by the present application is defined by the attached claims and their equivalents.

Claims

1. A modular string inverter online program upgrade architecture, the modular string inverter includes a relay group relay connected to each string module, and relay groups relay-G and relay-L connected to the AC side of the bus; characterized in that, include: Multiple controller DSPs; Each group of string modules controls the relay group through at least one of the controllers DSP, and the controllers DSP corresponding to each group of string modules communicate with each other through a communication bus; Relay control logic unit; the relay logic control unit is connected to each of the controllers DSP, and the relay control logic unit controls the relay groups relay-G and relay-L; as well as Host computer ARM; the host computer ARM is suitable for sending upgrade instructions to the controller DSP through communication; When at least one of the controllers DSP is upgraded, the controller DSP controls the corresponding group of string modules to be blocked; the relay logic control unit continues to maintain the closure of the relay groups relay-G and relay-L through communication with the remaining controllers DSP.

2. The modular string inverter online program upgrade architecture according to claim 1, characterized in that: Each of the string modules corresponds to a plurality of the controllers DSP, and the controllers DSP communicate with each other; All the controllers DSP simultaneously control the relay groups of the string modules, so that when one or more of the controllers DSP are upgraded, the relay groups corresponding to the string modules are disconnected; One of the controllers DSP corresponding to the string module is connected to the communication bus to receive program upgrade instructions of all the controllers DSP corresponding to the string module.

3. The modular string inverter online program upgrade architecture according to claim 2, characterized in that: The modular string inverter online program upgrade architecture further includes a plurality of first AND gate units, wherein the first AND gate units correspond to each of the string modules; The input end of the first AND gate unit is communicatively connected with the plurality of controllers DSP corresponding to the group string module, and the output end of the first AND gate unit is driven and controlled by the relay group relay of the group string module; When one or more of the controllers DSP corresponding to the string modules are upgraded, the first AND gate unit is suitable for outputting a low-level driving signal to drive the corresponding relay group relay to be disconnected.

4. The modular string inverter online program upgrade architecture according to claim 2, characterized in that: The string module corresponds to two controllers DSP that communicate with each other, namely DSP#_1 and DSP#_2, and DSP#_1 communicates with the communication bus; DSP#_1 is used to control the DC / DC unit and the bidirectional DC / DC unit of the string module, and DSP#_2 is used to control the DC / AC unit of the string module; DSP#_1 and DSP#_2 simultaneously control the relay group relay of the string module.

5. The modular string inverter online program upgrade architecture according to claim 4, characterized in that: The relay control logic unit comprises: A first OR gate unit; the first OR gate unit is adapted to receive a control signal relay-G-ctrl sent by the DSP#_1 corresponding to each of the string modules; The second OR gate unit is adapted to receive the control signal relay-L-ctrl sent by the DSP#_1 corresponding to each of the string modules; a second AND gate unit; the second AND gate unit is adapted to receive the output signal of the first OR gate unit and the blocking signal relay_block issued by the DSP#_2 corresponding to each of the string modules; the second AND gate unit is adapted to output a driving signal relay-G_drv for controlling the relay group relay-G; and The third AND gate unit; the third AND gate unit is suitable for receiving the output signal of the second OR gate unit and the blocking signal relay_block issued by the DSP#_2 corresponding to each group of string modules; the second AND gate unit is suitable for outputting the driving signal relay-L_drv for controlling the relay group relay-L.

6. The modular string inverter online program upgrade architecture according to any one of claims 1 to 5, characterized in that: When the controllers corresponding to one or more of the string modules are upgraded, the remaining string modules redistribute power through the corresponding controller DSP, so that the output power distribution of the string modules corresponding to the controller to be upgraded is 0.

7. A method for online program upgrade of a modular string inverter using the online program upgrade architecture of a modular string inverter according to any one of claims 1 to 6, characterized in that: The steps include: The host computer ARM sends a program upgrade preparation instruction to the controller DSP to be upgraded; The host computer ARM redistributes the overall power according to the feedback information of the controller DSP to be upgraded, so that the output power of the string module corresponding to the controller DSP to be upgraded is 0; The host computer ARM sends an upgrade package to the controller DSP to be upgraded after completing power control. The controller DSP to be upgraded receives the upgrade package and completes the upgrade after controlling the corresponding relay group relay to be disconnected; After completing the upgrade, the controller DSP is connected to the grid again and feeds back information to the host computer ARM. The host computer ARM sends a power allocation value to the corresponding string module according to the information fed back by the controller DSP.

8. The method for online upgrading of modular string inverter program according to claim 7, characterized in that: The process of the host computer ARM performing overall power redistribution according to the feedback information of the controller DSP to be upgraded is as follows: For the string modules to be upgraded, the DC / DC unit performs power limitation through the MPPT control loop so that the output power of the PV unit is reduced to 0; The bidirectional DC / DC unit adopts dual-loop control of power loop and current loop to reduce the output power of the battery to 0; The DC / AC unit uses a voltage loop and a current loop to perform dual-loop control of the bus voltage for power balance.

9. The method for online upgrading of modular string inverter program according to claim 8, characterized in that: The information fed back by the controller DSP to be upgraded to the host computer ARM includes the output power P of the string module to be upgraded. AC1 and battery power P B1 , and the MPPT power P of the non-upgraded string module MPPT2 , output power P AC2 And the battery power P B2 , and then obtain the corresponding load power P L ; When the controller DSP is upgraded, the control logic of the host computer ARM for the non-upgraded string module is as follows: P B2_ref =P B2_max1 ,(P L -P PV1 -P B1 -P MPPT2 >P B2_max1 ); P B2_ref =P L -P PV1_ref -P B1_ref -P MPPT2 ,(-P B2_max2 <P L -P PV1 -P B1 -P MPPT2 <P B2_max1 ); P B2_ref =P B2_max2 ,(P L -P PV1 -P B1 -P MPPT2 <-P B2_max2 ); Among them, P B2_ref represents the power ring target value corresponding to the battery in the non-upgraded string module, P B2_max1 and P B2_max2 represent the maximum discharge power and maximum charging power of the battery in the non-upgraded string module, P PV1_ref Indicates the load limit power target value of the string module to be upgraded.

10. The method for online upgrading of modular string inverter program according to claim 7, characterized in that: After the controller DSP completes the upgrade, the process of the host computer ARM performing power distribution on the string modules is as follows: The DC / AC unit controls the bus voltage of the upgraded string module through a voltage loop and a current loop; When the bus voltage stabilizes at the target value, the DC / DC unit performs MPPT control to track the maximum power point; When the maximum power point is tracked, the host computer ARM sends the battery power target value to all the string modules according to the current working mode, power information and battery status, and then controls the battery power through the power loop and the current loop.

Citation Information

Patent Citations

  • OTA upgrade control circuit, control method and inversion equipment

    CN117595481A

  • Magnetic control electric reactor controller

    CN202488142U

  • Integrated POTS / MLT card

    US20030198341A1