Oscillator Old
Oscillator Old
The circuit consists of an inductive coil, L and a capacitor, C. The capacitor stores
energy in the form of an electrostatic field and which produces a potential (static
voltage) across itsplates, while the inductive coil stores its energy in the form of an
electromagnetic field. The capacitor is charged up to the DC supply voltage, V by
putting the switch in position A. When the capacitor is fully charged the switch
changes to position B. The charged capacitor is now connected in parallel across the
inductive coil so the capacitor begins todischarge itself through the coil. The voltage
across C starts falling as the current through the coil begins to rise. This rising current
sets up an electromagnetic field around the coil which resists this flow of current.
When the capacitor, C is completely discharged the energythat was originally stored
in the capacitor, C as an electrostatic field is now stored in the inductive coil,
L as an electromagnetic field around the coils windings.
EEE 245 Oscillator 7
Damped Oscillations
where: ƒr is in Hertz, L is in
Henries and C is in Farads.
Then the frequency at which
this will happen is given as:
Resonance Frequency
8
EEE 245 Oscillator
Resonant Frequency of a LC Oscillator
Where:
•C is the Capacitance in Farads
•ƒr is the Output Frequency in Hertz
•L is the Inductance in Henries
This equation shows that if either L or C is decreased, the frequency increases.
This output frequency is commonly given the abbreviation of ( ƒr ) to identify
it as the "resonant frequency".
Vf SelectiveNetwork
(f)
Oscillator Circuits
• LC-Tuned Oscillator
Colpitts oscillator
Hareley oscillator
• Op Amp-RC Oscillator Circuits
The Wien-Bridge Oscillator
The phase-Shift Oscillator
• Crystal Oscillator 12
EEE 245 Oscillator
LC Oscillators
The frequency selection
network (Z1, Z2 and Z3)
provides a phase shift of Av Ro
180o ~
The amplifier provides an +
addition shift of 180o
2 Z1 Z2 1
Two well-known Oscillators:
• Colpitts Oscillator Z3
Zp
• Harley Oscillator
16
EEE 245 Oscillator
Basic Colpitts Oscillator Circuit
R
For Oscillator V must not be zero, therefore it enforces,
1 2 LC2
g m
j (C1 C2 ) 3 LC1C2 0
R R
EEE 245 Oscillator 19
1 2 LC2
g m
j (C1 C2 ) 3 LC1C2 0
R R
21
EEE 245 Oscillator
Phase Angle
The circuit on the left shows a single resistor-capacitor network and whose
output voltage "leads" the input voltage by some angle less than 90o. An
ideal RC circuit would produce a phase shift of exactly 90o . The amount of
actual phase shift in the circuit depends upon the values of the resistor and
the capacitor, and the chosen frequency of oscillations with the phase angle
( Φ ) being given as:
the values of R and C have been chosen so that at the required frequency the
output voltage leads the input voltage by an angle of about 60o. Then the phase
angle between each successive RC section increases by another 60o giving a phase
difference between the input and output of 180o (3 x 60o ) as shown by the following
vector diagram.
Then by connecting together three such RC networks in series we can produce a
total phase shift in the circuit of 180o at the chosen frequency and this forms the
bases of a "phase shift oscillator" otherwise known as a RC Oscillator circuit. 22
EEE 245 Oscillator
Basic RC Oscillator Circuit
Where:
•ƒ is the Output Frequency in
Hertz
•R is the Resistance in Ohms
•C is the Capacitance in Farads
•N is the number of RC stages.
(in our example N = 3)
Rf
R1
C C C
Using an inverting amplifier
+ The additional 180o phase shift
R R R is provided by an RC phase-
shift network
V1 I1 ( R jX C ) I 2 R C C C
0 I1 R I 2 (2 R jX C ) I 3 R V1 Vo
0 I2R I 3 (2 R jX C )
R R R
I1 I2 I3
Solve for I3, we get
R jX C R V1
R 2 R jX C 0
R
I3 0 0
R jX C R 0
R 2 R jX C R
0 R 2 R jX C
V1R 2
Or I3
( R jX C )[(2 R jX C ) 2 R 2 ] R 2 (2 R jX C )
24
EEE 245 Oscillator
The output voltage,
V1R 3
Vo I 3 R
( R jX C )[(2 R jX C ) 2 R 2 ] R 2 (2 R jX C )
Then this frequency selective RC network forms the basis of the Wien Bridge
Oscillator circuit. If we now place this RC network across a non-inverting
amplifier which has a gain of 1+R1/R2 the following oscillator circuit is
produced.
Vo Z2 ( jR2 X C 2 / R2 jX C 2 )
Vi Z1 Z 2 ( R1 jX C1 ) ( jR2 X C 2 / R2 jX C 2 )
jR2 X C 2
( R1 jX C1 )( R2 jX C 2 ) jR2 X C 2
R1R2 X C1 X C 2 0 0.32
Feedback factor
0.3
1 1 =1/3
or R1 R2 0.28
0
RX C
3RX C j ( R 2 X C2 ) -0.5
-1
Frequency 30
EEE 245 Oscillator
1
Example
By setting RC , we get
1 Rf
Imaginary part = 0 and
3 R1
Due to Barkhausen Criterion,
For oscillations to occur in a Wien Bridge Oscillator circuit the following conditions must apply.
1. With no input signal the Wien Bridge Oscillator produces output oscillations.
2. The Wien Bridge Oscillator can produce a large range of frequencies.
3. The Voltage gain of the amplifier must be at least 3.
4. The network can be used with a Non-inverting amplifier.
5. The input resistance of the amplifier must be high compared to R so that the RC network is not
overloaded and alter the required conditions.
6. The output resistance of the amplifier must be low so that the effect of external loading is
minimised.
7. Some method of stabilizing the amplitude of the oscillations must be provided because if the
voltage gain of the amplifier is too small the desired oscillation will decay and stop and if it is too
large the output amplitude rises to the value of the supply rails, which saturates the op-amp and
causes the output waveform to become distorted.
8. With amplitude stabilisation in the form of feedback diodes, oscillations from the oscillator can
33
go on indefinitely.
EEE 245 Oscillator
The Quartz Crystal Oscillators
37
EEE 245 Oscillator
The slope of the reactance against frequency above, shows that the
series reactance at frequency ƒs is inversely proportional to Cs because
below ƒs and above ƒp the crystal appears capacitive, i.e. dX/dƒ, where
X is the reactance. Between frequencies ƒs and ƒp, the crystal appears
inductive as the two parallel capacitances cancel out. The point where
the reactance values of the capacitances and inductance cancel each
other out Xc = XL is the fundamental frequency of the crystal.
A quartz crystal has a resonant frequency similar to that of a
electrically tuned tank circuit but with a much higher Q factor due to
its low resistance, with typical frequencies ranging from 4kHz to
10MHz.
The cut of the crystal also determines how it will behave as some crystals
will vibrate at more than one frequency.
. Also, if the crystal is not of a parallel or uniform thickness it have two or
more resonant frequencies having both a fundamental frequency and
harmonics such as second or third harmonics.
The equivalent circuit above has three reactive components and there are
two resonant frequencies, the lowest is a series type frequency and the highest
a parallel type resonant frequency. 38
EEE 245 Oscillator
We have seen in the previous tutorials, that an amplifier circuit will oscillate
if it has a loop gain greater or equal to one and the feedback is positive.
In a Quartz Crystal Oscillator circuit the oscillator will oscillate at the
crystals fundamental parallel resonant frequency as the crystal always wants to
oscillate when a voltage source is applied to it.
However, it is also possible to "tune" a crystal oscillator to any even
harmonic of the fundamental frequency, (2nd, 4th, 8th etc.) and these are
known generally as Harmonic Oscillators while Overtone Oscillators vibrate at
odd multiples of the fundamental frequency, 3rd, 5th, 11th etc). Generally,
crystal oscillators that operate at overtone frequencies do so using their series
resonant frequency.
Pierce Crystal Oscillator
Colpitts
Crystal
Oscillator
39
EEE 245 Oscillator
Microprocessor Clocks
We already know, crystal oscillators provide the highest accuracy and
frequency stability compared to resistor-capacitor, (RC) or inductor-capacitor,
(LC) oscillators.
Virtually all microprocessors, micro-controllers, PICs and CPU's generally
operate using a Quartz Crystal Oscillator as its frequency determining device to
generate their clock waveform.
The CPU clock dictates how fast the processor can run and process the data
with a microprocessor, PIC or micro-controller having a clock speed of 1MHz
means that it can process data internally one million times per second at every
clock cycle.
•Most microprocessors, micro-controllers and PICs
have two oscillator pins labelled OSC1 and OSC2 to
connect to an external quartz crystal, RC network or
even a ceramic resonator. In this application the Quartz
Crystal Oscillator produces a train of continuous
square wave pulses whose frequency is controlled by the
crystal which inturn regulates the instructions that
controls the device. For example, the master clock and
system timing 40
EEE 245 Oscillator
A Pierce crystal oscillator utilizing a CMOS inverter as an amplifier.
R C
R C irms
R2
Blub Operating
point
Vrms
Rf
R1
Vo
+
C R
R
C
low pass region high pass region
fr f
is called the oscillator gain. Its units are hertz per volt.
is the symbol for the time-domain waveform that is the
VCO's tunable frequency component.
is the symbol for the time-domain waveform that is the
VCO's output phase.
is the time-domain symbol of the control (input) voltage of
the VCO; it is sometimes also represented as
VCO freq-domain equations
Voltage-Controlled Oscillators (VCOs)
• Voltage-controlled oscillator (VCO) – A free-running oscillator
whose output frequency is controlled by a dc input voltage.
Crystal Oscillator
Retriggerable (74123)
VHDL Coding
• VC(t) •1 2 3
•
VTH
•
• VTL
•t
• VCC
• VOUT (t)
• •TL •TH
•t
• t = 0 t = 0'
EEE 245 Oscillator 67
Schmitt-Trigger Inverter
(a) If input transition times are too long, a standard logic device-output
might oscillate or change erratically; (b) a logic device with a Schmitt-
trigger type of input will produce clean, fast output transitions.
EEE 245 Oscillator 68
ECE 3450 M. A. Jupina, VU,
Schmitt-Trigger Oscillator
•IIN
TL RC
VTL VOL (VOL VTH )e VTH VOH (VOH VTL )e TH RC
V
TL RC ln( VTHTL VOLOL )
V VOH VTL
TH RC ln( VOH VTH )
fOSC T1 TLEEE
1
, Duty
TH 245 Oscillator Cycle TH
T 71
A Square-wave Oscillator
vc
vo
vf +
v
+ f
vc v
¡Ð f
+vmax
vo
v
¡ Ð max