Coder Social home page Coder Social logo

Comments (7)

whatnick avatar whatnick commented on August 21, 2024

Hi, the library cannot account for the exact CT and multiplier resistors you use so setting the current multiplier is a required activity. The zero power readings indicate something else wrong with your current measurement setup. Please use a scope to probe the sinusoid via the CT arriving at the ADC's of the energy monitor ASIC.

from atm90e36_arduino.

amarranade avatar amarranade commented on August 21, 2024

Hi, the library cannot account for the exact CT and multiplier resistors you use so setting the current multiplier is a required activity. The zero-power readings indicate something else wrong with your current measurement setup. Please use a scope to probe the sinusoid via the CT arriving at the ADC's of the energy monitor ASIC.

Hello Sir
Firstly, thanks for your prompt response.
Just so you know, the power and current readings generated from IC looks pretty accurate. The issue I am facing is with energy and not power or current. Energy values obtained from ATMEL IC is always 0.000 (Zero).

I am using a resistive heater, of 1kW. The power consumed by the heater is being correctly calculated and displayed. Same goes for current, However, GetImportEnergy() and GetExportEnergy() are returning zero values when it should have ideally returned around 0.16kW after 5 mins of heater usage. Can you assist me with this?

from atm90e36_arduino.

luketanti avatar luketanti commented on August 21, 2024

Check that all the Checksum values are correctly calculated and saved. According to the datasheet metering will stop if the saved checksum value and the calculated value by the IC do not match. Other values will still update like the voltage and current measurements. Here is the information from the application note:

When '8765H' is written, the registers do not resume to their power-on values, but checksum will be checked. If the written
checksum is the same as the system self generated checksum, normal metering/measurement functions will be started. If
they are different, metering/measurement functions will not be started, the corresponding CSxErr bits are set and the
WarnOut pin outputs high level. Note that if CS2 is not correct, when the startup register (xxxStart) is 8765H, only harmonic
measurement and metering functions will be disabled. But if CS0, CS1 or CS3 are not correct, all measurement and
metering functions will be disabled.

from atm90e36_arduino.

neelkamalvohra avatar neelkamalvohra commented on August 21, 2024

Hi, I also had the same problem & it started worked after removing line 494 in "ATM90E36.cpp". Seems it is resetting the register values to default.

from atm90e36_arduino.

Mshanti113 avatar Mshanti113 commented on August 21, 2024

Hi, I also had the same problem & it started worked after removing line 494 in "ATM90E36.cpp". Seems it is resetting the register values to default.

Hey Neel,

Could you elaborate further to get the energy reading?

You can send me the details here [email protected]

Thanks in advance
MK

from atm90e36_arduino.

Mshanti113 avatar Mshanti113 commented on August 21, 2024

You need to do the following to read the energy register values.
You need to do the following:

  1. Supply the three-phase power to the measurement board
  2. Run the program through Arduino
  3. As you are getting zero values in the energy register, try to check the CS0 and CS register value of your dumped program.
    (a) Read all register values using "eic.dumpAllRegs();"
    (b) Note down the CS0 and CS1 registers values
  4. Go to CPP file from the library and replace the CS0 and CS1 resister values with the noted ones.
    Example: CommEnergyIC(WRITE, CSOne, 0xXXXX); // Checksum 1
  5. Hope this helps

from atm90e36_arduino.

papay1 avatar papay1 commented on August 21, 2024

Hi, the library cannot account for the exact CT and multiplier resistors you use so setting the current multiplier is a required activity. The zero-power readings indicate something else wrong with your current measurement setup. Please use a scope to probe the sinusoid via the CT arriving at the ADC's of the energy monitor ASIC.

Hello Sir Firstly, thanks for your prompt response. Just so you know, the power and current readings generated from IC looks pretty accurate. The issue I am facing is with energy and not power or current. Energy values obtained from ATMEL IC is always 0.000 (Zero).

I am using a resistive heater, of 1kW. The power consumed by the heater is being correctly calculated and displayed. Same goes for current, However, GetImportEnergy() and GetExportEnergy() are returning zero values when it should have ideally returned around 0.16kW after 5 mins of heater usage. Can you assist me with this?

I am also facing the same issue , did you resolved it any other way ???

from atm90e36_arduino.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.