Basic Electronics Engineering Chapter 4
Basic Electronics Engineering Chapter 4
Chapter 4
Operational Amplifier and Oscillator
1. Basic Model
An operational amplifier (Op-Amp), is a very high-gain differential amplifier with high input
impedance and low output impedance. Basically, operational amplifiers are used in mathematical
operations, oscillators, filter circuits, and many types of instrumentation circuits. Fig. 4.1 shows a
basic Op-Amp with two inputs and one output as would result using a differential amplifier.
Figure 4.1: a) Basic op-amp symbol and b) 8-pin DIP package of 741 Op-Amp
In relation to our previous discussion of differential amplifier, the inputs v and v corresponds to vi1
and vi 2 respectively and output corresponds to single-ended output vo 2 . If the input is applied to non-
inverting terminal (+), output will be in phase with input and when input is applied to inverting (-),
the output will result in out of phase with input.
Ideal Op-Amp
An ideal operational amplifier is one that has the following properties: It has
1. Infinite open loop gain
2. Infinite input impedance
3. Zero output impedance
4. Infinite bandwidth
5. Infinite Common Mode Rejection Ratio (CMRR)
6. Input terminals are virtually short or grounded
Prepared by: Ashok Chhetry for Himalaya College of Engineering, Lalitpur, Nepal
80 A Course Manual on Basic Electronics Engineering
v c = common voltage
Prepared by: Ashok Chhetry for Himalaya College of Engineering, Lalitpur, Nepal
81 A Course Manual on Basic Electronics Engineering
Av 1 vc
vo Ad vd 1 c c Ad vd 1
Ad vd CMRR vd
This shows that for large values of CMRR, the output voltage will be Ad vd , with the common-mode
component greatly reduced or rejected. Ideally, the value of the CMRR is infinite. Practically, the
larger the value of CMRR, the better is the circuit operation.
15
Av 105 the input voltage would then be vd 150V
105
Prepared by: Ashok Chhetry for Himalaya College of Engineering, Lalitpur, Nepal
82 A Course Manual on Basic Electronics Engineering
Inverting Amplifier
The most widely used constant-gain amplifier circuit is the inverting amplifier as shown in the Fig.
4.4.
Using the concept of virtual ground between the input terminals, v v 0 . Since for ideal Op-Amp
input impedance is infinity, it draws no current.
Applying KCL,
vi v v vo
R1 Rf
vi vo
for v 0
R1 Rf
vo Rf
is the closed loop voltage gain.
vi R1
-ve sign indicates that the output is out of phase (inverting) with input applied voltage.
Non-inverting Amplifier
Fig. 4.5 shows an Op-Amp circuit that works as a non-inverting amplifier or constant gain multiplier.
Using the concept of virtual ground between the input terminals, v v vi . Applying KCL,
Prepared by: Ashok Chhetry for Himalaya College of Engineering, Lalitpur, Nepal
83 A Course Manual on Basic Electronics Engineering
0 v v vo
R1 Rf
vi vi vo
for v vi
R1 Rf
vo 1 1
vi
Rf R f R1
vo R f
1 is the closed loop voltage gain.
vi R1
2. Op-Amp Applications
Integrator
If the feedback component used is capacitor as shown in Fig 4.6, the resulting connection is called
integrator.
Using the concept of virtual ground, v v 0 . Since for ideal Op-Amp input impedance is infinity,
it draws no current.
Applying KCL,
vi v
C
d v vo
R1 dt
vi dv
C o for v 0
R1 dt
Prepared by: Ashok Chhetry for Himalaya College of Engineering, Lalitpur, Nepal
84 A Course Manual on Basic Electronics Engineering
dvo 1 vi
dt C R1
1
vo
R1C
vi dt The output is the integration of input.
If the input is square wave, then output from integrator will be triangular wave.
Differentiator
Fig. 4.7 shows the differentiator circuit using Op-Amp. It is rarely used for the operation.
Using the concept of virtual ground, v v 0 . Since for ideal Op-Amp input impedance is infinity,
it draws no current.
Applying KCL,
C
d vi v
v vo
dt Rf
dvi v
C o for v 0
dt Rf
dvi
vo R f C The output is the differentiation of input.
dt
If the input is triangular wave, then output from integrator will be square wave.
Prepared by: Ashok Chhetry for Himalaya College of Engineering, Lalitpur, Nepal
85 A Course Manual on Basic Electronics Engineering
Using the concept of virtual ground, v v 0 . Since for ideal Op-Amp input impedance is infinity,
it draws no current.
Applying KCL,
v1 v v2 v v3 v v vo
R1 R2 R3 Rf
v1 v2 v3 vo
for v 0
R1 R2 R3 Rf
v v v
vo R f 1 2 3 The output is the sum of inputs multiplied by constant-gain.
R1 R2 R3
If more inputs are used, they each add an additional component to the output.
Prepared by: Ashok Chhetry for Himalaya College of Engineering, Lalitpur, Nepal
86 A Course Manual on Basic Electronics Engineering
Using the concept of non-inverting input, the output due to v alone is,
R3 R4
vo1 v1 1
R1 R3 R2
R4 R3
If we set
R2 R1
R3 R3 R
vo v1 1 v 2 3
R1 R3 R1 R1
R3 R1 R3 R
vo v1 v2 3
R1 R3 R1 R1
vo
R3
v1 v2 The output is the difference of inputs multiplied by constant-gain.
R1
network, where it is combined with a feedback signal V f . The difference of these signals Vi is then
the input voltage to the amplifier. A portion of the amplifier output Vo is connected to the feedback
network ( ), which provides a reduced portion of the output as feedback signal to the input mixer
network.
Prepared by: Ashok Chhetry for Himalaya College of Engineering, Lalitpur, Nepal
87 A Course Manual on Basic Electronics Engineering
Vo Vo
A
Vs Vi
Vi Vs V f
Vo 1 A AVs
So, the overall gain with feedback is,
Vo A
Af
Vs 1 A
This shows that the gain with feedback is the amplifier gain reduced by the factor 1 A .
Concept of stability
The negative feedback reduces the gain but it has many advantages. One of the main advantage is it
increases the gain stability. As the feedback network consists of passive components, thus we can
choose the values of those components precisely and gain can be stabilized.
As we know that,
A
Af
1 A
Differentiating with respect to A
Prepared by: Ashok Chhetry for Himalaya College of Engineering, Lalitpur, Nepal
88 A Course Manual on Basic Electronics Engineering
dAf dA 1
Af A 1 A
Since 1 A 1 , the percentage change in gain with negative feedback is less than the percentage
change in gain without using feedback. Thus, gain stability is improved by use of negative feedback.
4. Oscillator
An oscillator is an element that generates alternating signal of known frequency and amplitude. More
specifically, it can be defined in any of the following ways.
It is a circuit which produces ac signal (but generators cannot be called oscillators!)
It is an unstable amplifier
Oscillators have numerous advantages such as they are used in radio transmitters, receivers and
radars.
Importance of Positive Feedback in Oscillator
The use of positive feedback that results in a feedback amplifier having closed-loop gain A f greater
than 1 and satisfies the phase conditions will result in operation as an oscillator circuit. If positive
feedback is employed in oscillators, the closed loop gain will be,
A
Af
1 A
When A 1 , then A f . That means there will be measurable output signal even if no input signal
Prepared by: Ashok Chhetry for Himalaya College of Engineering, Lalitpur, Nepal
89 A Course Manual on Basic Electronics Engineering
Types of Oscillators
Depending upon the shape of the waveform produced oscillators may be sinusoidal oscillator, square
wave oscillator. If the output signal varies sinusoidally, the circuit is referred to as a sinusoidal
oscillator. If the output voltage rises quickly to one voltage level and later drops quickly to another
voltage level, the circuit is generally referred to as a pulse or square-wave oscillator.
However, we will deal different types of oscillator circuits that are categorized according to operating
frequency. They are low frequency (e.g.Wien Bridge, RC phase shift) oscillator, high frequency
oscillator (e.g. Hartley, Colpitt) and fixed frequency (e.g. Crystal) oscillator.
All these categories of oscillators produce sinusoidal signals.
Prepared by: Ashok Chhetry for Himalaya College of Engineering, Lalitpur, Nepal
90 A Course Manual on Basic Electronics Engineering
jRX C
vf R jX C jRX C
vo
R jX C jRX C
R jX C 2 jRX C
R jX C
vf jRX C RX C
vo 2 2
R j 3RX C X C 3RX C j R 2 X C2
This quantity must be real number for zero phase shift, for this R 2 X C2 must be zero, which gives,
1
R 2 X C2 or R and
2fC
1 vf 1 R
f is the frequency of oscillation. At this frequency, .Thus A 1 2 3 which
2RC vo 3 R1
R
implies 3 1 2 or R2 2R1 .
R1
Hartley Oscillator
The Hartley oscillator circuit is shown in Fig 4.11.
Here, the operational amplifier provides 180o phase shift (inverting mode) and LC circuit provides an
extra 180o phase shift, so the total phase shift of 360o is achieved. Which is one of the required
conditions for oscillation. Without paying much concentration on the derivation, we directly use the
expression for frequency of oscillation as,
1
f where Leq L1 L2
2 Leq C
Prepared by: Ashok Chhetry for Himalaya College of Engineering, Lalitpur, Nepal
91 A Course Manual on Basic Electronics Engineering
Colpitt Oscillator
The Hartley oscillator circuit is shown in Fig 4.12.
Here, total phase shift of 360o is achieved in same manner as that of Hartley oscillator. The frequency
of oscillation is given by,
1 C1C2
f where Ceq
2 LC eq C1 C2
R2
v LT v sat v sat
R1 R2
Prepared by: Ashok Chhetry for Himalaya College of Engineering, Lalitpur, Nepal
92 A Course Manual on Basic Electronics Engineering
resistor R f to the inverting (-) input. As long as the capacitor voltage vC is less than vUT , the output
remains at v sat .
When capacitor charge to a value slightly greater than vUT , the output is switched from v sat to v sat .
As vo switches to v sat , the capacitor starts discharging via R f . As long as the capacitor voltage vC is
greater than v LT , the output remains at v sat . When vC becomes slightly more negative than the
feedback voltage v LT , the output voltage switches back to v sat . In the same way, the process repeats
and periodic waveform is produced.
Prepared by: Ashok Chhetry for Himalaya College of Engineering, Lalitpur, Nepal
93 A Course Manual on Basic Electronics Engineering
Frequency of Oscillation
The frequency of oscillation is determined from the time taken by the capacitor to charge from
v sat to v sat and vice versa. The instantaneous value of voltage across the capacitor is related as,
t
vC (t ) v max [v max vinitial ]e RC
t1
1 vsate Rf C
1 v sat
1
t1
Rf C
e
1
t1 1
ln
Rf C 1
1
t1 R f C ln
1
1
t1 R f C ln
1
Time taken by the capacitor to charge from v sat to v sat is same as the time taken to charge from
v sat to v sat . Therefore total time required for the oscillation is,
1
T t1 t2 2 R f C ln
1
Now, the frequency of oscillation will be,
1
f
1
2 R f C ln
1
R2 1
If R1 R2 ,
R1 R2 2
Prepared by: Ashok Chhetry for Himalaya College of Engineering, Lalitpur, Nepal
94 A Course Manual on Basic Electronics Engineering
Prepared by: Ashok Chhetry for Himalaya College of Engineering, Lalitpur, Nepal