# Patent

## Title
Power supply that determines energy consumption and outputs a signal indicative of energy consumption

## Abstract

A power supply includes a rectifier having an AC input and a DC output and a power factor correction (PFC) preregulator, coupled to the rectifier, that increases a power factor of the power supply. The PFC preregulator includes a controller that integrates an input power to determine energy consumption and outputs a signal indicative of the energy consumption.

## Background
PRIORITY CLAIM AND CROSS-REFERENCE
The present application claims priority to U.S. Provisional Patent Application 61/083,717, filed Jul. 25, 2008, which is incorporated herein by reference in its entirety.


BACKGROUND OF THE INVENTION
1. Technical Field
The present invention relates in general to electrical circuits, and in particular, to a power supply with accurate energy measurement.
2. Description of the Related Art
In view of the high cost of electrical power and concern for the environment, there has been increased focus on energy efficiency, both by regulatory and standards bodies and by end users of electrical and electronic equipment.
The desire to increase the energy efficiency of electrical and electronic equipment has led to the wide adoption of power saving features, such as a Sleep state and auto-power down, in electrical and electronic equipment. In the Sleep state, equipment has greater power consumption, capability, and responsiveness than in an Off state, but less power consumption, and generally less capability and responsiveness than it does in its fully powered On state. Auto-power down further enables the equipment to automatically switch from its fully powered. On state to the lower powered Sleep state after a period of time without user input.
One advantage of the foregoing and other power saving features is that they are inherent in the design of the equipment, and no user input is required to achieve decreased energy consumption as compared to similar conventional equipment lacking such power saving features. However, it will be appreciated that additional power savings can be achieved if active human participation is encouraged.
SUMMARY OF THE INVENTION
In at least one embodiment, human participation in energy conservation is encouraged by determining and reporting an amount of energy consumed by electrical equipment. For example, in one embodiment, a power supply includes a rectifier having an AC input and a DC output and a power factor correction (PFC) preregulator, coupled to the rectifier, that increases a power factor of the power supply. The PFC preregulator includes a controller that integrates an input power to determine energy consumption and outputs a signal indicative of the energy consumption.



BRIEF DESCRIPTION OF THE DRAWINGS
The present invention, as well as a preferred mode of use, will best be understood by reference to the following detailed description of one or more illustrative embodiments when read in conjunction with the accompanying drawings, wherein:
FIG. 1 is a high level block diagram of an AC-to-DC power supply in accordance with one embodiment;
FIG. 2 is a more detailed block diagram of an exemplary power factor correction (PFC) preregulator in accordance with one embodiment; and
FIG. 3 is a high level logical flowchart of an exemplary process of energy measurement in accordance with one embodiment.



DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENT
With reference now to the figures and in particular with reference to FIG. 1, there is illustrated a high level block diagram of an exemplary power supply 100 in accordance with one embodiment. In the depicted embodiment, power supply 100 is an off-line switched-mode power supply (SMPS) that converts AC (alternating current) power supplied by an AC source into regulated DC (direct current) power for a DC load 112, such as electronic equipment.
As shown, power supply 100 has an AC input 101 that receives AC power from an AC power source, such as an AC power outlet. In a preferred embodiment, power supply 100 supports so-called universal operation within the voltage range of 85-265V AC. Thus, the nominal system voltage of the AC power may be, for example, 230 V at 50 Hz (the European standard), 120 V or 240 V at 60 Hz (as utilized in the United States), or some other combination of voltage and frequency. It will be appreciated that in most industrialized nations, the nominal system voltage and frequency are controlled by power utilities to within a small percentage of nominal values. Tight control of the AC frequency enables the use of the frequency to construct a time base for computation, as discussed further below.
Power supply 100 typically includes a low pass electromagnetic interference (EMI) filter 102 to reduce coupling of switching noise of power supply 100 onto the AC power line. EMI filter 102 commonly includes one or more capacitive elements to impede high frequency harmonic currents generated by the switching of power supply 100 from appearing on the AC power line and one or more inductive elements to limit in-rush current. Following the filtering provided by EMI filter 102, a rectifier 104, such as a full-bridge rectifier, is utilized to convert the bipolar AC input voltage into unipolar DC voltage.
A power factor correction (PFC) preregulator 106 is coupled to the output of rectifier 104. PFC preregulator 106 improves the power factor (i.e., the ratio of real power and apparent power) of the power drawn by power supply 100. As is well known to those skilled in the art, the power factor is increased by controlling the input current so that it is in phase or nearly in phase with the input voltage waveform.
Power supply 100 may optionally further include a DC-DC converter 108 that converts the DC voltage provided by PFC preregulator 106 into one or more DC output voltages at its DC output 109 required by the intended load 112. DC-DC converter 108 commonly employs a transformer to step-up or step-down the DC voltage and to provide isolation between the input and output. Common topologies for DC-DC converter 108 includes, among others, boost mode, buck mode and flyback.
In order to provide biasing voltages for active components and standby power for the control circuitry of PFC preregulator 106, power supply 100 further includes a housekeeping supply 110. Thus, power supply 100 continues to consume a relatively small amount of power even when power supply 100 is not supplying power to downstream load 112.
Referring now to FIG. 2, there is depicted a more detailed block diagram of an exemplary power factor correction (PFC) preregulator 106 in accordance with one embodiment. Although the depicted embodiment is an actively controlled boost mode PFC preregulator, it should be appreciated that other embodiments of PFC preregulator 106 (e.g., buck or buck-boost) are possible and fall within the scope of the appended claims.
In the depicted embodiment, PFC preregulator 106 has a differential input at nodes A and D that receives a rectified AC voltage waveform from rectifier 104. An inductor 202 is coupled between input node A and node B, and a diode 204 is coupled between node B and a first output node C. A sense resistor 210 is coupled between node D and a second output node E, a switch 206, such as a field-effect transistor (FET), is coupled between nodes B and E, and a capacitor 208 (typically of large value) is coupled across output nodes C and E to smooth the ripple in the DC output voltage.
PFC preregulator 106 finally includes a PFC controller 200 that controls the input current of power supply 100 by selectively operating switch 206 based upon feedback sensed, for example, at nodes A, C, D and E. In the illustrated embodiment, PFC controller 200 receives the DC input voltage across input nodes A and D from voltage sense signals 220 and 222 and receives the DC output voltage across output nodes C and E from voltage sense signals 226 and 224. Further, PFC controller 200 determines the current through inductor 202 from the sensed voltage drop across resistor 210 indicated by voltage sense signals 222 and 224.
When PFC controller 200 turns switch 206 on, for example, by asserting gate control line 228, inductor 202 is effectively coupled across rectifier 204 and is energized with current. When PFC controller 200 turns switch 206 off, for example, by asserting gate control line 228, inductor 202 releases the stored energy via diode 204 and DC-DC converter 108 to load 112. As is well known in the art, PFC controller 200 controls the timing and duration of switching of switch 206 so that the current drawn by inductor 202 (which is sensed via voltage sense signals 222 and 224) is in phase with the line voltage, thus increasing the power factor toward one.
PFC controller 200 can be implemented in analog circuitry, but for ease of design is preferably realized as one or more digital integrated circuits. As depicted, PFC controller 200 preferably includes or is coupled to non-volatile storage 230, which can be implemented, for example, as flash memory, non-volatile read-only memory (NVRAM), and/or other non-volatile storage as is known in the art. Within non-volatile storage 230, PFC controller 200 stores, inter alia, calibration parameters 232 utilized in the computations of PRC controller 200 and data 234, which can include data resulting from the computations of PRC controller 200, as discussed further below with reference to FIG. 3.
With the use of a digital integrated circuit, PFC controller 200 can be utilized not only to effectively implement power factor correction, but also to determine other desirable data, such as the energy consumed by power supply 100 and/or load 112. For example, input power is given as:

Pin=Iin×Vin   [1]

where Vin is the RMS (root mean squared) voltage. PFC controller 200 controls input current Iin as a function of voltage Vin according to:

Iin=k×Vin   [2]

where PFC controller 200 adjusts k as part of the supply feedback operation. Substitution of equation [2] into equation [1] yields the following relation:

Pin=k×Vin2   [3]

PFC controller 200 further determines energy consumption as follows:

E=∫Pin=∫(k×Vin2)   [4]

