Digital Energy Meter - Page 1
Forum section: electronics / general

author: cRash1001
author_rank: Contributor
timestamp: January 12, 2016, 05:19:24 am
content: I would like to build a Digital Energy meter for calculating the kWh. I am currently in the study phase searching for the right micro-controller. So guys can you suggest me some micro-controller for energy meter reading.

author: hamdi.tn
author_rank: Frequent Contributor
timestamp: January 13, 2016, 08:32:12 am
content: Search for a microchip application note about that, i saw one before, you can learn what it need to design one. most MCU can do that so you have to focus on the surrounding circuitry more that the micro itself

author: gmb42
author_rank: Frequent Contributor
timestamp: January 13, 2016, 03:04:53 pm
content: TI have a heap of application notes for this, e.g.here.

author: mjkuwp
author_rank: Unknown
timestamp: January 14, 2016, 01:33:08 am
content: Depends what your goals are.I did a board based on ADE7953 and was really pretty easy to get good results. It's a really nice chip that does all the heavy lifting for you. It breaks down to a voltage divider for the V and a current shunt for the I. SPI communication is used to read the results. I like that this particular part operates at 3.3V.Documentation is here:http://themzlab.tumblr.com/wattmeteror herehttps://github.com/themzlab/imp-watt-meterIf you want to do more of the job yourself there is still a lot to learn reading the datasheet and the app notes for that chip and others in the family.

author: cRash1001
author_rank: Contributor
timestamp: January 14, 2016, 05:18:46 am
content: Quote from: mjkuwp on January 14, 2016, 01:33:08 amWell I did study the ADE7753, it was great had all the features phase correction, tamper detection all that but a friend of mine had made a energy meter using that IC but quickly fell into problems during firmware programming. He said it was hardm confusing, all that. So whats the case with ADE7953, is the firmware programming reasonably complicated all that and other things?

author: coppice
author_rank: Super Contributor
timestamp: January 14, 2016, 05:34:12 am
content: Quote from: cRash1001 on January 14, 2016, 05:18:46 amThe various metering ASICs from ADI, Cypress, Atmel, Microchip, and others are all pretty similar to program, and all have SPI interfaces. A couple, like the Atmel (originally IDT) ones, also have UART or I2C options for the interface. The big plus with these is you can pair them with pretty much any MCU that has the right feature mix for you.The main alternative is the metering SoCs from Maxim (used to be TDK, then Teridian, and now about to be sold off to Silergy), TI, Atmel, Prolific and others. Some of these contain computation modules, specifically to calculate the voltage, current, power, etc. Others have ADCs tailored for the job, and leave all the computation to the main processor core. The vendors usually supply code libraries to performance these computations, so it doesn't take huge effort to get up and running. A big advantage here is if you need to measure something not in the standard software feature set its easy to add your own features. If you use the devices with fixed function blocks you are stuck with what they provide.I've never heard of anyone choosing among the various options on the basis that one or more were especially hard to interface to.

author: Brutte
author_rank: Frequent Contributor
timestamp: January 14, 2016, 07:29:31 am
content: QuoteFor commercial purposes? If it is for hobby then I hope it is a 12V solar panel, not a 230V mains line.Dave has made a teardown of a three phase energy meter some time ago - you should check the related thread just before you search rest of the forum.

author: mjkuwp
author_rank: Unknown
timestamp: January 14, 2016, 12:05:03 pm
content: Quote from: cRash1001 on January 14, 2016, 05:18:46 amI think the two chips are very similar except the ADE7753 is 5V and at a quick glance it has at least one more feature- a temperature sensor.I understand about the datasheet. There are so many features and options for setup it can be overwhelming. I was fortunate to be following some example code that was very basic and I expanded on that. I am happy to share code - in fact it should already be listed on the blog page that I referenced. If you or your friend have questions I can try to answer them. The main thing that I enter to the registers is the PGA and the offsets for V, I, Watts and for V*A. The calculation for offset is confusing but I got through that and for some applications it would not be important. I do the scale calculations in the host software so I did not bother to set any gain registers on the device.

author: ElectricGuy
author_rank: Regular Contributor
timestamp: January 18, 2016, 05:56:00 pm
content: Quote from: mjkuwp on January 14, 2016, 01:33:08 amHi mjkuwp;I tried to download the files from the webpage project, but it doesn't seems to work.Can you send me the files of the project?Thank you