Backup power generation technology for controller clock and key data preservation

Collecting energy through the current transformer and switching to the auxiliary power supply solves the problem of continuous power supply of the backup power system when the main power supply is disconnected, ensuring the stable operation of the clock and microcontroller, and reducing the maintenance needs of the backup battery.

CN114175447BActive Publication Date: 2024-09-27CUMMINS LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980099056.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-30
Publication Date
2024-09-27
Estimated Expiration
2039-07-30

AI Technical Summary

Technical Problem

The existing backup power system is difficult to provide continuous power when the main power supply is disconnected, resulting in the loss of critical data in the clock and microcontroller, and the backup battery needs to be maintained or replaced offline.

Method used

Energy is collected through the current transformer, charging the capacitor, and switching to the auxiliary power supply when the main power supply is disconnected, providing a constant voltage supply to ensure continuous operation of the clock and microcontroller.

Benefits of technology

It achieves continuous power supply when the main power supply is unavailable, avoids data loss, reduces the maintenance requirements of backup batteries, and provides a more stable power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114175447B
    Figure CN114175447B
Patent Text Reader

Abstract

A controller includes a microcontroller and a control circuit. The control circuit includes a circuit configured to sense alternating current (AC) from a current transformer coupled to the controller, convert the AC to direct current (rectified output DC), charge a capacitor to a first predetermined voltage level using the rectified output DC of the current transformer, and switch from a main power supply for the microcontroller to an auxiliary power supply including a capacitor. The control circuit includes a circuit configured to cause the capacitor of the auxiliary power supply to power a clock coupled to the microcontroller at a second voltage level.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a backup power system. More specifically, the present disclosure relates to backup power generation for real-time clock and microcontroller functions (including critical data preservation) of a controller in a backup power system such as a generator set ("generator set"), a generator system, and / or an automatic power transmission system that performs continuous load current measurement. Background Art

[0002] Generator sets are used to provide backup power - for example, in areas where power outages are expected and / or in mission-critical systems (i.e., systems that require essentially zero downtime) to minimize system downtime. Generator sets may include an engine and a generator, and may be managed by a controller. Modern electronic systems (such as systems electronically coupled to or contained in a generator set) are equipped with a clock (e.g., a real-time clock built into the controller system) that keeps track of time even when the electronic system itself is turned off. Typically, the clock runs on a dedicated battery that is not connected to the main power supply of the controller of the electronic system. When the power supply is interrupted, such as when the main battery is disconnected or inoperable, critical data may be lost. Therefore, it is necessary to continue to provide backup power to various components of the electronic system, such as the clock, any microcontrollers, RAM memory blocks, ROM memory blocks, etc. In this case, a backup power supply is typically used. Providing backup power in electronic systems is typically accomplished using a backup battery. The backup battery has a limited capacity and therefore provides backup power for a limited time rather than providing continuous power. In addition, the backup battery may need to be taken offline for maintenance or replacement. Summary of the invention

[0003] An exemplary embodiment relates to a device including a controller. The controller includes a microcontroller and a circuit. The circuit is configured to sense alternating current (AC) from a current transformer coupled to the controller. The circuit is configured to convert the alternating current sensed from the current transformer into direct current (rectified output DC). The circuit is configured to charge a capacitor to a first predetermined voltage level using the rectified output DC of the current transformer. The capacitor is coupled to the controller and an auxiliary power supply, the auxiliary power supply being configured to supply power to the microcontroller when a main power supply stops supplying power. The circuit is configured to activate the auxiliary power supply in response to determining that the main power supply configured to supply power to the microcontroller stops supplying power, and in response to switching from the main power supply to the auxiliary power supply. The circuit is configured to cause the capacitor of the auxiliary power supply to supply power to the microcontroller at a second predetermined voltage level different from the first predetermined voltage level. The circuit is configured to cause the capacitor of the auxiliary power supply to supply power to a clock coupled to the microcontroller.

[0004] In some embodiments, the clock is a real time clock (RTC).

[0005] In some embodiments, the controller of the device includes a voltage switching circuit, and the voltage switching circuit includes a hardware circuit configured to cause the controller to set the second predetermined voltage level. In some embodiments, the voltage switching circuit further includes a hardware circuit configured to cause a voltage regulator coupled to the microcontroller to maintain a substantially constant voltage level within 1% of the second predetermined voltage level. In some embodiments, the first predetermined voltage level is 5V. In some embodiments, the second predetermined voltage level is 3.3V.

[0006] In some embodiments, a controller of the apparatus is configured to control operation of electronic components coupled to the generator set, and wherein the controller is one of an automatic transfer switch controller, a load management controller, and an AC distribution controller.

[0007] Another exemplary embodiment relates to a system, such as a control system for electronic components coupled to a generator set. The system includes a microcontroller associated with a controller of the control system, the controller including a control circuit. The microcontroller includes a clock. In some embodiments, the clock is a real-time clock. The system includes a main power supply for the microcontroller and an auxiliary power supply for the microcontroller, the auxiliary power supply being coupled to a current transformer and including a capacitor. The control circuit is configured to sense alternating current (AC) from the current transformer. The control circuit is configured to convert the alternating current sensed from the current transformer into direct current (rectified output DC). The control circuit is configured to charge the capacitor to a first predetermined voltage level using the rectified output DC of the current transformer. The control circuit is configured to activate the auxiliary power supply in response to determining that the main power supply stops supplying power and in response to switching from the main power supply to the auxiliary secondary power supply. The control circuit is configured to cause the capacitor of the auxiliary power supply to supply power to the microcontroller at a second predetermined voltage level different from the first predetermined voltage level. The control circuit is configured to cause the capacitor of the auxiliary power supply to supply power to the clock at the second predetermined voltage level.

[0008] In some embodiments, at least one of the first predetermined level and the second predetermined voltage level is set by configuring a hardware circuit.

[0009] In some embodiments, the controller is configured such that a voltage regulator coupled to the microcontroller maintains a substantially constant voltage level within 1% of the second predetermined voltage level. In some embodiments, the first predetermined voltage level is 5 V and the second predetermined voltage level is 3.3 V. In some embodiments, the controller is one of an automatic transfer switch controller, a load management controller, and an AC distribution controller.

[0010] Another exemplary embodiment relates to a method for generating a backup power supply for a microcontroller associated with an electronic component coupled to a generator set. The method includes sensing, by a control circuit of a controller, alternating current (AC) from a current transformer. The method includes converting the AC sensed from the current transformer into direct current (rectified output DC). The method includes charging a capacitor to a first predetermined voltage level using the rectified output DC of the current transformer, wherein the capacitor is coupled to an auxiliary power supply configured to supply power to the microcontroller when a main power supply stops supplying power. The method includes: in response to determining that the main power supply configured to supply power to the microcontroller stops supplying power, switching from the main power supply to the auxiliary power supply, activating the auxiliary power supply. And causing the capacitor of the auxiliary power supply to supply power to the microcontroller at a second predetermined voltage level different from the first predetermined voltage level.