With reference now to FIG. 3, there is illustrated a high level logical flowchart of an exemplary process of energy measurement implemented by PFC controller 200 in accordance with one embodiment. As a logical flowchart, at least some of the illustrated steps can be performed concurrently and/or in a different order than that shown. Further, in other embodiments, at least some steps can be omitted and/or additional steps can be included, as will become apparent from the following description
As depicted, the process begins at block 300 and then proceeds to block 302, which illustrates storage of calibration parameters 232 in non-volatile storage 230. These calibration parameters 232, which need only be stored into non-volatile storage 230 once (e.g., during the manufacturing process for power supply 100), can include, for example, the values of inductor 202, sense resistor 210 and capacitor 208 if the embodiment of FIG. 2 is implemented. Of course, if PFC preregulator 106 has a different topology, other calibration parameters 232 will be stored.
Subsequently during use, PFC controller 200 determines a time base to be utilized for the computation of the energy consumption by integration of the input power, as set forth in equation [4] (block 304). In various embodiments, PFC controller 200 can determine the time base, for example, from the values of the components of a resonant circuit (e.g., L-C or R-C) within PFC preregulator 106, from a timing crystal coupled to PFC controller 200, or from the AC line frequency as is known in the art. With the time base determined, PFC controller 200 integrates the input power over time to determine the energy consumption of power supply 100 in accordance with equation [4] (block 306). In calculating the input power and energy consumption, PFC controller 200 accesses the calibration parameters 232 stored in non-volatile storage 230 in order to determine k.
Next, at block 310, PFC controller 200 optionally records the energy consumption over the time base as data 234 in non-volatile storage 230. For example, PFC controller 200 may record the energy consumption as a single accumulating value reset when power is cycled, as a value since the energy consumption was last reported, and/or as energy consumption over a predetermined number of time base intervals. If energy consumption over each predetermined number of time base intervals is recorded, the values can be organized in an order-preserving data structure within non-volatile storage 230, such as a circular buffer.
At block 312, PFC controller 200 determines the current power state of power supply 100. In response to a determination at block 312 that the current power state is a full power On state, then PFC controller 200 reports an average power and/or energy consumption. The report 250 communicated at block 318 can be delivered, for example, via signal line 240 to a downstream load 112 such as consumer electronics or a computer system, or may alternatively or additionally be delivered to a centralized control and/or monitoring system 260 communicatively coupled via a wired or wireless interface to multiple power supplies. The reporting illustrated at block 318 can be performed at regular intervals of time or energy consumption, and alternatively or additionally, in response to a request by the recipient of the report.
Returning to block 312, in response to determining that the current power state of power supply 100 is a lower power state than the On state, such as a Sleep (or standby) state, PFC controller 200 augments the energy consumption determined at block 306 with the energy dissipation of PFC controller 200, sense resistor 210, capacitor 208, housekeeping supply 110 and any other input load (block 314). Although the energy consumption of the input loads can optionally be included in the reporting while in the On state, the energy consumption of the input loads may be negligible in the On state, but will be substantial or predominate in a lower power state, such as a Sleep state. As indicated at block 316, in at least one embodiment, PFC controller 200 defers any reporting of the average power and/or energy consumption as depicted at block 318 until power supply 100 transitions to the On state. Following block 316 or block 318, the process returns to block 306, which has been described.
As has been described, human participation in energy conservation can be encouraged by determining and reporting an amount of energy consumed by electrical equipment. In at least one embodiment, a power supply includes a rectifier having an AC input and a DC output and a power factor correction (PFC) preregulator, coupled to the rectifier, that increases a power factor of the power supply. The PFC preregulator includes a controller that integrates an input power to determine energy consumption and outputs a signal indicative of the energy consumption. Consequently, power consumption can be accurately determined at the power supply rather than merely estimated by downstream equipment.
While the present invention has been particularly shown as described with reference to one or more preferred embodiments, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.

## Claims

1. A power supply, comprising:
a rectifier having an AC input and a DC output; and
a power factor correction (PFC) preregulator, coupled to the rectifier, that increases a power factor of the power supply, wherein the PFC preregulator includes a PFC controller that integrates an input power to determine energy consumption and outputs a signal indicative of the energy consumption, and wherein the PFC controller further determines a power state of the power supply and outputs the signal in response to determining the power supply is in a higher power state and refrains from outputting the signal in response to determining the power supply is in a lower power state having a power consumption intermediate the higher power state and an OFF state.

