Uninterruptible power supply device
The uninterruptible power supply system efficiently updates software on programmable devices using a main controller and serial communication, reducing downtime and simplifying the update process.
Patent Information
- Application Number
- JP2023563190
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-04-04
- Publication Date
- 2024-09-18
- Estimated Expiration
- 2043-04-04
AI Technical Summary
Existing uninterruptible power supply systems face challenges in efficiently updating software on programmable devices due to the need for manual intervention, prolonged downtime, and complex wiring configurations, especially in large-scale setups.
A simplified configuration utilizing a main controller and serial communication line to transmit execution and update data to programmable devices, allowing simultaneous operation and update of modules without stopping the power supply.
Enables efficient program updates with reduced downtime and simplified wiring, facilitating quick and automated updates across multiple modules.
Smart Images

Figure 0007553725000007 
Figure 0007553725000001 
Figure 0007553725000002
Abstract
Description
[Technical field]
[0001] The present disclosure relates to uninterruptible power supplies. [Background technology]
[0002] Japanese Patent Application Laid-Open No. 2018-182872 (Patent Document 1) discloses a power supply system including a plurality of power supply devices having slave control devices, and a master control device that issues commands to the slave control circuits of each of the plurality of power supply devices. In the power supply system, each slave control device is configured with a programmable device and includes a high-speed serial communication unit connected to the master control device. Each slave control device receives command values and the like from the master control device via the high-speed serial communication unit, and transmits the operating state of the power supply device to the master control device. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2018-182872 A Summary of the Invention [Problem to be solved by the invention]
[0004] In the above power supply system, by employing serial communication for data exchange between the master control device and the multiple slave control devices, it is possible to reduce the number of wires connected between the master control device and the multiple slave control devices.
[0005] However, when updating software (programs) installed in the programmable devices of each slave control device, it is necessary to connect a computer to each slave control device via a programming cable and download update data from the computer to the programmable device.
[0006] Therefore, in a power supply device having a large-scale and complicated structure, it is necessary to design the layout of the control board on which the programmable device is mounted, taking into consideration the ease of executing the update process. Also, as the number of power supply devices mounted on an uninterruptible power supply increases, there is a concern that the update process will take a lot of time and effort. And since the update process needs to be performed with normal communication that operates the power supply device disconnected, it is necessary to continuously stop the power supply device during the update process.
[0007] In addition, when using programmable devices that require a reset operation when updating, it is necessary to manually reset each programmable device individually, or to install a separate transmission line to transmit a reset signal to each programmable device.
[0008] Therefore, a primary object of the present disclosure is to provide an uninterruptible power supply capable of efficiently executing program updates with a simplified configuration. [Means for solving the problem]
[0009] An uninterruptible power supply according to an aspect of the present disclosure includes a plurality of modules, a main controller, a plurality of controllers, and a serial communication line. The main controller controls the plurality of modules. Each of the plurality of controllers includes a programmable device, and drives each of the plurality of modules by communication with the main controller. The serial communication line communicatively connects the main controller and the plurality of controllers. The programmable device includes a memory and a processor. The memory stores an execution program and an update program. The processor executes the execution program to drive the corresponding module. The main controller can transmit either execution data or update data to the programmable device via the serial communication line while the execution program is being executed. The execution data is data used to execute the execution program. The update data is data used to update the update program. When the processor receives the execution data, the processor causes the execution program to proceed based on the execution data. When the processor receives the update data, the processor writes the update data into the memory to cause the update of the update program to proceed. When the programmable device is reset after the update of the update program is completed, the processor terminates the execution program and starts the update program as the execution program. Effect of the Invention
[0010] According to the present disclosure, it is possible to provide an uninterruptible power supply capable of efficiently executing program updates with a simplified configuration. [Brief description of the drawings]
[0011] [Figure 1] 1 is a circuit block diagram showing a configuration of an uninterruptible power supply device according to a first embodiment. [Diagram 2] FIG. 2 is a block diagram showing the configuration of a main controller and a gate driver. [Diagram 3] FIG. 13 is a diagram for explaining replacement of execution programs at the time of resetting. [Figure 4] 11 is a flowchart illustrating a procedure of a process executed by a gate driver. [Diagram 5] FIG. 11 is a circuit block diagram showing a configuration of an uninterruptible power supply device according to a second embodiment. [Figure 6] 6 is a circuit block diagram showing the configuration of a bypass module and a power module shown in FIG. 5. [Figure 7] FIG. 2 is a block diagram showing the configuration of a main controller and a controller. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In the following, the same or corresponding parts in the drawings will be denoted by the same reference characters, and the description thereof will not be repeated in principle.
[0013] [Embodiment 1] Fig. 1 is a circuit block diagram showing a configuration of an uninterruptible power supply 100 according to embodiment 1. The uninterruptible power supply 100 according to embodiment 1 first converts three-phase AC power supplied from a commercial AC power supply 30 into DC power, and then converts the DC power into three-phase AC power and supplies it to a load 31. In Fig. 1, for the sake of simplicity of the drawing and explanation, only a circuit portion corresponding to one phase (for example, U phase) of the three phases (U phase, V phase, W phase) is shown.
[0014] 1, the uninterruptible power supply 100 includes an AC input terminal T11, a battery terminal T12, an AC output terminal T13, and a bypass input terminal T14. The AC input terminal T11 receives AC power of a commercial frequency from a commercial AC power supply 30. The bypass input terminal T14 receives AC power of a commercial frequency from a bypass AC power supply 33. The bypass AC power supply 33 may be a commercial AC power supply or a generator.
[0015] The battery terminal T12 is connected to a battery 32. The battery 32 stores DC power. The battery 32 corresponds to one embodiment of a "power storage device." A capacitor may be connected in place of the battery 32. The AC output terminal T13 is connected to a load 31. The load 31 is driven by AC power.
[0016] The uninterruptible power supply 100 further includes electromagnetic contactors S1, S2, S3, S4, current detectors 12, 13, capacitors 1, 5, 10, reactors 2, 9, a converter 4, a bidirectional chopper 7, an inverter 8, a semiconductor switch 20, detectors 60, 62, 64, gate drivers 66, 68, 70, a switch interface (I / F) 72, an operation unit 24, and a main controller 22.
[0017] Each of the electromagnetic contactors S1, S2, S3, and S4, the current detectors 12 and 13, the capacitors 1, 5, and 10, the reactors 2 and 9, the converter 4, the bidirectional chopper 7, the inverter 8, and the semiconductor switch 20 corresponds to an embodiment of a “module.” Each of the detectors 60, 62, and 64, the gate drivers 66, 68, and 70, and the switch I / F 72 corresponds to an embodiment of a “controller.”
[0018] A first terminal of the electromagnetic contactor S1 is connected to the AC input terminal T11, and a second terminal (node N1) of the electromagnetic contactor S1 is connected to a first terminal of the reactor 2. The second terminal of the reactor 2 is connected to the AC terminal 4a of the converter 4. The capacitor 1 is connected between the node N1 and a neutral point NP. The neutral point NP receives, for example, a ground voltage. The electromagnetic contactor S1 is turned on when the uninterruptible power supply 100 is in use, and turned off, for example, during maintenance of the uninterruptible power supply 100.
[0019] The instantaneous value of the AC input voltage Vi appearing at the node N1 is detected by the detector 60. The current detector 12 detects the AC input current Ii flowing through the node N1 and outputs a signal Iif indicating the detected value to the detector 60. The detector 60 is connected to the main controller 22 via a communication line 15. The communication line 15 is configured to transmit data bidirectionally by serial communication. The communication line 15 corresponds to one embodiment of a "serial communication line." The detector 60 provides a signal indicating the detected value of the instantaneous value of the AC input voltage Vi and a signal Iif indicating the detected value of the AC input current Ii to the main controller 22 via the communication line 15.
[0020] Capacitor 1 and reactor 2 constitute AC filter 3 , which passes AC power of the commercial frequency and prevents a current of the switching frequency generated in converter 4 from passing to commercial AC power supply 30 .
[0021] The converter 4 is controlled by the main controller 22, and during normal operation when AC power is supplied from the commercial AC power supply 30, converts the AC power into DC power and outputs it to the DC line 6. When the AC power is no longer being supplied normally from the commercial AC power supply 30 (when the commercial AC power supply 30 experiences a power outage), the operation of the converter 4 is stopped. The output voltage of the converter 4 can be controlled to a desired value.
[0022] Specifically, the converter 4 has a plurality of switching elements (not shown). A gate driver (GD) 66 is connected to the plurality of switching elements. The gate driver 66 is connected to the main controller 22 via the communication line 15, and drives the plurality of switching elements in accordance with a gate signal provided from the main controller 22.
[0023] The capacitor 5 is connected to the DC line 6 and smoothes the voltage of the DC line 6. The instantaneous value of the DC voltage VD appearing on the DC line 6 is detected by a detector 62. The DC line 6 is connected to a high-voltage side node of a bidirectional chopper 7, and a low-voltage side node of the bidirectional chopper 7 is connected to a battery terminal T12 via an electromagnetic contactor S2.
[0024] The electromagnetic contactor S2 is turned on when the uninterruptible power supply 100 is in use, and is turned off, for example, during maintenance of the uninterruptible power supply 100 and the battery 32. The instantaneous value of the inter-terminal voltage VB of the battery 32 appearing at the battery terminal T12 is detected by a detector 62. The detector 62 is connected to the main controller 22 via a communication line 15. The detector 62 provides signals indicating the detected values of the instantaneous value of the DC voltage VD and the instantaneous value of the inter-terminal voltage VB of the battery 32 to the main controller 22 via the communication line 15.
[0025] The bidirectional chopper 7 is controlled by the main controller 22. Under normal circumstances, the bidirectional chopper 7 stores the DC power generated by the converter 4 in the battery 32, and when the commercial AC power supply 30 experiences a power outage, the bidirectional chopper 7 supplies the DC power of the battery 32 to the inverter 8 via the DC line 6.
[0026] When storing DC power in the battery 32, the bidirectional chopper 7 steps down the DC voltage VD of the DC line 6 and supplies it to the battery 32. When supplying DC power from the battery 32 to the inverter 8, the bidirectional chopper 7 steps up the terminal voltage VB of the battery 32 and outputs it to the DC line 6. The DC line 6 is connected to the input node of the inverter 8.
[0027] Specifically, the bidirectional chopper 7 has a plurality of switching elements (not shown). A gate driver (GD) 68 is connected to the plurality of switching elements. The gate driver 68 is connected to the main controller 22 via the communication line 15, and drives the plurality of switching elements in accordance with a gate signal provided from the main controller 22.
[0028] The inverter 8 is controlled by the main controller 22, and converts the DC power supplied from the converter 4 or the bidirectional chopper 7 via the DC line 6 into AC power of a commercial frequency and outputs it. That is, the inverter 8 normally converts the DC power supplied from the converter 4 via the DC line 6 into AC power, and during a power outage of the commercial AC power source 30, converts the DC power supplied from the battery 32 via the bidirectional chopper 7 into AC power. The output voltage of the inverter 8 can be controlled to a desired value.
[0029] Specifically, the inverter 8 has a plurality of switching elements (not shown). A gate driver (GD) 70 is connected to the plurality of switching elements. The gate driver 70 is connected to the main controller 22 via the communication line 15, and drives the plurality of switching elements in accordance with a gate signal provided from the main controller 22.
[0030] An AC terminal 8a of the inverter 8 is connected to a first terminal of a reactor 9, a second terminal (node N2) of the reactor 9 is connected to a first terminal of an electromagnetic contactor S3, and a second terminal (node N3) of the electromagnetic contactor S3 is connected to an AC output terminal T13. A capacitor 10 is connected between the node N2 and a neutral point NP. The neutral point NP receives, for example, a ground voltage.
[0031] Current detector 13 detects the instantaneous value of output current Io of inverter 8, and provides a signal Iof indicative of the detected value to detector 64. The instantaneous value of AC output voltage Vo appearing at node N2 is detected by detector 64.
[0032] The detector 64 is connected to the main controller 22 via the communication line 15. The detector 64 provides the main controller 22 via the communication line 15 with a signal indicating the detected value of the instantaneous value of the AC output voltage Vo and a signal Iof indicating the detected value of the output current Io.
[0033] Reactor 9 and capacitor 10 form an AC filter 11 that allows commercial frequency AC power generated by inverter 8 to pass to AC output terminal T13 and prevents switching frequency current generated by inverter 8 from passing to AC output terminal T13.
[0034] The electromagnetic contactor S3 is controlled by the main controller 22 and is turned on in an inverter power supply mode in which the AC power generated by the inverter 8 is supplied to the load 31, and is turned off in a bypass power supply mode in which the AC power from the bypass AC power supply 33 is supplied to the load 31.
[0035] The semiconductor switch 20 includes a pair of thyristors connected in anti-parallel to each other, and is connected between the bypass input terminal T14 and a node N3. The electromagnetic contactor S4 is connected in parallel to the semiconductor switch 20. The semiconductor switch 20 is controlled by a main controller 22, and is normally turned off, but is instantly turned on when the inverter 8 fails, and supplies AC power from the bypass AC power supply 33 to the load 31. The semiconductor switch 20 is turned off a predetermined time after being turned on.
[0036] The electromagnetic contactor S4 is turned off in an inverter power supply mode in which the AC power generated by the inverter 8 is supplied to the load 31, and is turned on in a bypass power supply mode in which the AC power from the bypass AC power supply 33 is supplied to the load 31.
[0037] Furthermore, when the inverter 8 fails, the electromagnetic contactor S4 turns on and supplies AC power from the bypass AC power supply 33 to the load 31. In other words, when the inverter 8 fails, the semiconductor switch 20 turns on instantaneously for a predetermined time and the electromagnetic contactor S4 turns on. This is to prevent the semiconductor switch 20 from overheating and being damaged.
[0038] Specifically, a switch I / F 72 is connected to the electromagnetic contactors S3, S4 and the semiconductor switch 20. The switch I / F 72 is connected to the main controller 22 via a communication line 15. The switch I / F 72 turns the electromagnetic contactors S3, S4 and the semiconductor switch 20 on or off in accordance with an on command or off command given from the main controller 22.
[0039] The operation unit 24 includes a plurality of buttons operated by a user of the uninterruptible power supply 100, a display that displays various information, etc. By operating the operation unit 24, the user can turn the power of the uninterruptible power supply 100 on and off, and select either the bypass power supply mode or the inverter power supply mode.
[0040] The operation unit 24 is also connected to a communication network NW, and is capable of exchanging data with an external device 35 of the uninterruptible power supply 100 via the communication network NW (see FIG. 2). The external device 35 includes, for example, a PC (Personal Computer) or a server. The operation unit 24 may further include a USB connector. In this case, the operation unit 24 exchanges data with the external device 35 via the USB connector.
[0041] A user can directly operate the operation unit 24 or remotely operate the operation unit 24 using an external device 35 to execute a command to start updating the programs installed in the main controller 22, the detectors 60, 62, 64, the gate drivers 66, 68, 70, and the switch I / F 72, and a command to reset each device after the update is completed. Details of the program update process will be described later.
[0042] The main controller 22 controls the entire uninterruptible power supply 100 based on signals from the operation unit 24 and signals from the detectors 60, 62, 64, etc. That is, the main controller 22 detects whether or not a power outage has occurred based on the detected value of the AC input voltage Vi, and controls the converter 4 and the inverter 8 in synchronization with the phase of the AC input voltage Vi.
[0043] Furthermore, the main controller 22 controls the converter 4 based on the AC input voltage Vi, the AC input current Ii, and the DC voltage VD. The main controller 22 normally controls the converter 4 so that the DC voltage VD becomes a desired target voltage VDT, and stops the operation of the converter 4 when the commercial AC power supply 30 experiences a power outage.
[0044] Furthermore, the main controller 22 controls the bidirectional chopper 7 based on the DC voltage VD and the battery voltage VB. The main controller 22 normally controls the bidirectional chopper 7 so that the battery voltage VB becomes a desired target battery voltage VBT, and when the commercial AC power supply 30 experiences a power outage, controls the bidirectional chopper 7 so that the DC voltage VD becomes a desired target voltage VDT.
[0045] Furthermore, the main controller 22 controls the inverter 8 based on the AC output current Io and the AC output voltage Vo so that the AC output voltage Vo becomes a desired target voltage VoT.
[0046] The control of the converter 4, bidirectional chopper 7 and inverter 8 described above is realized by the main controller 22, the detectors 60, 62, 64, the gate drivers 66, 68, 70 and the switch I / F 72 each executing a pre-installed program and exchanging data with each other via the communication line 15.
[0047] That is, each of the detectors 60, 62, 64, the gate drivers 66, 68, 70, and the switch I / F 72 corresponds to an example of a "controller" that controls the operation of each module of the uninterruptible power supply 100 under the control of the main controller 22 that controls the entire uninterruptible power supply 100. In this embodiment, data can be exchanged between the main controller and each controller by serial communication. This makes it possible to suppress an increase in the number of wires connected to the main controller 22 even if the number of modules increases.
[0048] Next, a description will be given of the configuration of each of the main controller 22, the detectors 60, 62, 64, the gate drivers 66, 68, 70, and the switch I / F 72. Since the detectors 60, 62, 64, the gate drivers 66, 68, 70, and the switch I / F 72 have the same basic configuration, the following description will representatively show the configuration of the gate driver 66.
[0049] Fig. 2 is a block diagram showing the configuration of the main controller 22 and the gate driver 66. Referring to Fig. 2, the main controller 22 and the gate driver 66 are connected to each other via a communication line 15 so as to be able to communicate in both directions. The communication line 15 is configured to transfer data in both directions by serial communication. The communication line 15 includes a communication line 15A for transferring data from the main controller 22 to the gate driver 66, and a communication line 15B for transferring data from the gate driver 66 to the main controller 22.
[0050] The main controller 22 and the gate driver 66 cooperate with each other to control the converter 4 by executing a program previously stored in a memory.
[0051] The main controller 22 includes a programmable device 40 and a serial communication I / F 46 .
[0052] The programmable device 40 includes a processor 400, a memory 402, an input / output (I / O) circuit 404, and a communication I / F 406. The processor 400, the memory 402, the I / O circuit 404, and the communication I / F 406 can exchange signals with each other via a bus (not shown). The programmable device 40 may be realized as a control board including the processor 400.
[0053] The processor 400 is configured by at least one integrated circuit. The integrated circuit may be configured by, for example, at least one central processing unit (CPU), at least one micro processing unit (MPU), at least one field programmable gate array (FPGA), or a combination thereof.
[0054] The memory 402 includes a ROM (Read Only Memory) and a RAM (Random Access Memory). The processor 400 controls the operation of the uninterruptible power supply 100 by executing various programs. The processor 400 reads the programs from the ROM to the RAM. The RAM functions as a working memory and temporarily stores various data required for executing the programs. The I / O circuit 404 is connected to the operation unit 24 and is capable of sending and receiving signals to and from the operation unit 24.
[0055] The communication I / F 406 is an interface for transmitting and receiving data to and from the gate driver 66 .
[0056] The programmable device 40 generates a transmission signal (transmission data) T1 and outputs the generated transmission signal T1 to a driver 460 in the serial communication I / F 46. The programmable device 40 has a parallel / serial converter that converts the transmission signal T1, which is parallel data, into serial data.
[0057] The programmable device 40 transmits to the programmable device 50 data for driving the converter 4 (execution data, described later) or data for updating the programmable device 50 (update data, described later). These data are transmitted from the operation unit 24 to the programmable device 40. Note that a dedicated programmable device for transmitting update data may be provided separately from the programmable device 40.
[0058] The serial communication I / F 46 is a communication interface for transmitting various data between the main controller 22 and the gate driver 66 through serial communication using the communication line 15. The serial communication I / F 46 includes a driver 460 and a receiver 462.
[0059] A transmission signal output from the programmable device 40 is provided to the driver 460. The driver 460 transmits data corresponding to the transmission signal to the gate driver 66 via the communication line 15A.
[0060] The receiver 462 receives data transmitted from the gate driver 66 via the communication line 15B, and outputs the data as a received signal to the programmable device 40. The receiver 462 outputs the data from the gate driver 66 to the programmable device 40 as a received signal R1.
[0061] The programmable device 40 receives the received signal R1 output from the receiver 462 and executes a predetermined process based on the received signal R1 input thereto. The programmable device 40 has a serial / parallel converter that converts the received signal R1, which is serial data, into parallel data.
[0062] The gate driver 66 includes a programmable device 50 and a serial communication I / F 56. The programmable device 50 includes a processor 500 and a memory 502. The memory 502 includes an execution program memory area 522, an update program memory area 521, and an instruction information memory area 524. The update program memory area 521 corresponds to one embodiment of the "second memory area". The execution program memory area 522 corresponds to one embodiment of the "first memory area".
[0063] The execution program storage area 522 stores an execution program (described later). The update program storage area 521 stores an update program (described later). The instruction information storage area 524 stores instruction information (described later).
[0064] The processor 500 and the memory 502 can exchange signals with each other via a bus (not shown). The programmable device 50 may be realized as a control board including the processor 500 and the memory 502.
[0065] The processor 500 is configured by at least one integrated circuit. The integrated circuit may be configured by, for example, at least one CPU, at least one MPU, at least one FPGA, or a combination thereof.
[0066] The processor 500 executes various programs to drive the switching elements that constitute the converter 4. The processor 500 loads the programs (executable programs, etc.) stored in the ROM into the RAM and executes them. The programs stored in the ROM describe various processes to be executed by the processor 500. The RAM functions as a working memory and temporarily stores various data required for executing the programs.
[0067] The programmable device 50 has a parallel / serial converter that converts the transmission signal T2, which is parallel data, into serial data.
[0068] The transmission signal T2 from the processor 500 is output to a driver 562 in the serial communication I / F 56. The serial communication I / F 56 is a communication interface for transmitting and receiving various data between the gate driver 66 and the main controller 22 by serial communication using the communication line 15. The serial communication I / F 56 has a receiver 560 and a driver 562.
[0069] The receiver 560 receives data transmitted from the main controller 22 via the communication line 15A, and outputs the data as a received signal to the processor 500. The receiver 560 outputs the data from the main controller 22 to the processor 500 as a received signal (received data) R2.
[0070] The processor 500 receives the received signal R2 output from the receiver 560 and executes a predetermined process based on the received signal R2 input thereto. The processor 500 has a serial / parallel converter that converts the received signal R2, which is serial data, into parallel data.
[0071] The driver 562 is provided with a transmission signal (transmission data) T2 output from the programmable device 50. The driver 562 transmits data corresponding to the transmission signal to the main controller 22 via the communication line 15B.
[0072] As described above, the memory 502 stores the execution program in the execution program storage area 522 and the update program in the update program storage area 521. The processor 500 drives the converter 4 by executing the execution program.
[0073] The programmable device 40 of the main controller 22 can transmit either execution data or update data as a reception signal R2 to the programmable device 50 via the communication line 15 while the execution program is being executed. The execution data is data used to execute the execution program. When the processor 500 receives the execution data, it runs the execution program based on the execution data and drives the converter 4. The execution data includes instructions, values, etc. for running the execution program.
[0074] The update data is data used to update the update program. When the processor 500 receives the update data, the processor 500 writes the update data into the memory 502 and proceeds with the update of the update program. The transmission of the update data is started by the user's operation of the operation unit 24 (a command to start the update).
[0075] For example, suppose that execution data is transmitted from programmable device 40 to programmable device 50 at a predetermined cycle (e.g., every 10 msec). Update data may be transmitted from programmable device 40 to programmable device 50 at a timing when execution data is not being transmitted. For example, of the 10 msec, the first 5 msec may be used to transmit execution data, and the last 5 msec may be used to transmit update data. In this way, the program update proceeds while converter 4 is being driven.
[0076] Both the execution data and the update data are transmitted using the communication line 15. Therefore, the programmable device 50 of the gate driver 66 can be updated by the main controller 22 without increasing the number of communication lines. As shown in Fig. 1, the main controller 22 is connected to multiple controllers (detectors 60, 62, 64, gate drivers 66, 68, 70, and switch I / F 72) via the communication lines 15.
[0077] Therefore, by forming a communication path for updating between the main controller 22 and each controller using the communication line 15, the main controller 22 is able to proceed with the update process for each controller while operating all modules (electromagnetic contactors S1, S2, S3, S4, current detectors 12, 13, capacitors 1, 5, 10, reactors 2, 9, converter 4, bidirectional chopper 7, inverter 8, and semiconductor switch 20).
[0078] When the update of the update program is completed (when the rewriting of the update program is completed), the processor 500 stores, in the instruction information storage area 524 of the memory 502, instruction information (flag, etc.) that instructs switching of the program.
[0079] When the programmable device 50 is reset after the update of the update program is completed, the processor 500 ends the execution program and starts the update program as the execution program. The user can check on the operation unit 24 whether the update is completed or not.
[0080] The programmable device 40 is capable of transmitting reset command data for resetting the programmable device 50 to the programmable device 50 via the communication line 15 .
[0081] In this embodiment, the programmable device 50 is reset by operating a reset switch provided on the programmable device 50. Alternatively, the programmable device 50 resets itself when it receives reset command data. The reset command data is transmitted by the user operating the operation unit 24.
[0082] Fig. 3 is a diagram for explaining replacement of the execution program at the time of resetting. When programmable device 50 is reset and instruction information is stored in memory 502, processor 500 ends the execution program and starts the update program as the execution program. Specifically, as shown in Fig. 3, the execution program stored in execution program storage area 522 is stored in update program storage area 521 as the update program, while the update program stored in update program storage area 521 is stored in execution program storage area 522 as the execution program.
[0083] In addition, when the programmable device 50 is reset and instruction information is stored in the memory 502, the processor 500 may use the program stored in the update program memory area 521 as the execution program and the program stored in the execution program memory area 522 as the update program (to be updated) without swapping (rewriting) the programs with each other as described above.
[0084] The following is an explanation using a flowchart. Fig. 4 is a flowchart explaining the procedure of the process executed by the gate driver 66. This process starts when the programmable device 50 of the gate driver 66 is started up by supplying power, or when the programmable device 50 is restarted by resetting.
[0085] The processor 500 of the programmable device 50 determines in step (hereinafter, step is simply denoted as S) 101 whether or not the instruction information is stored in the instruction information storage area 524 of the memory 502.
[0086] When instruction information is stored in instruction information memory area 524 of memory 502 (YES in S101), processor 500 replaces the execution program stored in execution program memory area 522 with the update program stored in update program memory area 521 using the method described in FIG. 3 (S102).
[0087] On the other hand, if the instruction information is not stored in the instruction information storage area 524 of the memory 502 (NO in S101), the processor 500 does not replace the execution program and the update program.
[0088] Thereafter, the execution program is executed by steps S103 to S111 until the programmable device 50 is reset or the power supply to the programmable device 50 is cut off. If the instruction information is stored (if the update is completed and reset), the updated program will be executed. In S103, the processor 500 executes a process to initialize the programmable device 50.
[0089] When the processor 500 receives the execution data (YES in S104), the processor 500 executes the execution program based on the execution data (S105), and advances the process to S110. As a result, the process of driving the converter 4 proceeds.
[0090] When the processor 500 does not receive execution data (NO in S104) but receives update data (YES in S106), it writes the update data to progress the update of the update program stored in the update program storage area 521 (S107). As described above, the transmission of the update data is started by the user's operation of the operation unit 24 (a command to start the update).
[0091] When the update of the update program is completed (YES in S108), the processor 500 stores the instruction information in the instruction information storage area 524 of the memory 502 (S109), and advances the process to S110.
[0092] If processor 500 has not received the reset command data (NO in S110), it returns the process to S104. As a result, the processes of S104 to S110 are repeated until the reset command data is received. In S104 to S110, if execution data is received, the execution program is advanced, and if update data is received, the update is advanced.
[0093] After the update is completed, the programmable device 50 receives a reset command based on the user's operation of the operation unit 24. For example, the programmable device 40 transmits an update completion flag to the programmable device 50 at the timing of update completion. The user can check the completion of the update (update completion flag) on the operation unit 24. Then, the user transmits reset command data to the programmable device 40 by operating the operation unit 24.
[0094] When the processor 500 receives a reset command (YES in S110), it resets the programmable device 50 (S111) and ends this process (the execution program ends). Then, by resetting the programmable device 50, the programmable device 50 restarts and this process is executed again. If the reset is performed due to completion of the update, the updated execution program will be started.
[0095] Thus, according to the uninterruptible power supply 100 of the first embodiment, the multiple modules (converter 4, etc.) include the converter 4 that converts AC power supplied from the commercial AC power supply 30 into DC power, the inverter 8 that converts DC power supplied from the converter 4 or the battery 32 into AC power and supplies it to a load, and the bidirectional chopper 7 that selectively performs a charging operation of storing a part of the DC power generated by the converter 4 in the battery 32 and a discharging operation of supplying the DC power of the battery 32 to the inverter 8. The multiple controllers (gate driver 66, etc.) include multiple gate drivers (gate drivers 66, 68, 70) that drive the converter 4, the inverter 8, and the bidirectional chopper 7, respectively.
[0096] In the above configuration, the uninterruptible power supply 100 includes a plurality of modules (such as the converter 4), a main controller 22, a plurality of controllers (such as the gate driver 66), and a communication line 15. The main controller 22 controls the plurality of modules (such as the converter 4). Each of the plurality of controllers (such as the gate driver 66) includes a programmable device 50, and drives the plurality of modules (such as the converter 4) by communicating with the main controller 22. The communication line 15 communicatively connects the main controller 22 and the plurality of controllers (such as the gate driver 66). The programmable device 50 includes a memory 502 and a processor 500. The memory 502 stores an execution program and an update program. The processor 500 executes the execution program to drive the corresponding module. The main controller 22 can transmit either execution data or update data to the programmable device 50 via the communication line 15 during execution of the execution program. The execution data is data used to execute the execution program. The update data is data used to update the update program. When processor 500 receives the execution data, processor 500 runs the execution program based on the execution data. When processor 500 receives the update data, processor 500 writes the update data into memory 502 and runs the update of the update program. When programmable device 50 is reset after updating of the update program is completed, processor 500 ends the execution program and starts the update program as the execution program.
[0097] In this way, using the shared communication line 15, the update program can be updated by the update program in parallel while continuing to control the converter 4 (module) by the execution data (execution of the execution program). After the update is complete, the programmable device 50 is reset to switch these programs over and start them up. Since there is no need to stop the operation of the uninterruptible power supply 100 (switch to bypass power supply mode) during the update, the period during which the operation of the uninterruptible power supply 100 is stopped can be shortened.
[0098] In particular, if the programs of all the programmable devices 50 are rewritten via the communication line 15 and then all the programmable devices 50 are reset simultaneously by a user operation, the period during which the operation of the uninterruptible power supply 100 is stopped can be further shortened. Even in cases where the operation of the uninterruptible power supply 100 has conventionally been stopped for a long period of time (e.g., several tens of minutes) to update and reset the programs, it is now sufficient to stop the operation of the uninterruptible power supply 100 for a short period of time (e.g., several tens of seconds) to reset the programs. This makes it possible to efficiently update all the controllers with a simplified configuration.
[0099] Furthermore, the main controller 22 can transmit reset command data for resetting the programmable device 50 to the programmable device 50 via the communication line 15. When the programmable device 50 receives the reset command data, it resets the programmable device 50.
[0100] Even if a reset operation is required when updating the programmable device 50, by enabling resetting by sending reset command data via the communication line 15, there is no need to perform a manual reset operation or to install a separate transmission line for sending a reset signal. This makes it possible to efficiently update all controllers with a simplified configuration.
[0101] Furthermore, when the update of the update program is completed, processor 500 stores instruction information instructing switching of the program in memory 502. When programmable device 50 is reset and the instruction information is stored in memory 502, processor 500 ends the execution program and starts the update program as the execution program. This makes it possible to switch to the updated program by resetting after the update is completed.
[0102] Moreover, memory 502 includes an execution program storage area 522 and an update program storage area 521. The execution program storage area 522 stores an execution program. The update program storage area 521 stores an update program. When programmable device 50 is reset, processor 500 stores the execution program stored in execution program storage area 522 as an update program in update program storage area 521, and stores the update program stored in update program storage area 521 as an execution program in execution program storage area 522. By providing separate storage areas dedicated to programs for operating modules and storage areas dedicated to update programs, it becomes possible to efficiently update all controllers with a simplified configuration while facilitating software management.
[0103] [Embodiment 2] Fig. 5 is a circuit block diagram showing a configuration of an uninterruptible power supply 110 according to the second embodiment. With reference to Fig. 5, the uninterruptible power supply 110 according to the second embodiment includes a bypass module B0, a plurality of power modules P1 to Pn (n is an integer equal to or greater than 2), a battery 32, and a communication line 15. The bypass module B0 and the power modules P1 to Pn are connected to each other by the communication line 15. The communication line 15 is configured to transmit data bidirectionally by serial communication.
[0104] The bypass module B0 has an AC input terminal T21, an AC output terminal T22, and a switch (not shown) connected between the AC input terminal T21 and the AC output terminal T22.
[0105] Each of the power modules P1 to Pn is a power conversion module having a converter and an inverter. In the following description, the power modules P1 to Pn may be collectively referred to as a "power module P." The power module P has an AC input terminal T11, a battery terminal T12, and an AC output terminal T13.
[0106] The AC input terminal T21 of the bypass module B0 and the AC input terminal T11 of each power module P are both connected to a commercial AC power supply 30. The AC input terminal T21 and each AC input terminal T11 receive an AC voltage Vi of a commercial frequency supplied from the commercial AC power supply 30.
[0107] The battery terminals T12 of each power module P are both connected to a battery 32. The battery 32 stores DC power. A capacitor may be connected in place of the battery 32.
[0108] The AC output terminal T22 of the bypass module B0 and the AC output terminal T13 of each power module P are both connected to a load 31. That is, the bypass module B0 and the power modules P1 to Pn are connected in parallel with each other between the commercial AC power supply 30 and the load 31. The load 31 is driven by AC power supplied from the bypass module B0 or the power module P.
[0109] Such an uninterruptible power supply is called a "modular uninterruptible power supply." The modular uninterruptible power supply has a parallel circuit of power modules built therein, the number of which corresponds to the capacity of the uninterruptible power supply. In this embodiment, for example, when (N-1) power modules are required for power supply by the uninterruptible power supply, N power modules are mounted to provide redundancy. This can improve the quality of the power supply. This method of providing redundancy on a module-by-module basis in a single uninterruptible power supply is also called a "hot swap method." The hot swap method refers to a structure in which a power module can be stopped during operation of the uninterruptible power supply and the power module can be pulled out and inserted. This allows the power module P to be replaced while the power supply from the uninterruptible power supply continues when the power module breaks down or is inspected. Furthermore, as will be described later, by resetting the power modules P one by one, software updates can be completed without stopping the power supply from the uninterruptible power supply.
[0110] The uninterruptible power supply device 110 has an inverter power supply mode and a bypass power supply mode. The inverter power supply mode is a mode in which AC power is supplied from the power module P to the load 31. In the inverter power supply mode, AC power supplied from the commercial AC power supply 30 is converted to DC power by a converter of the power module P, and the DC power is converted to AC power by an inverter and supplied to the load 31. The bypass power supply mode is a mode in which AC power is supplied from the commercial AC power supply 30 to the load 31 via the bypass module B0. In the bypass power supply mode, the AC power supplied from the commercial AC power supply 30 is supplied to the load 31 without passing through the power module P.
[0111] Fig. 6 is a circuit block diagram showing the configuration of the bypass module B0 and the power module P shown in Fig. 5. The uninterruptible power supply 110 converts three-phase AC power from the commercial AC power supply 30 into DC power, and converts the DC power into three-phase AC power to supply to the load 31. In Fig. 7, for the sake of simplicity of the drawing and explanation, only a portion of the circuit corresponding to one of the three phases (U phase, V phase, W phase) is shown.
[0112] As shown in Fig. 6, the bypass module B0 includes a semiconductor switch 20, a main controller 80, and an operation unit 24. The semiconductor switch 20 is connected between an AC input terminal T21 and an AC output terminal T22. The semiconductor switch 20 is, for example, a thyristor switch having a pair of thyristors connected in anti-parallel. The semiconductor switch 20 is controlled by the main controller 80. The semiconductor switch 20 is turned off in the inverter power supply mode and turned on in the bypass power supply mode.
[0113] The operation unit 24 includes a plurality of buttons operated by a user of the uninterruptible power supply 110, a display that displays various information, etc. By operating the operation unit 24, the user can turn the power of the uninterruptible power supply 110 on and off, and select either the bypass power supply mode or the inverter power supply mode.
[0114] The operation unit 24 is also connected to a communication network NW, and is capable of exchanging data with an external device 35 of the uninterruptible power supply 110 via the communication network NW (see FIG. 7). The external device 35 includes, for example, a PC or a server. The operation unit 24 may further include a USB connector. In this case, the operation unit 24 exchanges data with the external device 35 via the USB connector.
[0115] As with the uninterruptible power supply 100 of embodiment 1 (see FIG. 1), in the uninterruptible power supply 110, a user can directly operate the operation unit 24, or can remotely operate the operation unit 24 using an external device 35, to execute a command to start updating the programs installed in each of the controllers 82 of the power modules P and a command to reset the controllers 82 after the update is completed.
[0116] The power module P includes electromagnetic contactors S1 to S3, capacitors 1, 5, and 10, reactors 2 and 9, a converter 4, a DC line 6, a bidirectional chopper , an inverter 8, a current detector 13, and a controller .
[0117] The electromagnetic contactor S1 and the reactor 2 are connected in series between the AC input terminal T11 and the input node of the converter 4. The capacitor 1 is connected to a node N1 between the electromagnetic contactor S1 and the reactor 2. The electromagnetic contactor S1 is turned on when the corresponding power module P is put into operation, and is turned off when the corresponding power module P is put into a stopped state. The instantaneous value of the AC input voltage Vi appearing at the node N1 is detected by the controller 82. The presence or absence of a power outage is determined based on the instantaneous value of the AC input voltage Vi.
[0118] The capacitor 1 and the reactor 2 constitute an AC filter 3. The AC filter 3 is a low-pass filter that passes AC power of a commercial frequency from the commercial AC power supply 30 to the converter 4 and prevents a signal of a switching frequency generated in the converter 4 from passing to the commercial AC power supply 30.
[0119] The converter 4 is controlled by a controller 82, and during normal times when AC power is supplied from the commercial AC power supply 30, the converter 4 converts the AC power into DC power and outputs it to the DC line 6. When the commercial AC power supply 30 experiences a power outage, the operation of the converter 4 is stopped.
[0120] The capacitor 5 is connected to the DC line 6 and smoothes the voltage of the DC line 6. The instantaneous value of the DC voltage VD appearing on the DC line 6 is detected by a controller 82. The DC line 6 is connected to a high-voltage side node of a bidirectional chopper 7, and a low-voltage side node of the bidirectional chopper 7 is connected to a battery terminal T12 via an electromagnetic contactor S2.
[0121] The electromagnetic contactor S2 is turned on when the corresponding power module P is in use, and is turned off during maintenance of the corresponding power module P and the corresponding battery 32. The instantaneous value of the inter-terminal voltage VB of the battery 32 appearing at the battery terminal T12 is detected by the controller 82.
[0122] The bidirectional chopper 7 is controlled by a controller 82, and normally stores the DC power generated by the converter 4 in the battery 32, and when the commercial AC power supply 30 experiences a power outage, supplies the DC power of the battery 32 to the inverter 8 via the DC line 6.
[0123] When storing DC power in the battery 32, the bidirectional chopper 7 steps down the DC voltage VD of the DC line 6 and supplies it to the battery 32. When supplying DC power from the battery 32 to the inverter 8, the bidirectional chopper 7 steps up the terminal voltage VB of the battery 32 and outputs it to the DC line 6. The DC line 6 is connected to the input node of the inverter 8.
[0124] An output node of the inverter 8 is connected to a first terminal of a reactor 9, and a second terminal (node N2) of the reactor 9 is connected to an AC output terminal T13 via an electromagnetic contactor S3. A capacitor 10 is connected to the node N2. An instantaneous value of an AC output voltage Vo appearing at the node N2 is detected by a controller 82. A current detector 13 detects an instantaneous value of a current Io flowing from the node N2 to the AC output terminal T13 (i.e., the load 31) via the electromagnetic contactor S3, and provides a signal Iof indicating the detected value to the controller 82.
[0125] The reactor 9 and the capacitor 10 configure an AC filter 11. The AC filter 11 is a low-pass filter that passes AC power of the commercial frequency generated by the inverter 8 to the AC output terminal T13 and prevents a signal of a switching frequency generated by the inverter 8 from passing to the AC output terminal T13. The electromagnetic contactor S3 is controlled by the controller 82, and is turned on when the corresponding power module P is put into operation and is turned off when the corresponding power module P is put into a stopped state.
[0126] The controller 82 controls the entire corresponding power module P based on the AC input voltage Vi, the DC voltage VD, the terminal voltage VB of the battery 32, the AC output current Io, the AC output voltage Vo, etc. That is, the controller 82 detects whether or not a power outage has occurred based on the detected value of the AC input voltage Vi, and controls the converter 4 and the inverter 8 in synchronization with the phase of the AC input voltage Vi.
[0127] Furthermore, the controller 82 normally controls the converter 4 so that the DC voltage VD becomes a desired target voltage VDT, and stops the operation of the converter 4 when the commercial AC power supply 30 experiences a power outage.
[0128] Furthermore, the controller 82 normally controls the bidirectional chopper 7 so that the inter-terminal voltage VB of the battery 32 becomes the desired target battery voltage VBT, and when a power outage occurs in the commercial AC power supply 30, the controller 82 controls the bidirectional chopper 7 so that the DC voltage VD becomes the desired target voltage VDT.
[0129] The controller 82 is also connected to the main controller 80 and the controllers 82 of the other power modules P by a communication line 15, and transmits and receives information to and from the main controller 80 and the other controllers 82 via the communication line 15. A serial communication method is used as the communication method between the main controller 80 and each controller 82. The controller 82 controls the converter 4 and the inverter 8 so that the shared currents of the multiple power modules P are equal.
[0130] The main controller 80 controls the entire uninterruptible power supply 110 based on signals from the multiple power modules P. Each controller 82 controls the corresponding power module P according to a control command given by the main controller 80.
[0131] Specifically, the main controller 80 obtains the sum of the output currents Io of the multiple power modules P, i.e., the load current IL, based on the output signals Iof of the multiple current detectors 13, and obtains the appropriate number of operating power modules P required to supply the load current IL. Furthermore, the main controller 80 compares the obtained appropriate number of operating units with the current number of operating units, and determines whether to operate each power module P or to stop each power module P based on the comparison result. The main controller 80 transmits a signal indicating the determination result to each controller 82 via the communication line 15.
[0132] When the controller 82 puts the corresponding power module P into a stopped state, it turns off the corresponding electromagnetic contactors S1, S3 and stops the operation of the corresponding converter 4, bidirectional chopper 7, and inverter 8. When the controller 82 puts the corresponding power module P into an operating state, it maintains the corresponding electromagnetic contactors S1, S3 in an on state and continues the operation of the corresponding converter 4, bidirectional chopper 7, and inverter 8.
[0133] Fig. 7 is a block diagram showing the configuration of the main controller 80 and the controllers 82. Referring to Fig. 7, the main controller 80 and the multiple controllers 82 are connected to each other via a communication line 15 so as to be able to communicate in both directions. The communication line 15 is configured to transfer data in both directions by serial communication. In the example of Fig. 7, the main controller 80 and the multiple controllers 82 are connected in a daisy chain. Note that the connection mode of the main controller 80 and the multiple controllers 82 is not limited to the daisy chain.
[0134] The main controller 80 has the same basic configuration as the main controller 22 shown in Fig. 2. That is, the main controller 80 includes the programmable device 40 and the communication I / F 46.
[0135] Each of the multiple controllers 82 has the same basic configuration as the gate driver 66 shown in Fig. 2. That is, the controller 82 includes the programmable device 50 and the communication I / F 56.
[0136] The main controller 80 and each controller 82 control the corresponding power module P in cooperation with each other by executing a program (execution program) stored in advance in a memory.
[0137] The main controller 80 transmits a transmission signal T1 to each controller 82 via the communication line 15. Each controller 82 transmits a transmission signal T2 to the main controller 80 via the communication line 15. During operation of the uninterruptible power supply 110, execution data is exchanged between the programmable device 40 and the programmable device 50 using the communication path, thereby controlling each power module P. Similarly, the main controller 80 and the programmable device 50 exchange update data for updating the programmable device 50 via the communication line 15. For example, when the programmable device 50 of the power module P1 is updated, update data is transmitted to the power module P1, and when the programmable device 50 of the power module P2 is updated, update data is transmitted to the power module P2.
[0138] 2 and 3, memory 502 stores an execution program in execution program storage area 522 and an update program in update program storage area 521. When processor 500 receives execution data via communication line 15, it runs the execution program based on the execution data. When processor 500 receives update data via communication line 15, it writes the update data into memory 502 and runs the update of the update program. When programmable device 50 is reset after updating of the update data is completed (instruction information is stored), processor 500 replaces the execution program with the update program and starts them.
[0139] Thus, in the modular uninterruptible power supply 110 according to the second embodiment, the uninterruptible power supply 110 includes a plurality of modules (power modules P), a main controller 80, a plurality of controllers 82, and a communication line 15. The plurality of modules include a plurality of power conversion modules (power modules P) connected in parallel to the load 31. The main controller 80 and the plurality of controllers 82 form a daisy chain connection via the communication line 15.
[0140] In the above configuration, the main controller 80 controls the multiple power modules P. Each of the multiple controllers 82 includes a programmable device 50, and drives each of the multiple power modules P by communicating with the main controller 80. The communication line 15 communicatively connects the main controller 80 and the multiple controllers 82. The programmable device 50 includes a memory 502 and a processor 500. The memory 502 stores an execution program and an update program. The processor 500 drives the corresponding power module P by executing the execution program. The main controller 80 can transmit either execution data or update data to the programmable device 50 via the communication line 15 during execution of the execution program. The execution data is data used to execute the execution program. The update data is data used to update the update program. When the processor 500 receives the execution data, it causes the execution program to proceed based on the execution data. When processor 500 receives the update data, processor 500 writes the update data into memory 502 and proceeds with updating the update program. When programmable device 50 is reset after updating of the update program is completed, processor 500 ends the execution program and starts the update program as the execution program.
[0141] The modular uninterruptible power supply 110 according to the second embodiment can also achieve the same effect as the uninterruptible power supply 100 according to the first embodiment. That is, by using the common communication line 15, the control of the power module P (execution of the execution program) can be continued by the execution data while, in parallel, the update program can be updated by the update program. After the update is completed, these programs are replaced and started. This can shorten the period during which the operation of the uninterruptible power supply 110 is stopped. In particular, if the programs of all the programmable devices 50 are rewritten via the communication line 15 and then all the programmable devices 50 are simultaneously reset by a user operation, the period during which the operation of the uninterruptible power supply 100 is stopped can be further shortened. This makes it possible to efficiently update all the controllers with a simplified configuration.
[0142] In addition, when (n-1) power modules are required for power supply by the modular uninterruptible power supply 110, and redundancy is achieved by mounting n power modules (power modules P1 to Pn), all updates and resets can be completed without stopping the operation of the uninterruptible power supply 110. For example, after all programmable devices 50 are rewritten via the communication line 15, first, the programmable device 50 of the power module P1 is reset while power is supplied by the power modules P2 to Pn other than the power module P1. Next, power supply is switched to the power modules P1, P3 to Pn other than the power module P2, and the programmable device 50 of the power module P2 is reset. In the same manner, the programmable devices 50 of the power modules P3 to Pn are sequentially reset thereafter. In this manner, it is not necessary to stop the operation of the uninterruptible power supply 110.
[0143] Furthermore, even if a reset operation is required when updating the programmable device 50, by configuring the programmable device 50 to be resettable by transmitting reset command data via the communication line 15, there is no need to manually perform a reset operation or to install a separate transmission line for transmitting a reset signal. This makes it possible to efficiently update all controllers with a simplified configuration.
[0144] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present invention is defined by the claims, not the above description, and is intended to include all modifications within the meaning and scope of the claims. [Explanation of symbols]
[0145] 1,5,10 Capacitor, 2,9 Reactor, 3,11 AC filter, 4 Converter, 6 DC line, 7 Bidirectional chopper, 8 Inverter, 12,13 Current detector, 82 Controller, 22,80 Main controller, 15 Communication line, 20 Semiconductor switch, 24 Operation unit, 30 Commercial AC power supply, 31 Load, 32 Battery, 33 Bypass AC power supply, 35 External device, 40,50 Programmable device, 46,56 Serial communication I / F, 60,62,64 Detector, 66,68,70 Gate driver, 72 Switch I / F, 100,110 Uninterruptible power supply, 400,500 Processor, 402 Memory, 460,562 Driver, 406 Communication I / F, 404 I / O circuit, 462,560 Receiver, 502 Memory, 520 Program memory area, 521 update program memory area, 522 execution program memory area, 524 instruction information memory area, B0 bypass module, P1 to Pn power modules, S1 to S4 electromagnetic contactors, Fu update mode transition flag, T11, T21 AC input terminals, T12 battery terminal, T13, T22 AC output terminals, NW communication network.
Claims
1. An uninterruptible power supply, Multiple modules and A main controller that controls the plurality of modules; A plurality of controllers each including a programmable device, and each of the controllers drives the plurality of modules through communication with the main controller; a serial communication line communicatively connecting the main controller and the plurality of controllers; The programmable device comprises: A memory for storing an execution program and an update program; a processor that executes the execution program to drive a corresponding module; the main controller is capable of transmitting, via the serial communication line, to the programmable device, either execution data used for executing the execution program or update data used for updating the update program while the execution program is being executed; The processor, When the execution data is received, the execution program is executed based on the execution data; When the update data is received, the update data is written into the memory to proceed with updating the update program; an uninterruptible power supply that, when the programmable device is reset after the update of the update program is completed, terminates the execution program and starts the update program as the execution program.
2. the main controller is capable of transmitting reset command data for resetting the programmable device to the programmable device via the serial communication line; The uninterruptible power supply according to claim 1 , wherein the programmable device resets itself when the reset command data is received.
3. The processor, When the update of the update program is completed, instruction information for instructing switching of the program is stored in the memory; 2. The uninterruptible power supply according to claim 1, wherein when the programmable device is reset and the instruction information is stored in the memory, the execution program is terminated and the update program is started as the execution program.
4. the memory includes a first storage area for storing the execution program and a second storage area for storing the update program; 2. The uninterruptible power supply of claim 1, wherein when the programmable device is reset, the processor stores the execution program stored in the first memory area in the second memory area as the update program, while storing the update program stored in the second memory area in the first memory area as the execution program.
5. 5. The uninterruptible power supply according to claim 1, wherein the plurality of modules includes a plurality of power conversion modules connected in parallel to a load.
6. The uninterruptible power supply according to claim 5 , wherein the main controller and the plurality of controllers form a daisy chain connection via the serial communication line.
7. The plurality of modules include: A converter that converts AC power supplied from an AC power source into DC power; an inverter that converts DC power supplied from the converter or the power storage device into AC power and supplies the AC power to a load; a bidirectional chopper that selectively performs a charging operation of storing a portion of the DC power generated by the converter in the power storage device and a discharging operation of supplying the DC power of the power storage device to the inverter, 5. The uninterruptible power supply according to claim 1, wherein the plurality of controllers include a plurality of gate drivers that respectively drive the converter, the inverter, and the bidirectional chopper.
Citation Information
Patent Citations
Power supply system, control method, and control program
JP2018182872A
Uninterruptible power supply system
WO2021044599A1
Control method for power source device, uninterruptible power source device, power source device, power source system, and built-in software program
WO2022190696A1
Cited By
No power outage device
JP7852168B1