[0011] In some embodiments, the microcontroller includes a real-time clock, and the method further includes causing the auxiliary power supply to supply power to the real-time clock via the control circuit.

[0012] In some embodiments, causing the capacitor of the auxiliary power supply to power the microcontroller at the second predetermined voltage level further comprises: achieving a value within 1% of the second predetermined voltage level via a voltage switching circuit of the controller.

[0013] In some embodiments, a voltage switching circuit of the controller is coupled to a voltage regulator. The method further includes maintaining, by the voltage switching circuit, the voltage regulator at a substantially constant voltage level corresponding to the second predetermined voltage level. In some embodiments, the first predetermined voltage level is 5V. In some embodiments, the second predetermined voltage level is 3.3V.

[0014] In some embodiments, the flow rate of the AC from the current transformer is between 100 mA and 500 mA (inclusive). In some embodiments, the controller is configured to control operation of an electronic component coupled to a generator set, and wherein the controller is one of an automatic transfer switch controller, a load management controller, and an AC distribution controller.

[0015] These and other features, as well as the organization and manner of operation thereof, will become apparent from the following detailed description taken in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a schematic diagram of a system including a generator set electrically coupled to a controller according to an exemplary embodiment.

[0017] Figure 2 According to an exemplary embodiment Figure 1 Schematic diagram of the controller of the system.

[0018] Figure 3 According to an exemplary embodiment, Figure 1 A flow chart of a method performed by a controller of a system for backup power generation for clock and microcontroller functions.

[0019] Figure 4 According to an exemplary embodiment, Figure 1 Circuit diagram of the electronic circuit for capacitor charging and voltage switching in the system.

[0020] Figure 5 According to an exemplary embodiment Figure 1 Schematic diagram of the power switching arrangement of the system.

[0021] Figure 6 According to an example embodiment Figure 5 1 is a circuit diagram of a first control circuit 506 and a second control circuit 508 . DETAILED DESCRIPTION

[0022] The following is a more detailed description of various concepts and implementations related to methods, devices, and systems for backup power generation for clocks and microcontroller critical data storage. The various concepts introduced above and discussed in more detail below can be implemented in any number of ways, as the concepts described are not limited to any particular implementation. Examples of specific implementations and applications are provided primarily for illustrative purposes.

[0023] Referring generally to the accompanying drawings, various embodiments disclosed herein relate to power systems, devices, and methods, and more particularly, to systems and methods for generating backup power for a clock that can be used to preserve critical data for a controller. In the event that the main controller battery is disconnected due to maintenance (or any other reason), the clock is typically powered by an auxiliary battery (e.g., 3.3V) or a supercapacitor (which can store the charge from the main controller battery for a certain period of time). However, these methods are not optimal for continuous power supply. Therefore, the applicant has developed a solution disclosed herein whereby when the main battery powering the controller is inoperable, the controller (such as a controller included in a component of a generator set or coupled to a component of a generator set) remains powered by energy harvesting using current transformers.

[0024] Reference now Figure 1 , a schematic diagram of a system 100 including a generator set 120 coupled to a controller 130 is shown according to an example embodiment. Figure 1 As shown, the system 100 generally includes a power source 110, a generator set 120, a controller 130, one or more loads 140, one or more automatic transfer switches 150, one or more first conductors 152, one or more second conductors 154, a current transformer 160, a battery 170, and a sensor 180 coupled to one or more components of the system 100. These components will be described more fully herein.

[0025] Those skilled in the art will recognize that the present disclosure is applicable to a variety of embodiments. As shown and according to an example embodiment, the power supply 110 can be a utility that supplies power and the system 100 can be a power production system. As shown, the system 100 includes one or more loads 140. The load 140 can be an electrical appliance, an industrial machine, an electronic device, etc., and can be configured and / or rated to consume power in the form of alternating current (AC) or direct current (DC). The power supply 110 provides power via one or more first conductors 152 and / or one or more second conductors 154. In some operating states of the system 100, power is provided by the generator set 120 via one or more first conductors 152 and / or one or more second conductors 154 (e.g., in a failover mode when the power supply 110 is unavailable). In some embodiments, the power supply 110 and / or the generator set 120 are AC voltage generating systems. In embodiments where the load 140 is a DC load, the generator set 120 can be coupled to a rectifier configured to convert alternating current into direct current.

[0026] The components of system 100 may communicate with each other or other components using any type and any number of wired or wireless connections. For example, a wired connection may include a serial cable, a fiber optic cable, a CAT5 cable, or any other form of wired connection. A wireless connection may include Internet, Wi-Fi, cellular, radio, Bluetooth, ZigBee, etc. In some embodiments, a controller area network (CAN) bus provides for the exchange of signals, information, and / or data. The CAN bus includes any number of wired and wireless connections. Because controller 130 is coupled to Figure 1 The system and components of the system 100, so the controller 130 is configured to receive information about Figure 1 100. The data may include operational data regarding an operating condition of the system 100. The operational data may be provided by one or more sensors, such as sensor 180. As another example, the operational data may include input from one or more components of the generator set 120. The controller 130 may be configured to determine how to control the generator set 120, the automatic transfer switch 150, the load 140, etc. based on external user input provided via an input / output interface associated with the respective subsystem and / or based on operational data acquired during operation of any component of the system 100.

[0027] exist Figure 1 In an embodiment, the power source 110 is an entity (e.g., a network of electrical components) configured to supply and / or transmit electricity. For example, the power source 110 may include a power system, a power grid, a power generation system, a power station, a distribution system / substation, etc. or a portion thereof. In an exemplary embodiment, the power source 110 is a utility unit that supplies electricity to provide electricity for commercial or residential applications. The power source 110 can be a collection of machines for converting (e.g., combustible) potential energy or (e.g., water) potential energy into electrical energy. The power source 110 can generate and / or receive its electricity in various ways, including, for example, nuclear energy, fossil fuels (coal, natural gas, etc.), geothermal, hydroelectric, wind energy, solar energy, etc.

[0028] The generator set 120 provides backup power in the event that the power source 110 is unavailable or when the capacity of the power source 110 is reduced below a predetermined capacity threshold. In an exemplary embodiment, the generator set 120 includes an engine 122 coupled to a generator 124, which generates energy when driven by the engine 122. The engine 122 can be configured to provide mechanical power to the generator 124. The engine 122 may include an internal combustion ("IC") engine that converts a fuel (e.g., diesel, gasoline, natural gas, biodiesel, ethanol, liquid petroleum gas, or any combination thereof) into mechanical energy. The engine 122 may include a plurality of piston and cylinder pairs for burning fuel to generate mechanical energy. In some embodiments, the engine 122 is a spark ignition engine. In some embodiments, the engine 122 is a compression ignition engine.

