Digital Electronics
Midterm Review
ECE27H Antennas and Propagation, DR. H. Ragheb
1
Problem (1)
• The inverter in Fig. 1 is a member of
the diode-transistor logic (DTL) family
that was used prior to the invention of
the TTL
a) If π£πΌ = 5 π£, find π£π ,
b) If π£πΌ = 0.15 π£, find π£π ,
• The transistor has parameters
π½πΉ = 40 , π½π
= 0.25 , ππ΅πΈ = 0.7 π ,
ππΆπΈπ ππ‘ = 0.15 π , and the diode has
ππ·ππ = 0.7 π.
ECE21I Digital Electronics, DR. H. Ragheb
Fig. 1
2
Problem (1)
Solution
• If π£πΌ = 5 π£ π·1 is off and π·2 in on also π2 is on, and
1
1×4
ππ΅π΅ = 4.3
= 0.86 π
π
π΅π΅ =
= 0.8 Ω
1+4
1+4
0.86 − 0.7
ππ΅2 =
= 0.2 ππ΄
0.8
• This current is enough to saturate π2
• Thus
ππ = 0.15 π
• Next if π£πΌ = 0.15 π (low), π·1 is on, and
ππ₯ = 0.15 + 0.7 = 0.85 π
• This voltage is not enough to drive π·2 and π2 is on, thus is π2 off, and
ππ = 5 π
ECE21I Digital Electronics, DR. H. Ragheb
3
Problem (2)
• The circuit shown in Fig. 2 is used as an
inverter. The transistors used are identical
and have π½ = 25 , π½π
= 0.02 and
ππΆπΈ(π ππ‘) = 0.2 π.
V CC = 5 V
R = 4 kο
• Assume π£πΌπππ’π‘ = 0.2 π find π£ππ’π‘ππ’π‘ .
• Assume π£πΌπππ’π‘ = 5 π find π£ππ’π‘ππ’π‘ .
V B1
input
120 ο
I1
output
Q1
VB2
Answer
• If π£πΌπππ’π‘ = 0.2 π,
Q2
Q3
V B3
• π1 is ON and ππ΅1 = 0.9 π
1 kο
5−0.9
• Thus, πΌ1 =
= 1.025 ππ΄, which is
4
enough to saturate π1 .
ECE21I Digital Electronics, DR. H. Ragheb
I
Fig. 2
4
Problem (2)
• Accordingly, ππ΅2 = 0.2 + 0.2 = 0.4 π
• then π2 and π3 are off π£ππ’π‘ππ’π‘ = 5 π.
V CC = 5 V
• π£πΌπππ’π‘ is low and π£ππ’π‘ππ’π‘ is high
R = 4 kο
• If π£πΌπππ’π‘ = 5 π, the base-emitter junction of π1 is reverse biased, while
the base collector junction is forward biased.
• Therefore, the transistor π1 will work in the inverse active mode.
V B1
input
• In this case ππ΅1 = 0.7 + ππ΅2 assuming π2 is ON, ππ΅2 = 0.7 + ππ΅3 if also π3
is ON, thus ππ΅1 = 2.1 π.
•
5−2.1
The current πΌ can be calculated as πΌ = 4 = 0.725 ππ΄.
120 ο
I1
output
Q1
VB2
Q2
Q3
V B3
1 kο
I
• Thus, the current driving π2 is πΌπ΅2 = 1 + 0.02 πΌ = 0.7395 ππ΄, which is
enough to drive π2 to saturation. In this case π£ππ’π‘ππ’π‘ = 0.2 + 0.7 = 0.9 π
• π£πΌπππ’π‘ is high and π£ππ’π‘ππ’π‘ is low
ECE21I Digital Electronics, DR. H. Ragheb
5
Problem (3)
• The circuit shown in Fig. Q2 is used as an inverter. The transistors
used are identical and have π½ = 25, π½π
= 0.02 and ππΆπΈ(π ππ‘) =
0.2 π.
• Assume π£πΌπππ’π‘ = 0.2 π find π£ππ’π‘ππ’π‘ .
• Assume π£πΌπππ’π‘ = 5 π find π£ππ’π‘ππ’π‘ .
Answer
• If π£πΌπππ’π‘ = 0.2 π, π1 is ON and ππ΅1 = 0.9 π
• Thus, πΌ1 =
5−0.9
= 1.025 ππ΄, which is enough to saturate π1 .
4
• Accordingly, ππ΅3 = 0.2 + 0.2 = 0.4 π
• then π2 and π3 are off while π4 will be on and saturated.
π£ππ’π‘ππ’π‘ = 5 − (0.2 + 0.7) = 4.1 π
Fig. 3
π£πΌπππ’π‘ is low and π£ππ’π‘ππ’π‘ is high.
ECE21I Digital Electronics, DR. H. Ragheb
6
Problem (3)
• If π£πΌπππ’π‘ = 5 π, the base-emitter junction of π1 is reverse
biased, while the base collector junction is forward biased.
• Therefore, π1 will work in the inverse active mode.
• In this case ππ΅1 = 0.7 + ππ΅2 assuming π2 is ON, ππ΅2 = 0.7 +
ππ΅3 if also π3 is ON, thus ππ΅1 = 2.1 π.
• The current πΌ can be calculated as πΌ1 =
5−2.1
= 0.725 ππ΄.
4
• Thus, the current driving π3 is πΌπ΅3 = 1 + 0.02 πΌ =
0.7395 ππ΄, which is enough to drive π3 to saturation. In this
case the emitter current of π3 will go to the base of π2
which is enough to saturated it
π£ππ’π‘ππ’π‘ = 0. 2 π
• π£πΌπππ’π‘ is high and π£ππ’π‘ππ’π‘ is low
ECE21I Digital Electronics, DR. H. Ragheb
7
Problem (4)
• Consider the circuit in Fig. 4 where the base
currents of any transistor when it is on is
very small and you can neglect it.
• Determine π
πΆ2 such that π£2 = −1 π when
π2 is on and π1 is off.
• For π£ππ = −0.7 π, determine π
πΆ1 such that
π£1 = −1 π.
• For π£ππ = −0.7 π, determine π£π1 and π£π2 .
• For π£ππ = −1.7 π, determine π£π1 and π£π2 .
• Assume ππ΅πΈππ = 0.7 π, and π½πΉ = 50
ECE21I Digital Electronics, DR. H. Ragheb
Fig. 4
8
Problem (4)
Answer
• When π2 is on and π1 is off ππΈ = −1.2 − 0.7 = −1.9 π
• The current in the emitter resistance is
• Neglecting base current
πΌ=
−1.9− −5.2
2.5
= 1.32 ππ΄
1
π
πΆ2 = 1.32 = 0.758 πΩ
• When π£ππ = −0.7 π π2 is off and π1 is on ππΈ = −0.7 − 0.7 = −1.4 π
−1.4− −5.2
2.5
• The current in the emitter resistance is
πΌ=
• Neglecting base current
π
πΆ1 = 1.52 = 0.658 πΩ
= 1.52 ππ΄
1
• When π£ππ = −0.7 π π2 is off and π1 is on ππ2 = −1.7 π
• In this case π£2 ≈ 0 and ππ1 = −0.7 π
• When π£ππ = −1.7 π π2 is on and π1 is off ππ1 = −1.7 π
• In this case π£1 ≈ 0 and ππ2 = −0.7 π
ECE21I Digital Electronics, DR. H. Ragheb
9
Problem (5)
• Which logic gate has the
voltage transfer characteristic
shown in Fig. 5?
• Clearly label πππΏ , πππ» , ππΌπΏ , and
ππΌπ» in the figure.
• Given that ππ·π· = 3.3 π,
ππ‘ = 0.5 π select ππΌπΏ , and ππΌπ»
such that πππ» = πππΏ ?
Fig. 5
ECE21I Digital Electronics, DR. H. Ragheb
10
Problem (5)
• It is CMOS inverter
• πππ» = ππ·π·
• πππΏ = 0
• πππ» = πππ» − ππΌπ»
• πππΏ = ππΌπΏ − πππΏ
• ππΌπ» =
1
8
5ππ·π· − 2ππ‘ =
• ππΌπΏ =
1
8
3ππ·π· + 2ππ‘ =
• πππΏ =
1
8
1
8
16.5 − 1 =
9.9 + 1 =
15.5
8
10.9
8
10.9
= 1.3625 π
8
• πππ» = πππ» − ππΌπ» = 3.3 −
15.5
= 1.3625
8
ECE21I Digital Electronics, DR. H. Ragheb
11
Problem (6)
• An inverter has ππ·π· = 2 π , ππ =
300 ππ΄/π 2 , ππ = 200 ππ΄/π 2 , ππ‘π =
0.5 π , |ππ‘π | = 0.5 π , (π/πΏ)π = 2 , and
(π/πΏ)π = 3.
• Find ππ for πππ = 0 π,
ππ
• Find ππ for πππ = 2 π
• Find the values of πππ» , πππΏ , ππΌπΏ , ππΌπ»
Answer
• For πππ = 0 π, ππ is off and ππ is on
ππ = ππ·π· = 2 π.
ECE21I Digital Electronics, DR. H. Ragheb
Fig. 6
12
Problem (6)
For πππ = 2 π, ππ is on and ππ is off ππ = 0 π.
πππ» = ππ·π· = 1.3 π
πππΏ = 0 π
• To obtain ππΌπ» we use:
1
1
ππΌπ» = 5ππ·π· − 2ππ‘ = 5 × 2 − 2 × 0.5 = 1.125 π
8
8
• To obtain ππΌπΏ we use:
1
1
ππΌπΏ = 3ππ·π· + 2ππ‘ = 3 × 2 + 2 × 0.5 = 0.875 π
8
8
ECE21I Digital Electronics, DR. H. Ragheb
13
Problem (7)
• Design the complete CMOS logic
circuit using minimum number of
transistors that realize the
function
α
π = π΅(π·
+ π΄πΆ) .
D
π΅ΰ΄€
C
A
B
Y
π΅ΰ΄€
(Assume that the available inputs
are π΄, π΅, πΆ and π·).
A
D
• What is total number of
transistors needed?
C
ECE21I Digital Electronics, DR. H. Ragheb
14
Thank you
Digital Electronics Dr. H. Ragheb
15