I used pulsar detection techniques to turn a phone into a watch timegrapher

chronolog.watch

75 points by tylerjaywood 4 days ago


tylerjaywood - 4 days ago

I built an audio timegrapher feature for my watch accuracy app, ChronoLog. Professional timegraphers use a piezo contact sensor and can cost upwards of $1,000. I wanted to do it with a phone mic.

The problem: an iPhone's built-in microphone picks up a mechanical watch's tick at about 1.5 dB SNR. The solution turned out to be epoch folding — the same technique radio astronomers use to find pulsars. Stack 100+ tick periods together and you get +20 dB of effective gain, enough to reliably measure rate and beat error.

The post covers the full DSP pipeline — bandpass filtering, epoch folding, autocorrelation (and why it finds harmonics before fundamentals at low SNR), Kalman filtering for convergence — and what I learned from five rounds of device testing.

aanet - 15 hours ago

Fantastic post. As a mechanical watch collector / enthusiast, I enjoyed reading this.

When you say "phone mic" do you mean the embedded one, or an external one?

syntaxing - 6 hours ago

Wow I’m a watch guy and this was a fun read. I used a couple of similar apps and they work ok. I wonder how yours stack up. You can get these cheap piezo ones for $150 but unsure how those perform either.

ThroneCreator - 11 hours ago

If the signal is periodic and the tick structure is stable, you might also be able to improve SNR further by aligning the detected peaks and averaging them rather than just stacking raw samples. That sometimes helps suppress random noise even more when the waveform shape is consistent.

Not sure how stable the waveform is across ticks in a mechanical watch though.

silisili - 16 hours ago

I've tried these as apps before, and they never worked that well unfortunately. Perhaps the ticks aren't loud enough, or phone mics aren't that great, or background noise gets picked up as ticks, who knows.

I bought and use the item linked below. It's big, and feels like tech straight out of the cold war era, but works great.

https://www.amazon.com/gp/aw/d/B0081SSJZG

zokier - 11 hours ago

How accurate are the clocks driving the DACs? Presumably the algorithm assumes that the audio is sampled at 48khz (or something) but that sample rate is unlikely to be perfectly exact?

encom - 13 hours ago

Neat, but I wish this wasn't a phone app (and Apple exclusive at that). My computer already has a high quality microphone that I assume would be more suitable for this purpose.

fred_is_fred - 15 hours ago

This is a fascinating read but what do you do with this information? Is there a threshold at which you need to take the watch apart and fix something or is this just useful info to know about your watch?

dune-aspen - 11 hours ago

[flagged]

darig - 11 hours ago

[dead]