3-phase EmonTX?

On the forum thread emonPi early prototype - ideas?  michaeljquinn wrote on Sun, 03/08/2014 - 07:33:

"Really looking forward to the EmonTx version for the pi, although, would love more CT inputs - was wondering if there are any opportunities to multiplex CTs ?"

boelle responded on Sun, 03/08/2014 - 10:40.

"I tend to agree, native support for 3 phase would not harm anyone, and now I can hear people shout 3 phase is not so common in the UK I know, but the world is not a bottomless black pit outside the UK :-D

EDIT, and by 3phase native I mean 3 ct and 3ac. I know you can calc the 2 other ac's but that is not native, just a "hack" at best."

I added:

"You really want at least 9 analogue inputs for 3-phase working: 3 voltages, 3 'grid' currents and 3 'PV' currents. A few spares for individual appliances would be nice too.

Multiplexing CTs might be problematical if you need continuous measurement, which you will if you have one of the burst-mode energy diverters, I think a fairly fast ADC and a moderately powerful processor is required."

Eric_AMANN wrote on Sun, 03/08/2014 - 20:54:

"Regarding the three phase, I am also looking forward having a node with 3 phase native (3CT+3AC) but ... I don't think it's relevant for the EmonPi.  According to me, the EmonPi should remain a node as simple and as cheap as possible to be deployed broadly. The three phase should be supported on a EmonTX-3phase version."

stevenma's picture

Re: 3-phase EmonTX?

I would like to add my support for a 3-phase EmonTx.

We have a medium size office building that has a 100Amp rated 3-phase supply and two 3-phase SolarMax PV Inverters totalling 22kWp across two rooves, south & west.  I would suggest that this is fairly typical in the UK and around the World.

We also have a gas meter with reed switch and water meter than can probably also have a reed switch fitted so a minimum of two pulse inputs would be good.

So 3-voltages, 3 consumption CTs and 3 generation CTs and at least two pulse inputs would be good.

We also have, from a legacy Trend Building Management System, a Belden screened single twisted pair cable run back to a central point from most offices that I'd like to try with OneWire temperature appreciating that a bus rather than star network is best.

Even with the single phase EmonTx it would be good to have a minimum of two pulse inputs as most domestic premises will have a water meter and gas meter.  If there were 4 pulse inputs one could include the electricity and generation meters too.

How about built in modular sketch support for uploading to PVoutput and the like too?

Just my pennyworth.  Keep up the good work.

Regards,

Steve

UK

Eric_AMANN's picture

Re: 3-phase EmonTX?

Hi,

Now, we have to use a specific EmonTX for each phase.
For some applications, it makes me "waste" EmonTXs.
By example, if I want to monitor the 11 following circuits, I need 5 EmonTXs :
    - circuit 1  : phase 1 -> EmonTX1-CT1
    - circuit 2  : phase 2 -> EmonTX2-CT1
    - circuit 3  : phase 2 -> EmonTX2-CT2
    - circuit 4  : phase 2 -> EmonTX2-CT3
    - circuit 5  : phase 2 -> EmonTX2-CT4
    - circuit 6  : phase 2 -> EmonTX3-CT1
    - circuit 7  : phase 3 -> EmonTX4-CT1
    - circuit 8  : phase 3 -> EmonTX4-CT2
    - circuit 9  : phase 3 -> EmonTX4-CT3
    - circuit 10 : phase 3 -> EmonTX4-CT4
    - circuit 11 : phase 3 -> EmonTX5-CT1

I'm wondering whether it would be feasible to use only 3 interconnected EmonTX to monitor those 11 circuits.

    - circuit 1  : phase 1 -> EmonTX1-CT1
    - circuit 2  : phase 2 -> EmonTX2-CT1
    - circuit 3  : phase 2 -> EmonTX2-CT2
    - circuit 4  : phase 2 -> EmonTX2-CT3
    - circuit 5  : phase 2 -> EmonTX2-CT4
    - circuit 6  : phase 2 -> EmonTX1-CT2
    - circuit 7  : phase 3 -> EmonTX3-CT1
    - circuit 8  : phase 3 -> EmonTX3-CT2
    - circuit 9  : phase 3 -> EmonTX3-CT3
    - circuit 10 : phase 3 -> EmonTX3-CT4
    - circuit 11 : phase 3 -> EmonTX1-CT3

