[time-nuts] Logging the grid frequency....

Daniel Mendes dmendesf at gmail.com
Thu Feb 28 09:08:05 EST 2013


Thanks for all the comments about this topic. They are much appreciated.

About the difficulty of measuring every cycle with a conventional 
counter... thanks for that info, seems that i´ll have to make my own 
measurement hardware. I liked the idea of a time stamping counter.... 
it´s very doable in a FPGA :)

About the fact that 60Hz mains have a lot of noise... I knew that and 
that´s part of a PLL job (filter very fast noise), but unfortunately 
when doing this measurement job we can only use analog filters or else 
we´ll mess too much with the frequency... i´m using a transformer (to 
isolate and to give some inductance) with capacitors to make a low pass 
filter.

The PLL design is a wide band type.

Seems that frequency stays between 59,95Hz and 60,05Hz for 99,99% of the 
time... that´s an interesting point too.

Daniel



Em 22/02/2013 23:09, Bob Camp escreveu:
> Hi
>
> A lot depends on what the real objective is. Is the loop supposed to transfer all of the 60 Hz bumps and wiggles (wide band loop) or is it supposed to ignore them (narrow band loop) ? Given that the starting point is 60 Hz wide and narrow will be relative to that.
>
> Bob
>
> On Feb 22, 2013, at 7:44 PM, David <davidwhess at gmail.com> wrote:
>
>> On Fri, 22 Feb 2013 15:16:37 -0800, "Tom Van Baak"
>> <tvb at LeapSecond.com> wrote:
>>
>>>> There is a lot of noise on the line.  I'm not sure if frequency makes sense
>>>> on a cycle to cycle basis.
>>> Hal, it might make sense since the OP is designing a PLL and wants to get a feel for (short-term) frequency excursions. I would guess the whole point of his experiment is to quantify this; not just say there is "a lot" or "not much" noise over some number N of cycles.
>>>
>>> So that's why I posted the ADEV plot, which itself was based on timing every zero-crossing (using a time-stamping counter, not a frequency counter).
>> I have been thinking about this problem on and off all day and would
>> probably add a sampling phase detector driven by the output of the PLL
>> or just use a sampling phase detector in the PLL loop.  The sampling
>> time can be adjusted independently of the PLL filtering within reason
>> for whatever level of noise rejection in the measurement is desired.
>>
>> That would return the phase error on every cycle or even every half
>> cycle.
>>
>> The whole thing of course could be implemented digitally but I like
>> programming in solder.
>> _______________________________________________
>> time-nuts mailing list -- time-nuts at febo.com
>> To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
>> and follow the instructions there.
> _______________________________________________
> time-nuts mailing list -- time-nuts at febo.com
> To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
> and follow the instructions there.



More information about the time-nuts mailing list