UPS bypass relay status detection method, uninterruptible power supply system and device

By detecting parameters such as UPS output voltage, DC bus voltage, and inverter output active power in the UPS system, the bypass relay sticking status is automatically identified, which solves the problem of excessive bus voltage caused by bypass relay sticking in the UPS system, and improves detection efficiency and system power supply stability.

CN123184290APending Publication Date: 2026-11-27ZHANGZHOU KEHUA ELECTRIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611271042.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-20
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, UPS systems cannot detect bypass relay sticking faults in a timely manner, leading to excessively high bus voltage that triggers system shutdown or equipment damage. Furthermore, manual troubleshooting is costly and inefficient, affecting power supply stability.

Method used

By acquiring the current operating status of the UPS, the drive signal status of the bypass relay, and the system operating parameters, the system automatically detects whether the bypass relay is stuck by using characteristic parameters under different operating conditions (such as UPS output voltage, DC bus voltage, and inverter output active power), and provides protection and control strategies to avoid bus overvoltage.

Benefits of technology

It enables automatic and accurate detection of whether the bypass relay is stuck without interfering with the stable power supply of the UPS, improving detection efficiency and accuracy, avoiding misjudgment and the inefficiency of manual troubleshooting, and ensuring the stability and continuity of the system power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184290A_ABST
    Figure CN123184290A_ABST
Patent Text Reader

Abstract

The application provides a UPS bypass relay state detection method, an uninterruptible power supply system and equipment, and relates to the technical field of uninterruptible power supply control. The method comprises the following steps: acquiring the current working state of the UPS, the driving signal state of the bypass relay and system running parameters; the running parameters comprise a voltage indication signal of the UPS output end, a DC bus voltage and an inverter output active power; if the UPS is in a non-inverter running state, it is determined whether the bypass relay is in a sticking state according to the driving signal state of the bypass relay and the voltage indication signal of the UPS output end; if the UPS is in an inverter running state, it is determined whether the bypass relay is in a sticking state according to the DC bus voltage and the inverter output active power. The application can automatically and accurately detect whether the bypass relay is in a sticking state during the running of the UPS, improves the detection efficiency and accuracy, and does not interfere with the stable power supply of the UPS.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of uninterruptible power supply control technology, and in particular to a UPS bypass relay status detection method, uninterruptible power supply system and equipment. Background Technology

[0002] An uninterruptible power supply (UPS) mainly consists of a main power supply branch (rectifier and inverter), a battery power supply branch, and a bypass, used to provide uninterrupted power to the load to ensure its continuous and stable operation. The bypass is the core redundant path ensuring uninterrupted power supply to the load, and its on / off state is controlled by controlling the activation / deactivation of bypass relays. As the core on / off actuator of the bypass, the bypass relay's contacts are prone to sticking faults due to long-term exposure to high currents and arcing impacts. This means that regardless of whether an activation or deactivation signal is sent to the relay, it remains in the activated state and cannot be deactivated.

[0003] In related technologies, after a UPS system is powered on, the bypass relay should be in the open state, allowing power to be supplied to the load from the inverter output of the main power supply branch. If the bypass relay is stuck and cannot be disconnected, it will cause the inverter bypass to conduct, leading to excessively high bus voltage, triggering system shutdown, or even damaging equipment. Therefore, it is necessary to monitor the status of the bypass relay to detect bypass relay sticking faults in a timely manner.

[0004] However, in actual UPS operation scenarios, there are many reasons for bus voltage overvoltage and equipment shutdown. Currently, it is only possible to discover whether the bypass relay is stuck when troubleshooting manually after the system has stopped or failed. This not only results in high troubleshooting costs and low efficiency, but also reduces the stability of the system power supply. Summary of the Invention

[0005] This application provides a method, system, and device for detecting the status of a UPS bypass relay, so as to automatically and accurately detect whether the bypass relay is in a stuck state without interfering with the stable power supply of the UPS, thereby improving detection efficiency and accuracy.

[0006] In a first aspect, embodiments of this application provide a method for detecting the status of a UPS bypass relay, including: The system acquires the current operating status of the UPS, the drive signal status of the bypass relay, and the system operating parameters, including the voltage indication signal at the UPS output, the DC bus voltage, and the active power output of the inverter. If the UPS is in non-inverter operation mode, then determine whether the bypass relay is in a stuck state based on the drive signal status of the bypass relay and the voltage indication signal at the output terminal of the UPS. If the UPS is in inverter operation mode, then the bypass relay is determined to be stuck in a stuck state based on the DC bus voltage and the inverter output active power.

[0007] In one possible implementation, determining whether the bypass relay is in a stuck state based on the drive signal state of the bypass relay and the voltage indication signal at the UPS output terminal includes: If the drive signal status indicator does not send a pull-in drive signal to the bypass relay and the voltage indicator signal at the UPS output terminal indicates that there is output voltage at the UPS output terminal, then the bypass relay is determined to be in a stuck state.