[0029] The engine 122 may be coupled to the generator 124 via a shaft so as to provide mechanical power thereto in response to a load demand imposed on the engine by the generator 124. The generator 124 may include an alternator, such as a wound rotor or permanent magnet alternator, configured to convert the rotating mechanical power generated by the engine 122 into electrical energy. The engine 124 is configured to generate an electrical output. The electrical output may include a voltage and / or a current and is proportional to the speed or torque provided by the engine 122 to the generator 124. The generator 124 is configured to apply a load demand to the engine 122, for example, based on a load demand (e.g., power, speed, torque, etc.) required by the load 140 from the generator 124.

[0030] like Figure 11, the engine 122 and / or the generator 124 of the generator set 120 are coupled to a controller 130 (e.g., a control system, a control unit, etc.), which, according to various embodiments and as further described herein, can be configured to function as an automatic transfer switch controller, a load management controller, an alternating current (AC) distribution controller, etc., for the generator set 120. The controller 130 may include various circuits, and in the example shown, includes a microcontroller 138. According to an alternative embodiment, the microcontroller 138 is separate from the controller 130, such that the controller 130 is communicatively coupled to the microcontroller 138. The controller 130 and / or the microcontroller 138 may include control circuits for managing various components of the system 100, such as data management functions and / or operation control functions, data preservation, etc. The controller 130 and / or the microcontroller 138 may include a clock 139 (in the example architecture shown, the microcontroller 138 includes the clock 139). In some embodiments, the clock 139 is an integrated circuit configured to keep time. In some embodiments, clock 139 includes read / write registers, each register being associated with a unique physical address or multiple unique physical addresses and being used to track time units (e.g., microseconds, milliseconds, seconds, minutes, hours, days, days, months, years, etc.) and / or to track clock control functions (12-hour mode, 24-hour mode, etc.) In some embodiments, clock 139 is a real-time clock (RTC).

[0031] As shown, the controller 130 is coupled to a main power supply 132 and a backup power supply 134, each of which is configured to supply power to a microcontroller 138 and / or a clock 139. As shown, the microcontroller 138 and / or the clock 139 can be powered by the main power supply 132 and / or the backup power supply 134. The main power supply 132 includes an energy storage device, such as a portable energy storage device (e.g., a battery 170). The battery 170 can be a lithium-ion battery, a lithium-air battery, a lithium-sulfur battery, etc. The backup power supply 134 is an energy storage device that can include or be coupled to a capacitor 133. In some embodiments, the power supply 134 is a portable energy storage device. In some embodiments, the backup power supply includes one or more capacitors 133. For example, the power supply 134 can be a capacitor bank including a plurality of capacitors 133. The capacitor bank can be provided or otherwise coupled to a power circuit board (PCB). In some embodiments, the main power supply 132 and / or the backup power supply 134 are 5V DC devices. The controller 130 includes and / or is coupled to a voltage switching circuit 136 that is configured to convert an output voltage (e.g., 5V DC) of a main power supply 132 or a backup power supply 134 including a capacitor 133 to a circuit power supply voltage (e.g., 3.3V) to power various electronic components, such as Figure 1 Microcontroller 138, Figure 1 When the main power supply 132 fails, goes offline, and / or otherwise stops providing power (e.g., to the controller 130, the microcontroller 138, the clock 139), the controller 130 is configured to switch to the backup power supply 134. The backup power supply 134 draws power from the capacitor 133, which is used to collect and accumulate energy from the current output of the current transformer 160.

[0032] Each of the power source 110 and the generator set 120 is electrically coupled to the current transformer 160 via one or more first conductors 152 and / or one or more second conductors 154. The one or more first conductors 152 and / or one or more second conductors 154 may be configured to deliver power from the power source 110 and / or the generator set 120 to the one or more loads 140 via the current transformer 160. The one or more first conductors 152 and / or one or more second conductors 154 may include copper, aluminum, etc. supported on an insulator (e.g., glass, porcelain, polymer, etc.). In some embodiments, the one or more first conductors 152 and / or one or more second conductors 154 include a high temperature superconductor (HTS), such as a compound of copper and oxygen, an iron-based compound, hydrogen sulfide, etc.

[0033] Current transformer 160 is configured to measure (in some embodiments, determine based on operating parameters of the system) alternating current (AC) to help monitor the operation of system 100 (including the operation of power source 110 and / or the operation of generator set 120). Current transformer 160 provides a current signal to the energy storage device via one or more second conductors 154, for example, at Figure 1 In an exemplary embodiment, capacitor 133 of backup power source 134. In some embodiments, current transformer 160 is configured to provide an output current to capacitor 133 at a flow rate of up to and including 500 mA. In some embodiments, current transformer 160 is configured to provide an output current at a flow rate of approximately 100 mA.

[0034] Capacitor 133 is an energy storage device capable of accumulating energy for powering various components of controller 130, such as microcontroller 138 and / or clock 139. Capacitor 133 is electrically coupled to backup power supply 134 of controller 130. In some embodiments, backup power supply includes capacitor 133.

[0035] According to various embodiments, the controller 130 and / or microcontroller 138 may be an automatic transfer switch controller, a load management controller, an alternating current (AC) distribution controller, etc. In some embodiments, the controller 130 controls some or more operations of components in the generator set 120 (e.g., the engine 122). The controller 130 may include one or more memory modules and circuits configured to perform operations as further described herein (e.g., retrieving data, saving data, etc.). In some embodiments and as shown and described above, the controller 130 includes a microcontroller 138 (and in some embodiments, more than one microcontroller may be included). As described above, the microcontroller 138 may include a clock 139; in other embodiments, the clock 139 may be separate from the microcontroller 138, such that the microcontroller 138 may be communicatively coupled to the clock 139 through a chipset (e.g., through a serial peripheral interface (SPI), an inter-integrated circuit (I2C), etc.).

[0036] exist Figure 1 In an embodiment of the present invention, the controller 130 includes an automatic transfer switch controller function. As part of the failover process between the power source 110 and the generator set 120, the controller 130 is coupled to one or more automatic transfer switches 150 and controls the operation of the one or more automatic transfer switches 150. The one or more automatic transfer switches 150 are coupled to each of the power source 110 and the generator set 120. The one or more automatic transfer switches 150 are configured to switch loads (such as load 140) between the power source 110 and the generator set 120 so that the generator set 120 can provide temporary power when the power source 110 fails or is otherwise unavailable. The one or more automatic transfer switches 150 can be open transfer, closed transfer, three-phase (both sources are off), and / or programmed conditional transfer switches. In some embodiments, the controller 130 is configured to temporarily connect the power source 110 and the generator set 120 via the automatic transfer switch 150 (up to 100 milliseconds). In some embodiments, the controller 130 is configured to provide a soft load (ramping, slow acceleration) closed transfer. According to various embodiments, the amperage (e.g., ampere rating) of the automatic transfer switch 150 may vary. In one exemplary embodiment, the ampere rating of the automatic transfer switch 150 is up to and including 1,000 amperes. In some embodiments, the amperage of the automatic transfer switch 150 may vary based on, for example, the rated load of the generator 124 of the generator set 120. According to various embodiments, the automatic transfer switch 150 may have an ampere rating between (including) 40 amperes and 4,000 amperes.

