Good day all,
I've been messing around with crystal oscillators a bit lately, due to eventually needing it for various projects, and simply due to curiosity. I've found many designs online, some work, some simply don't. Nevertheless, the ones that I have gotten to work all seem to have this odd issue.... they output highly distorted, decidedly NON-sine waves. This is contrary to what is usually shown in tutorials on youtube, which invariable always work so nicely, with a high amplitude output of picture perfect sine waves.
In looking at the waveform on my scope, it occurred to me that it looked like a mix of multiple sine waves. For discussions sake, lets assume I am using the circuit demonstrated at with a 30 MHz crystal and capacitors sized a tad smaller than his recommended for 25MHz crystals, in the table at the end of his video. But, this issue I am having is not just with this circuit, it is with many others, so this should not be taken as being a problem of just his design.
I switched on my spectrum analyzer and see that the output is indeed right at 30MHz...but there are also outputs at 60 MHz, etc, at harmonics. Zooming out the spectran's stop frequency can show several of these, almost looks like a comb of frequencies.
Why is this happening? It certainly can't be normal... the outputs shown on various videos are always so darned clean. That nice clean sine wave, with no harmonic content. What could I be doing wrong?
Things I have tried, to no effect:
-Varying Vcc from 5V up to 15V, amplitude of all unwanted harmonics tracks directly in-line with the fundamental.
-Using different capacitors, whether cheap ceramics, to good quality Vishay NP0, to mica. No change.
-A different crystal. No change.
-2N2222 vs 2N3904. Same thing.
-Ground plane construction via soldering over solid copper sheet, vs components on a plastic breadboard. Same thing.
-Different oscilloscope probes. Siglent, vs P6100, vs older HP probes. Nothing different.
What to do? Thanks in advance.