A first solution is a variant of what MArtinR did here.
   - three EmonTXs are interconnected by I2C and driven by a master EmonTX
   - each EmonTX would measure the voltage on a different phase and then it would report the value to the master EmonTX
   - each EmonTX would measure the current on every CT and then it would report the values to the master EmonTX
   - all sampling would be done by the master EmonTX that will then send data by RF

A second solution :
   - three EmonTXs interconnected by I2C
   - each EmonTX would measure the voltage on a different phase and then  it would share the value with the two others EmonTXs. So every EmonTX would know the three voltage value
   - each EmonTX would sample its own CT and then it would send data by RF

I have no idea if these 2 solutions can be implemented in term of synchronization and sampling rate, ...
But if it is feasible, a 3-phase EmonTX version is not really needed.

EDIT : I guess only discrete sampling would be possible but I'm not sure.

Let me know,

Eric

Robert Wall's picture

Re: 3-phase EmonTX?

Eric, I think you might be right with the discrete sampling part. If two or three emonTx's are going to share the instantaneous sample values, the ADC conversions have to be synchronised, otherwise it looks like a phase angle shift. But there could be a way: If each emonTx is phase locked to mains, it implies that that ADC conversions take place at the same instant (if you get the number of sample sets per cycle to be a multiple of 3, and assuming negligible jitter). So it might just be possible, but you still have the overhead of sharing the voltage values with the wire I2C library to take into account.

It would be possible - conceptually - to connect any number of emonTx's. Three would be "phase masters" measuring and transmitting the voltage samples to all, the rest would only phase lock to their own voltage input and listen to the voltage samples from the masters and use whichever one was appropriate for each CT. (All those on the same phase could of course share the ac adapter, and they'd all need to use a common 5 V dc supply for the I2C bus to work.)  It would certainly be a very attractive solution if it could be made to work.

Eric_AMANN's picture

Re: 3-phase EmonTX?

Hi,

Well, this sounds promising for 3-phase users !

Moreover this concept of voltage sharing can also be applied to 1-phase system. It will allow to save AC adapters,  DC adapters and RF module, when using a high number of EmonTXs.

I will have a look on MartinR's code to see how EMonTXs can communicate over I2C.

Eric

boelle's picture

Re: 3-phase EmonTX?

why not make a V4 that is just a V3 but with more voltage input so it can calc 3 phase?

 

it could not add much to the cost, only what is needed to add 2 voltage circuits... 

calypso_rae's picture

Re: 3-phase EmonTX?

My 3-phase PCB has the same processor and RF capability as an emonTx, and can measure voltage and current on each phase :)

Eric_AMANN's picture

Re: 3-phase EmonTX?

"why not make a V4 that is just a V3 but with more voltage input so it can calc 3 phase?"

With such a design, I guess it would be possible to tell in the arduino sketch which CT is on which phase. Can someone confirm that point ? (for discrete sampling and continuous sampling). If it is not the case, this V4 would not be very attractive.

Eric

 

 

 

Robert Wall's picture

Re: 3-phase EmonTX?

"it would be possible to tell in the arduino sketch which CT is on which phase" only if you can make assumptions about the phase angle of the load. But the problem as I see it with the Atmel ATmega 328P is you could measure only one quantity - either whole-house load or PV generation, since there are only 6 analogue inputs. That is not a limitation for Robin's energy diverter, which just needs to measure whole-house nett energy transfer. I'd suggest you need at least 9 inputs, giving one voltage and two current measurements on each phase, to approach the functionality of the emonTx.

Eric_AMANN's picture

Re: 3-phase EmonTX?

Hi,

Considering this limited number of input, a V4 that is just a V3 but with 3 voltage seems not interesting as it would need a lot of AC adapters (one by CT ?).  11 AC adapters (instead of 5)  in my study case above ...

If one can interconnect several EmonTX to share the voltage samples, it would not require any new hardware and it will provide a very flexible solution. If it could be made to work...

Eric

boelle's picture

Re: 3-phase EmonTX?

you would only need 1 ac adapter for each phase.... and 1 ct each phase if you only want to monitor the grid wires

some like to monitor also lines from solar cells... for that 1 ct extra for each phase is needed... but no extra ac adapters should be needed

Eric_AMANN's picture

Re: 3-phase EmonTX?

Robert,

There is a misunderstanding. I totally agree that, in theory, one AC adapter is needed for each phase + 1 CT (or 2 CT for people having solar cells) for each phase are needed.