[0008] In one possible implementation, determining whether the bypass relay is in a stuck state based on the DC bus voltage and the inverter output active power includes: If the DC bus voltage exceeds the preset protection threshold and the inverter output active power is negative, then the bypass relay is determined to be in a stuck state.

[0009] In one possible implementation, the method further includes: When it is determined that the bypass relay is stuck, a protection control strategy is executed to prevent bypass current from flowing back into the DC bus from the inverter side.

[0010] In one possible implementation, the execution protection control strategy includes: Keep the bypass in the power supply state, control the inverter to enter the hot backup state, and control the output relay on the inverter side to be in the open state; When a bypass power supply interruption is detected, the output relay on the inverter side is activated to bring the inverter into power supply mode.

[0011] In one possible implementation, the control inverter entering a hot standby state includes: The power switching devices of the inverter are controlled to be in normal working condition to maintain the DC bus voltage within a preset normal working range, and the inverter output side does not output active power to the downstream circuit.

[0012] In one possible implementation, the UPS output terminal is provided with a hardware comparison circuit, which is used to acquire the output voltage of the UPS output terminal, compare the output voltage with a preset voltage threshold, and output a voltage indication signal of the UPS output terminal according to the comparison result. When the output voltage is greater than the preset voltage threshold, the hardware comparison circuit outputs a high-level indication signal to indicate that there is an output voltage at the UPS output terminal; When the output voltage is less than or equal to the preset voltage threshold, the hardware comparison circuit outputs a low-level indication signal to indicate that there is no output voltage at the UPS output terminal.

[0013] In one possible implementation, a thyristor is connected in series in the bypass of the UPS; the method further includes: When it is determined that the bypass relay is stuck and bypass power supply is not required, the thyristor is controlled to disconnect to control the bypass to stop power supply.

[0014] Secondly, embodiments of this application provide an uninterruptible power supply system, including: The inverter power supply branch includes a DC bus, an inverter, and an output relay on the inverter side connected in sequence. It is used to invert the DC power from the DC bus into AC power and then supply power to the load. Bypass, including bypass relays, is used to connect or disconnect the power supply circuit between the bypass power source and the load; The controller is connected to the inverter, the output relay on the inverter side, and the bypass relay, and is used to perform the UPS bypass relay status detection method described in the first aspect and any one of the first aspects.

[0015] Thirdly, embodiments of this application provide an uninterruptible power supply device, including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the computer program, it implements the UPS bypass relay status detection method described in the first aspect and any one of the first aspects.

[0016] This application provides a method for detecting the status of a UPS bypass relay. First, it acquires the current operating status of the UPS, the drive signal status of the bypass relay, and system operating parameters. These operating parameters include the voltage indication signal at the UPS output, the DC bus voltage, and the active power output of the inverter. Then, using whether the UPS is in inverter operation as a dividing criterion, two automatic detection logics are proposed. Since both normal bypass output (bypass relay normally engaged) and normal inverter operation conditions affect the UPS output voltage, this application limits the detection to non-inverter operation conditions. It detects whether the bypass relay is stuck based on the matching relationship between the bypass relay's drive signal and the UPS output voltage, thus eliminating bypass output under normal bypass relay engagement and inverter operation conditions. This invention addresses interference from inverter output and other operating conditions, preventing the misjudgment of normal power output as a bypass relay sticking fault. Furthermore, since a stuck bypass relay can cause bypass current backflow into the bus, leading to an abnormal rise in bus voltage, and other system faults can also cause DC bus overvoltage, this application detects bypass relay sticking under inverter operating conditions by correlating the characteristics of DC bus voltage and active power output from the inverter side. The DC bus voltage reflects whether the bus is overvoltaged, and the active power output from the inverter can determine the current direction on the inverter output branch. Combining these two factors allows for the determination of whether bypass current backflow is causing bus overvoltage, and consequently, whether the bypass relay is stuck. This eliminates other causes of bus overvoltage and avoids misjudging bypass relay sticking faults due to other reasons causing bus overvoltage. This solution covers all typical operating scenarios of UPS. Under various operating conditions of UPS, it can automatically and accurately detect whether the bypass relay is stuck. This solves the problem that existing technologies can only be manually checked after the equipment is shut down, improving detection efficiency and accuracy, and does not interfere with the stable power supply of UPS.

[0017] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this specification. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a schematic diagram of the structure of an uninterruptible power supply system provided in an embodiment of this application; Figure 2 This is a schematic flowchart of a UPS bypass relay status detection method provided in an embodiment of this application; Figure 3 This is a flowchart illustrating the status detection method for a UPS bypass relay provided in another embodiment of this application; Figure 4 This is a flowchart illustrating the status detection method for a UPS bypass relay provided in another embodiment of this application; Figure 5 This is a schematic diagram of the structure of an uninterruptible power supply system provided in another embodiment of this application; Figure 6 This is a schematic diagram of the structure of an uninterruptible power supply system provided in another embodiment of this application; Figure 7 This is a schematic diagram of the structure of an uninterruptible power supply device provided in an embodiment of this application. Detailed Implementation

