3
\$\begingroup\$

I have always managed to keep the length of crystal resonator leads at the similar length. In the application I am working atm however, I noticed it would be suitable to place the crystal in a way, that one of the leads would be significantly shorter than the other. Since this connection is not a differential pair and the crystal can be treated just like an RLC model, I see no problem in that. But to be sure, I rather ask because I might miss something. So, does it matter either the leads are the same length or not?

enter image description here

I would appreciate all help regarding this.

\$\endgroup\$
  • \$\begingroup\$ 1nH/mm is insignificant at this frequency, but 0.1~1pF stray coupling to nearby signals may induce phase noise and with ground plane a few pF lowers f. \$\endgroup\$ – Tony Stewart Sunnyskyguy EE75 Jan 28 '17 at 23:04
  • \$\begingroup\$ See this question for some great answers: electronics.stackexchange.com/q/39136/30062 \$\endgroup\$ – David Jan 28 '17 at 23:24
3
\$\begingroup\$

Note that in your particular example, it'd be easy to make the traces have the same length – just route them as differential pair up to the middle of your oscillator and split there.

Now, in general, trace length does matter, since it's the job of the oscillator to keep in a sustaining loop of oscillation through an amplifying circuitry that also does a defined phase shift (typically, 180°), and if your traces were wildly different, than that phase shift would become different and the oscillation unstable.

However, a couple of degrees phase imbalance won't matter here. As a rule of thumb, less than \$\frac1{10}\$ of a wavelength is OK – and wavelength is dictated by your oscillator's frequency, dividing the speed of wave propagation in your PCB (most probably, something like \$\frac23c_0\$).

Taking a 40 MHz oscillator as an example, that would lead to \$\lambda=5\,\text m\$, and your puny board probably is smaller than half a meter :)

What's really interesting, though, is whether your lines' lengths add significant capacitance to your oscillating circuitry, because that would reduce the frequency.

\$\endgroup\$
  • \$\begingroup\$ Yes its a bit smaller :). I thought of doing what you said about keeping the traces length simmilar, but then I would have more turrns on the traces. Then again, I belive it doesnt matter for this frequency (12Mhz crystal). \$\endgroup\$ – Bremen Jan 28 '17 at 23:11
  • 2
    \$\begingroup\$ you wouldn't believe how irrelevant turns are aside from æstethic aspects as long as your frequencies aren't high enough to make FR4 an unsuitable substrate. What matters is electrical length – and of course, don't build close serpentines unless you want to increase inductivity :) \$\endgroup\$ – Marcus Müller Jan 28 '17 at 23:24
2
\$\begingroup\$

You don't want ridiculously long or different lengths, but your layout should be fine. What is the ASIC that the crystal connects to? Are there any external capacitors that should connect to the crystal?

\$\endgroup\$
  • \$\begingroup\$ Its FT4232. Crystal caps are just above the crystal. They are just out of the picture there. \$\endgroup\$ – Bremen Jan 28 '17 at 22:57
1
\$\begingroup\$

I suspect "phase shift" or equal capacitive loading is a bit of a red herring anyway.

The two terminals of a typical crystal oscillator are not symmetrical; one is a low impedance output, the other is a high impedance input, from the perspective of the driving circuit.

So go ahead and make them different lengths. But make sure the high impedance one is as short as possible (minimising pickup of external signals), and the low impedance one is as long as necessary.

\$\endgroup\$
  • \$\begingroup\$ How can there be an impedance difference on a two terminal device? \$\endgroup\$ – BeB00 Sep 20 '19 at 19:27
  • \$\begingroup\$ @BeB00 : The different impedances are in the IC driving the crystal, not the crystal itself. \$\endgroup\$ – Brian Drummond Sep 20 '19 at 21:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.