EmonPi, Solar and diverter

Morning all,

 

I have my EmonPi High Accuracy, got it plugged in and all connected.

However, there doesn't appear to be anyway of measuring the diversion (I have a Solarimmersion MKIII), without adding further CT?

If that is the case, what is the simplest/cheapest way of doing so, as the EmonPi can't add any more?

Ultimately, what I'd like to do is be able to show the import, export, diversion and cost, with now, daily and historical stats. I'd also like to extend the coverage to include gas, but that is a long way off for me

I'm struggling with the apps and the dashboards, is there a simple user guide that explains the logic?

The Solar app currently displays import and generation, with the balance adding the 2 together, rather than subtracting?!

Any guidance/help would be very much appreciated!!

pb66's picture

Re: EmonPi, Solar and diverter

I think you will struggle to add a 3rd CT without another device (emonTx), The diverter you use doesn't appear to have a interface to extract data, does your inverter? or even your supply meter?

Try rotating the "house CT" 180° the above data indicates the appliances in you house are generating 2721w, if they were using 2721 the export would be 287w.

​Paul

hapless's picture

Re: EmonPi, Solar and diverter

Hi Paul,

thanks for the reply.

That's what I thought. Does it have to be an emontx though? Is there a simple (!)  rfm69 board with ct capability that could feed the existing emonpi?

 

If not, then I may as well just get an emontx and shield and bin the emonPI? I have 2 Pi's here that were part of another hobby project going spare.

I've just been in the shop and with an emonbase, emontx v3, 4 ct's, ac-ac psu and programmer, it comes to less than the kickstarter and it should meet my needs with the extra ct's?

 

The setup for the EmonPi guide says to ensure that if generating a surplus, then the import should be negative.

I've just looked again and this is what I see now (you can see the gen and import graph looks spot on, but it's the balance when gen exceeds import that seems wrong?):

 

Thanks again for the help!

pb66's picture

Re: EmonPi, Solar and diverter

For "off the shelf" the emonTx v3 is the only easy solution until the new "v2?" hits the shop,

Other options could include either buying a emonTx v2 PCB and partially populating it, since the emonPi is occupying the serial uart of the Pi you will need to add a usb to serial adapter or include a rfm and connect it via RF. There is also the AC adapter to consider.

Or if you feel a little more adventurous, there is ADC 6 broken out to the RL45 connector on the emonPi along with vcc and ground, you could create a "3rd CT sub board" with just a hand full of passive components. Then you wouldn't need to worry about power supply, AC supply, communication etc just edit the emonPi sketch to include a 3rd CT.

I cannot predict the accuracy of a add-on board, mainly because of possible noise. but it has to be worth a try the components would cost pennies and the circuit is not complex. it has to be the cheapest and easiest option.

Maybe Robert will confirm if it's a viable option or not ?

Regards your graph, it looks ok to me, if you generate surplass the import will be negative. if you have a surplus of 1kw that is being exported, you are, in other words, importing -1kw.  

Paul

EDIT - Just to add a note ( I know you have a diverter already) As there is also Dig3 available there to control a triac, a MK2 style diverter in a box with a built-in ct and a RJ45 socket to link to the emonPi (or emonTx v3.4) via a cat5 cable could be a nice add-on device (possible 5th CT on a v3.4?)  

Robert Wall's picture

Re: EmonPi, Solar and diverter

I don't have (yet) an emonPi and I know little about it, but if there's an analogue input, VCC and GND available on a connector and the analogue input is readable, then adding a CT "front-end" copied from the emonTxV3/V4, or indeed from the emonP itself, would cost a minimal sum - 4 resistors, one capacitor, (one diode), connectors and a piece of stripboard. If it's only diverted power you're measuring, and you can break the circuit to fit a ring type CT, so much the better and I'd choose the one Robin uses, I believe this is either the 20 A version here: http://www.yhdc.com/en/product/425/ or this 20A:10mA one http://eppep.com/?action-viewnews-itemid-140364 from http://www.ebay.co.uk/itm/281436762683?_trksid=p2059210.m2749.l2649&ssPa... You'll need to recalculate the burden resistor for either of these.
(Note: there is only one burden resistor fitted - the second is not used and is drawn to make provision for holes for a wire-ended component, should you want to change the value.)

