ADE7758 Energy Metering

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

ADE7758 Energy Metering

Post by electron67 »

Hello to all,

Changed the energy meter in my house; And increased the receipt of energy charge, I have connected the same before and after, as a result of this I began to become interested in a power meter, and investigated and found an Analog Devices in Energy Metering a variety of chips for this function; look for information in the forum, but I did not find anything; someone had experience using the ADE7758 chip with Flowcode ?
An advantage is that you can read data using a Rogowski Coil and would simplify reading without taking risks.

Thanks for reading and if anyone can help me. :idea:
Enrique
Attachments
ADE7758.pdf
Datasheeth
(1 MiB) Downloaded 472 times

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: ADE7758 Energy Metering

Post by electron67 »

Hello everyone,

This chip is complicated, does anyone know of an easier to program equivalent that gives the same data? :(

Thanks
Enrique

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: ADE7758 Energy Metering

Post by Steve001 »

Success always occurs in private and failure in full view.

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: ADE7758 Energy Metering

Post by electron67 »

Thanks Steve

I'm going to check the datasheet of the 2 chip

Enrique

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: ADE7758 Energy Metering

Post by QMESAR »

Hi
Just to add a bit to Steve the Microchip way is the better way I think, as you have reference designs and reference code from which you can build your own meter
here are the main meter page
http://www.microchip.com/design-centers ... -solutions :D

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: ADE7758 Energy Metering

Post by electron67 »

Hi Steve and Peter

I appreciate your help, the energy modules are interesting too, I will study these modules to see how to connect them and to program them with Flow6

Best Regard
Enrique

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: ADE7758 Energy Metering

Post by electron67 »

Hello everyone,

Buy the ADE7758 chip, but the SPI programming of this chip is very complicated for me; Choose to use a current transformer, read the readout (GetVoltage) of the ADC input (0) and calibrate the PIC16F887 and read the current being consumed; I am starting the project, the voltage 220 ac I applied directly to the PIC using a resistance of 10 MOhm (Microchip AN521), I tested before alolating the 2 signals to the PIC and the voltages are within the 5 vdc that should be applied to the ADC (0) And ADC (1). The problem I'm having is that the ADC (0) GetVoltage input stays very unstable, even if you connect it to ground (0.0000, 0.1524, 0.2456, 0.4123, 0.1563, etc.) Also connect it in AN (5) and it is just as unstable reading

Thanks
Enrique
Attachments
WATT.fcfx
(5.48 KiB) Downloaded 406 times

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: ADE7758 Energy Metering

Post by electron67 »

Hi

I did the same flowchart in Flowcode5 and PIC16F887 and the reading shown on the display is much more stable, mostly kept at zero with a few variations. . .That could be wrong :?:

Enrique

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: ADE7758 Energy Metering

Post by electron67 »

Hi, good morning,

I have continued to seek information on this subject, but I have not found anything that I can work on it; But finally I found a library of arduino and with some components; a current transformers (SCT-013-000), a voltage transformer of 127 vac to 12 vac and a few resistors and capacitors, manage to make the reader of electrical measurements, Very economical and is very close to a measurement made with a multimeter; Also the communication can be made using the UART of a PIC connected to the TX and Arduino RX (ATMEGA328P); The readings delivered:
- Vrms
                      - Irms
                      - Real Power
                      - Apparent Power
                      - Power Factor
This PCB is prepared for 3 phases of 220 Vac (PCB lector)
Attachments
LECTOR PC.docx
Read in PC
(275.28 KiB) Downloaded 387 times
PCB lector.docx
Arduino a PC
(160.05 KiB) Downloaded 357 times

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: ADE7758 Energy Metering

Post by electron67 »

Now what I want to do is send a PIC information using FLOW7, by the UART port (RS232).
I made this small flowchart diagram, but it gives me the same 5 data in a row, as I can separate each data and with this I can make comparisons with the pic, send data by sms or do power supply cut.
Any help to guide me ?
I have tried some options, but read the first reading at first

Enrique
Attachments
RS232_RX.fcfx
Flowchart RS232
(10.07 KiB) Downloaded 285 times

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: ADE7758 Energy Metering

Post by electron67 »

Hello

With this flowchart diagram we separate the reading taken from Irms and compare it with a normal consumption constant.

But I can not specifically separate that value

Thanks
Enrique
Attachments
Irms_RX.fcfx
flowchart
(14.59 KiB) Downloaded 301 times

Post Reply