You are on page 1of 171

A.

A Science and Technology University School of Electrical Engineering and Computing

Chapter One
Feedback Amplifiers

A feedback amplifier is one in which a fraction of the amplifier output is fed back
to the input circuit. This partial dependence of amplifier output on its input helps to
control the output. A feedback amplifier consists of two parts: an amplifier and a
feedback circuit.

(i) Positive feedback


If the feedback voltage (or current) is so applied as to increase the input voltage
(i.e. it is in phase with it), then it is called positive feedback. Other names for it are:
regenerative or direct feedback. Since positive feedback produces excessive
distortion, it is seldom used in amplifiers. However, because it increases the power
of the original signal, it is used in oscillator circuits.

(ii) Negative feedback


If the feedback voltage (or current) is so applied as to reduce the amplifier input
(i.e. it is 180° out of phase with it), then it is called negative feedback. Other names
for it are: degenerative or inverse feedback. Negative feedback is frequently used
in amplifier circuits.

Principle of Feedback Amplifiers


For an ordinary amplifier i.e. one without feedback, the voltage gain is given by
the ratio of the output voltage Vo and input voltage Vi. As shown in the block
diagram of Fig. 1.1, the input voltage Vi is amplified by a factor of A to the value
Vo of the output voltage.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 1
A.A Science and Technology University School of Electrical Engineering and Computing

Fig. 1.1
A = Vo /Vi
This gain A is often called open-loop gain.
Suppose a feedback loop is added to the amplifier (Fig. 1.2). If Vo´ is the output
voltage withfeedback, then a fraction β* of this voltage is applied to the input
voltage which, therefore,becomes(Vi ± βVo´) depending on whether the feedback
voltage is in phase or antiphase with it. Assumingpositive feedback, the input
voltage will become (Vi + βVo´). When amplified A times, it becomesA(Vi +
βVo´).

Fig 1.2
Therefore
A (Vi + βVo´) = Vo´
or
Vo´ (1 – βA) =AVi
The amplifier gain A´ with feedback is given by


𝑉𝑜 ′ 𝐴
𝐴 = =
𝑉𝑖 1 − 𝛽𝐴

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 2
A.A Science and Technology University School of Electrical Engineering and Computing

𝐴
𝐴′ = is called positive feedback
1−𝛽𝐴


𝑉𝑜 ′ 𝐴 𝐴
𝐴 = = =
𝑉𝑖 1 − (−𝛽𝐴) 1 + 𝛽𝐴
𝐴
𝐴′ = is called negative feedback
1+𝛽𝐴

The term ‘βA’ is called feedback factor whereas β is known as feedback ratio. The
expression (1 ± βA) is called loop gain. The amplifier gains A´ with feedback is
also referred to as closedloopgain because it is the gain obtained after the feedback
loop is closed. The sacrifice factor isdefined as S = A/A´.

(a) Negative Feedback


𝐴
The amplifier gain with negative feedback is given by 𝐴′ =
1+𝛽𝐴

Obviously, A´ <A because | 1 + βA | > 1.


Suppose, A = 90 and β = 1/10 = 0.1
Then, gain without feedback is 90 and with negative feedback is
𝐴 90 90
𝐴′ = = = =9
1 + 𝛽𝐴 1 + 0.1𝑥90 10

As seen, negative feedback reduces the amplifier gain. That is why it is called
degenerativefeedback. A lot of voltage gain is sacrificed due to negative feedback.
When | βA | » 1, then
𝐴 1
𝐴′ ≅ ≅
𝛽𝐴 𝛽
It means that A´ depends only on β. But it is very stable because it is not affected
by changes intemperature, device parameters, supplyvoltage and from the aging of

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 3
A.A Science and Technology University School of Electrical Engineering and Computing

circuit components etc. Sinceresistors can be selected veryprecisely with almost


zero temperature-coefficient of resistance, it ispossible to achieve highly precise
and stable gain with negative feedback.

(b) Positive Feedback


The amplifier gain with positive feedback is given by
𝐴
𝐴′ = Since [1- βA] < 1, 𝐴′ > 𝐴
1−𝛽𝐴

Suppose gain without feedback is 90 and β = 1/100 = 0.01, then gain with positive
feedback is
90
𝐴′ = = 900
1 − (0.01𝑥90)
Since positive feedback increases the amplifier gain. It is called regenerative
feedback. If βA= 1, thenmathematically, the gain becomes infinite which simply
means that there is an outputwithout any input! However, electrically speaking,
this cannot happen. What actually happens isthat the amplifier becomes an
oscillator which supplies its own input. In fact, two important andnecessary
conditions for circuit oscillation are
1. The feedback must be positive,
2. Feedback factor must be unity i.e. βA = +1

Advantages of Negative Feedback


The numerous advantages of negative feedback are:
1. higher fidelity i.e. more linear operation
2. highly stabilized gain
3. increased bandwidth i.e. improved frequency response
4. less amplitude distortion

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 4
A.A Science and Technology University School of Electrical Engineering and Computing

5. less harmonic distortion


6. less frequency distortion
7. less phase distortion
8. reduced noise
9. input and output impedances can be modified as desired

Example 1.1
In the series-parallel (SP) feedback amplifier of Fig. 1.3, calculate
(a) open-loop gain of the amplifier (c) closed-loop gain of the
(b) gain of the feedback network amplifier
(d) sacrifice factor, S

Fig 1.3
Solution
(a) Since 1 mV goes into the amplifier and 10 V comes out
10𝑉
𝐴=
= 10000
1𝑚𝑉
(b) The feedback network is being driven by the output voltage of 10 V.
Gain of the feedback network β
𝑜𝑢𝑡𝑝𝑢𝑡 250𝑚𝑉
𝛽= = = 0.025
𝑖𝑛𝑝𝑢𝑡 10𝑉

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 5
A.A Science and Technology University School of Electrical Engineering and Computing

(c) So far as the feedback amplifier is concerned, input is (250 + 1) = 251 mV


and final output is 10 V.
Hence, gain with feedback is
A´ = 10 V/251 mV = 40
(d) The sacrifice factor is given by
𝐴 10000
𝑠= = = 250
𝐴′ 40
Example 1.2
Calculate the gain of a negative feedback amplifier whose gain without feedback is
1000 and β= 1/10. To what value should the input voltage be increased in order
that the output voltage with feedback equals the output voltage without feedback?

Solution
Since | βA | » 1, the closed-loop gain is
1 1
𝐴′ ≅ ≅ = 10
𝛽 1⁄10
The new increased input voltage is given by
Vi´ = Vi (1 + βA) = 50 (1 + 0.04 × 100) = 250 mV

Gain Stability
The gain of an amplifier with negative feedback is given by
𝐴
𝐴′ =
1 + 𝛽𝐴
Taking logs of both sides, we have loge A´ = loge A – loge(1 + βA)
Differentiating both sides, we get
𝑑𝐴′ 𝑑𝐴 𝛽. 𝑑𝐴 1 𝛽 1 𝑑𝐴 (𝑑𝐴⁄𝐴)
= − = 𝑑𝐴 [ − ] = =
𝐴′ 𝐴 1 + 𝛽𝐴 𝐴 1 + 𝛽𝐴 1 + 𝛽𝐴 𝐴 1 + 𝛽𝐴
If βA » 1, then the above expression becomes

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 6
A.A Science and Technology University School of Electrical Engineering and Computing

𝑑𝐴′ 1 𝑑𝐴
= .
𝐴′ 𝛽𝐴 𝐴
Example 1.3
An amplifier has an open-loop gain of 400 and a feedback of 0.1. If open-loop gain
changes by 20% due to temperature, find the percentage change in closed-loop
gain.
Solution
Here, A = 400, β = 0.1, dA/A = 20% = 0.2
Now,
dA′ 1 dA 1
= . = . 20% = 0.5 %
A′ βA A 0.1x400
It is seen that while the amplifier gain changes by 20%, the feedback gain changes
by only0.5% i.e. animprovement of 20/0.5 = 40 times

Feedback over Several Stages


Multistage amplifiers are used to achieve greater voltage or current amplification
or both. In such a case, we have a choice of applying negative feedback to improve
amplifier performance. Either we apply some feedback across each stage or we can
put it in one loop across the whole amplifier.

A multistage amplifier is shown in Fig. 1.4. In Fig. 1.4 (a) each stage of the n-stage
amplifier has a feedback applied to it. Let A and β1 be the open-loop gain and
feedback ratio respectively of each stage and A1 the overall gain of the amplifier.
Fig. 1.4 (b) shows the arrangement where n amplifiers have been cascaded in order
to get a total gain of An. Let the overall feedback factor be β2 and the overall gain
A2. The values of the two gains are given as

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 7
A.A Science and Technology University School of Electrical Engineering and Computing

Fig. 1.4

𝑛
𝐴 𝐴𝑛
𝐴1 = [ ] 𝑎𝑛𝑑𝐴2 =
1 + 𝐴𝛽1 1 + 𝐴𝑛 𝛽2
Differentiating the above two expressions, we get
𝑑𝐴1 𝑛 𝑑𝐴 𝑑𝐴2 𝑛 𝑑𝐴
= . 𝑎𝑛𝑑 = .
𝐴1 1 + 𝐴𝛽1 𝐴 𝐴2 1 + 𝐴𝑛 𝛽2 𝐴
For the two circuits to have the same overall gain, A1 = A2. Hence, from Eqn. (i)
above, we get
(1 − 1𝛽)𝑛 = 1 + 𝐴𝑛 𝛽2
𝑑 𝐴2 ⁄𝐴2 1
=
𝑑 𝐴1 ⁄𝐴1 (1 + 𝐴𝛽)𝑛−1
If n = 1, then the denominator in the above equation becomes unity so that
fractional gain variations are the same as expected. However, for n > 1 and with (1
+ Aβ1) being a normally large quantity, the expression dA2/A2 will be less than
dA1/A1. It means that the overall feedback would appear to be beneficial as far as
stabilizing of the gain is concerned.

Example 1.4
An amplifier with 10% negative feedback has an open-loop gain of 50. If open-
loop gain increases by 10%, what is the percentage change in the closed-loop gain?

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 8
A.A Science and Technology University School of Electrical Engineering and Computing

Solution
Let 𝐴1 ′ and 𝐴2 ′ be the closed-loop gains in the two cases and A1 and A2 the open-
loop gains respectively.

𝐴1 55
(i) 𝐴1 ′ = = = 8.33
1+𝛽𝐴1 1+0.1𝑥50

(ii) When open-loop gain changes by 10%, then A2 = 50 + 0.1 × 50 = 55


𝐴1 55
∴ 𝐴2 ′ = = = 8.46
1 + 𝛽𝐴2 1 + 0.1𝑥55
∴Percentage change in closed-loop gain is
𝐴2 ′ − 𝐴1 ′ 8.46 − 8.33
𝑥100 = 𝑥100 = 1.56%
𝐴1 ′ 8.33

Example 1.5
Write down formulae for (i) gain (ii) harmonic distortion of a negative feedback
amplifier in terms of gain and distortion without feedback and feedback factor. If
gain without feedback is 36 dB and harmonic distortion at the normal output level
is 10%, what is (a) gain and (b) distortion when negative feedback is applied, the
feedback factor being 16 dB.

Solution
Distortion ratio is defined as the ratio of theamplitude of the largest harmonic to
the amplitude of the fundamental.
𝐴
𝐴𝑓 = 𝐴′ =
1 + 𝛽𝐴
Now, dB gain = 20 log10 A
36 = 20 log10 A, A = 63
Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 9
A.A Science and Technology University School of Electrical Engineering and Computing

dB feedback factor = 20 log10 βA


16 = 20 log10 βA or βA = 6.3

(a) Af = A/(1 + βA) = 63/(1 + 6.3) = 6.63 or 18.72 dB


(b) D´ = 10 per cent/(1 + 6.3) = 1.4 per cent

Increased Bandwidth
The bandwidth of an amplifier without feedback is equal to the separation between
the 3 dB frequencies f1 and f2.
BW = f2 – f1
Where f1 = lower 3 dB frequency, and f2 = upper 3 dB frequency. If A is its gain,
the gain-bandwidth product is A × BW.

Now, when negative feedback is applied, the amplifier gain is reduced. Since the
gain-bandwidth product has to remain the same in both cases, it is obvious that the
bandwidth must increase to compensate for the decrease in gain. It can be proved
that with negative feedback, the lower and upper 3 dB frequencies of an amplifier
become.

𝑓1
(𝑓 ′ )1 = 𝑎𝑛𝑑 (𝑓)2 = 𝑓2 (1 + 𝛽𝐴)
1 + 𝛽𝐴

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 10
A.A Science and Technology University School of Electrical Engineering and Computing

Fig. 1.5
As seen from Fig. 1.5, f1´ has decreased whereas f2´ has increased thereby giving a
wider separation or bandwidth. Since gain-bandwidth product is the same in both
cases.
A × BW = A´ × BW´ or A(f2 – f ´1) = A(f ´2 – f ´1)

Example 1.6
An RC-coupled amplifier has a mid-frequency gain of 200 and a
frequencyresponse from 100 Hz to 20 kHz. A negative feedback network with β=
0.02 is incorporated into theamplifier circuit. Determine the new system
performance.

Solution
𝐴 200
𝐴′ = = = 40
1 + 𝛽𝐴 1 + 0.02𝑥200
𝑓1 100
𝑓1 ′ = = = 20 𝐻𝑧
1 + 𝛽𝐴 1 + 0.02𝑥200

f2 ´ = f0 (1 + βA) = 20(1 + 0.02 × 200) = 100 Hz


dW´ = f2´– f1´ ≅100 kHz

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 11
A.A Science and Technology University School of Electrical Engineering and Computing

Incidentally, it may be proved that gain-bandwidth product remains constant in


both cases.
dW = f2 – f1≅20 kHz
A × dW = 200 × 20 = 4000 kHz;
A´ × dW´= 40 ×100 = 4000 kHz
As expected, the two are equal.

Forms of Negative Feedback

The four basic arrangements for using negative feedback are shown in the block
diagram of Fig. 1.6. As seen, both voltage and current can be feedback to the input
either in series or in parallel. The output voltage provides input in Fig. 1.6 (a) and
(b). However, the input to the feedback network is derived from the output current
in Fig. 1.6 (c) and (d).

(a) Voltage-series Feedback


It is shown in Fig. 1.6 (a). It is also called shunt-derived series-fed feedback.The
amplifier and feedback circuit are connected series-parallel. Here, a fraction of the
output voltage is applied in series with the input voltage via the feedback. As seen,
the input to the feedback network is in parallel with the output of the amplifier.
Therefore, so far as Vo is concerned, output resistance of the amplifier is reduced
by the shunting effect of the input to the feedback network. It can be proved that
𝑅0
𝑅0 ′ =
1 + 𝛽𝐴
Similarly, Vi sees two circuit elements in series: (i) the input resistance of the
amplifier and (ii) output resistance of the feedback network. Hence, input
resistance of the amplifier as a whole is increased due to feedback. It can be proved
that
Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 12
A.A Science and Technology University School of Electrical Engineering and Computing

Ri´ =Ri (1 + β A)
In fact, series feedback always increases the input impedance by a factor of (1 +
βA). (b) Voltage-shunt Feedback It is shown in Fig. 1.6 (b). It is also known as
shunt-derived shunt-fed feedback i.e. it is parallel-parallel(PP) prototype. Here, a
small portion of the output voltage is coupled back to the inputvoltage parallel
(shunt).

Since the feedback network shunts both the output and input of the amplifier, it
decreases both its output and input impedances by a factor of 1/(1 + βA)
A shunt feedback always decreases input impedance.
(c) Current-series Feedback
It is shown in Fig. 1.6 (c). It is also known as series-derived series-fed feedback.
As seen, it is a series-series (SS) circuit. Here, a part of the output current is made
to feedback a proportional voltage in series with the input. Since it is a series pick-
up and a series feedback, both the input and output impedances of the amplifier are
increased due to feedback.
(d) Current-shunt Feedback
It is shown in Fig. 1.6 (d). It is also referred to as series-derived shunt-fed
feedback. It is a parallel-series (PS) prototype. Here, the feedback network picks
up a part of the output current and develops a feedback voltage in parallel (shunt)
with the input voltage. As seen, feedback network shunts the input but is in series
with the output. Hence, output resistance of the amplifier is increased whereas its
input resistance is decreased by a factor of loop gain.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 13
A.A Science and Technology University School of Electrical Engineering and Computing

Fig. 1.6
The effects of negative feedback on amplifier characteristics are summarized
below:

Characteristics Type of Feedback


Voltage Voltage Current Current
series shunt series shunt
Voltage gain Decreases decreases decreases decreases
Bandwidth Increases increases increases increases
Harmonic Distortion Decreases decreases decreases decreases
Noise Decreases decreases decreases decreases
Input Resistance Increases decreases increases decreases
Output Resistance Decreases decreases increases increases

Shunt-derived Series-fed Voltage Feedback

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 14
A.A Science and Technology University School of Electrical Engineering and Computing

The basic principle of such a voltage-controlled feedback is illustrated by the block


diagram of Fig.1.7. Here, the feedback voltage is derived from the voltage divider
circuit formed of R1 and R2. As seen, the voltage drop across R1 forms the
feedback voltage Vf.
𝑅1
𝑉𝑓 = 𝑉𝑜 = 𝛽𝑉𝑜
𝑅1 + 𝑅2

Fig.1.7
Example 1.7
In the voltage-controlled negative feedback amplifier of Fig. 1.8, calculate (a)
voltage gain without feedback (b) feedback factor (c) voltage gain with feedback.
Neglect VBE and use re = 25 mV/IE.

Fig. 1.8

Solution
𝑟𝐿 𝑅3
(a) 𝐴 = =
𝑟𝑒 𝑟𝑒

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 15
A.A Science and Technology University School of Electrical Engineering and Computing

15 𝑉
Now, 𝐼𝐵 = = 10𝜇𝐴
1.5 𝑀𝛺

𝐼𝐸 = 𝛽𝐼𝐵 = 100𝑥10 𝜇𝐴 = 1𝑚𝐴


25𝑚𝑉
𝑟𝑒 = = 25 𝑉
1𝑚𝐴
10 𝐾𝛺
𝐴= = 400
25 𝛺
𝑅1 1.5𝑥106
(b) 𝛽 = = (1.5+10)𝑥106
= 0.13
𝑅1 +𝑅2

𝛽𝐴 = 0.13𝑥400 = 52
𝐴 400
(c) 𝐴′ = = = 7.55
1+𝛽𝐴 1+52

Current-series Feedback Amplifier

Fig. 1.9 shows a series-derived series-fed feedback amplifier circuit. Since the
emitter resistor is unbypassed, it effectively provides current-series feedback.
When IEpasses through RE, the feedback voltage drop Vf = IE REis developed
which is applied in phase opposition to the input voltage Vi. This negative
feedback reduces the output voltage V0. This feedback can, however, be eliminated
by either removing or bypassing the emitter resistor.

It can be proved that


𝑅𝐸 𝑅𝐶 𝑅𝐶
𝛽= ; 𝐴′ = ; 𝐴=
𝑅𝐶 𝑟𝑒 + 𝑅𝐸 𝑟𝑒

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 16
A.A Science and Technology University School of Electrical Engineering and Computing

Fig.1.9
Example 1.8
For the current-series feedback amplifier of Fig.1.9, calculate (i) voltage gain
without feedback, (ii) feedback factor, (iii) voltage gain with feedback. Neglect
VBE and use re = 25 mV/IE.

Solution
𝑅𝐸 𝑅𝐶 𝑅𝐶
𝛽= ; 𝐴′ = ; 𝐴=
𝑅𝐶 𝑟𝑒 + 𝑅𝐸 𝑟𝑒

𝑅𝐶
(i) 𝐴=
𝑟𝑒
𝑉𝐶𝐶 10
Now, 𝐼𝐸 = = = 1𝑚𝐴
𝑅𝐸 +𝑅𝐵 ⁄𝛽 1+900/100

25
𝑟𝑒 = = 25 𝛺
𝐼𝐸
𝑅𝐶 10 𝐾𝛺
𝐴= = = 400
𝑟𝑒 25 𝛺
𝑅𝐸 1
(ii) 𝛽= = = 0.1
𝑅𝐶 10

𝛽𝐴 = 0.1𝑥400 = 40
𝑅𝐶 10000
(iii) 𝐴′ = = = 9.756
𝑟𝑒 +𝑅𝐸 20+1000

𝐴 400
𝐴′ = = = 9.756
1 + 𝛽𝐴 1 + 400
Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 17
A.A Science and Technology University School of Electrical Engineering and Computing

Voltage-shunt Negative Feedback Amplifier


The circuit of such an amplifier is shown in Fig. 1.10. As seen, a portion of the
output voltage is coupled through RE in parallel with the input signal at the base.
This feedback stabilizes the overall gain while decreasing both the input and output
resistances. It can be proved that β = RC/RF.

Fig.1.10
Current-shuntNegativeFeedbackAmplifier
The two-stage amplifieremploying such a feedback isshown in Fig. 1.11.
Thefeedback circuit (consistingof CF and RF) samples the outputcurrent and
develops afeedback voltage in parallelwith the input voltage. Theunbypassed
emitter resistor ofQ2provides current sensing.The polarity of the feedback voltage
is such that it provides the negative feedback.

Fig.1.11
Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 18
A.A Science and Technology University School of Electrical Engineering and Computing

Chapter Two
Differential Amplifiers
Operational Amplifiers
The operational amplifier is a direct-coupled high gain amplifier usable from 0 to
over 1MHz to which feedback is added to control its overall response characteristic
i.e. gain and bandwidth. The op-amp exhibits the gain down to zero frequency.

Such direct coupled (dc) amplifiers do not use blocking (coupling and by pass)
capacitors since these would reduce the amplification to zero at zero frequency.
Large by pass capacitors may be used but it is not possible to fabricate large
Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 19
A.A Science and Technology University School of Electrical Engineering and Computing

capacitors on an IC chip. The capacitors fabricated are usually less than 20 pf.
Transistor, diodes and resistors are also fabricated on the same chip.

Differential Amplifiers
Differential amplifier is a basic building block of an op-amp. The function of a
differential amplifier is to amplify the difference between two input signals.
How the differential amplifier is developed? Let us consider two emitter-biased
circuits as shown in fig.2.1.

Fig.2.1
The two transistors Q1 and Q2 have identical characteristics. The resistances of the
circuits are equal, i.e. RE1 = RE2, RC1 = RC2 and the magnitude of +VCC is equal to
the magnitude of? VEE. These voltages are measured with respect to ground.
To make a differential amplifier, the two circuits are connected as shown in fig.2.1.
The two +VCC and? VEE supply terminals are made common because they are
same. The two emitters are also connected and the parallel combination of R E1 and
RE2 is replaced by a resistance RE. The two input signals v1& v2 are applied at the
base of Q1 and at the base of Q2. The output voltage is taken between two
collectors. The collectorresistances are equal and therefore denoted by RC = RC1 =
RC2.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 20
A.A Science and Technology University School of Electrical Engineering and Computing

Ideally, the output voltage is zero when the two inputs are equal. When v 1 is
greater than v2 the output voltage with the polarity shown appears. When v1 is less
than v2, the output voltage has the opposite polarity. The differential amplifiers are
of different configurations.

The four differential amplifier configurations are following:


1. Dual input, balanced output differential amplifier
2. Dual input, unbalanced output differential amplifier
3. Single input balanced output differential amplifier
4. Single input unbalanced output differential amplifier

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 21
A.A Science and Technology University School of Electrical Engineering and Computing

Fig.2.2
These configurations are shown in fig. 2.2, and are defined by number of input
signals used and the way an output voltage is measured. If use two input signals,
the configuration is said to be dual input, otherwise it is a single input
configuration. On the other hand, if the output voltage is measured between two
collectors, it is referred to as a balanced output because both the collectors are at
the same dc potential w.r.t. ground. If the output is measured at one of the
collectors w.r.t. ground, the configuration is called an unbalanced output.

A multistage amplifier with a desired gain can be obtained using direct connection
between successive stages of differential amplifiers. The advantage of direct
coupling is that it removes the lower cut off frequency imposed by the coupling
capacitors, and they are therefore, capable of amplifying dc as well as ac input
signals.

Dual Input, Balanced Output Differential Amplifier


The circuit is shown in fig. 2.1,v1 and v2 are the two inputs, applied to the bases of
Q1 and Q2 transistors. The output voltage is measured between the two collectors
C1 and C2, which are at same dc potentials.
Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 22
A.A Science and Technology University School of Electrical Engineering and Computing

D.C. Analysis
To obtain the operating point (ICQ and VCEQ) for differential amplifier dc equivalent
circuit is drawn by reducing the input voltages v1 and v2 to zero as shown in
fig.2.3.

Fig.2.3

The internal resistances of the input signals are denoted by R S because RS1= RS2.
Since bothemitters biased sections of the different amplifier are symmetrical in all
respects, therefore, the operating point for only one section need to be determined.
The same values of ICQ and VCEQ can be used for second transistor Q2.

Applying KVL to the base emitter loop of the transistor Q1


𝑅𝑆 𝐼𝐵 + 𝑉𝐵𝐸 + 2𝐼𝐸 𝑅𝐸 = 𝑉𝐸𝐸

𝐼𝐸
𝐼𝐵 = 𝑎𝑛𝑑𝐼𝐶 ≅ 𝐼𝐸
𝛽𝑑𝑐

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 23
A.A Science and Technology University School of Electrical Engineering and Computing

𝑉𝐸𝐸 − 𝑉𝐵𝐸
𝐼𝐸 = 𝐼𝐶 =
2𝑅𝐸 + 𝑅𝑆 ⁄𝛽𝑑𝑐

𝑉𝐵𝐸 = 0.7 𝑉𝑓𝑜𝑟𝑆𝑖 𝑎𝑛𝑑 0.2 𝑉𝑓𝑜𝑟𝐺𝑒

𝑅𝑆
Generally, ≪ 2𝑅𝐸 because 𝑅𝑆 is the internal resistance of input signal.
𝛽𝑑𝑐

𝑉𝐸𝐸 − 𝑉𝐵𝐸
𝐼𝐸 = 𝐼𝐶 =
2𝑅𝐸

The value of REis set up the emitter current in transistor Q1 and Q2 for a given
value of VEE. The emitter current in Q1 and Q2 are independent of collector
resistance RC.

The voltage at the emitter of Q1 is approximately equal to -VBE if the voltage drop
across R is negligible. Knowing the value of IC the voltage at the collector VC is
given by

VC =VCC - IC RC
and VCE = VC- VE
= VCC- IC RC + VBE
VCE = VCC + VBE - ICRC

From the two equations VCEQ and ICQ can be determined. This dc analysis is
applicable for all types of differential amplifier.

Example 2.1

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 24
A.A Science and Technology University School of Electrical Engineering and Computing

The following specifications are given for the dual input, balanced output
differential amplifier of fig.2.1:RC = 2.2 kΩ, RE = 4.7 kΩ, Rin 1 = Rin 2 = 50 Ω, +VCC
= 10V, -VEE = -10 V, βdc =100 and VBE = 0.715V. Determine the operating points
(ICQ and VCEQ) of the two transistors.

Solution:
The value of ICQ can be obtained from equation (Eqn 1)
𝑉𝐸𝐸 − 𝑉𝐵𝐸
𝐼𝐶𝑄 = 𝐼𝐸 =
2𝑅𝐸 + 𝑅𝑖𝑛 ⁄𝛽𝑑𝑐

10 − 0.715
𝐼𝐶𝑄 = 𝐼𝐸 = = 0.988𝑚𝐴
9.4 + 50⁄100
The voltage VCEQ can be obtained from equation (Eqn 2).
𝑉𝐶𝐸𝑄 = 𝑉𝐶𝐶 + 𝑉𝐵𝐵 − 𝑅𝐶 𝐼𝐶𝑄

= 10 + 0.715 − (2.2𝑘𝛺)(0.988𝑚𝐴)
= 8.54 𝑉

The values of ICQ and VCEQ are same for both the transistors.

Dual Input, Balanced Output Difference Amplifier


The circuit is shown in fig.2.4 v1 and v2 are the two inputs, applied to the bases of
Q1 and Q2 transistors. The output voltage is measured between the two collectors
C1 and C2, which are at same dc potentials.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 25
A.A Science and Technology University School of Electrical Engineering and Computing

Fig.2.4
A.C. Analysis
In previous lecture dc analysis has been done to obtain the operating point of the
two transistors.
To find the voltage gain Ad and the input resistance Ri of the differential amplifier,
the ac equivalent circuit is drawn using r-parameters as shown in fig.2.5. The dc
voltages are reduced to zero and the ac equivalent of CE configuration is used.

Fig.2.5
Since the two dc emitter currents are equal. Therefore, resistance r' e1 and r'e2 are
also equal and designated by r'e. This voltage across each collector resistance is
Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 26
A.A Science and Technology University School of Electrical Engineering and Computing

shown 180° out of phase with respect to the input voltages v1 and v2. This is same
as in CE configuration. The polarity of the output voltage is shown in Figure. The
collector C2 is assumed to be more positive with respect to collector C 1 even
though both are negative with respect to ground.

Applying KVL in two loops 1 & 2


𝑉1 = 𝑅𝑆1 𝑖𝑏1 + 𝑖𝑒1 𝑟𝑒 ′ + (𝑖𝑒1 + 𝑖𝑒2 )𝑅𝐸
𝑉2 = 𝑅𝑆2 𝑖𝑏2 + 𝑖𝑒2 𝑟𝑒 ′ + (𝑖𝑒1 + 𝑖𝑒2 )𝑅𝐸
Substituting current relations,
𝑖𝑒1 𝑖𝑒2
𝑖𝑏1 = , 𝑖𝑏2 =
𝛽 𝛽
𝑅𝑆1
𝑉1 = 𝑖𝑒1 + 𝑟𝑒 ′ 𝑖𝑒1 + 𝑅𝐸 (𝑖𝑒1 + 𝑖𝑒2 )
𝛽
𝑅𝑆2
𝑉2 = 𝑖 + 𝑟𝑒 ′ 𝑖𝑒2 + 𝑅𝐸 (𝑖𝑒1 + 𝑖𝑒2 )
𝛽 𝑒2
Again, assuming RS1/βand RS2/βare very small in comparison with RE and re' and
therefore neglecting these terms,

𝑉1 = (𝑟𝑒 ′ +𝑅𝐸 )𝑖𝑒1 + 𝑅𝐸 𝑖𝑒2


𝑉2 = (𝑟𝑒 ′ +𝑅𝐸 )𝑖𝑒2 + 𝑅𝐸 𝑖𝑒1
Solving these two equations, ie1 and ie2 can be calculated.
(𝑟𝑒 ′ + 𝑅𝐸 )𝑉1 − 𝑅𝐸 𝑉2
𝑖𝑒1 =
(𝑟𝑒 ′ + 𝑅𝐸 )2 − 𝑅𝐸 2

(𝑟𝑒 ′ + 𝑅𝐸 )𝑉2 − 𝑅𝐸 𝑉1
𝑖𝑒2 =
(𝑟𝑒 ′ + 𝑅𝐸 )2 − 𝑅𝐸 2
The output voltage VO is given by
VO = VC2 - VC1

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 27
A.A Science and Technology University School of Electrical Engineering and Computing

= -RC iC2 - (-RC iC1)


= RC (iC1 - iC2)
= RC (ie1 - ie2)
Substituting ie1, & ie2 in the above expression
(𝑟𝑒 + 𝑅𝐸 )𝑉1 − 𝑅𝐸 𝑉2 (𝑟𝑒 + 𝑅𝐸 )𝑉2 − 𝑅𝐸 𝑉1
𝑉𝑜 = 𝑅𝐶 { − }
(𝑟𝑒 ′ + 𝑅𝐸 )2 − 𝑅𝐸 2 (𝑟𝑒 ′ + 𝑅𝐸 )2 − 𝑅𝐸 2

𝑅𝐶 (𝑉1 − 𝑉2 )(𝑟𝑒 ′ − 2𝑅𝐸 )


=
𝑟𝑒 ′ (𝑟𝑒 ′ + 2𝑅𝐸 )
Therefore,
𝑅𝐶
𝑉𝑜 = (𝑉 − 𝑉2 )
𝑟𝑒 ′ 1
Thus a differential amplifier amplifies the difference between two input signals.
Defining the difference of input signals as vd = v1 - v2 the voltage gain of the dual
input balanced output differential amplifier can be given by
𝑉𝑜 𝑅𝐶
𝐴𝑑 = =
𝑉𝑑 𝑟𝑒 ′
Differential Input Resistance:
Differential input resistance is defined as the equivalent resistance that would be
measured at either input terminal with the other terminal grounded. This means
that the input resistance Ri1 seen from the input signal source v1 is determined with
the signal source v2 set at zero. Similarly, the input signal v1 is set at zero to
determine the input resistance Ri2 seen from the input signal source v2. Resistance
RS1 and RS2 are ignored because they are very small.
𝑉1
𝑅𝑖1 = /𝑉 = 0
𝑖𝑏1 2

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 28
A.A Science and Technology University School of Electrical Engineering and Computing

𝑉1
𝑅𝑖1 = /𝑉2 = 0
𝑖𝑒1
⁄𝛽

Substituting ie1,
𝛽𝑟𝑒 ′ (𝑟𝑒 ′ − 2𝑅𝐸 )
𝑅𝑖1 =
𝑟𝑒 ′ + 𝑅𝐸 )
Since 𝑅𝐸 ≫ 𝑟𝑒 ′
∴ 𝑟𝑒 ′ + 2𝑅𝐸 ≫ 2𝑅𝐸 𝑜𝑟 𝑟𝑒 ′ + 𝑅𝐸 ≫ 𝑅𝐸
∴ 𝑅𝑖1 = 2𝛽𝑟𝑒 ′
Similarly,
𝑉2
𝑅𝑖2 = /𝑉 = 0
𝑖𝑏2 1
𝑉2
𝑅𝑖2 = /𝑉1 = 0
𝑖𝑒2
⁄𝛽

∴ 𝑅𝑖2 = 2𝛽𝑟𝑒 ′
The factor of 2 arises because re' of each transistor is in series.

To get very high input impedance with differential amplifier is to use Darlington
transistors or FET.

Output Resistance
Output resistance is defined as the equivalent resistance that would be measured at
output terminal with respect to ground. Therefore, the output resistance R O1
measured between collector C1 and ground is equal to that of the collector
resistance RC. Similarly the output resistance RO2 measured at C2 with respect to
ground is equal to that of the collector resistor RC.
RO1 = RO2 = RC

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 29
A.A Science and Technology University School of Electrical Engineering and Computing

The current gain of the differential amplifier is undefined. Like CE amplifier the
differential amplifier is a small signal amplifier. It is generally used as a voltage
amplifier and not as current or power amplifier.

Example 2.2
The following specifications are given for the dual input, balanced-output
differential amplifier: RC = 2.2 kΩ, RB = 4.7 kΩ, Rin1 = Rin2 = 50 Ω, +VCC= 10V,
-VEE = -10 V, βdc =100 and VBE = 0.715V.
a. Determine the voltage gain
b. Determine the input resistance
c. Determine the output resistance
Solution:
(a). the parameters of the amplifiers are same as discussed in example 2.1. The
operating point of the two transistors obtained in the lecture are given below I CQ =
0.988 mA VCEQ=8.54V

The ac emitter resistance


25𝑚𝑉 25𝑚𝑉
𝑟𝑒 ′ = = = 25.3 𝛺
𝐼𝐸 𝑚𝐴 0.988𝑚𝐴
Therefore, substituting the known values in voltage gain equation, we obtain
𝑉𝑜 𝑅𝐶 2.2𝑘𝛺
𝐴𝑑 = = ′= = 86.96
𝑉𝑖𝑑 𝑟𝑒 25.3𝛺
(b). The input resistance seen from each input source is given by:
𝑅𝑖1 = 𝑅𝑖2 = 2𝛽𝑎𝑐 𝑟𝑒 = (2)(100)(25.3) = 5.06𝑘𝛺
(c) The output resistance seen looking back into the circuit from each of the two
output terminals is given by

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 30
A.A Science and Technology University School of Electrical Engineering and Computing

Inverting & Non - inverting Inputs


In a differential amplifier, the output voltage VO is given by
VO = Ad (V1 - V2), When V2 = 0, VO = AdV1& when v1 = 0, VO = - AdV2
Therefore the input voltage V1 is called the non inventing input because positive
voltage V1acting aloneproduces a positive output voltage VO. Similarly, the
positive voltage V2acting alone produces a negativeoutput voltage hence V2 is
called inverting input. Consequently B1 is called non - inverting input terminal and
B2is called inverting input terminal.

Common mode Gain and common Mode rejection ratio


A common mode signal is the one that drives both inputs of a differential amplifier
equally. The common mode signal is interference, static and other kinds of
undesirable pickup etc.

The connecting wire on the input bases act like small antennas. If a differential
amplifier is operating in an environment with lot of electromagnetic interference,
each base picks up an unwanted interference voltage. If both the transistors were
matched in all respects then the balanced output would be theoretically zero. This
is the important characteristic of a differential amplifier. It discriminates against
common mode input signals. In other word, it refuses to amplify the common
mode signals.

The practical effectiveness of rejecting the common signal depends on the degree
of matching between the two CE stages forming the differential amplifier. In other
words, more closely are the currents in the input transistors, the better is the
common mode signal rejection e.g. If V1 and V2 are the two input signals, then the
output of a practical op-amp cannot be described by simply
Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 31
A.A Science and Technology University School of Electrical Engineering and Computing

V0 = Ad (V1 - V2)
In practical differential amplifier, the output depends not only on difference signal
but also upon the commonmode signal VC(average).
Vd = (V1 – V2)and VC = ½ (V1 + V2)
The output voltage, therefore can be expressed as
VO = A1 V1 + A2 V2
Where A1& A2 are the voltage amplification from input 1(2) to output under the
condition that input 2 (1) isgrounded.
1 1
∴ 𝑉1 = 𝑉𝐶 + 𝑉𝑑 , 𝑉2 = 𝑉𝐶 − 𝑉𝑑
2 2
Substituting 𝑉1 𝑎𝑛𝑑 𝑉2 in output voltage equation
1 1
𝑉𝑜 = 𝐴1 (𝑉𝐶 + 𝑉𝑑 ) + 𝐴2 (𝑉𝐶 − 𝑉𝑑 )
2 2
1
𝑉𝑜 = (𝐴1 − 𝐴2 )𝑉𝑑 + (𝐴1 − 𝐴2 )𝑉𝐶
2
= 𝐴𝑑 𝑉𝑑 + 𝐴𝐶 𝑉𝐶
The voltage gain for the difference signal is Ad and for the common mode signal is
AC.

The ability of a differential amplifier to reject a common mode signal is expressed


by its common mode rejection ratio (CMRR). It is the ratio of differential gain Ad
to the common mode gain AC.
𝐴𝑑
𝐶𝑀𝑅𝑅 = = 𝜌
𝐴𝐶
1 𝑉𝐶
∴ 𝑉𝑜 = 𝐴𝑑 𝑉𝑑 (1 + )
𝜌 𝑉𝑑
Date sheet always specify CMRR in decibels CMRR = 20 log CMRR.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 32
A.A Science and Technology University School of Electrical Engineering and Computing

Therefore, the differential amplifier should be designed so that 𝜌is large compared
with the ratio of the common mode signal to the difference signal. If𝜌= 1000, VC =
1mV, Vd = 1 µV, then

1 𝑉𝐶 1 1000𝜇𝑉
= 𝑥 =1
𝜌 𝑉𝑑 1000 1𝜇𝑉
It is equal to first term. Hence for an amplifier with 𝜌 = 1000, a 1 µV difference of
potential between two inputs gives the same output as 1mV signal applied with the
same polarity to both inputs.

Dual Input, Unbalanced Output Differential Amplifier:


In this case, two input signals are given however the output is measured at only
one of the twocollector w.r.t. ground as shown in fig. 2.6. The output is referred to
as an unbalanced output because the collector at which theoutput voltage is
measured is at some finite dc potential with respect to ground.

Fig.2.6
In other words, there is some dc voltage at the output terminal without any input
signal applied. DC analysis is exactly the same as that of the first case.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 33
A.A Science and Technology University School of Electrical Engineering and Computing

𝑉𝐸𝐸 − 𝑉𝐵𝐸
𝐼𝐸 = 𝐼𝐶𝑄 =
2𝑅𝐸 + 𝑅2 ⁄𝛽𝑑𝑐
𝑉𝐶𝐸𝑄 = 𝑉𝐶𝐶 + 𝑉𝐵𝐸 − 𝐼𝐶𝑄 𝑅𝐶
AC Analysis
The output voltage gain in this case is given by
𝑉𝑜 𝑅𝐶
𝐴𝑑 = =
𝑉𝑑 2𝑟𝑒 ′
The voltage gain is half the gain of the dual input, balanced output differential
amplifier. Since at the outputthere is a dc error voltage, therefore, to reduce the
voltage to zero, this configuration is normally followed bya level translator circuit.

Differential amplifier with swamping resistors


By using external resistors R'E in series with each emitter, the dependence of
voltage gain on variations of r'e can be reduced. It also increases the linearity range
of the differential amplifier.
Fig.2.7. shows the differential amplifier with swamping resistor R' E. The value of
R'E is usually large enough toswamp the effect of r'e.

Fig.2.7

𝑅1 𝐼𝐵 + 𝑉𝐵𝐸 + 𝑅𝐸 ′ 𝐼𝐸 + 2𝑅𝐸 𝐼𝐸 = 𝑉𝐸𝐸

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 34
A.A Science and Technology University School of Electrical Engineering and Computing

