-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offset current without load #95
Comments
The current offset we discussed in the forum recently doesn't affect the power reading (at least in my case). |
How is this possible? Power should be calculated using the measurements of current, voltage and phase. This is why I get around 20W of power when reading 0.1A current at 230V. |
Power is calculated internally by the ADE7878 DSP. |
This is not a contradiction. ADE7878 only measures currents, voltages and phases. Power will be calculated using these. Offsets in current will result in offsets in power. |
Before I changed the ade7878.go as discussed in the forum my SmartPi displayed -0,07A on all phases, but the power reading was about 0W with small fluctuations. With the changes applied all currents are very near to 0 now, but the power readings didn't change at all. The xIRMSOS calibration only affects the xRMS registers, not the power registers. Do you use the newest Software on your SmartPi? Then this should be the same for you. |
Btw: I wrote an email to [email protected] to get my forum account activated. |
Yes, I'm using SmartPi 1.0 which I downloaded on saturday. There were no updates using apt-get. I will take a look at the software since there are a couple things I want to change. (Running X.org and chromium processes smashing my raspi for example, update frequency of MQTT too high, etc.). But I should probably discuss those topics in the forum once I have access. |
My solution for now is to change the line |
This will not have the same effect, because the xIRMSOS offset are added before the square root is executed. |
All four current sensors give me a reading of -0.1 A without load. This means a power offset of about 20 W. Reading through the forum I have the impression that this a bug regarding the setup of the measurement hardware. Because of this (and because I cannot post on the forum since nobody clears my registration) I opened this issue.
SmartPi 1.0
The text was updated successfully, but these errors were encountered: