Thursday 30 October 2014

Using crystals in embedded applications - Part 5

What is series resonance and parallel resonance in crystals?

Series resonance crystal does not have any reactive components like capacitor. Parallel resonance crystal is used where there are reactive components involved. Series resonance crystals are resistive in nature where as parallel resonant crystals combine the phase shift properties of reactive components to determine the oscillator frequency. The following circuits explain the difference.

Parallel Resonant circuit

Series Resonant circuit 

In a parallel resonant circuit, load capacitance is a critical specification.Load capacitance is the capacitance which is seen across the terminals of crystal. When we use this crystal in the application, this load capacitance must match the load capacitance requirements of the device to which crystal is connected. 

A same crystal can act as series as well as parallel resonant. When used in an application, the first resonance at which crystal oscillates is the series resonance and later when reactive component like capacitor is added it oscillates at different frequency which is called parallel resonance. So, from this point if i want to use a parallel resonant crystal and we use a series resonant crystal my crystal operates at a higher frequency than desired. In turn, if a parallel resonant crystal is used in place of series resonant requirement, the parallel resonant crystal operates at a lower frequency than specified.

What is the bandwidth of crystal?

The difference between series resonant frequency and parallel resonant frequency is called the bandwidth of the crystal. Lower the bandwidth higher the stability of the crystal. As per the quality factor definition, (Centre Frequency/bandwidth), lower the bandwidth higher the quality of the crystal. So, for your application choose a crystal by checking at the quality factor curve.

What is the crystal equivalent circuit?


In the above circuit,
Co = Holder capacitance (capacitance contributed by leads extending outside the crystal)
L1 = Motional inductance
C1 = Motional Capacitance
R1 = Series resistance

The common term used in crystal specification is hermetically sealed package. What does that mean?

Hermetically sealed meant air tight enclosure with only provision for external connectivity. In our crystals case, the electrodes are extended out.

What is the difference between AT cut and AT strip crystals?

AT cut is the cylindrical version of the crystal and AT cut is the stripped version of cylindrical crystals for miniature crystals.

What constraints can affect the crystal performance?
  • Assume that we connected a crystal in our application, the drive provided to the crystal should not exceed the specifications of crystal. If drive provided exceeds the rating, the crystal life time gets reduced.
  • Temperature at which the crystal is operated
  • Improper load capacitance can vary the crystal frequency from the desired value
What are the fundamental and overtone specification of a crystal?

Fundamental frequency is specified for lower frequency crystals (around 8 MHz, 24 MHz, etc) where as overtone is odd multiple of fundamental frequency. Overtone crystals are not preferred for micro-controller applications.

Tuesday 28 October 2014

Using crystals in embedded applications - Part 4

Ceramic resonator (vs) Quartz Crystal (vs) RC Oscillator (vs) Silicon Oscillator:
  • Ceramic resonator and quartz crystal are mechanical resonant devices where as oscillator works on electrical phase shift principle (where R-C are the phase shift circuit).
  • Power consumption of Ceramic is more than quartz crystal. 
  • Ceramic resonators have good rise time than quartz crystals.
  • Ceramic resonator and quartz crystal operate on the same principle as the electrical signal applied to them causes mechanical vibrations. 
  • Ceramic resonators are more rugged than crystal.
  • Quartz crystals are very stable and maintain their frequency under extreme conditions. Quartz crystal may not drift from it's frequency even when the PCB stray capacitance is high. Also, at quick varying temperatures, the quartz crystal remains stable.
  • Ceramic resonators are made of ceramic material which are not as stable as quartz. These are piezoelectric in nature.
  • Comparatively, Quartz costs more than ceramic resonators. 
  • Ceramic requires much higher load capacitance required to quartz crystal.
  • An oscillator is addition of feedback to the crystal along with amplification such that oscillations happen. Take the case of micro-controller, on the external clock pins we add a crystal and combined with internal circuitry it forms a oscillator.
  • Oscillator is immune to EMI and humid conditions as they come packaged with all components for frequency generation.
  • Temperature co-efficient which is a important material property is low for crystals and resonators.
  • Ceramic resonators are available in miniature packages also.
  • Ceramic resonator can sometimes be of compound material which helps change the characteristics of the crystal as per the material.
  • The main disadvantages of oscillators is package size and cost and sensitive to vibration,  

Note: Some micro-controllers have internal capacitors, in this case, there is no need to have external capacitors.

Considering the disadvantages of ceramic resonator compared to Quartz, where do they find application?

Check the age old radio circuits you find resonators. Also, they are used in cost critical application and applications where stability is not important criteria.

What is the main selection criteria for any clock input?

Accuracy is the important criteria. Depending on the application for which the circuit is used, clock must be chosen properly. For example, applications like USB, SATA, PCIe requires a very stable clock with less deviation from the desired frequency.

Note: There are R-C oscillators internal to some ics which have very less stability but is a very cheap implementation. Micro-controller internal RC oscillator is an example.