Hi there,
can you advise me how I should modify the example code from https://github.com/openenergymonitor/emonTxFirmware/blob/master/emonTxShield/Shield_CT1234_3Phase_Voltage/Shield_CT1234_3Phase_Voltage.ino in order to use it with UNO on a 3-phase installation if I do not have the 9V adaptor?
Thanks
Re: emontxshield 3-phase no voltage adaptor
You cannot use any ....voltage.ino sketch if you do not have an ac-ac adapter to give you a voltage measurement. You must use the Shield_CT1234 sketch instead. That will give you apparent power only, it will give you reasonably accurate results, limited by how close your actual average voltage is to 230 V. As there is no voltage reference, the relative phases of the current inputs is quite irrelevant.
Re: emontxshield 3-phase no voltage adaptor
ok. Then my wonder is, for the appliances that use all the 3 phases (380V) can I assume that the total power consumption is aparentPower1 + aparentPower2 + aparentPower3 ?
Re: emontxshield 3-phase no voltage adaptor
Yes, because your CT does not know whether the current is going through a single-phase load to neutral or through one or more parts of a three-phase load and back through another CT. In each case, if the total power is the same, then the total current must be the same because the system voltage has not changed, even though the part of it that each load sees is different. That's the magic of 3-phase. But you must tell it the correct voltage - 220 V in your case, not the 230 V that is the default value in the sketch ( 380 / √3 = 220).
Re: emontxshield 3-phase no voltage adaptor
Thanks Robert,
One more thing I'd like to ask, after deployment (see image) i noticed if I turn all the main switch so absolutely no consumer can work, my arduino says I have 2W on phase 1, 18W on phase 2 and 30W on phase 3. I don't mind if these numbers are just small noise but I want to make sure this error is not exponentially propagated when I have big consumers like 8KW per each phase.
Let me know if you think the way I deployed the sensor in the linked image can be a problem or I can just substract these values after reading.
Thanks
Actually I have one more question i can't get emoncms to add up all 3 phases and show up in the USE TODAY graph only in the POWER NOW I managed. Any hint would be helpful.
Re: emontxshield 3-phase no voltage adaptor
What you are seeing is noise - there's a thread running now about this. It should be a constant value. I don't have a 3-phase supply so I cannot do proper test, all I can do is be certain that I get the expected 'wrong' answer on my single-phase supply, which I did using a much larger test current (I cannot remember now, it was probably about 30 At - or 1.5 A in a 20-turn coil through the C.T, giving me 'real power' values of approx -3600 W and a p.f. of 0.5) I certainly did not see an error bigger than that which I would expect from the burden resistor tolerance and changes in mains voltage.
It would be better if your CT's were further from each other and from other current-carrying wires, but you have very little space in there. You might get a small amount of interaction between the phases. Even 20 mm of air makes a big difference. See Section 9 of the report on the C.T. (Building Blocks).
To add the powers in emonCMS, you will have three inputs, Power1, Power2 & Power3. You need to use one input as "master" - say Power1, then do '+ input ' to add Power 2 and again for Power 3. Then Log to Feed etc.
If you want to do other things with Power 1 first, do those things, then do ' Reset to ZERO ' then '+ input ' with Power 1 and then add in Power 2 & Power 3.
Re: emontxshield 3-phase no voltage adaptor
Thanks Robert,
I managed to get hold of a 9v (1A) AC adaptor so i changed the code to the 3phase_voltage example
One weird thing i see is quite a big difference on apparent power versus realPower. See below log for all 3 phases:
It looks like
- realPower3 is just negative of the apparentPower, probably I put the CT sensor the wrong side.
- realPower2 sometimes is same as apparentPower sometimes is only half of it.
- realPower1 is either half of the apparentPower, either negative :(
Any idea what it could be wrong?
Re: emontxshield 3-phase no voltage adaptor
Now that you have the voltage, the relationship between the voltage sensor and the CTs is important. Read and understand the notes in the comment at the top of the sketch, get the relationship between voltage and the CTs right and then go through the calibration procedure. Unless the timing between voltage and current is correct for all three phases, you will never get good results.
L1 is the phase with the voltage measurement. Get that right first. L2 and L3 follow in that order. Your supply should be labelled to tell you the correct phase rotation. (So if you cannot put your ac adapter on L1, you just move everything around one phase, keeping the sequence the same.)