[0037] The controller 130 may be configured to command the engine 122 and / or the generator 124 of the generator set 120 to start when a predetermined condition is detected (e.g., based on the power output from the power source 110 and / or the generator set 120 monitored using the controller 130, the current transformer 160, and / or the sensor 180). In some embodiments, the controller 130 may be configured to continuously and / or periodically (e.g., every 100 milliseconds, 1 second, 5 seconds, 30 seconds, every minute, every 5 minutes, etc.) monitor the power source 110, for example, determine the power output of the power source 110, and upon detecting that the power source 110 is operating, generate and provide instructions to the engine 122 and / or the generator 124 of the generator set 120 to stop operating, and activate the automatic transfer switch 150 to switch from the generator set 120 to the power source 110. In some embodiments, rather than switching between power source 110 and genset 120, controller 130 is configured to operate automatic transfer switch 150 to effectuate a failover from a first utility source, such as power source 110, to another utility source.

[0038] In some embodiments, the controller 130 may be configured to facilitate electronic communications from the automatic transfer switch 150 to other transfer switches, supervisory control and data acquisition (SCADA) networking accessories, generator sets 120, etc. using a suitable communication protocol (e.g., BACNet, Modbus, LonWorks, etc.). The controller 130 may be configured to collect additional information about the operation of the automatic transfer switch 150, such as network status, operational events, etc. In some embodiments, the collection and / or storage (such as data preservation) of this additional information is managed by the microcontroller 138. Advantageously, these functions continue even when the main power source 132 to the controller 130 is inoperable.

[0039] More about Figure 1 , the system 100 includes one or more sensors 180. The sensors 180 are coupled to one or more components of the system 100. The sensors 180 can be configured to monitor operating characteristics of various components of the system 100. As an example, the sensors 180 can facilitate monitoring of operating conditions of the load 140, the current transformer 160, etc. In some embodiments, the sensors 180 are power sensors, voltage sensors, etc. In some embodiments, the sensors 180 are power sensors for determining (sensing) the power output (e.g., current, voltage) flowing to the backup power supply 134. In some embodiments, the sensors 180 include one or more resistors used (e.g., by the voltage switching circuit 136 of the controller 130) to determine the output voltage from the main power supply 132 and / or the backup power supply 134 to the clock 139 and / or the microcontroller 138.

[0040] Reference now Figure 2 , the schematic diagram shows Figure 1 The controller 130 of the system 100 (here, shown as the controller 230 in the exemplary embodiment) is shown as follows. Figure 2 As shown, the controller 130 includes: a processing circuit 231, which includes a processor 232 and a memory 233; a voltage switching circuit 240; a control circuit 250; and a communication interface 270. As described herein, the controller 230 may be configured to manage Figure 1 A microcontroller 138 and / or clock 139 are shown providing backup power.

[0041] In one configuration, the voltage switching circuit 240, the control circuit 250 and / or the communication interface 270 are implemented as a machine or computer readable medium that can be executed by a processor (such as the processor 232). As described herein and in other uses, the machine readable medium facilitates the execution of specific operations to achieve the reception and transmission of data. For example, the machine readable medium can provide instructions (e.g., commands, etc.) to, for example, obtain data. In this regard, the machine readable medium may include a programmable logic that defines the data acquisition frequency (or data transmission). Therefore, the computer readable medium may include a code that can be written in any programming language including but not limited to Java, etc. and any conventional process programming language (such as "C" programming language or similar programming language). The computer readable program code can be executed on a processor 232 or one or more remote processors. In the latter case, the remote processors can be connected to each other through any type of network (e.g., CAN bus, etc.).

[0042] In another configuration, the voltage switching circuit 240, the control circuit 250, and / or the communication interface 270 are implemented as hardware units, such as an electronic control unit. Therefore, the voltage switching circuit 240, the control circuit 250, and / or the communication interface 270 can be implemented as one or more circuit components, including but not limited to processing circuits, network interfaces, peripheral devices, input devices, output devices, sensors, etc. In some embodiments, the voltage switching circuit 240, the control circuit 250, and / or the communication interface 270 can take the form of one or more analog circuits, electronic circuits (e.g., integrated circuits (ICs), discrete circuits, system-on-chip (SOC) circuits, microcontrollers, etc.), telecommunications circuits, hybrid circuits, and any other type of "circuitry". In this regard, the voltage switching circuit 240, the control circuit 250, and / or the communication interface 270 may include any type of component for implementing or facilitating the implementation of the operations described herein. For example, the circuits described herein may include one or more transistors, logic gates (e.g., NAND, AND, NOR, OR, XOR, NOT, XNOR, etc.), resistors, multiplexers, registers, capacitors, inductors, diodes, wiring, etc.). Thus, the voltage switching circuit 240, the control circuit 250, and / or the communication interface 270 may also include programmable hardware devices, such as field programmable gate arrays, programmable array logic, programmable logic devices, etc. In this regard, the voltage switching circuit 240, the control circuit 250, and / or the communication interface 270 may include one or more memory devices for storing instructions executable by the (one or more) processors of the voltage switching circuit 240, the control circuit 250, and / or the communication interface 270. The one or more memory devices and the processor may have the same definitions as provided below with respect to the memory 233 and the processor 232. Thus, in this hardware unit configuration, the voltage switching circuit 240, the control circuit 250, and / or the communication interface 270 may be geographically dispersed at various different locations in the system 100 (e.g., various control units, etc.). Alternatively, and as shown, the voltage switching circuit 240, the control circuit 250, and / or the communication interface 270 may be embodied in or within a single unit / housing, which is shown as the controller 230.

[0043] In the example shown, the controller 230 includes a processing circuit 231 having a processor 232 and a memory 233. The processing circuit 231 can be constructed or configured to execute or implement the instructions, commands and / or control processes described herein with respect to the voltage switching circuit 240, the control circuit 250 and / or the communication interface 270. Therefore, the depicted configuration represents the aforementioned arrangement, in which the voltage switching circuit 240, the control circuit 250 and / or the communication interface 270 are implemented as a machine or computer readable medium. However, as described above, since the present invention contemplates other embodiments, such as the aforementioned embodiments in which the voltage switching circuit 240, the control circuit 250 and / or the communication interface 270 are configured as hardware units, this description is not meant to be limiting. All of these combinations and variations are intended to fall within the scope of the present disclosure.

