I have an optical sensor on my main import meter. I’ve just noticed that when I am exporting power from my PV installation, a graph of the optical sensor goes up not down, i.e. indicating that I am importing power from the mains. See the graph below.
The import power is a log of a CT on the meter tail. The optical sensor is on the meter itself. You can see the optical graph increasing whilst the power is greater than zero, but it also increases when the power goes negative!
(I was exporting from just after twelve because my hot water tank just reached its limit temperature, before that the solar power was being diverted)
Now I know the meter itself shows rEd when I’m exporting, so what’s going on? Is this normal, or a problem with my meter, or a problem with my emonTx installation or a bug or what? It makes the optical sensor record useless. I also have a power to kWh log of the CT data which does decrease when I’m exporting, but it isn’t as accurate as the optical sensor.
It is a problem with the design or configuration of your meter. I’d ask the question: How can a single pulse of light indicate the direction of power? It cannot.
This is why most of us here caution against the use of the optical sensor except as a means of calibrating your emonTx.
The optical sensor - or more correctly, the optical pulse output on your meter, is only useful when the energy flow is unidirectional. When the energy flow reverses, most meter LEDs either show nothing or remain lit continuously.
Yours seems unusual in that it appears to indicate the same irrespective of direction. The more important question is, does it have separate energy registers for forward and reverse? Because if it doesn’t, and the (single?) register still increments when you are exporting, it means that you are paying to supply your energy company.
Ah, I haven’t seen that caution. Is it useful to read it? Where is it? I’d been blithely assuming that the optical sensor was the best source since it [should] precisely match the meter reading, and since there’s a special feed type to make it extra reliable. Apparently I’ll need to think again.
Hmm, I can’t see the optical pulse output itself, because of the optical sensor stuck over it, but the green LED on the sensor appears to be permanently on and the meter says rEd. (It’s a Landis+Gyr 5246C)
So I don’t understand why the readings keep going up if the LED is permanently on.
I’m using whatever sketch was installed when I bought the emonTx. Presumably the green LED on the sensor mirrors the state of the red optical output LED on the meter? I’d think I would have noticed a 100 ms occultation. I’ll go and have another look, and perhaps take the sensor off the meter for a few seconds to be sure.
I did some measurements - I’ve been searching but I can’t find them.
What it means - and I can’t remember which way round it was - is the emonTx and the LED use different decision voltages to determine how they see the state of the output voltage of the sensor. So the situation is the LED could be lit and the emonTx does not see a logic high, or the LED could be dark and it does. I think it was the former, but I can’t be sure.
So the state of the green LED is entirely determined by the sensor unit itself? And the value state in the emonTx is somewhat ambiguous depending on exact voltage levels? Seems like a poor design of sensor, although that’s just a comment and not very helpful at that.
But a green LED that stays on when both the meter output is flashing in what looks like a normal fashion and the emonTx is observing those flashes sounds like a faulty sensor to me. Or am I missing something?
Then there’s a completely separate question of whether the meter should be flashing and whether it provides some way to discriminate. Otherwise I suppose the answer would be to modify the sketch to use the CT to determine the direction of flow being measured by the flashing.
That I cannot answer. And the meter manufacturer is almost certainly not going to answer, as I believe identical models can be configured differently according to the requirements of the owner. Who does the configuration, I don’t know. It might be the owner, in which case the manufacturer won’t even know.
I guess that’s a possibility, but at very low powers, that might not be reliable. Though in that case, the error is likely to be small.
If the meter did as you suggested - occults when exporting, then provided that the m:s ratio never got close enough to 1 (from either direction) software should be able to discriminate. But I don’t think that is done. I think most meters show flashes when importing, and a steady indication when below “creep” or exporting.
Going back to this:
have you tried shielding the sensor from ambient light? If I recall correctly, as I indicated above, I could get the green LED lit on ambient light. And the hook-and-loop fastener is by no means light-proof.
Well, they should be able to tell me what the possibilities are, so I may be able to tell whether it is faulty or not. And with the information, I may be able to persuade my energy supplier to instruct somebody to configure it sensibly, if there is such a possibility.
The meter is in a meter box, so it should certainly be shielded from light when in normal operation. When I observed it, I held my hand over it to shield it from ambient light.