[0020] The present application will be described more clearly below with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the function of the present application, but do not limit the present application in any way. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application. These all fall within the protection scope of the present application.

[0021] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0022] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0023] In the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0024] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0025] Furthermore, the term "multiple" mentioned in the embodiments of this application should be interpreted as two or more.

[0026] like Figure 1 As shown, an Uninterruptible Power Supply (UPS) mainly includes a main power supply branch (rectifier and inverter), a battery power supply branch, and a bypass, used to provide uninterrupted power to the load to ensure its continuous and stable operation. When the main power supply branch is running, the output relay K2 on the inverter side closes, drawing power from the grid (mains power), which is then rectified to convert AC to DC power. This DC power is then transmitted to the inverter via the DC bus, and finally inverted to output AC power to supply the load. When the mains power fails or is insufficient, the battery power supply branch is activated as a redundant power supply branch. The isolated switching power supply circuit converts the DC power output from the battery into energy, which is then transmitted to the inverter via the DC bus. The inverter then inverts this DC power to supply the load. The bypass is another core redundant path to ensure uninterrupted power supply to the load. The bypass output is controlled by opening / closing the bypass relay. As the core on / off actuator for bypassing, the contacts of the bypass relay are prone to sticking faults due to long-term bearing of large current and interruption of arc impact. That is, no matter whether an off signal or an on signal is sent to the relay, it will always be in the on state and cannot be disconnected.

