Morning, all. I'm trying to roll my own electric meter reader, a la the Blue Line PowerCost Monitor (or the re-branded Black & Decker one). My meter flashes an IR LED for every one watt-hour of usage. I've succeeded in reading, logging and graphing the power consumption rate using an op-amp and a SFH205F photodiode. My problem seems to occur at around ten to 9 in the morning, when the sun peeks around the house and blinds the photodiode. I'm trying to find a solution to this problem.
This photodiode purports to have a daylight filter (and is indeed very dark plastic), but that filter doesn't seem to work very well. It also has a 60 degree viewing angle which I'm thinking may be a problem. What I believe to be happening is that the photodiode is getting saturated by the sunlight. This seems strange to me because although I can reproduce the effect on my workbench using a 60 watt lightbulb in very close proximity to the sensor, just pointing it at the sky actually seems to blind it even more! My first pass at the circuit was just the photodiode connected between ground and the inverting input of the op-amp in a current-to-voltage configuration. I've since added a 1uF capacitor in series with the photodiode to remove the DC component of the signal, so that I'm just amplifying the pulses. I'm able to confirm with an oscilloscope that I get a nice, clean, 5v, 10ms-wide pulse going to the Arduino, and 0v the rest of the time. I can see the width of the pulse decrease as I bring my 60W bulb close to the photodiode, until it eventually disappears as the bulb overwhelms the signal from my test IR LED.
Out at the meter, I've got a very ghetto arrangement with the photodiode duct-taped to the meter housing with about 3-4 inches of tape on either side of the sensor. I probably could just wrap the circumference of the entire glass dome of the meter with tape to try to get rid of any more light coming in (the side of the dome faces more-or-less due South), but this seems like I'm solving the wrong problem. The Blue Line device does shade the dome a bit, but much less than I'm doing.
So, I'm running out of ideas. From a signal-conditioning standpoint, I feel like I've reached the limit of the sensor. I might be able to isolate the pulse from the noise a little bit more using a signal diode, but I feel like the root cause of the problem is that the noise is overwhelming the signal. Rather than putting the photodiode right on the face of the meter, I'm thinking that I can try to raise it a half-inch and shield it (think hole drilled in wood with the photodiode recessed), which might prevent incident light from coming into play. Another possibility is replacing the photodiode with one with a narrower field of view. Have I missed anything obvious from a sensor and circuitry standpoint?
Thanks,
Brian