Skip to content

Energy Functions returning zero #10

@amarranade

Description

@amarranade

Hello Sir

I am currently working on a project of computing energy in a 3 phase system. For this, I am using ATM90E36 IC along with ESP32.

Your .ino code has been really helpful in computing most of the essential parameters and I'd like to thank you for sharing the code on Git.

However, I am facing an issue with 2 functions, eic.GetImportEnergy() and eic.GetExportEnergy(), for which the output is showing as 0(zero).

Can you please guide me why this is happening and what changes should I make in code to get real-time energy readings? I am attaching .ino file and screenshot of the output for your reference. I am only using one phase for time being to test my hardware and software.

Another thing, I have to multiply current by a factor of 6.83 to get the actual value. I came up with 6.83 factor by comparing it with a calibrated meter. So my 2nd query is whether there is a provision to compute the actual current without the need to tweak it by multiplying with 6.83?

I am using 120A-40mA Split Core Current Transformer to sense current. The hardware circuit that I've used on CT side is same as mentioned in the ATM90E36 Application note. I am attaching PDF of the circuit layout I've used for your reference.

I would really appreciate if you could help me solve the issues I am facing. Let me know if you need any more information from my end
output
atmel_current_application_note.pdf
arduino_code.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions