EEE206 Device Lab Manual
EEE206 Device Lab Manual
EEE206 Device Lab Manual
Lab Manual
Electronic Devices & Circuits-I
OBJECTIVES
EQUIPMENT
TASK 1
THEORY
Diode is a semiconductor device that allows current flow only in one direction, from p to n or
anode to cathode. The schematic diagram, diode notation and circuit symbol are shown in
Figure 1. Diodes are usually marked with a dot or a bar appearing on the cathode side. This
mark helps identify the diode terminals.
Figure 1
Diode Structure
Packaged Diode
Anode Cathode
Circuit Symbol
Diodes have small impedance to current flow in one direction (forward-biased) and large
impedance in the reverse-biased mode. When diodes fail they either short-circuit (pass
current in both directions – i.e. low resistance in both directions) or open-circuit (do not pass
current at all).
1
Ideal Diode Characteristics:
Figure 2
2
Diode Resistance:
As the diode I-V characteristic is not linear, it will have different resistances at different
points on the curve. A dynamic or AC resistance for the diode is defined as,
rd = dv/di ≈ nVT/ID
The static or DC resistance at any point is defined as, RD = VD/ID.
Diode Specifications:
There are many specifications for each type of diode, the most important two are: (1) PIV
(Peak inverse Voltage) maximum voltages the diode can tolerate in reverse direction. (2) IF,
Maximum Forward Current the diode can conduct in forward biased condition without
exceeding the safe limit. Take a look at the data sheet of a diode provided at the last page to
get familiar with some of the diode specifications.
Diodes are widely used in applications such as mixers, detectors, protection circuits. In this
experiment you will investigate application of diodes as a switch in a logic gates (AND gate),
and study its I-V characteristics.
EXPERIMENTAL
Circuit Diagrams: + V R-
1K
+
VD
-
Vdc
PROCEDURE
2. Construct the circuit as shown in Fig. 4. Vary input voltage (Vdc) from 0 to 15 V and
measure VR and VD. Increase Vdc in steps of 0.1 V for 0-1 V and in steps of 1 V for 1-15
V. (Note that ID=VR/ R).
3. Plot ID vs VD and calculate the static and dynamic resistances for I D = 4, 8 and 12 mA.
REPORT
1. Plot diode I-V characteristics of the diode for different readings obtained.
2. Calculate the diode ideality factor (n), and the reverse saturation current (IS), using the
diode equation assuming VD >> VT.
3. Calculate static and dynamic resistances for ID = 4, 8 and 12 mA. Tabulate and comment
on the results.
3
EEE206/ECE202 Device 1 Lab
Simulation of experiment 1
Objective: To simulate the diode I-V curve in Pspice Schematics
(Vd vs Id curve)
Start Schematics
• Open Pspice Schematics and set up the following circuit; take help
from the following pages.
Get parts
• To draw the circuit shown in the previous page, Press “Ctrl+G” or the
button for “Get new part” from the toolbar above.
• In the window that appears, type in “Vdc” for a dc source and click on
the “Place and close button”. Place the part as appropriate and
similarly, continue for the other parts.
Get parts
• Type in “R” for resistor
• “D1n4148” for diode. Note that there
are several models for diode, and if you
don’t have this particular model,
choose another one.
• “Gnd_earth” for a zero volt reference.
• Now, add wires and complete your circuit. Use the “Draw wire”
button on the toolbar as shown above to draw wires.
• To change the parameter values (e.g.- resistance of resistors), double
click on the existing value, and enter your desired value.
Setup analysis
• A new window with a black screen should appear. Don’t worry if you
don’t get to see any curves- few steps are still left.
Simulation
• Notice that we want to plot the Current through the diode (Id) with
respect to Voltage dropped across the diode (Vd). However, the black
screen has the variable DC source as the x axis variable.
• To change the x axis variable to Vd, click on
the “Plot” (shown above) menu and select
“Axis Settings”.
• In the window that appears, click on the
button “Axis Variable…” as shown.
Axis variable
• In the space for “Trace
expression” erase everything and
click on “V(D1:1)” once as shown
by the upper arrow.
• Put a ‘-’ (minus sign) after V(D1:1)
and click on V(D1:2).
• The final expression should read
“V(D1:1)-V(D1:2)”. Click ok.
OBJECTIVE
To build half and full-wave diode rectifier circuit and understand its operation principle.
COMPONENTS REQUIRED
Resistor 10k
Capacitor 1F, 47F
Diode 4 pieces
TASK 1
THEORY
The diode rectifier converts the input sinusoidal voltage V s to a unipolar output Vo. There are
two types of rectifier circuits: (i) Half-wave rectifier and (ii) Full-wave rectifier.
As only positive half cycle appears at the output and the negative half is blocked, the AC
input voltage changes into a unidirectional DC voltage at the output. The process of removing
half of the input signal to establish a dc level is aptly called half-wave rectification. Due to
diode voltage drop, the actual output voltage will be approximately, v0 = vs – VD0.
For Vs = Vmsint, DC voltage and current of a half wave rectifier are as follows
VDC = Vm/ - VDO/2
IDC = (Vm/ - VDO/2)/R
where, VDO 0.7 V, for Si.
1
BRAC University
Figure 6:
Input and output wave shapes
of a HW rectifier circuit
assuming constant voltage
drop model.
Figure. 7
Input and output wave shapes
of a HW rectifier circuit
assuming an ideal diode
model.
For RLC >> T, it will take long time for the capacitor to discharge and the output terminal
will maintain almost a dc voltage. Thus large capacitance values help suppress the quickly
changing voltage from the rectifier and result in a flatter DC value being supplied to the load.
Typical power supply designs use relatively large capacitor values (greater than 1000 μF).
Figure. 8:
Half wave rectifier
Ch1 10V p-p
Vs RL V0 C Ch2 with the filter
100 Hz capacitor
2
BRAC University
v0
Figure. 9:
Vr is the ripple voltage. A
small ripple voltage is
required in most supply
design.
PIV (Peak Inverse Voltage): PIV is the maximum voltage that appears across the diode
when it is reverse-biased.
PIV = Vm
Ripple voltage and ripple factor
The output of a rectifier though unidirectional, contains periodically fluctuating components.
The theoretical value for the peak-to-peak ripple voltage is given by,
Vr = Vp/(fCR), for a HW rectifier circuit
Here f is the ripple frequency, and R is the resistance connected in parallel with C.
A measure of the fluctuating components is given by the ripple factor r, which is defined as
rms value of alternating components of wave
r
average value of wave
= I’rms /Idc = V’rms /Vdc
where, I’rms and V’rms denote the rms value of the ac components of the current and voltage,
respectively.
PROCEDURE
1. Construct circuit of Fig. 5 without the capacitor. Observe V s and Vo simultaneously on the
oscilloscope.
2. Sketch input and output waveforms. Note down the voltage levels. Also measure V o with
a multimeter in dc and ac mode.
3. Connect 1F capacitor across the load resistor, RL (BE CAREFUL about the polarity of
the capacitor).
4. Measure the dc load voltage V0 (DC) and peak-to-peak ripple voltage Vr(pp) as shown in
the figure (To measure the ripple voltages, switch the oscilloscope to AC coupling. This
slows you how to magnify the small ac ripple voltage without including the much larger
dc level).
5. Measure the ripple frequency at which the waveform repeats. Sketch input and output
waveforms. Also measure Vo with a multimeter.
TASK 2
THEORY
The diode rectifier converts the input sinusoidal voltage V s to a unipolar output Vo. There are
two types of rectifier circuits: (i) Half-wave rectifier and (ii) Full-wave rectifier.
Figure. 1
Figure. 2
Input and output wave shapes of a FW rectifier circuit without the filter capacitor, assuming
an ideal diode model.
Fig. 8 shows the output voltage of a FW rectifier as a function of time assuming constant
voltage drop model. Peak voltage across each diode when it is reverse-biased is
PIV = Vm - VDO
DC voltage, VDC = 2(Vm - 2VDO ) /
4
BRAC University
Figure. 4 Output voltage wave shape of a FW rectifier circuit with the filter capacitor
A measure of the fluctuating components is given by the ripple factor r, which is defined as
rms value of alternating components of wave (multimeter in AC mode)
r average value of wave (multimeter in dc mode)
= I’rms /Idc = V’rms /Vdc
where, I’rms and V’rms denote the rms value of the ac components of the current and voltage,
respectively.
5
BRAC University
PROCEDURE
7. Construct circuit of Fig. 1 without the capacitor. Observe V s and Vo separately on the
oscilloscope.
8. Sketch input and output waveforms. Note down the voltage levels. Also measure Vo with
a multimeter in dc and ac mode.
9. Connect 1F capacitor across the load resistor, RL (BE CAREFUL about the polarity of
the capacitor).
10. Measure the dc load voltage V0 (DC) and peak-to-peak ripple voltage Vr(pp) as shown in
the figure (To measure the ripple voltages, switch the oscilloscope to AC coupling. This
slows you how to magnify the small ac ripple voltage without including the much larger
dc level).
11. Measure the ripple frequency at which the waveform repeats. Sketch input and output
waveforms. Also measure Vo with a multimeter.
12. Replace 1F Capacitor with 47F and repeat steps 4 and 5.
REPORT
1. Calculate the average and effective values of the load voltages in circuits of Fig.1 without
capacitor. Compare these values with those obtained with the multimeter.
3. Calculate the ripple factor for the HW and FW rectifier and complete the following table.
Compare your results with the calculated values.
6. Why can’t you see the input and output using 2 channel of oscilloscope simultaneously?
Experimental Theoretical
Ripple
C Vr(rms) Vdc Ripple Vr Vdc Ripple
Frequency,
(F) (V) (V) Factor (V) (V) Factor
f (Hz)
1
HW
47
1
FW
47
6
EEE206 Device 1 Lab
OBJECTIVE
To study the operation of clipper and clamper circuits.
COMPONENTS REQUIRED
Diode
Resistance – 10k , 1 k ,
Capacitance – 1 uF
THEORY
Clipper Circuits:
Clippers remove signal voltage above and below a specified level. In the last experiment,
half wave rectifier can also be called as a clipper circuit. Because it clipped off the
negative half cycle of the input signal.
A diode connected in series with the load can clipp off any half cycle of the input
depending on the orientation of the diode.
A diode connected in parallel with the load can clip off the input signal above 0.7 v to
any one half cycle depending on the connection of the diode. Using two diodes in parallel
and in opposite direction both the half cycle can be limited to a 0.7 v.
Vs +
Load Vo
-
Using a biased diode it is possible to limit the output voltage to a specified level
depending on the attached battery voltage. Either the half cycles or both of them can be
clipped off above a specified level.
Two zener diodes connected in back to back configuration can also be used as a double
clipper. In this case, in each half cycle of the input, one diode is forward biased while the
other diode works in the reverse breakdown region. The limiting voltage in either half is
VD + VZ.
Vs +
Load Vo
V1 V2
In practical case for both the series and parallel clippers voltage source is not added. Required
voltage levels are maintained by adding more semiconductor diode.
Clamper Circuits:
A DC clamper circuit adds a dc voltage to the input signal. For instance, if the incoming signal
varies from -10v to +10v, a positive dc clamper will produce an output that ideally swings from
0v to 20v and a negative clamper would produce an output between 0v to -20v.
EXPERIMENTAL WORK
Vs + +
Vs Load
Vo Vo
Load
VB - VB -
(a) (b)
Figure 2: Double Clipper Circuit using Zener Diodes (DO NOT SETUP THIS
CIRCUIT)
Set up 3: Input square wave (5 V peak amplitude, frequency 1 kHz)
.1uF
.1uF
Vs + +
Vs
Vo Vo
VB 100k
VB 100k
- -
(a) (b)
Procedure:
Connect the circuit as shown in the figure 1. Use a sinusoidal voltage source with 10
volts peak (Vm).
Observe the wave shapes for various values of VB and draw the output voltage wave
shape for VB = 5 V for each circuit. Record the clipping voltage levels.
Draw the output voltage wave shape for the circuit in figure 2 with input peak voltage Vm
= 10 volts and record the output voltage levels.
For the clamper circuits in figure 3, do the same as in above steps with V m = 5 volts.
REPORT:
1. Sketch all the waveforms observed on the oscilloscope.
2. Compare the observed output wave shapes and voltage levels with your hand calculation.
Explain any discrepancy.
3. What role does the value of capacitor used in the clamping circuit play in order to obtain
proper clamping?
EEE206 Device 1 Lab
Experiment 3 Simulation
OBJECTIVE
To study the I-V characteristics of a zener diode and its application as a voltage regulator in a DC
power supply and determine the line and load regulations.
COMPONENTS REQUIRED
THEORY
The diodes we have studied before do not operate in the breakdown region because this may damage
them. A Zener diode is different it is a silicon diode that the manufacturer has optimized for operation
in the breakdown region. It is used to build voltage regulator circuits that hold the load voltage almost
constant despite large change in line voltage and load resistance. Figures below show the symbol of
Zener diode and its operating region.
Model Approximations:
First approximation: When the voltage across the zener diode V ≥ VZ, the diode is ON, and it is
represented by a battery with constant voltage of VZ, otherwise the diode is OFF and it is represented
by an open circuit.
Second approximation: The Zener diode is modeled with a battery of voltage VZ0 in series with
resistance rz, called the zener resistance, to account for the slight increase in the zener voltage VZ with
the zener current IZ.
VZ VZ 0 I Z rz
Voltage Regulation:
Voltage regulation, a measure of performance of voltage regulator circuits, is classified as two types:
1. Line Regulation: line regulation is the variation in the output or the load voltage (VL) for one
volt variation in the input voltage (Vi), expressed mathematically as VL/Vi (mV/V).
2. Load Regulation: load regulation is the variation in the output or the load voltage (VL) for one
mA variation in the load current (IL), expressed mathematically as VL/IL (mA/V).
EXPERIMENTAL WORK
Vr
470
2
220
470
2
V V VL
Vz
1 10k
1
Procedure:
REPORT
Plot the I-V characteristics (VZ vs. IZ) of the Zener diode. Estimate the Zener knee current and
voltage (IZK, VZK) from the plot. Also calculate the voltage VZ0 and the zener resistance rz using
the data.
Plot VL vs. IL for the data of Table 2. Determine the load regulation.
Plot VL vs. V for the data of Table 3. Determine the line regulation.
Calculate the load and line regulation for the ckt 2 and compare with those obtained from
experimental data.
Tabulate your results as in Table 4. Comment on your results.
Table 4
Load regulation Line regulation
VZK IZK VZ0 rz (mV/mA) (mV/V)
(V) (mA) (V) (ohm) From Theoretical From Theoretical
Experiment Calculation Experiment Calculation
EEE206 Device 1 Lab
Experiment 4 simulation
Objective: To observe the behavior of
zener diodes in reverse bias
Setup the circuit
• Setup the circuit as shown. Use
a DC source and a zener diode.
For Zener diode, search for the
part name, “D02BZ4_7”. (Note
that the last two digits here, i.e.
4_7, signifies the reverse
breakdown voltage of this
particular zener diode)
OBJECTIVE
COMPONENTS REQUIRED
Transistor (C828)
Resistors (10, 2,2 , 3.3 , 4.7 , 470 KΩ, 470 Ω)
Potentiometer (100 KΩ)
THEORY
Introduction:
Unlike the diodes, transistors are three terminal device with three-doped regions called:
Emitter
Base and
Collector
These three-doped regions form two junctions: One between the emitter and the base and the other
between the collector and the base. Further, they come in two flavours NPN (On a NPN transistor
arrow is not pointed IN (See Figure 1)) and PNP. The middle letter indicate the type of material used
for the base, while outer letters indicate the emitter and collector material. The sandwiched materials
produce two pn junctions. These two junctions form two diodes-the emitter-base diode and base-
collector diode.
The emitter is heavily doped, its job is to emit or inject free majority carrier (electron for NPN and hole
for PNP) into the base. The base is lightly doped and very thin. It passes the most of the emitter-
injected electron (For NPN) into the collector. The doping level of the collector is between emitter and
base.
IC ↓
+
IB
→
RB VCE VCC
VBB +
-
VBE
↓I E
Amplification:
BJTs are current amplifiers. A small base current is amplfied to a larger current in the collector-emitter
circuit. Consider first the NPN transistor shown at the top. If the base is at higher ( ≈0.6 volt) potential
than the emitter then a current IB will flow into the base. The current into the collector is β times larger
than the base current. The quantity β (usually called hFE in transistor data sheets) is a characteristic of
the individual transistor and is typically in the range from 100-500 for the types of transistors we will
be using.
Biasing:
For a transistor to amplify, power is required from dc sources. The dc voltages required for proper
operation are referred to as bias voltages. The purpose of bias is to establish and maintain the requied
operating conditions despite variations between transistors or changes in the circuit parameters. For
normal operation, the base emitter junction is forward-biased and base-collector junction reverse-
biased. Since the base emitter junction is forward-biased, it has characteristics of a forward-biased
diode.
Characteristic Curves:
Input Characteristic Curve: Input characteristic is defined as the set of curves between Input current
(IB) Vs. Input voltage (VBE) for constant output voltage (VCE). It is the same curve that is found for a
forward biased diode.
Output Characteristic Curve: Output characteristic is defined by the set of curves between Output
current (IC) vs. Output voltage (VCE) for constant Input current (IB). The curves have the following
features:
About βDC
The βDC commonly known as simply β is an important bipolar transistor parameter that we need to
examine. βDC varies with both collector current and temperature. Keeping the junction temperature
constant and increase in IC causes βDC to increase to a maximum. A further increase in IC beyond this
point causes βDC to decrease. If IC is held constant and the temperature is varied, βDC changes directly
with the temperature. If the temperature goes up, βDC goes up and vice versa.
A transistor data sheet usually specifies βDC (hFE) at specific IC values. Even at fixed values of IC and
temperature, βDC varies from device to device for a given transistor due to inconsistencies in the
manufacturing process that are unavoidable. The βDC specified at a certain values of IC is usually the
minimum value, βDC(min), although the maximum and typical values are also sometimes specified.
Figure below shows the variation of βDC with IC and junction temperature (Tj) for a typical transistor.
DC
Procedure: +30 V
2
Step 1: Connect the circuit as shown in the figure. Use 2.2 KΩ as R.
V
Step 2: Measure VRB and calculate IB using I B RB . We will 100k
1 assume that I B to be constant for a
RB
470
particular setup at input. 10 k
+
VR 470
R = 470. Calculate IC using I C
Step 3: Measure the voltages VCE and+VVRB - VCE
.
470k
R470
+
Step 4: Take at least 10 readings by varying the POT. -
R VBE
0 0
Figure 4
Table:
3.3
4.7
REPORT:
Plot the graph IC Vs.VCE with necessary details for different values of IB.
Show the different regions of operation.
Plot a hypothetical output characteristic using PNP transistor.
Comment on the values of obtained for different values of IC and IB.
EEE206 Device 1 Lab
Experiment 5 Simulation
Objective: To obtain the Ic vs Vce curve for a
BJT
Setup the circuit
• Setup the circuit as shown.
• Use the part Q2N2220 for the NPN BJT.
OBJECTIVE
To study the common emitter amplifier and measure its gain, input impedance, output
impedance and frequency response characteristics.
COMPONENTS
THEORY
A bipolar transistor consists of two junctions: emitter- base and collector-base junctions. At
high frequency we cannot neglect the effect of capacitances on the performance of the
transistor. At low and mid band frequencies, their effects can be neglected.
CIRCUIT DIAGRAM
v0
vin 10F
RS
10F
47F
1
PROCEDURE
REPORT
2
EEE206 Device 1 Lab
Experiment 6 Simulation
Objective: To observe the time domain and
frequency domain response of the Common
Emitter Amplifier
Circuit setup
• Mark the wires with labels Vin and Vout as shown. (Double click on the wire and write the
names of the labels)
• Simulate the circuit. No graphs should appear on the axes.
Add trace
• In the Pspice A/D window,
go to Trace>Add trace.
• In the empty field for Trace
Expression write down the
following expression-
20*LOG10(V(Vout)/V(Vin))
• Take help of the two lists on
the left and right to obtain
• LOG10()
• V(Vout)
• V(Vin)
Plot
• Click on Ok to obtain the graph.
• If you have noticed, the trace expression was written to
obtain the Voltage Gain of the CE amplifier in decibels
versus frequency.
• Use cursors to obtain the upper and lower cutoff
frequencies (at -3db gain).
BRACUNIVERSITY
ELECTRONIC DEVICE AND CIRCUITS I LAB
ECE202 / EEE206
Measure the drain current, gate voltage and drain voltage and plot the transfer and output
characteristics curves of a MOSFET.
COMPONENTS REQUIRED
MOSFET (IRF 9610)
Resistor ( 56Ω)
Multimeter
THEORY
The metal–oxide–semiconductor field-effect transistor (MOSFET) is a type of transistor used for amplifying or
switching electronic signals. MOSFET is primarily a three terminal device consisting of the following terminals:
Gate
Drain
Source
There are two types of MOSFETS: i) enhancement-type MOSFET (shown in Figure 1(a)) ii) depletion type
MOSFET
Enhancement-type MOSFET
The basic construction of the n-channel enhancement-type MOSFET(nMOS) is provided in Fig. 1(a). A slab of p-
type material is formed from a silicon base and is referred to as the substrate. The substrate is sometimes
internally connected to the source terminal, while in other cases a fourth lead is made available for external control
of its potential level. The source and drain terminals are connected through metallic contacts to n-doped regions, but
note in Fig. 1(a), the absence of a channel between the two n-doped regions. This is the primarydifference between
the construction of depletion-type and enhancement-type MOSFETs—the absence of a channel as a constructed
component of the device. The gate is also connected to a metal contact surfacebut remains insulated from the p-type
material by a very thin silicon dioxide (SiO2) layer. SiO2 is a particular type of insulator referred to as a dielectric
that sets up opposing electric fields within the dielectric when exposed to an externally applied field.
(a) (b)
(c)
Figure 1: (a) n-channel enhancement type MOSFET (b) Channel formation in the n-channel enhancement
type MOSFET (c) Symbol of an n-channel enhancement type MOSFET.
To turn off an N-channel Enhancement MOSFET, there are 2 steps you can take. You can either cut off the bias
positive voltage, VDD, that powers the drain. Or you can turn off the positive voltage going to the gate of the
transistor.
MOSFET Characteristics
Transfer Characteristics:
The transfer characteristic (input characteristics) relates drain current (ID) response to the input gate-source driving
voltage (VGS). Since the gate terminal is electrically isolated from the remaining terminals, the gate current is
essentially zero, so that gate current is not part of device characteristics. The transfer characteristic curve can locate
the gate voltage at which the transistor passes current and leaves the OFF-state. This is the device threshold voltage
(Vtn).
But if the nMOS drain voltage increases beyond the limit, so that VGS< VDS + Vth, then the horizontal electric field
becomes stronger than the vertical field at the drain end. So the channel becomes asymmetric in shape causing one
end of the channel to become very narrow. This limits the amount of current that flow through the channel.
Therefore, the current does not increase further. This state is called the Saturation Region.
Experimental Setup:
D
G
S
1.) Setup the circuit given above.
2.) Keeping VD constant at 10V, increase VG from 0 to 30V and measure the corresponding voltage across the
𝑉𝑅
resistor VR. Calculate the drain current for each value of VG by using the formula 𝐼𝐷 = .
𝑅
VG VR ID
0
3
6
.
.
.
.
24
27
30
VD VR ID
0
3
6
.
.
.
.
24
27
30
Questions
1.) In the plot of transfer characteristics, mark the cut-off region for the different drain voltages.
2.) From the plot of transfer characteristics, find the threshold voltage for VD=10V,15V and 20V each.
3.) In the plot of output characteristics, mark the linear and saturation regions for VG=10V, 15V and 20V.
Also, find the saturation current for each of the saturation current for each of the voltages.
EEE 206 LAB
Objective
The objective of this module is to learn the fundamentals of computer aided circuit simulation using
PSpice.
Introduction
SPICE is a powerful general purpose analog circuit simulator that is used to verify circuit designs and to
predict the circuit behavior. This is of particular importance for integrated circuits. It was for this reason
that SPICE was originally developed at the Electronics Research Laboratory of the University of
California, Berkeley (1975), as its name implies
Simulation Program for Integrated Circuits Emphasis
PSpice program is extensively used to simulate and predict the behavior of experimental circuits.
Simulation is very important as it allows a potential circuit to be tested for errors before it is actually built,
thus saving time and cost.
An alternative to this type of notation, which is in fact, the default for PSpice output data, is "textual
scientific notation." This notation is written by typing an "E" followed by a signed or unsigned integer
indicating the power of ten. Some examples of this notation are shown below:
656,000 = 6.56E5
-0.0000135 = -1.35E-5
Page 1 of 8
Part 2: Introduction to Schematic
In this part you will learn to use the PSpice circuit simulation with the schematic capture front end,
Schematics. Click Schematic button in the MicroSim Design Manager window to get the following
schematic window.
Page 2 of 8
3. Connecting the Circuit
Now you'll have to connect the parts with wires.
Go up to the tool bar and
o select "Draw Wire" or
o "Ctrl+W" or
o go to "Draw" and select "Wire".
With the pencil looking pointer, click on one end of a part, when you move your mouse around,
you should see dotted lines appear. Attach the other end of your wire to the next part in the circuit.
Repeat this until your circuit is completely wired.
If you want to make a node (to make a wire go more then one place), click somewhere on the wire
and then click to the part (or the other wire). Or you can go from the part to the wire.
To get rid of the pencil, right click or press “Esc”.
If you end up with extra dots near your parts, you probably have an extra wire, select this short
wire (it will turn red), then press "Delete".
If the wire doesn't go the way you want (it doesn't look the way you want), you can make extra
bends in it by clicking in different places on the way (each click will form a corner).
If you double click on the part itself, you can select VALUE and change it in this box.
Page 3 of 8
7. Voltage and Current Bubbles
These are important if you want to measure the voltage at a point or the current going through that
point.
To add voltage or current bubbles, go to the right side of the top tool bar and select "Voltage/Level
Marker" (Ctrl+M) or "Current Marker" . To get either of these, go to "Markers" and either
"Voltage/Level Marker" or "Current Marker".
B. Analysis
Open the analysis menu by clicking the button. Enable the appropriate analysis options and
the press close.
Click on the Simulate button on the tool bar (or Analysis, Simulate, or F11).
C. Probe
1. Before you do the Probe
You have to have your circuit properly drawn and saved.
There must not be any floating parts on your page (i.e. unattached devices).
You should make sure that all parts have the values that you want.
There are no extra wires.
It is very important that you have a ground on your circuit.
Make sure that you have done the Analysis Setup and that only the things you want are enabled.
3. Graphing
If you don't have any errors, you should get a window with a black background to pop up
If you did have errors, go To "View - Output File" to check the errors.
4. Adding/Deleting Traces
PSpice will automatically put some traces in.
To change them go to Trace - Add Trace or on the toolbar. Then select all the traces you want.
To delete traces, select them on the bottom of the graph and press “Delete”.
5. Doing Math
In Add Traces, there are functions that can be performed, these will add/subtract (or whatever you
chose) the lines together.
Select the first output then either on your keyboard or on the right side, click the function that you
wish to perform.
It is interesting to note that you can plot the phase of a value by using IP(xx), where xx is the
name of the source you wish to see the phase for.
Page 4 of 8
6. Finding Points
There are Cursor buttons that allow you to find the maximum or minimum or just a point on the
line. These are located on the toolbar (to the right).
Select which curve you want to look at and then select "Toggle Cursor" .
Then you can find the max, min, the slope, or the relative max or min ( is find relative max).
7. Saving
To save your probe you need to go into the tools menu and click display, this will open up a menu
which will allow you to name the probe file and choose where to save it. You can also open
previously saved plots from here as well.
Circuit Example
Using the steps explained above draw and simulate the following circuit. This is the same circuit
that we used for our example 1.
In Analysis Setup window only enable “Bias Point Detail” option.
Page 5 of 8
To examine the node voltages and current through each part go to Analysis menu in the Schematic
window and then Display results on Schematic. Put the check marks beside Enable, Enable
Voltage Display and Enable Current Display.
Page 6 of 8
3. Place the box anywhere on the schematic page. Now double-click on the word PARAMETERS in
the box title to bring up the parameter dialog box. Set the NAME1= RVAR (no curly braces) and
the VALUE1= 10 (any value) to the nominal resistance value.
4. In the Analysis Setup dialog box, click the ‘DC Sweep’ button and Select ‘Linear’ type and ‘Global
Parameter’ as a sweep variable. Type RVAR as a sweep variable ‘Name’ with Start value = 100,
End value = 2000 and Increment = 100.
Transient Analysis is used to observe the behavior of a circuit parameter in time domain.
In the Analysis Setup dialog box, click the ‘Transient’ button and hence set the timing parameters.
Page 7 of 8
The first parameter, print step is the frequency with which data is saved. The actual time steps used by
PSpice may be different from this.
The second parameter, final time is the value of time at which the simulation will be ended. Since PSpice
starts at t = 0, there will be a total of 50ms time span of simulation for the circuit.
The third parameter, print delay is the print delay time. In some cases, we do not want to store the data
for the entire time span of the simulation. Most of the time, this parameter is set to zero or not used.
The fourth parameter, step ceiling is the maximum time step size PSpice is allowed to take during the
simulation. Since PSpice automatically adjusts its time step size during the simulation, it may increase
the step size to a value greater than desirable for displaying the data. When the variables are changing
rapidly, PSpice shortens the step size, and when the variables change more slowly, it increases the step
size. Use of this parameter is optional.
To create a time-varying periodic source of arbitrary waveshape VPULSE is used. Choose "Get New Part"
from the menu and select the part named VPULSE. Now double-click on its symbol to bring up the
following dialog box. Set the parameter values appropriately.
For a 100Hz square wave signal ranging from 0 to 5V with 50% duty cycle
set DC=0, AC=0, V1=0, V2=5, TD= 0, TR=0, TF=0, PW=5ms, PER=10ms.
Page 8 of 8
Sweeping a Variable Resistor
Wheatstone Bridge
Place the Parts
1. VDC
2. R, which you place 3
times.
The numbering of the
resistor increases
sequentially as you
place each resistor.
3. R_VAR, the variable
resistor, which is
used to simulate the
trim pot.
Wire the components together
Click on the pencil icon on the
toolbar. Then, left click on the ends
of the two components that you
want to connect with a wire. Right
click to end the wiring operation.
Place PARAM
Select NAME1
and assign it the
value Rx, the
name of the
variable that will
be ramped from
0W to 10 kW
during this
simulation.
Click Save Attr and then click OK to close the pop-up window.
Assign Variable Name to R_VAR
Now you have to assign the parameter to the variable resistor. To do this,
double click on the symbol for R_VAR, which will cause the symbol to be
highlighted in red and will open the PartName: r_var pop-up window.
Click VALUE and assign Rx as its value. Then click Save Attr.
Set
You must also change SET from 0.5 to 1. If you do not do this step, the value of the
variable resistor will be 50% of the value assigned by the parameter. I.e., the value of
the R_VAR will be ramped between 0 – 5 kW, and fixed at 5 kW during the calculations
for the Bias Point Detail.
A common mistake is to forget to change SET so verify that it is equal to 1
if you find that your results differ from the expected results.
Then, click Save Attr and finally click OK to close the pop-up window.
Select the Type of Simulation
Once you have finished laying out the schematic, you should save the schematic.
Now, you are ready to run the simulation. First, you have to select the type of
simulation. Either click on the Analysis Setup icon (white with blue strip on top) or go
to Analysis/Setup from the upper toolbar.
Make sure that Bias Point Detail is enabled. Click on the words DC Sweep, which will
enable this simulation and cause a pop-up window to open.
DC Sweep
Select Global Parameter under Swept Var. Type.
NEVER put a space between the number and the prefix in PSpice.
Run the Simulation
If you have followed my directions exactly, you will have error messages displayed
in the window that is launched when the simulation is run.
Note that the error message is that several of the nodes are floating. The cause is
either (a) the wire connection to the components did not register and you need to
go back to the components and make a node show up at the connection of the end
of each part and the wire or (b) there is no reference point (ground) in the circuit.
Add a Ground
Use Voltage Markers
Click Plot/Add Plot to Window. An empty plot will be inserted above the one that was
automatically generated.
Note that this additional plot (as well as the trace expression) that you added for VBA will disappear if you
rerun the simulation.
Select the Currents to be Plotted
Left click inside the blank plot area.
Then, click on Trace/Add Trace.
To increase the width, change the color or other attribute of each curve, right click on
the curve and select Properties.
Note that the currents displayed are negative. This is not correct.
Current Markers
Printed a black and white version of the plot using File/Print or capture an image from
your display after selecting File/Print Preview and include this plot in your report
template. This will insure that the size of the report template is reasonably small when
you upload it on Scholar. The time stamp and the file location should be included.
Results from Bias Point Detail
Use the Analysis/Display Results on Schematic option if you would like to see the d.c.
values of the voltages and currents from the Bias Point Detail calculation. The
calculate is performed when Rx is equal to its maximum value.
The schematic with the labels does not have to be included in the report.
ECE 202
Experiment no. 6
Theory:
Biasing a BJT circuit means to provide appropriate direct potentials and currents, using
external sources, to establish an operating point or Q-point in the active region. Once the
Q-point is established, the time varying excursions of input signal should cause an output
signal of same waveform. If the output signal is not a faithful reproduction of the input
signal, for example, if it is clipped on one side, the operating point is unsatisfactory and
should be relocated on the collector characteristics. Therefore, the main objective of
biasing a BJT circuit is to choose the proper Q-point for faithful reproduction of the input
signal. There are different types of biasing circuits. In the fixed bias circuit (Fig. 1), the
base current IB is determined by the base resistance RB and it remains constant. The main
drawback of this circuit is the instability of Q-point with the variation of of the
transistor. In the laboratory, we will test the stability using two transistors with
different . In the self bias circuit, shown in figure 2, this problem is overcome by using
a self biasing resistor RE to the emitter terminal.
Equipments:
Circuit Diagrams:
Rc
Ra
100k 470 10V
10k
Figure 1
RB1
10k Rc
470
10V
RB2
10k 560
Figure 2
Procedure:
Arrange the circuit shown in figure 1 by C828. Record RC and set RB to its
maximum value.
V
Decrease POT RB gradually so that VCE cc .
2
Measure voltage across RC and VCE.
Record the Q-point (VCE, IC).
Replace the C828 transistor by BD135 and repeat step 3 & 4.
Arrange the circuit shown in figure 2 by C828. Record RC and set RB2 to its
minimum value.
V
Increase POT RB2 gradually so that VCE cc .
2
Measure voltage across RC & VCE.
Record the Q-point (VCE, IC).
Replace the C828 transistor by BD135 and repeat step 8 & 9.
Data Sheet for Fixed bias Circuit:
Transistor RC VC VC Q-point
IC VCE
RC
C828
BD135
Transistor RC VC VC Q-point
IC VCE
RC
C828
BD135
Report:
1. Which circuit shows better stability? Explain in the context of the results obtained
in the laboratory.
2. Draw the dc load line for both the circuits and show the Q-point.
BJT Common Emitter
Run the simulation and from “Add Trace” select IC(Q1). Plot IC(Q1) Vs. (V1-V0) curve. Here “1” and
“0” are the nodes defined to identify Collector and Emitter consecutively.
Launching Schematic
Launch PSPICE Schematic by selecting Start >All Programs > Orcad Family Release 9.2 >
Schematics.
Figure 1
A screen with a blank schematic sheet will appear as in Figure 2. Now you can design you circuit
schematic on it.
Figure 2
Getting Parts
All the components (resistor, voltage source, diodes, ground etc.) required to design the circuit
in schematic will be found from the schematic librarires by selecting Draw -> get New part.
Alternatively, you can just click on the small shortcut icon inside the circle as shown in the
following figure.
Figure 3.
The following window (Fig. 4) will pop up. In the space below the line “Part Name”, write the
part name you want from the library. Once the particular part (a diode in the figure) has been
selected, click “Place”. You will see that a diode symbol is moving with the cursor and by
clicking the mouse on schematic sheet the diode will be placed on the sheet. The symbol will
disappear by right clicking the mouse. Note that you can click on a part to select it which will
turn it to red. You can click and drag it to move it to anywhere in your schematic, and release the
button to release it. If you want to delete it select and press “delete”. If you want to rotate the part
select it and then Ctrl+R.
Fig. 4
Repeat the process until you have all the components required to design the circuit and it should
look as in the following figure.
Figure 5.
Wiring Parts
In order to complete the design you need to connect all the parts with wires. Please click on the
small “Draw Wire” icon, which is circled as shown in Fig.6 . The cursor will take the shape of a
pencil. Click on one end of a part and then move to the end of another part to make the
corresponding wire connection between them. The wires drawn in the wrong way could be
deleted by simply selecting the wire, which will turn read, and then press delete. After you finish
all the wire connection, you can exit the wire mode by clicking right mouse button. Finally your
schematic with all the wiring done should look like as in figure 7.
Figure 6
Figure 7
You are now going to set the values in all the parts. For example, first double click on the “0V”
value of DC voltage source V1, a popup window appears as below (Fig. 8). Type your value (say
10V) in the space under the line “Set Attribute” and then click “OK”. Value of the DC voltage
source V1 has been changed to “10V” now. Similarly, can also double click on the values of
other parts (R1) and put new values.
Figure 8
Steps to analyze with AC voltage source:
1. Choose VSIN from get new parts and place it on the schematic window.
2. To change attribute double click on the VSIN symbol and a popup window will appear (see
Figure)
3. Put values of VOFF (voltage offset), VAMPL(voltage amplitude) and FREQ (frequency) in the
space provided under the name “Value”. First select the parameter you want to put/change the
value of (say, VOFF), the type the value (say, “0”), then press “Enter”. Once you are done
placing all the value to define the VSIN, click “OK” to get out of the window. As in the figure the
voltage source is characterized with Amplitude of 10 V, frequency 100Hz and the offset is 0.
Setup Analysis
To simulate the circuit, you must first decide what kind of analysis you want to perform. Click
on the icon inside the circle in the following figure. A Setup dialog box shown in figure 10
appears.
Figure 9
Figure 10
Obtaining a DC Sweep
DC sweep in the „setup Analysis‟ window is enabled if you want to determine the effect of
varying input voltage Vin on the output voltage. Click on theDC Sweep and another dialog box
as in Figure will appear where sweep details are entered. For example if you want a Voltage
Source sweep, select it (default selection). The name of the source has to be same as the name
appeared on the schematic. Consider linear sweep and the Start Value, End Value gives the
range of the Source Voltage and the increment gives the voltage steps. Click on OK, and you
will return to the Setup window in Figure. Click OK in the window to exit the Analysis Setup.
Fig. 11.
Transient Analysis
If you want to simulate the time varying characteristics of circuit then click on “Transient” to
setup the transient parameters. for example, if VSIN (sinusoidal voltage whose value changes
with time) is employed as source voltage then use Transient analysis. A popup dialog box will
appear as in figure below. Change the “Print Step” to 0.1ms, the “Final Time” to 30ms. These
parameters tell simulation step time and the final stop time. Now click “OK” and then “Close” to
exit Setup Analysis.
Fig. 12
Make sure to save the file as a schematic-filename.sch before hitting the Simulation command!
Click “Analysis-Simulate”.
Steps to analyze with AC voltage source:
1. Choose VSIN from get new parts and place it on the schematic window.
2. To change attribute double click on the VSIN symbol and a popup window will appear (see
Figure)
3. Put values of VOFF (voltage offset), VAMPL(voltage amplitude) and FREQ (frequency) in the
space provided under the name “Value”. First select the parameter you want to put/change the
value of (say, VOFF), the type the value (say, “0”), then press “Enter”. Once you are done
placing all the value to define the VSIN, click “OK” to get out of the window. As in the figure the
voltage source is characterized with Amplitude of 10 V, frequency 100Hz and the offset is 0.
Steps to use variable resistor and how to simulate
circuit using variable resistor
1. “get new part” choose “R_var” and place it on the schematic.
2. Double click on “R_var” symbol and Change the value of the part (not the name!) to
{RL} (use curly braces, name is arbitrary) and then press “Enter”. Click “OK”.
3. Go to “get new part” select “PARAM” and place it on the schematic.
4. Double click on “PARAMETERS”
5. Set the name to RL (same name as in “a” but with no curly braces) to NAME1
6. Set VALUE1=1k and then “OK” to exit the window.
Simulation Settings: