Good evening all
I'm currently trying to design a 230v 6x bulb light fixture, and would like to detect the zero crossing point, and also the presence of 230v on another input.
Previously I have been using the following schematic for both purposes, however there is noticeable lag when detecting presence of 230vac (~250ms-400ms)

As the design I'm using is removing the galvanic isolation (as the circuit will be fully enclosed in the light fixture, and needs to save some space) I was wondering if anyone could advise on the best practice going forwards to detect Zero crossing, or presence of 230vac, while reducing standby current of 2 zero crossing detectors per fixture.
Something similar to this/ this looks almost ideal for a Zero crossing detector, but still only provides one part of the two inputs I'm looking for.
Looking through the forum I came across a response from ericgibbs (not that I can find the link now) showed using a LM293
behind a transformer, however is it possible to use a voltage divider instead without damaging the comparitor? Like fig31 in the data sheet.
Something similar to this?

Thanks in advance for any advice
I'm currently trying to design a 230v 6x bulb light fixture, and would like to detect the zero crossing point, and also the presence of 230v on another input.
Previously I have been using the following schematic for both purposes, however there is noticeable lag when detecting presence of 230vac (~250ms-400ms)

As the design I'm using is removing the galvanic isolation (as the circuit will be fully enclosed in the light fixture, and needs to save some space) I was wondering if anyone could advise on the best practice going forwards to detect Zero crossing, or presence of 230vac, while reducing standby current of 2 zero crossing detectors per fixture.
Something similar to this/ this looks almost ideal for a Zero crossing detector, but still only provides one part of the two inputs I'm looking for.

Looking through the forum I came across a response from ericgibbs (not that I can find the link now) showed using a LM293
behind a transformer, however is it possible to use a voltage divider instead without damaging the comparitor? Like fig31 in the data sheet.
Something similar to this?

Thanks in advance for any advice