hapless's picture

Re: EmonPi, Solar and diverter

Thank you both Paul and Robert for your input - getting technical now so it's taken me a couple of days to digest!

Looking at it from another angle, how about adding a pulse sensor to the mix? For either the gen or import (both pulse), gen meter is more accessible and closer to EmonPi so would be easier to add?

Gen meter is L&G E110 Type 5235B (1000 pulse rate), Import is Itron ACE1000 SM0 (800 pulse rate)

I understand that it's not as accurate as the clamp, but as a simple workaround?

It also happens that I have an optical sensor from my GEO Solo PV, sat on my gen meter, doing diddly at the moment as the Solo PV died 13 months after installation. As I had the kickstarter on order, I haven't bothered hassling GEO!

Could I reuse the GEO pulse sensor, fitting rj45 connector to the necessary as stated in OEM Shop:
RJ45 Pin 2 - VCC
RJ45 Pin 5 - GND
RJ45 Pin 6 - TTL Data
 

On the graphing front, your comment Paul

Regards your graph, it looks ok to me, if you generate surplass the import will be negative. if you have a surplus of 1kw that is being exported, you are, in other words, importing -1kw. 

is what I'm seeing, so that's all good.

But if you look at the Balance figure in the first pic, it shows Solar PV of 3008W, Power Now of -2721W but the balance in the middle says I'm Exporting 5729W, which is the sum of both but ignores that the import is a negative?!

The later picture shows what I would be expecting, import-gen=balance?

Is the fact the that there is a diverter in place that is not being measured throwing the calculation or is it just my perception of what I expect to see?!

Thanks again all...

Robert Wall's picture

Re: EmonPi, Solar and diverter

You're confusing what you're measuring when you say the pulse input is not as accurate as a CT. Actually, by definition, your energy supplier's meter is totally accurate (even if it isn't), but it only tells you energy consumption after the event in 1 Wh-sized lumps, whereas the CT gives you near-instantaneous current measurements. With careful calibration, you can make the emonPi read the same as your supplier's meter. So accuracy isn't really the issue, it should be decided by what you want to know and how you want the information to come in.

hapless's picture

Re: EmonPi, Solar and diverter

OK, let me condense my post earlier...

 

can I repurpose the optical sensor, by fitting it with an rj45, to measure generated power (Solar PV), thus freeing up the ct clamp currently used for that to measure the diverted power?

So with ct on import, ct on diverted and optical on gen I would be able to measure all 3, but with reduced resolution on generated?

pb66's picture

Re: EmonPi, Solar and diverter

Yes, you can use an optical pulse counter to count the led pulses of your gen meter, whether the optical sensor you have can be used depends on what it is as to whether it or the emonPi need anything else.

Using the led pulse can be absolutely accurate as Robert points out it is counting metered units, any inaccuracy with pulse counting is from dropped pulses when using a RF link (which you are not) or unrecognized pulses, which is where the compatibility of the sensor is important to get right.

The resolution shouldn't be a big factor as 0.001kwh is the usual accuracy but the realtime instantaneous power observations could be inaccurate as the timing of pulses is altered by the AVR send interval, but the running total generated will be as accurate as is possible to a max of 1wh every 10s.

The "Exporting 5729W" could well be the effect of the diverter depending on where you have your ct's, the "grid" ct must be at a point that includes all your services including the diverter and then if the orientation of the ct's is correct on the cables you should see the correct import/export and the correct pv, from that the difference will be the total consumption including diversion. When you can measure another channel actual use will be the total consumption minus the diverted.

Paul

 

Comment viewing options

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