Inverter program online upgrading architecture
The redundant design of the dual-controller architecture solves the problem of load power failure during inverter system program upgrades, enabling the load to be powered normally during controller upgrades and improving system reliability and stability.
Patent Information
- Application Number
- CN202423239618.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2034-12-27
AI Technical Summary
During the inverter system program upgrade, the relay control signal sent by the controller switched to a low level, causing the relay group to open circuit, resulting in a power outage of the load and affecting normal use by the user.
The system adopts a dual-controller architecture. The first and second controllers jointly control the relay group during normal operation to provide redundant protection. When one controller is isolated for upgrades, the other controller independently controls the relay group to ensure normal operation of the load side and the power grid side.
This improves the reliability and stability of the inverter system, ensuring that the load continues to be powered normally during the controller upgrade process, and avoiding load power outages caused by controller upgrades.
Smart Images

Figure CN223566138U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to new energy power generation technical field especially is involved in a kind of inverter program online upgrade architecture. BACKGROUND
[0002] In the related art, the inverter system has a power grid interface and a load interface, and the power grid interface and the load interface are respectively provided with corresponding relay groups.Further, the controller controls each converter of the inverter system, such as DC / DC, bidirectional DC / DC, DC / AC, and each relay group, such as the power grid side relay group and the load side relay group.
[0003] However, when the controller upgrades the program, the relay controller signal sent by the controller will be switched to low level, thereby causing the relay group to be in an open circuit state, resulting in power failure of the load, which affects the normal use of the user. UTILITY MODEL CONTENT
[0004] One object of the utility model is to provide an inverter program online upgrade architecture to enable the load to be normally powered on during the process of controller program upgrade.
[0005] To achieve the above object, the utility model adopts the technical scheme of an inverter program online upgrade architecture, comprising: an upper computer adapted to issue an upgrade instruction; a control circuit connected to a plurality of relay groups of an inverter system to control the switching of each relay group between an open circuit state and a closed state; a first controller in communication with the upper computer and connected to the input end of the control circuit; a second controller in communication with the upper computer and connected to the input end of the control circuit; under the condition that both the first controller and the second controller are working normally, the first controller and the second controller jointly control each relay group through the control circuit; and under the condition that one of the first controller and the second controller is isolated for upgrade, the other of the first controller and the second controller is adapted to control each relay group through the control circuit.
[0006] As a preferred, the control circuit comprises several selection modules, the first controller is connected with the input of each selection module, the second controller is connected with the input of each selection module, the selection module is suitable for and logic processing, the output of the selection module is connected with the corresponding relay group; under the condition that the first controller and the second controller are normal, each selection module is suitable for making the corresponding relay group in the closed state through the high level signal sent by the first controller and the high level signal sent by the second controller; under the condition that one of the first controller and the second controller is isolated upgrade, each selection module is suitable for making the corresponding relay group in the closed state through the high level signal sent by the other of the first controller and the second controller.
[0007] As a preferred, the inverter program online upgrade architecture further comprises a blocking circuit, the blocking circuit is suitable for outputting a low level blocking action signal under the condition of inverter system failure; the control circuit further comprises several signal modules, the blocking circuit is connected with one of the inputs of each signal module, the other input of the signal module is connected with the output of the corresponding selection module, the signal module is suitable for and logic processing, the output of the signal module is connected with the corresponding relay group, so that each relay group is in the open state under the condition of inverter system failure.
[0008] As a preferred, the input of the blocking circuit receives the blocking control signal one, the blocking control signal two and the blocking control signal three sent by the host computer of the first controller and the second controller respectively; under the condition that at least two of the blocking control signal one, the blocking control signal two and the blocking control signal three are high level, the blocking action signal output by the blocking circuit is high level.
[0009] As a preferred, the blocking circuit comprises a first AND gate unit, a second AND gate unit, a third AND gate unit and a protection module; one input end of the first AND gate unit receives the blocking control signal one, the other input end of the first AND gate unit receives the blocking control signal two; one input end of the second AND gate unit receives the blocking control signal two, the other input end of the second AND gate unit receives the blocking control signal three; one input end of the third AND gate unit receives the blocking control signal one, the other input end of the third AND gate unit receives the blocking control signal three; the output ends of the first AND gate unit, the second AND gate unit and the third AND gate unit are connected to the input end of the protection module, the protection module is adapted to perform or logic processing, and the blocking action signal output by the protection module is connected to one input end of each of the signal modules.
[0010] As a preferred, the selection modules comprise a grid-side selection module, the signal modules comprise a grid-side signal module, one input end of the grid-side selection module receives the grid-side control signal one sent by the first controller, the other input end of the grid-side selection module receives the grid-side control signal two sent by the second controller, the grid-side selection module outputs a grid-side intermediate signal, the grid-side intermediate signal is connected to one input end of the grid-side signal module, the other input end of the grid-side signal module receives the blocking action signal sent by the blocking circuit, and the output end of the grid-side signal module outputs a grid-side action signal, so that the relay group connected to the grid side is switched between the open state and the closed state.
[0011] As a preferred, the selection modules comprise a load selection module, the signal modules comprise a load signal module, one input end of the load selection module receives the load control signal one sent by the first controller, the other input end of the load selection module receives the load control signal two sent by the second controller, the load selection module outputs a load intermediate signal, the load intermediate signal is connected to one input end of the load signal module, the other input end of the load signal module receives the blocking action signal sent by the blocking circuit, and the output end of the load signal module outputs a load action signal, so that the relay group connected to the load side is switched between the open state and the closed state.
[0012] As a kind of preferred, the selection module includes or gate unit, one input of the or gate unit is connected with the first controller control, another input of the or gate unit is connected with the second controller control;Or, the selection module includes several unidirectional branches, one of the unidirectional branches is electrically connected with the first controller, another unidirectional branch is electrically connected with the second controller.
[0013] As a kind of preferred, the protection module includes first or gate unit, three inputs of the first or gate unit are respectively connected with the output of first and gate unit, the output of the second and gate unit and the output of the third and gate unit control;Or, the protection module includes several unidirectional branches, the output of first and gate unit, the output of the second and gate unit and the output of the third and gate unit are respectively connected with one of the inputs of each signal module control through the unidirectional branch.
[0014] As a kind of preferred, under the condition that the first controller carries out isolated upgrade, each control signal output by the first controller is switched to low level, and the second controller and the upper computer control each relay group respectively;Under the condition that the second controller carries out isolated upgrade, each control signal output by the second controller is switched to low level, and the first controller and the upper computer control each relay group respectively.
[0015] Compared with the prior art, the utility model has the advantages that:
[0016] Under the condition of normal work, the first controller and the second controller control each relay group of inverter system respectively, to play the role of redundant protection, to improve the reliability and stability of inverter system.In the condition that one of the first controller and the second controller carries out isolated upgrade, the other of the first controller and the second controller is suitable for controlling each relay group of inverter system respectively, so that load side and grid side continue to work normally, to ensure the normal power use of load in the process of upgrading one of the controllers. BRIEF DESCRIPTION OF DRAWINGS
[0017] Figure 1 It is the topological structure schematic drawing of the inverter program online upgrade architecture of the application.
[0018] Figure 2 It is the inverter program online upgrade architecture of some embodiments of the application.
[0019] Figure 3 It is the inverter program online upgrade architecture of some other embodiments of the application.
[0020] Figure 4The timing diagram of the inverter program online upgrade architecture in normal state and fault state.
[0021] Figure 5 The judgment logic diagram of the controller and the host computer.
[0022] Figure 6 The timing diagram of the inverter program online upgrade architecture when the controller respectively performs isolated upgrade.
[0023] In the figure: 101, host computer; 102, first controller; 103, second controller; 104, control circuit; 105, blocking circuit; 201, grid side selection module; 202, load selection module; 203, grid side signal module; 204, load signal module; 301, protection module. DETAILED DESCRIPTION
[0024] Hereinafter, the utility model will be further described in conjunction with specific embodiments, and it should be noted that the following described embodiments or technical features can be combined to form new embodiments without conflict.
[0025] It should be noted that the terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and do not necessarily describe a specific order or sequence.
[0026] The terms "include" and "have" and any variations thereof in the specification and claims of the present application are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0027] In the description of the utility model, it should be noted that, unless otherwise explicitly specified and limited, the terms "set", "install", "connect", "connect" should be understood broadly, for example, it can be fixedly connected, or it can be detachably connected, or integrally connected; it can be mechanically connected, or it can be electrically connected; it can be directly connected, or it can be indirectly connected through an intermediate medium, or it can be the communication between two elements. For those skilled in the art, the specific meaning of the above terms in the utility model can be understood according to the specific circumstances.
[0028] In order to facilitate the understanding of the following, the present application will be described by inverter system. The inverter system includes but is not limited to power generation system, energy storage system and UPS system, that is, the technical scheme of the utility model can be implemented in the pre-power generation system, energy storage system and UPS system, etc. The following will be described by photovoltaic energy storage system.
[0029] As Figures 1-3 shown, the conventional photovoltaic energy storage system mainly includes a photovoltaic unit PV, an energy storage unit, a DC / DC unit, a bidirectional DC / DC unit and a DC / AC unit (inverter). The photovoltaic unit PV and the energy storage unit are connected with the corresponding DC / DC unit and the bidirectional DC / DC unit respectively and are connected in parallel at the input side of the DC / AC unit, and the power grid and the load are connected in parallel at the output side of the DC / AC unit through the corresponding control switch. In the field, relays are commonly used control switches, and it should be understood that the relays installed between the positive and negative buses between the power grid and the DC / AC unit and the relays installed between the positive and negative buses between the load and the DC / AC unit can form corresponding relay groups respectively. Under the condition that the inverter system is connected to the grid, the inverter system can supply power to the load through the closure of the relay group; when the inverter system is off-grid, if the load needs to continue to work, the power grid can supply power to the load through the closure of the relay group.
[0030] The utility model provides a kind of inverter program online upgrade architecture, comprising: host computer 101, control circuit 104, first controller 102 and second controller 103. Host computer 101 is suitable for issuing upgrade instruction. Control circuit 104 is connected with the control of several relay groups of inverter system, to be suitable for respectively control each relay group between open circuit state and closure state switching.
[0031] First controller 102 is connected with host computer 101, and first controller 102 is connected with the input of control circuit 104.
[0032] Second controller 103 is connected with host computer 101, and second controller 103 is connected with the input of control circuit 104. Under the condition that first controller 102 and second controller 103 are normal, first controller 102 and second controller 103 are controlled to each relay group respectively by control circuit 104. Under the condition that one of first controller 102 and second controller 103 is isolated upgrade, another of first controller 102 and second controller 103 is suitable for being controlled to each relay group respectively by control circuit 104 alone.
[0033] That is to say, under normal working conditions, the first controller 102 and the second controller 103 jointly control each relay group of the inverter system respectively, so as to play a role of redundancy protection, and facilitate to improve the reliability and stability of the inverter system. Under the condition that one of the first controller 102 and the second controller 103 is isolated upgraded, the other one of the first controller 102 and the second controller 103 is adapted to control each relay group of the inverter system respectively, so as to enable the load side and the grid side to continue to work normally, and facilitate to ensure normal power-on use of the load in the process of upgrading of one of the controllers.
[0034] It is worth mentioning that communication, for example, I2C, can be added between the first controller 102 and the second controller 103 for data interaction. The first controller 102 can control the DC / DC unit and the bidirectional DC / DC unit, and the second controller 103 can control the DC / AC unit.
[0035] It can be understood that, according to the above content, the inverter system is provided with multiple relay groups, for example, one relay group is arranged between the output end of the grid and the DC / AC unit, and one relay group is arranged between the output end of the load and the DC / AC unit, that is to say, the number of relay groups is two. In other embodiments, in order to ensure the grid-connected safety of the inverter system, multiple relay groups need to be connected in series between the output end of the grid and the DC / AC unit, for example, two relay groups are connected in series between the grid and the DC / AC unit, and the inverter system is provided with three relay groups. The number of relay groups is not limited in the utility model.
[0036] The utility model takes one relay group arranged between the output end of the grid and the DC / AC unit and one relay group arranged between the output end of the load and the DC / AC unit as an example, in order to facilitate the description of subsequent content, the relay group between the output end of the grid and the DC / AC unit is recorded as K1, and the relay group between the output end of the load and the DC / AC unit is recorded as K2, as shown in Figures 1-3 .
[0037] In some embodiments, as Figures 1-3As shown, the control circuit 104 comprises several selection modules, the first controller 102 is in control connection with the input end of each selection module, the second controller 103 is in control connection with the input end of each selection module, the selection module is adapted to perform or logical processing, the output end of the selection module is in control connection with the corresponding relay group; under the condition that the first controller 102 and the second controller 103 are both normal, each selection module is adapted to make the corresponding relay group in the closed state through the high-level signal sent by the first controller 102 and the high-level signal sent by the second controller 103; under the condition that one of the first controller 102 and the second controller 103 is isolated and upgraded, each selection module is adapted to make the corresponding relay group in the closed state through the high-level signal sent by the other one of the first controller 102 and the second controller 103.
[0038] It should be understood that the selection module corresponds to the relay group one by one, that is, each selection module is adapted to output an intermediate signal, the intermediate signal acts on the corresponding relay group, so as to make the corresponding relay group switch between the open state and the closed state. Further, the first controller 102 is adapted to output a plurality of control signals one corresponding to different relay groups, the second controller 103 is adapted to output a plurality of control signals two corresponding to different relay groups, and the control signal one and the control signal two for controlling the same relay group act on the input end of the same selection module, the selection module is adapted to perform or logical processing, and then under the condition that at least one of the control signal one and the control signal two is high, the selection module is adapted to output a high-level intermediate signal, so as to keep the corresponding relay group in the closed state.
[0039] In at least one embodiment, as shown, Figures 1-3 The several selection modules comprise a grid side selection module 201, one input end of the grid side selection module 201 receives the grid side control signal one GRID_RELAY_1 sent by the first controller 102, the other input end of the grid side selection module 201 receives the grid side control signal two GRID_RELAY_2 sent by the second controller 103, the grid side selection module 201 outputs the grid side intermediate signal GRID_RELAY, and the grid side intermediate signal GRID_RELAY controls the relay group K1 to switch between the open state and the closed state.
[0040] It should be appreciated that, under the condition that both the first controller 102 and the second controller 103 are working normally, the grid-side control signal one GRID_RELAY_1 and the grid-side control signal two GRID_RELAY_2 are both high level, and then the grid-side intermediate signal GRID_RELAY is high level, and the relay group K1 is kept in the closed state. Under the condition that one of the first controller 102 and the second controller 103 is isolated upgraded, one of the grid-side control signal one GRID_RELAY_1 and the grid-side control signal two GRID_RELAY_2 is high level, and the other is low level, and since the grid-side selection module 201 is adapted to perform or logical processing, then the grid-side intermediate signal GRID_RELAY is high level, and the relay group K1 is kept in the closed state.
[0041] Further, as shown in FIG. 1, the plurality of selection modules further include a load selection module 202, one input end of the load selection module 202 receives the load control signal one BACKUP_RELAY_1 sent by the first controller 102, the other input end of the load selection module 202 receives the load control signal two BACKUP_RELAY_2 sent by the second controller 103, and the load selection module 202 outputs a load intermediate signal BACKUP_RELAY, which controls the relay group K2 to switch between the open state and the closed state. Figures 1-3
[0042] It should be appreciated that, under the condition that both the first controller 102 and the second controller 103 are working normally, the load control signal one BACKUP_RELAY_1 and the load control signal two BACKUP_RELAY_2 are both high level, and then the load intermediate signal BACKUP_RELAY is high level, and the relay group K2 is kept in the closed state. Under the condition that one of the first controller 102 and the second controller 103 is isolated upgraded, one of the load control signal one BACKUP_RELAY_1 and the load control signal two BACKUP_RELAY_2 is high level, and the other is low level, and since the load selection module 202 is adapted to perform or logical processing, then the load intermediate signal BACKUP_RELAY is high level, and the relay group K2 is kept in the closed state, and then the load is normally powered on for use.
[0043] In some embodiments, the selection module comprises an OR gate unit, one input of the OR gate unit is connected to the first controller 102, and the other input of the OR gate unit is connected to the second controller 103; or the selection module comprises several unidirectional branches, one of which is connected to the first controller 102, and the other is connected to the second controller 103. It should be understood that the specific structure of the unidirectional branch is a known technology in the art, and a diode can be generally used to realize the unidirectional transmission of a high-level signal.
[0044] In at least one embodiment, as shown in Figure 2 , the grid-side selection module 201 is implemented as a second OR gate unit #2, one input of the second OR gate unit #2 is used to receive the grid-side control signal one GRID_RELAY_1 sent by the first controller 102, the other input of the second OR gate unit #2 is used to receive the grid-side control signal two GRID_RELAY_2 sent by the second controller 103, and the output of the second OR gate unit #2 is used to send the grid-side intermediate signal GRID_RELAY.
[0045] In at least one embodiment, as shown in Figure 2 , the load selection module 202 is implemented as a third OR gate unit #3, and the specific control connection is similar to the above, which will not be described in detail here.
[0046] It should be understood that the specific structure and working principle of the OR gate unit are known to those skilled in the art, and therefore will not be described in detail here; the working logic of the OR gate unit is that when at least one input is high, the output is high, and when all inputs are low, the output is low.
[0047] In at least one embodiment, as shown in Figure 3 , the grid-side selection module 201 is implemented as several diodes, specifically, the output of the first controller 102 used to send the grid-side control signal one GRID_RELAY_1 is connected to diode D1, the output of the second controller 103 used to send the grid-side control signal two GRID_RELAY_2 is connected to diode D2, and further, the first controller 102 and the second controller 103 are connected in parallel after passing through diodes D1 and D2, respectively, to output the grid-side intermediate signal GRID_RELAY.
[0048] In at least one embodiment, as shown in Figure 3 , the load selection module 202 is implemented as diodes D3 and D4, and the specific connection is similar to the above, which will not be described in detail here.
[0049] In some embodiments, as shown in Figures 1-3As shown, the inverter program online upgrading architecture further comprises a blocking circuit 105, which is adapted to output a low-level blocking action signal RELAY LOCK under the condition of inverter system failure; the control circuit 104 further comprises a plurality of signal modules, one input end of the blocking circuit 105 is in control connection with each signal module, the other input end of the signal module is in control connection with the output end of the corresponding selection module, the signal module is adapted to perform AND logic processing, and the output end of the signal module is in control connection with the corresponding relay group, so that each relay group is in an open state under the condition of inverter system failure.
[0050] That is, under the condition of normal operation, the blocking action signal RELAY LOCK output by the blocking circuit 105 is high, and then each control signal output by the first controller 102 and the second controller 103 can make the relay groups K1 and K2 normally switch between the open state and the closed state, respectively. Similarly, when one of the first controller 102 and the second controller 103 is isolated and upgraded, the other of the first controller 102 and the second controller 103 is also adapted to individually make the relay groups K1 and K2 normally switch between the open state and the closed state, respectively.
[0051] Further, when the inverter system has a fault that needs to be blocked, the blocking action signal RELAY LOCK output by the blocking circuit 105 is low, and since the signal module is adapted to perform AND logic processing, each relay group of the inverter system remains in an open state regardless of whether each control signal output by the first controller 102 and the second controller 103 is high or low.
[0052] In at least one embodiment, as shown Figures 1-3 The plurality of signal modules comprises a grid-side signal module 203, one input end of the grid-side signal module 203 receives the grid-side intermediate signal GRID RELAY sent by the grid-side selection module 201, the other input end of the grid-side signal module 203 receives the blocking action signal RELAY LOCK sent by the blocking circuit 105, and the output end of the grid-side signal module 203 outputs a grid-side action signal RELAY OUT1, which acts on the relay group K1 of the grid side to make the relay group K1 switch between the open state and the closed state. It should be understood that the grid-side signal module 203 is adapted to perform AND logic processing, so that under the condition that the blocking action signal RELAY LOCK output by the blocking circuit 105 is low, the grid-side action signal RELAY OUT1 output by the grid-side signal module 203 is low, so that the relay group K1 remains in an open state.
[0053] Further, as shown Figures 1-3As shown, the several signal modules include a load signal module 204, one input terminal of the load signal module 204 receives the load intermediate signal BACKUP_RELAY sent by the load selection module 202, another input terminal of the load signal module 204 receives the lock action signal RELAY_LOCK sent by the lock circuit 105, and the output terminal of the load signal module 204 outputs a load action signal RELAY_OUT2, which acts on the relay group K2 on the load side, so as to switch the relay group K2 between the open state and the closed state. It can be understood that the load signal module 204 is adapted to perform logical processing, so that the load action signal RELAY_OUT2 output by the load signal module 204 is low under the condition that the lock action signal RELAY_LOCK output by the lock circuit 105 is low, so as to keep the relay group K2 in the open state.
[0054] In some embodiments, as shown in Figure 2 and Figure 3 As shown, the grid-side signal module 203 is implemented as a fourth AND gate unit #4, and the load-side signal module is implemented as a fifth AND gate unit #5. It should be understood that the specific structure and working principle of the AND gate unit are known to those skilled in the art, and therefore will not be described in detail here; the working logic of the AND gate unit is to output high level only when the input terminals are all high level.
[0055] In some embodiments, as shown in Figures 1-3 As shown, the input terminal of the lock circuit 105 receives the lock control signal one RELAY_LOCK_1, the lock control signal two RELAY_LOCK_2 and the lock control signal three RELAY_LOCK_3 sent by the host computer 101 and the first controller 102 and the second controller 103 respectively; under the condition that at least two of the lock control signal one RELAY_LOCK_1, the lock control signal two RELAY_LOCK_2 and the lock control signal three RELAY_LOCK_3 are high level, the lock action signal RELAY_LOCK output by the lock circuit 105 is high level.
[0056] It can be understood that the host computer 101, the first controller 102 and the second controller 103 respectively determine whether the inverter system has a fault that needs to be processed by the lock, and when it is determined that the inverter system has a fault that needs to be processed by the lock, the corresponding lock control signal is low level, and when it is determined that the inverter system does not have a fault that needs to be processed by the lock, the corresponding lock control signal RELAY_LOCK is high level.
[0057] Furthermore, when at least two of the blocking control signals RELAY_LOCK_1, RELAY_LOCK_2, and RELAY_LOCK_3 are high, the blocking action signal RELAY_LOCK output by the blocking circuit 105 is high. In other words, when at least two of the blocking control signals RELAY_LOCK_1, RELAY_LOCK_2, and RELAY_LOCK_3 are low, the blocking action signal RELAY_LOCK output by the blocking circuit 105 is low.
[0058] It should be understood that when at least two of the host computer 101, the first controller 102, and the second controller 103 determine that the inverter system has a fault requiring waveform blocking, the corresponding blocking control signal RELAY_LOCK is set to a low level, thereby keeping each relay group of the inverter system in an open-circuit state. When at least two of the host computer 101, the first controller 102, and the second controller 103 determine that the inverter system does not have a fault requiring waveform blocking, the corresponding blocking control signal RELAY_LOCK is set to a high level. This helps to avoid misjudgments and improves the reliability and stability of the inverter system control. It is worth mentioning that a similar approach can be used to improve the reliability and stability of the inverter system control in scenarios involving more controllers.
[0059] In some embodiments, such as Figure 2 and Figure 3 As shown, the blocking circuit 105 includes a first AND gate unit #1, a second AND gate unit #2, a third AND gate unit #3, and a protection module 301. One input terminal of the first AND gate unit #1 can receive the blocking control signal RELAY_LOCK_1, and the other input terminal of the first AND gate unit #1 can receive the blocking control signal RELAY_LOCK_2. One input terminal of the second AND gate unit #2 can receive the blocking control signal RELAY_LOCK_2, and the other input terminal of the second AND gate unit #2 can receive the blocking control signal RELAY_LOCK_3. LOCK_3; One input of the third AND gate unit #3 can receive the blocking control signal RELAY_LOCK_1, and the other input of the third AND gate unit #3 can receive the blocking control signal RELAY_LOCK_3; The outputs of the first AND gate unit #1, the second AND gate unit #2, and the third AND gate unit #3 are all connected to the input of the protection module 301. The protection module 301 is adapted to perform OR logic processing. The blocking action signal RELAY_LOCK output by the protection module 301 acts on one input of each signal module to control the connection.
[0060] It should be understood that, under the condition that at least two of the blocking control signal one RELAY_LOCK_1, the blocking control signal two RELAY_LOCK_2 and the blocking control signal three RELAY_LOCK_3 are high, at least one of the first AND gate unit #1, the second AND gate unit #2 and the third AND gate unit #3 sends a high-level signal to the protection module 301, which is adapted to be processed by the protection module 301 or logical processing, and then under the condition that at least one input signal of the protection module 301 is high, the blocking action signal RELAY_LOCK output by the protection module 301 is high. Further, the high-level blocking action signal RELAY_LOCK is sent to one of the inputs of the grid-side signal module 203 and one of the inputs of the load signal module 204, and then under the control of at least one of the first controller 102 and the second controller 103, each relay group in the inverter system can be switched between the open state and the closed state.
[0061] It should be understood that, under the condition that at least two of the blocking control signal one RELAY_LOCK_1, the blocking control signal two RELAY_LOCK_2 and the blocking control signal three RELAY_LOCK_3 are low, the first AND gate unit #1, the second AND gate unit #2 and the third AND gate unit #3 all send low-level signals to the protection module 301, which is adapted to be processed by the protection module 301 or logical processing, and then under the condition that all input signals of the protection module 301 are low, the blocking action signal RELAY_LOCK output by the protection module 301 is low. The truth table of the blocking action signal RELAY_LOCK is as follows:
[0062] Truth table of blocking action signal RELAY_LOCK
[0063] RELAY_LOCK_1 RELAY_LOCK_2 RELAY_LOCK_3 RELAY_LOCK 1 1 / 0 1 / 0 1 1 / 0 1 1 / 0 1 1 / 0 1 / 0 1 1 0 0 0 0
[0064] It should be noted that, in the context of including more controllers, a plurality of AND gate units and OR gate units can also be used to arrange and combine the blocking control signals output by the plurality of controllers, and then the similar control mode described above can be realized to improve the reliability and stability of the inverter system control.
[0065] In some embodiments, the protection module 301 includes a first OR gate unit #1, and the three input ends of the first OR gate unit #1 are respectively connected to the output ends of the first AND gate unit #1, the second AND gate unit #2 and the third AND gate unit #3; or, the protection module 301 includes a plurality of one-way branches, and the output ends of the first AND gate unit #1, the second AND gate unit #2 and the third AND gate unit #3 are respectively connected to one of the inputs of each signal module through the one-way branches.
[0066] In at least one embodiment, as shown in FIG. 3, the protection module 301 is implemented as a first OR gate unit #1, three input terminals of the first OR gate unit #1 are used to receive output signals of the first AND gate unit #1, the second AND gate unit #2 and the third AND gate unit #3 respectively, and an output terminal of the first OR gate unit #1 is used to send the lock action signal RELAY_LOCK. Figure 2
[0067] In at least one embodiment, as shown in FIG. 3, the protection module 301 is implemented as a first OR gate unit #1, three input terminals of the first OR gate unit #1 are used to receive output signals of the first AND gate unit #1, the second AND gate unit #2 and the third AND gate unit #3 respectively, and an output terminal of the first OR gate unit #1 is used to send the lock action signal RELAY_LOCK. Figure 3
[0068] In some embodiments, under the condition that the first controller 102 performs isolation upgrade, each control signal output by the first controller 102 is switched to low level, and the second controller 103 and the upper computer 101 control each relay group respectively; under the condition that the second controller 103 performs isolation upgrade, each control signal output by the second controller 103 is switched to low level, and the first controller 102 and the upper computer 101 control each relay group respectively.
[0069] Taking the first controller 102 performing isolation upgrade as an example. When the first controller 102 performs isolation upgrade, the grid side control signal one GRID_RELAY_1, the load control signal one BACKUP_RELAY_1 and the lock control signal one RELAY_LOCK_1 output by the first controller 102 all remain at low level. At this time, the grid side intermediate signal GRID_RELAY output by the grid side selection module 201 is consistent with the grid side control signal two GRID_RELAY_2 output by the second controller 103, and the load intermediate signal BACKUP_RELAY output by the load selection module 202 is consistent with the load control signal two BACKUP_RELAY_2 output by the second controller 103.
[0070] Further, if the blocking control signal three RELAY_LOCK_3 output by the host computer 101 and the blocking control signal two RELAY_LOCK_2 output by the second controller 103 are both high, the blocking action signal RELAY_LOCK output by the protection module 301 is high, so that the grid side control signal RELAY_OUT1 output by the grid side signal module 203 is consistent with the grid side control signal two GRID_RELAY_2 output by the second controller 103, and the load control signal RELAY_OUT2 output by the load signal module 204 is consistent with the load control signal two BACKUP_RELAY_2 output by the second controller 103, that is, the second controller 103 is adapted to control the relay groups K1 and K2 respectively.
[0071] Further, if at least one of the blocking control signal three RELAY_LOCK_3 output by the host computer 101 and the blocking control signal two RELAY_LOCK_2 output by the second controller 103 is low, the blocking action signal RELAY_LOCK output by the protection module 301 is low, so that the blocking operation is performed when the inverter system has a fault that needs to be blocked, thereby improving the reliability and safety of the inverter system.
[0072] It should be understood that the above is applicable to the isolation upgrade of the first controller 102, and will not be described in detail here.
[0073] For the convenience of understanding, the specific working process of the inverter program online upgrade architecture of the inverter system in the normal state and the fault state will be described in detail below.
[0074] In the 0-t1 time period, as shown in FIG. 2, the host computer 101 outputs the blocking control signal one RELAY_LOCK_1 and the blocking control signal two RELAY_LOCK_2, and the second controller 103 outputs the blocking control signal three RELAY_LOCK_3 and the blocking control signal four RELAY_LOCK_4. Figure 4As shown, during the power-on reset of the inverter system, the grid-side control signal GRID_RELAY_1, load control signal BACKUP_RELAY_1, and blocking control signal RELAY_LOCK_1 output by the first controller 102 are all kept at a low level; the grid-side control signal GRID_RELAY_2, load control signal BACKUP_RELAY_2, and blocking control signal RELAY_LOCK_2 output by the second controller 103 are also kept at a low level; and the blocking control signal RELAY_LOCK_3 output by the host computer 101 is at a high level. Consequently, the grid-side intermediate signal GRID_RELAY output by the grid-side selection module 201, the grid-side action signal RELAY_OUT1 output by the grid-side signal module 203, the load intermediate signal BACKUP_RELAY output by the load selection module 202, the load action signal RELAY_OUT2 output by the load signal module 204, and the blocking action signal RELAY_LOCK output by the blocking circuit 105 are all at a low level. Furthermore, relay groups K1 and K2 remain in the open circuit state. After power-on reset, they enter normal operation.
[0075] During the time interval t1-t2, such as Figure 4 As shown, the inverter system is operating normally. The grid-side control signal GRID_RELAY_1, load control signal BACKUP_RELAY_1, and blocking control signal RELAY_LOCK_1 output by the first controller 102 are all kept at a high level. The grid-side control signal GRID_RELAY_2, load control signal BACKUP_RELAY_2, and blocking control signal RELAY_LOCK_2 output by the second controller 103 are also kept at a high level. The blocking control signal RELAY_LOCK_3 output by the host computer 101 is also still at a high level. Consequently, the grid-side intermediate signal GRID_RELAY output by the grid-side selection module 201, the grid-side action signal RELAY_OUT1 output by the grid-side signal module 203, the load intermediate signal BACKUP_RELAY output by the load selection module 202, the load action signal RELAY_OUT2 output by the load signal module 204, and the blocking action signal RELAY_LOCK output by the blocking circuit 105 are all at a high level. Furthermore, relay groups K1 and K2 remain in the closed state.
[0076] During the time period t2-t3, such as Figure 4As shown, when it is necessary to shut down relay group K1 on the grid side, the grid-side control signal GRID_RELAY_1 output by the first controller 102 and the grid-side control signal GRID_RELAY_2 output by the second controller 103 both switch to a low level. Consequently, the grid-side intermediate signal GRID_RELAY output by the grid-side selection module 201 and the grid-side action signal RELAY_OUT1 output by the grid-side signal module 203 both switch to a low level. Furthermore, relay group K1 switches to the open circuit state. It is worth mentioning that other control signals remain in normal operating condition.
[0077] During the time period t3-t4, such as Figure 4 As shown, when it is necessary to shut down relay group K2 on the load side, the load control signal BACKUP_RELAY_1 output by the first controller 102 and the load control signal BACKUP_RELAY_2 output by the second controller 103 both switch to a low level. Consequently, the load intermediate signal BACKUP_RELAY output by the load selection module 202 and the load action signal RELAY_OUT2 output by the load signal module 204 both switch to a low level. Furthermore, relay group K2 switches to an open circuit state. It is worth mentioning that other control signals remain in normal operating condition.
[0078] After time t4, as Figure 4 As shown, when the inverter system detects a fault requiring waveform blocking, the blocking control signal RELAY_LOCK_1 output by the first controller 102, the blocking control signal RELAY_LOCK_2 output by the second controller 103, and the blocking control signal RELAY_LOCK_3 output by the host computer 101 all switch to a low level. Consequently, the blocking action signal RELAY_LOCK output by the blocking circuit 105 switches to a low level. Furthermore, the grid-side action signal RELAY_OUT1 output by the grid-side signal module 203 and the load action signal RELAY_OUT2 output by the load signal module 204 both switch to a low level. Even further, relay groups K1 and K2 switch to the open-circuit state, realizing the waveform blocking operation. It is worth mentioning that other control signals remain in normal operating condition.
[0079] Specifically, such as Figure 5As shown, the blocking control logic of the host computer 101 is as follows: The blocking control signal RELAY_LOCK_3 output by the host computer 101 is initially at a high level. Further, the host computer 101 determines whether there is a fault in the inverter system that requires blocking processing. If a fault requiring blocking processing exists, the blocking control signal RELAY_LOCK_3 switches to a low level; if no fault requiring blocking processing exists, the blocking control signal RELAY_LOCK_3 remains at a high level.
[0080] like Figure 5 As shown, the blocking logic of the first controller 102 is as follows: The blocking control signal RELAY_LOCK_1 output by the first controller 102 is initially at a high level. Further, the first controller 102 determines whether there is a fault in the inverter system that requires blocking. If a fault requires blocking, the blocking control signal RELAY_LOCK_1 is switched to a low level; otherwise, it remains high. While the blocking control signal RELAY_LOCK_1 remains high, the first controller 102 determines whether relay groups K1 and K2 need to be closed. If they need to be closed, the corresponding control signal is switched to a high level; if they need to be closed, the corresponding control signal is switched to a low level, thus achieving separate control of relay groups K1 and K2. It should be understood that the above applies to the second controller 103, and will not be elaborated upon here.
[0081] For ease of understanding, the following section will elaborate on the specific working process of the online upgrade architecture of the inverter program when the first controller 102 and the second controller 103 are upgraded in isolation, mainly including the preparation stage, the upgrade stage, and the upgrade completion stage.
[0082] It is worth mentioning that the host computer 101 sends a program upgrade preparation command to the first controller 102 or the second controller 103 that needs to be upgraded. Upon receiving the program upgrade preparation command, the first controller 102 or the second controller 103 determines the current operating mode of the inverter system. If the inverter system is in grid-connected mode, the relay group K1 is kept in the closed state; if the inverter system is in off-grid mode, it further determines whether the current inverter system meets the grid-connected requirements. If the inverter system meets the grid-connected requirements, the inverter system switches to grid-connected mode, and the relay group K1 is switched to the closed state; if the inverter system does not meet the grid-connected mode, it remains in off-grid mode, and each relay group maintains its current state.
[0083] like Figure 6 As shown, the program upgrade timing of the first controller 102 is as follows.
[0084] Preparation phase: the host computer 101 sends a program upgrade preparation instruction to the first controller 102; after receiving the program upgrade preparation instruction, the first controller 102 sets the grid side control signal one GRID_RELAY_1, the load control signal one BACKUP_RELAY_1, and the lock control signal one RELAY_LOCK_1 to low level, and sends an information preparation completion instruction to the host computer 101. After receiving the information preparation completion instruction, the host computer 101 sets the boot and reset connected with the first controller 102 to low level, and the first controller 102 enters the upgrade state.
[0085] Upgrade phase: after the first controller 102 enters the upgrade state and the reset ends, i.e. the reset returns to high level, the host computer 101 sends a program upgrade package to the first controller 102 through communication. It can be understood that during the upgrade phase, the grid side control signal one GRID_RELAY_1, the load control signal one BACKUP_RELAY_1, and the lock control signal one RELAY_LOCK_1 output by the first controller 102 still remain low level. As known from the foregoing, at this time, the grid side control signal two GRID_RELAY_2, the load control signal two BACKUP_RELAY_2, and the lock control signal two RELAY_LOCK_2 output by the second controller 103 are not affected by the upgrade and still remain high level, and the lock control signal three RELAY_LOCK_3 output by the host computer 101 is also high level, so that the relay groups K1 and K2 are kept in the closed state, and the load can be normally powered and used.
[0086] Upgrade completion phase: after the sending of the upgrade program package is completed, the first controller 102 completes the upgrade, and starts to execute the program, sets the grid side control signal one GRID_RELAY_1, the load control signal one BACKUP_RELAY_1, and the lock control signal one RELAY_LOCK_1 to high level, and the first controller 102 and the second controller 103 can jointly control the relay groups K1 and K2.
[0087] It is worth mentioning that after the upgrade is completed, the first controller 102 is adapted to automatically verify the integrity and correctness of the new program, and the verification of the new program includes but is not limited to running a self-check program and checking whether the key functions work normally. If the verification fails, the first controller 102 is adapted to roll back to the original program version or enter a fault recovery mode, so as to further improve the reliability and stability of the inverter system.
[0088] As shown in FIG. 4, the program upgrade timing sequence of the second controller 103 is as follows. Figure 6
[0089] Preparation stage: the host computer 101 sends a program upgrade preparation instruction to the second controller 103; after receiving the program upgrade preparation instruction, the second controller 103 sets the grid side control signal two GRID_RELAY_2, the load control signal two BACKUP_RELAY_2, and the blocking control signal two RELAY_LOCK_2 to low level, and sends an information preparation completion instruction to the host computer 101. After receiving the information preparation completion instruction, the host computer 101 sets the boot and reset connected with the second controller 103 to low level, and the second controller 103 enters the upgrade state.
[0090] Upgrade stage: after the second controller 103 enters the upgrade state and the reset ends, i.e. the reset returns to high level, the host computer 101 sends a program upgrade package to the second controller 103 through communication. It can be understood that during the upgrade stage, the grid side control signal two GRID_RELAY_2, the load control signal two BACKUP_RELAY_2, and the blocking control signal two RELAY_LOCK_2 output by the second controller 103 still remain low level. As known from the foregoing, at this time, the grid side control signal one GRID_RELAY_1, the load control signal one BACKUP_RELAY_1, and the blocking control signal one RELAY_LOCK_1 output by the first controller 102 are not affected by the upgrade and still remain high level, the blocking control signal three RELAY_LOCK_3 output by the host computer 101 is also high level, and thus the relay groups K1 and K2 are kept in the closed state, so that the load can be normally powered and used.
[0091] Upgrade completion stage: after the sending of the program upgrade package is completed, the second controller 103 completes the upgrade, and starts to execute the program, sets the grid side control signal two GRID_RELAY_2, the load control signal two BACKUP_RELAY_2, and the blocking control signal two RELAY_LOCK_2 to high level, and the first controller 102 and the second controller 103 can jointly control the relay groups K1 and K2.
[0092] It is worth mentioning that after the upgrade is completed, the second controller 103 is adapted to automatically verify the integrity and correctness of the new program, and the verification of the new program includes but is not limited to running a self-check program and checking whether the key functions work normally. If the verification fails, the second controller 103 is adapted to roll back to the original program version or enter a fault recovery mode, so as to further improve the reliability and stability of the inverter system.
[0093] The basic principle, main features and advantages of the present application are described above. Those skilled in the art should understand that the present application is not limited by the above examples, and the above examples and descriptions in the specification are only the principles of the present application. Without departing from the spirit and scope of the present application, various changes and improvements can be made to the present application, and these changes and improvements all fall within the scope of the claimed present application. The scope of protection required by the present application is defined by the appended claims and their equivalents.
Claims
1. An inverter program online upgrade architecture, characterized in that, The utility model relates to an inverter program online upgrading architecture, including: A host computer suitable for issuing upgrading instruction; Control circuit, control circuit is connected with several relay group control of inverter system to be suitable for respectively control each relay group switches between open circuit state and closed state; First controller, first controller is connected with host computer communication, first controller is connected with the input end control of control circuit; Second controller, second controller is connected with host computer communication, second controller is connected with the input end control of control circuit; Under the condition that the first controller and the second controller are normal, the first controller and the second controller are controlled by the control circuit respectively.Under the condition that one of the first controller and the second controller is isolated and upgraded, the other of the first controller and the second controller is suitable for controlling each relay group by the control circuit respectively.
2. The inverter program online upgrading architecture according to claim 1, wherein, The control circuit includes several selection modules, the input end of each selection module is connected with the first controller and the second controller, and the output end of the selection module is connected with the corresponding relay group. Under the condition that the first controller and the second controller are normal, each selection module is suitable for making the corresponding relay group in the closed state by the high-level signal sent by the first controller and the high-level signal sent by the second controller.Under the condition that one of the first controller and the second controller is isolated and upgraded, each selection module is suitable for making the corresponding relay group in the closed state by the high-level signal sent by the other of the first controller and the second controller.
3. The inverter program online upgrading architecture according to claim 2, wherein, The inverter program online upgrading architecture further includes a blocking circuit, which is suitable for outputting a low-level blocking action signal under the condition of inverter system failure. The control circuit further includes several signal modules, one input end of each signal module is connected with the blocking circuit, the other input end of the signal module is connected with the output end of the corresponding selection module, the signal module is suitable for and logic processing, and the output end of the signal module is connected with the corresponding relay group to make each relay group in the open circuit state under the condition of inverter system failure.
4. The inverter program online upgrading architecture according to claim 3, wherein, The input end of the blocking circuit receives the blocking control signal one, the blocking control signal two and the blocking control signal three sent by the host computer of the first controller and the second controller respectively.Under the condition that at least two of the blocking control signal one, the blocking control signal two and the blocking control signal three are high, the blocking action signal output by the blocking circuit is high.
5. The inverter program online upgrading architecture according to claim 4, wherein, The blocking circuit comprises a first AND gate unit, a second AND gate unit, a third AND gate unit and a protection module; one input terminal of the first AND gate unit receives the blocking control signal one, and the other input terminal of the first AND gate unit receives the blocking control signal two; one input terminal of the second AND gate unit receives the blocking control signal two, and the other input terminal of the second AND gate unit receives the blocking control signal three; one input terminal of the third AND gate unit receives the blocking control signal one, and the other input terminal of the third AND gate unit receives the blocking control signal three; the output terminals of the first AND gate unit, the second AND gate unit and the third AND gate unit are connected to the input terminal of the protection module, the protection module is adapted to perform an OR logic processing, and the blocking action signal output by the protection module is connected to one input terminal of each signal module.
6. The inverter program online upgrading architecture according to claim 3, wherein, The selection modules comprise a network-side selection module, and the signal modules comprise a network-side signal module; one input terminal of the network-side selection module receives the network-side control signal one sent by the first controller, and the other input terminal of the network-side selection module receives the network-side control signal two sent by the second controller; the network-side selection module outputs a network-side intermediate signal, which is connected to one input terminal of the network-side signal module; the other input terminal of the network-side signal module receives the blocking action signal sent by the blocking circuit, and the output terminal of the network-side signal module outputs a network-side action signal, so that the relay group connected to the power grid side is switched between the open state and the closed state.
7. The inverter program online upgrading architecture according to claim 3, wherein, The selection modules comprise a load selection module, and the signal modules comprise a load signal module; one input terminal of the load selection module receives the load control signal one sent by the first controller, and the other input terminal of the load selection module receives the load control signal two sent by the second controller; the load selection module outputs a load intermediate signal, which is connected to one input terminal of the load signal module; the other input terminal of the load signal module receives the blocking action signal sent by the blocking circuit, and the output terminal of the load signal module outputs a load action signal, so that the relay group connected to the load side is switched between the open state and the closed state.
8. The inverter program online upgrade architecture according to any one of claims 2-7, wherein, The selection module comprises an OR gate unit, one input terminal of the OR gate unit is connected to the first controller, and the other input terminal of the OR gate unit is connected to the second controller. Alternatively, the selection module comprises a plurality of one-way branches, one of the one-way branches is connected to the first controller, and the other one-way branch is connected to the second controller.
9. The inverter program online upgrading architecture according to claim 5, wherein, The protection module comprises a first OR gate unit, and the three input terminals of the first OR gate unit are connected to the output terminals of the first AND gate unit, the second AND gate unit and the third AND gate unit, respectively. Alternatively, the protection module comprises several one-way branches, and the output terminals of the first, second and third AND gate units are respectively connected to one input terminal of each signal module through the one-way branches.
10. The inverter program online upgrade architecture according to any one of claims 1-7, wherein, Under the condition that the first controller performs isolated upgrade, each control signal output by the first controller is switched to low level, and the second controller and the upper computer control each relay group respectively; Under the condition that the second controller performs isolated upgrade, each control signal output by the second controller is switched to low level, and the first controller and the upper computer control each relay group respectively.