[0044] Processor 232 can be implemented as one or more general-purpose processors, application-specific integrated circuits (ASICs), one or more field programmable gate arrays (FPGAs), digital signal processors (DSPs), a group of processing components or other suitable electronic processing components. In some embodiments, one or more processors can be shared by multiple circuits (for example, voltage switching circuit 240, control circuit 250 and / or communication interface 270 may include or otherwise share the same processor, which in some exemplary embodiments can execute instructions stored or otherwise accessed via different areas of memory). Alternatively or additionally, one or more processors may be configured to perform or otherwise perform certain operations independently of one or more co-processors. In other example embodiments, two or more processors may be coupled via a bus to achieve independent, parallel, pipelined or multi-threaded instruction execution. All of these changes are intended to fall within the scope of the present disclosure. Memory 233 (for example, RAM, ROM, flash memory, hard disk storage, etc.) can store data and / or computer code for facilitating various processing described herein. Memory 233 can be connected to processor 232 to provide computer code or instructions to processor 232 to perform at least some of the processing described herein. In addition, the memory 233 can be or include tangible non-transitory volatile memory or non-volatile memory. Therefore, the memory 233 can include database components, object code components, script components, or any other type of information structure for supporting the various activities and information structures described herein.

[0045] The communication interface 270 may include a wired or wireless interface (e.g., a jack, an antenna, a transmitter, a receiver, a transceiver, a wired terminal, etc.) for communicating data with various systems, devices, or networks. For example, the communication interface 270 may include an Ethernet card and port for sending and receiving data via an Ethernet-based communication network and / or a Wi-Fi transceiver for communicating via a wireless communication network. The communication interface 270 may be configured to communicate via a local area network or a wide area network (e.g., the Internet, etc.), and may use various communication protocols (e.g., IP, local operating network (LON), controller area network (CAN), J1939, local interconnect network (LIN), Bluetooth, ZigBee, radio, cellular, near field communication, etc.).

[0046] The communication interface 270 of the controller 230 can facilitate communication between the controller 230 and Figure 1 The controller 230 and the system 100 can be used to communicate between and among one or more components of the system 100 (as shown, the power supply 110, the generator set 120 and / or the automatic transfer switch 150). The communication between and among the components of the controller 230 and the system 100 can be via any number of wired or wireless connections (e.g., any standard under IEEE 802, etc.). For example, the wired connection may include a serial cable, a fiber optic cable, a CAT5 cable, or any other form of wired connection. In contrast, the wireless connection may include the Internet, Wi-Fi, cellular, Bluetooth, ZigBee, radio, etc. In one embodiment, the CAN bus provides for the exchange of signals, information, and / or data. The CAN bus may include any number of wired and wireless connections that provide for the exchange of signals, information, and / or data. The CAN bus may communicate with a local area network (LAN) or a wide area network (WAN) (e.g., via a CAN bus adapter), or establish a connection with an external computer (e.g., via the Internet using an Internet service provider).

