[time-nuts] WWVB BPSK Receiver Project?
phk at phk.freebsd.dk
Fri Mar 16 07:11:19 UTC 2012
In message <CAL8XPmM+O0EP7yK7mUC16urmyBesWb+wR4UyJd5LrhLCSbWt=g at mail.gmail.com>
, Azelio Boriani writes:
>I'm interested in your circular averaging buffer: suppose 1K long, the 1st
>sample goes into position 0, the 2nd into 1 ... the 1000th into 999 or, the
>1st gets scaled and then summed with that already present in position 0
>then the result back in position 0? And so on, of course, for position 1, 2
And once you have filled a few seconds into the buffer, you can multiply
each of the 1000 locations with a n*sine and n*cosine, and sum the results
and you have a phase vector for the signal at n KHz.
For signals like DCF77 on half kHz grid, you need a 2 msec = 2000 samples
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