Thank you Robert for answering… I sent you the picture below of 3 devices I have measured with emontx and using SCT-013-000… the first 3 columns from the left are the values of each device that were measured alone, the predicted values mean that are the values that I expect through the addition operator, and finally the actual values mean that are the values I have measured together… also realize the difference between the average of predicted and actual.
Those numbers are the real power in Watts?
Have you calibrated your emonTx - especially for phase error? Your kettle and grill are likely to be very close to unity power factor, the microwave is likely to be somewhat less than unity power factor. One way to check this will be to measure the combination of kettle and grill. It those add up to near to the measured total, then I suggest you should adjust the phase compensation in that channel (because the phase error is particular to the combination of current transformer and a.c. adapter) so that you get the highest real power (or highest power factor if you can display that - it’s calculated and available from the library) on those purely resistive loads. The full procedure is in the ‘Learn’ section here, additional notes if you are using monLibCM are in the documentation for that.
The phase error of both current transformer and a.c. adapter does vary according to the manufacturing batch, so it’s not something that we have any control over.
No, I haven’t calibrated the emonTx… I used the built in code… I will send it to you:
I tried to send you the code but it keeps giving me that the new users can’t post more than 2 links
I bumped your account up a notch. You should be able to post your links now.
This the combination of Kettle + Grill as in the picture above that now I sent it
We know what the default sketch is. What you need to do - and you can only do this if you have a programmer - is to enter the “on-line” calibration mode at power-up. It can be adjusted there.
Those values are much closer - within about 1%, which I think is reasonable given that “full scale” is 23 kW.
So it looks as if the power factor of your microwave oven is indeed showing up an error in the phase correction.
Thank you Bill very much
I have a programmer…Thank you Robert very much I appreciate that
Sorry for bothering you Robert… One more question: the truth is that I want to know how can I enter the “on-line” calibration mode
Or you connect a Pi to the serial output .
Do you have a recent sketch in your emonTx? - when did you buy your emonTx?
If you connect the programmer (using the Arduino IDE) and power it while looking at the serial monitor, you will see the instructions.
If you have an older emonTx and sketch (bought before 18 October 2019), then it will not have on-line calibration, and you will need to edit the sketch, compile and upload any changes.
EmonTx code.txt (23.2 KB)
yes I bought it before 18 October 2019… And I have the sketch I sent it now to you
That is not complete - many lines are missing at the beginning.
However, the line you need to change is
const float phase_shift= 1.7;
Change the number 1.7 a small amount each time.
If you can add, inside
loop( ), for the c.t that you are using
and adjust phase_shift so that the power factor is as close to 1.0 as possible, then that is the best you can do.
How do you do that?
My Pi’s are serially connected as a matter of course.
I did quite a bit here about how I connected serially. Final bit was re uploading a new sketch to the TX. Does assume the tx line and rst is connected.
For completely different reasons, I’ve measured the current linearity of emonLibCM in an emonPi. It uses the same components as the emonTx. At 0 A, it read 140–150 mA. At 0.501 A, it read 0.54 A. At currents of 1 A up to 100 A, the error was 0.3% or less, which is well within the accuracy band of the multimeter that I was using.
Note: Transformer phase errors that naturally increase at very low currents mean that this result cannot transfer to the real power that is calculated from the voltage and current readings.