[0027] In related technologies, after the UPS system is powered on, the bypass relay K1 should be in the open state, and the main power supply branch inverter output should supply power to the load. If the bypass relay is stuck and cannot be disconnected, it will cause the inverter bypass to conduct, causing the bypass current to flow back into the bus from the inverter side (e.g., Figure 1(As shown by the red dashed line in the diagram), excessive bus voltage can trigger system shutdown and even damage equipment. Therefore, it is necessary to monitor the status of bypass relays to detect stuck-on faults in a timely manner. However, in actual UPS operation scenarios, there are many reasons for bus voltage overvoltage and equipment shutdown. Currently, it is only possible to detect whether the bypass relay is stuck during manual troubleshooting after a system shutdown or failure. This not only results in high troubleshooting costs and low efficiency but also reduces the stability of the system power supply.

[0028] To address the aforementioned technical issues, this application proposes a bypass relay status detection method that can automatically and accurately detect whether the bypass relay is in a stuck state without interfering with the stable power supply of the UPS, thereby improving detection efficiency and system operational stability.

[0029] The following describes, with reference to the accompanying drawings, a UPS bypass relay status detection method provided according to an exemplary embodiment of this application.

[0030] It should be noted that the execution subject of the method provided in this application embodiment can be any device with relevant processing functions, such as a controller or processor.

[0031] Figure 2 This is a schematic flowchart of a UPS bypass relay status detection method provided in an embodiment of this application.

[0032] like Figure 2 As shown, the method in this application embodiment may include the following steps: Step S201: Obtain the current operating status of the UPS, the drive signal status of the bypass relay, and the system operating parameters; the operating parameters include the voltage indication signal at the UPS output terminal, the DC bus voltage, and the active power output of the inverter.

[0033] In this step, the current operating status of the UPS includes non-inverter operation and inverter operation. Non-inverter operation refers to the UPS being powered by bypass or in standby mode, where the inverter is not running. Inverter operation refers to the UPS being powered by the inverter (which can be AC ​​power, battery power, or a combination of AC power and battery power). The drive signal status of bypass relay K1 refers to the status of the control signals sent by the controller to the bypass relay, including the activation drive signal (the signal that controls the bypass relay to activate) and the deactivation drive signal (the signal that controls the bypass relay to deactivate). The voltage indication signal at the UPS output terminal is used to indicate whether there is output voltage at the UPS output terminal.

[0034] It should be noted that after the UPS system is turned on, the main power supply branch and / or battery power supply branch supply power normally, so the inverter continuously outputs AC power to the load. At this time, the bypass relay should be disconnected. If the bypass relay is stuck, the inverter bypass common conduction will occur, and a voltage difference will form between the inverter output voltage and the bypass output voltage, causing the bypass current to flow back to the inverter side (at this time, the current on the inverter output side is opposite to the normal inverter output current). This causes the DC bus voltage to rise, and at the same time, energy flows into the inverter in reverse, which is manifested as a negative inverter active power. Therefore, the direction of the current on the inverter output side can be determined by the sign of the inverter output active power. Thus, the DC bus voltage and the inverter output active power can be used as observable and effective characteristics of the inverter operation. Furthermore, in non-inverter operation, the inverter stops power output, and the voltage output from the UPS terminal can theoretically only come from the bypass. However, the bypass relay is not always stuck. It is also possible that the bypass needs to run first after the system is powered on, and the controller actively sends a drive signal to the bypass relay to activate it. Therefore, it is necessary to obtain the drive signal status of the bypass relay to rule out the case where the controller actively sends the bypass relay activation command in non-inverter operation.

[0035] In one possible implementation, the UPS operating state is recorded by the running state machine in the controller. Therefore, the controller can obtain the current operating state of the UPS by reading the data from the current running state machine. The drive signal of the bypass relay is issued by the controller itself, so its drive signal status can be obtained by reading the value of its own register. The voltage indication signal at the UPS output, the DC bus voltage, and the inverter output active power can all be acquired and transmitted to the controller through corresponding hardware sampling circuits.

[0036] It should be noted that the specific sampling process for the DC bus voltage and inverter output active power mentioned above can be found in relevant technologies, and will not be discussed in detail in this embodiment.

[0037] Step S202: If the UPS is in non-inverter operation mode, determine whether the bypass relay is stuck based on the drive signal status of the bypass relay and the voltage indication signal at the output terminal of the UPS.

[0038] In this step, when the UPS is in non-inverter operation, the inverter has no power output, and the DC bus and inverter do not participate in power supply. At this time, if there is output voltage at the UPS output terminal, the output voltage can theoretically only come from the bypass. The effective characteristics that can distinguish between the bypass relay "normally open" and "contacts stuck" are the bypass relay drive signal status and the voltage status at the UPS output terminal. Therefore, the drive signal status and the output voltage indication signal are used together to determine whether the bypass relay is stuck.

[0039] Specifically, if the bypass relay is in the open state, there should be no output voltage at the UPS output terminal. If the bypass relay's drive signal status indicator does not send an engaging drive signal to the bypass relay (i.e., the controller controls the bypass relay to open), but the voltage indicator signal at the UPS output terminal indicates that there is output voltage at the UPS output terminal, it means that the bypass relay is still in the closed conducting state after receiving the disconnection signal, and it can be determined that the bypass relay is in a stuck state.

[0040] Step S203: If the UPS is in inverter operation mode, determine whether the bypass relay is stuck based on the DC bus voltage and the inverter output active power.

[0041] In this step, when the UPS is in inverter operation mode, the UPS output terminal relies on the inverter output to establish voltage, and there is naturally an AC voltage at the output terminal. If the judgment condition of non-inverter operation mode is continued, continuous misjudgment will occur. However, in inverter operation mode, the bypass relay sticking will cause bypass energy to flow back to the inverter side, resulting in the simultaneous characteristics of DC bus overvoltage and reverse inverter output active power. Therefore, the DC bus voltage and inverter output active power are used for joint judgment.

[0042] Specifically, when the UPS is in inverter operation, the inverter supplies power to the load. If the bypass relay fails to engage, the bypass power supply will form a path with the inverter output through the engaged relay, causing common conduction of the bypass. In this case, the bypass output energy will flow back from the inverter side to the DC bus, causing the DC bus voltage to rise. Therefore, if the DC bus voltage exceeds the preset protection threshold and the inverter output active power is negative (indicating that active power is flowing back from the inverter output side to the DC bus side), it can be determined that the bypass relay is engaged.

[0043] In this embodiment, the inverter / non-inverter operating state is used as the judgment logic boundary. Under the two operating conditions, the electrical characteristics exhibited by the bypass relay sticking are completely different, and the available observation features that can be used to identify sticking are different. Under non-inverter operation, the detection of whether the bypass relay is stuck is based on the matching relationship between the bypass relay drive signal and the UPS output voltage. This can eliminate interference from bypass output under normal bypass relay engagement and inverter output under inverter operation, avoiding misjudging normal power supply output as bypass relay sticking fault. Furthermore, since bypass relay sticking can cause bypass current backflow into the bus, resulting in abnormal bus voltage rise, and other system faults can also lead to DC bus overvoltage, this application, under inverter operation, detects whether the bypass relay is stuck based on the correlation between DC bus voltage and active power output on the inverter side. DC bus voltage can reflect whether the bus is overvoltage, and active power output from the inverter can determine the current direction on the inverter output branch. Combining these two factors can determine whether bypass current backflow is causing bus overvoltage, and thus determine whether the bypass relay is stuck. This can eliminate other causes of bus overvoltage and avoid misjudging bypass relay sticking fault due to bus overvoltage caused by other reasons. This solution covers all typical operating scenarios of UPS. Under various operating conditions of UPS, it can automatically and accurately detect whether the bypass relay is stuck, without having to wait for the system to stop for manual troubleshooting, thus improving detection efficiency and accuracy, and without interfering with the stable power supply of UPS.

[0044] To better understand this application, the following will be combined with... Figure 3 The overall implementation logic for detecting the stuck state of the bypass relay in this application is described.

[0045] In one possible implementation, the specific implementation of step S202, which determines whether the bypass relay is in a stuck state based on the drive signal status of the bypass relay and the voltage indication signal at the UPS output terminal, is further defined. For example... Figure 3 As shown, in non-inverter operation, if the drive signal status indicator does not send an activation drive signal to the bypass relay and the voltage indicator signal at the UPS output terminal indicates that there is output voltage at the UPS output terminal, then the bypass relay is determined to be in a stuck state. That is, when all three conditions are met—the UPS is in non-inverter operation, the controller does not send an activation drive signal to the bypass relay, and there is output voltage at the UPS output terminal—the bypass relay is determined to be in a stuck state.

[0046] Specifically, the controller monitors the drive signal status of the bypass relay in real time. When the controller outputs a disconnect drive signal to the bypass relay (i.e., the drive signal status is "no activation drive signal sent"), the bypass relay should theoretically be in the open state. Simultaneously, the controller obtains the voltage status of the UPS output terminal through the voltage indication signal at the UPS output terminal. If the voltage indication signal indicates that there is output voltage at the UPS output terminal, it means that although the controller has controlled the bypass relay to disconnect, the bypass power supply is still supplying power to the UPS output terminal through the bypass relay. This indicates that the contacts of the bypass relay have a stuck fault.

[0047] For example, in a specific application scenario, after the UPS system is powered on, it is in bypass power supply mode (non-inverter operation state). The controller sends a disconnect signal to the bypass relay to prepare to switch to inverter power supply mode. However, the controller detects that the drive signal status of the bypass relay is not sending an engagement drive signal, and at the same time, the voltage indication signal at the UPS output terminal indicates that there is still voltage output at the UPS output terminal. At this time, it can be determined that the bypass relay has stuck.

[0048] In this embodiment, the specific judgment logic for non-inverter operation is defined. Specifically, when the drive signal indicates that no engagement signal has been sent (i.e., the control relay is disconnected) but there is still output voltage at the UPS output terminal, it is directly determined to be stuck. This judgment method has clear logic and is simple to implement. It only requires two signals—the drive signal and the voltage indication—to make a quick judgment without complex calculations or additional sensors. It has a fast response speed and is suitable for non-inverter scenarios such as UPS startup, standby, or bypass power supply. It can promptly expose faults where the relay contacts cannot disconnect, buying time for subsequent protection actions.

[0049] In one possible implementation, such as Figure 5 As shown, the UPS output terminal is equipped with a hardware comparison circuit. The hardware comparison circuit is used to collect the output voltage of the UPS output terminal, compare the output voltage with a preset voltage threshold, and output a voltage indication signal of the UPS output terminal according to the comparison result. When the output voltage is greater than the preset voltage threshold, the hardware comparison circuit outputs a high-level indication signal to indicate that there is an output voltage at the UPS output terminal. When the output voltage is less than or equal to the preset voltage threshold, the hardware comparison circuit outputs a low-level indication signal to indicate that there is no output voltage at the UPS output terminal.

[0050] This embodiment details the method for acquiring the voltage indication signal at the UPS output terminal. The UPS output terminal is equipped with a hardware comparison circuit. This circuit acquires the output voltage of the UPS output terminal, compares it with a preset voltage threshold, and outputs a voltage indication signal based on the comparison result. The controller determines whether there is an output voltage at the UPS output terminal by acquiring the voltage indication signal output by this hardware comparison circuit.

[0051] Specifically, when the output voltage is greater than the preset voltage threshold, the hardware comparator circuit outputs a high-level indicator signal to indicate that there is output voltage at the UPS output terminal; when the output voltage is less than or equal to the preset voltage threshold, the hardware comparator circuit outputs a low-level indicator signal to indicate that there is no output voltage at the UPS output terminal. The preset voltage threshold can be set according to actual needs.

[0052] In this embodiment, the voltage indication signal is obtained by setting a hardware comparison circuit. Compared with the software sampling method, it has the advantages of fast response speed and high reliability. It can reflect the voltage status of the UPS output terminal more timely and accurately, and provide a reliable basis for judging the stuck state of the bypass relay.

[0053] It should be noted that the specific components and circuit topology of the hardware comparison circuit can be referenced from relevant technologies. Any circuit topology that can achieve the functions required by this embodiment is acceptable, and this embodiment does not impose any specific limitations on it.

[0054] In one possible implementation, the specific implementation of step S203, which determines whether the bypass relay is in a stuck state based on the DC bus voltage and the inverter output active power, is further defined. For example... Figure 3 As shown, when the inverter is in operation, if the DC bus voltage exceeds the preset protection threshold and the inverter output active power is negative, the bypass relay is determined to be in a stuck state.

[0055] Specifically, when the UPS is in inverter operation, the controller acquires the DC bus voltage and inverter output active power in real time. The preset protection threshold is the safe upper limit of the DC bus voltage pre-set according to the UPS system design parameters. When the bypass relay is normally disconnected, there is no electrical connection between the bypass and the inverter output terminal, the DC bus voltage remains within the normal range, and the inverter output active power is positive (i.e., the inverter outputs active power to the load). When the bypass relay becomes stuck, the bypass power supply is connected to the inverter output terminal through the stuck bypass relay, forming an inverter bypass common conduction path. The energy of the bypass power supply is backflowed to the DC bus through the inverter, causing the DC bus voltage to rise sharply, and the inverter output active power to become negative.

[0056] Therefore, when the controller detects that the DC bus voltage exceeds the preset protection threshold and the inverter output active power is negative, it can be determined that the bypass relay is in a stuck state. It should be noted that, as... Figure 3 As shown, the bypass relay is considered stuck only if all three conditions are met simultaneously: inverter operating status, DC bus voltage exceeding the preset protection threshold, and inverter output active power being negative. This is to eliminate bus voltage fluctuations caused by other reasons (such as sudden load changes, abnormal input voltage, etc.) and improve the accuracy of detection.

[0057] In another possible implementation, in order to reduce the false positive rate, the condition that the inverter output active power is negative can be further limited to inverter output active power < -500W.

[0058] It should be noted that, as Figure 3 As shown, since the inverter output is three-phase AC power, including phase A, phase B and phase C output, if the active power of any one phase output is less than -500W, the active power of the inverter output can be determined to be negative.

[0059] This embodiment defines the specific judgment logic under inverter operation conditions, namely, determining "sticking out" when both the DC bus voltage exceeds a preset protection threshold and the inverter output active power is negative. This embodiment cleverly utilizes the physical characteristics caused by the bypass power supply backflowing into the DC bus via the inverter side after the bypass relay sticks out—bus rise and power backflow. Through dual-condition joint judgment, it can effectively eliminate instantaneous high bus voltage caused by non-sticking out factors such as load changes, input voltage fluctuations, or system self-regulation, greatly improving the accuracy and anti-interference capability of sticking out detection under inverter operation conditions, and avoiding unnecessary shutdowns due to false protection.

[0060] Figure 4 This is a flowchart illustrating the status detection method for a UPS bypass relay provided in another embodiment of this application. This embodiment focuses on describing the UPS operation protection strategy after determining that the bypass relay is stuck, so as to prevent bypass current from flowing back into the DC bus from the inverter side while ensuring that the UPS system does not shut down.

[0061] In one possible implementation, when the bypass relay is determined to be stuck, a protection control strategy is executed to prevent bypass current from flowing back into the DC bus from the inverter side.

[0062] In one possible implementation, such as Figure 4 As shown, the specific steps for implementing the protection and control strategy are as follows: Step S401: Keep the bypass in the power supply state, control the inverter to enter the hot backup state, and control the output relay on the inverter side to be in the off state.

[0063] In this step, when the bypass relay is detected to be stuck, the bypass power supply path remains continuous because the bypass relay cannot be disconnected. At this time, the inverter is controlled to enter hot standby mode, and the output relay on the inverter side is simultaneously disconnected, isolating the inverter output side from the load. In this way, the load continues to be powered by the bypass, and because the output relay on the inverter side is disconnected, energy from the bypass power supply cannot be backflowed to the DC bus through the inverter, preventing system shutdown or equipment damage due to DC bus overvoltage, while also ensuring uninterrupted power supply to the load.

[0064] In step S402, when a bypass power supply interruption is detected, the output relay on the inverter side is controlled to engage so that the inverter enters the power supply state.

[0065] In this step, if the bypass input power (such as mains power) is interrupted while the bypass relay is stuck, the load faces the risk of power outage. At this time, after detecting the bypass power interruption, the controller immediately controls the output relay on the inverter side to engage, connecting the inverter output to the load. The inverter switches from hot standby mode to normal power supply mode, continuing to supply power to the load and ensuring the continuity of power supply to the load, further improving the continuity and stability of the system power supply.

[0066] Furthermore, controlling the inverter to enter hot backup state includes: controlling the inverter's power switching devices to be in normal working condition to maintain the DC bus voltage within a preset normal working range, and preventing the inverter output side from outputting active power to downstream circuits.

[0067] Specifically, in hot standby mode, the inverter's power switching devices (such as IGBTs and MOSFETs) continue to operate normally, and the DC bus voltage remains within the preset normal operating range. However, the inverter output side does not output active power to the downstream circuit (i.e., the load side), but only maintains synchronous tracking of the output voltage. In this way, when the inverter needs to switch in to supply power, it can respond quickly and achieve seamless switching.

[0068] This embodiment proposes a complete protection and control strategy. When a power outage is detected, the bypass continues to supply power, the inverter enters hot backup mode, and the inverter-side output relay is disconnected. This physically isolates the inverter from the bypass path, completely blocking the bypass current from flowing back into the DC bus from the inverter side, preventing overvoltage on the bus from triggering system shutdown or damaging power devices. Simultaneously, the hot backup mode ensures the inverter maintains voltage synchronization and bus voltage regulation. Once a bypass power outage is detected, the output relay can be immediately closed, allowing the inverter to seamlessly switch back to power supply, ensuring the load does not lose power due to bypass failure. This strategy addresses the safety risks of a power outage while maintaining power continuity, achieving intelligent redundancy switching in fault conditions.

[0069] In one possible implementation, such as Figure 5 As shown, a thyristor is connected in series in the bypass of the UPS; the method provided in this embodiment further includes: when it is determined that the bypass relay is in a stuck state and bypass power supply is not required, controlling the thyristor to disconnect, so as to control the bypass to stop power supply.

[0070] Specifically, since the bypass path cannot be disconnected by controlling the relay itself after it becomes stuck, this embodiment incorporates a thyristor connected in series with the bypass relay in the bypass path. Under normal conditions, the thyristor is in the on state. When the controller determines that the bypass relay is stuck and the system does not require bypass power (e.g., the bypass power input is impure or unstable, or the system requires power from the inverter alone), the controller sends a disconnect control signal to the thyristor, causing it to turn off and thus cutting off the bypass power supply path. In this way, even if the bypass relay contacts are stuck and cannot be disconnected, the on / off control of the bypass can still be achieved through the series-connected thyristor, avoiding the inverter bypass common-conductance problem and improving the system's controllability and safety.

[0071] This embodiment adds a thyristor connected in series with the relay in the bypass circuit. When the relay is detected to be stuck and the system does not require bypass power supply, the bypass power supply path can be actively cut off by turning off the thyristor. This is equivalent to providing a second controllable switch for the bypass, overcoming the physical defect that the relay loses its on / off control capability once it is stuck. This allows the system to still have bypass disconnection capability after a sticking fault occurs, avoiding continuous common conduction of the inverter bypass. This solution significantly improves the system's controllability and post-fault handling flexibility at a lower cost. Combined with the protection strategies of the aforementioned related embodiments, it can further optimize the system's operating mode.

[0072] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0073] Figure 6 This is a schematic diagram of the structure of an uninterruptible power supply system provided in another embodiment of this application.

[0074] like Figure 6 As shown, the system provided in this embodiment includes: an inverter power supply branch, including a DC bus, an inverter, and an output relay K2 on the inverter side connected in sequence, used to invert the DC power from the DC bus into AC power and supply power to the load; a bypass, including a bypass relay K1, used to connect or disconnect the power supply circuit between the bypass power supply and the load; and a controller connected to the inverter, the output relay on the inverter side, and the bypass relay.

[0075] The inverter connects to the rectifier and the isolating power supply circuit via a DC bus. The rectifier is connected to the mains power, and the isolating power supply circuit is connected to the battery. It is used to invert the DC power output from the rectifier and / or the isolating power supply circuit into AC power to supply the load. Both the rectifier and the isolating power supply circuit are connected to the controller.

[0076] Furthermore, such as Figure 6 As shown, the system also includes a thyristor connected in series with a bypass relay on the bypass circuit and connected to the controller.

[0077] In one possible implementation, such as Figure 6 As shown, the system output is equipped with a hardware comparison circuit, and the output of the hardware comparison circuit is connected to the controller.

[0078] In this embodiment, the controller is used to perform the above... Figures 2-4 The method in the illustrated embodiment.

[0079] It should be noted that the detailed implementation process of the above system embodiments can be found in the relevant method embodiments section, and will not be repeated here.

