Mains frequency display

Posted on Tuesday, December 10th, 2013 in hacks by DP


fowkc has just published his latest project the mains frequency display:

I wanted to make a display that could show the mains frequency to 3 decimal places. I’d be using the same seven-segment display modules that I used in my UNIX clock, so all I had to do was design the part that would work out the frequency.

This entry was posted on Tuesday, December 10th, 2013 at 3:09 pm and is filed under hacks. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

6 Responses to “Mains frequency display”

  1. Peter says:

    The mains frequency is supposed to be tightly controlled. According to the wikipedia article, it goes up and down ~100 PPM throughout the day but they adjust it to achieve the correct number of cycles per day (50 Hz × 60 sec × 60 min × 24 hours = 4,320,000 cycles per day). Supposedly they are accurate down to the cycle.

    The deviations measured are not what I imagined– much larger. The area under the curve should exactly equal the area under the curve but that does not seem to be the case. Have you tried counting the total number of cycles per day? Another thing is that the cycle accounting is supposed to balance at 8:00 AM Swiss time.

    • fowkc says:

      I’m in the UK, so we’re not on the European grid, though we probably have similar requirements.

      If I read Wikipedia right, the +/- a few hundred PPM target is for the average frequency over a day, not the frequency at a particular time (which has a much larger variation).

      I could try cycle-counting, if I get a chance to go back the project.

  2. Peter says:

    Should be area over the curve and area under the curve (wrt 50Hz).

  3. AMS says:

    You might want to go with a GPS-disciplined clock for this as there’s many ways to make the RTC chip inaccurate that will mess up your frequency count.

  4. Grant says:

    I think it will depend a bit on what country your from (and even what state / locality) as to how accurate your local supply is, but I know they do try to keep it close here.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • KH: TPS62200 will get him to under 15uA, a bit better than the 20-30uA he mentioned. I would try the same thing. Switch some resistors in...
  • KH: Yeah, it's an end-user thing. Very few people would spend hundreds of hours on this kind of project and sustain it. It's more or less...
  • Max: Not quite a dinosaur if you've seen Big Hero 6 though... wait. You've watched it with your kids, didn't you? That's cheating...! ;) One of...
  • Edward Mallon: A visiting researcher dropped by our humble basement workshop with questions about the physical skill level students would need if they added one of our...
  • KH: And that looks really expensive... Only browsed the vid though, I'm an dinosaur so I had the sound off too. Nice of him to open-source...