Sub-metering applications such as smart plugs and appliance energy meters enable consumers to understand and control their energy-usage patterns. Other sub-metering applications such as server power meters help IT departments optimize power consumption of server farms. When designing a sub-meter, considerations such as choice of sensors, analog front-end (AFE) components, and microcontrollers (MCUs) play an important role in determining the overall system cost and complexity.