Maybe a simple diode bridge with a optocoupler can give a low cost solution.
Put the ac pins of the bridge in series with the element. Short the dc pins together.
Put an optocoupler with a small series resistor in parallel to the ac pins of the bridge. Use a small integration of the pulses of the output optocoupler.
You are done!
Ioannis




Bookmarks