The STR71x 32-bit MCU family from STMicroelectronics runs with an external oscillator
which is connected to the CK pin.
A straightforward solution for the external oscillator is to purchase an oscillator chip which
fits the application requirements. However, this solution is normally costly. This application
note gives the user a low cost oscillator solution with discrete components and based on a
resonator or quartz.
Resonators have shorter start-up time compared to crystals but they have less frequency
accuracy. Depending on the application requirements, users can choose between short
start-up time and frequency accuracy. In this application note, a quartz crystal is used in the
oscillator circuitry.
There are two primary quartz-controlled oscillators circuitries. Such circuitries are generally
described by the type of crystal unit used:
■ Series resonant oscillator (when a series resonant quartz crystal is used)
■ parallel resonant oscillator (when a parallel resonant quartz crystal is used).
The advantages of the second solution are low cost and low power consumption.
The aim of this application note is to provide a methodology to design an oscillator solution
based on a quartz crystal operating in parallel resonance mode for the STR71x.
This document is split into two main sections. The first provides a brief description of both
oscillator theory and the quartz characteristics while the second proposes an oscillator
design and details the related components selection.
An oscillator consists of an amplifier and a feedback network to provide frequency selection.
The following figure shows the block diagram of the basic principle.
Figure 1.Oscillator principle
Active element
A(f)
Vout
B(f)
Passive feedback element
Where:
A(f) is the complex transfer function of the amplifier providing energy to the loop in
order to keep it oscillating.
Af() Af() e
⋅=
jfα f()
B(f) is the complex transfer function of the feedback which is setting the oscillator
frequency.
Bf() Bf() e
⋅=
jfβ f()
To oscillate, the following Barkhausen conditions must be fulfilled. The closed loop gain
should be greater than 1 and the total phase shift of 360° is to be provided.
Af() Bf() 1≥⋅
and
α f() βf()+2π=
In order to get the oscillator to start up, it needs initial electrical energy. Power-up transients
as well as noise can supply the needed energy. However, the energy level should be high
enough to trigger oscillation at the required frequency. Mathematically, this is represented by
|A(w)|.|B(w)| >> 1 which means that the open loop gain should be much higher than 1. The
time until steady oscillations are reached depends on the open loop gain.
3/14
Quartz crystal characteristicsAN2441
2 Quartz crystal characteristics
A quartz crystal is a piezoelectric device transforming electrical energy to mechanical
energy and vice versa. The transformation occurs at the resonant frequency. It can be
modeled as follows:
Figure 2.Quartz equivalent circuitry
R
Where:
C
represents the shunt capacitance resulting from the capacitor formed by the
0
electrodes and the parasites of the contacts.
L (motional inductance) represents the vibrating mass of the crystal.
C (motional capacitance) represents the elasticity of the crystal
R represents the circuit losses.
LC
C
0
Because R is normally negligible, the impedance of this circuitry is given by the following
equation:
The following figure represents the quartz reactance across its operating frequency:
Figure 3.Quartz crystal reactance across frequency
Impedance
Area of usual parallel
resonance
reactive
0
capacitive
Series Resonance
F
s
Anti Resonance
F
a
Frequency
4/14
AN2441Quartz crystal characteristics
Two resonant frequencies can be calculated.
●The series-resonance frequency F
is attained when the impedance Z approaches 0.
s
F
s
1
-------------------=
2π LC
The phase shift at the series resonance frequency is zero. At the series resonance, the
impedance is minimal and the current flow is maximal.
●The anti resonance frequency F
is attained when the impedance Z approaches the
a
infinity.”
FaFs1
C
------ -+=
C
0
The area between F
and Fa is called the “usual parallel resonance” or simply “parallel
s
resonance”
When the crystal operates in parallel resonance, its frequency F
has the following expression
Parallel resonance means that a small capacitance called load capacitance C
placed across the crystal terminals to obtain the desired operating frequency.
Figure 4 shows load capacitance with the crystal equivalent circuitry.
Figure 4.Load capacitance across a parallel resonant quartz
R
2.1 Frequency vs. mode
FpFs1
LC
C
0
C
L
--------------------+=
CLC+
is between Fs and Fa and
p
C
0
should be
L
A crystal resonance can occur:
●at the F
or Fp frequencies (formulas given earlier). This is the fundamental mode
a
which is used for frequencies smaller than 30 MHz.
●at an odd multiple of the F
or Fp (harmonics of Fa or Fp). These are the third, fifth, (...)
a
overtone frequencies. This mode is used for frequencies above 30 MHz.
The crystal must be specified to operate at the desired frequency and on the desired
overtone. One should never attempt to order a crystal operating at its fundamental
frequency and operate it at an overtone frequency.
5/14
Loading...
+ 9 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.