[0080] Figure 7 This is a schematic diagram of the structure of an uninterruptible power supply device provided in one embodiment of this application. For example... Figure 7 As shown, the device 700 of this embodiment includes a processor 710 and a memory 720, wherein the memory 720 stores a computer program 721 that can run on the processor 710. When the processor 710 executes the computer program 721, it implements the steps in any of the above method embodiments. Alternatively, when the processor 710 executes the computer program 721, it implements the functions of each module / unit in the above device embodiments.

[0081] For example, computer program 721 may be divided into one or more modules / units, one or more of which are stored in memory 720 and executed by processor 710 to complete this application. The one or more modules / units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of computer program 721 in device 700.

[0082] Those skilled in the art will understand that Figure 7 This is merely an example of a device and does not constitute a limitation on the device. It may include more or fewer components than shown, or combinations of certain components, or different components, such as input / output devices, network access devices, buses, etc.

[0083] The processor 710 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0084] The memory 720 can be an internal storage unit of the device, such as a hard disk or RAM, or an external storage device, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. The memory 720 can also include both internal and external storage units. The memory 720 is used to store computer programs and other programs and data required by the device. The memory 720 can also be used to temporarily store data that has been output or will be output.

[0085] For the sake of simplicity and clarity, only the above-described functional modules / units are used as examples. In practical applications, the functions described above can be assigned to different functional modules / units as needed. These modules / units can be implemented in hardware, software, or a combination of both.

