Laboratory Experiments
Laboratory Experiments
Laboratory Experiments
LABORATORY EXPERIMENTS
Anh Dinh, Rory Gowen, Chandler Janzen
Department of Electrical and Computer Engineering
University of Saskatchewan, Canada
LAB REPORT
Students work in a group of 2, the laboratory is on alternative week. Each student must
have a notebook for the labs. The notebook is used for lab preparation, notes, record, and lab
reports. The reports must be handed before 5:00pm on the due date into the box labeled to your
section. The reports are due on the same date of the following week. The lab book is marked and
returned before the next lab.
Marking Scheme
Your grade in the laboratory section is based on two criteria:
Day-to-day lab performance
Lab books/notebook keeping
The day-to-day lab performance is based on the lab instructors observation of you and
your conduct. This includes your competency at setting experiments up and working the test
equipment. It also includes your preparation for the labs, attendance, tardiness, attitude,
accuracy, and is also based on your answers, should he/she ask you any questions during the
course of the lab. Keep in mind that your behavior influences your grade; act professionally at
all times.
Your lab write-ups may be marked with one of the following grades:
Unsatisfactory (repeat)
Beginning
Developing
Satisfactory
Advanced
Combinations of any two may also be used. These word grades are translated into number
grades by your instructor when compiling your grade for the class. All labs must be performed
and a write-up submitted in order to pass the class. If one or more labs have not been performed,
then a grade of INC (incomplete) will be submitted.
Lab notebooks can be considered to be fulfilling the same functions as logbooks in
industry. Logbooks are used to record the results of all tests performed on systems, subsystems
and equipment during the various phases of a project including R&D, design, systems
integration, etc. Logbooks are official, permanent documents, and can be used in court to prove
ownership of a design!
The following points must be followed when writing up lab reports:
The first page must contain a table of contents.
All pages in the notebook must be numbered.
Formal structure is not critical; logical order is important.
Try to use pen, avoid pencil.
Legibility and neatness are important, as is orderly notes.
If in doubt about what to include (and how), remember that it should be clear, concise
and complete.
TUTORIAL
This is a self-taught tutorial, go through the tutorial in your own time. If you have any
question or need help, contact the support engineers or your instructor.
- Connect the Analog Discovery into the computer using the USB cable provided and start the
Waveforms software. The main window of the Waveforms should appear.
- Click on in, out, and Voltage on the Analog side of the above window. The following
windows will appear (may not be exactly as shown). Size the windows to your best view. These
are the 3 main functions of the Analog Discovery and Waveforms.
- The Power Supply (Voltage window) provides +5V (red wire) and -5V (white wire) with
respect to ground (black wires).
- The Scope (Oscilloscope 1 window) has 2 channels with differential input. Channel1has 2
wires: positive is orange and negative is orange-white. Channel2 has 2 wires: positive is blue and
negative is blue-white. The differential channels allow you to connect the positive or negative
side of the channel to anywhere on the circuit (i.e., the scope channels are not grounded unlike
those found in a typical oscilloscope). The channel will measure the difference in voltage (in
time) between its positive and negative wires.
The Time can be changed in Position (time) and Base (time/division in the horizontal
display of the scope).
Note that Channel1 and Channel2 (C1 and C2) have Offset (DC level) and Range
(volt/division on the vertical display of the scopes).
If you need more channels on the scope display, simply click Add Chan. The added channels are
derived from C1 and C2. For example, if you want to display the current through a 100
resistor, put C1 across that resistor and Control Add mathematic channel Custom
C1/100. This M1 is the math channel represents the current with the unit of
Volt/Ohm=Ampere. By default, the units of the math channel will be Volts. To change the units
) and select units select the unit from the dropclick the math channel settings button (
down menu.
- The Waveform Generator (Arbitrary Waveform Generator 1 and 2 windows) allow you to
simultaneously generate 2 arbitrary waveforms with respect to ground. Signal from the AWG1 is
connected to the yellow wire and the signal AWG2 is connected to the yellow-white wire. The
waveforms can be generated using standard shapes (sinewave, square wave, triangular wave, )
or custom made shape using an external file (to be instructed later in the subsequence labs). Note
that you can change various parameters of these 2 waveforms such as DC offset, amplitude,
frequency, symmetry, and phase.
Explore these windows and familiar with the controls of the windows since they are directly
connected to the wires of the Analog Discovery and in turn, to be connected to your circuit.
More information on the Waveforms software can be found in the Digilent website.
Experiments:
1. Voltage divider circuit.
Construct the circuit below on a breadboard. Connect a sine wave signal (generated by AWG1)
with the following parameters (sinewave, 60 Hz frequency, 2.5V amplitude, 2.5V offset, 50%
symmetry, 0 degree phase). Perform the followings:
- Display C1, C2, M1 (current through R1) at least 4-5 cycles on the oscilloscope
window. Note that the alternating current signals (ac) run on top of the DC signal (offset).
- Calculate rms values of VR1, VR2, IR1. Note that the ac rms is: VRMS
V peak
2
- Observe what happen to the waveforms when you change the signal offset to 3.5V,
1.5V, 0V, and -2.5V.
- Stop AWG1.
AWG1
Connected horizontally
R1=100
Connected vertically
R2=470
Connected horizontally
The breadboard
+
CH1
-
+
CH2
-
Ground
Voltage divider circuit
Note: You may have to adjust the trigger level on the scope to stabilize the waveform on the
display. The trigger level causes a periodic waveform that crosses the trigger voltage level to
snap to the crossing point making the waveform appear stationary in time. To adjust the trigger
level select the trigger source (
) from the drop-down list. After selecting
the trigger source a triangle will appear on the right side of the scope window ( ), left click and
drag the triangle to set the trigger voltage level. Observe what happens as you adjust the trigger
level to cross a waveform.
Example of the scope display. Note: Math Channel M1 displays the current (I=V/R)
2. LED circuit:
Using the above circuit, insert a light emitting diode (LED) between R2 and Ground (make sure
the flat side of the LED connected to Ground). Change AWG1 into a standard flat line (DC
only). Adjust the DC level from 0-5V and observe at which voltage of AWG1 you can see the
LED emitting light. Now change AWG1 to sinewave at an amplitude such that you have an
excess at most 1V above the offset you obtain above. Adjust the frequency of the waveform to
have a comfortable flashing rate of the LED to be observed (for example 2 flashes per second).
Display the voltage waveform across the LED and its current. Change the waveshape to
triangular and squarewave (in the AWG1 generator) to observe the LED operation. Stop AWG1.
3. RC circuit:
Now replace the LED by a 10uF capacitor. Make sure the negative leg of the capacitor is
connected to ground if this is a polarized capacitor. Change AWG1 into squarewave of 0 to 5V
with a frequency of 10Hz. Display 1 cycle of the waveforms of AWG1 and the voltage across the
capacitor. Find the time when the voltage of the capacitor reaching around 63% of its maximum
voltage from its minimum voltage. What is the difference of this time to the product of total
resistance and capacitance? What is this time called?
Note: A polarized capacitor will either have a +, - or band indicating the positive or
negative sides of the capacitor. If you are unsure about whether or not your capacitor is
polarized, please ask your instructor, support engineers or teaching assistants for help.
10
Material
TL081 op-amp
Resistors
Photo diode, PNZ334 (or PD204-6C)
Equipment
Analog Discovery module
Waveforms software
PRELAB
The TL081 is used for this lab. The pin-out diagram for the TL081 op-amp IC is shown in
Figure 1. Check its datasheet and make notes of its maximum ratings such as power supply,
power dissipation, input voltage, and output current.
8
dot
4
1
Figure 1: The TL081 op-amp
PROCEDURE
1. Inverting Amplifier
One of the most common applications of the op-amp is the simple inverting amplifier. The
output is inverted and the amplification gain is determined by the ratio of the feedback
resistor (R2) to the input resistor (R1). Use R1 = 1k and R2 = 10k.
11
C2 0.5nF
R2 10K
R1
1K
+5V
1
2
+
C1
_
vin
~ (AWG1, sinewave,
TL081
3
-5V
vo
R3
C2
1K
_
Figure 2: Inverting Amplifier (node numbers in circle correspond to the pin of the TL081 opamp)
- Simulate the inverting amplifier using ideal op-amp: follow the demonstration by the
instructor of how to simulate the circuit using the Simulation Program with Integrated
Circuit Emphasis (SPICE). A sample of a circuit file (inverting.cir) for Figure 2 to be
used in the simulation is as follow:
Inverting Amplifier Configuration
** Circuit description
**
* opamp circuit
.subckt ideal_opamp 1 2 3
Eopamp 1 0 2 3 1e6
.ends ideal_opamp
** Inverting amplifier
Vi 1 0 DC 0 AC 0.5V
R1 1 2 1k
R2 2 6 10k
C2 2 6 0.5nF
R3 6 0 1k
X_A1 6 0 2 ideal_opamp
** Capacitor C2 is put in parallel with resistor R2 to observe frequency response of the
amplifier**
*Analysis
.AC LIN 100 1Hz 100KHz
.PLOT AC VdB(6) Vp(6)
.probe
.end
Simulate the circuit and save the plot of the response (output voltage at different
frequencies) of the circuit as the sample below.
12
- Neatly construct the inverting amplifier circuit shown in Figure 2 on a breadboard. See a
neatly construct of a circuit breadboard shown in Figure 3 below. Power the op-amp by
connecting the power supply of the Analog Discovery (+-5V, red and white wires) to the
circuit. Properly ground the circuits using the Analog Discovery ground (the black wire).
13
compare the two calculated and measured gains. Why this amplifier is called an inverting
amp?
Change the frequency of the input signal in AWG1 in step of 5KHz, plot the response of the
non-ideal op-amp and compare with the ideal op-amp simulation result above. Show this in
your lab report. Find the frequency at which the gain equal to 0.707 of the maximum gain in
both cases. Record this frequency in your lab book. Is there a specific name for this
frequency?
2. Non-inverting Amplifier
Repeat step 1 for the non-inverting amplifier shown in Figure 5 with R1 = 1k and R2 =
10k. Dont forget to provide the supply voltage to the op-amp. For your report, show the
input and output waveforms. Derive and experimentally verify the gain relationship Av=
(R1+R2)/R1.
R2=10K
R1
1K
+5V
2
3
vin
(sinewave, 1KHz,
100mV,0V, 50%,0)
TL081
vo
RL
1K
-5V
1-5V
Figure 6:
h di
15
Step 2: Now replace the current source with a photodiode as shown in Figure 7. Notice that the
photodiode is reverse-bias connected. The current of the diode is proportional to the illuminance
of the light. Look at Vout with the oscilloscope. Find the currents Iin with the light in the room and
another light source provided in the lab for your report. The experiment can be done by replacing
the photodiode with a Flexiforce sensor connected in series with a 2K resistor. The resistance
of the sensor is inversely proportional to the force applied to the sensor (by squeezing on the
sensing portion of the sensor). The current is proportional to the force hence the output voltage
relates to the force.
5V
5V
16
Equipment
Waveforms software
PRE LAB
Look up the characteristics of the 1N4005 diode by making a web search. The
specifications for different kinds of diode vary. Copy the maximum/minimum rates and the
electrical characteristics of the specifications for the diode to your lab report as part of your
lab report. Understand the terms used in the specifications.
THEORY
The simplest and most fundamental nonlinear circuit element is the diode. The diode is a
device formed from a junction of n-type and p-type semiconductor material, shown in
Figure 1(a). The lead connected to the p-type material is called the anode and the lead
connected to the n-type material is the cathode, shown in Figure 1(b). In general, the
cathode of a diode is marked by a solid line on the diode package, shown in Figure 1(c).
Figure 1: (a) PN-junction model, (b) schematic symbol, and (c) physical part for a diode.
One of the primary functions of the diode is the rectification. When it is forward biased (the
higher potential is connected to the anode lead), it will pass current. When it is reverse
biased (the higher potential is connected to the cathode lead), the current is blocked. The
characteristic curves of an ideal diode and a real diode are seen in Figure 2.
17
i I S e vD / nVT
(1)
where IS is usually called saturation current, it is a constant for a given diode at a given
temperature. It can be as low as 10-15 A. VT is also a constant called thermal voltage, and it is
given by equation 2 in which k= Boltzmann constant (1.3806488 10-23 (m2 kg)/(s2K)), T is
temperature (K), and q is the electron charge (1.60217657 10-19 coulombs).
VT
kT
q
(2)
When analyzing circuits, the real diode is usually replaced with a simpler model. The simplest
form, the diode is modeled by a switch. The switch is closed when the diode is forward biased
and open when the diode is reverse biased.
PROCEDURE
1. Diode I-V Characteristics
A) Study the 1N4005 rectifier diode
The I-V characteristics for the diode can be displayed using the Analog Discovery module along
with the Waveforms software. Construct the circuit below on a breadboard. Through the proper
setup, the Y-axis can be used to display the current through the diode, and the X-axis can be used
to display the voltage across the diode. This can be done by using the Add XY button
) in the Waveforms Oscilloscope in which the X value is C1 (voltage across the diode,
(
VD) and the Y value is the diode current (M1) in amperes. This current is simply the voltage
across resistor R divided by resistance R (M1=C2/R). The input signal of AWG1 should be a
sinewave or triangular wave (why not a squarewave?) with a frequency about 10Hz, 2.5V
amplitude, and 2.5V offset. Note: you may have to adjust the offset and scale of the channels to
see the IV characteristic on the screen.
Study the I-V curve carefully and fill in the following table with appropriate values. Document
the knee voltage of this diode in your report.
18
AWG1
R=560
+
CH2
+
CH1
-
Ground
Points
Characteristic
Off
Off
Just turning on
0.6
0.65
Characteristic
Off
Off
Just turning on
0.6
0.65
C) Explain the differences of the data between 1N4148 and 1N4005 if applicable and
document it in your final report. Hints: silicon diodes can be classified as signal diodes and
rectifier diodes.
2. Half-Wave Rectifier Properties
The half-wave rectifying properties of the diode can be displayed using the circuit shown in
Figure 4. Build the circuit on a breadboard. Use R = 1k ohms and a 1N4005 diode. Set the signal
generator AWG1 so that it can provide an output of:
Sinusoidal signal
Amplitude: 5V p-p with an offset of 0V
Frequency: 60Hz
A. Display the waveforms for the input and output voltages (Vin and Vout) using the
oscilloscope. Copy the waveforms in your lab report, and label the peak voltages of the
waveforms. Explain the amplitude and time differences between Vin and Vout.
19
B. Add a 10 F capacitor in parallel with resistor R, the other parts remain the same. Please
notice the + and - signs on the capacitor if you use a polarized capacitor, make sure the
polarization is correct, otherwise it may blow up. Display the input and output voltage
waveforms and copy into your report. Label the ripple voltage (peak-peak) in the
waveform.
In your report, hand in the labeled waveforms obtained in (A) and (B). In addition, calculate the
ripple voltage using information from the text book and compare it to the experimental result.
220 Ohms
1N4733
Id
20
(1)
Generate 2 waveforms similar to those shown in the above example (refer to the appendix for
further setup instructions). Click on the XY cursor in the oscilloscope window to turn on the XY
plot to show the I-V characteristics of the 2N2222 transistor similar to the sample below. The X
axis should be the voltage across collector and emitter (VCE in volts) and the Y axis should be the
collector current (IC in mili-ampere). The current is to be calculated by using the math channel
M1 after clicking on the Add channel cursor.
Change the waveform into sinewave and squarewave to observe (and explain) if there any
change in the I-V characteristic display.
22
AWG2: generates Vbb. There are 10 steps uniformly distributed in the range
(0.5V2.5V). See the appendix below for setting up the step voltages in AWG2.
Scope channels:
C2: Vcc->Vc, the voltage drop across R2
C1: Vc->GND, the collector to emitter voltage drop
M1: Math channel calculating C2/R1 = Ic current. Since C2 is expressed in Volts and
R2 value is given as Ohm, M1 is expressed in Amps.
Turn on the XY cursor in the oscilloscope window, Add XY. Designate X=C1,
Y=M1 to plot the I-V characteristics of the 2N2222 transistor.
Repeat the steps for the 2N2907 (pnp) transistor. The setup for the pnp transistor is shown in
Figure 2. (Note: the set-up of AWG1 and AWG2 for pnp transistor is different from
npn transistor)
23
Fac
I c 2 I c1 I c 3 I c1
I b 2 I b1 I b 3 I b1
24
25
In this lab, students design and implement single-stage BJT amplifiers and observe
amplitude and frequency responses. Breadboard and the Analog Discovery module are to be
used. The students will use various tools and functions from the Waveform software to
perform measurement and plotting the amplifier response.
MATERIAL AND EQUIPMENT:
Material
2N2222 npn BJT transistor
Capacitors
Resistors
2N2907 pnp BJT transistor
Equipment
Breadboard
Multimeter
Analog Discovery
Digilent Waveform software
PRE-LAB
Look at this handout and be familiar with the CE amplifier described in the text book. You
need to know how to calculate the DC voltage, current and small-signal gain. Design an
amplifier with a voltage gain of -4, a collector current of 5 mA, bias the collector voltage to
provide a maximum output voltage swing (i.e., collector voltage Vc equals to of Vcc).
The bias resistance R1 and R2 should be in the range of 1K to 20K (why?). Use a Vcc of +5
V from the power supply of the Analog Discovery module.
PROCEDURES
1. NPN transistor characteristics
Obtain 2N2222 Si npn from the lab instructor or from the teaching assistant. Measure its
DC at VCE =2.5V if you dont have the current gain of this transistor from the previous lab.
You need to include the transistor characteristics in your lab report. Label DC on the curves.
The normal DC of 2N2222 is between 100-200. Also use the information in Lab 3 BJT I-V
characteristics.
2. Common Emitter (CE) amplifier
Design and construct the circuit shown in Figure 1. You can use 1 uF for capacitor CB and
4.7 uF for the capacitor CC.
A. Measure the DC currents and voltages: IB, IC, IE, VC, VB, VE. Remember to measure one
at a time with NO input AC signal. In your report, make a table and list the results from
26
your experiment and hand calculations. In your hand calculation, use determined from
your I-V curve. Assume VBE = 0.7V.
B. At this time, DO NOT connect the load resistor RL . Generate an input signal from
AWG1 (100 mVpp, 1 KHz) and send the signal to the input of the amplifier. Observe the
input and output voltage waveforms using two probes of the oscilloscope (Channel 1 and
Channel 2). First observe the waveforms of the input signals that are before and after CB.
Note that how DC voltage at the base is preserved by using the coupling capacitor CB.
Then observe the waveforms of signals Vc and Vo that are before and after coupling
capacitor CC. The waveform at Vc has both ac and DC components and waveform at Vo
is a pure ac signal because of the coupling capacitor CC blocking all the DC component in
the signal. Capture the waveforms at Vi, VB, Vc and Vo and copy them to your lab
report. Find the voltage gain from the waveforms (Vo/Vi).
+5V
RC
R1
To Channel 1 of the
oscilloscope
VC
CB
R2
CC
VO
VB
2N2222
Vi
AWG1
To Channel 2 of
the oscilloscope
RE
RL
CE
Figure 1: CE amplifier
C. Perform hand calculations for the output voltage and voltage gain. List the results from
your experiment and hand calculation in a table in your lab report.
D. Connect the load resistor RL = 1K to the amplifier. Read the output voltage from the
oscilloscope and find the voltage gain.
E. Connect a polarized capacitor CE =22 uF to the circuit as shown in Figure 1 so that it is in
parallel with RE . At this time, the emitter is ac shorted to ground. Observe the output
waveform at Vc and Vo and copy it to your lab report. Explain why the waveforms are
distorted. Once you have finished this step, recover the circuit connection according
to Figure 1 by removing CE and RL.
F. At the last step, you need to adjust the frequency of the input signal from the signal
generator. First you need to reduce the frequency (below 1kHz) and observe the voltage
gain. The gain will reduce after a certain frequency. Find the low frequency, fL, when the
voltage gain is decreased to 70% (half-power). Then you need to increase the frequency
(about 1kHz) and find the high frequency, fH, when voltage gain is reduced to 70%. The
amplifier bandwidth is defined as fH-fL. Document the frequencies and bandwidth in your
report. Read Appendix 1 and Appendix 2 in Lab5 FET Amplifier (page 37).
27
G. Optional: Use Sweep function in the Arbitrary Waveform Generator to sweep the
frequency of the input signal and observe the response of the amplifier. Describe the
response of the amplifier.
H. Optional: Repeat the steps using 2N2907 (pnp) transistor. Comment on the differences
between npn and pnp amplifiers.
I. Scope sample for npn BJT (2N2222) amplifier:
28
+5V
CB
VB
2N2907
Vi
AWG1
CE
RE
R1
To Channel 1 of the
oscilloscope
VC
R2
RC
CC
VO
To Channel 2 of
the oscilloscope
RL
29
In this lab, the students discover two voltage-control terminals of a four-terminal MOSFET.
The students will construct a circuit to observe the change in threshold voltage of a
MOSFET transistor due to the change in substrate-to-source voltage. The students will
collect and analyze data to find the transconductance parameters of a particular MOSFET.
The students will acquire the MOSFET I-V by setting up a simple circuit connecting to the
Analog Discovery module.
MATERIAL AND EQUIPMENT
Material
MIC94050 p-channel MOSFET
BS107 n-channel MOSFET
IRFD110 n-channel MOSFET
Resistors
Equipment
Analog Discovery
Digilent Waveforms software
Breadboard
BACKGROUND:
The MOSFET is actually a four-terminal device, whose substrate, or body, terminal must be
always held at one of the extreme voltage in the circuit, either the most positive for the
PMOS or the most negative for the NMOS. One unique property of the MOSFET is that the
gate draws no measurable current. Another is that either polarity of voltage maybe applied
to the gate without causing damage to the transistor. Although enhancement-mode
MOSFETs respond to only one polarity, the students need not fear the consequences of
using the opposite polarity.
A MOSFET with its gate and drain connected together always operates in the constantcurrent region, its iD-VGS relationship is
iD K vGS K VTR
(1)
(2)
Using the typical values =0.4 V0.5 and F=0.3 V gives the following values for the change
in threshold voltage of an nMOS.
vSB (V)
1
2
3
VTR-VTR0
0.20
0.34
0.45
30
Set up the circuit as shown in Figure 1 below. Use the MIC94050 p-channel MOSFET, this
transistor has 4 terminals in which the substrate is marked on the mounting PCB. Connect
the circuit to the Analog Discovery module, pay attention to the polarities of the scope
Channels 1 and 2. Start Digilent Waveforms software and WaveGen (out). Set-up the 2
output waveforms AWG1 and AWG2 using the parameters provided in Table 1. Consult the
detailed information at the end of this document of how to set-up the desired waveforms in
the Analog Discovery module. Start the Scope (in) and set-up the channels (C1, C2, and
Math Channel M1) as shown in the example waveforms in Figure 3. Add XY in the
Oscilloscope 1 window and select X=C1 and Y=M1. Run two waveforms generated in the
WaveGen (Run all). Run the oscilloscope and observe the waveform of the window XY#1.
The waveform should be similar to the samples in Figure 3.
Table 1: Initial Waveforms parameters set-up
Waveform Gen.
Frequency (Hz)
Amplitude
Offset
AWG1 (sawtooth)
10
2.5V
-2.5V
AWG2 (5 steps)
1.5V
1.5V
Channel
Math
Offset
Range
C1
-1.1V
100mV/div
C2
-2V
500mV/div
1mA/div
M1
C2/RD
-5mA
Time
Start 0
Base 200ms/div
MIC94050
Substrate
+
To AWG2 Channel 1
_
RD,560
+
Channel 2
_
To AWG1
31
Selecting Ch. 2 AWG2 Generator opens the second Generator. Run All, Stop All will
control both Generators.
Generator AWG2 Custom File Five Setps.csv open open. This file was
created in Excel (1 column with 5 rows of values: 1, 2, 3, 4, 5), the file can be saved as
csv file or text file.
Disconnect AWG2.
Increasing vSB
iD
VGS
Figure 2: Effect of bulk (substrate) voltage on the drain current
32
Note: This figure is only an example of the waveforms, your settings may be slightly different!
33
Figure 3: Sample waveform generators and source current vs. substrate-source voltage
34
AWG1(100Hz, 2.5V,-2.5V),
(Scope 1+)
MIC94050
VG
(AWG2,step,
10Hz, -800mV,
1.7V)
R1
560
Analog GND
Vd
(Scope1-, Scope2+)
GND (Scope2-)
Change Vsb (in steps of 500mV) by applying an external voltage to the substrate instead of
connected to GND. Observe, record, describe, and explain the change in IV characteristic of
the transistor due to the change of Vsb.
Can the resistor be connected to +5V instead of GND? If so, re-draw the schematic diagram
of the circuit (no need to set-up the circuit).
35
36
Optional observation: In the AWG window, observe the preview for the two generated signals:
Vg and Vss.
in the oscilloscope Main Time plot, activate M2 to see Vss. Notice the voltage drop at high
currents, as AWG limitation. The triangle signal distortion does not affect the XY
representation, except the high current branches are a bit shorten (upper right end).
Uncheck M2 to return to the clean image.
in the oscilloscope Main Time plot, C1 shows the source voltage, Vs, while M1 shows the
source current, Is.
the XY#1 window shows the Is(Vds) characteristic. Each branch is generated during a single
step in the Vgg signal. The direction of browsing Vss (rising or falling) does not matter in the
XY representation.
o Quiz: what happens if you change the wave shape of AWG2 from triangle to
sinusoid?
the Measurement window shows the transistor dissipated power. This value is computed as
average for the displayed time frame.
You can start a scope ZOOM window to see the time domain and XY view corresponding to
the Zoom1 rectangle in the main time window. Click and drag the Zoom1 rectangle to see
what portion of the time diagram corresponds to each branch in the XY view.
Explore further in amplitude, frequency, offset of AWG1 and AWG2. Change time scale,
offset, range, on C1,C2,M1,M2,M3,M4 as necessary. Report what you have explored and
observed with clear explanation the characteristic of a p-MOSFET.
OPTIONAL:
BS107 N-CHANNEL TRANSISTOR CHARACTERISTICS EXPERIMENT
ON ANALOG DISCOVERY
Revise the above method to obtain an IV characteristic of the n-channel MOSFET
BS107. Describe your work, draw the schematic diagram, build the circuit, take measurements,
and obtain the IV characteristic.
To AWG1
RD,560
To
AWG2
D
BS107A
+
Channel 2
_
+
Channel 1
_
37
To generate the stairs signal of AWG2, start from an Excel file with 1,2,3,4,5 in 5
rows. Save that in .csv or .txt format (source file) and then import in the AWG (set
Channel 2 to Custom, click File and select the source file). When imported, the data
in the source file is scaled both in time and range domain:
o Each value in the source file is replicated as needed, such a way to fulfill the
AWG buffer (in our case, each of the 100 records generated 20 (or 21) samples, to
fill the 2048 samples in the AWG buffer.
o Each value in the source file is scaled to (-100%...+100%) range. The smallest
value results in -100%, the biggest one results in +100% and all other data is
linearly interpolated.
38
After importing the file, the amplitude, frequency and offset can be set to fit the needed
signal specs. Frequency is here understood as the buffer iteration frequency; 10Hz
means that the whole stair sequence takes 100mS (10ms/step).
To generate the triangle signal of AWG1, set the initial Phase to 270 degrees. This way
the project uses each rising and falling ramp for a value of Vbb. Frequency is set to 50Hz,
to result in 10ms for each rising or falling ramp.
To hide the connections between branches of the XY view of the characteristic family,
the XY view of the Oscilloscope is set (by default) to show only points. You can change
to the curve mode by clicking in the Oscilloscope window: Settings Options
Display-XY dots = False.
- To keep absolute synchronism between AWG1 and AWG2, set Auto sync mode
(
), With AWG2 as Master. Also set Run: Infinite (should be set
), for AWG2 channel. Then click the Run All
by default
button (
) to start both waveform outputs. Auto sync mode re-synchronizes
channels at the largest period of the two channels (100ms from AWG2, in this case)
39
40
Equipment
Breadboard
Analog Discovery
Digilent Waveform software
Multimeter
Build the circuit as shown in the schematic diagram in Figure 1 and connect the Analog
Discovery instrument as indicated. Connect Scope2 probes across R1 and Scope1 across
the drain and the source.
Start the Digilent WaveForm software
VG
(AWG2)
GND (Scope 1-, Analog GND)
41
42
Figure 3: FET amplifier and FET small signal model (Ch1 and Ch2 to Digilent GND to
reduce noise)
43
PROCEDURE:
1. Construct the amplifier using an IRFD110 FET and other components indicated in Figure
1 of your design. Select C1 to have a cutoff frequency of 50Hz and C2 cutoff frequency
100Hz. Do not connect a signal generator and the capacitor C1 to the input yet. Measure
ID, VDS, VG, VS and VGS. Connect capacitor C1 and C2 and then apply a 50mV peak, 1
kHz signal to measure the ac voltage gain of the circuit without load. Compare your
measurements with your design values.
2. Devise a method to measure the input impedance of the amplifier at 1 kHz. Fully explain
and document your methods in your lab book. Hint: you can use a decade resistor box (or
potentiometer) and connect it in series to the input of the amplifier before the coupling
capacitor. Monitor the signal amplitude after the decade box when you adjust the decade
box values. Does this measurement agree with your calculation?
3. Place a bypass capacitor, CS = 1 F, in parallel with RS. This bypass capacitance should
have impedance much smaller (< 10%) than 1/gm and the capacitor ac voltage should be
very, very small. Verify this in your record keeping. Calculate the gain of the amplifier at
1 kHz and verify it experimentally. You will need to use the approximate value of gm
which you calculated using the drain current.
4. Remove the bypass capacitor CS added in part 3. Connect a 10 k load resistor as
shown in Figure 4. Measure and calculate VRL.
5. At the last step, you need to adjust the frequency of the input signal from the signal
generator. Recover the circuit to its original design (remove RL). First you need to reduce
the frequency and observe the voltage gain. The gain will reduce after certain frequency.
Find the frequency, fL, when the voltage gain decreases to 70%. Then you need to
increase the frequency and also find the input signal frequency, fH, when voltage gain
decreases to 70%. The amplifier bandwidth is defined as fH-fL. Document the frequencies
in your report.
+5 V
-5 V
Digilent
GND
44
45
46
47
48