Hello there, just registered, in hope to find expert advice. I just crafted a circuit, and would like your opinion about it. I built its DC version, it works OK, but I have no experience with triacs, so this might be totally off. Let me describe the problem, what the circuit does (at least what I believe it would do), and provide a link to az easyeda schematics. Thanks for your help in advance!
Now the problem: The house is provided with two electricity meters. One is working 24/7, but is more expensive, the other one is working nighttime, *sometimes* during daytime too, and is cheaper. I want to use the cheaper meter when it is available, and switch back to normal, when the switched turns off. I normally do this with a relay. NC goes to "constant on" supply, NO goes to switched. The common goes in the house, powering everything with the 230V AC. The coil of the relay is powered from the switched supply. The problem is that sensitive electronics can not deal with the gap, the momentary lack of power during the switching. I would like to solve this, and came up with this circuit...
EasyEDA link:
https://easyeda.com/editor#id=a004ef0d79274fd2854d149cdbf04689
What this is supposed to do:
- normally "constant ON" powers the output
- now "nighttime" gets energized
- this should trigger the TRIAC, and power the coil
- now, as the contact lever of the relay moved from the NC contact, the current goes through the D1 and D2 bridge rectifiers (DC pins shorted), that drops ~0.7V×4=2.8V.
- Now we have 2.8V AC, D3 rectifies it, and through R1 starts to charge C1
- By the time the LED in the MOC would be powered, the relay hopefully switched all the way to the NO contact. When it does, no more voltage drop through D1 and D2, the MOC will not trigger, the TRIAC continues to trigger.
- Now the nighttime turns off.
- The current starts to flow through D1 and D2 again
- The current also flows back from the output (relay pin 3) to the NO contact (pin 2), from there to the triac, so the triac will not turn off. (Now we need the MOC)
- the rectified 2.8V across D1 and D2 now starts to charge C1, and it should turn on the LED in the MOC.
- the MOC should short between Gate and MT1, and this is supposed to turn off the TRIAC
- with the triac turned off, the coil of the relay releases, and until it arrives back to the NC contact, current flows through D1 and D2.
I am absolutely not sure if this could work at all, or how to select the capacitor and resistor values. Could you please help me? (Maybe should I post this in another thread?)