Design Con 2015

Oscillators: How to generate a precise clock source

Ashish Kumar and Pushek Madaan, Cypress Semiconductor -February 11, 2013

In our modern era, digital logic has become the core of all the electronics circuits either in the form of an FPGA, microcontroller, microprocessor, or discreet logic. Digital systems use many components that must be interconnected to perform the required functions.  The vital element for proper operation of such a digital system is a CLOCK signal that enables all these digital components to communicate and establish synchronization between them. Hence, we always need a source to generate this clock signal.

This source comes in the form of an oscillator. Although most of today’s microcontrollers have an integrated RC oscillator, the clock generated by such an internal RC oscillator is typically not good enough to support the precision required for communication with other modules in the system. Thus, an external oscillator is required that can provide a clock signal to the complete system and yet meet all the requirements for precision, signal integrity and stability.

This article concentrates on the various aspects of an oscillator for accurate clock generation over temperature and time. Topics covered include:

  • Oscillator – Basic criteria for oscillation
  • Quartz crystal oscillator
  • Oscillator and stability
  • Q factor and it’s importance
  • Different types of crystal oscillator
Subsequent parts of this article will cover design and provide more detail on:

  • Pierce crystal (XO)
  • Voltage Controlled Oscillator (VCXO)
  • Temperature controlled oscillator (TCXO)
  • Oven controlled oscillator (OCXO)
  • Importance of Negative Resistance

 

What is an Oscillator?
In electronics, any circuit which is capable of generating a repetitive signal without any input can be termed an oscillator. In simple words, an oscillator converts DC energy into AC energy of the desired frequency. This oscillation frequency is determined by the constants of those elements which were used in designing of an oscillator. An oscillator circuit generally uses an amplifier with positive feedback; in order to maintain the oscillations, circuits must adhere to the Barkhausean criteria; i.e. the gain of the closed loop oscillation system must be unity and the phase shift around the loop must be 2nπ, where n can be any whole number, as shown in Figure 1.

When initially energized, the only signal in the circuit is noise. The component of noise that satisfies the frequency and phase condition for oscillation is propagated around the system with increasing amplitude due to positive feedback mechanisms. The amplitude of the signal is increased until it is limited by the internal characteristics of the active element itself or by an external automatic gain control (AGC) unit. The amount of time it takes to build up the oscillation depends upon multiple factors like amplitude of noise signal and gain of the loop, among others.

There are various types of oscillators available that can be used to build up oscillations, including RC oscillators, LC oscillators, and quartz oscillators. But when it comes to precision and accuracy over temperature and time, quartz oscillator are preferred because of their high Q (in the range of 104 to 106 as compared to 102 for LC, discussed in detail later in this article) which aids in achieving better stability across temperature and time.

 

Quartz oscillators

The biggest selling point of quartz crystal oscillators is their ability to generate a constant frequency under varying load and temperature conditions. In a quartz crystal oscillator, when a voltage source is applied to the crystal, it undergoes mechanical perturbations which in turn generate a voltage signal of a particular frequency, also known as the resonant frequency. The frequency generated depends upon the shape and size of the crystal, thus a crystal once cut cannot be used for any other frequency. The thinner the crystal, the higher the resonant frequency.

Loading comments...

Write a Comment

To comment please Log In