𝑅1 𝐼𝐸
+ 𝑉𝐵𝐸 + 𝑅𝐸 ′ 𝐼𝐸 + 2𝑅𝐸 𝐼𝐸 = 𝑉𝐸𝐸
𝛽𝑑𝑐
From the equation, 𝐼𝐸 can be obtained as
𝑉𝐸𝐸 − 𝑉𝐵𝐸
𝐼𝐸 = 𝐼𝐶𝑄 =
𝑅𝐸 ′ + 2𝑅𝐸 + 𝑅1 ⁄𝛽𝑑𝑐
𝑉𝐶𝐸𝑄 = 𝑉𝐶𝐶 + 𝑉𝐵𝐸 − 𝐼𝐶𝑄 𝑅𝐶
The new voltage gain is given by
𝑅𝐶
𝐴𝑑 =
𝑟𝑒 + 𝑅𝐸
The input resistance is given by
𝑅𝑖1 = 𝑅𝑖2 = 2𝛽(𝑟𝑒 ′ + 𝑅𝐸 ′ )
The output resistance with or without 𝑅𝐸 ′ is the same i.e.
𝑅01 = 𝑅02 = 𝑅𝐶
Example 2.3
The specifications are given again for the dual input, unbalanced-outputdifferential
amplifier: RC = 2.2 kΩ, RB= 4.7 kΩ, Rin1 = Rin2= 50Ω, +VCC = 10V, -VEE= -10 V,
βdc =100 andVBE= 0.715V.
Determine the voltage gain, input resistance and the output resistance.

Solution:
Since the component values remain unchanged and the biasing arrangement is
same, the ICQ and VCEQ values as well as input and output resistance values for the
dual input, unbalanced output configuration must be the same as those for the dual
input, balanced output configuration.

Thus, ICQ = 0.988 mA


VCEQ = 8.54 V
Ri1 = Ri2 = 5.06 kΩ

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 35
A.A Science and Technology University School of Electrical Engineering and Computing

Ro = 2.2 kΩ

The voltage gain of the dual input, unbalanced output differential amplifier is given
by
𝑅𝐶 2.2𝑘𝛺
𝐴𝑑 = = = 43.8
2𝑟𝑒 2(25.3)𝛺

Constant Current Bias


In the dc analysis of differential amplifier, we have seen that the emitter current I E
depends upon the value of βdc. To make operating point stable IE current should be
constant irrespective value of βdc.

For constant IE, RE should be very large. This also increases the value of CMRR
but if RE value is increased to very large value, IE (quiescent operating current)
decreases. To maintain same value of IE, the emitter supply VEE must be increased.
To get very high value of resistance RE and constant IE, current, current bias is
used.

Fig.2.8
Fig. 2.8shows the dual input balanced output differential amplifier using a constant
current bias. The resistance RE is replace by constant current transistor Q3. The dc

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 36
A.A Science and Technology University School of Electrical Engineering and Computing

collector current in Q3 is established by R1, R2, & RE. Applying the voltage divider
rule, the voltage at the base of Q3 is
𝑅2
𝑉𝐵3 = (−𝑉𝐸𝐸 )
𝑅1 + 𝑅2
𝑉𝐸3 = 𝑉𝐵3 − 𝑉𝐵𝐸3
𝑅2
=− 𝑉 − 𝑉𝐵𝐸3
𝑅1 + 𝑅2 𝐸𝐸
𝑉𝐸3 − (−𝑉𝐸𝐸 )
𝐼𝐵𝐸3 = 𝐼𝐶3 =
𝑅𝐸
𝑅2
𝑉𝐸𝐸 − ( ) 𝑉𝐸𝐸 − 𝑉𝐵𝐸3
𝑅1 +𝑅2
=
𝑅𝐸
Because the two halves of the differential amplifiers are symmetrical, each has half
of the current IC3.

𝑅2
𝐼𝐶3 𝑉𝐸𝐸 − [ 𝑉 ] − 𝑉𝐵𝐸3
𝑅1 +𝑅2 𝐸𝐸
𝐼𝐸1 = 𝐼𝐸2 = =
2 2𝑅𝐸

The collector current, IC3 in transistor Q3 is fixed because no signal is injected into
either the emitter or the base of Q3.

Besides supplying constant emitter current, the constant current bias also provides
a very high source resistance since the ac equivalent or the dc source is ideally an
open circuit. Therefore, all the performance equations obtained for differential
amplifier using emitter bias are also valid.

As seen in IE expressions, the current depends upon VBE3. If there is a change in


temperature, VBE, and current IE also changes. To improve thermal stability, a
diode is placed in series with resistance R1as shown in fig. 2.9.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 37
A.A Science and Technology University School of Electrical Engineering and Computing

Fig.2.9
This helps to hold the current IE3 constant even though the temperature changes. By
applying KVL to the base circuit of Q3.
𝑅1
(𝑉𝐸𝐸 − 𝑉𝐷 ) + 𝑉𝐷 = 𝑉𝐵𝐸3 + 𝐼𝐸3 𝑅𝐸
𝑅1 + 𝑅2
𝑉𝐷 is the diode voltage. Thus,
1 𝑅1 𝑅1
𝐼𝐸3 = {𝑉𝐸𝐸 + 𝑉𝐷 − 𝑉𝐵𝐸3 }
𝑅𝐸 𝑅1 + 𝑅2 𝑅1 + 𝑅2
If 𝑅1 𝑎𝑛𝑑 𝑅2 are so chosen that
𝑅1
𝑉𝐷 = 𝑉𝐵𝐸3
𝑅1 + 𝑅2
Then
1 𝑅1
𝐼𝐸3 = . 𝑉𝐸𝐸
𝑅𝐸 𝑅1 + 𝑅2
Therefore, the current IE3 is constant and independent of temperature because of
the added diode D. Without D the current would vary with temperature because
VBE3 decreases approximately by 2mV/° C. The diode has same temperature
dependence and hence the two variations cancel each other and I E3 does not vary
appreciably with temperature. Since the cut in voltage VD of diode approximately
the same value as the base to emitter voltage VBE3 of a transistor, the above

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 38
A.A Science and Technology University School of Electrical Engineering and Computing

condition cannot be satisfied with one diode. Hence two diodes are used in series
for VD. In this case the common mode gain reduces to zero.
Some times Zener diode may be used in place of diodes and resistance as shown in
fig. 2.10. Zener is available over a wide range of voltages and can have matching
temperature coefficient

The voltage at the base of transistor QB is

Fig.2.10
𝑉𝐵3 = 𝑉𝑍 − 𝑉𝐸𝐸
𝑉𝐸3 = 𝑉𝐵3 − 𝑉𝐵𝐸3
= 𝑉𝑍 − 𝑉𝐸𝐸 − 𝑉𝐵𝐸3
𝑉𝐸3 − (−𝑉𝐸𝐸 )
𝐼𝐸3 =
𝑅𝐸
𝑉𝑍 − 𝑉𝐵𝐸3
𝐼𝐸3 =
𝑅𝐸
The value of R2 is selected so that I2=1.2 IZ(min) where IZ is the minimum current
required causing the Zener diode to conduct in the reverse region, which is to block
the rated voltage VZ.
𝑉𝐸𝐸 − 𝑉𝑍
𝑅2 =
𝐼2

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 39
A.A Science and Technology University School of Electrical Engineering and Computing

Where I2=1.2 IZ(min)

Current Mirror
The circuit in which the output current is forced to equal the input current is said to
be a current mirror circuit. Thus in a current mirror circuit, the output current is a
mirror image of the input current. The current mirrorcircuit is shown in fig. 2.11.

Fig.2.11
Once the current I2 is set up, the current IC3 is automatically established to be
nearly equal to I2. The current mirror is a special case of constant current bias and
the current mirror bias requires of constant current bias and therefore can be used
to set up currents in differential amplifier stages. The current mirror bias requires
fewer components than constant current bias circuits.

Since Q3 and Q4 are identical transistors the current and voltage are approximately
same
𝑉𝐵𝐸3 = 𝑉𝐵𝐸4
𝐼𝐵3 = 𝐼𝐵4
𝐼𝐶3 = 𝐼𝐶4
Summing currents at node 𝑉𝐵3
𝐼2 = 𝐼𝐶4 + 𝐼
= 𝐼𝐶4 + 2𝐼𝐵4 = 𝐼𝐶3 + 2𝐼𝐵3
Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 40
A.A Science and Technology University School of Electrical Engineering and Computing

𝐼𝐶3
= 𝐼𝐶3 + 2 [ ]
𝛽𝑑𝑐
2
= 𝐼𝐶3 [1 + ]
𝛽𝑑𝑐
Generally 𝛽𝑑𝑐 is large enough, therefore 2⁄𝛽 is small.
𝑑𝑐

𝐼2 ≅ 𝐼𝐶3
𝑉𝐸𝐸 + 𝑉𝐵𝑒3
𝐼2 =
𝑅2
For satisfactory operation two identical transistors are necessary.
Chapter Three
Operational Amplifier
In this chapter you will learn
1. The terminal characteristics of the ideal op amp.
2. How to analyze circuits containing op amps, resistors, and capacitors.
3. How to use op amps to design amplifiers having precise characteristics.
4. How to design more sophisticated op-amp circuits, including summing
amplifiers, instrumentation amplifiers, integrators, and differentiators.
5. Important non-ideal characteristics of op amps and how these limit the
performance of basic op-amp circuits.
6. Application of an operational amplifier

Introduction
An operational amplifier, or op-amp, is a very high gain differential amplifier with
high input impedance and low output impedance. Typical uses of the operational
amplifier are to provide voltage amplitude changes (amplitude and polarity),
oscillators, filter circuits, and many types of instrumentation circuits. An op-amp

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 41
A.A Science and Technology University School of Electrical Engineering and Computing

contains a number of differential amplifier stages to achieve a very high voltage


gain.

Figure 3.1 shows a basic op-amp with two inputs and one output as would result
using a differential amplifier input stage. Each input results in either the same or an
opposite polarity (or phase) output, depending on whether the signal is applied to
the plus (+) or the minus (-) input.

Figure 3.1 Basic op-amp


Single-Ended Input
Single-ended input operation results when the input signal is connected to one
input with the other input connected to ground. Figure 3.2 shows the signals
connected for this operation. In Fig. 3.2a, the input is applied to the plus input
(with minus input at ground), which results in an output having the same polarity
as the applied input signal. Figure 3.2b shows an input signal applied to the minus
input, the output then being opposite in phase to the applied signal.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 42
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 3.2 Single ended operations

Double-Ended (Differential) Input


In addition to using only one input, it is possible to apply signals at each input.
This is being a double-ended operation. Figure 3.3a shows an input, Vd, applied
between the two input terminals (recall that neither input is at ground), with the
resulting amplified output in phase with that applied between the plus and minus
inputs. Figure 3.3b shows the same action resulting when two separate signals are
applied to the inputs, the difference signal being Vi1-Vi2.

Figure 3.3 Double-ended (differential) operation

Double-Ended Output
While the operation discussed so far had a single output, the op-amp can also be
operatedwith opposite outputs, as shown in Fig. 3.4. An input applied to either
inputwill result in outputs from both output terminals, these outputs always being
oppositein polarity. Figure 3.5 shows a single-ended input with a double-ended
output.As shown, the signal applied to the plus input results in two amplified
outputs of oppositepolarity. Figure 3.6 shows the same operation with a single

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 43
A.A Science and Technology University School of Electrical Engineering and Computing

output measured between output terminals (not with respect to ground). This
difference output signal is Vo1 - Vo2. The difference output is also referred to as a
floating signal since neither output terminal is the ground (reference) terminal.
Notice that the difference output is twice as large as either Vo1 or Vo2 since they
are of opposite polarity and subtracting them results in twice their amplitude [i.e.,
10 V - (-10 V) = 20 V]. Figure 3.7 shows a differential input, differential output
operation. The input is applied between the two input terminals and the output
taken from between the two output terminals. This is fully differential operation.

Figure 3.4 Double-ended output

Figure 3.5 Double-ended output with single-ended inputFigure 3.6 Double-ended


output

Figure 3.7 Differential-input, differential-output operation

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 44
A.A Science and Technology University School of Electrical Engineering and Computing

Common-Mode Operation
When the same input signals are applied to both inputs, common-mode operation
results, as shown in Fig. 3.8. Ideally, the two inputs are equally amplified, and
since they result in opposite polarity signals at the output, these signals cancel,
resulting in 0V output. Practically, a small output signal will result.

Figure 3.8 Common-mode operation

Differential and Common Mode Operation


One of the more important features of a differential circuit connection, as provided
in an op-amp, is the circuit’s ability to greatly amplify signals that are opposite at
the two inputs, while only slightly amplifying signals that are common to both
inputs. An op-amp provides an output component that is due to the amplification of
the difference of the signals applied to the plus and minus inputs and a component
due to thesignals common to both inputs. Since amplification of the opposite input
signals is much greater than that of the common input signals, the circuit provides
a common mode rejection as described by a numerical value called the common-
mode rejection ratio (CMRR) discussed in chapter 2.

Differential Inputs
When separate inputs are applied to the op-amp, the resulting difference signal is
the difference between the two inputs.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 45
A.A Science and Technology University School of Electrical Engineering and Computing

Vd= Vi1 - Vi2

Common Inputs
When both input signals are the same, a common signal element due to the two
inputs can be defined as the average of the sum of the two signals.
Vc = ½ (Vi1+Vi2)

Output Voltage
Since any signals applied to an op-amp in general have both in-phase and out-of
phase components, the resulting output can be expressed as
Vo=AdVd+AcVc
Where Vd _ difference voltage
Vc _ common voltage
Ad _ differential gain of the amplifier
Ac _ common-mode gain of the amplifier

Opposite Polarity Inputs


If opposite polarity inputs applied to an op-amp are ideally opposite signals, Vi1 =
- Vi2 =Vs, the resulting difference voltage is
Vd =Vi1 -Vi2 =Vs -(-Vs) =2Vs
While the resulting common voltage is
Vc=½ (Vi1 + Vi2) = ½ [Vs + (-Vs)] = 0
So that the resulting output voltage is
Vo =AdVd +AcVc =Ad(2Vs) +0 =2 AdVs
This shows that when the inputs are an ideal opposite signal (no common element),
the output is the differential gain times twice the input signal applied to one of the
inputs.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 46
A.A Science and Technology University School of Electrical Engineering and Computing

Same Polarity Inputs


If the same polarity inputs are applied to an op-amp, Vi1=Vi2=Vs, the resulting
difference voltage is
Vd =Vi1 -Vi2 =Vs-Vs =0
While the resulting common voltage is
Vc=½ (Vi1 + Vi2) = ½ (Vs +Vs) = Vs
So that the resulting output voltage is
Vo =AdVd +AcVc =Ad(0)+AcVS =AcVS
This shows that when the inputs are ideal in-phase signals (no difference signal),
the output is the common-mode gain times the input signal, Vs, which shows that
only common-mode operation occurs.
Ideal Operational Amplifiers

The circuit symbol for the operational amplifier is shown in Figure 3.1.
Theoperational amplifier is a differential amplifier having both inverting and
noninvertinginput terminals. (We discussed differential amplifiers in chapter 2)
The inputsignals are denoted as vi1 (t) and vi2(t) (As usual, we use lowercase letters
to represent general time-varying voltages. Often, we will omit the time
dependence and refer to the voltages simply as vi1 and vi2.

An ideal operational amplifier has the following characteristics:


 Infinite input impedances
 Infinite gain for the differential input signal
 Zero gain for the common-mode input signal
 Zero output impedance
 Infinite bandwidth

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 47
A.A Science and Technology University School of Electrical Engineering and Computing

An equivalent circuit for the ideal operational amplifier consists simply of a


controlled source as shown in Figure 3.9. The open-loop gain AOL is very large in
magnitude. Ideally it is infinite.

Op amps are generally used with feedback networks thatreturn part of the output
signal to the input. Thus, a loop is created in which signals flow through the
amplifier to the output and back through the feedback network to the input. A OL is
the gain of the op amp without a feedback network. That is why wecall it the open-
loop gain.

We assume that the open-loop gain AOL is constant. Thus, there is no distortion,
either linear or nonlinear, and the output voltage VO has a waveshape identical to
that of the differential input vid = V1 - V2. AOL is actually a function of frequency.

Figure 3.9 Equivalent circuit of the ideal op amp


Power-Supply Connections

For a real op amp to function properly, one or more dc supply voltages must be
applied, as shown in Figure 3.10. Often, however, we do not explicitly show the
power supply connections in circuit diagrams.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 48
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 3.10 Op-amp symbol showing the dc power supplies, Vcc and Vee

Op-Amp Basics
An operational amplifier is a very high gain amplifier having very high input
impedance (typically a few mega ohms) and low output impedance (less than
100Ω). The basic circuit is made using a difference amplifier having two inputs
(plus and minus) and at least one output. Figure 3.11 shows a basic op-amp unit.

Figure 3.11 Basic op-amp


As discussed earlier, the plus (+) input produces an output that is in phase with the
signal applied, while an input to the minus (-) input results in an opposite polarity
output. The ac equivalent circuit of the op-amp is shown in Fig. 3.12a. As shown,
the input signal applied between input terminals sees input impedance, Ri, typically
very high. The output voltage is shown to be the amplifier gain times the input
signal taken through an output impedance, Ro, which is typically very low. An
ideal op-amp circuit, as shown in Fig. 3.12b, would have infinite input impedance,
zero output impedance, and an infinite voltage gain.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 49
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 3.12 Ac equivalent of op-amp circuit: (a) practical; (b) ideal

Basic Op-Amp
The basic circuit connection using an op-amp is shown in Fig. 3.13. The circuit
shown provides operation as a constant-gain multiplier. An input signal, V1, is
applied through resistor R1 to the minus input. The output is then connected back to
the same minus input through resistor Rf. The plus input is connected to ground.
Since the signal V1 is essentially applied to the minus input, the resulting output is
opposite in phase to the input signal. Figure 3.14a shows the op-amp replaced by
its ac equivalent circuit. If we use the ideal op-amp equivalent circuit, replacing
Riby an infinite resistance and Ro by zero resistance, the ac equivalent circuit is
that shown in Fig. 3.14b. The circuit is then redrawn, as shown in Fig. 3.14c, from
which circuit analysisis carried out.

Figure 3.13 Basic op-amp connection

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 50
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 3.14 Operation of op-amp as constant-gain multiplier: (a) op-amp ac


equivalent circuit; (b) ideal op-amp equivalent circuit; (c) redrawn equivalent
circuit.

From the redrawn equivalent circuit, and using superposition, we can solve for the
voltage V1 in terms of the components due to each of the sources. For source V1
only (- AvVi set to zero),

For source - AvVi only (V1 set to zero),

The total voltage Vi is then

Which can be solved for Vi as

If Av ≫ 1 and Av R1 ≫Rf, as is usually true, then

Solving for Vo/Vi, we get

So that

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 51
A.A Science and Technology University School of Electrical Engineering and Computing

The result, in the above equation, shows that the ratio of overall output to input
voltage is dependent only on the values of resistors R1 and Rf provided that Av is
very large.

Unity Gain
If Rf =R1, the gain is

So that, the circuit provides unity voltage gain with 180° phase inversion. If Rf is
exactly R1, the voltage gain is exactly 1.

Constant Magnitude Gain


If Rf is some multiple of R1, the overall amplifier gain is a constant. For example,
if Rf = 10R1, then

and the circuit provides a voltage gain of exactly 10 along with an 180° phase
inversion from the input signal. If we select precise resistor values for Rf and R1,
we can obtain a wide range of gains, the gain being as accurate as the resistors used
and is only slightly affected by temperature and other circuit factors.

Virtual Ground and Summing Point


In Fig. 3.15a is shown an Op ampwhich employs negative feedback with the help
of resistor Rf which feeds a portion of the output to the input. Since input and
feedback currents are algebraically added at point A, it is called the summing
point. The concept of virtual ground arises from the fact that input voltage Vi at the

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 52
A.A Science and Technology University School of Electrical Engineering and Computing

invertingterminal of the Op ampis forced to such a small value that, for all practical
purposes, it may be assumed to be zero. Hence, point A is essentially at ground
voltage and is referred to as virtual ground. Obviously, it is not the actual ground,
which, as seen from Fig. 3.15a, is situated below.

Fig.3.15a

The output voltage is limited by the supply voltage of, typically, a few volts. As
stated before, voltage gains are very high. If, for example, Vo = - 10 V and Av =
20,000, the input voltage would then be

A virtual short so that no current goes through the short to ground. Current goes
only through resistors R1 and Rf as shown.

Figure 3.15b Virtual ground in an op-amp


Using the virtual ground concept, we can write equations for the current I as
follows:

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 53
A.A Science and Technology University School of Electrical Engineering and Computing

Which can be solved for Vo /V1:

The virtual ground concept, which depends on Av being very large, allowed a
simple solution to determine the overall voltage gain.

Op-Amp Parameters
Before going into various practical applications using op-amps, we should become
familiar with some of the parameters used to define the operation of the unit. These
specifications include both dc and transient or frequency operating features.

Offset Currents and Voltages


While the op-amp output should be 0 V when the input is 0 V, in actual operation
there is some offset voltage at the output. For example, if one connected 0 V to
both op-amp inputs and then measured 26 mV (dc) at the output, this would
represent 26 mV of unwanted voltage generated by the circuit and not by the input
signal. Since the user may connect the amplifier circuit for various gain and
polarity operations, however, the manufacturer specifies an input offset voltage for
the op-amp. The output offset voltage is then determined by the input offset
voltage and the gain of the amplifier, as connected by the user. The output offset
voltage can be shown to be affected by two separate circuit conditions. These are:
(1) an input offset voltage, VIO, and (2) an offset current due to the difference in
currents resulting at the plus (+) and minus (-) inputs.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 54
A.A Science and Technology University School of Electrical Engineering and Computing

Input Offset Voltage, VIO


The manufacturer’s specification sheet provides a value of VIO for the op-amp. To
determine the effect of this input voltage on the output, consider the connection
shown in Fig. 3.16. Using Vo =AVi, we can write

Solving for Vo, we get

From which we can write

The above equation shows how the output offset voltage results from a specified
input offset voltage for a typical amplifier connection of the op-amp.

Figure 3.16 Operation showing effect of input offset voltage, VIO


Example 3.1
Calculate the output offset voltage of the circuit in Fig. 3.17. The op-amp spec lists
VIO =1.2 mV.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 55
A.A Science and Technology University School of Electrical Engineering and Computing

Fig 3.17
Solution

Output Offset Voltage Due To Input Offset Current, IIO

An output offset voltage will also result due to any difference in dc bias currents at
both inputs. Since the two input transistors are never exactly matched, each will
operate at a slightly different current. For a typical op-amp connection, shown in
Fig. 3.18, an output offset voltage can be determined as follows. Replacing the bias
currents through the input resistors by the voltage drop as shown in Fig. 3.19, we
can determine the expression for the resulting output voltage. Using superposition,
the output voltage due to input bias current I+IB,denoted by V+o, is

While the output voltage due to only𝐼𝐼𝐵 − , denoted by 𝑉𝑂 − , is

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 56
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 3.18 Op-amp connection showing input bias currents Figure 3.19
Redrawn circuit of Fig. 3.18

For a total output offset voltage of

Since the main consideration is the difference between the input bias currents
rather than each value, we define the offset current IIO by

Since the compensating resistance RC is usually approximately equal to the value


of R1, using RC =R1 in the total offset voltage equation, we can write

Resulting in

Example 3.2
Calculate the offset voltage for the circuit of Fig. 3.17 for op-amp specification
listing IIO =100 nA.

Solution

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 57
A.A Science and Technology University School of Electrical Engineering and Computing

Total Offset due to VIO and IIO


Since the op-amp output may have an output offset voltage due to both
factorscovered above, the total output offset voltage can be expressed as

[Vo(offset)] = [Vo(offset due to VIO)] + [Vo(offset due to IIO)]

The absolute magnitude is used to accommodate the fact that the offset polarity
may be either positive or negative.

Example 3.3
Calculate the total offset voltage for the circuit of Fig. 3.20 for an op-amp with
specified values of input offset voltage, VIO = 4 mV and input offset current IIO
=150 nA.

Figure 3.20 op amp circuit for example 3.3


Solution
The offset due to VIO is

Resulting in a total offset

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 58
A.A Science and Technology University School of Electrical Engineering and Computing

Input Bias Current, IIB


A parameter related to IIO and the separate input bias currents 𝐼𝐼𝐵 + and 𝐼𝐼𝐵 − is the
average bias current defined as

One could determine the separate input bias currents using the specified values IIO
and IIB. It can be shown that for 𝐼𝐼𝐵 + >𝐼𝐼𝐵 −

Example 3.4
Calculate the input bias currents at each input of an op-amp having specified
values of IIO =5 nA and IIB =30 nA.

Solution

Op-Amp Frequency Parameters


An op-amp is designed to be a high-gain, wide-bandwidth amplifier. This
operation tends to be unstable (oscillate) due to positive feedback. To ensure stable
operation, op-amps are built with internal compensation circuitry, which also

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 59
A.A Science and Technology University School of Electrical Engineering and Computing

causes the very high open-loop gain to diminish with increasing frequency. This
gain reduction is referred to as roll-off. In most op-amps, roll-off occurs at a rate of
20 dB per decade.

GainBandwidth
Because of the internal compensation circuitry included in an op-amp, the voltage
gain drops off as frequency increases. Op-amp specifications provide a description
of the gain versus bandwidth. Figure 3.21 provides a plot of gain versus frequency
for a typical op-amp. At low frequency down to dc operation the gain is that value
listed by the manufacturer’s specification AVD (voltage differential gain) and is
typically a very large value. As the frequency of the input signal increases the
open-loop gain drops off until it finally reaches the value of 1 (unity). The
frequency at this gain value is specified by the manufacturer as the unity-gain
bandwidth, B1. While this value is a frequency (see Fig. 3.21) at which the gain
becomes 1, it can be considered a bandwidth, and since the frequency band from 0
Hz to the unity-gain frequency is also a bandwidth.One could therefore refer to the
point at which the gain reduces to 1 as the unity-gain frequency (f1) or unity-gain
bandwidth (B1).

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 60
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 3.21 Gain versus frequency plot

Another frequency of interest is that shown in Fig. 3.21, at which the gain drops by
3 dB (or to 0.707 the dc gain, AVD), is the cutoff frequency of the op-amp, fC. In
fact, the unity-gain frequency and cutoff frequency are related by
f1 =AVDfC
Example 3.5
Determine the cutoff frequency of an op-amp having specified values B1 = 1 MHz
and AVD = 200 V/mV.

Solution
Since f1 = B1 = 1 MHz, to calculate the cutoff frequency

Slew Rate, SR
Another parameter reflecting the op-amp’s ability to handling varying signals is
slew rate,defined as
Slew rate = maximum rate at which amplifier output can change in volts per
microsecond (V/µs)

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 61
A.A Science and Technology University School of Electrical Engineering and Computing

with t in µsec

Example 3.6
For an op-amp having a slew rate of SR = 2 V/µs, what is the maximum closed-
loop voltage gain that can be used when the input signal varies by 0.5 V in 10 µs?
Solution
Since Vo = ACLVi, we can use

From which we get

Any closed-loop voltage gain of magnitude greater than 40 would drive the output
at a rate greater than the slew rate allows, so the maximum closed-loop gain is 40.

Maximum Signal Frequency


The maximum frequency that an op-amp may operate at depends on both the
bandwidth (BW) and slew rate (SR) parameters of the op-amp. For a sinusoidal
signal of general form
Vo =K sin (2𝜋f t)
The maximum voltage rate of change can be shown to be
Maximum signal rate of change = 2𝜋fK V/s
To prevent distortion at the output, the rate of change must also be less than the
slew rate, that is,
2𝜋fK ≤ SR

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 62
A.A Science and Technology University School of Electrical Engineering and Computing

𝜔K ≤ SR
So that

Example 3.7
For the signal and circuit of Fig. 3.22, determine the maximum frequency that may
be used. Op-amp slew rate is SR =0.5 V/µs, V1 = 0.02 V and ω = 300x103 rad/sec.

Fig 3.22
Solution
For a gain of magnitude

The output voltage provides

Since the signal’s frequency, ω = 300 x103 rad/s, is less than the maximum value
determinedabove, no output distortion will result.

Inverting and non-inverting Amplifier


Inverting Amplifier

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 63
A.A Science and Technology University School of Electrical Engineering and Computing

The most widely used constant-gain amplifier circuit is the inverting amplifier,
asshown in Fig. 3.23. The output is obtained by multiplying the input by a fixed
orconstant gain, set by the input resistor (R1) and feedback resistor (Rf). This
outputalso being inverted from the input. We can write

Figure 3.23Inverting constant-gain multiplier

Example 3.1
If the circuit of Fig. 3.23 has R1 =100 kΩand Rf =500 kΩ, what output voltage
results for an input of V1 =2 V?
Solution

Non-inverting Amplifier
The connection of Fig. 3.24a shows an op-amp circuit that works as a non-
inverting amplifier or constant-gain multiplier. It should be noted that the inverting
amplifier connection is more widely used because it has better frequency stability.
To determine the voltage gain of the circuit, we can use the equivalent
representation shown in Fig. 3.24b. Note that the voltage across R1 is V1 since Vi

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 64
A.A Science and Technology University School of Electrical Engineering and Computing

≈ 0 V. This must be equal to the output voltage, through a voltage divider of R1


and Rf, so that

This result in

Figure 3.24 Non-inverting constantgain multiplier


Example 3.2
Calculate the output voltage of a non-inverting amplifier (as in Fig. 3.23) for
values of V1 = 2 V, Rf= 500 kΩ, and R1 = 100 kΩ.

Solution

Unity Follower
The unity-follower circuit, as shown in Fig. 3.25a, provides a gain of unity (1) with
no polarity or phase reversal. From the equivalent circuit (see Fig. 3.25b) it is clear
that
Vo = V1
Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 65
A.A Science and Technology University School of Electrical Engineering and Computing

and that the output is the same polarity and magnitude as the input. The circuit
operates like an emitter or source follower circuit except that the gain is exactly
unity.

Figure 3.25 (a) Unity follower; (b) virtual-ground equivalent circuit

OP - Amp applications
Constant Gain Multiplier
One of the most common op-amp circuits is the inverting constant-gain multiplier,
which provides a precise gain or amplification. Figure 3.26 shows a standard
circuit connection with the resulting gain being given by
𝑅𝑓
𝐴=−
𝑅1

Figure 3.26 Fixed-gain amplifier

Example 3.3

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 66
A.A Science and Technology University School of Electrical Engineering and Computing

Determine the output voltage for the circuit of Fig. 3.27 with a sinusoidal input of
2.5 mV.

Figure 3.27 Circuit for Example 3.3

Solution
The circuit of Fig. 3.27 uses a 741 op-amp to provide a constant or fixed gain, so
the gain is

The output voltage is then

A non - inverting constant-gain multiplier is provided by the circuit of Fig. 3.28,


with the gain given by

Figure 3.28 Non - inverting fixed-gain amplifier

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 67
A.A Science and Technology University School of Electrical Engineering and Computing

Example 3.4
Calculate the output voltage from the circuit of Fig. 3.29 for an input of 120 µV.

Figure 3.29 Circuit for Example 3.4


Solution
The gain of the op-amp circuit is calculated to be

The output voltage is then

Multiple-Stage Gains
When a number of stages are connected in series, the overall gain is the product of
the individual stage gains. Figure 3.30 shows a connection of three stages. The first
stage is connected to provide non - inverting gain. The next two stages provide an
inverting gain. The overall circuit gain is then non - inverting and calculated by

Where

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 68
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 3.30 Constant-gain connection with multiple stages

Example 3.5
Calculate the output voltage using the circuit of Fig. 3.30 for resistor components
of value Rf = 470 kΩ, R1 = 4.3 kΩ, R2 = 33 kΩ, and R3 = 33 kΩ for an input of 80
µV.

Solution
The amplifier gain is calculated to be

So that

Example 3.6
Show the connection of an LM124 quad op-amp as a three-stage amplifier with
gains of +10, - 18, and - 27. Use a 270kΩfeedback resistor for all three circuits.
What output voltage will result for an input of 150 µV?

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 69
A.A Science and Technology University School of Electrical Engineering and Computing

Solution
For the gain of +10:

For the gain of - 18:

For the gain of - 27:

The circuit showing the pin connections and all components used is in Fig. 3.31.
For an input of V1 =150 µV, the output voltage will be

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 70
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 3.31 Circuit for Example 3.6 (using LM124)

Summing amplifier
Another popular use of an op-amp is as a summing amplifier. Figure 3.32 shows
the connection with the output being the sum of the three inputs, each multiplied
by a different gain. The output voltage is

Figure 3.32 Summing amplifier


Example 3.7
Calculate the output voltage for the circuit of Fig. 3.33. The inputs are V1 =50 mV
sin(1000t) and V2 =10 mV sin(3000t)

Figure 3.33 Circuit for Example 3.7


Solution
The output voltage is

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 71
A.A Science and Technology University School of Electrical Engineering and Computing

Voltage Subtraction
Two signals can be subtracted, one from the other, in a number of ways. Figure
3.34 shows two op-amp stages used to provide subtraction of input signals. The
resulting output is given by

Figure 3.34 Circuit to subtract two signals

Example 3.8
Determine the output for the circuit of Fig. 3.34 with components Rf =1 MΩ, R1
=100 kΩ, R2 =50 kΩ, and R3 =500 kΩ.

Solution
The output voltage is calculated to be

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 72
A.A Science and Technology University School of Electrical Engineering and Computing

The output is seen to be the difference of V2 and V1 multiplied by a gain factor of –


20.

Another connection to provide subtraction of two signals is shown in Fig. 3.35.


This connection uses only one op-amp stage to provide subtracting two input
signals. Using superposition the output can be shown to be

Figure 3.35 Subtraction circuit

Integrator
So far, the input and feedback components have been resistors. If the feedback
component used is a capacitor, as shown in Fig. 3.36a, the resulting connection is
called an integrator. The virtual-ground equivalent circuit (Fig. 3.36b) shows that
an expression for the voltage between input and output can be derived in terms of
the current I. The virtual ground is considered at the junction of R and XCto the
ground point (since Vi ≈ 0 V) but no current goes into ground at that point. The
capacitive reactance can be expressed as

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 73
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 3.36 Integrator


Where s = jω is in the Laplace notation.* Solving for Vo/V1 yields

The expression above can be rewritten in the time domain as

The function of an integrator is to provide an output voltage which is proportional


to the integral of the input voltage.

Figure 3.37
A simple example of integration is shown in Fig. 3.37 where input is dc level and
its integral is a linearly-increasing ramp output. The actual integration circuit is
shown in Fig. 3.36.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 74
A.A Science and Technology University School of Electrical Engineering and Computing

Summing integrator
Fig. 3.38(a) shows a summing integrator as used in an analog computer. It shows
all the three resistors and the capacitor. The analog computer representation of Fig.
3.38 (b) indicates only the scale factor for each input. The output voltage is
calculated as follows

Figure 3.38

Example 3.9
A 5-mV, 1-kHz sinusoidal signal is applied to the input of an Op-amp integrator of
Fig. 3.39 for which R = 100 K and C = 1 μF. Find the output voltage.V1 = 5 sin 2
πft = 5 sin 2000 π t

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 75
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 3.39 Integrator circuit for Example 3.9

Solution
1 1
Scale factor = − = = −10
𝐶𝑅 105 +10−6

The equation for the sinusoidal voltage is


V1 = 5 sin 2 πft = 5 sin 2000 π t
Obviously, it has been assumed that at t = 0, V1 = 0

Differentiator
Its function is to provide an output voltage which is proportional to the rate of the
change of the input voltage. It is an inverse mathematical operation to that of an
integrator. As shown in Fig. 3.40, when we feed a differentiator with linearly-
increasing ramp input, we get a constant dc output.

Figure 3.40
Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 76
A.A Science and Technology University School of Electrical Engineering and Computing

Differentiator circuit can be obtained by interchanging the resistor and capacitor of


the integrator circuit.

Figure 3.41 Op – amp differentiator circuit

𝑑𝑞
Let i= rate of change of charge =
𝑑𝑡

Now,
𝑞 = 𝐶𝑉𝑐
Therefore,
𝑑 𝑑𝑉𝑐
𝑖= (𝐶𝑉𝑐 ) = 𝐶
𝑑𝑡 𝑑𝑡
Taking point A as virtual ground
𝑑𝑉𝑐 𝑑𝑉𝑐
𝑉𝑜 = −𝑖𝑅 = − (𝐶 ) 𝑅 = −𝐶𝑅 ∗
𝑑𝑡 𝑑𝑡

Output voltage is proportional to the derivate of the input voltage and the constant
of proportionality (i.e., scale factor - RC).

Example3.10

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 77
A.A Science and Technology University School of Electrical Engineering and Computing

The input to the differentiator circuit of Fig. 3.41 is a sinusoidal voltage of peak
value of 5 mV and frequency 1 kHz. Find out the output if R = 1000 KΩ and C = 1
μF.

Solution
The equation of the input voltage is
V1 = 5 sin 2 π × 1000 t = 5 sin 2000 πt mV

𝑆𝑐𝑎𝑙𝑒𝑓𝑎𝑐𝑡𝑜𝑟 = 𝐶𝑅 = 10−6 𝑥105 = 0.1


𝑑
𝑉𝑜 = 0.1 (5 sin 2000 𝜋𝑡)
𝑑𝑡
= (0.5 𝑥 2000 𝜋) cos 2000 𝜋𝑡 = 1000 𝜋𝐶𝑜𝑠 2000 𝜋𝑡𝑚𝑉

As seen, output is a co sinusoidal voltage of frequency 1 kHz and peak value 1000
π mV.

Comparator
It is a circuit which compares two signals or voltage levels. The circuit is shown in
Fig. 3.42 and (like that of the unity follower) is the simplest because it needs no
additional external components. If V1 and V2 are equal, then V0 should ideally be
zero. Even if V1 differs from V2 by a very small amount, V0 is large because of
amplifier’s high gain. Hence, circuit of Fig. 3.42 can detect very small changes
which is another way of saying that it compares two signals.

Figure 3.42 Op – amp comparator


Active Filters

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 78
A.A Science and Technology University School of Electrical Engineering and Computing

A popular application uses op-amps to build active filter circuits. A filter circuit
can be constructed using passive components: resistors and capacitors. An active
filter additionally uses an amplifier to provide voltage amplification and signal
isolation or buffering. A filter that provides a constant output from dc up to upper
cutoff frequency fOH and then passes no signal above that frequency is called an
ideal low-pass filter. The idealresponse of a low-pass filter is shown in Fig. 3.43a.
A filter that provides or passes signals above lower cutoff frequency fOL is a high-
pass filter, as indicated in Fig. 3.43b. When the filter circuit passes signals between
the lower and upper cutoff frequency, it is called a band pass filter, as indicated in
Fig.3.43c.

Figure 3.43 Ideal filter response: (a) low-pass; (b) high-pass; (c) band pass

Low-Pass Filter
A first-order, low-pass filter using a single resistor and capacitor as in Fig. 3.44a
has a practical slope of - 20 dB per decade, as shown in Fig. 3.44b (rather than the
ideal response of Fig. 3.43a). The voltage gain below the cutoff frequency is
constant at

A cutoff frequency

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 79
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 3.44 First-order low-pass active filter

Example 3.11
Calculate the cutoff frequency of a first-order low-pass filter for R1 =1.2 kΩand C1
=0.02 µF.

Solution

High-Pass Active Filter


First- and second-order high-pass active filters can be built as shown in Fig. 3.45.
The amplifier gain and the amplifier lower cutoff frequency are

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 80
A.A Science and Technology University School of Electrical Engineering and Computing

With a second-order filter R1 =R2, and C1 =C2 results in the same cutoff
frequency.

Figure 3.45 High-pass filter: (a) first order; (b) second order; (c) response plot

Example 3.12
Calculate the cutoff frequency of a second-order high-pass filter as in Fig. 3.45b
for R1 = R2 = 2.1 kΩ, C1 = C2 = 0.05 µF, and Ro1 = 10 kΩ, Rof = 50 kΩ.

Solution

The cutoff frequency is

Band pass Filter

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 81
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 3.46 shows a band pass filter using two stages, the first is a high-pass filter
and the second is a low-pass filter, the combined operation of the two is being the
desired band pass response.

Figure 3.46 Band pass active filter


Example 3.13
Calculate the cutoff frequencies of the band pass filter circuit of Fig. 3.46 with R1
= R2 = 10 kΩ, C1 = 0.1 µF, and C2 = 0.002 µF.

Solution

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 82
A.A Science and Technology University School of Electrical Engineering and Computing

Chapter Four
Wave shaping Circuits
Introduction
In the design of electronic systems, the need frequently arises for signals having
prescribed standard waveforms, for example, sinusoidal, square, triangular, or
pulse. Systems in which standard signals are required include computer and control
systems where clock pulses are needed for, among other things, timing;
communication systems where signals of a variety of waveforms are utilized as
information carriers; and test and measurement systems wheresignals, again of a
variety of waveforms, are employed for testing and characterizing electronic
devices and circuits.

Multivibrators (MV)
These devices are very useful as pulse generating, storing and counting circuits.
They are basically two-stage amplifiers with positive feedback from the output of
one amplifier to the input of the other. This feedback (Fig. 4.1) is supplied in such
a manner that one transistor is driven to saturation and the other to cut-off. It is
followed by new set of conditions in which the saturated transistor is driven to cut-
off and the cut-off transistor is driven to saturation.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 83
A.A Science and Technology University School of Electrical Engineering and Computing

There are three basic types of MVs distinguished by the type of coupling network
employed.
1. astable multivibrator (AVM),
2. monostable multivibrator (MMV),
3. bistable multivibrator (BMV). The first one is the non-driven type whereas the
other two are the driven type (also called triggered oscillators).

Figure 4.1

1. Astable Multivibrator (AMV)


It is also called free-running relaxation oscillator. It has no stable state but only
two quasi-stable (half-stable) states between which it keeps oscillating
continuously of its own accord without any external excitation.

In this circuit, neither of the two transistors reaches a stable state. When one is ON,
the other is OFF and they continuously switch back and forth at a rate depending
on the RC time constant in the circuit. Hence, it oscillates and produces pulses of
certain mark-to-space ratio. Moreover, two outputs (180° out of phase with each
other) are available. It has two energy-storing elements i.e. two capacitors.

2. Monostable Multivibrator (MMV)


It is also called a single-shot or single swing or a one-shot multivibrator. Other
names are: delay multivibrator and univibrator.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 84
A.A Science and Technology University School of Electrical Engineering and Computing

It has
(i) One absolutely stable (stand-by) state and (ii) one quasistable state

It can be switched to the quasi-stable state by an external trigger pulse but it returns
to the stable condition after a time delay determined by the value of circuit
components. It supplies a single output pulse of a desired duration for every input
trigger pulse.It has one energy-storing element i.e. one-capacitor.

3. Bistable Multivibrator (BMV)


It is also called as flip-flop multivibrator. It has two absolutely stable states. Itcan
remain in either of these two states unless an external trigger pulse switches it from
one state tothe other. Obviously, it does not oscillate. It has no energy storage
element.Detailed discrete circuits for the above MVs are discussed below after
listing their uses.

Uses of Multivibrators
Some of their uses are:
1. as frequency dividers
2. as saw tooth generators
3. as square wave and pulse generators
4. as a standard frequency source when synchronized by an external crystal
oscillator
5. for many specialized uses in radar and TV circuits
6. as memory elements in computers

Astable Multivibrator
Fig. 4.2 shows the circuit of a symmetrical collector-coupled AMV using two
similar transistors. It consists of two CE amplifier stages, each providing a

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 85
A.A Science and Technology University School of Electrical Engineering and Computing

feedback to the other. The feedback ratio is unity and positive because of 180°
phase shift in each stage. Hence, the circuit oscillates. Because of the very strong
feedback signal, the transistors are driven either to saturation or to cut-off (they do
not work on the linear region of their characteristics).

The transistor Q1 is forward-biased by VCCand R1 whereas Q2 is forward-biased by


VCCand R2. The collector-emitter voltages of Q1 and Q2 are determined respectively
by RL1 and RL2 together with VCC. The output of Q1 is coupled to the input of Q2 by
C2 whereas output of Q2 is coupled to Q1 by C1.

Note that it is not essential to draw the coupling leads at 45° to the vertical as
shown but it isusually done because it helps to identify the circuit immediately as
MV.

Figure 4.2 Astable Multivibrator circuit with an o/p wave form

The output can be taken either from point A or B though these would be phase-
reversed with respect to each other as shown in Fig. 4.2.

Circuit Operation

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 86
A.A Science and Technology University School of Electrical Engineering and Computing

The circuit operation would be easy to understand if it is remembered that due to


feedback
(i) when Q1 is ON, Q2 is OFF and
(ii) when Q2 is ON, Q1 is OFF.

When the power is switched on by closing S, one of the transistors will start
conducting beforethe other does (or slightly faster than the other). Suppose that Q1
starts conducting before Q2 does. The feedbacksystem is such that Q1 will be very
rapidly driven to saturation and Q2 to cut-off.
The following sequence of events will occur:
1. Since Q1 is in saturation, whole of VCC drops across RL1. Hence, VC1 = 0 and
point A is at zero or ground potential.
2. Since Q2 is in cut-off i.e. it conducts no current, there is no drop across R L2.

Hence, point B is at VCC.


3. Since A is at 0 V, C2 starts to charge through R2 towards VCC.
4. When voltage across C2 rises sufficiently (i.e. more than 0.7 V), it biases Q2 in
the forward direction so that it starts conducting and is soon driven to saturation.
5. VC2 decreases and becomes almost zero when Q2 gets saturated. The potential of
point B decreases from VCCto almost 0 V. This potential decrease (negative
swing) is applied to the base of Q1 through C1. Consequently, Q1 is pulled out of
saturation and is soon driven to cut-off.
6. Since, now, point B is at 0 V, C1 starts charging through R1 towards the target
voltage VCC.
7. When voltage of C1increases sufficiently, Q1becomes forward-biased and starts
conducting.In this way, the whole cycle is repeated.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 87
A.A Science and Technology University School of Electrical Engineering and Computing

It is seen that the circuit alternates between a state in which Q1 is ON and Q2 is


OFF and a state inwhich Q1 is OFF and Q2 is ON. The time in each state depends
on RC values. Since each transistor isdriven alternately into saturation and cut-off
the voltage wave from at either collector (points A and B inFig. 4.2) is essentially a
square waveform with peak amplitude equal to VCC(Fig. 4.3).

Figure 4.3
Switching Times
It can be proved that off-time for Q1 is T1 = 0.69 R1C1 and that for Q2 is T2 =
0.69 R2C2.
Hence, total time-period of the wave is
T = T1 + T2= 0.69 (R1C1 + R2 C2)
If R1 = R2 = R and C1 = C2 = C i.e. the two stages are symmetrical, then T = 1.38
RC

Frequency of Oscillation
It is given by the reciprocal of time period,

Minimum Values of β

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 88
A.A Science and Technology University School of Electrical Engineering and Computing

To ensure oscillations, the transistors must saturate for which minimum values of β
are as under:

Example 1
Determine the period and frequency of oscillation for an astable multivibrator with
component values: R1 = 2 K, R2 = 20 K, C1 = 0.01 μF and C2 = 0.05 μF.

Solution
T1= 0.69 × 2 k × 0.01 μF = 13.8 μs
T2= 0.69 × 20 k× 0.05 μF = 690 μs
T = T1 + T2 = 13.8 μs + 690 μs = 703.8 μs
f =1/T = 1/703.8μs = 1.42 kHz

Monostable Multivibrator (MMV)


A typical MMVcircuit is shown in Fig. 4.4. Here, Q1 is coupled to Q2 base as in an
AMVbut the other coupling is different. In this multivibrator, a single narrow input
trigger pulse produces a single rectangular pulse whose amplitude, pulse width and
wave shape depend upon the values of circuit components rather than upon the
trigger pulse.

Initial Condition
In the absence of a triggering pulse at C2 and with S closed,

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 89
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 4.4 Monostable multivibrator circuit


1. VCCprovides reverse bias for C/B junctions of Q1 and Q2 but forward-bias for
E/B junctionof Q2 only. Hence, Q2 conducts at saturation.
2. VBBand R3 reverse bias Q1 and keep it cut off.
3.C1 charges to nearly VCCthrough RL1 to ground by the low-resistance path
provided bysaturated Q2.
As seen, the initial stable state is represented by
(i) Q2 conducting at saturation and(ii) Q1cut-off

When Trigger Pulse is applied


When a trigger pulse is applied to Q1 through C2, MMV will switch to its opposite
unstablestate where Q2 is cut-off and Q1 conducts at saturation. The chain of circuit
actions is as under:
1. If positive trigger pulse is of sufficient amplitude, it will override the reverse
bias of theE/B junction of Q1 and give it a forward bias. Hence, Q1 will start
conducting.
2. As Q1 conducts, its collector voltage falls due to voltage drop across RL1. It
means thatpotential of point A falls (negative-going signal). This negative-going
voltage is fed to Q2via C1 where it decreases its forward bias.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 90
A.A Science and Technology University School of Electrical Engineering and Computing

3. As collector current of Q1 starts decreasing, potential of point B increases


(positive-goingsignal) due to lesser drop over RL2. Soon, Q2 comes out of
conduction.
4. The positive-going signal at B is fed via R1 to the base of Q1 where it increases
its forwardbias further. As Q1 conducts more, potential of point A approaches 0
V.
5. This action is cumulative and ends with Q1 conducting at saturation and Q2 cut-
off.

Return to Initial Stable State


1. As point A is at almost 0 V, C1 starts to discharge through saturated Q1 to
ground.
2. As C1 discharges, the negative potential at the base of Q2 is decreased. As C1
dischargesfurther, Q2 is pulled out of cut-off.
3. As Q2 conducts further, a negative-going signal from point B via R1 drives Q1
into cut-off.Hence, the circuit reverts to its original state with Q2 conducting at
saturation and Q1 cut-off. Itremains in this state till another trigger pulse comes
along when the entire cycle repeats itself.As shown in Fig. 4.4, the output is
taken from the collector of Q2 though it can also be takenfrom point A of Q1.
The width of this pulse is determined by the time constant of C 1 R2. Since this
MVproduces one output pulse for every input trigger pulse it receives, it is
called mono or one-shotmultivibrator.

The width or duration of the pulse is given by T = 0.69 C1R2. It is also known as
the one-shot period.

Uses

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 91
A.A Science and Technology University School of Electrical Engineering and Computing

1. The falling part of the output pulse from MMV is often used to trigger another
pulse generatorcircuit thus producing a pulse delayed by a time T with respect to
the input pulse.
2. MMV is used for regenerating or rejuvenating old and worn out pulses. Various
pulses usedin computers and telecommunication systems become somewhat
distorted during use. AMMV can be used to generate new, clean and sharp pulses
from these distorted and usedones.

Example 2
A 20 kHz, 75% duty cycle square (tp)wave is used to trigger continuously, a
monostable multivibrator with triggered pulse duration of 5μs. What will be the
duty cycle of the waveform at output (B) of the monostable multivibrator (refer to
Fig. 4.4).

Solution
Time period of the square wave

Since the duty cycle of the square wave is 75%, therefore the time interval during
which the input waveform is at a higher voltage level 0.75 × 50 μs = 37.5 μs. Fig.
4.5 (a) shows a sketch of the input waveform which is used to trigger the
monostable multivibrator.

Now the monostable multivibrator is triggered once each time a new pulse arrives.
The monostable multivibrator remains triggered only for a duration, tp = 5 μs. A

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 92
A.A Science and Technology University School of Electrical Engineering and Computing

sketch of the waveformat the output (B) of the monostable multivibrator is as


shown in Fig. 4.5(b).

Figure 4.5
Bistable Multivibrator (BMV)
The basic circuit is shown in Fig. 4.6. As stated earlier, it has two absolutely stable
states.It can stay in one of its two states indefinitely (as long as power is supplied)
changing to the otherstate only when it receives a trigger pulse from outside. When
it receives another triggering pulse,only then it goes back to its original state. Since
one trigger pulse causes the MV to‘flip’ from one state to another and the next
pulse causes it to ‘flop’ back to its original state, theBMV is also popularly known
as ‘flip-flop’ circuit.The BMV circuit shown in Fig. 4.6 differs from the AMV
circuit of Fig. 4.2 in the followingrespects:

1. the base resistors are not joined to VCCbut to a common source–VBB


2.the feedback is coupled through two resistors (not capacitors)

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 93
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 4.6 Bistable multivibrator circuit


Circuit Action
If Q1 is conducting, then the fact that point A is at nearly 0 V makes the base of Q2
negative (by the potential divider R2 – R4) and holds Q2 off.

Similarly, with Q2 OFF, the potential divider from VCCto –VBB(RL2, R1, and R3) is
designed to keep base of Q1 at about 0.7 V ensuring that Q1 conducts. It is seen that
Q1 holds Q2 OFF and Q3 holds Q1 ON.

Suppose, now, a positive pulse is applied momentarily to R, it will cause Q2 to


conduct. As collector of Q2 falls to zero, it cuts Q1 OFF and, consequently, the
BMV switches over to its other state.
Similarly, a positive trigger pulse applied to S will switch the BMV back to its
original state.

Uses
1. in timing circuits as a frequency divider
2. in counting circuits
3. in computer memory circuits
Schmitt Trigger

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 94
A.A Science and Technology University School of Electrical Engineering and Computing

The Schmitt trigger is a binary circuit and closely resembles a MV. It has two
stable states and the magnitude of the input voltage determines which of the twois
possible. It is also called emitter-coupled binary oscillator because positive
feedback occurs bycoupling through emitter resistor RE.

The Quiescent Condition


As shown in Fig. 4.7, it consists of two similar transistors Q1 and Q2 coupled
through RE. Resistors R1, R3 and R4 form a voltage divider across VCCand –
VBBwhich places a small positive voltage (forward bias) on the base of Q2. Hence,
when power is first switched ON, Q2 starts conducting. The flow of current
through REplaces a small reverse bias on the base of Q1, thereby cutting it OFF.
Consequently, collector of Q1 rises to VCC. This positive voltage, coupled to the
base of Q2 through R3, drives Q2 into saturation and holds it there.

Hence, in the initial static or quiescent condition of the Schmitt trigger,


1. Q2is in saturation 3. collector of Q2is at 0 V
2. Q1 is cut-off 4. collector of Q1 is at VCC

Figure 4.7 Schmitt trigger circuit


Circuit Action

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 95
A.A Science and Technology University School of Electrical Engineering and Computing

Suppose, positive half-cycle of the input ac voltage is applied to the trigger input
first. Let usfurther suppose that this positive voltage is sufficient to overcome the
reverse bias on the base of Q1placed there by the voltage drop across RE. Then, the
chain of events that follows is as under:
1. Q1 comes out of cut-off and starts to conduct
2. as it does so, its collector voltage drops (swings negative)
3. this negative-swinging voltage coupled to the base of Q2via R3 reduces its
forward bias and hence its emitter current
4. with reduced emitter current, voltage drop across REis reduced;
5. consequently, reverse bias of Q1 is further lowered and it conducts more
heavily
6. as a result, collector voltage of Q1 falls further, thereby driving Q2still
closer to cut-off

This process is cumulative and ends up with


(a) Q1 conducting at saturation with its collector voltage almost zero
(b) Q2 becoming cut-off with its collector voltage nearly VCC

Negative Half-cycle of the Input Voltage


Now, when the negative half-cycle of the input voltage is applied
1. Q1 becomes reverse-biased. Consequently, its collector current falls and
collector voltagerises (i.e. potential of point A increases towards VCC)
2. this positive-swinging voltage is coupled to the base of Q2 through R3 and, as a
result, Q2 is driven to saturation
3. this re-establishes the original conditions of
(a) Q1 cut off with collector voltage at VCCand
(b) Q2 at saturation with collector voltage at 0 V

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 96
A.A Science and Technology University School of Electrical Engineering and Computing

It completes one cycle. This cycle is repeated as the input voltage rises and falls
again. Hence,each cycle of the Schmitt trigger produces a positive-going pulse at
its output which is taken outfrom the collector of Q2i.e. from point B in Fig. 4.8

Output Pulse Width


It depends on the time during which Q2 is conducting. It, in turn, depends on the
input voltage,within the limits imposed by emitter resistor RE.

Figure 4.8
Uses
1. It is frequently used for wave-shaping purposes.As shown in Fig. 4.8, it can
convert inputs withany waveshape into output pulses having rectangularor
square waveshapes. That is why Schmitttrigger is often called a ‘squaring’
circuit or a‘squarer’ circuit.
2. It can reshape worn-out pulses by giving themsharp leading and trailing edges.
3. Since a change of state occurs whenever the inputcrosses a trigger point, the
Schmitt trigger is oftenused as a level detector i.e. as a pulse height
discriminator.

Timer IC Circuit Unit Operation


Another popular analog–digital integrated circuit is the versatile 555 timer. The IC
ismade of a combination of linear comparators and digital flip-flops as described

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 97
A.A Science and Technology University School of Electrical Engineering and Computing

inFig. 4.9. The entire circuit is usually housed in an 8-pin package as specified
inFig. 4.9. A series connection of three resistors sets the reference voltage levels
tothe two comparators at 2/3VCC and 1/3VCC, the output of these comparators
setting orresetting the flip-flop unit. The output of the flip-flop circuit is then
brought outthrough an output amplifier stage. The flip-flop circuit also operates a
transistor insidethe IC, the transistor collector usually being driven low to
discharge a timing capacitor.

Figure 4.9 Details of 555 timer IC


Astable Operation
One popular application of the 555 timer IC is as an astable multivibrator or clock
circuit. The following analysis of the operation of the 555 as an astable circuit
includes details of the different parts of the unit and how the various inputs and
outputs are utilized. Figure 4.10 shows an astable circuit built using an external
resistor and capacitor to set the timing interval of the output signal.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 98
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 4.10 Astable multivibrator using 555 IC

Capacitor C charges toward VCCthrough external resistors RAand RB. Referringto


Fig. 4.10, the capacitor voltage rises until it goes above 2/3VCC. This voltage isthe
threshold voltage at pin 6, which drives comparator 1 to trigger the flip-flop sothat
the output at pin 3 goes low. In addition, the discharge transistor is driven
on,causing the output at pin 7 to discharge the capacitor through resistor RB. The
capacitorvoltage then decreases until it drops below the trigger level (VCC/3). The
flipflopis triggered so that the output goes back high and the discharge transistor is
turnedoff, so that the capacitor can again charge through resistors RAand RBtoward
VCC.Figure 17.18a shows the capacitor and output waveforms resulting from the
astablecircuit. Calculation of the time intervals during which the output is high and
low canbe made using the relations
Thigh≈ 0.7(RA +RB) C
Tlow≈ 0.7RBC
The total period is
T = period = Thigh + Tlow
The frequency of the astable circuit is then calculated using

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 99
A.A Science and Technology University School of Electrical Engineering and Computing

1 1.44
𝑓= ≈
𝑇 (𝑅𝐴 + 𝑅𝐴 )𝐶

Figure 4.11 astable multivibrator circuit with 555 timer

Figure 4.11 b wave forms of the astable multivibrator circuit with timer

The period can be directly calculated from


T = 0.693(RA+ 2RB)C ≈ 0.7(RA+ 2RB)C
Example 3
Determine the frequency and draw the output waveform for the circuit of Fig.
4.11a.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 100
A.A Science and Technology University School of Electrical Engineering and Computing

Solution

Monostable Operation
The 555 timer can also be used as a one-shot or monostable multivibrator circuit,
asshown in Fig. 4.12. When the trigger input signal goes negative, it triggers the
oneshot,with output at pin 3 then going high for a time period
Thigh = 1.1RAC
Referring back to Fig. 4.9, the negative edge of the triggering input causes
comparator2 to trigger the flip-flop, with the output at pin 3 going high. Capacitor
C chargestoward VCCthrough resistor RA. During the charge interval, the output
remains high.When the voltage across the capacitor reaches the threshold level of
2/3VCC, comparator1 triggers the flip-flop, with output going low. The discharge
transistor alsogoes low, causing the capacitor to remain at near 0 V until triggered
again.Figure 4.12b shows the input trigger signal and the resulting output
waveformfor the 555 timer operated as a one-shot. Time periods for this circuit can
range frommicroseconds to many seconds, making this IC useful for a range of
applications.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 101
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 4.12 (a) mono stable multivibrator circuit with 555 timer

Figure 4.12 (b) wave forms of mono stable multivibrator circuit with 555 timer

Example 4
Determine the period of the output waveform for the circuit of Fig. 4.12 above
given RA = 7.5 kΩ, C = 0.1 µF, C = 0.01 µF, VCCand triggered by a negative pulse.

Solution
Thigh =1.1RAC =1.1(7.5 x 103)(0.1 x 10- 6) =0.825 ms

Oscillators
What is an Oscillator?
An electronic oscillator may be defined in any one of the following four ways:
1. It is a circuit which converts dc energy into ac energy at a very high frequency
2. It is an electronic source of alternating current or voltage having sine, square or
saw tooth or pulse shapes

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 102
A.A Science and Technology University School of Electrical Engineering and Computing

3. It is a circuit which generates an ac output signal without requiring any


externally applied input signal
4. It is an unstable amplifier. These definitions exclude electromechanical
alternators producing 50 Hz ac power or other devices which convert mechanical
or heat energy into electric energy.

Comparison between an Amplifier and Oscillator


As discussed in Chapter 1, an amplifier produces an output signal whose waveform
is similar to the input signal but whose power level is generally high. This
additional power is supplied by the external dc source. Hence, an amplifier is
essentially an energy convertor i.e. it takes energy from the dc power source and
converts it into ac energy at signal frequency. The process of energy conversion is
controlled by the input signal. If there is no input signal, there is no energy
conversion and hence there is no output signal.
An oscillator differs from an amplifier in one basic aspect: the oscillator does not
require an external signal either to start or maintain energy conversion process
(Fig. 4.13). It keeps producing an output signal so long as the dc power source is
connected.

Moreover, the frequency of the output signal is determined by the passive


components used inthe oscillator and can be varied as well.

Figure 4.13 comparison of oscillator and amplifier

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 103
A.A Science and Technology University School of Electrical Engineering and Computing

Classification of Oscillators
Electronic oscillators may be broadly divided into two broad groups:
(i) Sinusoidal (or harmonic) oscillators: produce an output having sine wave form.
(ii) Non-sinusoidal (or relaxation) oscillators: produce an output of square,
rectangular or saw tooth waveform or is of pulse shape.

Sinusoidal oscillators may be further subdivided into:


(a) Tuned-circuits or LC feedback oscillators such as Hartley, Colpitts and Clapp
etc
(b) RC phase-shift oscillators such as Wien-bridge oscillator
(c) Negative-resistance oscillators such as tunnel diode oscillator
(d) Crystal oscillators such as Pierce oscillator
(e) Heterodyne or beat-frequency oscillator (BFO)

The active devices in an electronic oscillator are bipolar, FETs or unijunction


transistors and operate as classA, B or C. ClassA operation is used in high-quality
audio frequency oscillators.However, radio frequency oscillators are usually
operated as classC.

Damped and Undamped Oscillations


Sinusoidal oscillations produced by oscillators may be
(i) damped or
(ii) Undamped

(i) Damped Oscillations

Oscillations whose amplitude keeps decreasing (or decaying) with time are called
damped or decaying oscillations. The waveform of such oscillations is shown in

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 104
A.A Science and Technology University School of Electrical Engineering and Computing

Fig. 4.14 (a). These are produced by those oscillator circuits in which I 2R losses
take place continuously during each oscillation without any arrangement for
compensation. Ultimately, the amplitude of the oscillations decays to zero when
there is not enough energy to supply circuit losses. However, the frequency or
time-period remains constant because it is determined by the circuit parameters.

Sinusoidal oscillators serve a variety of functions in telecommunications and in


electronics. The most important application in telecommunication is the use of sine
waves as carrier signal in both radio and cable transmissions.

Sine wave signals are also used in frequency response testing of various types of
systems and equipment including analogue communication channels, amplifiers
and filters and closed-loop control systems.

Figure 4.14 damped and undamped oscillation wave forms

(ii) Undamped Oscillations


Oscillations whose amplitude remains constant i.e. does not change with time are
calledundampedoscillations. These are produced by those oscillator circuits which
have no losses or if theyhave, there is provision for compensation. The constant-
amplitude and constant-frequencysinusoidal waves shown in Fig. 4.14 (b) are
called carrier wavesand are used in communicationtransmitters for transmitting
low-frequency audio information to far off places.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 105
A.A Science and Technology University School of Electrical Engineering and Computing

The Oscillatory Circuit


It is also called LC circuit or tank circuit. The oscillatory circuit (Fig. 4.15) consists
of two reactive elements i.e. an inductor and a capacitor. Both are capable of
storing energy. The capacitor stores energy in its electric field whenever there is
potential difference across its plates. Similarly, a coil or an inductor stores energy
in its magnetic field whenever current flows through it. Both L and C are supposed
to be loss-free (i.e. their Q-factors are infinite). As shown in Fig. 4.15 (a), suppose
the capacitor has been fully-charged from a dc source. Since S is open, it cannot
discharge through L. Now, let us see what happens when S is closed.
1. When S is closed [Fig. 4.15 (b)] electrons move from plate A to plate B
through coil L as shown by the arrow (or conventional current flows from B
to A). This electron flow reduces the strength of the electric field and hence
the amount of energy stored in it.
2. As electronic current starts flowing, the self-induced emf in the coil opposes
the current flow. Hence, rate of discharge of electrons is somewhat slowed
down.
3. Due to the flow of current, magnetic field is set up which stores the energy
given out by the electric field [Fig. 4.15 (b)].
4. . As plate A loses its electrons by discharge, the electron current has a
tendency to die down and will actually reduce to zero when all excess
electrons on A are driven over to plate B so that both plates are reduced to
the same potential. At that time, there is no electric field but the magnetic
field has maximum value.
5. . However, due to self-induction (or electrical inertia) of the coil, more
electrons are transferred to plate B than are necessary to make up the
electron deficiency there. It means that now plate B has more electrons than

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 106
A.A Science and Technology University School of Electrical Engineering and Computing

A. Hence, capacitor becomes charged again though in opposite direction as


shown in Fig. 4.15 (c).
6. The magnetic field L collapses and the energy given out by it is stored in the
electric field of the capacitor.
7. After this, the capacitor starts discharging in the opposite direction so that,
now, the electrons move from plate B to plate A [Fig. 65.3 (d)]. The electric
field starts collapsing whereas magnetic field starts building up again though
in the opposite direction. Fig. 4.15 (d) shows the condition when the
capacitor becomes fully discharged once again.
8. However, these discharging electrons overshoot and again an excess amount
of electrons flow to plate A, thereby charging the capacitor once more.
9. This sequence of charging and discharging continues. The to and fro motion
of electrons between the two plates of the capacitor constitutes an oscillatory
current.

It may be also noted that during this process, the electric energy of the capacitor
is converted into magnetic energy of the coil and vice versa.

These oscillations of the capacitor discharge are damped because energy is


dissipated away gradually so that their amplitude becomes zero after sometime.
There are two reasons for the loss of the energy:
a. some energy is lost in the form of heat produced in the resistance of
the coil and connecting wires and
b. some energy is lost in the form of electromagnetic (EM) waves that
are radiated out from the circuit through which an oscillatory current
is passing

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 107
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 4.15 simple LC oscillator circuit

Both these losses subtract energy from the circuit with the result that circuit current
decreasesgradually till it becomes zero. The waveform of the oscillatory has
damped output wave form.

Frequency of Oscillatory Current


The frequency of time-period of the oscillatory current depends on two factors:
(a) Capacitance of the Capacitor
Larger the capacitor, greater the time required for the reversal of the discharge
current i.e. lower its frequency.
(b) Self-inductance of the Coil
Larger the self-inductance, greater the internal effect and hence longer the time
required by the current to stop flowing during discharge of the capacitor.

The frequency of this oscillatory discharge current is given by

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 108
A.A Science and Technology University School of Electrical Engineering and Computing

Where L = self-inductance in μH and C = capacitance in μF

Damped oscillations are not good for radio transmission purpose because of their
limited range and excessive distortion. For good radio transmission, we need
undamped oscillations which can be produced if some additional energy is
supplied in correct phase and correct direction to the LC circuit for making up the
I2R losses continually occurring in the circuit.

Frequency Stability of an Oscillator


The ability of an oscillator to maintain a constant frequency of oscillation is called
its frequency stability. Following factors affect the frequency stability:
1. Operating Point of the Active Device
The Q-point of the active device (i.e. transistor) is so chosen as to confine the
circuit operation on the linear portion of its characteristic. Operation on non-linear
portion varies the parameters of the transistor which, in turn, affects the frequency
stability of the oscillator.
2. Inter-element Capacitances
Any changes in the inter-element capacitances of a transistor particularly the
collector- to-emitter capacitance cause changes in the oscillator output frequency,
thus affecting its frequency stability. The effect of changes in inter-element
capacitances can be neutralized by adding a swamping capacitor across the
offending element added capacitance being made part of the tank circuit.
3. Power Supply
Changes in the dc operating voltages applied to the active device shift the oscillator
frequency.
This problem can be avoided by using regulated power supply.
4. Temperature Variations

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 109
A.A Science and Technology University School of Electrical Engineering and Computing

Variations in temperature cause changes in transistor parameters and also change


the values of resistors, capacitors and inductors used in the circuit. Since such
changes take place slowly, they cause a slow change (called drift) in the oscillator
output frequency.
5. Output Load
A change in the output load may cause a change in the Q-factor of the LC tuned
circuit thereby affecting the oscillator output frequency.
6. Mechanical Vibrations
Since such vibrations change the values of circuit elements, they result in changes
of oscillator frequency. This instability factor can be eliminated by isolating the
oscillator from the source of mechanical vibrations.

Essentials of a Feedback LC Oscillator


The essential components of a feedback LC oscillator shown in Fig. 4.16are:
1. A resonator whichconsists of an LCcircuit. It is alsoknown as
frequencydeterminingnetwork (FDN)or tank circuit.
2. An amplifierwhose function isto amplify the oscillationsproducedby the
resonator.
3. A positive feedback network (PFN) whose function is to transfer part of the
output energy to the resonant LC circuit in proper phase. The amount of energy
fed back is sufficient tomeet I2R losses in the LC circuit.

The essential condition for maintaining oscillations and for finding the value of
frequency is

It means that
(i) The feedback factor or loop gain | βA | = 1,

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 110
A.A Science and Technology University School of Electrical Engineering and Computing

(ii) The net phase shift around the loop is 0° (or an integral multiple of 360°). In
other words, feedback should be positive.
The above conditions form Barkhausen criterion for maintaining a steady level of
oscillation at a specific frequency. Majority of the oscillators used in radio
receivers and transmitters use tuned circuits with positive feedback. Variations in
oscillator circuits are due to the different way by which the feedback is applied.
Some of the basic circuits are:

1. Armstrong or Tickler or Tuned-base Oscillator:it employs inductive


feedback from collector to the tuned LC circuit in the base of a transistor.
2. Tuned Collector Oscillator: it also employs inductive coupling but the LC
tuned circuit is in the collector circuit.
3. Hartley Oscillator:here feedback is supplied inductively.
4. Colpitts Oscillator:here feedback is supplied capacitively
5. Clapp Oscillator: it is a slight modification of the Colpitts oscillator

Tuned Oscillator
Such an oscillator using a transistor in CE configuration is shown in Fig. 4.16.
Resistors R1, R2 and R3 determine the dc bias of the circuit. The parallel R3C2
network in the emitter circuit is a stabilizing circuit to prevent signal degeneration.
As usual, C1 is the dc blocking capacitor. The mutually-coupled coils L1 and L
forming primary and secondary coils of an RF transformer provide the required
feedback between the collector and base circuits. The amount of feedback depends
on the coefficient of coupling between the two coils. The CE connected transistor
itself provides a phase shift of 180° between its input and output circuits. The
transformer provides another 180° phase shift and thus producing a total phase
shift of 360° which is an essential condition for producing oscillations.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 111
A.A Science and Technology University School of Electrical Engineering and Computing

The parallel-tuned LC circuit connected between base and emitter is the frequency
determining network (FDN) i.e. it generates the oscillations at its resonant
frequency.

Figure 4.16 Tuned oscillator

Circuit operation
The moment switch S is closed, collector current is set up which tends to rise to its
quiescentvalue. This increase in IC is accompanied by:
1. An expanding magnetic field through L1 which links with L and
2. An induced e.m.f. called feedback voltage in L.
Two immediate reactions of this feedback voltage are:
(i) Increase in emitter-base voltage (and base current) and
(ii) A further increase in collector current IC.
It is followed by a succession of cycles of
1. An increase in feedback voltage
2. An increase in emitter-base voltage and
3. An increase in IC until saturation is reached.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 112
A.A Science and Technology University School of Electrical Engineering and Computing

Meanwhile, C gets charged. As soon as IC ceases to increase, magnetic field of L1


ceases toexpand and thus no longer induces feedback voltage in L. Having been
charged to maximum value,C starts to discharge through L. However, decrease in
voltage across C causes the following sequenceof reactions:
1. A decrease in emitter-base bias and hence in IB
2. A decrease in IC
3. A collapsing magnetic field in L1
4. An induced feedback voltage in L though, this time, in opposite direction;
5. Further decrease in emitter-base bias and so on till IC reaches its cut-off
value.

During this time, the capacitor having lost its original charge, again becomes fully
chargedthough with opposite polarity. Transistor being in cut-off, the capacitor
will again begin to dischargethrough L. Since polarity of capacitor charge is
opposite to that when transistor was in saturation,the sequence of reactions now
will be
1. An increase in emitter-base bias 5. A further increase in emitter-base
2. An increase in IC bias and
3. An expanding magnetic field in L1 6. So on till IC increases to its
4. An induced feedback voltage in L saturation value.
This cycle of operation keeps repeating so long as enough energy is supplied to
meet losses inthe LC circuit.
The output can be taken out by means of a third winding L2 magnetically coupled
to L1. It hasapproximately the same waveform as collector current.

The frequency of oscillation is equal to the resonant frequency of the LC circuit.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 113
A.A Science and Technology University School of Electrical Engineering and Computing

Tuned Collector Oscillator


Such an oscillator using a transistor in CE configuration is shown in Fig. 4.17.
(i) Frequency Determining Network (FDN)
It is made up of a variable capacitor C and a coil L which forms primary winding
of a step-down transformer. The combination of L and C forms an oscillatory tank
circuit to set the frequency of oscillation.

Resistors R1, R2 and R3 are used to dc bias the transistor. Capacitor C1 and C2 act to
bypass R3and R2 respectively. So that, they have no effect on the ac operation of
the circuit. Moreover, C2 provides ac ground for transformer secondary L1.

(ii) Positive Feedback


Feedback between the collector-emitter circuit and base-emitter circuit is provided
by the transformer secondary winding L1 which is mutually-coupled to L. As far as
ac signals are concerned, L1is connected to emitter via low-reactance capacitors C2
and C1.

Figure 4.17 Tuned collector oscillator circuit

Since transistor is connected in CE configuration, it provides a phase shift of 180°


between itsinput and output circuits. Another phase shift of 180° is provided by the

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 114
A.A Science and Technology University School of Electrical Engineering and Computing

transformer thus producinga total phase shift of 360° between the output and input
voltages resulting in positive feedbackbetween the two.

(iii) Amplifying Action


The transistor amplifier provides sufficient gain for oscillator action to take
place.
(iv)Working
When the supply is first switched on, a transient current is developed in the tuned
LC circuit asthe collector current rises to its quiescent value. This transient current
initiates natural oscillations inthe tank circuit. These natural oscillations induce a
small emf into L1 by mutual induction whichcauses corresponding variations in
base current. These variations in IBare amplified β times andappear in the collector
circuit. Part of this amplified energy is used to meet losses taking place in
theoscillatory circuit and the balance is radiated out in the form ofelectromagnetic
waves.

The frequency of oscillatory current is almost equal to the resonantfrequency of the


tuned circuit.

Tuned Drain Oscillator (FET)


The basic circuit is illustrated in Fig. 4.18. It is similar to thetuned collector
oscillator of Fig. 4.17. Because of its high input impedanceand high voltage
amplification, a FET can be used to constructvery simple and efficient oscillator
circuit. This frequency ofoscillation is given by

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 115
A.A Science and Technology University School of Electrical Engineering and Computing

Where rd = ac drain resistance


The value of mutual inductance required for maintaining oscillations is

Example 5
A tuned-collector oscillator has a fixed inductance of 100 μH and has to be tunable
over the frequency band of 500 kHz to 1500 kHz. Find the range of variable
capacitor to be used.

Solution
Resonant frequency is given by

Where L and C refer to the tank circuit


When fo = 500 kHz
C = 1/4π 2 × (500 × 103)2 × 100 ×10–6= 1015 pF
When fo = 1500 kHz
C = 1015/ (1500/500)2=113 pF
Hence, capacitor range required is 113 – 1015 pF

Hartley Oscillator
In Fig. 4.18 (a) is shown a transistor Hartley oscillator using CE configuration. Its
general principle of operation is similar to the tuned-collector oscillator discussed
above. It uses a single tapped-coil having two parts marked L1 and L2 instead of
two separate coils. So far as ac signals are concerned, one side of L2 is connected to
base via C1 and the other to emitter via ground and C3. Similarly, one end of L1 is

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 116
A.A Science and Technology University School of Electrical Engineering and Computing

connected to collector via C2 and the other to common emitter terminal via C3. In
other words, L1 is in the output circuit i.e. collector-emitter circuit whereas
L2 is in the base-emitter circuit i.e. input circuit. These two parts are inductively-
coupled and form an auto-transformer or a split-tank inductor. Feedback between
the output and input circuits is accomplished through autotransformer action which
also introduces a phase reversal of 180°. This phase reversal between two voltages
occurs because they are taken from opposite ends of an inductor (L1 - L2
combination) with respect to the tap which is tied to common transistor terminal
i.e. emitter which is ac grounded via C3. Since transistor itself introduces a phase
shift of 180°, the total phase shift becomes 360° thereby making the feedback
positive or regenerativewhich is essential for oscillations. As seen, positive
feedback is obtained from the tank circuit and is coupled to the base via C1. The
feedback factor is given by the ratio of turns in L2 and L1i.e. by N2/ N1 and its value
ranges from 0.1 to 0.5. Fig. 4.18 (b) shows the equivalent circuit of Hartley
oscillator.

Resistors R1 and R2 form a voltage divider for providing the base bias and R3 is an
emitter swamping resistor to add stability to the circuit. Capacitor C3 provides ac
ground thereby preventing any signal degeneration while still providing
temperature stabilization. Radio-frequency choke (RFC) provides dc load for the
collector and also keeps ac currents out of the dc supply VCC.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 117
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 4.18 Hartley oscillator circuit

Thefrequency of oscillation is given by

The output from the tank may be taken out by means of another coil coupled either
to L1 or L2.

Example 6
Calculate the oscillation frequency for the transistor Hartley oscillator circuit(refer
to Fig. 4.18). Given the circuit values: LRFC = 0.5 mH, L1 = 750 μH, L2 = 750 μH,
M = 150μH and C = 150pF.

Solution

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 118
A.A Science and Technology University School of Electrical Engineering and Computing

Colpitts Oscillator
This oscillator is essentially the same as Hartley oscillator except for one
difference. Colpitts oscillator uses tapped capacitance whereas Hartley oscillator
uses tapped inductance Fig. 4.19(a) shows the complete circuit with its power
source and dc biasing circuit whereas Fig. 4.19 (b) shows its ac equivalent circuit.
The two series capacitors C1 and C2 form the voltage divider used for providing the
feedback voltage (the voltage drop across C2 constitutes the feedback voltage). The
feedback factor is C1/C2. The minimum value of amplifier gain for maintaining
oscillations is

The tank circuit consists of two ganged capacitors C1 and C2 and a single fixed
coil. The frequency of oscillation (which does not depend on mutual inductance) is
given by

Transistor itself produces a phase shift of 180°. Another phase shift of 180° is
provided by thecapacitive feedback thus giving a total phase shift of 360° between
the emitter-base and collectorbasecircuits.Resistors R1 and R2 form a voltage
divider across VCCfor providing base bias, R3 is for emitterstabilization and RFC
provides the necessary dc load resistance RC for amplifier action. It alsoprevents
ac signal from entering supply dc VCC. Capacitor C5 is a bypass capacitor whereas
C4conveys feedback from the collector-to-base circuit.When S is closed, a sudden
surge of collector current shock-excitesthe tank circuit into oscillationswhich are
sustained by the feedback and the amplifying action of the transistor.Colpitts
oscillator is widely used in commercial signal generators up to 1 MHz Frequency
ofoscillation is varied by gang-tuning the two capacitors C1 and C2.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 119
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 4.19 Colpitts oscillator circuit

Example 7
Determine the circuit oscillation frequency for a transistor Colpitts oscillator
shown in Fig. 4.19(a). Given, L = 100 μH, LRFC= 0.5 mH, C1 = 0.005 μF, C2 = 0.01
μF. C6 = 10 μF

Solution
For a transistor Colpitts oscillator, the oscillation frequency,

Clapp Oscillator

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 120
A.A Science and Technology University School of Electrical Engineering and Computing

It is a variation of Colpitts oscillator and is shown in Fig. 4.20 (a). It differs from
Colpitts oscillator in respect of capacitor C3 only which is joined in series with the
tank inductor. Fig. 4.20 (b) shows the ac equivalent circuit.

Addition of C3(i) improves frequency stability and (ii)eliminates the effect of


transistor's parameters on the operation of the circuit. The operation of this circuit
is the same as that of the Colpitts oscillator.

The frequency of oscillation is given by

Crystal ControlledOscillator
Fig. 4.21 shows the use of a crystalto stabilize the frequency of a tuned-
collectoroscillator which has a crystal (usuallyquartz) in the feedback circuit. The
LC tank circuit has a frequency of oscillation

The circuit is adjusted to have a frequencynearabout the desired operating


frequency but the exactfrequency is set by the crystal and stabilized by the
crystal.For example, if natural frequency of vibration ofthe crystal is 27 MHz, the
LC circuit is made to resonateat this frequency.

As usual, resistors R1, R2 and R3 provide a voltagedivider stabilized dc bias


circuit.Capacitor C1 bypasses R3 in order to maintain large gain. RFCcoil L1
prevents ac signals from entering dc line whereas RC is the required dc load of the
collector.The coupling capacitor C2 has negligible impedance at the operating
frequency but prevents any dclink between collector and base. Due to extreme

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 121
A.A Science and Technology University School of Electrical Engineering and Computing

stability ofcrystal oscillations, such oscillators are widely used in


communicationtransmitters and receivers where frequency stabilityis of prime
importance.

Figure 4.21 Crystal controlled oscillator circuit

Modulation and Demodulation


Introduction
For successful transmission and reception of intelligence (code, voice, music etc.)
by the use of radio waves, two processes are essential:
(i) modulation and (ii ) demodulation

Speech and music etc. are sent thousands of kilometers away by a radio
transmitter. The scene in front of a television camera is also sent many kilometers
away to viewers. Similarly, a Moon probe or Venus probe checking its
environments sends the information it gathers millions of kilometers through space
to receivers on earth. In all these cases, the carrier is the high-frequency radio
wave. The intelligence i.e. sight, sound or other data collected by the probe is
impressed on the radio wave and is carried along with it to the destination.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 122
A.A Science and Technology University School of Electrical Engineering and Computing

Modulation is the process of combining the low-frequency signal with a very


high-frequency radio wave called carrier wave (CW). The resultant wave is called
modulated carrier wave. This job is done at the transmitting station.

Demodulation is the process of separating or recovering the signal from the


modulated carrier wave. It is just the opposite of modulation and is performed at
the receiving end.

What is a Carrier Wave?

It is a high-frequency undamped radio wave produced by radio-frequency


oscillators. As seen from Fig. 4.22, the output of these oscillators is first amplified
and then passed on to an antenna. This antenna radiates out these high-frequency
(electromagnetic) waves into space. These waves have constant amplitude and
travel with the velocity of light. They are inaudible i.e. by themselves they cannot
produce any sound in the loudspeaker of a receiver. As their name shows, their job
is to carry the signal (audio or video) from transmitting station to the receiving
station. The resultant wave is called modulated carrier wave.

Figure 4.22

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 123
A.A Science and Technology University School of Electrical Engineering and Computing

Radio Frequency Spectrum


Radio frequencies used by different communication systems extend from very low
frequencies to extra high frequencies as tabulated below along with their acronym
abbreviations.
Table 4.1 radio frequency spectrum
Frequency Designation Abbreviation Uses
very low
3-30 kHz VLF long distance telegraphy broadcasting
frequency
Long distance point-to-point service,
low
30-300 kHz LF navigational aids, sounds broadcasting
frequency
and line carrier systems.
300 kHz- medium sound broadcasting, ship-shore services
MF
3MHz frequency and line carrier systems
Medium and long-distance point-to-
high
3-30 MHz HF pointservices, sound broadcasting, linear
frequency
carriersystems.
very high
30-300 MHz VHF short-distance communication, TV
frequency
300 MHz- ultra high
UHF sound broadcasting, radar
3GHz frequency
super high Outer-space radio communication, point-
3-30 GHz SHF to-point microwave communication
frequency
systems and radar.
extra high Outer-space radio communication, point-
30-300 GHz EHF to-point microwave communication
frequency
systems and radar.

Sound

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 124
A.A Science and Technology University School of Electrical Engineering and Computing

It is a sort of disturbance which requires some physical medium for its


propagation. Human voice consists of a series of compressions and rarefactions
which travel through air with a velocity of about 345 m/s. The frequency range of
human voice is from 20 - 4000 Hz which lies within the audible range of 20 to
20,000 Hz. Variations in human voice can be converted into corresponding
variations in electric current with the help of a microphone as shown in Fig.4.23.

Figure 4.23 human speech signal as seen through oscilloscope

The two main characteristics of sound:


(i) Intensity:It is the energy content of the wave. It depends on its amplitude. In
fact, intensity of a wave is directly proportional to the square of its amplitude i.e. I
∝a2. Sensation of loudness felt by a listener depends directly on the intensity of the
wave falling on his ears.
(ii) Frequency: It produces the sensation called pitch. Audible sounds have a
frequency range from 20 Hz to 20,000 Hz.

Need for Modulation


Sometimes, beginners question the necessity of modulation i.e.using a carrier wave
to carry the low-frequency signal from one placeto another.The purposes of
modulation are:

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 125
A.A Science and Technology University School of Electrical Engineering and Computing

1. They have relatively short range


2. If everybody started transmitting these low-frequency signals directly,
mutual interference will render all of them ineffective
3. Size of antennas required for their efficient radiation would be large i.e.
about 75 km as explained below

For efficient radiation of a signal, the minimum length of an antenna is one quarter
wavelength(λ/4). The antenna length L is connected with the frequency of the
signal wave by the relation
L = 75 × 106/f meters. For transmitting an audio signal of f = 1000 Hz, L = 75 ×
106/103 = 75,000 m = 75 km. In view of this immense size of antenna length, it is
impractical to radiate audio-frequencysignals directly into space.

Hence, the solution lies in modulation which enables a low-frequency signal to


travel very largedistances through space with the help of a high-frequency carrier
wave. These carrier waves need
Reasonably-sized antennas and produce no interference with other transmitters
operating in the samearea.

Methods of Modulation
The mathematical expression for a sinusoidal carrier wave is
e = ECsin (ωc t + φ) = ECsin (2 πfc t + φ)
Obviously, the waveform can be varied by any of its following three factors or
parameters:
1. EC— the amplitude 2. fc — the frequency 3. φ — the phase
Accordingly, there are three types of sine-wave modulations known as:
1. Amplitude Modulation (AM)

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 126
A.A Science and Technology University School of Electrical Engineering and Computing

Here, the information or AF signal changes the amplitude of the carrier wave
without changing its frequency or phase.
2. Frequency Modulation (FM)
In this case, the information signal changes the frequency of the carrier wave
without changing its amplitude or phase.
3. Phase Modulation (PM)
Here, the information signal changes the phase of the carrier wave without
changing its other two parameters.

Amplitude Modulation
In this case, the amplitude of the carrier wave is varied in proportion to the
instantaneous amplitude of the information signal or AF signal. Obviously, the
amplitude (and hence the intensity) of the carrier wave is changed but not its
frequency. Greater the amplitude of the AF signal, greater the fluctuations in the
amplitude of the carrier wave.

The process of amplitude modulation is shown graphically in Fig. 4.24. For the
sake of simplicity, the AF signal has been assumed sinusoidal [Fig. 4.24 (a)]. The
carrier wave by which it is desired to transmit the AF signal is shown in Fig. 4.24
(b). The resultant wave called modulated wave is shown in Fig. 4.24 (c).

Figure 4.24 wave forms


Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 127
A.A Science and Technology University School of Electrical Engineering and Computing

Percent Modulation
It indicates the degree to which the AF signal modulates the carrier wave

The ratio B/A expressed as a fractionis called modulation index (MI)


m = M.I. × 100
From Fig. 4.24, it is seen that B = 1V and A = 1.5 V

Modulation may also be defined interms of the values referred to the


modulatedcarrier wave.

WhereEc(max) and Ec(min) are the maximumand minimum values of the


amplitudeof the modulated carrier wave.

Again, from Fig. 4.24 we see that

Fig. 4.25 shows a modulated wavewith different degrees of modulation. Asbefore,


both the signal and carrier wavesare assumed to be sine waves.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 128
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 4.25

Frequency Modulation
As the name shows, inthis modulation, it is only thefrequency of the carrierwhich
is changed and notits amplitude.The amount of changein frequency is
determinedby the amplitude of themodulating signal whereasrate of change is
determinedby the frequency ofthe modulating signal. Asshown in Fig. 4.26, in
anFM carrier, information (orintelligence) is carried asvariations in its frequency.

Figure 4.26 FM signal wave forms

Demodulation or Detection

When the RF modulated waves, radiated out from the transmitter antenna, after
travelling throughspace, strike the receiving aerials, they induce very weak RF
currents and voltages in them. If thesehigh-frequency currents are passed through

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 129
A.A Science and Technology University School of Electrical Engineering and Computing

headphones or loudspeakers, they produce no effect onthem because all such


sound-producing devices are unable to respond to such high frequencies dueto
large inertia of their vibrating discs etc. Neither will such RF currents produce any
effect onhuman ear because their frequencies are much beyond the audible
frequencies (20 to 20,000 Hzapproximately). Hence, it is necessary to demodulate
them first in order that the sound-producingdevices may be actuated by audio-
frequency current similar to that used for modulating the carrierwave at the
broadcasting station.

This process of recovering AF signal from the modulated carrier wave is known as
demodulationor detection.

The demodulation of an AM wave involves two operations:


(i) rectification of the modulated wave and
(ii) elimination of the RF component of the modulated wave

However, demodulation of an FM wave involves three operations (i) conversion of


frequencychanges produced by modulating signal into corresponding amplitude
changes, (ii) rectification ofthe modulating signal and (iii) elimination of RF
component of the modulated wave.

Chapter Five
Digital Electronics
5.1. Brief overview of Basic and derived logic gates
5.2. Realization of discrete logic gates
5.3. Digital integrated circuits and logic families
Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 130
A.A Science and Technology University School of Electrical Engineering and Computing

5.4. Comparison of common logic families


INTRODUCTION
The term digital is derived from the way computers perform operations, by
counting digits. For many years, applications of digital electronics were confined
to computer systems. Today, digital technology is applied in a wide range of areas
in addition to computers. Such applications as television, communications systems,
radar, navigation and guidance systems, military systems, medical instrumentation,
industrial process control, and consumer electronics use digital techniques. Over
the years digital technology has progressed from vacuum-tube circuits to discrete
transistors to complex integrated circuits.

DIGITAL AND ANALOG QUANTITIES


Electronic circuits can be divided into two broad categories, digital and analog.
Digital electronics involves quantities with discrete values, and analog electronics
involves quantities with continuous values. Although you will be studying digital
fundamentals in this chapter, you should also know something about analog
because many applications require both; and interfacing between analog and digital
is important.

An analogquantity is one having continuous values. A digital quantity is one


having a discrete set of values. Most things that can be measured quantitatively
occur in nature in analog form. For example, the air temperature changes over a
continuous range of values. During a given day, the temperature does not go from,
say, 70° to 71 ° instantaneously; it takes on all the infinite values in between. If
you graphed the temperature on a typical summer day, you would have a smooth,
continuous curve similar to the curve in Figure 5.1. Other examples of analog
quantities are time, pressure, distance, and sound.
Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 131
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 5.1 Graph of an analog quantity (temperature versus time)

The Digital Advantage


Digital representation has certain advantages over analog representation in
electronics applications. For one thing, digital data can be processed and
transmitted more efficiently and reliably than analog data. Also, digital data has a
great advantage when storage is necessary. For example, music when converted to
digital form can be stored more compactly and reproduced with greater accuracy
and clarity than form. Noise (unwanted voltage fluctuations) does not affect digital
data nearly as much as it does analog signals.

Figure 5.2 Sampled value representations (quantization) of the analog quantity in


Figure 5.1

An Analog Electronic System


A public address system, used to amplify sound so that it can be heard by a large

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 132
A.A Science and Technology University School of Electrical Engineering and Computing

audience, is one simple example of an application of analog electronics. The basic


diagram in Figure 5.3 illustrates that sound waves, which are analog in nature, are
picked up by a microphone and converted to a small analog voltage called the
audio signal. This voltage varies continuouslyas the volume and frequency of the
sound changes and is applied to the input of a linear amplifier. The output of the
amplifier, which is an increased reproduction of input voltage, goesto the
speaker(s). The speaker changes the amplified audio signal back to sound waves
that have a much greater volume than the original sound waves picked up by the
microphone.

Figure 5.3 Basic audio public address system

A System Using Digital and Analog Methods


The compact disk (CD) player is an example of a system in which both digital and
analog circuits are used. The simplified block diagram in Figure 5.4 illustrates the
basic principle. Music in digital form is stored on the compact disk. A laser diode
optical system picks up thedigital data from the rotating disk and transfers it to the
digital-to-analog converter (DAC).

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 133
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 5.4 Basic block diagram of a CD player


Binary Digits, Logic Levels, and Digital Waveforms
Digital electronics involves circuits and systems in which there are only two
possiblestates. These states are represented by two different voltage levels: A
HIGH and a LOW. The two states can also be represented by current levels, bits
and bumps on a CD or DVD etc. In digital systems such a computers,
combinations of the two states, called codes, are used to represent numbers,
symbols, alphabetic characters, and other types of information. The two-state
number system is called binary, and its two digits are 0 and 1. A binary digit is
called a bit.

Binary Digits
Each of the two digits in the binary system, 1 and 0, is called a bit, which is a
contraction of the words binary digit. In digital circuits, two different voltage
levels are used to represent the two bits. Generally, 1 is represented by the higher
voltage, which we will refer to as a HIGH, and a 0 is represented by the lower
voltage level, which we will refer to as a LOW. This is called positive logic and
will be used throughout the book.
HIGH = 1 and LOW = 0
Another system in which a 1 is represented by a LOW and a 0 is represented by a
HIGH is called negative logic.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 134
A.A Science and Technology University School of Electrical Engineering and Computing

Digital Waveforms
Digital waveforms consist of voltage levels that are changing back and forth
between theHIGH and LOW levels or states. Figure 5.5 (a) shows that a single
positive-going pulse isgenerated when the voltage (or current) goes from its
normally LOW level to its HIGH level and then back to its LOW level. The
negative-going pulse in Figure 5.5 (b) is generated when the voltage goes from its
normally HIGH level to its LOW level and back to its HIGH level. A digital
waveform is made up of a series of pulses.

Figure 5.5 Ideal pulses

An important characteristic of a periodic digital waveform is its duty cycle, which


is theratio of the pulse width (tw) to the period (T). It can be expressed as a
percentage.
𝑡𝑤
𝐷𝑢𝑡𝑦 𝑐𝑦𝑐𝑙𝑒 = ( ) 100 %
𝑇
Example 5.1
Aportion of a periodic digital waveform is shown in Figure 5.6. The measurements
are in milliseconds. Determine the following:
(a) Period(b) frequency (c) duty cycle

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 135
A.A Science and Technology University School of Electrical Engineering and Computing

Figure 5.6
Solution
(a) The period is measured from the edge of one pulse to the corresponding
edge of the next pulse. In this case T is measured from leading edge to
leading edge, as indicated. T equals 10 ms
1 1
(b) 𝑓 = = = 100 𝐻𝑧
𝑇 10𝑚𝑠
𝑡 1𝑚𝑠
(c) 𝐷𝑢𝑡𝑦 𝑐𝑦𝑐𝑙𝑒 = ( 𝑤) 100 % = ( ) 100% = 10 %
𝑇 10𝑚𝑠

Number systems, operations and codes


Introduction
The binary number system and digital codes are fundamentalto computers and to
digital electronics in general. In this chapter, the binary number system and its
relationship toother number systems such as decimal, hexadecimal, and octal is
presented. Arithmetic operations with binary numbers are covered to provide a
basis for understanding how computers and many other types of digital systems
work. Also, digital codes such as binary coded decimal (BCD), the Gray code, and
the ASCII are covered.

Decimal Numbers
You are familiar with the decimal number system because you use decimal
numbers every day. Although decimal numbers are commonplace, their weighted
structure is often not understood.

In the decimal number system each of the ten digits, 0 through 9 represents a
certain quantity. As you know, the ten symbols (digits) do not limit you to
expressing only ten different quantities because you use the various digits in
appropriate positions within a number to indicate the magnitude of the quantity.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 136
A.A Science and Technology University School of Electrical Engineering and Computing

For example, you wish to express the quantity twenty-three, you use (by their
respective positions in the number) the digit 2 to represent the quantity twenty and
the digit 3 to represent the quantity three.

Binary Numbers
The binary number system has two digits (bits). The binary number system has a
base of 2. The binary number system is another way to represent quantities. It is
less complicated than the decimal system because it has only two digits. The
decimal system with its ten digits is a baseten system; the binary system with its
two digits is a base-two system. The two binary digits (bits) are 1 and 0. The
position of a 1 or 0 in a binary number indicates its weight or value within the
number, just as the position of a decimal digit determines the value of that digit.
The weights in a binary number are based on powers of two.

Counting in Binary
To learn to count in the binary system, first look at how you count in the decimal
system. You start at zero and count up to nine before you run out of digits. You
then start another digit position (to the left) and continue counting 10 through 99.
At this point you have exhausted all two digit combinations. So a third digit
position is needed to count from 100 through 999. The same is to count in binary
system.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 137
A.A Science and Technology University School of Electrical Engineering and Computing

Decimal
Number Binary Number
0 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
10 1 0 1 0
11 1 0 1 1
12 1 1 0 0
13 1 1 0 1
14 1 1 1 0
15 1 1 1 1

An Application

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 138
A.A Science and Technology University School of Electrical Engineering and Computing

Learning to count in binary will help you to basically understand how digital
circuits can be used to count events. This can be anything from counting items on
an assembly line to counting operations in a computer. Let's take a simple example
of counting tennis balls going into a box from a conveyor belt. Assume that nine
balls are to go into each box.

The counter in Figure 5.7 counts the pulses from a sensor that detects the passing
of a ball and produces a sequence oflogic levels (digital wavefom1s) on each of its
four parallel outputs. Each set of logic levels represents a 4-bit binary number
(HIGH = 1 and LOW = 0), as indicated. As the decoder receives these waveforms,
it decodes each set of four bits and converts it to the corresponding decimal
number in the 7-segment display. When the counter gets to the binary state of
1001, it has counted nine tennis balls, the display shows decimal 9, and a new box
is moved under the conveyor. Then the counter goes back to its zero state (0000),
and the process starts over.

Figure 5.7 Illustration of a simple binary counting application

Hexadecimal Numbers
The hexadecimal number system has sixteen characters; it is used primarily as a
compact way of displaying or writing binary numbers because it is very easy to
convert between binary and hexadecimal. As you are probably aware, long binary

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 139
A.A Science and Technology University School of Electrical Engineering and Computing

numbers are difficult to read and write because it is easy to drop or transpose a bit.
Since computers and microprocessors understand only 1s and 0s, it is necessary to
use these digits when you program in "machine language." Imagine writing a
sixteen bit instruction for a microprocessor system in 1s and 0s.
Decimal Binary Hexadecimal
Number Number Number
0 0000 0
1 0001 1
2 0010 2
3 0011 3
4 0100 4
5 0101 5
6 0110 6
7 0111 7
8 1000 8
9 1001 9
10 1010 A
11 1011 B
12 1100 C
13 1101 D
14 1110 E
15 1111 F

ASCII
ASCII is the abbreviation for American Standard Code for Information
Interchange. Pronounced "askee," ASCII is a universally accepted alphanumeric

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 140
A.A Science and Technology University School of Electrical Engineering and Computing

code used in most computers and other electronic equipment. Most computer
keyboards are standardized with theASCII. When you enter a letter, a number, or
control command, the corresponding ASCIIcode goes into the computer.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 141
A.A Science and Technology University School of Electrical Engineering and Computing

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 142
A.A Science and Technology University School of Electrical Engineering and Computing

Basic Logic Gates

There are three basic logic gates each of which performs a basic logic function,
they are called NOT, AND and OR. All other logic functions can ultimately be
derived from combinations of these three. For each of the three basic logic gates a
summary is given including the logic symbol, the corresponding truth table and the
Boolean expression.

The NOT gate

The NOT gate is unique in that it only has one input. It looks like

The input to the NOT gate is inverted i.e the binary input state of 0 gives an
output of 1 and the binary input state of 1 gives an output of 0.

is known as "NOT A" or alternatively as the complement of .


The truth table for the NOT gate appears as below

0 1

1 0

The AND gate

The AND gate has two or more inputs. The output from the AND gate is 1 if and
only if all of the inputs are 1, otherwise the output from the gate is 0. The AND
gate is drawn as follows

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 143
A.A Science and Technology University School of Electrical Engineering and Computing

The output from the AND gate is written as (the dot can be written half way
up the line as here or on the line. Note that some textbooks omit the dot
completely).
The truth table for a two-input AND gate looks like

0 0 0

0 1 0

1 0 0

1 1 1

It is also possible to represent an AND gate with a simple analogue circuit, this is
illustrated as an animation.

The OR Gate

The OR gate has two or more inputs. The output from the OR gate is 1 if any of the
inputs is 1. The gate output is 0 if and only if all inputs are 0. The OR gate is
drawn as follows

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 144
A.A Science and Technology University School of Electrical Engineering and Computing

The output from the OR gate is written as . The truth table for a two-
input OR gate looks like

0 0 0

0 1 1

1 0 1

1 1 1

Other Logic Gates

The three basic logic gates can be combined to provide more complex logical
functions. Four important logical functions are described here, namely NAND,
NOR, XOR and XNOR. In each case a summary is given including the logic
symbol for that function, the corresponding truth table and the Boolean expression.

The NAND gate

The NAND gate has two or more inputs. The output from the NAND gate is 0 if
and only if all of the inputs are 1 otherwise the output is 1. Therefore the output
from the NAND gate is the NOT of A AND B (also known as the complement or
inversion of . ). The NAND gate is drawn as follows

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 145
A.A Science and Technology University School of Electrical Engineering and Computing

Where: the small circle immediately to the right of the gate on the output line is
known as an invert bubble.

The output from the NAND gate is written as (the same rules apply regarding
the placement and appearance of the dot as for the AND gate - see the section on
basic logic gates). The Boolean expression reads as "A NAND B". The truth
table for a two-input NAND gate looks like

0 0 1

0 1 1

1 0 1

1 1 0

The NOR gate

The NOR gate has two or more inputs. The output from the NOR gate is 1 if
and only if all of the inputs are 0, otherwise the output is 0. This output
behavior is the NOT of A OR B. The NOR gate is drawn as follows

The output from the NOR gate is written as which reads "A NOR B". The
truth table for a two-input NOR gate looks like

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 146
A.A Science and Technology University School of Electrical Engineering and Computing

0 0 1

0 1 0

1 0 0

1 1 0

THE EXCLUSIVE-OR (XOR) gate

The exclusive-OR or XOR gate has two or more inputs. For a two-input XOR the
output is similar to that from the OR gate except it is 0 when both inputs are 1.
This cannot be extended to XOR gates comprising 3 or more inputs however.

In general, an XOR gate gives an output value of 1 when there are an odd number
of 1's on the inputs to the gate. The truth table for a 3-input XOR gate below
illustrates this point. The XOR gate is drawn as

The output from the XOR gate is written as which reads "A XOR B". The
truth table for a two-input XOR gate looks like

0 0 0

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 147
A.A Science and Technology University School of Electrical Engineering and Computing

0 1 1

1 0 1

1 1 0

For a 3-input XOR gate with inputs , and the truth table is given by

0 0 0 0

0 0 1 1

0 1 0 1

0 1 1 0

1 0 0 1

1 0 1 0

1 1 0 0

1 1 1 1

THE EXCLUSIVE-NOR (XNOR) gate

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 148
A.A Science and Technology University School of Electrical Engineering and Computing

The exclusive-NOR or XNOR gate has two or more inputs. The output is
equivalent to inverting the output from the exclusive-OR gate described above.
Therefore an equivalent circuit would comprise an XOR gate, the output of which
feeds into the input of a NOT gate.

In general, an XNOR gate gives an output value of 1 when there are an even
number of 1's on the inputs to the gate. The truth table for a 3-input XNOR gate
below illustrates this point.

The XNOR gate is drawn using the same symbol as the XOR gate with an invert
bubble on the output line as is illustrated below

The output from the XNOR gate is written as which reads "A XNOR B". The
truth table for a two-input XNOR gate looks like

0 0 1

0 1 0

1 0 0

1 1 1

For a 3-input XNOR gate with inputs , and the truth table is given by

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 149
A.A Science and Technology University School of Electrical Engineering and Computing

0 0 0 1

0 0 1 0

0 1 0 0

0 1 1 1

1 0 0 0

1 0 1 1

1 1 0 1

1 1 1 0

Logic Families

There are several different families of logic gates. Each family has its capabilities
and limitations, its advantages and disadvantages. The following list describes the
main logic families and their characteristics.

Diode Logic (DL)

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 150
A.A Science and Technology University School of Electrical Engineering and Computing

Diode logic gates use diodes to perform AND and OR logic functions. Diodes have
the property of easily passing an electrical current in one direction, but not the
other. Thus, diodes can act as a logical switch.

Diode logic gates are very simple and inexpensive, and can be used effectively in
specific situations. However, they cannot be used extensively, as they tend to
degrade digital signals rapidly. In addition, they cannot perform a NOT function,
so their usefulness is quite limited.

Diode OR Circuit

The above figure shows two diodes D1 & D2 with a resistor load. The table shows
the voltage truth table for the circuit.

With both inputs at 0V, the output is at 0V.

With either diode input at +5V, the respective diode will be forward biased and
current will flow through the diode and the load resistor. For silicon junction
diodes, the output voltage will be approximately 0.7V less than the input voltage,
due to the voltage drop across the forward biased diode.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 151
A.A Science and Technology University School of Electrical Engineering and Computing

With both inputs at +5V, the output will still be 0.7V less than the supply value
(that is, 4.3V).

Note: If the input voltages for the two inputs are different, then the output voltages
will depend on the inputs. Table below shows the voltage truth table for inputs of
+3V & +5V.

Converting the voltage levels of the above truth table to logic levels 0 & 1 and
using positive logic gives the truth table shown below

From the above table it can be seen that the output is at logic 1 if input A OR B OR
both inputs are at logic 1. The circuit therefore performs the OR function.

Circuits having inputs and an output, the output depending on the logic states of
the inputs, are referred to as gates. A circuit with the OR characteristic is referred
to as an OR gate.

Such a gate with two inputs would be referred to as a 2-input OR gate, one with
three inputs a 3- input OR gate, etc.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 152
A.A Science and Technology University School of Electrical Engineering and Computing

Diode AND Circuit

The above figure shows two diodes D1 & D2 and resistor R1 forming an AND
circuit. The table shows the voltage truth table for the circuit.

With both inputs at 0V, the diodes will be forward biased and the output will be
0.7V, this being the voltage drops across a forward biased silicon junction diode.

With either diode input at 0V, the respective diode will be forward biased and the
output voltage will again be approximately 0.7V.

With both inputs at +5V, both diodes will be reverse biased and the output voltage
will be the supply value (that is, +5V) provided there is no load resistor connected
to the output circuit.

With a load resistor RL connected to the output circuit the output voltage will be
reduced to the value 5 x RL/ (R1 + RL). This is illustrated in the figure below

Converting the voltage levels of the previous table to logic levels 0 & 1 and using
positive logic gives the truth table shown below

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 153
A.A Science and Technology University School of Electrical Engineering and Computing

From the above table it can be seen that the output is at logic 1 only if inputs A
AND B are at logic 1. The circuit therefore performs the AND function.

Such a circuit with two inputs would be referred to as a 2-input AND gate, one
with three inputs a 3-input AND gate, etc.

Resistor-Transistor Logic (RTL)

Resistor-transistor logic gates use Transistors to combine multiple input signals,


which also amplify and invert the resulting combined signal. Often an additional
transistor is included to re invert the output signal. This combination provides
clean output signals and either inversion or non-inversion as needed.

RTL gates are almost as simple as DL gates, and remain inexpensive. They also
are handy because both normal and inverted signals are often available. However,
they do draw a significant amount of current from the power supply for each gate.
Another limitation is that RTL gates cannot switch at the high speeds used by
today's computers, although they are still useful in slower applications.

Although they are not designed for linear operation, RTL integrated circuits are
sometimes used as inexpensive small-signal amplifiers, or as interface devices
between linear and digital circuits.
Diode-Transistor Logic (DTL)

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 154
A.A Science and Technology University School of Electrical Engineering and Computing

By letting diodes perform the logical AND or OR function and then amplifying the
result with a transistor, we can avoid some of the limitations of RTL. DTL takes
diode logic gates and adds a transistor to the output, in order to provide logic
inversion and to restore the signal to full logic levels.

Transistor Application as a Switch

The above figure shows an NPN transistor circuit with base feed resistor R1 and
collector load resistor R2. The table shows the voltage and positive logic truth
tables for the circuit.

With the input at 0V, there will be no base current and hence the transistor will be
turned OFF. There will be no collector current, so the output voltage from the
collector will be the supply value (+5V), provided there is no load resistance
connected to the output.

With the input at +5V, there will be a current flow in the base-emitter circuit and
the transistor will be turned ON. The value of R1 is arranged to allow sufficient
collector current to flow for the collector voltage to fall to approximately zero.
Under this condition the transistor is said to be saturated.

Example
With a collector load resistor of 1kΩ and a supply voltage of +5V, the collector
current required to saturate the transistor will be:

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 155
A.A Science and Technology University School of Electrical Engineering and Computing

With a transistor current gain of 20, the minimum base current required is:

There will be 0.7V drop across the transistor base - emitter junction and 4.3V
across R1 (5V - 0.7V = 4.3V).

The maximum value of R1 to allow 0.25mA current to flow is:

Normally a lower value for R1 would be used to ensure that the transistor saturates.

From the truth tables it can be seen that the output logic level is the inverse of the
input logic level. The circuit acts as an inverter and is referred to as a NOT gate.

DiodeTransistor NOR Gate

The above figure shows a 2-input diode-transistor circuit and the table shows the
voltage and logic truth tables for the circuit.

With both inputs at 0V, the transistor will be turned OFF and the output voltage
will be at +5V.

With either or both inputs at +5V, the transistor will be saturated and the output
will be at 0V.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 156
A.A Science and Technology University School of Electrical Engineering and Computing

The output states are the inverse of those for an OR gate. That is, it is a NOT OR
gate and is referred to as a NOR gate.

Diode-Transistor NAND Gate

The above figure shows a 2-input diode-transistor circuit and the table shows the
voltage and logic truth tables for the circuit.

With either or both inputs at 0V, the junction of R1 & R3 will be held at 0.7V, due
to the voltage drop across the forward biased diode. The transistor will be turned
OFF and hence the output voltage will be at +5V.

With both inputs at +5V, the transistor base - emitter circuit will be fed via R3 &
R1, the transistor will be saturated and the output will be at 0V.

The output states are the inverse of those for an AND gate. That is, it is a NOT
AND gate and is referred to as a NAND gate.

In practice, to ensure that the transistor base voltage is less than 0.7V with either
input at 0V, the resistor R1 is normally replaced with a diode as shown below

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 157
A.A Science and Technology University School of Electrical Engineering and Computing

Effect of Logic Convention on Gate Characteristics

The above tables show the voltage truth table characteristics of a gate and also the
logic truth tables for positive and negative logic conventions.
For positive logic the gate has an output of logic 1 only with both inputs at logic 1
and therefore represents an AND gate.

For negative logic convention, the gate has an output of logic 1 when either or
both inputs are at logic 1 and therefore represents an OR gate.

The above tables show the voltage truth table for a gate and its corresponding
positive and negative logic truth tables. The gate represents an OR gate for positive

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 158
A.A Science and Technology University School of Electrical Engineering and Computing

logic and an AND gate for negative logic.

Transistor – Transistor Logic (TTL)

The physical construction of integrated circuits made it more effective to replace


all the input diodes in a DTL gate with a transistor, built with multiple emitters.
The result is transistor-transistor logic, which became the standard logic circuit in
most applications for a number of years.

As the state of the art improved, TTL integrated circuits were adapted slightly to
handle a wider range of requirements, but their basic functions remained the same.
These devices comprise the 7400 family of digital ICs.

These are basically gate circuits consisting of several transistors, resistors and
diodes that have been formed on a small piece of silicon and enclosed in a plastic
package.

Normally, more than one gate will be formed on the same piece of silicon and
enclosed in the same package with the supply and the input and output connections
for each gate brought out to external connecting pins. The complete unit is referred
to as an integrated circuit (IC).

These circuits are much smaller, require the minimum of connections, and are
faster and more reliable than equivalent circuits constructed from separate
components.

The usual package form is rectangular with the connecting pins aligned along the
two longer sides and is referred to as a DUAL-IN-LINE (DIL) package. For gate

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 159
A.A Science and Technology University School of Electrical Engineering and Computing

circuits, packages with either 14 or 16 connecting pins are used and they are
therefore referred to as 14-pin DIL or 16-pin DIL packages.

The following figure illustrates the DIL packaging and the pin numbering system,
pin 1 being indicated by a circular indent at the end containing a notch.

TTL Logic Gates and Voltage Levels

There are a series of TTL integrated circuits (IC's), the identification numbers
starting with the numerals 74 and they are therefore referred to as the 74 series.
e.g.
7400 Quad 2-input NAND gate (Four 2-input NAND gates in the IC)
7402 Quad 2-input NOR gate (Four 2-input NOR gates in the IC)
7408 Quad 2-input AND gate (Four 2-input AND gates in the IC)
7432 Quad 2-input OR gate (Four 2-input OR gates in the IC)
7404 Hex Inverter (Six Inverter or NOT gates in the IC)

The following shows the gate pin-out connections for these IC's.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 160
A.A Science and Technology University School of Electrical Engineering and Computing

This series of logic gates use positive logic, a supply voltage of +5V and specified
values for the voltages corresponding to the logic levels 0 & 1 and for the other
characteristics of logic gates. There are several variations on the standard 74 series
of TTL devices:
STTL Schottky TTL
LSTTL Low power Schottky TTL
ALSTTL Advanced Low Power Schottky TTL
FAST High speed Low Power TTL

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 161
A.A Science and Technology University School of Electrical Engineering and Computing

These have slight differences in respect of some of the characteristics compared


with the standard TTL and will be considered in a further course on the topic.
The voltage values specified for the two logic levels are common for all TTL series
devices and are as follows:
Inputs: Logic 0: < 0.8V
Logic 1: > 2.0V
Outputs: Logic 0: <0.4V
Logic 1: >2.4V
These values represent the voltages that are recognized accurately as being at the
respective level 0 or 1 at the input to or the output from a device. Intermediate
voltages 0.8V - 2.0V at the input or 0.4V - 2.4V at the output may be inaccurately
identified.

The input voltage value at which a change in the output state is triggered is referred
to as the THRESHOLD LEVEL. For the TTL family, this value is around 1.4V.

The above figure shows the typical TTL NAND gate input/output transfer
characteristic and indicates the voltage areas outside the stated specification for
these devices. With the input voltage low, the output is high and exceeds 2.4V. At

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 162
A.A Science and Technology University School of Electrical Engineering and Computing

the threshold voltage, between 0.8V & 2V, the output state changes to its low
level, this being less than 0.4V.

For input falling voltage change from high value to zero, the characteristic is
basically the same as for rising voltages.

Emitter-Coupled Logic (ECL)

Also known as Current Mode Logic (CML), ECL gates are specifically designed to
operate at extremely high speeds, by avoiding the "lag" inherent when transistors
are allowed to become saturated. Because of this, however, these gates demand
substantial amounts of electrical current to operate correctly.

CMOS (Complementary Metal Oxide Semiconductor) Logic

One factor is common to all of the logic families we have listed above: they use
significant amounts of electrical power. Many applications, especially portable,
battery-powered ones, require that the use of power be absolutely minimized. To
accomplish this, the CMOS (Complementary Metal-Oxide-Semiconductor) logic
family was developed. This family uses enhancement-mode MOSFETs as its
transistors, and is so designed that it requires almost no current to operate.

CMOS gates are, however, severely limited in their speed of operation.


Nevertheless, they are highly useful and effective in a wide range of battery-
powered applications.

Most logic families share a common characteristic: their inputs require a certain

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 163
A.A Science and Technology University School of Electrical Engineering and Computing

amount of current in order to operate correctly. CMOS gates work a bit differently,
but still represent a capacitance that must be charged or discharged when the input
changes state. The current required to drive any input must come from the output
supplying the logic signal. Therefore, we need to know how much current an input
requires, and how much current an output can reliably supply, in order to
determine how many inputs may be connected to a single output.

CMOS gates consist of field effect transistor circuits, these being formed on a
piece of silicon and enclosed in a 14-pin or 16-pin DIL plastic package as for TTL
devices. Combinations of P-channel (PMOS) and N-channel (NMOS) transistors
are used and hence the name Complementary MOS (CMOS).

CMOS gates are voltage operated devices (TTL being current operated) and, due to
the use of complementary MOS transistors, their power supply consumption is
very low.
Typical power consumption: CMOS = 10nW and TTL = 10mW
Thus, TTL devices consume of the order of 1000 times more power.

Due to their voltage operation, the current capability of the output circuit of CMOS
gates is less than that for TTL gates in respect of both delivering current
("sourcing") and receiving current ("sinking").

The figure below illustrates the direction of current flow in the output circuit of a
gate when "sourcing" and "sinking" current.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 164
A.A Science and Technology University School of Electrical Engineering and Computing

Although the current required by a CMOS input is much lower than that for a TTL
input, the capacitance of CMOS devices is higher than for TTL devices. Hence
their speed of operation is less than that for TTL gates.

CMOS Logic Gates ICs

In the standard series of CMOS integrated circuits, the identification numbers of all
ICs start with the numeral 4 and normally having 4 digits. They are therefore
referred to as the 4000 series, for example:
4001 Quad 2-input NOR gate (Four 2-input NOR gates in the IC)
4002 Dual 4-input NOR gate (Two 4-input NOR gates in the IC)
4011 Quad 2-input NAND gate (Four 2-input NAND gates in the IC)
4071 Quad 2-input OR gate (Four 2-input OR gates in the IC)
4049 Hex inverter (Six Inverter or NOT gates in the IC)
This series of logic gates uses positive logic, and can operate on a supply voltage
within the range 3V to 15V.

CMOS Voltage Levels

The voltage levels specified for the two logic levels are common to all 4000 series
CMOS devices. For a +5V supply, these voltages are as follows:

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 165
A.A Science and Technology University School of Electrical Engineering and Computing

Inputs: Logic 0: 1.5V max


Logic 1: 3.5V min
Outputs: Logic 0: 0.05V max
Logic 1: 4.95V min
The input values represent the voltages that will be recognized accurately as being
at the respective level (0 or 1) at the input to a CMOS device. Intermediate
voltages between 1.5V and 3.5V may be inaccurately identified.

The output values represent the level 0 and level 1 voltages that will be present at
the output of a CMOS 4000 series device that is operating within its normal
specification.

The input threshold voltage for a CMOS 4000 series gate is typically around half
of the supply voltage, or 2.5V for a gate powered from a +5V supply.

CMOS Noise Margin

Consider the situation where the output of one CMOS 4000 series gate drives the
input of another. If the driving gate is operating within its specification and the
supply voltage is +5V, then:
Logic 1 output will exceed the minimum required logic 1 input voltage by at least
1.45V (4.95V - 3.5V).

A logic 0 output will be below the maximum allowable logic 0 input voltage by at
least 1.45V (1.5V - 0.05V).

The noise margin of 4000 series CMOS is therefore at least 1.45V in either state,
as shown below

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 166
A.A Science and Technology University School of Electrical Engineering and Computing

This means that the amount of electrical noise at the output of the driving gate
would have to exceed 1.45V in amplitude, before there would be any risk of a
driven gate misinterpreting the logic level at its input.

So the noise margin of standard CMOS running from a +5V supply is more than
three times that for standard TTL (0.4V).

This relatively high noise immunity makes the use of CMOS gates preferable in
conditions where a large amount of electrical noise is present.

CMOS Fan-Out

Because CMOS gates are voltage operated devices, a CMOS input requires very
little current (0.3µA maximum). This makes the fan-out of CMOS logic extremely
high. In fact, more than 50 CMOS inputs can, theoretically, be driven from a single
CMOS output.

However, in practical logic circuits where operating speed is important, the high
input capacitance of CMOS gates is a more limiting factor than the fan-out. The
more inputs that are connected to a single output, the longer will be the time taken

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 167
A.A Science and Technology University School of Electrical Engineering and Computing

for the gate output to change state when one of its own inputs changes. If this
propagation delay time becomes too long, the circuit may no longer operate
correctly.

Interfacing TTL and CMOS Gates

It is sometimes possible to interface directly between TTL and CMOS gates, but
the limitations of each logic family have to be taken into account when doing so.

For instance, a standard TTL gate may drive a CMOS gate if the logic 1 output
voltage from the TTL gate is increased. This can be achieved by using a pull-up
resistor, as shown below

However, the circuit will only operate correctly if the operating speed is low
enough to allow for the propagation delay through the CMOS gate, and through
any others that follow it.

A 4000 series CMOS gate cannot provide enough output current to drive a
standard TTL input. However, there are variations of the CMOS range that can be
directly connected to TTL.

CMOS Gate Variations

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 168
A.A Science and Technology University School of Electrical Engineering and Computing

Two important variations on the standard 4000 series of CMOS devices have been
introduced. These are:
74HC High speed CMOS devices with CMOS-compatible inputs and TTL/CMOS
compatible outputs
74HCT High speed CMOS devices with TTL-compatible inputs and TTL/CMOS
compatible outputs

These overcome the speed limitations of 4000 series CMOS. The 74HCT series is
ideal for interfacing with TTL outputs, while the 74HC series provides the high
noise immunity that is a characteristic of CMOS 4000 series gates.

Open Collector Gates


Some TTL ICs have no internal collector load resistor provided for the output
transistor of the gates. A separate external load resistor is required as shown below.
These gates are referred to as open collector gates.

This arrangement enables more than one gate to feed a single output, this output
being a logical function of the inputs.

The figure below shows two open collector buffers with a common output, with
the truth table.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 169
A.A Science and Technology University School of Electrical Engineering and Computing

With either input at logic level 0, and hence the corresponding buffer output at
level 0, the combined output is at level 0. The combined output is at logic level 1
only with both inputs at level 1. The circuit performs the AND function and is
referred to as the wired-AND function.

The figure below shows two open collector Inverter gates with a common output
with the truth table.

With either input at logic level 1, and hence the corresponding inverter output at
level 0, the combined output is at logic level 0. The combined output is at logic
level 1 only with both inputs at level 0 - that is, when both inverter outputs are at
level 1. The circuit performs the NOR function and is referred to as the wired-
NOR function.

Multiple input TTL gates are also available with open collector outputs. These are
suitable for similarly connected circuits. The circuits will give an output at logic
level 1 only with all the connected gate outputs at logic level 1.

Direct connection of the outputs of TTL gates having integral internal collector
resistors for the output stages will not result in a logical output being obtained. The
gates will take an excessive current from the supply, dependent on the input

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 170
A.A Science and Technology University School of Electrical Engineering and Computing

settings, but this will not normally damage the gates due to the limiting effect of
the internal resistor.

The outputs of CMOS gates should never be connected together directly.

Standard Load
The amount of current required to drive one standard input, is known as a standard
load on any output.

Buffers
Are circuits designed to be able to drive more inputs than usual input current, and
some gates, known as buffers.

Fan-in
Fan-in is a term that defines the maximum number of digital inputs that a single
logic gate can accept. Most transistor-transistor logic (TTL) gates have one or two
inputs, although some have more than two. A typical logic gate has a fan-in of 1 or
2.

Fan-out
Fan-out is a term that defines the maximum number of digital inputs that the output
of a single logic gate can feed. Most transistor-transistor logic (TTL) gates can
feed up to 10 other digital gates or devices. Thus, a typical TTL gate has a fan-out
of 10.

Dept. Electrical & Electronics Eng Applied Electronics II (EEEG – 2202) Prepared by: Sh. F 171

You might also like