Strange extra frequency in crystal oscillator

This really looks like a sampling artifact on your end, not something the crystal is doing. Expand the scope time scale (lower time/division) until you only have a cycle or two per division at most. If it's a sampling aliasing problem, then the artifact should disappear.

Alternatively, look at the signal with a Ye Olde Analog scope.

If it turns out it's a sampling artifact, go back and read up on sampling theory, paying particular attention to what Nyquist had to say. Also learn about "aliasing".

Basically, a point sampled stream can only preserve frequencies up to half the sample rate. Higher frequencies than half the sample rate look like lower frequencies in the input signal. Put another way, after sampling everything looks like a frequency from 0 to half the sample rate, whether it was in that range before or not.

In practice, it's good to have a healthy margin between twice the highest frequency in the input signal and the sample rate.


Two observations:

  1. 12.28 and 12.72 are exactly symmetrical about 12.50 MHz.
  2. The displayed wave form seems to have "beats" in it

Beats are either real (you would see beats if you had a mixture of two frequencies present) or they are a sampling artifact. It is not necessary for the sampling frequency to be too low (in the sense of the Nyquist criterion) - it is sufficient for there to be a near-perfect "phase lock" between the sampling frequency, and the frequency of interest.

In this case, I think the beats are a consequence of the way the data is being displayed. I wrote a few lines of code to simulate this. If you assume that your display is 512 pixels wide, and you display one sample per pixel column, then for the given frequency you get the following plot:

enter image description here

Which is indistinguishable from two frequencies beating with each other. Now I know your display is probably narrower than that, but perhaps there is some attempted cleverness in the display software - precisely to attempt to reduce aliasing. But "clever" isn't always the same as "right".

I agree with Olin - put the old analog scope to work... or at the very least, display fewer cycles on your screen to see what that tells you.

Tags:

Clock

Fft

Crystal