You did not followed exactly my thought.
Look at the attached schematic. You have to calculate the small resistor (I use SMD of 470 Ohms at 0805 size) according to bridge and Opto characteristics.
No need for power parts.
Light and dirty cheap.
The integrator or a simple delay will be done in software. When you have powered your load, current will flow through the bridge. A small voltage drop is then developed across the AC terminals of about 1,4-2 volts. The reverse voltage is small enough not to destroy the opto led.
So, when you have powered the load, normally the opto transistor will give a square waveform of line frequency. If the load is faulty, no current will flow and no pulses will be generated.
Ioannis
Bookmarks