For those who have used the Kill-a-Watt power meter before, it is a surprisingly good device (especially for $20!), but it has several flaws:
* It only works on 120V AC and up to 15A.
* Resolution is really poor at the low end, greatly limiting the use of the device for measuring standby losses.
* Only one measurement can be viewed at a time.
* It blocks the other outlet. (For those outside the US, US power outlets are almost always pairs.)
* The lack of backlighting makes it difficult to read in certain situations.
* Accumulated energy measurement is lost if there is a power outage or the unit is unplugged. Additionally, unplugging it is the only way to intentionally reset the energy measurement - a real problem if the device you're measuring is to remain on.
* No wireless capability. There is a kit (Tweet-a-Watt) to add it, but it's expensive.
* It will not measure reverse power flow, making it useless where power flow could be in either direction. Grid tie inverters and induction motors operating as regenerative brakes, for instance.
I have taken mine apart, and it uses a simple analog front end connected to some sort of microcontroller. It's exactly what I expected for a cheap device. And easy to build your own.
So let's start the design:
* The fundamental frequency, for AC, is either 50Hz or 60Hz. That translates into a minimum analog bandwidth of 500Hz or 600Hz (to capture harmonics) and a minimum sample rate of 5kHz or 6kHz, not very difficult. For DC, it would only need to sample a few times a second.
* 1% or so accuracy in order to keep costs low. That is particularly important for low cost wireless sensors. The standalone bench version could have somewhat higher accuracy.
* To accommodate the wide range of current measurement, it will use a switchable current shunt amplifier. Possible implementation could be to use two opamps set to different gains, and use a multiplexer to switch between them.
* Low cost microcontroller with required A/Ds integrated, probably would also have the required multiplexer integrated. Some TI MSPs even have wireless integrated, but those are surface mount.
* Capacitive power supply for low cost AC versions, just like the Kill-a-Watt. Small switcher for other AC versions and some DC versions, linear regulator for very low voltage DC.
* Wireless versions should use an open protocol and be able to share a channel.
And as for possible versions:
* Low voltage DC with small 7 segment or text LCD, for alternative energy and battery operated circuits. Good starting point as it is low voltage and simple.
* 120V or 240V AC, 15A wireless sensor.
* 120V or 240V AC, 15A bench unit, with graphic LCD and RS-232.
* Split 240V AC, Hall effect current sensing for whole house monitoring, intended for permanent install in a breaker box.
* High voltage DC, Hall effect current sensing or high current shunt for electric vehicles and large alternative energy applications.