[0086] An embodiment of this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the UPS bypass relay status detection method in the above-described method embodiments.

[0087] This application also provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the UPS bypass relay status detection method in the above-described method embodiments.

[0088] Computer programs include computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. Computer-readable media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.

[0089] In the above embodiments, the descriptions of each embodiment have their own emphasis. Parts not detailed or described in a particular embodiment can be referred to in the relevant descriptions of other embodiments. Unless otherwise specified or in conflict with logic, the terminology and / or descriptions between different embodiments are consistent and can be referenced interchangeably. Technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships.

[0090] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A method for detecting the status of a UPS bypass relay, characterized in that, include: The system acquires the current operating status of the UPS, the drive signal status of the bypass relay, and the system operating parameters, including the voltage indication signal at the UPS output, the DC bus voltage, and the active power output of the inverter. If the UPS is in non-inverter operation mode, then determine whether the bypass relay is in a stuck state based on the drive signal status of the bypass relay and the voltage indication signal at the output terminal of the UPS. If the UPS is in inverter operation mode, then the bypass relay is determined to be stuck in a stuck state based on the DC bus voltage and the inverter output active power.

2. The UPS bypass relay status detection method according to claim 1, characterized in that, The step of determining whether the bypass relay is in a stuck state based on the drive signal status of the bypass relay and the voltage indication signal at the UPS output terminal includes: If the drive signal status indicator does not send a pull-in drive signal to the bypass relay and the voltage indicator signal at the UPS output terminal indicates that there is output voltage at the UPS output terminal, then the bypass relay is determined to be in a stuck state.