2. The power supply of claim 1, wherein:
the PFC controller has a non-volatile memory that stores a calibration parameter utilized by the PFC controller to determine the energy consumption.

3. The power supply of claim 1, wherein the energy consumption includes an energy consumption of an input load in the PFC preregulator.

4. The power supply of claim 1, wherein the PFC controller determines a time base for integrating the input power from an AC line frequency.

5. The power supply of claim 1, wherein the signal indicative of the energy consumption indicates average power over a time interval.

6. The power supply of claim 1, and further comprising a DC-to-DC converter coupled to the PFC preregulator.

7. The power supply of claim 1, and further comprising an electromagnetic interference (EMI) filter coupled to the rectifier.

8. The power supply of claim 1, wherein the PFC controller controls the PFC preregulator independently of the energy consumption.

9. The power supply of claim 1, wherein the power supply reports at least one of a set including power consumption and energy consumption to a downstream load coupled to receive power from the power supply.

10. The power supply of claim 1, wherein the power supply reports at least one of a set including power consumption and energy consumption to a power monitoring system communicatively coupled to the power supply.

11. A method of operating a power supply, said method comprising:
rectifying an AC input;
applying, by a power factor correction (PFC) preregulator, power factor correction to increase a power factor of the power supply;
determining, by a PFC controller of the PFC preregulator, energy consumption by integrating an input power;
determining, by the PFC controller, a power state of the power supply; and
outputting, by the PFC controller, a signal indicative of the energy consumption in response to determining the power supply is in a higher power state and refraining from outputting the signal in response to determining the power supply is in a lower power state having a power consumption intermediate the higher power state and an OFF state.

12. The method of claim 11, and further comprising:
storing a calibration parameter utilized by the controller to determine the energy consumption in a non-volatile memory.

13. The method of claim 11, wherein determining energy consumption includes calculating energy consumption of an input load in the PFC preregulator.

14. The method of claim 11, and further comprising the PFC controller determining from an AC line frequency a time base for integrating the input power.

15. The method of claim 11, wherein outputting a signal indicative of the energy consumption comprises outputting a signal indicating average power over a time interval.

16. The method of claim 11, wherein said applying power factor correction includes applying power factor correction independently of the energy consumption.

17. The method of claim 11, and further comprising the power supply reporting at least one of a set including power consumption and energy consumption to a downstream load coupled to receive power from the power supply.

18. The method of claim 11, and further comprising the power supply reporting at least one of a set including power consumption and energy consumption to a power monitoring system communicatively coupled to the power supply.

19. A circuit for controlling a power supply, the circuit comprising:
a power factor correction (PFC) controller that controls current flow in a PFC preregulator to increase a power factor of the power supply, wherein the PFC controller integrates an input power to determine energy consumption and outputs a signal indicative of the energy consumption; and
wherein the PFC controller further determines a power state of the power supply and outputs the signal in response to determining the power supply is in a higher power state and refrains from outputting the signal in response to determining the power supply is in a lower power state having a power consumption intermediate the higher power state and an OFF state.

20. The circuit of claim 19, wherein:
the PFC controller includes a non-volatile memory that stores a calibration parameter utilized by the PFC controller to determine the energy consumption.

21. The circuit of claim 19, wherein the energy consumption includes an energy consumption of an input load within the PFC preregulator.

22. The circuit of claim 19, wherein the PFC controller determines a time base for integrating the input power from an AC line frequency.

23. The circuit of claim 19, wherein the signal indicative of the energy consumption indicates average power over a time interval.

24. The circuit of claim 19 wherein the circuit is embodied in an integrated circuit.

25. The circuit of claim 24, wherein the integrated circuit reports at least one of a set including power consumption and energy consumption to a power monitoring system communicatively coupled to the integrated circuit.

26. The circuit of claim 19, wherein the PFC controller controls the PFC preregulator independently of the energy consumption.

27. The circuit of claim 24, wherein the integrated circuit reports at least one of a set including power consumption and energy consumption to a downstream load coupled to receive power from the integrated circuit.