Electronics > Beginners
Reactively coupled 240 volt sensor
rhodges:
I would like to have a decent circuit for sensing line voltage.
My first need was to monitor a water well pump. I used a 120v / 240v universal volt power supply to give 12 volts DC when the pump was on. This 12 volts went into a optocoupler, and then into the MCU. It seems safe enough.
Now I would like to monitor a water heater that has two 240 volt elements.
I would like to use reactive coupling for a few milliamps for the optocoupler and have a circuit that I can use for other line voltage sensing. This is my very first attempt at using reactance with line voltage.
I chose 20 milliamps as a relatively high, but not too high feed for the opto forward current. As you see, this 20mA may be shared between the LED (15mA) and R2 (5mA). I will be using the "C" version of the PC817, and the datasheet says I get 10mA to 20mA Ic with 5mA If.
The input goes into a 100mA fuse and a 510 ohm resistor to limit inrush. But if the reactance is limited to 20mA, do I need R1? Is it a good idea? If C1 fails closed, maybe R1 will give the fuse time to blow before it gets exciting.
I chose 0.22 for C1 to get 20mA at 240V and 60Hz. Is 400 volts enough, or should I go for 600 volts for C1?
A bridge rectifier feeds C2 and R2. I just picked 20 uF just on the 1000 uF per amp rule of thumb. Is R2 a good idea? If the opto LED failed open, I was thinking R2 could give fuse F1 some time to blow before overvoltage kills C2.
Thanks for all comments! I am sure I made some mistake somewhere!
Zero999:
The circuit will work, but why not simply use a relay with a 240VAC coil?
https://www.mouser.co.uk/ProductDetail/TE-Connectivity-Schrack/RT214730?qs=8wHch9UpSvZoktAeFuphHQ==&gclid=EAIaIQobChMIy_L67vHx5AIVRkPTCh2vJA2qEAAYAiAAEgL2uvD_BwE
https://uk.rs-online.com/web/p/non-latching-relays/6996865/
rhodges:
--- Quote ---The circuit will work, but why not simply use a relay with a 240VAC coil?
--- End quote ---
Well, I did not think of that... While I have maybe used a couple 120V coil relays, it did not occur to me that I could buy a 240V one. It would be simple and "known safe".
I was thinking my two options were a "universal" power supply or a reactive circuit feeding an optoisolator.
The first uses a custom adapter cable, basically an extension cord with the plug cut off and replaced with ring terminals. The power supply (small 500mA wall wart) plugs into the other end of the extension cord. It works, but it looks like a real kludge.
I have been intrigued by reactive power supplies for a long time, and this seemed to be a good excuse to get some experience. But it is obvious that there are safety details to work out! I would like to learn more about designing a circuit that is useful and safe.
GerryR:
The relays will work fine and tell you that the circuit is live, but for the water heater, you might want to use a current transformer for each element so you know the elements are still good. Just a thought.
KMoffett:
Simple. 100-240VAC to 5VDC switch mode wall wart. Input to the AC line you want to monitor and the 5V output to the MCU input.
Navigation
[0] Message Index
[#] Next page
Go to full version