Magnethicc
Member level 5

Hi Everyone,
I want to design a circuit that reliably detects if the mains frequency is 50Hz or 60Hz (no microcontroller).
I first though of scaling down the ac voltage and than filtering using notch filter to filter out 60Hz, than compare if there is a signal on the output, if so then I know line freq. is 50Hz but the problem with that is:
1. mains frequency can shift a bit so high q filters are not very robust in the presence of a wide tolerances frequencies.
2. mains voltage vary from country to country so I cannot relay on constant amplitude to compare if signal (at the output of the filter) is present or not.
Another idea I had was using a zero-cross detector to generate a square wave with the frequency of the mains and then use a frequency to voltage converter (something like this) and comparing the output voltage level with a reference level to detect 50hz or 60hz.
I have a few other ideas but I was interested to hear other ideas,
Thanks!
I want to design a circuit that reliably detects if the mains frequency is 50Hz or 60Hz (no microcontroller).
I first though of scaling down the ac voltage and than filtering using notch filter to filter out 60Hz, than compare if there is a signal on the output, if so then I know line freq. is 50Hz but the problem with that is:
1. mains frequency can shift a bit so high q filters are not very robust in the presence of a wide tolerances frequencies.
2. mains voltage vary from country to country so I cannot relay on constant amplitude to compare if signal (at the output of the filter) is present or not.
Another idea I had was using a zero-cross detector to generate a square wave with the frequency of the mains and then use a frequency to voltage converter (something like this) and comparing the output voltage level with a reference level to detect 50hz or 60hz.
I have a few other ideas but I was interested to hear other ideas,
Thanks!