Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Lab Manual
Prepared By
Eng. Mohammed S. Jouda Eng.Yousef M. Yazji
Eng. Islam A.
1 Abu Mahady
Table of contents
2
The Islamic University of Gaza
Faculty of Engineering
Department of Electrical Engineering
Laboratory Experiments:
The lab will cover the following experiments:
Grades:
Attendance…………………….. 10 Pts
Reports………………………… 10 Pts
Quizzes………………………... 10 Pts
Mid-term Practical Exam …….. 15 Pts
Project ………………………... 15 Pts
Final Exam…………………..... 40 Pts
3
E xperiment 1
Introduction to OrCAD
Objectives:
• To Be familiar with the Orcad simulation.
• To be familiar with types of analysis in Orcad program.
• To make analysis to some examples on each analysis.
Equipments:
Computer Orcad software program.
Introduction to Orcad:
SPICE is a powerful general purpose analog and mixed-mode circuit simulator that is
used to verify circuit designs and to predict the circuit behavior. This is of particular
importance for integrated circuits.
In addition, PSPice has analog and digital libraries of standard components (such as
NAND, NOR, flip-flops, MUXes, FPGA, PLDs and many more digital components ).
This makes it a useful tool for a wide range of analog and digital applications.
All analyses can be done at different temperatures. The default temperature is 300K.
The circuit can contain the following components:
• Independent and dependent voltage and current sources
• Resistors
• Capacitors
• Inductors
• Mutual inductors
4
• Transmission lines
• Operational amplifiers
• Switches
• Diodes
• Bipolar transistors
• MOS transistors
• JFET
• MESFET
• Digital gates
The values of elements can be specified using scaling factors (upper or lower case):
5
Types of analysis in Orcad:
1) BIAS Point or DC analysis
4.000mW
5.000V R1
3.000V
2.000mA 1k 3.000mA
I1
1mAdc R2
V1 -3.000mW
5Vdc -10.00mW 1k
1.000mA
9.000mW
2.000mA
0V
0
2) Transient Analysis
6
Figure 4: Results of the transient simulation
3) AC Sweep Analysis:
The AC analysis will apply a sinusoidal voltage whose frequency is swept
over a specified range. The simulation calculates the corresponding voltage and
current amplitude and phases for each frequency. When the input amplitude is set to
1V, then the output voltage is basically the transfer function. In contrast to a
sinusoidal transient analysis, the AC analysis is not a time domain simulation but
rather a simulation of the sinusoidal steady state of the circuit. When the circuit
contains non-linear element such as diodes and transistors, the elements will be
replaced their small-signal models with the parameter values calculated according to
the corresponding biasing point.
R1
1k
V
V1
1Vac C1 R2
5u 1k
7
Figure 6: Results of the AC Sweep
4) DC Sweep Analysis:
The DC sweep is used to draw the voltage transfer characteristic (VTC) between output
VCC
and input. VCC
1) we connect the circuit as shown in Figure 7
2) from DC Sweep analysis we choose primary R3
1k
sweep and we put the name of the source V1 and
start value (0),end value (12) and increment (0.1). V1
3) Then choose secondary sweep and put the name 0Vdc
I1 Q1
of the current source I2 and start value (-4u), R2
I
end value (12u) and increment (4u). 0Adc
10k
Q2N2222
8
Homework
Q1)
1. Draw the Circuit as shown on capture window with V1=5v , f=1 kHZ
2. Draw the output voltage across resister.
3. If we connect capacitor (10uF) in parallel with resistor draw the output
voltage.
4. Make comparison between 2&3
5. What the effect of capacitor on the system.
Q2)
9
E xperiment 2
BJT Inverter
Objectives
• To be familiar with the operation of BJT Amplifier.
• To determine VTC of the inverter.
Theoretical Background
1. Ideal Inverter Digital Gate
The ideal Inverter model is important because it gives a metric by which we can judge the quality
of actual implementation. Its VTC is shown in figure 1.1 and has the following properties:
Infinite gain in the transition region, and gate threshold located in the middle of the logic swing,
with high and low margins equal to the half of the swing. The input and output impedance of the
ideal gate are infinity and zero, respectively.
There are three regions for the above voltage transfer characteristic
1. Cut-off region.
2. Forward Active region.
3. Saturation region.
10
BJT Inverter can be best expressed by its voltage transfer characteristic (VTC) or DC
transfer characteristic as shown in figure 1.3. That relates the output voltage to the
input one.
If:
• Vi = Vol, Vo = Voh = Vcc (VTC) or DC Transfer Characteristic
The transistor is OFF.
• Vi = Vil
The transistor Begins to turn on.
• Vi = Voh
The transistor will be deep is saturation, Vo = Vce(sat).
Another point of interest of the VTC is the gate or switching threshold voltage
Vm that defines as Vm = F(Vm).
Vm can also be found graphically at the intersection og the VTC curve and the
line given by Vout = Vin as shown in Figure 1.3
11
For an AC input, the propagation delay can be defined as:
Procedure
Part A:
1) Write the circuit shown in Figure 1.5:
12
Part B:
1) Write the circuit shown in figure 1.6:
3) Using the Oscilloscope draw Vo&Vin in same paper and same scale.
Tplh = …………
Tphl = …………
Tp = …………...
Tr = …………....
Tf = ……………
13
E xperiment 3
Diode-Resistor Logic (DRL) Gates
Objectives
• To be familiar with the operation of diode-resistor logic circuits.
• To determine VTC of these gates.
Theoretical Background
1. Diode-resistor logic:
The diode-resistor logic circuits consist of diodes and resistor only, the logic functions
available are AND, OR, level-shifted AND and level-shifted OR.
• AND Gate:
For the diode-resistor AND gate, fig.(2-l), the output voltage can be
represented the truth table,”1 for input high, 0 for input low”.
If any of the input is low, the corresponding diode is allowed to conduct, and
Vo = Vd + Vin
If the two inputs are high, the diodes are off and
Vo = Vcc.
• OR Gate:
For the diode-resistor OR gate,.fig.2-2), the output voltage can be represented by the
truth table,” 1 for input high, 0 for input low”.
14
fig(2-2) shows a DRL circuit, which provides the function of a 2-inputs OR gate. It is
possible to add any number of input diodes to this circuit, each with its separate input
signal. If any input is set to logic 1 (+5 V), the corresponding diode will conduct and
the VOUT will be equal to (5 V- 0.7 V = 4.3 V), which stands for logic 1. When both
inputs are set to logic 0 (grounded), both diodes will be reverse biased (cutoff) and
VOUT will be equal to 0 (logic 0).
If any input is low, its corresponding diode is conducting, and the output voltage
Vo = Vin + VD1 – VD = Vin.
If Vin(VA,VB) < -Vee, the diodes D1,D2 are off, and the output voltage
Vo = -Vee = Vol.
For all inputs are high(greater than Vdc – VD1 = Vdc – VD2)
Vo = Voh
ID = (Vcc + Vee – VD)/(2*R)
Voh = -Vee + ID*R
• Level-Shifted OR Gate:
Level shifting diode D has been added to the diode-resistor OR gate as in fig.(2-4)
15
If all inputs are low, the diodes off,
ID = (VCC +VEE - Vd) / 2*R
VOL =VCC – [(VCC +VEE - Vd))/2*R]*R
If either input is high, the corresponding diode is conducting then
VO =VOH= Vin –Vd +Vd =Vin
Experimental Procedure:
Part(2): OR Gate
1) Connect the OR gate circuit shown in Fig. (2-2).
2) Investigate its truth table
3) Complete the following table and use your readings to plot the voltage transfer
characteristics (VTC) of the OR gate.
16
E xperiment 4
Resistor-Transistor Logic (RTL) Gates
Objectives
• Be familiar with logic gates using resistors and bipolar transistor connected
with RLT techniques.
• Studying the internal connection of AND, OR, NAND, and NOR.
• To determine the VTC of these gates.
Equipments
Resistors – TR(2N2222) – Voltmeter – Power supply – Orcad software
program.
Introduction
The logic family presented in this experiment is Resistor-Transistor logic
(RTL). As the name implies, circuits of the Resistor-Transistor logic family are
constructed from resistors and transistors (BJTs). RTL was the first logic family to
become commercially available. Inverters (NOT), non inverters (buffers), AND,
OR, NAND, and NOR gates can all be constructed with RTL logic. In addition,
low, medium, and high power versions of the various RTL gates were obtained by
varying the magnitudes of the resistors. Large resistors are used for low power
applications and small resistors are used for high power applications.
Theoretical background
2-Input NOR gate
NOR gates are commonly used in integrated circuits because of the
simple circuits that implement their function. Other types of gates can be built
using combination of NOR gates, the NOR is a (functionally complete set).
+VCC
R1
R2 3 R2 3
VB 1 VA 1
2 2
Figure 1
17
For this circuit, the current through the single collector resistor is the sum of the BJTs
and is given by
Ic = ∑ICI
The output voltage is then
Vout = Vcc – IcR1
If all inputs are less than VBE(FA) then all BJTs are cutoff. As a result, Ic=0 and the
output voltage is
VOH = VCC
If any input is greater than or equal to VBE(FA), the corresponding BJT conduct and if
any input reaches VIH the output drops to
2-Input OR gate
By inverting the NOR gate by using simple transistor as an inverter we
may have a simple OR RTL gate.
+VCC +VCC
R1 R1
R2 3 Vout
1
2
R2 3 R2 3
VB 1 VA 1
2 2
Figure 2
There is another configuration that implies the same output of previous circuit
+VCC
R2 3 R2 3
VB 1 VA 1
2 2
Vout
Re
Figure 3
18
If any input is greater than or equal to VBE(FA), the corresponding BJT conduct and
the output voltage is
VOUT = Ie Re
And if all inputs are low, the transistors are cutoff and the output voltage is
VOL = 0
R1
R2 3 Vout
VB 1
2
R2 3
VA 1
2
Figure 4
If all inputs are greater than or equal VBE(FA) then all BJTs conduct and the output
voltage is
VOUT = VCC - IC RC
If any input is low, the corresponding transistor is cutoff and the output voltage is
VOH = VCC
19
2-Input AND gate
By inverting the NAND gate by using simple transistor as an inverter
we may have a simple AND RTL gate.
VCC
VCC
R1
R1
R2
R2
VA
0
R2
VB
0
Figure 5
There is another configuration that implies the same output of previous circuit
+VCC
R2 3
VB 1
2
R2 3
VA 1
2
Vout
Re
Figure 6
If all inputs are greater than or equal VBE(FA) then all BJTs conduct and the output
voltage is
VOUT = Ie Re
If all inputs reach VIH the output is
VOH = VCC - 2 * VCE (SAT)
And if any input is low, the corresponding transistor is cutoff and the output voltage is
VOL = 0
-------------------------------------------------------------------------------------------------------
20
Procedures:
Part 1:
1. Construct the circuit shown in Figure1, V = 5V, R1= 1K, R2 =10K
2. find the truth table filling the following
VA VB VOUT
0 0
0 5
5 0
5 5
3. Draw the VTC of this gate by making VA = VB = VIN and filling the following
table :
Vin 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 2 3 4 5 6
Vout
4. Determine VOH,VOL,VIH,VIL
Part 2:
1. Draw the circuits shown in Figure 2 && Figure 3 by using the Orcad and
show the results.
Part 3:
1. Construct the circuit shown in Figure4, V = 5V, R1= 1K, R2 =10K
2. find the truth table filling the following
VA VB VOUT
0 0
0 5
5 0
5 5
3. Draw the VTC of this gate by making VA = VB = VIN and filling the following
table :
Vin 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 2 3 4 5 6
Vout
4. Determine VOH,VOL,VIH,VIL
Part 4:
1. Draw the circuits shown in Figure 5 && Figure 6 by using the Orcad and
show the results.
Equipments
Resistors – TR(2N2222)- D(1N4007) – Voltmeter – Power supply – Orcad
software program.
Introduction
Circuits of the DTL family utilize diodes and BJTs in their design. As
the name implies, the DTL family was introduced to improve the switching
speed over the circuits of the RTL family. In 1964, a version of DTL was introduced
and become the Standard digital IC family for nearly ten years.
In this experiment five circuits are introduced, the basic inverter, AND, OR, NAND,
and NOR.
Theoretical background
22
If the input is less than VIL=VBE (FA) then the BJT is cutoff. As a result, the output
voltage is
VOH = VCC
If the input is greater than or equal to VBE(FA), the corresponding BJT conduct and
if any input reaches VIH = VBE (SAT) the output drops to
The DTL NAND gate combines the DTL inverter with simple DL AND gate.
Signal Degradation caused by DL is overcome by the transistor, which amplifies the
signal While inverting it. Figure 2 shows a two-input NAND gate.
If any input is less than VIL = VBE (FA), the transistor is cut off and the output is
VOH=VCC
If all inputs are greater than or equal to VBE (FA), the BJT conducts and if they reach
VIH=VBE(SAT) the output is
VOL=VCE(SAT)
The DTL AND gate combines the DTL NAND inverter, Figure 3 shows
a two-input AND gate.
If any input is less that VIL=VBE(FA), the transistors is cutoff and the output is
VOL = VCE(SAT)
VOH = VCC
The DTL NOR gate combines multiple DTL inverters with a common output
as shown in Figure 4. This is exactly the same as the method used to combine RTL
inverters to form a NOR gate. Any number is inverters may be combined in this
fashion to allow the required number of inputs to the NOR gate.
If all inputs are less than VIL=VBE(FA) then all BJTs are cutoff. AS a result, the
output voltage is
VOH=VCC
If any input is greater than or equal to VBE(FA), the corresponding BJT conduct and
if any input reaches VIH=VBE(SAT) the output drops to
VOL=VCE(SAT)
The OR gate
The DTL OR gate combines the DTL NOR gate with DTL inverter. Figure 5
shows a two-input OR gate.
VOL = VCE(SAT)
If any input is greater than or equal to VIL=VBE(FA), the corresponding BJT conduct
and if any input reaches VIH=VBE(SAT) the output
VOH = VCC
-------------------------------------------------------------------------------------------------------
Procedure:
Part 1:
1. Construct the circuit shown in Figure 2, V = 5V, RC= 1K, RB =10K
2. Find the truth table filling the following
VA VB VOUT
0 0
0 5
5 0
5 5
3. Filling the following table by making VA = VB = VIN and Draw the VTC of
this gate :
Vin 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 2 3 4 5
Vout
4. Determine VOH,VOL,VIH,VIL
5. Draw the VTC of this gate by using the Orcad.
Part 2:
Draw the VTC of the circuit shown in Figure 3 by using the Orcad and show
the results.
25
Part 3:
1. Construct the circuit shown in Figure 4, V = 5V, RC= 1K, RB =10K
2. Find the truth table filling the following
VA VB VOUT
0 0
0 5
5 0
5 5
3. Filling the following table by making VA = VB = VIN and Draw the VTC of
this gate :
Vin 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 2 3 4 5
Vout
4. Determine VOH,VOL,VIH,VIL
5. Draw the VTC of this gate by using the Orcad.
Part 4:
Draw the VTC of the circuit shown in Figure 5 by using the Orcad and show
the results.
26
E xperiment 6
Transistor-Transistor Logic (TTL) Gates
Objectives
Introduction
Looking at the DTL input circuit; we note that the two diodes are opposite to
each other in direction. That is, there P_ anode are connected together and to the pull
up resistor, while on cathode is the signal input and the other is connected to the
transistor's base. This gives rise to a bit of speculation; could we perhaps replace these
two diodes with a single NPN–transistor.
If it works, we can also make use of the fact that the amount space required by a
transistor in an IC is essential the same as the space required by a diode. Thus, we can
make the IC smaller by eliminating the space required by one of the two diodes
Theoretical Background
The Basic TTL Inverter
Figure1 shows the proposed change to convert a DTL inverter to a Transistor-
Transistor logic TTL equivalent. We have merely used one transistor to replace two
diodes.
27
The NAND Gate
Figure 2 shows a two input TTL NAND gate. A multiple emitter BJT is used to
provide the inputs to the gate. A separate BJT could be used for each input with
coupled collectors. An advantage of the multiple emitters BJT is that it requires much
less chip area than using individual resistors.
If the input is less than VIL = VBE, 2(FA) – VCE, 1(sat) then the BJT (Q2) is cutoff.
As a result the output voltage is
VOH = VCC.
If all inputs are greater than or equal to VIL, the BJT (Q2) conduct and if they reach
VIH = VBE, 2(sat) – VCE, 1(sat) the output drops to
VOL = VCE (sat).
VOH = VCC.
28
The NOR Gate
Figure 4 shows the schematic diagram of a TTL NOR Gate. As you recall
from earlier experiments, it is substantially the same as the RTL and DTL NOR Gates
we have already explored. The only difference is that this time we are using the TTL
input circuit.
If all inputs are less than VIL = VBE, 2(FA) – VCE, 1(sat) then both BJT's (Q2, Q4)
is cutoff. As a result the output voltage is
VOH = VCC.
If any input is greater than or equal to VIL, the corresponding BJT conduct and if it
reaches VIH = VBE, 2(sat) – VCE, 1(sat) the output drops to
VOL = VCE (sat).
The OR Gate
The TTL OR gate combines the TTL NOR Gate with TTL Inverter. Figure 5
shows a two-input OR Gate.
If all inputs are less than VIL = VBE, 2(FA) – VCE, 1(sat) then both BJT's (Q2, Q4)
is cutoff, and Q6 is saturated. As a result the output voltage is
VOL = VCE (sat).
29
Procedure:
Part 1:
1. Construct the circuit shown in Figure 2, V = 5V, RC= 1K, RB =10K
2. Find the truth table filling the following
VA VB VOUT
0 0
0 5
5 0
5 5
3. Filling the following table by making VA = VB = VIN and Draw the VTC
of this gate :
Vin 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 2 3 4 5
Vout
4. Determine VOH,VOL,VIH,VIL
5. Draw the VTC of this gate by using the Orcad.
Part 2:
Draw the VTC of the circuit shown in Figure 3 by using the Orcad and show
the results.
Part 3:
1. Construct the circuit shown in Figure 4, V = 5V, RC= 1K, RB =10K
2. Find the truth table filling the following
VA VB VOUT
0 0
0 5
5 0
5 5
30
3. Filling the following table by making VA = VB = VIN and Draw the VTC
of this gate :
Vin 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 2 3 4 5
Vout
4. Determine VOH,VOL,VIH,VIL
5. Draw the VTC of this gate by using the Orcad.
Part 4:
Draw the VTC of the circuit shown in Figure 5 by using the Orcad and show
the results.
31
E xperiment 7
Emitter Coupled Logic (ECL) Gates
Objectives
• To be familiar with the operation of ECL.
• To determine the VTC of the Inverter and OR/NOR Gates.
Theoretical Background
a) BJT Current Switch
Figure (1) shows the ideal BJT current switch. The input is at the base of Qi, with the
base of Qr held at a constant reference voltage VBB. The coupled emitters are ideally
connected to a constatnr current sourc IEE. Where a resistor RE is connected between
the coupled emitters and VBB. The current IRE is that given by:
Outputs are taken at the collector of Qi and Qr, giving both inverting and non-
inverting outputs:
Vinv = Vci = Vcc – Ici*Rci
And
Vninv = Vcr = Vcc – Icr*Rcr
The states of inverting and non-inverting outputs are determined by whether the input
voltage Vin is less or greater than the reference voltage VBB. If Vin is less than VBB
(input low state), the inverting output VNOT is the output high state and the non-
inverting output VNINV is in the output low state. If vin is greater than VBB (input
high state) then VNOT is low and VNINV is high.
32
b) ECL current-switch voltage transfer characteristic
Figure (2) shows the basic ECL inverter and it's VTC.
• With Vin < VBB, Qi is off and Qr is in the forward active region of operation;
then
Vinv = VCC = VOH Vninv = VCC – IE *Rcr = VOL
For Vin slightly less than VBB Qi is forward active but not conducting as
heavily as Qr. For Vin slightly greater than VBB, Qr is stll on but not
conducting as heavily as Qi. The transition width between VIL and VIH is
very narrow. The transition width is found to be approximately:
VTW = 0.1V and centered about Vin = VBB.
VIL = VBB – 0.05V
VIH = VBB + 0.05V
33
• And
Vin = Vs , Vinv = Vs – VBC(sat)
1) First Configuration
2) Second Configuration 0
R1 R2
290 300
VNOR
VOR
VINB VINA
-1.175
R4
3k
R5
R3 3k
2k
-VEE= -5.2 V
34
Procedures
Part 1:
a) Connect the circuit in Figure 2 with VCC = 5V, -VEE = 0V, and
VBB = 2.5V.
b) Fill in the following table to find VTC
c) Determine VOH,VOL,VIH,VIL
d) Draw the VTC of this gate by using the Orcad.
Part 2:
Draw the VTC of the circuit shown in Figure 4 by using the Orcad and show
the results.
35
E xperiment 8
Metal Oxide Semiconductor Field Effect
Transistor (MOSFET)
Objectives
Theoretical Background
I. N-MOSFET Operation
In order for drain current flow from drain to source in an N-Channel MOSFET, the
gate to
source voltage must be greater than the specific device voltage (VT), and the drain to
source voltage must be greater than zero.
The threshold voltage is dependent upon the physical dimensions and parameters for
the MOSFET device. For the enhancement only N-MOSFET transistor the threshold
voltage is positive, and for the enhancement depletion, the threshold voltage is
negative.
Regions of Operations
ID(OFF) = 0
Or
ID(sat) = (k/2)*(Vgs – VT)^2 * (1 + AVDS)
36
I. Resistor Loaded N-MOSFET Inverter
37
• Output low voltage Vol
In the output low state No is in linear region of operation.
Vol =
• Input low voltage Vil
Vil =
+
• Input high voltage Vih (solve the following equation to find Vih)
Vil = VT,O
• Midpoint voltage Vm
-----------------------------------------------------------------------------------------
Procedure:
Part 1:
5. Construct the circuit shown in Figure 1, Vcc = 5V, RL =50K
6. Find the truth table filling the following
Vin VOUT
0
5
7. Filling the following table and Draw the VTC of this gate :
8. Determine VOH,VOL,VIH,VIL
9. Draw the VTC of this gate by using the Orcad.
39
Part 2:
1. Construct the circuit shown in Figure 2, Vcc = 5V
2. Find the truth table filling the following
Vin VOUT
0
5
3. Filling the following table and Draw the VTC of this gate :
5. Determine VOH,VOL,VIH,VIL
6. Draw the VTC of this gate by using the Orcad.
40
E xperiment 9
N-MOSFET Gates
Objectives
• To be familiar with the operation of N-MOSFET.
• Be familiar with logic gates using resistors and N-MOSFET Transistor.
• Studying the internal connection of AND, OR, NAND, and NOR.
• To determine the VTC of these gates.
Equipments
Resistors – N-MOSFET (IRF830) – Voltmeter – Power supply – Orcad
software program.
Theoretical Background
The previous Experiment described NMOS logic families and their
implantation in inverter form.
In the present Experiment is dedicate to describing the design of Multi-input NMOS
logic gates such as NANDs, NORs, AND, OR inverters.
The general NMOS inverter can be augmented to perform the logical NOR
function by placing additional out put NMOS transistors in parallel with the
output N-Channel MOSFET. Figure 9.1 shows a two input NMOS NOR gate
with a generic load. Both NMOS transistors have their drain-to-source channels
connected from the output to ground.
VDD= 5V
50k
VO
VA VB
IRF830 IRF830
41
• Output High Voltage VoH:
If both input to the NMOS gate of Figure 9.1 are low, both output transistor
( NA & NB ) will be cutoff .
Vout = VoH = VDD
If any input is high , results in an output low voltage. The parallel output
NMOS structure is referred to as a parallel pull-down , since it is construction
of several possible pull-down paths from the output to ground.
VoL =
The input low and high voltage for NMOS logic family NOR Gates are the
same as those for corresponding inverter.
ViL =
+
50k
VO
VA
IRF830
VB
IRF830
42
• Output High Voltage VoH:
An output high voltage is obtain from the NMOS NAND gates of Figure 9.2 for
either input being low.
OR and AND gates are obtained using NMOS logic families by simply
connecting inverters to the outputs of NOR and AND gates, respectively.
Figure 9.3 and Figure 9.4, show NMOS OR and AND gates with generic load.
VDD= 5V
VDD= 5V
50k
VO
50k
IRF830
VDD= 5V VDD= 5V
VA VB 0
IRF830 IRF830
50k
50k
VO
0
VA IRF830
Figure 9.3 a two input NMOS OR gate IRF830
0
VB
IRF830
0
Figure 9.4 a two input NMOS AND gate
43
Procedure:
Part 1:
1. Construct the circuit shown in Figure 9.1, VDD = 5V, RL =50K
2. Find the truth table filling the following
VA VB VOUT
0 0
0 5
5 0
5 5
3. Filling the following table and Draw the VTC of this gate :
4. Determine VOH,VOL,VIH,VIL
5. Draw the VTC of this gate by using the Orcad.
Part 2:
1. Construct the circuit shown in Figure 9.2, VDD = 5V, RL =50K
2. Find the truth table filling the following
VA VB VOUT
0 0
0 5
5 0
5 5
3. Filling the following table and Draw the VTC of this gate :
4. Determine VOH,VOL,VIH,VIL
5. Draw the VTC of this gate by using the Orcad.
Part 3:
Draw the circuits shown in Figure 9.3 && Figure 9.4 by using the Orcad and show
the results.
44
E xperiment 10
CMOS Combinational Logic Gates
Objectives
Theoretical Background
Complementary MOS or CMOS is a logic family that uses N-channel and P-channel
MOSFETs. In this family a PMOS is used as a pull-up load device, while NMOS as a
pull down device.
1. CMOS Inverter:
Figure 10.1 shows a CMOS inverter with P-channel and N-channel
MOSFETs.
If the input voltage is low, NMOS transistor will be off with ID,N = ID,P = 0, so
the output voltage is equal to VDD.
VOH = VDD.
• Output Low State:
For the input voltage equal to VDD or VOH, PMOS is off and ID,N = ID,P = 0,
and the output voltage will be zero.
VOL = 0.
45
• Intermediate Voltages:
When Vin reaches VT,N, NMOS turns on and operates is saturation, while
PMOS still is active region. "Input Low State"
At the midpoint voltage where Vin = Vo = VM, both NMOS and PMOS
operate in saturation mode.
With a single input low, an output pull up path to VDD is exist through the
corresponding PMOS, with the corresponding NMOS is off and no current
is pass through NMOS .
46
In each case:
VOH = VDD.
• Output Low State:
This state is obtained only if the two inputs are high as follow, if A and B inputs
are high, NA and NB are in active operation , while PA and PB are off, so no
output pull up path to VDD is available and the currents ID,NA = ID,NB = 0, and
VOL = 0.
In each cases:
VOL = 0.
47
• Output High State:
This state can be occurred only if the two inputs are low, where both NA and NB
are off, while the PMOS devices are in active operation to provide an output pull-
up to VDD.
VOH = VDD.
-----------------------------------------------------------------------------------------
Procedure:
Part 1:
1. Construct the circuit shown in Figure 10.1, VDD = 5V
2. Find the truth table filling the following
Vin VOUT
0
5
3. Filling the following table and Draw the VTC of this gate :
4. Determine VOH,VOL,VIH,VIL
5. Draw the VTC of this gate by using the Orcad
Part 2:
1. Construct the circuit shown in Figure 10.2, VDD = 5V
2. Find the truth table filling the following
VA VB VOUT
0 0
0 5
5 0
5 5
3. Filling the following table and Draw the VTC of this gate :
4. Determine VOH,VOL,VIH,VIL
5. Draw the VTC of this gate by using the Orcad.
Part 3:
Draw the circuits shown in Figure 10.3 by using the Orcad and show the results.
48