Electrical – Triac connected CFL or Incandescent bulb or Electronic ballast tubelight FLASHES

dimmingemi-filteringopto-isolatortriac

I am building a triac based dimming circuit.

enter image description here

Everything is working fine.

The problem which I am facing is when I turn on or off any appliance (NOT CONNECTED TO TRIAC) in my any other room, the CFL connected to my triac flashes in its off state., also flashes if I try to generate sparks in mains line.

Earlier I was using MOC3021 which was producing far more false triggers, and cannot use opto snubber as it leaks some current and connect appliance flashes every second.

Best Answer

You need a snubber—a resistor and capacitor, at least, to filter out transients and noise. A MOV wouldn't hurt, either. See page 7 of the Fairchild data sheet for the MOC3021, where they show this circuit:

Example snubber

You need to add the RS and CS shown on the right there. (If things are extremely noisy, they also have another example circuit in Figure 13 that filters things even more.)