Zero crossing detection

I need to design a zero crossing detector (involving  AC mains), the output  of the zero crossing detector will be fed into a microcontroller via an optocoupler.
Can anyone please tell me how to effectively do this?. At the moment my design involves the use of a bridge rectifier, a comparator and some resistors.

Thank you
Who is Participating?
Dr. KlahnConnect With a Mentor Principal Software EngineerCommented:
Zero-crossing switch ICs have been around for some time.  They are very useful in switching reactive loads.  Suggest you look at the Fairchild zero crossing switch family for starters, which will give you an idea of what is available.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.