Oscillators
Presented
by
Dr.SAROAJ ADAK
Professor
DEPARTMENT OF ELECTRONICS AND COMMUNICATION
ENGINEERING
VISAKHA INSTITUTE OF ENGINEERING & TECHNOLOGY
Introduction
Oscillator is an electronic circuit that generates a
periodic waveform on its output without an external
signal source. It is used to convert dc to ac.
Oscillators are circuits that produce a continuous
signal of some type without the need of an input.
These signals serve a variety of purposes.
Communications systems, digital systems
(including computers), and test equipment make use
of oscillators
Oscillators
Oscillation: an effect that repeatedly and regularly
fluctuates about the mean value
Oscillator: circuit that produces oscillation
Characteristics: wave-shape, frequency, amplitude,
distortion, stability
3
Ref:06103104HKN EE3110 Oscillator
Application of Oscillators
Oscillators are used to generate signals, e.g.
Used as a local oscillator to transform the RF signals to IF
signals in a receiver;
Used to generate RF carrier in a transmitter
Used to generate clocks in digital systems;
Used as sweep circuits in TV sets and CRO.
4
Ref:06103104HKN EE3110 Oscillator
Oscillators
Oscillators are circuits that generate periodic
signals
An oscillator converts DC power from the power
supply into AC signal power spontaneously -
without the need for an AC input source
Figure 9.67 Repetitive ramp waveform.
Introduction
An oscillator is a circuit that produces a repetitive signal from
a dc voltage.
The feedback oscillator relies on a positive feedback of the
output to maintain the oscillations.
The relaxation oscillator makes use of an RC timing circuit to
generate a nonsinusoidal signal such as square wave
Sine wave
Square wave
Sawtooth wave
Types of oscillators
1. RC oscillators
Wien Bridge
Phase-Shift
2. LC oscillators
Hartley
Colpitts
Crystal
3. Unijunction / relaxation oscillators
Linear Oscillators
Figure 9.68 A linear oscillator is formed by connecting an amplifier and
a feedback network in a loop.
Integrant of Linear Oscillators
+ V
Vs Amplifier (A) Vo
+
Positive Vf Frequency-Selective
Feedback Network ()
Feedback
For sinusoidal input is connected
“Linear” because the output is approximately sinusoidal
A linear oscillator contains:
- a frequency selection feedback network
- an amplifier to maintain the loop gain at unity
9
Ref:06103104HKN EE3110 Oscillator
Basic Linear Oscillator
+ V
Vs A(f) Vo
+
Vf SelectiveNetwork
(f)
Vo AV A(Vs V f ) and V f Vo
Vo A
Vs 1 A
If Vs = 0, the only way that Vo can be nonzero
is that loop gain A=1 which implies that
| A | 1 (Barkhausen Criterion)
A 0
10
Ref:06103104HKN EE3110 Oscillator
Basic principles for oscillation
An oscillator is an amplifier with positive feedback.
Ve Vo
Vs A
+
Vf
b
Ve Vs V f (1)
V f βVo (2)
Vo AV e AVs V f AVs βVo (3)
Basic principles for oscillation
Vo AV e
AVs V f AVs βVo
Vo AV s AVo
1 A Vo AV s
The closed loop gain is:
Vo A
Af
Vs 1 Aβ
Basic principles for oscillation
In general A and are functions of frequency and
thus may be written as;
Vo As
A f s s
Vs 1 As β s
As β s is known as loop gain
Basic principles for oscillation
Writing T s As β s the loop gain
becomes;
As
A f s
1 T s
Replacing s with j
A jω
A f jω
1 T jω
T jω A jωβ jω
and
Basic principles for oscillation
At a specific frequency f0
T jω0 A jω0 β jω0 1
At this frequency, the closed loop gain;
A jω0
A f jω0
1 A jω0 β jω0
will be infinite, i.e. the circuit will have finite output
for zero input signal - oscillation
Basic principles for oscillation
Thus, the condition for sinusoidal oscillation of
frequency f0 is;
A jω0 β jω0 1
This is known as Barkhausen criterion.
The frequency of oscillation is solely determined by
the phase characteristic of the feedback loop – the
loop oscillates at the frequency for which the phase
is zero.
Barkhausen Criterion – another way
Figure 9.69 Linear oscillator with external signal Xin injected.
Barkhausen Criterion
How does the oscillation get started?
Noise signals and the transients associated with the circuit
turning on provide the initial source signal that initiate the
oscillation
Practical Design Considerations
Usually, oscillators are designed so that the loop gain
magnitude is slightly higher than unity at the desired frequency
of oscillation
This is done because if we designed for unity loop gain
magnitude a slight reduction in gain would result in oscillations
that die to zero
The drawback is that the oscillation will be slightly distorted (the
higher gain results in oscillation that grows up to the point that
will be clipped)
Basic principles for oscillation
The feedback oscillator is widely used for
generation of sine wave signals.
The positive (in phase) feedback arrangement
maintains the oscillations.
The feedback gain must be kept to unity to keep the
output from distorting.
Basic principles for oscillation
In phase
Vf Vo
Av
Noninverting
amplifier
Feedback
circuit
Design Criteria for Oscillators
1. The magnitude of the loop gain must be unity or
slightly larger
Aβ 1 – Barkhaussen criterion
2. Total phase shift, of the loop gain mus t be
Nx360° where N=0, 1, 2, …
RC Oscillators
RC feedback oscillators are generally limited to
frequencies of 1 MHz or less.
The types of RC oscillators that we will discuss are
the Wien-bridge and the phase-shift
Wien-bridge Oscillator
It is a low frequency oscillator which ranges from a
few kHz to 1 MHz.
Another way
Figure 9.70 Typical linear oscillator.
Wien-bridge Oscillator
The loop gain for the oscillator is;
R2 Z p
T s As β s 1
R Z Z
1 p s
where;
R
Zp
1 sRC
and; 1 sRC
Zs
sC
Wien-bridge Oscillator
Hence;
R2 1
T s 1
R1 3 sRC 1 /sRC
Substituting for s;
R2 1
T j 1
R1 3 jRC 1/jRC
For oscillation frequency f0 [0 ]
R2 1
T j0 1
R1 3 j0 RC 1/j0 RC
Wien-bridge Oscillator
Since at the frequency of oscillation, T(j) must be
real (for zero phase condition), the imaginary
component must be zero;
1
j0 RC 0
j0 RC
which gives us – [how?! – do it now]
1
0
RC
1
j0 RC 0
j0 RC
1
j0 RC
j0 RC
( j0 RC ) 2 1
j 2 0 RC 1
2
1.0 RC 1
2
0 RC 1
2
0 RC 1
1
0
RC
Wien-bridge Oscillator
From the previous eq. (for oscillation frequency f0),
R2 1
T j0 1
R1 3 j0 RC 1/j0 RC
the magnitude condition is;
R2 1 R2 1 R2
1 1 1 3 1 2
R1 3 0 R1 3 R1
To ensure oscillation, the ratio R2/R1 must be
slightly greater than 2.
Wien-bridge Oscillator
With the ratio; R
2
2
R1
then;
R2
K 1 3
R1
K = 3 ensures the loop gain of unity – oscillation
K > 3 : growing oscillations
K < 3 : decreasing oscillations
Wien-Bridge Oscillator – another way
R2
2
R1
R2 2 R1
non inverting,
R2
gain A 1 1 2 3
R1
Wien-bridge oscillator.
Wien-Bridge oscillator output
Figure 9.75 Example of output voltage of the oscillator.
Wien Bridge Oscillator
1 1 Frequency Selection Network
Let X C1 and X C 2
C1 C 2 Z1
Z1 R1 jX C1 R1 C1 Z2
1
1 1 jR2 X C 2
Z2 Vi C2 R2 Vo
R
2 jX C2 R2 jX C 2
Therefore, the feedback factor,
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
36
Ref:06103104HKN EE3110 Oscillator
can be rewritten as:
R2 X C 2
R1 X C 2 R2 X C1 R2 X C 2 j ( R1 R2 X C1 X C 2 )
For Barkhausen Criterion, imaginary part = 0, i.e.,
0.34
R1 R2 X C1 X C 2 0 0.32
Feedback factor
0.3
1 1 =1/3
or R1 R2 0.28
C1 C2 0.26
0.24
1 / R1 R2C1C2 0.22
0.2
Supposing, f(R=Xc)
1
R1=R2=R and XC1= XC2=XC,
0.5 Phase=0
Phase
RX C 0
3RX C j ( R 2 X C2 ) -0.5
-1
Frequency
37
Ref:06103104HKN EE3110 Oscillator
1
Example
By setting , we get
RC
Imaginary part = 0 and 1 Rf
3 R1
Due to Barkhausen Criterion,
Loop gain Av=1
+
where
Av : Gain of the amplifier C R
Vo
Rf R Z1
Av 1 Av 3 1 C Z2
R1
Rf Wien Bridge Oscillator
Therefore, 2
R1
38
Ref:06103104HKN EE3110 Oscillator
Phase-Shift Oscillator
The phase shift oscillator utilizes three RC circuits
to provide 180º phase shift that when coupled with
the 180º of the op-amp itself provides the necessary
feedback to sustain oscillations.
The gain must be at least 29 to maintain the
oscillations.
The frequency of resonance for the this type is
similar to any RC circuit oscillator:
1
fr
2 6 RC
Phase-Shift Oscillator
C R2
R
C v2
C v1 v2 v3
vi v1 vo
R R
vo R2
A( s )
v3 R
3
sRC sRC
v1 vi v3 vi
1 sRC 1 sRC
2 3
sRC v3 sRC
v2 vi (s)
1 sRC vi 1 sRC
Phase-Shift Oscillator
Loop gain, T(s):
3
R2 sRC
T ( s ) A( s ) ( s )
R 1 sRC
Set s=jw
3
R2 jRC
T ( j )
R 1 jRC
R2 ( jRC )(RC ) 2
T ( j )
R 1 3 R C jRC 3 R C
2 2 2 2 2 2
Phase-Shift Oscillator
To satisfy condition T(jwo)=1, real component must
be zero since the numerator is purely imaginary.
1 3 2 R 2C 2 0
the oscillation frequency: 1
0
3RC
Apply wo in equation:
R2 ( j / 3 )(1 / 3) R2 1
T ( jo )
R 0 ( j / 3 )3 (1 / 3) R 8
To satisfy condition T(jw o)=1greater than 8, the circuit will
R2 The gain
8 spontaneously begin oscillating & sustain
R oscillations
Phase-Shift Oscillator
1 R2
fo 29 The gain must be at least
2 6 RC
29 to maintain the
R oscillations
LC Oscillators
Use transistors and LC tuned circuits or crystals in
their feedback network.
For hundreds of kHz to hundreds of MHz frequency
range.
Examine Colpitts, Hartley and crystal oscillator.
Colpitts Oscillator
The Colpitts oscillator is a type
of oscillator that uses an LC
circuit in the feed-back loop.
The feedback network is made
up of a pair of tapped capacitors
(C1 and C2) and an inductor L to
produce a feedback necessary
for oscillations.
The output voltage is developed
across C1.
The feedback voltage is
developed across C2.
Colpitts Oscillator
KCL at the output node:
Vo Vo Vo
g mVgs 0 - Eq (1)
1 R 1
sL
sC1 sC2
voltage divider produces:
1
sC2
Vgs Vo
1
sC sL - Eq (2)
2
substitute eq(2) into eq(1):
Vo g m sC2 1 s 2 LC 2
1
sC1 0
R
Colpitts Oscillator
Assume that oscillation has started, then Vo≠0
2
s LC 2 1
s LC1C2
3
sC1 C2 g m 0
R R
Let s=jω
1 2 LC 2
g m
R R
j C1 C2 2 LC1C2 0
both real & imaginary component must be zero
Imaginary component:
1
o
C1C2 - Eq (3)
L
C1 C2
Colpitts Oscillator
both real & imaginary component must be zero
Imaginary component:
2 LC2 1
gm - Eq (4)
R R
Combining Eq(3) and Eq(4):
C2
gm R
C1
to initiate oscillations spontaneously:
C2
g m R
C1
Hartley Oscillator
The Hartley oscillator is
almost identical to the
Colpitts oscillator.
The primary difference
is that the feedback
network of the Hartley
oscillator uses tapped
inductors (L1 and L2) and
a single capacitor C.
C
Hartley Oscillator
the analysis of Hartley oscillator is identical to that
Colpitts oscillator.
the frequency of oscillation:
1
o
L1 L2 C
Crystal Oscillator
Most communications and digital applications require the
use of oscillators with extremely stable output.
output Crystal
oscillators are invented to overcome the output fluctuation
experienced by conventional oscillators.
Crystals used in electronic applications consist of a quartz
wafer held between two metal plates and housed in a a
package as shown in Fig. 9 (a) and (b).
Crystal Oscillator
Piezoelectric Effect
The quartz crystal is made of silicon oxide (SiO2) and
exhibits a property called the piezoelectric
When a changing an alternating voltage is applied across
the crystal, it vibrates at the frequency of the applied
voltage. In the other word, the frequency of the applied ac
voltage is equal to the natural resonant frequency of the
crystal.
The thinner the crystal, higher its frequency of vibration.
This phenomenon is called piezoelectric effect.
Crystal Oscillator
Characteristic of Quartz Crystal
The crystal can have two resonant
frequencies; R
One is the series resonance frequency f1 CM
L
which occurs when XL = XC. At this
frequency, crystal offers a very low
C
impedance to the external circuit where
Z = R.
The other is the parallel resonance (or
antiresonance) frequency f2 which
occurs when reactance of the series leg
equals the reactance of CM. At this
frequency, crystal offers a very high
impedance to the external circuit
Crystal Oscillator
The crystal is connected as a series element in the
feedback path from collector to the base so that it is
excited in the series-resonance mode
BJT
FET
Crystal Oscillator
Since, in series resonance, crystal impedance is the smallest that
causes the crystal provides the largest positive feedback.
Resistors R1, R2, and RE provide a voltage-divider stabilized dc bias
circuit. Capacitor CE provides ac bypass of the emitter resistor, RE
to avoid degeneration.
The RFC coil provides dc collector load and also prevents any ac
signal from entering the dc supply.
The coupling capacitor CC has negligible reactance at circuit
operating frequency but blocks any dc flow between collector and
base.
The oscillation frequency equals the series-resonance frequency of
the crystal and is given by: f 1
o
2 LCC
Unijunction Oscillator
The unijunction transistor
can be used in what is called
a relaxation oscillator as
shown by basic circuit as
follow.
The unijunction oscillator
provides a pulse signal
suitable for digital-circuit
applications. UJT
Resistor RT and capacitor CT
are the timing components
that set the circuit
oscillating rate
Unijunction Oscillator
Sawtooth wave
appears at the emitter
of the transistor.
This wave shows the
gradual increase of
capacitor voltage
Unijunction Oscillator
The oscillating frequency is calculated as follows:
1
fo
RT CT ln1 / 1
where, η = the unijunction transistor intrinsic stand-
off ratio
Typically, a unijunction transistor has a stand-off
ratio from 0.4 to 0.6