[0047] The voltage switching circuit 240 is configured to convert the output voltage (e.g., 5V DC) of the main power supply 132 or the backup power supply 134 including the capacitor 133 into a circuit power supply voltage (e.g., 3.3V) for various electronic components (e.g., Figure 1 Microcontroller 138, Figure 1 The voltage switching circuit 240 may include various electronic components configured to adjust the output voltage level, such as one or more resistors, voltage regulators, etc. The voltage switching circuit 240 is configured to be independent of the power supply. In an exemplary embodiment, the voltage switching circuit is configured to Figure 1The system 100 is in an active operating state throughout the duration of the system 100, so that the output voltage of any power supply (e.g., main power supply 132 or backup power supply 134) used for the microcontroller 138 and / or clock 139 is converted into a circuit power supply voltage (e.g., 3.3V) to support the functions of the microcontroller 138 and / or clock 139.

[0048] The control circuit 250 is configured to perform processes and operations related to the generation of backup power for clock and microcontroller functions (including critical data preservation). In an exemplary embodiment, the control circuit 250 is configured to manage the process of sensing AC (alternating current) from the current transformer 160, converting the sensed AC to DC (direct current), charging the capacitor 133 of the backup power supply 134 to a predetermined value (e.g., 5V DC), determining whether the battery 170 is offline, switching to the backup power supply 134 once it is determined that the battery 170 is offline, powering the microcontroller 138, powering the clock 139, etc. In some embodiments, the control circuit 250 includes one or more electronic circuits, such as Figure 4 The electronic circuit 400 is configured to charge a capacitor, and / or Figure 5 The control circuit 506 is configured to perform operations related to switching from the main power supply to the auxiliary power supply, such as Figure 6 In one example embodiment, the control circuit 250 is configured to manage and / or perform the operations of the method 300 for generating backup power, which will be referred to herein. Figure 3 The method is further described.

[0049] Reference now Figure 3 , according to an example embodiment, Figure 3 Is Figure 1 The controller 130 of the system (also shown as Figure 2 Flowchart of method 300 for generating backup power for clock and microcontroller functions performed by controller 230 of the present invention. The operations and processes of method 300 may be performed by voltage switching circuit 240 and / or control circuit 250 of controller 230. Figure 1 and Figure 2 The method 300 is described such that a controller 302 configured to perform the operations and processes of the method 300 may include Figure 1 The controller 130 and / or Figure 2 Some or all components of the controller 230 and may be coupled to Figure 1 or various components shown in 2, such as the main power supply 132, the backup power supply 134, one or more automatic transfer switches 150, the current transformer 160, etc.

[0050] In process 304, the controller 302 (eg, Figure 1 The controller 130 or Figure 2 The controller 230 is configured to receive a current transformer (such as Figure 1 The current transformer 160 of the embodiment of the present invention receives information indicating the sensed AC amount. In some embodiments, the current transformer 160 is configured to provide output AC at a flow rate of up to and including 500 mA. In some embodiments, the current transformer 160 is configured to provide output AC at a flow rate of approximately 100 mA. More specifically, in some embodiments, Figure 1 and Figure 3 The arrangement may include a step-down current transformer such that Figure 1 The current transformer 160 of the generator set 120. In some embodiments, the rated current of the generator set 120 can be about 100 amperes per phase, and the rating of the current transformer 160 can be selected to be 100:1 amperes, 100:5 amperes, etc. As the main current of the current transformer 160 (for example, the current of the load 140) increases or decreases, the auxiliary current of the current transformer 160 increases or decreases accordingly. The main current is the current flowing through the main winding of the current transformer 160, and the auxiliary current is the current flowing through the auxiliary winding of the current transformer 160. In an example, where the rating of the current transformer 160 is 100:1 amperes and the load current is 50 amperes, the auxiliary current is 0.5 amperes.

[0051] In some embodiments, the controller 302 is coupled to Figure 1 The sensor 180 is configured to provide data about the output AC of the current transformer 160. The controller 302 is configured to store the data in a permanent or temporary or non-temporary memory (such as Figure 2 The output value provided by the sensor 180 is received, interpreted and / or stored in the memory 233 of the current transformer 160. For example, the sensor 180 can be configured to determine and provide information about the flow rate, amplitude, etc. of the output AC of the current transformer 160.

[0052] At process 306, the controller 302 is configured to convert the sensed AC into DC. In an example embodiment, the controller 302 includes one or more rectifier circuits (such as a Figure 4 of diodes), which may include one or more diodes configured to control Figure 1 The current transformer 160 to Figure 1 The backup power supply 134 of the capacitor 133 controls the direction of the current.

[0053] At process 308, controller 302 is configured to use the sensed current converted to DC to sense a capacitor (such as Figure 1 The capacitor 133 of the backup power source 134 is charged. One or more circuits of the controller 302 may include a control structure, such as embodied in Figure 4 One of the electronic circuits 400 may be configured to allow the capacitor 133 to charge to a predetermined value (eg, 5 V).

[0054] In process 310, the controller 302 is configured to continuously or periodically monitor the main battery (such as Figure 1 In some embodiments, the controller 302 is configured to monitor the operating status of the battery 170. Figure 1 If it is determined at decision 312 that the battery 170 and / or the main power source 132 are inoperable (e.g., the battery 170 and / or the main power source 132 are offline), then at process 314, the controller 302 is configured to Figure 1 The main battery 170 and / or the main power supply 132 in the embodiment of the present invention are switched to the backup power supply 134. As shown in the figure, the backup power supply 134 includes a capacitor 133 and is configured to provide a 5V DC output. Figure 1 The voltage switching circuit is configured to convert the output voltage of the backup power supply 134 (e.g., 5V DC) into a circuit power supply voltage (e.g., 3.3V) to provide Figure 1 Microcontroller 138, Figure 1 The clock 139 and the like are powered.

[0055] At process 316, controller 302 is configured to use Figure 1 The converted output voltage of the capacitor 133 in the backup power supply 134 (eg, Figure 1 The output of the voltage switching circuit 136 for the operation performed) is a clock (eg Figure 1 In one example embodiment, the converted output voltage is 3.3V.

[0056] At process 318, the controller 302 is configured to Figure 1 The converted output voltage level of the capacitor 133 in the backup power supply 134 is Figure 1 The clock and / or microcontroller 138 is powered. In one example embodiment, the converted output voltage is 3.3V.

[0057] Reference now Figure 4 , shows a circuit diagram of an electronic circuit 400 for backup power generation for clock and microcontroller functions according to an example embodiment. As shown, the electronic circuit 400 is configured to charge a capacitor, such as Figure 1 As shown in the figure, the electronic circuit 400 is also configured to convert the output voltage (e.g., 5V DC) of the backup power supply 134 including the capacitor 133 into a circuit power supply voltage (e.g., 3.3V) to provide a power supply voltage to the system 100. Figure 1Microcontroller 138, Figure 1 The clock 139 and the like are powered. Figure 1-3 The structure and operation of electronic circuit 400 are described. In this exemplary embodiment, some components of electronic circuit 400 are configured to implement Figure 1-3 The processes and operations of the components depicted in .

[0058] According to various embodiments, the electronic circuit 400 may include one or more inductors 404, one or more diodes 406, one or more metal oxide semiconductors (MOS) 408, one or more capacitors 410, and one or more resistors 412. As shown according to an example embodiment, the electronic circuit 400 includes a plurality of inductors (e.g., L1 and L2, respectively, of the inductor 404, wherein L1 and L2 are configured to carry a current through Figure 1 The components include a current transformer 160 that detects load current of one or more loads 140 of the current transformer 160), multiple diodes (such as diodes D1-D5 of diode 406), a MOS 408, a capacitor 410, and multiple resistors (such as resistors R1-R3 of resistor 412).

[0059] In some embodiments, Figure 1 The current transformer 160 is configured to provide an output AC at a flow rate of up to and including 500 mA. In some embodiments, the current transformer 160 is configured to provide an output AC at a flow rate of approximately 100 mA. Figure 1 The current of the current transformer 160 is delivered to the MOS 408 via one or more inductors 404. The diodes D1-D4 are configured to control the current from Figure 1 According to an exemplary embodiment, one or more inductors 404 and diodes D1-D4 are configured to implement Figure 3 The operation of process 304-306, wherein AC is sensed and from Figure 1 The sensed AC of the current transformer 160 is converted to DC via diodes D1-D4. According to various embodiments, any suitable diode arrangement (eg, a diode bridge, a rectifier, etc.) may be used to convert AC to DC.

[0060] As shown, MOS 408, resistors R1-R3, and diode D5 are configured to implement a Figure 3 The operation of process 308 and / or Figure 1 The operation of the voltage switching circuit 136. The capacitor 410 (eg, Figure 1 The capacitor 133) uses Figure 1The current transformer 160 is charged by the DC delivered by the one or more inductors 404 via the diodes D1-D4. The MOS 408 is configured to allow the capacitor 410 to charge to a predetermined voltage level, such as 5V. In an example embodiment, the MOS 408 includes one or more transistors. The one or more transistors implement one or more gates that are configured to periodically open when the voltage level of the capacitor 410 is detected to be less than 5V. The one or more gates are configured to periodically close when the voltage level of the capacitor 410 is detected to be equal to 5V. In some embodiments, the sensor (such as Figure 1 Sensor 180) is configured to determine the voltage level of capacitor 410. In some embodiments, the sensor is configured to make this determination at periodic intervals (e.g., every 100 milliseconds, 1 second, 5 seconds, 30 seconds, every minute, every 5 minutes, etc.). Advantageously, according to this exemplary embodiment, the 5V charge of capacitor 410 is maintained so that a voltage level can be obtained from capacitor 410 (e.g., Figure 1 The capacitor 133 of the backup power supply 134 draws power continuously for Figure 1 of the microcontroller 138 and the clock 139 .

[0061] In this exemplary embodiment, resistors R2 and R3 control the output voltage of capacitor 410 and implement Figure 1 The operation of the voltage switching circuit 136. In an example embodiment, the capacitor 410 is configured to provide a 5V DC output. The resistors R1, R2, and R3 are configured to limit the flow of electrons and set the output voltage of the capacitor 410 (e.g., 5V DC) to the circuit power supply voltage to provide Figure 1 Microcontroller 138, Figure 1 The circuit power supply voltage may be 1.8V, 3.3V, or another voltage level suitable for the microcontroller and its components (such as volatile memory, non-volatile memory, etc.).

[0062] To illustrate Figure 4 The operation of the arrangement, in one exemplary embodiment, consists of Figure 1 The alternating current sensed by the current transformer 160 is rectified at 402 by a diode bridge including diodes D1-D4 and is thus converted from AC to DC. The DC is applied to a capacitor 410 (e.g., Figure 1The circuit power supply voltage is preset at 414 to a level defined by Vref. If the capacitor charge is greater than the expected preset voltage (e.g., 5V), MOS 408 will be turned on ("on" state) to reduce the charging current of capacitor 410. If the capacitor voltage drops from the expected set voltage (e.g., 5V DC), then MOS 408 is turned off ("off" state) and the capacitor charging current is increased to make the DC voltage across it equal to the preset voltage (e.g., 5V). Therefore, the average voltage across capacitor 410 over a period of time (such as 1 second, 5 seconds, 60 seconds, etc.) is equal to or approximately equal to the preset voltage (e.g., 5V). In some embodiments, the actual voltage over a period of time is within 1% of the preset voltage.

[0063] Reference now Figure 5 , showing a schematic diagram of a circuit according to an exemplary embodiment Figure 1 Schematic diagram of a power switching arrangement 500 of a system. As shown in the figure, the power switching arrangement 500 can be configured to implement Figure 1-4 and Figure 6 Some or all of the functions and components discussed herein. For example, the power switching arrangement 500 may implement Figure 1 Controller 130, Figure 2 and / or Figure 6 The circuit Figure 3 process and / or Figure 4 Some or all of the functions of the components of the electronic circuit 400.

[0064] As shown, the power switching arrangement 500 includes a first MOS 502, a second MOS 504, a first control circuit 506, a second control circuit 508, a first voltage regulator 510, and a second voltage regulator 512. The first voltage regulator 510 may be coupled to Figure 1 The main power supply 132 and / or the backup power supply 134. In the illustrated embodiment, the first voltage regulator 510 is coupled to Figure 1 The main power supply 132 includes a battery 170. The second voltage regulator 512 can be coupled to Figure 1 The voltage switching circuit 136 is included therein. Figure 1When the battery 170 is inoperable, as indicated by the Vbatt voltage (battery voltage) at C, the output D of the first regulator 510 is undetectable. In other words, the first regulator 510 is inoperable, which turns on the first MOS 502 through the first control circuit 506. When the low dropout regulator (i.e., the second voltage regulator 512) is inoperable due to the first regulator 510 being inoperable, the output E is undetectable, which turns on the second MOS 504 through the second control circuit 508. When both the first MOS 502 and the second MOS 504 are turned on, the backup power supply 134 (at A) is connected to the power supply of the microcontroller 138 (at B), which supplies power to the microcontroller 138. Figure 1 The microcontroller 138 and / or clock 139 are powered.

[0065] Reference now Figure 6 , showing a method for Figure 5 A circuit diagram 600 of a first control circuit 506 and a second control circuit 508 is shown. The first control circuit 506 and the second control circuit 508 are located at Figure 4 downstream of the electronic circuit 400, so that Figure 6 In, it is assumed that the operation of circuit 400 has been performed, and Figure 6 At point A, the capacitor (e.g. Figure 4 The backup power supply voltage of the capacitor 410 is about 5 V. As shown in the figure, the circuit diagram 600 includes a plurality of MOS Mn, a plurality of resistors Rn and a plurality of transistors Qn. Some or all of the transistors Qn may be bipolar junction transistors (BJT).

[0066] like Figure 5 As shown, when Figure 1 When the battery 170 (Vbatt) is connected and operational at point C, the regulated voltage at point D (at Figure 6 3.3V). In some embodiments, the regulated voltage level is within 1% of the target value (e.g., within 1% of 5V, 3.3V, etc.). When transistor Q1 is in the "on" state, the base bias voltage of Q2 becomes less than 0.6V, and as a result, transistor Q2 is turned off ("off" state). When transistor Q5 is in the "on" state, the base bias voltage of Q6 becomes less than 0.6V, and as a result, transistor Q6 is turned off ("off" state).

[0067] if Figure 1 A backup power supply 134 is also connected (such as Figure 6 If transistor Q2 is in the "off" state, MOS M1 (in Figure 5If transistor Q6 is in the "off" state, then MOS M2 (in Figure 5 The second MOS 504 is shown as being turned off.

[0068] Therefore, the backup power from the power source at point A will not be delivered to Figure 1 The microcontroller 138 (in Figure 6 Point B of the Figure 5 The output of the second voltage regulator 512 will appear to be 3.3V at point B.

[0069] When the main battery Vbatt (for example, Figure 1 When the main battery 170 of point A is removed from its connector, the first BJT Q1 and the second BJT Q5 will be turned off. In this case, if the backup power supply at point A is still connected, it will turn on BJT Q2 and BJT Q6, which will respectively turn on the first MOS M1 (at Figure 5 The first MOS 502 and the second MOS M2 (in Figure 5 Thus, the backup power from the power supply at point A will be delivered to Figure 1 The microcontroller 138 (in Figure 6 Point B is shown as VDD_Micro). Figure 5 and Figure 6 In the embodiment of the present invention, the second MOS M2 ( Figure 5 The second MOS 504) is configured to protect the circuit in the event of a ground short circuit or a battery short circuit.

[0070] For purposes of this disclosure, the term "coupled" means that two components are directly or indirectly connected or joined to one another. Such a connection may be fixed or movable in nature. For example, a drive shaft of an engine "coupled" to a transmission represents a movable coupling. Such a connection may be achieved with two components or with two components and any additional intermediate components. For example, circuit A "coupled" to circuit B may represent that circuit A communicates directly with circuit B (i.e., without an intermediary) or communicates indirectly with circuit B (e.g., through one or more intermediaries).

[0071] Although Figure 1 Various circuits with specific functions are shown in the figure, but it should be understood that the controller 130 can include any number of circuits for completing the functions described herein. Additional circuits with additional functions can also be included. In addition, it should be understood that the controller 130 can further control other activities beyond the scope of the present disclosure.

[0072] As described above and in one configuration, a "circuit" may be implemented in a machine-readable medium to be executed by various types of processors (e.g., Figure 2 The processor 232 of the computer readable program code is executed. For example, the circuit of the identified executable code may include one or more physical or logical blocks of computer instructions, such as being organized as objects, processes or functions. However, the executable file of the identified circuit does not need to be physically located together, but may include scattered instructions stored in different locations, which, when logically connected together, constitute the circuit and achieve the purpose of the circuit. In fact, the circuit of the computer readable program code can be a single instruction or many instructions, and can even be distributed among several different code segments, different programs, and across several memory devices. Similarly, operation data can be identified and illustrated in the circuit herein, and can be embodied in any suitable form and organized in any appropriate type of data structure. Operational data can be collected as a single data set, or can be distributed in different locations including different storage devices, and can exist at least partially only as electronic signals on a system or network.

[0073] Although the term "processor" is briefly defined above, it should be understood that the terms "processor" and "processing circuit" are intended to be interpreted broadly. In this regard and as described above, a "processor" may be implemented as one or more general-purpose processors, application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), digital signal processors (DSPs), or other suitable electronic data processing components configured to execute instructions provided by a memory. One or more processors may take the form of a single-core processor, a multi-core processor (e.g., a dual-core processor, a triple-core processor, a quad-core processor, etc.), a microprocessor, etc. In some embodiments, one or more processors may be external to the device, for example, one or more processors may be remote processors (e.g., cloud-based processors). Preferably or additionally, one or more processors may be internal and / or local to the device. In this regard, a given circuit or its components may be arranged locally or remotely (e.g., as part of a remote server, such as a cloud-based server). To this end, a "circuit" as described herein may include components distributed in one or more locations.

[0074] It should be noted that, although the diagrams here can show the specific order and composition of the method steps, it should be understood that the order of these steps may be different from that depicted. For example, two or more steps may be performed simultaneously or partially simultaneously. Moreover, some method steps performed as separate steps may be combined, the steps performed by the combined steps may be divided into separate steps, the order of certain processes may be reversed or otherwise changed, and the nature or quantity of the separated processes may be changed or varied. According to alternative embodiments, the order or sequence of any element or device may be changed or replaced. Therefore, all such modifications are intended to be included within the scope of the present disclosure as defined by the appended claims. These changes will depend on the selected machine-readable medium and hardware system and the choice of the designer. It should be understood that all these changes are within the scope of the present disclosure.

[0075] The above description of the embodiments is presented for the purpose of illustration and description. It is not intended to be exhaustive or to limit the disclosure to the precise form disclosed, and modifications and variations may be made in light of the above teachings or may be derived from the disclosure. The embodiments are selected and described in order to explain the principles of the disclosure and its practical application to enable those skilled in the art to utilize various implementations and various modifications suitable for the specific use contemplated. Other substitutions, modifications, changes and omissions may be made in the design, operating conditions and arrangement of the embodiments without departing from the scope of the disclosure as expressed in the appended claims.

Claims

1. A device comprising a controller, characterized in that: The controller is configured to control the operation of the generator set, the controller comprising a circuit configured to: Enables power supply from the main power supply to the microcontroller and clock; sensing alternating current from at least one of a power source or the generator set via a current transformer coupled to the controller; converting alternating current sensed from at least one of the power source or the generator set via the current transformer into rectified output direct current; charging a capacitor to a first predetermined voltage level using the rectified output direct current of the current transformer, wherein the capacitor is included in an auxiliary power supply, the auxiliary power supply being configured to supply power to the microcontroller and the clock when the main power supply stops supplying power, wherein the controller includes the microcontroller; switching from the main power supply to the auxiliary power supply in response to the main power supply ceasing to supply power to the microcontroller and the clock; as well as The capacitor of the auxiliary power supply is caused to power the microcontroller and the clock at a second predetermined voltage level different from the first predetermined voltage level.

2. The device according to claim 1, characterized in that The clock is a real time clock.

3. The device according to claim 1, characterized in that The controller further includes a voltage switching circuit, and wherein the voltage switching circuit includes a hardware circuit configured to cause the controller to set the second predetermined voltage level.

4. The device according to claim 3, characterized in that The voltage switching circuit further includes a hardware circuit configured to cause a voltage regulator coupled to the microcontroller to maintain a substantially constant voltage level within 1% of the second predetermined voltage level.

5. The device according to claim 1, characterized in that The first predetermined voltage level is 5V.

6. The device according to claim 1, characterized in that The second predetermined voltage level is 3.3V.

7. The device according to claim 1, characterized in that The controller is configured to control operation of electronic components coupled to the generator set, and wherein the controller is one of an automatic transfer switch controller, a load management controller, and an AC distribution controller.

8. A system, characterized in that: include: a microcontroller associated with a controller of a control system, the controller being configured to control operation of the generator set, the controller comprising control circuitry, wherein the microcontroller comprises a clock, wherein the clock is a real time clock; a main power supply configured to supply power to the microcontroller and the clock; as well as an auxiliary power supply configured to power the microcontroller and the clock, the auxiliary power supply coupled to the current transformer, the auxiliary power supply comprising a capacitor; Wherein, the control circuit is constructed as follows: sensing alternating current from at least one of a power source or the generator set via the current transformer; converting alternating current sensed from at least one of the power source or the generator set via the current transformer into rectified output direct current; charging the capacitor to a first predetermined voltage level using the rectified output direct current; In response to the main power supply ceasing to supply power to the microcontroller and the clock, switching from the main power supply to the auxiliary power supply; and The capacitor of the auxiliary power supply is caused to power the microcontroller and the clock at a second predetermined voltage level different from the first predetermined voltage level.

9. The system according to claim 8, characterized in that At least one of the first predetermined level and the second predetermined voltage level is set by configuring a hardware circuit.

10. The system according to claim 8, characterized in that The controller is configured such that a voltage regulator coupled to the microcontroller maintains a substantially constant voltage level within 1% of the second predetermined voltage level.

11. The system according to claim 8, characterized in that The first predetermined voltage level is 5V, and the second predetermined voltage level is 3.3V.

12. The system according to claim 8, characterized in that The controller is one of an automatic transfer switch controller, a load management controller, and an AC distribution controller.

13. A method for backup power generation for a microcontroller associated with an electronic component coupled to a generator set, characterized in that, The method comprises: Enables power supply from the main power supply to the microcontroller and clock; alternating current sensed by a control circuit of a controller from at least one of a power source or a generator set via a current transformer, the controller being configured to control operation of the generator set; converting alternating current sensed from at least one of the power source or the generator set via the current transformer into rectified output direct current; charging a capacitor to a first predetermined voltage level using the rectified output direct current of the current transformer, wherein the capacitor is coupled to an auxiliary power supply configured to supply power to the microcontroller when the main power supply stops supplying power; In response to the main power supply ceasing to supply power to the microcontroller and the clock, switching from the main power supply to the auxiliary power supply; and The capacitor coupled to the auxiliary power supply is caused to power the microcontroller and the clock at a second predetermined voltage level different from the first predetermined voltage level.

14. The method according to claim 13, characterized in that The microcontroller includes a real-time clock, and the method further includes enabling the auxiliary power supply to supply power to the real-time clock through the control circuit.

15. The method according to claim 13, characterized in that Causing the capacitor of the auxiliary power supply to power the microcontroller at the second predetermined voltage level further includes achieving a value within 1% of the second predetermined voltage level via a voltage switching circuit of the controller.

16. The method according to claim 15, characterized in that The voltage switching circuit of the controller is coupled to a voltage regulator, and the method further includes causing the voltage switching circuit to maintain a substantially constant voltage level of the voltage regulator corresponding to the second predetermined voltage level.

17. The method according to claim 13, characterized in that The first predetermined voltage level is 5V.

18. The method according to claim 13, characterized in that The second predetermined voltage level is 3.3V.

19. The method according to claim 13, characterized in that The flow rate of the direct current from the current transformer is between 100 mA and 500 mA, inclusive.

20. The method according to claim 13, characterized in that The controller is configured to control operation of the electronic components coupled to the generator set, and wherein the controller is one of an automatic transfer switch controller, a load management controller, and an AC distribution controller.