My point is : if one have an EmonTX V4 with 3 voltages and a maximum of 3 CTs, it would require in practice one AC adapter for each CT. As an example, people who wants to monitor the grid and the PV generation will need two such EmonTX V4, so 6 AC adapters.

That why, according to me, a V4 that is just a V3 with three voltage is not interesting.

Eric

 

 

 

Robert Wall's picture

Re: 3-phase EmonTX?

"My point is : if one have an EmonTX V4 with 3 voltages and a maximum of 3 CTs, it would require in practice one AC adapter for each CT. As an example, people who wants to monitor the grid and the PV generation will need two such EmonTX V4, so 6 AC adapters.
That why, according to me, a V4 that is just a V3 with three voltage is not interesting.
"

I agree. 6 ac adapters is prohibitive. A V4 such as that would be so limited in its appeal that it would be hardly worth the trouble. Surely it would be much better to go to a more powerful processor that supported many more analogue inputs, plus as suggested by Stevenma above, two pulse inputs. [Within the last couple of days, I saw someone had done just that with an Arduino board and prototype shield or similar. I can't find it now.]

The only way that I can see a 6-input V4 being useful is if it can be assembled with either 3 voltage + 3 current inputs; or 2 voltage + 4 current inputs; or 1 voltage + 5 current inputs; or 6 current inputs; and it must communicate so that two or more units can work synchronously sharing data.

Robert Wall's picture

Re: 3-phase EmonTX?

Bill Thomson posted a link to this 12-input Arduino Due monitor a while ago: http://boredomprojects.net/index.php/projects/home-energy-monitor

calypso_rae's picture

Re: 3-phase EmonTX?

Phew that's quite a project.  A couple of observations:

With so many input sensors, having a single buffered reference would have saved a lot of voltage divider pairs.

I'm wondering whether the 12-bit ADC is likely to make any noticeable difference when the processor is spending so little of its time measuring each channel.  With the 'discrete' sketch, each channel is measured in sequence, so the ADC can only be sampling each channel for a few percent of the time. 

With the larger and hopefully faster processor, this would seem a good application for multi-channel "continuous monitoring" code.  But it require a bit more work ...

Eric_AMANN's picture

Re: 3-phase EmonTX?

To get the three voltages, one may imagine a dedicated node that would share the voltage samples with the other nodes which would be only responsible for getting the current. This is how this proprietary solution works. This is done by  a DIN rail concentrator that get the voltage samples and power the current nodes. More details here.

With this architecture, having only 6 inputs per nodes is fine. Moreover, it would provide a very flexible solution that will meet all needs whatever the total number of CT required (3, 6, or more). This architecture is also very appreciable when using a large number of CT in term of physical integration and also to avoid RF collisions.

 

Another very important point not discussed here before : how to get the three voltages without invasive action  ?  On my last 3 phase project, I got an available outlet with the 4 wires (N+3L) but it is not always the case.

 

Eric

 

 

JBecker's picture

Re: 3-phase EmonTX?

Another very important point not discussed here before : how to get the three voltages without invasive action  ?  On my last 3 phase project, I got an available outlet with the 4 wires (N+3L) but it is not always the case.

This is a very important point in all threads about three phase systems! You never have three normal outlets inside the distribution. And even if there is a three-phase CEE outlet (not normally inside the distribution box, too) , how do you want to get the standard wall transformers into that?

I have mentioned it a few times but nobody seems to care. And if you have to ask an electrician to fit outlets, you can just as well ask him to fit a decent three-phase meter with readout. This was the reason why I started this thread just a few hours ago: http://openenergymonitor.org/emon/node/5743

BR, Jörg.

 

boelle's picture

Re: 3-phase EmonTX?

well i can only speak for myself... but i have a 3 phase outlet behind the stove... and behind clothes washer... i could just connect some female extension sockets on a lenght of wire on each phase....

put i have mounted 3 normal outlets above the fuse box.... have 1 years worth of training.... sure might be illegal... but its as say as it can be... each socket is marked with what phase it belongs to and they are all with earth/safety

 

Robert Wall's picture

Re: 3-phase EmonTX?

Bo, the concern with having outlets belonging to more than one phase in a single room is it dramatically increases the risk of a phase-phase electric shock, which has a correspondingly greater risk of resulting in a fatality.

JBecker's picture

Re: 3-phase EmonTX?

This is also the reason why you not normally have plug type three-phase outlets behind stoves but a fixed cabling! Same for continuous flow water heaters. I have very seldom seen CEE three-phase outlets in private households.

dBC's picture

Re: 3-phase EmonTX?

I'm wondering whether the 12-bit ADC is likely to make any noticeable difference when the processor is spending so little of its time measuring each channel.

I think those SAM based Atmel devices like used in the Due would be much  better for you guys.  Not only 12-bit resolution, but much faster conversion times... from memory in the order of 1usec Vs 100usec.  Plus there are 2 ADCs.  So if you put the coding work in, you ought to be able to get roughly 200x the sampling rate compared to an AVR device.

Eric_AMANN's picture

Re: 3-phase EmonTX?

Jorg, I like your solution for its simplicity but it guess it can't be generalized for users who wants to measure many circuits. It would require to install several 3-phase energy monitors in the fuse box and that's just impossible.

Well, when reading again all comments, I 'm figuring out there are two VERY different needs for 3-phase

   1. many people just want to monitor the 3 lines from the grid (and eventually the PV generation).

   2. few others people (like me) want to measure many different currents to monitor electricity usage in office building, education building, industrial building, data center, ...

According to me, we have plenty of  solutions for the first need like the ones from Jörg, MartinR or Robin. For the second one, there is no suitable solutions.

 

Regarding the risk of a phase-phase electric shock, the idea of a DIN rail unit who will be responsible for getting the voltage sample seems right ? It's invasive but not so much.

Eric  

 

JBecker's picture

Re: 3-phase EmonTX?

It would require to install several 3-phase energy monitors in the fuse box and that's just impossible.

Impossible, why? As a retrofit, this can be a problem. Adding small current clamps will be easier, but you still need quite a lot of space for the rest of the electronics. And any work done inside the distribution box should still be done by an electrician!

But you are right that there are a lot of people with very special requirements and these can hardly be fulfilled by a 'standard' solution. The DIN rail voltage sensor unit is certainly a good solution, easy to do and comparatively easy to install.

Jörg.

Robert Wall's picture

Re: 3-phase EmonTX?

Adding to Eric's list:

3. Those in the US who have a split-phase supply and need to monitor 2 lines.

(I'm sure MartinR should not be in the first list, his "full-fat" monitor gives him 3 current channels per phase - definitely in the second category.)

Eric_AMANN's picture

Re: 3-phase EmonTX?

Jörg, I think that it's not possible in practice to install several 3-phase energy monitors (like the SDM630M) in the fuse box when one wants to monitor a lot of circuits (need 2).

The first reason is that it needs too much space in the fuse box. Most of time, I see very few available space on the rails.

The main issue is that this solution needs to redo a lot of connection in the fuse box (Correct me if I'm wrong). When it's possible, it's a long work. To do it safely, you have to turn off the main power for a long time. This is just not possible in most of non-residential buildings (shop, office, factory, ...)

Eric

 

EnergyRnR's picture

Re: 3-phase EmonTX?

Eric,

 I think you are correct that in many situations, the installation is difficult and space is very limited. However, as Jörg points out, it can be equally problematic when you have all the CT's and associated electronics. It's always possible to mount the meter in a seperate box( with DIN rail in it) if there's no space in the distribution unit.

A word on safety ( Not directed at you Eric, but this thread is giving me the feeling that many people 'have a go' at wiring in their own homes....)

<SOAPBOX on....>

I'm a qualified electrician( but not practicing recently - my focus is energy mgmt) so I would always get an electrician who's practicing and has the latest standards training to install any wiring. I would never recommend you do wiring, if you are not an electrician. There are simple things.....e.g. if you don't fill the terminal sufficiently and prepare the cable end properly, and overtighten the screw, you may crack or damage the copper and this can lead to arcing and/or an open circuit. Arcing of course can create heat and fire risk...

There are small details such as this that people don't realise. Adding equipment to an electrical installation can also change the earth loop impedance and impact operation of safety equipment. Some people don't know how to match the fuse/mcb ratings to the load that is downstream etc.... So, if folks are thinking about having to disconnect ANY electrical cables, there is no choice but to get an electrician involved - it's simply not worth the risk. Through all my electrical training, we were drilled with one top prioity "Safety First". I'm not exaggerating - electricity is deadly, and it's a living breathing entity that can destroy lives. I've never had an electric shock by the way so I must be doing something right :-)

Forgive the off-thread rant, but we must all be advocates of Safety First... imho.

<SOAPBOX off....>

Eric_AMANN's picture

Re: 3-phase EmonTX?

Thank's for this reminder !  I totally agree.

Safety is never off-topic

Eric

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.