UNINTERRUPTIBLE POWER SYSTEM BYPASS SWITCH CONTROL
Power systems and methods are provided that receive input power and provide output power to a load. Under a first state of operation, power conversion circuitry may receive the input power and provide the output power. A bypass switch includes a controller that detects a failure condition by detecting a link down state on a communications interface. In response to detecting the link down state, the switch controller operates the bypass switch to convey the input power to the output in a second state of operation. The second state of operation is a bypass state of operation whereby the power conversion circuitry is bypassed.
This patent application is a divisional patent application of U.S. patent application Ser. No. 16/830,736, filed on Mar. 26, 2020, titled, UNINTERRUPTIBLE POWER SYSTEM BYPASS SWITCH CONTROL, which claims the benefit under 35 U.S.C. § 119 of Chinese Patent Application No. 201910813988.6, filed Aug. 30, 2019, titled UNINTERRUPTIBLE POWER SYSTEM BYPASS SWITCH CONTROL. Each application referenced above is hereby incorporated by reference in its entirety for all purposes.
BACKGROUND OF INVENTION Field of the InventionAt least one example in accordance with the present invention relates generally to providing reliable power to critical loads.
Discussion of Related ArtUninterruptible power systems (UPS) provide power to a critical load, and include on-line UPS's and off-line UPS's. On-line UPS's provide conditioned alternating current (AC) power as well as back-up AC power upon interruption of a primary source of AC power. Off-line UPS's typically do not provide conditioning of input AC power but provide back-up AC power upon interruption of the primary AC power source.
SUMMARYAspects and embodiments are generally directed to uninterruptible power systems that include a bypass switch to selectively couple a power input to a power output to bypass power conversion or other circuitry, such as in times of failure of such circuitry.
According to one aspect, a power system is provided that includes an input configured to be coupled to a power source and to receive input power from the power source, an output configured to be coupled to a load and to provide output power to the load, power conversion circuitry coupled to the input and the output and configured to receive the input power and to provide the output power, a bypass switch coupled to the input and the output and configured to selectively couple the input to the output to convey the input power to the output as the output power, and a switch controller coupled to the bypass switch and configured with a communications interface, the switch controller configured to detect a link reset condition at the communications interface and, in response to detecting the link reset condition, to control the bypass switch to be in a bypass state of operation in which the bypass switch conveys the input power to the output as the output power.
Some embodiments include a unit controller coupled to the power conversion circuitry and configured with a communications interface that is coupled to the communications interface of the switch controller, the unit controller configured to detect a failure condition and, in response to detecting the failure condition, to generate the link reset condition at the communications interface. The unit controller may include watchdog logic configured to detect the failure condition by reaching a timeout threshold. In some examples the timeout threshold may be 500 microseconds or less.
In certain embodiments, the switch controller may be further configured to confirm the link reset condition after a confirmation period and to control the bypass switch to be in the bypass state of operation in response to confirming the link reset condition. The confirmation period may be 500 microseconds or less in certain embodiments.
In some embodiments, the switch controller includes a field programmable gate array and the communications interface includes a physical layer interface circuitry and the physical layer interface circuitry is coupled to the field programmable gate array by a media independent interface.
According to another aspect, a power system is provided that includes an input configured to be coupled to a power source and to receive input power from the power source, an output configured to be coupled to a load and to provide output power to the load, power conversion circuitry coupled to the input and the output and configured to receive the input power and to provide the output power, and a unit controller coupled to the power conversion circuitry and configured with a communications interface, the unit controller configured to detect a failure condition and, in response to detecting the failure condition, to generate a link reset condition at the communications interface.
Certain embodiments also include a bypass switch coupled to the input and the output and configured to selectively couple the input to the output to convey the input power to the output as the output power and a switch controller coupled to the bypass switch and configured with a communications interface that is coupled to the communications interface of the unit controller, the switch controller configured to detect the link reset condition at the communications interface and, in response to detecting the link reset condition, to control the bypass switch to be in a bypass state of operation in which the bypass switch conveys the input power to the output as the output power. The switch controller may be further configured to confirm the link reset condition after a confirmation period and to control the bypass switch to be in the bypass state of operation in response to confirming the link reset condition. In some embodiments the confirmation period may be 400 microseconds or less.
According to various embodiments, the unit controller may include watchdog logic configured to detect the failure condition by reaching a timeout threshold, and in some examples the timeout threshold may be 500 microseconds or less.
In some embodiments, the unit controller includes a field programmable gate array and the communications interface includes a physical layer interface circuitry and the physical layer interface circuitry is coupled to the field programmable gate array by a media independent interface.
According to another aspect, a method of providing output power to a load is provided. The method includes receiving input power from a power source, processing the input power by power conversion circuitry to provide output power to the load in a first mode of operation, the power conversion circuitry controlled by a unit controller, detecting a failure condition of at least one of the power conversion circuitry or the unit controller, resetting a communications interface, by the unit controller, responsive to detecting the failure condition, detecting the communications interface reset, by a switch controller, and controlling a bypass switch, by the switch controller, responsive to the communications interface reset, to provide the input power as the output power to the load in a second mode of operation.
Some embodiments include monitoring, by the unit controller, for an event to occur at regular intervals, wherein detecting the failure condition includes detecting that the event has failed to occur for a timeout threshold.
Certain embodiments include confirmatory detecting the communications interface reset, by the switch controller, after a confirmation period, wherein controlling the bypass switch to be in the second mode of operation is responsive to the confirmatory detection of the communications interface reset.
According to various embodiments, controlling the bypass switch to be in the second mode of operation is configured to occur substantially within one millisecond of the failure condition.
In some embodiments, resetting the communications interface includes controlling a physical layer circuitry.
In certain embodiments, detecting the communications interface reset includes receiving an interrupt from a physical layer circuitry via a media independent interface.
Still other aspects, embodiments, examples, and advantages of these exemplary aspects and embodiments are discussed in detail below. Examples disclosed herein may be combined with other examples in any manner consistent with at least one of the principles disclosed herein, and references to “an example,” “some examples,” “an alternate example,” “various examples,” “one example” or the like are not necessarily mutually exclusive and are intended to indicate that a particular feature, structure, or characteristic described may be included in at least one example. The appearances of such terms herein are not necessarily all referring to the same example.
Various aspects of at least one embodiment are discussed below with reference to the accompanying figures, which are not intended to be drawn to scale. The figures are included to provide illustration and a further understanding of the various aspects and embodiments, and are incorporated in and constitute a part of this specification, but are not intended as a definition of the limits of the invention. In the figures, each identical or nearly identical component that is illustrated in various figures may be represented by a like or similar numeral. For purposes of clarity, not every component may be labeled in every figure. In the figures:
Systems and methods discussed herein are directed to uninterruptible power systems and methods that include a unit controller that controls various power switching, conversion circuitry, battery charging, and the like, and a bypass switch that allows power to be delivered directly to a load (e.g., by coupling a power source to the load and bypassing other circuitry), such as during a failure in any of the unit controller or other components. The uninterruptible power systems and methods described herein include internal Ethernet based communications components. The Ethernet communications components provide a controller area network and are controlled in a manner that allows rapid detection of a unit controller failure, such that a bypass switch controller may act to close the bypass switch, to continue providing power to a load during the failure condition. Conventional systems and methods are incapable of using Ethernet based communications as a controller area network because Ethernet connections are commonly believed unsuitable for embedded real-time applications.
Examples of the methods and systems discussed herein are not limited in application to the details of construction and the arrangement of components set forth in the following description or illustrated in the accompanying drawings. The methods and systems are capable of implementation in other embodiments and of being practiced or of being carried out in various ways. Examples of specific implementations are provided herein for illustrative purposes only and are not intended to be limiting. In particular, acts, components, elements and features discussed in connection with any one or more examples are not intended to be excluded from a similar role in any other examples.
Also, the phraseology and terminology used herein is for the purpose of description and should not be regarded as limiting. Any references to examples, embodiments, components, elements or acts of the systems and methods herein referred to in the singular may also embrace embodiments including a plurality, and any references in plural to any embodiment, component, element or act herein may also embrace embodiments including only a singularity. References in the singular or plural form are not intended to limit the presently disclosed systems or methods, their components, acts, or elements. The use herein of “including,” “comprising,” “having,” “containing,” “involving,” and variations thereof is meant to encompass the items listed thereafter and equivalents thereof as well as additional items. References to “or” may be construed as inclusive so that any terms described using “or” may indicate any of a single, more than one, and all of the described terms. In addition, in the event of inconsistent usages of terms between this document and documents incorporated herein by reference, the term usage in the incorporated references is supplementary to that of this document; for irreconcilable inconsistencies, the term usage in this document controls.
Uninterruptible power systems are commonly used to provide regulated, uninterrupted power to sensitive and/or critical loads, or any load to which a reliable source of power is desired.
A bypass switch 180 is included and may at times couple the AC input 120 to the AC output 160, bypassing the converter 110 and the inverter 150, to provide AC power from the AC input 120 to the AC output 160, such as during times of an operating failure of the converter 110, the inverter 150, the unit controller 170, or other components. Accordingly, the bypass switch 180 may include a bypass switch controller (BSC) 182 that controls the bypass switch 180 to be in an open circuit condition or a closed circuit condition at various times.
The unit controller 170 and the bypass switch controller 182 may communicate with each other through a communications channel 184, which may be referred to as a controller area network. The communications channel 184 enables internal communications between the controllers, e.g., the unit controller 170 and the bypass switch controller 182. In conventional systems, the controller area network may be, e.g., a serial interface such as an RS-485 / TIA-485 interface, commonly referred to as a 485 bus, or similar. Aspects and embodiments disclosed herein, however, use a packetized or datagram-oriented communications interface, such as an Ethernet (e.g., IEEE 802.3) type interface, as the communications channel 184, to enable communications between the controllers.
At least one challenge of providing such an interface for controller area communications includes meeting a timing requirement for communicating a failure of the unit controller 170. A failure of the unit controller 170, for instance, may require rapid response by the bypass switch controller 182, e.g., to operate the bypass switch 180 to be in a closed circuit condition, sufficiently quickly to continue providing power to the AC output 160. In various embodiments, the bypass switch controller 182 may need to react in about one millisecond or less. In various embodiments, the bypass switch controller 182 must respond to the unit controller 170 malfunction by closing the bypass switch 180 within 800 to 1,200 microseconds (e.g., 0.8 to 1.2 milliseconds). Aspects and embodiments disclosed herein control and/or monitor a standardized packet-oriented communications interface in such a manner that allows rapid detection of a failure of the unit controller 170 without requiring specialized protocols to be communicated over the interface. The communication channel 184, in accord with aspects and embodiments of systems and methods described herein, may operate in accord with any of various standards (e.g., IEEE 802.3 standards or the like) yet may, with operation as described herein, provide embedded time-critical indication of failure of the unit controller 170.
For the examples described herein, the unit controller 170 may be monitored for failure and the bypass switch controller 182 may detect such a failure by the systems and methods described herein. Various embodiments, however, may use systems or methods in accord with aspects and embodiments described herein to monitor any system, processor, controller, etc., and detect such failure at any other system, processor, controller, etc., over a communications channel that may otherwise operate according to various standards, even though such standards may not provide for real-time or time critical communication of a failure message, and even though such standards may not be otherwise suitable for time-critical or real-time embedded applications.
With continued reference to
For example, the unit controller 170 may include a watchdog logic 172 encoded in the FPGA or equivalent circuitry, and the ARM processor may run a task that “feeds” the watchdog logic 172 at regular intervals. For example, the processor may run a process that regularly provides an indication of regular operation, such as resetting a clock or a timer of the watchdog logic 172, and the watchdog logic 172 may monitor that the clock doesn't exceed a threshold. For example, if the clock is reset at a regular interval, e.g., under normal operation of the unit controller 170, the clock won't exceed the threshold, but if the processor is not operating normally the clock may exceed the threshold. When the watchdog logic 172 detects that a timeout threshold is met, the watchdog logic 172 controls the PHY chip 186a to reset the communications link 184. For example, in at least one embodiment, the processor may run a task that updates the watchdog logic 172 at a 10 kHz rate, e.g., every 100 microseconds. The watchdog logic 172 monitors such operation and if a timeout threshold of, e.g., 500 microseconds, goes by without the update, the watchdog logic 172 may reset the PHY chip 186a, to indicate to the bypass switch controller 182 that a failure has occurred in the unit controller 170.
On the other side of the communications channel 184, the bypass switch controller 182 may include FPGA logic dedicated to supporting detection of the reset, e.g., a link down condition, by the PHY chip 186b. In various embodiments, the bypass switch controller 182 may be configured to program the PHY chip 186b to detect and notify of a link down event, e.g., to provide an interrupt 188 upon detecting link loss. Receiving such an interrupt 188 may be interpreted by the bypass switch controller 182 as an indication of failure at the unit controller 170, and the bypass switch controller 182 may close the bypass switch 180 in response to the interrupt 188. Accordingly, the bypass switch 180 may be placed in a closed condition to bypass the various other power components, to continue providing AC power to the load 164 (see
In some embodiments, the bypass switch controller 182 may confirm that a received interrupt 188 is a failure notification, e.g., instead of a temporary link loss, by subsequently examining registers of the PHY chip 186b after a period of time. In some embodiments, the bypass switch controller 182 may set a hardware timer for a certain interval and at the end of the interval may confirm with the PHY chip 186b that the link remains down. In such embodiments, the bypass switch controller 182 may interpret the link down event, followed by the link remaining down for the certain interval, to be an indication that the unit controller 170 has failed. In response thereto, the bypass switch controller 182 may close the bypass switch 180.
For example, in various embodiments, the unit controller 170 may include watchdog logic that controls a PHY chip to reset a communications link if the unit controller 170 fails to maintain normal operation (e.g., as detected by resetting or “feeding” the watchdog logic at intervals) by a timeout threshold period. In some embodiments, the timeout threshold may be 500 microseconds or less. In various embodiments, the bypass switch controller 182 may detect the reset of the communications link by controlling a PHY chip to provide a link loss interrupt 188 and may interpret the reset of the communications link as a message that the unit controller 170 has failed, and may close a bypass switch 180 in response thereto. In some embodiments, the bypass switch controller 182 may confirm from the PHY chip 186b that the interrupt 188 is a link loss event, and may optionally set a hardware time to re-confirm the link loss event after a confirmation period. In some embodiments, the confirmation period may be 500 microseconds. In other embodiments, to account for the detection time for link loss by the PHY chip, the confirmation period may be less than 500 microseconds to achieve 1 millisecond response time. For example, in one embodiment, in which auto negotiation is used to achieve a fast reaction time, the detection time for link loss may be 100 microseconds and the confirmation period used is 400 microseconds.
Accordingly, in some embodiments, a 1.0 millisecond response time may be achieved by a 500 microsecond timeout threshold period (e.g., prior to sending a failure message in the form of a link reset) by the unit controller 170 combined with a 400 microsecond confirmation period (e.g., prior to interpreting the link reset as a failure message) by the bypass switch controller 182. Further, various embodiments may achieve other response times using various timeout threshold periods associated with a watchdog logic 172 or similar and/or various confirmation periods associated with a confirmation timer or similar.
The computing system 400 may include for example a computing platform such as those based on general computing processors, specialized processors, or microcontrollers. Computing system 400 may include specially-programmed, special-purpose hardware, for example, an application-specific integrated circuit (ASIC), or more generally designed hardware, such as a field programmable gate array (FPGA), or a general purpose processor, or any combination of these. Additionally, various aspects of the present disclosure may be implemented as specialized software executing on a computing system 400.
The computing system 400 may include a processor/ASIC 406 connected to one or more memory devices 410, such as a disk drive, memory, flash memory, embedded or on-chip memory, or other device for storing data. Memory 410 may be used for storing programs and data during operation of the computing system 400. Components of the computing system 400 may be coupled by an interconnection mechanism 408, which may include one or more buses and/or a network. The interconnection mechanism 408 enables communications of, e.g., data and instructions, to be exchanged between components of the computing system 400. The computing system 400 may also include one or more input devices 404, which may include, for example, a keyboard, a mouse, a touch screen, and the like, or interfaces for the connection of such devices. The computing system 400 may also include one or more output devices 402, which may include, for example, a display, a buzzer, alarm, or other audio indicator, a light, or other visual indicator, and the like, or similar interfaces. In addition, the computing system 400 may contain one or more interfaces (not shown) that may connect the computing system 400 to a communication network, in addition to or as an alternative to the interconnection mechanism 408.
The computing system 400 may include a storage component 412, which may include a computer readable and/or writeable nonvolatile medium in which signals may be stored to provide a program to be executed by the processor/ASIC 406 or to provide information stored on or in the medium to be processed by the program. The medium may, for example, be a disk or flash memory or other non-volatile memory including programmable read-only memory (PROM) of various types, and in some examples may include random access memory (RAM). In some embodiments, the processor may cause data to be read from the nonvolatile medium into another memory 410 that allows for faster access to the information by the processor/ASIC 406 than does the medium. This memory 410 may be a volatile, random access memory such as a dynamic random access memory (DRAM) or static memory (SRAM). It may be located in storage component 412 or in memory 410. The processor/ASIC 406 may manipulate the data within the memory 410 and copy the data to the storage 412 after processing is completed. Either or both of the memory 410 and storage 412 may be integrated in the processor/ASIC 406.
The computing system 400 may include a computer platform that is programmable using a high-level computer programming language. The computing system 400 may also be implemented using specially programmed or special purpose hardware, e.g. an ASIC. The processor/ASIC 406 may execute a core low-level operating system and may also execute a high-level operating system which may be, for example, a Windows operating system available from the Microsoft Corporation, a MAC OS System X or iOS operating system available from Apple Computer, a Solaris Operating System available from Sun Microsystems, a UNIX and/or LINUX operating system available from various sources, an Android operating system available from Google, Inc. Many other operating systems may be used, including bare metal and/or virtual computing systems.
In certain embodiments, a UPS has one or more controllers in accord with aspects and embodiments disclosed herein, which may include a processor, which may be any of the above or other suitable processors, including FPGAs and/or ASICs, and may run an instruction set or operate upon other logic, to implement control of various components as discussed above.
Some embodiments of UPS methods and systems, in accord with the aspects and embodiments disclosed herein, may provide single phase power or three phase power, and may receive input power in single phase or three phase form from any of the various power inputs, or any combination thereof. Embodiments disclosed herein can provide uninterruptible power to critical loads and/or to a utility grid using multiple power sources, including energy storage, renewable energy sources, and non-renewable energy sources. Conventional and modern sources, and future energy sources, are accommodated in some embodiments by various power conditioning and control modules (PCCM).
In certain embodiments, a converter such as the converter 110 may be or may include a power factor correction (PFC) circuit, and may aggregate power from one energy source at a time or may controllably aggregate power from multiple energy sources, and may provide power to one or more energy outputs. Additionally, the converter 110 may include power interfaces capable of both receiving and providing power, such as, for example, the AC input 120 may receive AC power input but may also act as a power output when, e.g., the converter 110 converts excess renewable or stored energy to feed power back to a utility grid.
In various embodiments, a controller such as controllers in accord with those discussed above may be a system control module (SCM) that is an intelligent power manager that selects which energy source or sources to use at any given time, to maintain power to the load and minimize energy costs. Such controllers may accomplish energy arbitrage by utilizing energy storage during peak electricity rates and recharging the energy storage during off peak rates. UPS's and controllers in accord with those discussed above may be capable of selling surplus renewable or battery power back to the utility via a bypass loop or bi-directional frond end power converter (e.g., out the AC input 120), which may also be controlled by the controller.
Having thus described several aspects of at least one embodiment of this invention, it is to be appreciated various alterations, modifications, and improvements will readily occur to those skilled in the art. Such alterations, modifications, and improvements are intended to be part of this disclosure, and are intended to be within the spirit and scope of the invention. Accordingly, the foregoing description and drawings are by way of example only.
Claims
1. A high-speed communication system for communicating one or more conditions between two or more controllers comprising:
- a first controller including a first communications interface having a first physical layer interface circuit, the first controller configured to detect a condition and, in response to detecting the condition, to generate a link reset at the first physical layer interface circuit; and
- a second controller operatively coupled to the first controller and including a second communications interface having a second physical layer interface circuit, the second controller configured to detect the link reset at the second physical layer interface circuit and, in response to detecting the link reset, output a signal indicating the condition detection.
2. The system of claim 1, wherein the second controller is further configured to confirm the link reset after a confirmation period and to take a corrective action in response to confirming the link reset.
3. The system of claim 2, wherein the confirmation period is about 500 microseconds or less.
4. The system of claim 1 wherein the first controller includes watchdog logic configured to detect the condition by reaching a timeout threshold.
5. The system of claim 4, wherein the timeout threshold is about 500 microseconds or less.
6. The system of claim 1 wherein the first controller includes a field programmable gate array and the first physical layer interface circuit is coupled to the field programmable gate array by a media independent interface.
7. The system of claim 1, further comprising a bypass switch, wherein the bypass switch is controlled responsive to the signal indicating the condition detection.
8. The system of claim 2, wherein the second controller is further configured to control a bypass switch to take the corrective action.
9. A non-transitory computer-readable medium storing thereon sequences of computer-executable instructions for operating a high speed communications system having a first communications interface having a first physical layer interface circuit and including a second communications interface having a second physical layer interface circuit, wherein the first interface circuit is operatively coupled to the second interface circuit, the sequences of computer-executable instructions including instructions that instruct at least one processor to:
- detect a condition and, in response to detecting the condition, to generate a link reset at the first physical layer interface circuit; and
- detect the link reset at the second physical layer interface circuit and, in response to detecting the link reset, output a signal indicating the condition detection.
10. The non-transitory computer readable medium of claim 9, wherein the sequences of computer-executable instructions including instructions that instruct at least one processor to confirm the link reset after a confirmation period and to take a corrective action in response to confirming the link reset.
11. The non-transitory computer readable medium of claim 10, wherein the confirmation period is about 500 microseconds or less.
12. The non-transitory computer readable medium of claim 9, wherein the high speed communications system further includes a bypass switch, and wherein the sequences of computer-executable instructions including instructions that instruct at least one processor to control the bypass switch responsive to the signal indicating the condition detection.
13. The non-transitory computer readable medium of claim 10, wherein the sequences of computer-executable instructions including instructions that instruct at least one processor to control a bypass switch to take the corrective action.
14. A method of operating a high-speed communication system for communicating one or more conditions between two or more controllers, the high speed communications system including a first controller including a first communications interface having a first physical layer interface circuit, and a second controller operatively coupled to the first controller and including a second communications interface having a second physical layer interface circuit, the method comprising:
- detecting a condition and, in response to detecting the condition, generating a link reset at the first physical layer interface circuit; and
- detecting the link reset at the second physical layer interface circuit and, in response to detecting the link reset, output a signal indicating the condition detection.
15. The method of claim 14, further comprising confirming the link reset after a confirmation period and taking a corrective action in response to confirming the link reset.
16. The method of claim 15, wherein the confirmation period is about 500 microseconds or less.
17. The method of claim 14 further comprising using watchdog logic to detect the condition based on the watchdog logic reaching a timeout threshold.
18. The method of claim 17, wherein the timeout threshold is about 500 microseconds or less.
19. The method of claim 14, wherein the high speed communications system further include a bypass switch, and the method includes controlling the bypass switch responsive to the signal indicating the condition detection.
20. The method of claim 15, wherein taking a corrective action includes controlling a bypass switch.
Type: Application
Filed: Oct 17, 2023
Publication Date: Feb 8, 2024
Inventors: Bo Chen (Shanghai), Richard Dyrmose Olsen (Kolding)
Application Number: 18/380,743