[time-nuts] TEC party: hardware suggestion

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Jun 30 09:05:05 UTC 2011


In message <4E0C35FF.8050201 at physik.uzh.ch>, Achim Vollhardt writes:
>Time-Nutties,
>
>how about using a small uC (PIC/AVR) clocked with 100ns instruction 
>speed. Start = 1PPS from GPS, Stop = 60 Hz Edge? Use internal capture 
>hardware to count processor cycles in between.

If you really want to do this:

Sample the mains signal with an ADC at around 1000kHz.   Mix it
down to baseband, calculate I/Q magnitudes and use ATAN2 to find
phase.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.




More information about the Time-nuts_lists.febo.com mailing list