Hacker News new | ask | show | jobs
by jacquesm 51 days ago
That 'local TXDO' is most likely being governed by some kind of phase lock on the PPS or some other divisor and may well lead to terrible clock jitter in the short term while giving you insane precision over the longer term. Allan deviation plots made by a device clocked by a standard that is better than the one that you are checking is the only way to be sure how good (or bad) things really are.

I have a couple of GPSDOs here and it is fun to play them against each other, the differences in the short term can be substantial, but over anything more than a few days they are extremely accurate.

2 comments

Also how much short-term inaccuracy there is depends on the type of oscillator used. An OCXO will (usually) have less short-term jitter and better stability with ambient temperature changes than a chip-scale atomic clock module, but will drift more than the atomic clock long-term. The really expensive setups combine various clocks to maximize stability over all the durations of interest & minimize influence from various external factors (temperature, humidity, barometric pressure, external magnetic fields, other EMI, gravitational bias, etc.).

Gravitational bias is a really fun one since you can easily demonstrate it & its' not immediately obvious. Take a quartz oscillator, and a reference oscillator. Measure the frequency of both. Turn the quartz oscillator on its side. The phase (and usually also frequency) will change: the physical quartz has inertia & gravitational mass, so changing its orientation changes how it oscillates. In one orientation the movement of the quartz atoms is perpendicular to the force of gravity, so both directions of oscillation are biased the same amount. In another orientation one the movement of the quartz atoms is parallel to the force of gravity, so the part of the crystal moving down accelerates a bit more than the part of the crystal moving up.

> An OCXO will (usually) have less short-term jitter and better stability with ambient temperature changes than a chip-scale atomic clock module, but will drift more than the atomic clock long-term.

Indeed! And that short term stability of a (good) OCXO is most impressive, you can fairly easily outperform a GPSDO and with a little work and a lot of attention to supply voltage and other external influences you can even (short term) outperform an atomic clock. But aging is a thing, you'll need to re-calibrate almost every week if you care about that kind of precision. I have a bunch of different standards to compare with each other and the first time I got lucky with a very good OCXO I was wondering if I had made some kind of mistake, it was that stable.

That gravitational bias thing sounds very interesting, I knew it existed but did not realize you could trivially demonstrate it like that, I'll have to try this.

EEVBlog #646[1] demonstrates the gravitational bias.

[1] https://www.youtube.com/watch?v=zILwgQhjC_Q

Amazing... I have some other stuff on the go right now that takes priority but as soon as I have my hands free I'm on this.

Thank you.

I'm aware, and yeah GPS is disciplining the TXCO, but I'm saying it's stable enough for non specialty uses outside of stuff like serving as a frequency reference. If you just want a clock source for NTP without the internet then all of this is already overkill.

You're also not likely to be out of GPS for particularly long stretches of time.