3. The UPS bypass relay status detection method according to claim 1, characterized in that, The step of determining whether the bypass relay is in a stuck state based on the DC bus voltage and the inverter output active power includes: If the DC bus voltage exceeds the preset protection threshold and the inverter output active power is negative, then the bypass relay is determined to be in a stuck state.

4. The UPS bypass relay status detection method according to claim 1, characterized in that, Also includes: When it is determined that the bypass relay is stuck, a protection control strategy is executed to prevent bypass current from flowing back into the DC bus from the inverter side.

5. The UPS bypass relay status detection method according to claim 4, characterized in that, The execution protection control strategy includes: Keep the bypass in the power supply state, control the inverter to enter the hot backup state, and control the output relay on the inverter side to be in the open state; When a bypass power supply interruption is detected, the output relay on the inverter side is activated to bring the inverter into power supply mode.

6. The UPS bypass relay status detection method according to claim 5, characterized in that, The control inverter enters hot backup state, including: The power switching devices of the inverter are controlled to be in normal working condition to maintain the DC bus voltage within a preset normal working range, and the inverter output side does not output active power to the downstream circuit.

7. The UPS bypass relay status detection method according to claim 2, characterized in that, The UPS output terminal is equipped with a hardware comparison circuit, which is used to collect the output voltage of the UPS output terminal, compare the output voltage with a preset voltage threshold, and output a voltage indication signal of the UPS output terminal according to the comparison result. When the output voltage is greater than the preset voltage threshold, the hardware comparison circuit outputs a high-level indication signal to indicate that there is an output voltage at the UPS output terminal; When the output voltage is less than or equal to the preset voltage threshold, the hardware comparison circuit outputs a low-level indication signal to indicate that there is no output voltage at the UPS output terminal.

8. The UPS bypass relay status detection method according to any one of claims 1 to 7, characterized in that, A thyristor is connected in series in the bypass of the UPS; the method further includes: When it is determined that the bypass relay is stuck and bypass power supply is not required, the thyristor is controlled to disconnect to control the bypass to stop power supply.

9. An uninterruptible power supply system, characterized in that, include: The inverter power supply branch includes a DC bus, an inverter, and an output relay on the inverter side connected in sequence. It is used to invert the DC power from the DC bus into AC power and then supply power to the load. Bypass, including bypass relays, is used to connect or disconnect the power supply circuit between the bypass power source and the load; A controller, connected to the inverter, the output relay on the inverter side, and the bypass relay, is used to execute the UPS bypass relay status detection method according to any one of claims 1 to 8.

10. An uninterruptible power supply device, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, characterized in that, When the processor executes the computer program, it implements the UPS bypass relay status detection method as described in any one of claims 1 to 8.