Embodiments of the invention relate to techniques for determining energy usage. More particularly, embodiments of the invention relate to techniques for utilization of software to monitor and evaluate platform energy usage.
Tracking energy usage is increasingly important in many settings. For example, many regulations require that commercial buildings conform to certain energy efficiency requirements. In order to monitor compliance, energy usage must me measured in some way. Typical measurement techniques are based on dedicated hardware monitors, which can be expensive and complex.
Embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings in which like reference numerals refer to similar elements.
In the following description, numerous specific details are set forth. However, embodiments of the invention may be practiced without these specific details. In other instances, well-known circuits, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
Network 100 provides an interconnection between multiple electronic devices. Network 100 may provide communication with any number of remote devices not illustrated in
Database (DB) server 120 may be coupled with network 100 and other systems. DB server 120 may also be coupled with building management system (BMS) 140 that may include information from, or access to (e.g., request certain actions or information), building systems (e.g., HVAC, electrical, hydraulic, automation) that may provide energy consumption data. DB server 120 may be coupled with BMS 140 via BMS interface 122, which may be one or more wired and/or wireless interfaces.
DB server 120 includes database (DB) 126, which is used to store information retrieved by, sent to, or otherwise acquired by DB server 120. In one embodiment, DB 126 stores energy consumption information gathered from the components illustrated in
Statistics 130 may be statistics that are derived by DB server 120 or are provided to DB server 120. Statistics 130 may be used to provide energy consumption information and/or to analyze and derive energy consumption information. Analytics 124 represent logic (e.g., hardware, software, firmware, any combination thereof) that provides analysis of the information stored by DB server 120. For example, analytics 124 may provide macro or micro analysis of energy consumption information as described herein. Server 132 provides services from DB server 120 to devices coupled with DB server 120.
Sensors 150 may be any sensors that provide information to any of the devices of
Platform 170 represents any number of similar platforms that may be coupled with one or more networks interconnected with DB server 120 and/or other devices of
In one embodiment, platform 170 includes one or more of the agents illustrated in
Energy agent 172 monitors and/or computes, or otherwise determines energy consumption of platform 170. Energy agent 172 may operate as described herein to determine energy consumption. Location agent 174 operates to determine the position of platform 170. Location agent 174 may use global positioning system (GPS) technology, or other techniques for determining the location of platform 170.
Light agent 176 monitors light levels around platform 170. Light agent 176 may include, for example, an ambient light sensor. Light agent 176 may also calculate or otherwise determine light conditions in and around platform 170.
Conceptually, the techniques described herein operate by tracking the time that the monitored system (e.g., platform 170) spends in various operational states—such as running, idle, off—and by multiplying the time spent in each state with platform power drawn in each state to compute energy usage (energy=power×time). In one embodiment, there is provided (1) the ability to detect operational states of the monitored system and times spent in those operational states, and (2) information related to power consumption in each of the relevant operational states of the monitored system.
This principle may be applied to any electronic equipment or device (e.g., HVAC system) that has operational states with specific energy consumption, such as desktop computers or laptops, by providing a software agent to track platform power state occupancy using, for example, system calls, then compute energy usage by integrating over time state occupancy with power consumed in each state, thus yielding energy consumption in KWh. Non-electrical energy consumption can also be monitored, for example, a state of a heating system may be monitored and energy consumption may be determined by using the state of the heating system along with the amount of natural gas consumed in each state to determine an energy usage. This technique is applicable to other situations as well.
State-specific power usage of individual platforms required by this calculation may be measured by commercial instruments (one time bench/lab measurement per supported platform) or provided as specifications by vendors through machine-readable methods, such as an online web service. Note that vendors already measure and report these kinds of values to standards and rating bodies, such as ECMA and EnergyStar.
The energy-tracking agent(s) may reside on the platform or elsewhere in the infrastructure (e,g, a cloud service or with one device acting as proxy for another-PC for a printer). Currently energy measurement is performed via expensive external hardware power meters.
Energy agent 200 includes memory 214, which represents a memory device and/or access to a memory resource for storing data and/or instructions. Memory 214 may include memory local to energy agent 200, as well as, or alternatively, including memory of the host system on which energy agent 200 resides. Energy agent 200 also includes one or more interfaces 216, which represent access interfaces to/from (e.g., an input/output interface, application programming interface) energy agent 200 with regard to entities (electronic or human) external to energy agent 200.
Energy agent 200 also includes energy engine 220, which represents one or more functions that enable energy agent 200. Example modules that may be included in energy engine 220 include energy calculation module 230, power state tracking module 240, power state data module 250 and database reporting module 260. As used herein, a module refers to routine, a subsystem, etc., whether implemented in hardware, software, firmware or some combination thereof.
Energy calculation module 230 computes energy usage based on power state occupancy and time. Power state tracking module 240 tracks and records power state occupancy of the monitored platform. Power state data 250 obtains power-state values for the specific platform (e.g. implemented as cloud web service, stored locally). Database reporting module 260 reports measured (computed) values to external aggregators or repositories (e.g. sensor database).
In addition to the observed performance states, the smart battery information available via, for example, ACPI (a standard for PC systems) may be utilized to obtain the battery capacity changes during a sampling interval, both while the system is running on battery (i.e. battery discharge) and when the system is charging the battery.
The battery charge/discharge information may be used by the power model in addition to the state information and the power consumption of each state to derive a total power consumption of the system over the previous time interval.
In one embodiment, energy consumption calculation is performed only when the system is plugged into an active power outlet. Battery charging/discharging model is of interest because the monitored system (e.g. a laptop) tends to draw higher power when connected to a power outlet with only partially charged battery (i.e. after it was running in battery-only mode). Additional detailed power consumption information of platform components, if available (e.g. by exposed internal platform counters) can be added to the above described power model.
The sampling loop is entered, 310. The sampling loop may be defined by a period of time (e.g., time=t). Any period of time may be used for the sampling period. The period of time may also be different for different platforms and/or may be different for different locations. For example, a “home” location may have one sampling loop time and other locations may have a different sampling loop time.
The operational state of the platform is captured, 320. The operational state may be captured by, for example, making system calls or by any other technique that may be used to determine the operational state of the platform. Some platforms may be configured to report operational state information, for example.
The energy increment is calculated, 330. In one embodiment, the amount of energy consumed per unit of time for an operational state is multiplied by the time for which the platform was in the operational state. Other techniques may also be utilized to estimate energy consumption. If there is no battery activity, 340, the energy consumption is recorded, 360.
If there has been battery activity, 340, corrections may be made for the battery activity, 350. Corrections for battery activity as discussed in greater detail above. The energy consumption information may be utilized locally to provide feedback to a user of the platform and/or the energy consumption information may also be transmitted to a server or other device that may aggregate energy consumption information from multiple platforms. Further, it may be provided to the platform (e.g., hardware, firmware, operating system, applications) for feedback.
Electronic system 400 includes bus 405 or other communication device to communicate information, and processor 410 coupled to bus 405 that may process information. While electronic system 400 is illustrated with a single processor, electronic system 400 may include multiple processors and/or co-processors. Electronic system 400 further may include random access memory (RAM) or other dynamic storage device 420 (referred to as main memory), coupled to bus 405 and may store information and instructions that may be executed by processor 410. Main memory 420 may also be used to store temporary variables or other intermediate information during execution of instructions by processor 410.
Electronic system 400 may also include read only memory (ROM) and/or other static storage device 430 coupled to bus 405 that may store static information and instructions for processor 410. Data storage device 440 may be coupled to bus 405 to store information and instructions. Data storage device 440 such as a magnetic disk or optical disc and corresponding drive may be coupled to electronic system 400.
Electronic system 400 may also be coupled via bus 405 to display device 450, such as a cathode ray tube (CRT) or liquid crystal display (LCD), to display information to a user. Alphanumeric input device 460, including alphanumeric and other keys, may be coupled to bus 405 to communicate information and command selections to processor 410. Another type of user input device may include alphanumeric input 460 may be, for example, a mouse, a trackball, or cursor direction keys to communicate direction information and command selections to processor 410 and to control cursor movement on display 450. In one embodiment, electronic system 400 includes energy agent 470, which may be an energy agent as described herein.
Electronic system 400 further may include network interface(s) 480 to provide access to a network, such as a local area network. Network interface(s) 480 may include, for example, a wireless network interface having antenna 485, which may represent one or more antenna(e). Network interface(s) 480 may also include, for example, a wired network interface to communicate with remote devices via network cable 487, which may be, for example, an Ethernet cable, a coaxial cable, a fiber optic cable, a serial cable, or a parallel cable.
In one embodiment, network interface(s) 480 may provide access to a local area network, for example, by conforming to IEEE 802.11b and/or IEEE 802.11g standards, and/or the wireless network interface may provide access to a personal area network, for example, by conforming to Bluetooth standards. Other wireless network interfaces and/or protocols can also be supported.
IEEE 802.11b corresponds to IEEE Std. 802.11b-1999 entitled “Local and Metropolitan Area Networks, Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications: Higher-Speed Physical Layer Extension in the 2.4 GHz Band,” approved Sep. 16, 1999 as well as related documents. IEEE 802.11g corresponds to IEEE Std. 802.11g-2003 entitled “Local and Metropolitan Area Networks, Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications, Amendment 4: Further Higher Rate Extension in the 2.4 GHz Band,” approved Jun. 27, 2003 as well as related documents. Bluetooth protocols are described in “Specification of the Bluetooth System: Core, Version 1.1,” published Feb. 22, 2001 by the Bluetooth Special Interest Group, Inc. Associated as well as previous or subsequent versions of the Bluetooth standard may also be supported.
In addition to, or instead of, communication via wireless LAN standards, network interface(s) 180 may provide wireless communications using, for example, Time Division, Multiple Access (TDMA) protocols, Global System for Mobile Communications (GSM) protocols, Code Division, Multiple Access (CDMA) protocols, and/or any other type of wireless communications protocol.
In one embodiment, the energy consumption information is gathered without the support of a dedicated hardware power meter or sensor. That is, the platform may be self-monitoring and determine its own energy consumption information from monitoring operational states.
Reference in the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment.
While the invention has been described in terms of several embodiments, those skilled in the art will recognize that the invention is not limited to the embodiments described, but can be practiced with modification and alteration within the spirit and scope of the appended claims. The description is thus to be regarded as illustrative instead of limiting.