Professional Documents
Culture Documents
Lab Manual s07
Lab Manual s07
COMPUTER SCIENCE
DEPARTMENT OF ELECTRICAL AND ELECTRONIC
ENGINEERING
Table of Contents
EEE 102L Analog/Digital Electronics Laboratory Course Outline
EEE 102L Parts Kit Fall 2004
Objectives and Goals of the Laboratory
Laboratory 1 Introductory PSpice Programming Assignment
Laboratory 2 Introduction to LabVIEW
Notes Concerning the Operation of the HP Signal Generators
Laboratory 3 Exploration of Diode Characteristics
Laboratory 4 Diode Circuits
Laboratory 5 MOSFET Transistor Characteristics
Laboratory 6 BJT Transistor Characteristics
Laboratory 7 Common-Emitter Amplifier Design
Laboratory 8 OP Amp Instrumentation Amplifiers and First Order Filters
Appendix
3
5
6
9
10
19
20
24
27
31
35
37
41
Text: Jaeger, R.C., Microelectronic Circuit Design, 2nd Edition, McGraw-Hill, 2004, ISBN 0-07-232099-0
Support Software: Herniter, M.E., Schematic Capture with Cadence PSpice, Prentice-Hall, 2nd Edition, 2003,
ISBN 0-13-048400-8.
Course Goals:
1.
2.
To reinforce learning in the accompanying EEE 102 course through hands-on experience with electronic
circuit analysis, design, construction, and testing.
To provide the student with the capability to use LabVIEW and PSpice software as tools in electronic
circuit analysis and design, and in future courses, design projects, and professional work assignments.
Prerequisites by Topic:
1.
2.
3.
Introduction to Software Tools and Workstation Equipment: Introduction to PSpice Schematic Circuit
Construction and Analysis; Introduction to LabVIEW Virtual Instrument Workstation Operation and A/D
Conversion
Solid State Diodes and Diode Circuits: Diode Characteristics in Forward and Reverse Bias Conditions;
Power Supplies and Wave Shaping Circuits
Field Effect Transistors: FET Characteristics; Operating Regions and Characteristics of NMOS Devices;
MOSFET Biasing Circuits, Analysis, Design, Construction, Testing, and Simulation
Bipolar Junction Transistors: Operating Regions and Characteristics of the BJT; Forward-Active Region
Analysis and Design; BJT Biasing Circuits, Analysis, Design, Construction, Testing, and Simulation
Small-Signal Modeling and Linear Amplification: The BJT Common-Emitter Amplifier Analysis, Design,
Construction, Testing and Simulation
Operational Amplifiers: The Differential Amplifier; Frequency Response; Input/Output Impedance;
Instrumentation Amplifiers; Common Mode Signal Analysis; Active Filters
Course Outline
Week
Topic
Lab #
1
2
none
1
Report Due
3
Introduction to LabVIEW VI Operations
2
_____________________________________________________________________________________________
4
Diode Characteristics 1
3
R (Labs 1 & 2)
5
Diode Characteristics 2
3
6
Diode Circuits 1
4
7
Diode Circuits 2
4
8
Field Effect Transistor Characteristics
5
R (Labs 3 & 4)
9
FET Bias Circuits
5
10
Bipolar Junction Transistor Characteristics 6
11
BJT Bias Circuits
6
-------------------------------------------------------------------------------------------------------------------------------------------12
C-E Amplifier Design and Simulation
7
R (Labs 5 & 6)
13
C-E Amplifier Construction & Testing
7
14
Op-Amp Instrumentation Amplifier
8
15
Op-Amp Bandpass Filter
8
Exam Week
R (Labs 7 & 8)
--------------------------------------------------------------------------------------------------------------------------------------------
Evaluation
Laboratory Reports: Eight formal laboratory reports are required. Note that they are due two at a time according
to the schedule above. The first six count 10 points each; the last two count 20 points each for a total of 100 points.
Reports will be graded based upon written quality, format, content, and correct data analysis. Late reports will
have 1 point deducted for the first week that they are late, and will NOT be accepted for credit after that week.
Plagiarized reports will NOT be accepted.
Laboratory exercises include practical electronic circuit design and analysis problems with realistic source
and load constraints. Actual circuit construction and testing are emphasized equally with simulation
LabVIEW and PSpice analysis and design applications introduce students to major professional
engineering software tools.
#4 Knowledge of Engineering core: This course adds electronic circuit analysis and design applications to
fundamental concepts of circuit analysis, and computer programming.
#7 Use of contemporary tools for analysis and design: This course applies computer methods using PSpice
and LabVIEW software tools to electronic circuit analysis and design.
Capacitors
Qty.
1
1
1.
2.
2
2
Qty.
3.
2
1
1
2
2
1
1
1
2
1
1
2
1
4
1
1
2
1
1
6
1
6
2
2
2
1
1
4
1
4
2
2
2
1
1
2
2
2
Value
10
15
22
33
51
100
150
220
330
510
680
820
1K
1.2
1.5
2.2
3.3
5.1
6.8
8.2
10
12
15
20
30
51
68
82
100
120
150
200
300
510
680
820
1.0
5.1
10
2
1
1
1
1
Value Description
22 pF Ceramic Disc, 500 V
220 pF Ceramic Disc, 500 V
2200 pF Ceramic Disc, 500 V
0.01 F Ceramic Disc, 100
0.1 F Ceramic Disc, 50 V
1 F Metallized Poly Film, 250 V
(Digikey P10979-ND)
10 F Metallized Poly Film, 100 V
(Digikey EF1106-ND)
47 F Radial Electrolytic, 25 V
100 F Radial Electrolytic, 25 V
220 F Radial Electrolytic, 25 V
1000 F Radial Electrolytic, 16 V
Diodes/Rectifiers
Qty.
1
1
3
1
Description
1N4001 Si Rectifier
W005G Bridge Rectifier
1N914 Si Switching Diode
1N4734A 5.6V, 1W Zener Diode
Transistors
Qty.
1
1
Description
2N2222A NPN Transistor (TO-9)
IRF630A NMOS FET Power Transistor
Integrated Circuits
Qty.
1
2
1
Description
Burr-Brown INA118P Instrumentation
Amplifier
LM741N Operational Amplifier
CD4007 CMOS Dual Complementary
Pair/Inverter
Miscellaneous
Qty.
5'
5'
2
Description
22AWG Hook-up Wire, Blue
22AWG Hook-up Wire, Yellow
9V Battery Clip
Note: A Standard pin-socket protoboard is required, but not included in the kit. A small
one costing $5-$7 is sufficient and available at Radio Shack, Newark or Frys Electronics
d. Conclusions -- did your results agree with or differ from what you might have
expected from lecture and/or your readings? Comment, as part of your conclusions,
about the value of the laboratory exercise with respect to its improvement of your
understanding of the subject material.
e. Appendix -- include relevant analytical calculations and any miscellaneous additions.
4. Laboratory reports must be hard copy format and will be due one week following the end of
the scheduled laboratory exercise (see the schedule of laboratories in the EEE 102L Course
Outline), or as determined by your instructor. They will be graded based upon completeness and
the quality of both the analysis and documentation. Reports will have one point deducted for
the first week that they are late. Reports more than one week late will NOT be accepted.
Plagiarized reports will NOT be accepted.
5. Almost all necessary equipment will be found at the computer workstations in the laboratory.
Any other equipment of a general nature that you may desire (DVMs, Capacitance Checkers,
Transformers, etc.), if not provided already at the lab station, may be requested from the
instructor (only during scheduled laboratory periods). A selection of electronic parts that you
will need is available as an EEE 102L Parts Kit, and may be obtained from your Laboratory
Instructor. Obtain a Parts Kit Purchase Form from the EEE 102L Web page. You must pay for
the parts kit and get a receipt at the Cashiers Window in Lassen Hall. Give your receipt to the
lab instructor in exchange for a parts kit. Resistors, potentiometers, capacitors, diodes,
transistors, op-amps, ICs, hook-up wire, and 9V battery clips are included. You are also free to
purchase what you need from suppliers such as Radio Shack, Fry or Newark Electronics in town,
or to use any applicable electronics parts that you may already own.
6. Starting in week 3, you will be required to have the Parts Kit for circuit construction.
You may share the cost of one kit with your lab partner(s). You and your lab partner(s) should
also purchase a suitable (two strips of terminals are sufficient) protoboard if you don't already
own one (estimated cost is $5 - $7 at the electronics suppliers mentioned above), and two 9V
alkaline batteries to use as a power supply in the last lab exercise. You will find that having your
own protoboard will be helpful in many other laboratories in the CpE program, and will be well
worth the expense.
7. As a registered EEE 102L student, you will be issued the undergraduate student lock code to
RVR-5017. You have the responsibility to keep that code to yourself and to use the laboratory
only for the purposes of the course. You have priority use of workstations in the VI Laboratory
during the scheduled hours for the laboratory portion of the course. In general however, the lab
is not crowded and you should have good access to the equipment at other times.
Open Laboratory Rules for RVR-5017
1. Your open access to this laboratory is being granted under the assumption that you will
conduct your activities there as a professional engineer and according to the following rules.
2. You should not admit anyone except yourself to the laboratory. It is for your use for the
purposes of the course you are taking and for no other purpose.
3. No eating or drinking in RVR-5017. Computers are very sensitive to spills!
4. The Macintosh workstations are primarily for support of LabVIEW and PSpice
programming/applications. They also have Microsoft Office available for laboratory document
preparation. Surfing the Net, E-mail and Instant Messaging, and other workstation needs should
be met using your own personal computer or those in open laboratories on the campus. To be
courteous to other students who will follow you, please leave the desktop of the workstation with
all icons in the default condition when you are finished with your work. Please empty your
trash!
5. Report any equipment malfunctions to your instructor as soon as it is practical to do so.
6. No equipment, manuals, etc. may be removed from the laboratory without approval of the
instructor. Peripheral equipment (PARTICULARLY TEST CABLES AND CONNECTORS)
associated with each workstation MUST remain with that station.
7. Times for use of RVR-5017 are posted on the door of the laboratory. Instructor help will be
available in the lab only during scheduled hours for the course.
8. Violation of the lab rules may result in our having to close the laboratory and restrict your use
of it only to scheduled laboratory hours. Please act professionally and responsibly!
10
11
There are four Virtual Instruments (VIs) available for this lab exercise in a folder labeled
EEE102L Lab_2 on the computer at your workstation.
[Path hard
drive/Applications(OS9)/LabVIEW 6/User/Virtual Instruments S06]. Double click your mouse
on the LabVIEW icon under the Apple menu. The LabVIEW startup screen will have an
option to Open VI. Click on it and a window will open that will allow you to conveniently
navigate to the desired folder of lab exercises.
Within the Lab_2 folder, the A/DresCheck2.vi will allow you to observe the amplitude
resolution characteristics of the 6024E A/D converter board in each workstation. The Alias3.vi
will allow you to examine the effects of different digital sampling rates on the recorded analog
signal. The GDAnal2.vi will allow you to measure the "rise time" and "slew rate" of simulated
logic gate signals. And finally, the WaveAnal3.vi will allow you to see the amplitude frequency
spectrum (Fourier Series Analysis) of a signal, and to examine the effect of lowpass filtering on
that signal. Before you use a VI, examine both its front panel and its wiring diagram. Look at
the description of each VI contained under File/VI Propertie/Documentation (accessed from the
LabVIEW menu bar). A printout of the front panel and descriptions of each VI that will be used
in this course will be found in the appendix at the end of this lab manual. Ask the instructor for
help if you have any questions about the use of a VI.
12
13
1. Connect the HP signal generator to the channel 0 input of the VI system and adjust its settings
to produce a 100 Hz sine wave with 10 V p-p amplitude and zero DC offset. Open the Alias3.vi,
which is inside the EEE102L Lab_2 folder. Look at the Documentation (File/VI
Properties/Documentation) under the menu bar to get a full description of this VI. If you click
the RUN button on the Alias3.vi front panel, the instrument will record the generator signal as
waveform 1 at a sampling rate of 1000 samples/second (Hz), and as waveform 2 at the sampling
rate of 125/s. Note that the waveform 2 sampling rate is set using the rotary switch on the front
panel of the VI. Click on the red and blue chart measurement cursors and drag (manually adjust)
them to measure the period of waveform 2. Take a "picture" of the front panel to document your
results. (See the appendix for information about taking "pictures" on the Macs.)
2. Use the mouse and the VI hand tool to rotate the switch on the front panel of the VI so that
waveform 2 is now recorded by sampling the generator signal at 150 samples/second. Repeat the
recording of the signals and, again, measure the waveform period and take a "picture" of the
front panel to document your results.
3. Repeat 2 above for sampling rates of 175/s, 200/s, 225/s and 250/s
4. Using the waveform 2 period measurements, calculate the recorded (apparent) frequency of
waveform 2 at each sampling rate. It might help if you first calculate the expected alias
frequency using the formula given in lecture. Describe the differences between the six recorded
waveforms produced by the six different sampling rates. Consider both the waveform shape and
the apparent frequency. Which ones are aliased?
5. What can you conclude from your data about the relationship between digital sampling rate
and faithful reproduction of the signal frequency?
6. Close Alias3.vi.
PART III RISE TIME AND GATE DELAY TIME MEASUREMENTS -- Time Domain
14
Since digital gates dont respond instantaneously to changes in their input signals, it is
often desirable to measure the rise time of an electronic gate, its slew rate and its "delay
time". In this part of the laboratory you will be recording the response of an RC circuit
(simulating a logic gate connection) to a square wave signal, and measuring its rise time, slew
rate and delay time.
1. Set the signal generator to produce a 5 Hz square wave with 5 V p-p amplitude and 2.5 V DC
offset. Use a 1.0 F capacitor and 10 resistor from your Parts Kit to construct a series RC
circuit. (See the circuit diagram below for reference.) Connect the output of the signal generator
to channel 0 of the VI system and across the RC circuit. Connect channel 1 of the VI system
across the capacitor in the circuit. Open GDAnal2.vi. Make sure to review the Documentation of
this VI, since it contains some important information regarding signal recording.
R
+
V0
HP
(channel 0)
-
+
C
V1
(channel 1)
-
2. Now click the RUN button on the VI to record the two signals. Repeat the procedure, if
necessary, until you are satisfied with your measurement results. Then take a picture of the front
panel of the instrument to document this result for your lab report.
3. This VI will automatically measure the "rise time", "slew rate" and "delay time" of the
simulated gate input signal. Note that rise time of the signal is defined as the time it takes the
signal to go from 10% to 90% of its peak-to-peak amplitude. The slew rate is the voltage rise
divided by the rise time. The gate delay time is the time differential between the 50% amplitude
points on the input and output waveforms. These are common measures of gate dynamic
response in digital circuits. Note that, in this virtual instrument, the cursors are automatically
placed at the appropriate points on the waveform in order to make the desired measurements a
great convenience, wouldnt you agree?
4. Calculate the expected rise time, slew rate and delay time for the capacitor voltage in this RC
circuit, and compare those calculations with the three automatic measurements made by the VI in
part 3 above.
5. Close GDAnal2.vi
PART IV -- FOURIER SERIES AMPLITUDE SPECTRUM OF A SQUARE WAVE -Frequency Domain
1. Open WavAnal3.vi and review its panel, wiring diagram and documentation.
2. Use the WavAnal3.vi to record a 2V p-p, 100 Hz. square wave with zero DC offset from the
signal generator. Note that the upper waveform graph is the time domain signal with the time
15
axis displayed in seconds. The lower waveform graph is the frequency domain signal (Fourier
Amplitude Spectrum) with the frequency axis displayed in Hertz. Take a picture of your front
panel results as documentation for your report.
3. Manually adjust the position of the red chart cursor (click on and drag it using the mouse) to
measure the peak height at each harmonic frequency in the amplitude spectrum display. Record
the values of peak height and frequency. Are the fundamental and harmonic frequencies of the
square wave consistent with the values predicted from a Fourier series expansion (see attached
handout) for the square wave? Are the measured peak heights of the fundamental frequency and
the next four harmonics in the square wave consistent with the values predicted from the Fourier
series expansion? (Note: relative peak height, as calculated in the handout, sets the height of the
fundamental frequency peak at 1.00 and measures the other peak heights relative to that one.)
Justify your answer.
4. Pressing the Lowpass Filter button, and adjusting the slider switch on the VI front panel, will
allow you to record the input square wave signal after it is sharply low-pass filtered with
adjustable cutoff frequencies from 0 - 1000 Hz. Notice the effects of filtering on the time
domain waveform and the loss of particular harmonic components in the Amplitude Spectrum at
each filter cutoff frequency setting. Take pictures of your front panel results as documentation
for your report. Describe the effects of the filtering in both the time and frequency domains.
Fourier Series Representation for a Square Wave of Period T and Amplitude 1
V
-1
16
According to the theory of Fourier Series, any periodic function of time can be represented as an
infinite series of sine and cosine terms that have arguments that are integral multiples of the
"fundamental frequency" of the periodic function. The fundamental frequency (fo) is defined as:
fo = 1/T where (T) is the period of the function. If we define the fundamental radian frequency
of the periodic function as: o = 2f, the Fourier Series may be written as follows:
where
T
ao = 2
T
V(t)dt ; an = 2
T
V(t)cos (not)dt ; bn = 2
T
V(t)sin (n ot)dt
0
ao = 2
T
V(t)dt = 2
T
1dt + 2
T
-1dt
T
2
T
ao = 2 [t]20 + 2 [-t]T = 1 - 2 + 1 = 0
T
T 2
T
2
an = 2
T
V(t)cos (nt)dt = 2
T
an = 2 T sin n2 t
T n2
T
T
2
0
cos (n 2 t)dt - 2
T
T
cos (n 2 t)dt
T
T
2
- 2 T sin n2 t
T n2
T
T
T
2
=0
bn = 2
T
V(t)sin (n t)dt = 2
T
bn = 2 T -cos n2 t
T n2
T
sin (n 2 t)dt - 2
T
T
T
2
0
T
2
sin (n 2 t)dt
T
+ 2 T cos n2 t
T n2
T
T
T
2
17
V(t) =
n = 1, 3, 5, ...
4 sin (2 nfot)
n
V(t) = 4 sin (2 fot) + 1 sin (6 fot) + 1 sin (10 fot) + 1 sin (14 fot) + 1 sin (18 fot) + ...
3
5
7
9
The relative amplitudes of the harmonic (multiples of fo) frequency components [V(t)/(4/)] are:
Frequency
fo
3fo
5fo
7fo
9fo
Amplitude
1.00
0.33
0.20
0.14
0.11
18
19
.1V
.2V
.3V
.4V
.44V
.46V
.48V
.50V
.52V
.54V
VD
ID
.56V
.58V
.60V
.62V
.64V
.70V
.75V
.80V
.85V
.9V
4. Open Diode Graph.vi. and examine its panel, diagram and documentation. Plot the data
in part 3 above for the forward-bias VD vs. ID characteristic of your default diode on the
semi-log graph of this VI. From your graph, use the chart measurement cursors to
estimate the change in VD (VD) per decade change (x10 change) in ID at VD = 0.7 V.
(Hint: Use the editing tool [arrow] to change the low and high limits on your graph
axes in order to magnify the measurement region of the graph for better measurement
precision.) Compare your value with the prediction of example 3.4 in your EEE 102
class text.
20
5. Close Diode Graph.vi and return to Diode Current Analyzer.vi. Note the diode current at
VD = 0.6 V and room temperature. Increase the operating temperature (T) by 25 C.
Adjust the value of VD by trial-and-error until you achieve the same (to 3 significant
figures) diode current. Note this value of VD. Now decrease the operating temperature
by 25 C from room temperature and again determine the VD required to produce this
same diode current. Calculate VD/T using the data from the two temperature
extremes above. Now calculate dVD/dT for this diode at VD = 0.6 V from equation 3.15
in your text. How do these two calculations compare?
6. Notice that diode current at VD = 0.9V is quite high. Suppose the non-ideality factor n =
1.1 under that condition. What ID does the model predict? What does your text say
about the value of n at high current? What can you conclude about the accuracy of the
diode model predictions at high current if n is not precisely known?
7. Now use this VI model to "design" a diode which, when operating at 30 C, will have an
ID = 15 mA at a VD = 0.6 V. This means determining the reference specification of
saturation current (Isref) for this diode design at room temperature (Tref). (Hint: Use a
trial-and-error method with the VI model here.)
8. Close the Diode Current Analyzer.vi and open the Diode Junction Analyzer.vi. Examine
its front panel, wiring diagram, and documentation. Note that the following symbols are
used for the junction equation quantities:
A is the crossectional area of the diode junction; NA is electron acceptor concentration;
ND is electron donor concentration; T is absolute temperature; VR is reverse bias voltage
across the junction, VT is the thermal voltage at temperature T; Emax is the maximum
electric field intensity across the junction; j is the junction barrier voltage; wd is the
width of the space charge or depletion zone, and Cj is the junction capacitance.
9. The default parameters represent the characteristics of a moderately doped signal diode
under conditions of zero volts of reverse bias voltage (VR). Apply increasing amounts of
reverse bias voltage (increase VR) until you just achieve dielectric (avalanche)
breakdown in this diode. (Hint: Remember that the electric field strength Emax at
which silicon breaks down is 300,000 V/cm.) What value of VR is barely sufficient to
cause breakdown? What happens to the width of the depletion zone as reverse bias
voltage is increased? What happens to the breakdown voltage if the temperature (T) is
increased to 25 C?
10. Use the model to design a Zener diode. At an operating temperature of 25 C, it should
have a reverse bias voltage of 4.7 V at breakdown. Do this by trial-and-error variation of
the diode design parameters, A, NA, and ND. (Check the relevant equations in your text
and in the VI's documentation!) Recall that Zener diodes are characterized by high
doping levels; however do not exceed a maximum doping level of 1E20/cm3. In addition,
design your diode to have a junction capacitance of 12.0 pF at this temperature and
breakdown voltage. Report your final design values for the three diode parameters.
21
22
the DC voltage source shown in that circuit with your HP generator. Adjust generator
voltage (V1) to 18 V p-p at 10 Hz and then use the VI to measure Vz. (Note: To
achieve 18 V p-p output, you must remove the feed thru adapter from the output of
the generator and adjust Amplitude to 9 V p-p on the digital display. With no feed
thru adapter connected, the actual output voltage of the HP generator is twice the
value of its digital readout.) When you are satisfied with your measurement stability of
Vz, press the stop button on the VI front panel and take a picture of the panel window to
document your result. Explain the characteristics of the waveform you observe on the
Voltage Stability/Waveform Monitor in terms of the voltage vs. current characteristic of
the Zener diode.
Note that you have two weeks to do this laboratory exercise and prepare the formal report.
Check the (R) date on your course outline.
23
24
5. The transformer that your lab instructor will provide you with for this laboratory exercise
has a nominal secondary output voltage Vs = 16 V (rms). Plugged into our power lines in
the lab, the output voltage is around 17.8 V(rms). You cant measure this with our VI
systems because the voltage amplitude is larger than the full-scale range of our A/D
converter boards ( 10 V). Check and confirm the output voltage (rms) of your
transformer using the hand-held or bench-top voltmeters, which will be available in the
lab. Use the ac measurement setting for rms voltage readings. Go back and change this
value in your Rectifier Supply.vi if necessary.
In order to keep your measurements inside the VI full-scale range, make a voltage divider
out of your calculated load resistor. See below:
Rs
Vp - 2Von
C
10 mA
Vo
RL
Let Rs be 1.5 k. Calculate the required RL so that the sum of the two resistors is equal
to the value specified in your design VI.
Also, after your circuit is constructed and working, it will be a good idea to use your VI
voltmeter to measure the Von of one of the diodes in your bridge rectifier chip. If it isnt
the value indicated for default in the design VI, consider that fact in your theoretical
calculation of what you should expect for output voltage here
6. Using Figure 3.67 in your text as a guide, wire your circuit on your protoboard using the
step-down transformer provided. When you are satisfied with your wiring job, open
Filtered DC/AC Voltmeter.vi and proceed to make the following measurements. Note:
You must connect the white ground wire from the green connector block to an
appropriate location on your circuit to provide a reference ground for your
measurements. Unlike the HP signal generator, the transformer secondary is
entirely isolated from ground, so you have no earth ground reference in this circuit
unless you connect the white wire.
7. Connect the channel 0 input lead wires of your VI to measure the output voltage (Vo)
across the RL resistor in your circuit.
8. Now switch your VI to AC (p-p) and measure the output voltage waveform. When you
are satisfied with your signal, press the Stop button on the VI front panel to freeze your
measurement. Use the VIs chart cursors to measure Vdc, Vr, and dT on the Voltage
25
26
Increase Kn by a factor of 10
Increase W/L by a factor of 10
Increase by a factor of 10
Increase VT0 to 4 volts
Decrease VT0 to 2 volts
Increase VGS to 6 volts
Decrease VGS to 0.5 volts
Increase VSB to 5 volts
4. Pre-lab Work -- Refer to the data sheet for the Motorola MC14007UB IC. (Use Adobe
Acrobat Reader under the Apple menu. Clicking on File/Open should take you to the Data
27
Sheets folder on your workstation.) Figure 3 (attached at the end of this lab for easy
reference) in the data sheet for the MC14007UB gives typical IDS vs. VDS characteristics
for the transistors on the chip. Notice that these characteristics vary with temperature over
the rated operating range of the chip. Use the characteristic for VGS = 5 V and TA = 25 C.
Estimate the values of Kn = Kn(W/L) and VT0 = VTN for VSB = 0, for the NMOS devices
on the chip. Consider using the pinchoff point where VDS = (VGS-VTN) and the saturation
region where IDS = (Kn/2)(VGS-VTN)2 to calculate the two parameter values. Notice that
is very small for these devices and may be approximated as = 0 for our estimation
purposes.
5. Open NMOSFETAnalMeas4.vi; examine its front panel, wiring diagram and documentation.
Notice that this VI allows you to use a test circuit to directly measure the Kn, VT0, and
parameters of your chosen transistor. Pick one of the NMOS devices on the IC and use the
diagram on the lower portion of the front panel of the VI to design a test circuit (as shown on
the VI front panel) for that chosen device on your protoboard. You will use the bench power
supplies and the HP generator for the necessary voltage sources. Leave all gate pins on the
unused devices of the IC in an open circuit condition. (Do NOT connect pin 14 to your VDD
source or pin 7 to your VSS source, as indicated in the Schematic Figure. Such a connection
is NOT appropriate for single transistor operation here, and will adversely affect your circuit
operation.) Make sure (if necessary for your transistor choice) to wire a "jumper" between
the Base and the Source of the transistor to set VSB = 0 V. Follow the documentation for
this VI, which is conveniently listed with the front panel figure in the appendix of this lab
manual, to measure Kn, VT0 and for your transistor. Take a picture of your front panel as
documentation for your report once you are satisfied with your measurements. Note that this
VI uses three simultaneous input channels to obtain necessary circuit voltages. It also uses a
white wire to identify system ground for the differential voltage measurements. How do
your measured values for Kn, VT0 and compare with the ones calculated in part 4 above?
Which set of values will you choose to rely upon for Part II? Why?
Part II Single Supply DC Biasing Circuit Design and Prototype Construction
1. Open NMOSFETBias3.vi; examine its front panel, wiring diagram and documentation. This
VI uses the example 4-R bias circuit design done in class as a guide. Assume W/L=10 for
your transistor and your best estimates for VT0, Kn and from Part I above. Determine
values of R1, R2, RD, and RS for a four-resistor biasing network for the selected NMOS
device on your MC14007UB IC. Design for a Q point (VDS, IDS) of (3.5 V, 5 mA) in the
saturation region of the device. (Adjust the "Gate Margin" parameter to give you 5% resistor
values close to those available in your parts kit.) Make sure your Q point will be in the
saturation region of the device [VDS > (VGS-VTN) > 0]. Use 12 V as your VDD supply
voltage.
2. Now open NMOSFET_LL2.vi and examine its front panel, wiring diagram and
documentation. Notice that this VI will plot the characteristic of your device as well as the
load line equation for your biasing circuit. It will also determine the Q point (Q-VDS, QIDS) for your device. Enter YOUR device and circuit design data (not the default values).
(N.B. that Kn' is entered in A/V2 in this VI.) Note that you will have to choose available 5%
28
tolerance resistor values for your simulation here; however, you may choose to make modest
"trial-and-error" adjustments to your resistor choices in order to achieve a better match to
your design Q point. When you are satisfied with your result, take a picture of the front
panel of this VI for documentation.
3. On your protoboard, mount the MC14007UB IC and wire the selected NMOS transistor
according to your dc biasing circuit design. Use a 12V power supply for VDD and selected
resistors from your parts kit. When you are satisfied with your circuit wiring, open Filtered
DC/AC Voltmeter.vi. Using DC measurement mode, measure the voltage across drain and
source (VDS), and measure the voltage across RS. Use the later to calculate IDS. How does
your measured Q point compare with your design target? If it isn't close, can you offer an
explanation as to why?
Part III PSpice CMOS Inverter Circuit Simulation.
1. The CMOS transistors on the MC14007UB are typically used to construct digital inverter
circuits. Follow the directions for section 4.D.3 in the Herniter text and perform Exercise 4-7
to create the voltage transfer characteristic (VTC) for a CMOS inverter. Use generic
NMOS/PMOS enhancement mode transistors in your Parts list. Simulate the circuit and
display the voltage transfer characteristic (VTC) in the Probe window. Take a picture of the
probe window results as documentation for your report.
29
30
31
6. A set of default input parameters is present at startup. This parameter set is constructed
based upon data used for NPN BJT device problems in Chapter 4 of your text. Explore
how these parameters affect the IC vs. VCE characteristic of the NPN transistor using the
following protocol. In each case, start with the default parameter set and change only the
parameter indicated by the protocol. Describe any significant changes to the
characteristic. It is not necessary to take pictures of the front panel results for each case.
Your description of the changes you observe will be sufficient for your report.
Increase IS by a factor of 10
Decrease IS by a factor of 10
Increase BF to 200
Decrease BF to 20
Increase BR to 5
Decrease BR to 0.1
Increase IB by a factor of 10
Decrease IB by a factor of 10
Increase T by 30 C
Decrease T by 30 C
7. Refer to your data sheet on the Motorola 2N2222A NPN BJT transistor. Figure 3
(attached at the end of this lab for easy reference) in the data sheet gives typical hFE vs.
iC characteristics for the transistor. As usual, some different notation is used in the data
sheet for the transistor parameters. Here hFE = F in our textbook notation. Notice that
these characteristics vary with temperature over the rated range of the collector current.
Use the characteristic for T = 25 C in your design work. Estimate the value of F for
this transistor for a bias operating Q-point (VCE, IC) = (3.5V, 5 mA). Because we
usually buy cheap grades of these transistors for the parts kits, you may find F to be as
low as 50% of the nominal value found in figure 3. Since it is not very significant in
forward active region operation of the transistor, you may assume R = 1. Use
NPNBFISAnalMeas.vi to measure the F and IS values for your transistor under the
specified bias conditions. (Be sure to read the Documentation window before you begin.)
Use the previous two VIs, with these measured BF and IS values, to plot the expected IB
vs. VBE and IC vs. VCE characteristics for this transistor. What value would you
estimate to be appropriate to use for VBE in your bias circuit design?
Part II Single Supply DC Biasing Circuit Design and Prototype Construction
1. Use problem 5.87 and Figure 5.39 in your Jaeger text as a design guide. (Note that
problem 5.87 was done as an example for you in class.) Open NPNBias.vi and read its
documentation window. Use it to determine values of R1, R2, RC, and RE for a fourresistor biasing network for the 2N2222A. Design for a Q point (VCE, IC) of (3.5 V, 5
mA) in the forward active region of the device. Use 12 V for VCC. Leave C-E Vdrops = 2,
but adjust the Base Margin to yield acceptable resistor values. You will have to choose
the nearest 5% resistor values in your parts kit for your actual circuit design. Choose
these now, and use their values in the following circuit verification VIs.
32
2. Open NPNBE_LL.vi and examine its front panel, wiring diagram, and documentation.
Notice that this VI will plot the IB vs. VBE characteristic of your device as well as the
base-emitter sub-circuit load line equation for your biasing circuit. It will also determine
the Q point (Q-VBE, Q-IB) for your device. Enter your device and circuit design
parameters and RUN the VI to examine your Q point. Is it what you expected for FAR
operation of the transistor? Note the Q point value of IB because you will need it for
input in the next design verification VI. Close NPNBE_LL.vi and open NPNCE_LL.vi.
Again, examine front panel, wiring diagram and Documentation. This VI will plot the IC
vs. VCE characteristic of your device, as well as the collector-emitter sub-circuit load
line equation for your biasing circuit. Together, they determine the Q point (Q-VCE, QIC) for your device. Enter your device and circuit design parameters and RUN the VI to
verify your Q point design. You may choose to make slight adjustments to your resistor
values (5% values) to achieve a better match to your design Q point. Take pictures of the
front panels of these two design verification VIs to document your final result.
3. On your protoboard, mount the 2N2222A transistor from your parts kit and wire it
according to your dc biasing circuit design. Use a 12 V power supply as your protoboard
VCC supply voltage.
4. When you are satisfied with your circuit wiring, open Filtered DC/AC Voltmeter.vi.
Using DC measurement mode, measure the voltage across collector and emitter (VCE),
and measure the voltage across RC. Use the later to calculate IC. How does your
measured Q point compare with your design target? If its not too close, measure VBE.
Is it what you expected for your design?
Part III PSpice Single Supply DC Biasing Circuit Simulation.
1. Open PSpice Capture and construct the schematic of your 2N2222A transistor biasing
circuit. Simulate the circuit and display VBE, VCE, and IC to confirm the Q point. Take
a picture of the schematic with the I and V data displayed as documentation of your
results.
Note that a formal laboratory report on this lab should be included with the one for Lab 5.
E
B
33
2N2222A NPN Bipolar Junction Transistor Forward (ce) Current Gain as a function of
Collector Current
34
35
R=30 K
R=15
vss =10sin(2ft) V
-
+
vs =0.005sin(2ft) V
-
36
GEN
V DIV
INA
118
741
VO
741
2. Consider the Low-Pass Filter description in section 11.3.7 in the Jaeger text, along with
design information presented in class, and determine appropriate external components for
use with a LM741 op amp to construct a high-pass first order filter with a -3db cutoff
frequency of 10 Hz and a voltage gain of 1 in the "high-pass" frequency region.
3. Similarly, determine appropriate external components for use with a second LM741 op
amp to construct a low-pass first order filter with a -3dB cutoff frequency of 1000 Hz and
a voltage gain of 1 in the 'low-pass" frequency region. Remember that these circuits will
be using components from your parts kit, so choose available R and C values for your
designs that will achieve the desired specifications.
4. Open LabVIEW on your workstation and navigate to Amp/Filter.vi in the EEE102L
Lab_8 folder. Open this VI, read its documentation, and enter the data required for this
37
VI to verify your design values at a frequency of 100 Hz. RUN the VI and compare both
peak output voltage and gain to your predicted design values. Repeat this for frequencies
of 10 Hz and 1000 Hz. If your design checks out ok, take pictures of the front panel for
each of the 3 frequencies as documentation for your report and proceed to Part II below.
If it doesn't check out, go back and re-analyze your design.
Part II Instrumentation Amplifier/Bandpass Filter Prototype Construction and Testing
1. At one end of your protoboard, mount the INA118 and wire it according to your design.
Make sure both battery power supplies are connected as required. Using a signal
generator set to deliver a 20 V p-p sinusoidal output signal at a frequency of 100 Hz,
construct the resistive voltage divider circuit shown in Figure 1 below. It should deliver a
Thevenin equivalent sinusoidal voltage (vs) of approximately 5 mV peak amplitude
through an equivalent source resistance (RS) of 15 to the differential input pins of the
INA118. Note that this circuit is slightly different from the one used in the previous
laboratory in that the voltage (vs) is not referenced directly to "ground". Make sure you
have a common reference ground in your circuit. The ground side of the HP generator,
pin 5 (ref) of the INA118, and the ground terminal of your battery supplies, must all be
connected together (common ground).
2. When you are satisfied with your wiring, connect the instrumentation amplifier inputs
across the 15 resistor of the voltage divider. Open Filtered DC/AC Voltmeter.vi.
Using AC measurement mode, RUN the VI and measure the voltage at the output pin of
the IC. Calculate the ac voltage gain (AV). How does it compare with your design value?
Take a picture of the front panel of this VI to document your results.
3. Because this instrumentation amplifier has such a high differential input impedance, it is
almost impossible to measure it using general-purpose test instruments such as we have
in the laboratory. In order to get an impression for how large this input impedance really
is, insert a 51 K resistor from your parts kit in series with the + input of the
instrumentation amplifier. Again, measure the voltage at the output pin of the IC. Does
the 51 K resistor make any difference? Consider the high input impedance of the
INA118 circuit design and explain why.
4. Remove the 51 k resistor and reconnect the + input of the instrumentation amplifier
directly to the voltage divider. Now place a 2.2 K resistor between the output pin of the
IC and ground (output load resistor). Measure the voltage across the resistor and
compare it to the "open circuit" output voltage. Is there a difference? Try this again with
a 1 K resistor. If there is still no difference, try a 510 resistor. What do these
measurements indicate about the output current limit for your IC? What is the minimum
load impedance you should design for if you expect to achieve the desired 10 V peak-topeak output voltage swing?
5. Remove the load resistor. Disconnect the signal generator from the voltage divider and
connect BOTH the + and - inputs of the instrumentation amplifier directly to the + output
terminal of the signal generator to produce a common mode input signal. Set the
38
generator to produce a 5 V p-p sine wave. Again, measure the voltage at the output pin
of the IC. (Note you may have to edit the voltage scale after recording in order to
magnify the signal and measure the small common mode output voltage. Ignore any
"spike" noise that may be present and measure (estimate) the p-p amplitude of the 100 Hz
sinusoidal signal.) Determine the common mode gain for your amplifier. Calculate the
common mode rejection ratio in decibels (CMRR in dB). When you are finished, return
your input connections to the voltage divider as before, and reset your signal generator
amplitude to 20 V p-p.
6. Next to the INA118 on your protoboard, mount one LM741 op amp and wire it according
to your high-pass filter design. Connect the filter input to the instrumentation amplifier
output, and use the Filtered DC/AC Voltmeter.vi to measure the filter output voltage.
How does it compare to the instrumentation amplifier output voltage measured in part 2
above? Now change the signal generator frequency to 10 Hz and measure the filter
output voltage again. Is the amplitude of the output voltage reduced by -3dB (a factor of
.707) at this frequency as predicted by your design? Explain.
7. Right next to the high-pass filter mount another LM741 op amp and wire it according to
your low-pass filter design. Measure the output voltage of the low-pass filter at 100 Hz.
Is it what you expected? Change the signal generator to a frequency of 1000 Hz and
measure the low-pass filter output voltage. Is the amplitude reduced by -3dB at this
frequency as predicted by your design? Explain. Measure the output voltage of your
low-pass filter at 100 Hz. Nominally, it should be 5 V peak. Is it greater or less than you
expected? What instrumentation amplifier and/or filter circuit modifications could you
make to achieve an output voltage closer to this design expectation? For report
documentation, take pictures of the front panel of your VI that show your completed
circuit output at frequencies of 10 Hz, 100 Hz, and 1000 Hz.
Part III PSpice Filter Simulation
1. Open PSpice Capture and construct the bandpass filter section (only) of your circuit using
LM741 op-amps from the parts library. Use a VSIN sine wave voltage source (at 100 Hz
and 5 mV peak amplitude) from the Parts library as input to your filter. Set up a
simulation to examine the circuit using an AC frequency sweep from 5 Hz to 5 kHz. Use
Probe to display the final output voltage vo amplitude as a function of frequency for the
frequency sweep from 5Hz to 5 kHz. Prepare pictures of your Schematic and Probe
windows to include in your lab report as documentation of your results.
39
R=15 K
R=15
vss =10sin(2ft) V
-
+
vs =0.005sin(2ft) V
-
R=15 K
40
APPENDIX
1. TAKING PICTURES OF THE ACTIVE WINDOW ON
MACINTOSH WORKSTATIONS
2. EEE 102 L VIRTUAL INSTRUMENT DOCUMENTATION
3. NATIONAL INSTRUMENTS 6024E DAQ BOARD I/O PIN
CONNECTIONS
41
7.
Please remember to drag all picture files into the trash and Empty the trash (find the
Empty Trash command under the Special menu) before you finish your session on the
workstation.
A/DResCheck2.vi
This is a high precision DC/AC voltmeter that incorporates a forth-order Butterworth antialiasing filter to provide high noise immunity and high measurement precision in DC mode.
Click the RUN (arrow) button to start measuring continuously. Monitor voltage stability using
the monitor graph. Click the STOP button on the VI front panel to stop (red) and hold the data
on the graph for the current sampling period. Click the STOP button again (white) to reset the
VI for the next continuous RUN. (Note: You may take single voltage samples (one sampling
42
period) by clicking RUN with the STOP button depressed (red).) Click and drag the red and blue
cursors on the waveform graph to measure time (X) in seconds and amplitude (Y) in volts.
There are two AC modes of recording: RMS reading and Peak-to-Peak reading that are set by
the AC Mode switch when the AC/DC slide switch is in the AC position.
This VI is configured for measuring National Instruments 6024E board A/D converter amplitude
resolution using a variety of measurement protocols. The Boolean Conversion display records
the binary output (12-bit) of the converter for the measured analog voltage.
Alias3.vi
This VI is designed to illustrate the phenomenon of aliasing using a 100 Hz sine wave signal as
input to channel 0. Click on the RUN button in the menu bar to start the VI. Click on the STOP
button on the front panel (NOT the menu bar) to hold the next record. Click this button to
RESET the VI before you RUN it again.
Waveform 1 is sampled at a fixed rate of fs = 1000 samples/s. You may switch Waveform 2 in
five steps between sampling frequencies of 125 samples/s and 250 samples/s using the Sampling
Frequency switch. LOOK AT BOTH THE SHAPE AND THE APPARENT FREQUENCY OF
THE WAVEFORM 2 SINE WAVES AS COMPARED TO WAVEFORM 1. You can measure
waveform periods using the cursors. Frequency = 1/period. Click and drag the center of a cursor
with the mouse to position it on the waveform graph. X is time in seconds and Y is amplitude in
volts.
GDAnal2.vi
This Conditional Trigger Data Acquisition VI acquires specified data from one or more analog
input channels. A hardware clock is used to control the acquisition rate for fast and accurate
timing. The data is stored in an intermediate memory buffer after it is acquired from the analog
input channels. The VI retrieves the data that matches the trigger condition, displays it and stops
the acquisition.
The VI has been configured to measure Rise Time, Slew Rate, and Delay Time for acquired
logic gate waveforms on two channels, (0 and 1), and to use a Property Node to automatically
position the waveform graph cursors. The 10% and 90% points on the output waveform, and
the 50% points (TI and TO) on both waveforms are displayed for reference.
WavAnal3.vi
This VI allows you to record both time and frequency (amplitude spectrum) domain signals
using channel 0. The digital sampling rate is designed to accommodate a signal with a
fundamental frequency on the order of 100 Hz. Clicking the red STOP button on the front panel
(NOT the menu bar) will hold the data from the next sampling period. Click RESET then RUN
(arrow) to resume continuous recording. Clicking RUN in RESET mode will allow you to
record single records. You can move the cursors by clicking and dragging with the mouse in
order to make detailed measurements of amplitude (Y) in volts in either the time or frequency
domain (X). Pushing the Filter button will cause the signal to be sharply lowpass filtered with a
43
passband from 0 - fc Hz., where the cutoff frequency, fc, is set using the slide switch in
increments of 200 Hz from 0 to 1000 Hz.
Diode Graph.vi
This VI allows you to create a convenient graph of the forward ID vs. VD characteristic of a
diode. You can use measurement cursors, along with appropriate expansions of the axis scales,
to make desired measurements of this characteristic. The set of diode voltages (VD) specified
for the diode problem in lab 3 have been entered as default values in the graph array. Use the
text tool to enter the corresponding ID array values obtained from the Diode Current Analyzer.vi.
Then RUN the VI to see your graph. You can "zoom" in on a data point on the graph by simply
editing the axis limit values with the text tool. You can perform measurements using the red and
green cursors.
44
Rectifier Supply.vi
This VI is designed to allow the user to input specified parameters for a simple half wave or full
wave rectified power supply. It then uses a formula node to calculate the required component
parameters for the design after the RUN button is pressed. Note that the Constant Voltage Drop
(CVD) for the diode(s) used must be estimated. For the W005G Bridge Rectifier used in the lab,
a CVD = 1.1V is a good estimate for operation at a peak current on the order of 100 mA.
NMOSFET.vi
This NMOS FET analyzer VI is designed to simulate the IDS vs. VDS characteristic of an
enhancement mode (VT0 > O) or depletion mode (VT0 < 0) NMOS field effect transistor. The
modeling includes both channel length modulation effects and body voltage effects. It also
calculates the VDS at "pinchoff". Enter the appropriate input parameters for the device and press
the RUN button.
NMOSFETAnalMeas4.vi
This VI is designed to allow the user to input three channels of specified voltage measurements
from the NMOS transistor test circuit shown in the diagram below the front panel, and to
calculate the threshold voltage (VT0), transconductance (Kn) and channel width modulation
(lambda) of the transistor. It requires two RUN cycles to calculate these parameters. In the first
RUN cycle, the VDS vs. IDS characteristic at measured VGS will be graphed. Note that the
VTO, Kn and lambda output parameters will not necessarily be accurate at this point. The user
must then determine the "pinchoff point" (VDS, IDS at pinchoff) from the graph (drag the
cursor), and input them under "Graph Measurement" on the panel. Clicking on the RUN arrow a
second time will calculate accurate VTO and Kn values for the device.
Required Input Voltages: Channel 0 -- VGS; Channel 1 -- VDS; Channel 2 -- VRD (voltage
across resistor RD).
Required Voltage Sources: VSS -- 12 V DC; VDD -- 5 + 5 sin 2(pi)t V (5 V peak amplitude
sine wave with 5 V DC offset and frequency of 1 Hz). Special note: Because of maximum
voltage output limitations, in order to produce VDD with the HP Signal Generator, you will have
to refrain from using the 50-ohm feedthrough connector and set the generator to 2.5 V DC offset,
and 5 V PP amplitude sine wave at a frequency of 1 Hz. Remember, without the 50-ohm
feedthrough connector, all offset and peak-to-peak amplitude readings are effectively doubled at
the output.
Required Resistances: R1 = 100 K ohms R2 = 200 K ohms; RD = 1 K ohms.
NMOSFETBias3.vi
This VI is designed to allow the user to input specified parameters for design of a four-resistor dc
biasing circuit for an NMOS FET. It then uses a formula node to calculate the required
component parameters for the design of the biasing circuit, after the RUN button is pressed.
Default parameters are from the instructors personal NMOSFET circuit. Note that Gate Margin
is the selected source-to-ground voltage (difference between gate-to-ground and gate-to-source
45
voltages). Gate Fraction is the ratio of gate-to-ground voltage/VDD. Other parameters are those
commonly associated with NMOS devices and the biasing circuit.
NMOSFET_LL2.vi
This NMOS FET analyzer VI is designed to simulate the IDS vs. VDS characteristic of an
enhancement mode (VT0 > O) or depletion mode (VT0 < 0) NMOS field effect transistor. The
modeling includes both channel length modulation effects and body voltage effects. DC biasing
using a four-resistor, single supply circuit sets the Q point for the device in the saturation region.
The circuit load line is calculated for verification of the Q point. Q point calculation is precisely
valid only for zero channel length modulation; however small values of lambda may be
accommodated with good result.
NPNBE.vi
This NPN BJT analyzer VI is designed to simulate the IB vs. VBE (first quadrant) characteristic
of an NPN transistor. The modeling is based upon a modified Gummel-Poon description of the
transistor. IS is the saturation current at temperature T, BF is the forward (ce) current gain, BR
is the reverse (ce) current gain, T is absolute temperature, IB is base current, VCE is the
collector-emitter voltage, and VBE is the base-emitter voltage. Note also that there is NO
correction of IS in this model for changes in temperature. Input the appropriate parameters and
press the RUN button.
NPNCE.vi
This NPN BJT analyzer VI is designed to simulate the IC vs VCE characteristic in the first
quadrant of an NPN transistor. The modeling is based upon the Gummel-Poon description of the
transistor, but does not include the Early effect. IS is saturation current, BF is forward (ce)
current gain, BR is reverse (ce) current gain, IB is base current, T is absolute temperature, VCE
is collector-emitter voltage, IC is collector current. Note that IS is NOT corrected for changes in
temperature T.
NPNBFISAnalMeas.vi
This VI is designed to allow the user to input specified and measured parameters from the NPN
BJT transistor circuit shown, and calculate the BF and IS of the transistor. It uses a formula node
to calculate the required parameters after the RUN button is pressed. Parameters follow standard
definitions for the NPN BJT. Default parameters are from the instructors personal 2N2222A
BJT. Channel 0 is designed to measure VBE in the circuit, and channel 1 is designed to measure
VCE. Assumptions are that the biasing setup operates the transistor in the forward active region
and that VA (Early Voltage) is very large, so corrections to BF can be neglected. The
"Betometer" provides a graphic display of forward current gain.
NPNBias.vi
This VI is designed to allow the user to input specified parameters for design of a four-resistor dc
bias circuit using an NPN BJT. It then uses a formula node to calculate the required component
parameters for the design after the RUN button is pressed. C-E V Drops is a parameter that sets
the distribution of voltage drop between RC and RE. A factor of 2 divides the drop evenly; a
46
factor of 3 divides the drop 1/3 to RC and 2/3 to RE, etc. Base Margin sets the ratio of Collector
to Base bias supply current. A default value of 5 is used to be consistent with the text. Larger
Base Margin values give more power-efficient circuit performance. f is the base voltage divider
fraction. r is the (BF+1)RE/REQ ratio and should be >> 1. If it isn't, reducing the Base Margin
will help. Other parameters follow standard definitions for the NPN BJT and biasing circuit.
Default parameters are those from problem 5.87 in the text.
NPNBE_LL.vi
This Q-point analyzer VI is designed to simulate the IB vs VBE characteristic of an NPN
transistor, and calculate the Q point (Q-VBE, Q-IB) for forward active region operation in a
four-resistor, single voltage supply dc biasing circuit. The VI calculates the BE circuit load line
equation and plots it to help you graphically visualize the Q point solution. IS is the saturation
current at temperature T, BF is the forward (ce) current gain of the transistor, BR is the reverse
(ce) current gain, T is absolute temperature, RE, R1, and R2 are the relevant biasing circuit
resistances, VCC is the supply voltage, VCEQ is collector-emitter Q-point voltage, and ICEQ is
the Q-point collector current. The default parameters correspond to the solution to problem 5.87
in your text. Note also that there is NO correction of IS in this model for changes in temperature.
NPNCE_LL.vi
This Q-point analyzer VI is designed to simulate the IC vs. VCE characteristic of an NPN
transistor, and calculates the Q point (Q-VCE, Q-IC) for forward active region operation in a
four-resistor, single voltage supply dc biasing circuit. The VI calculates the CE circuit load line
equation and plots it to help you graphically visualize the Q point solution. BF is the forward
(ce) current gain of the transistor, IS is the saturation current, BR is the reverse (ce) current gain
(default 1.0), T is absolute temperature, VCC is the supply voltage, R1, R2, RC, and RE are the
biasing circuit resistances. VCE is collector-emitter voltage, IC is collector current, and Q-VCE
and Q-IC are the calculated VCE and IC Q point solution set. The default parameters correspond
to the solution to problem 5.87 in your text.
CEAmpAnal.vi
This VI is designed to allow the user to input specified parameters for small-signal ac analysis of
a CE BJT amplifier circuit. It uses a formula node to calculate the peak output voltage and ac
voltage gain parameters for the design when the RUN button is pressed. It also displays a
representation of the sinusoidal output voltage as a function of time.
Input parameters:
Rs is the equivalent voltage source resistance; Vsp is the peak input source voltage; C1 is the
input ac coupling capacitance; C2 is the emitter bypass capacitor and C3 is the output coupling
capacitor; frequency is the frequency of the input signal in Hz; R1, R2, R3, RE and RC are the
relevant bias circuit and ac load resistances; rp, gm, and ro are the respective small-signal ac
input resistance, transconductance, and output resistance of the transistor at the design Q-point.
(See Circuit Diagram below the front panel.)
47
NPNCEBias.vi
This VI is designed to allow the user to input specified parameters for design of a four-resistor dc
bias circuit using an NPN BJT in a Common Emitter amplifier design. It then uses a formula
node to calculate the required component parameters for the design after the RUN button is
pressed. C-E V Drops is a parameter that sets the distribution of voltage drop between RC and
RE. A factor of 2 divides the drop evenly; a factor of 3 divides the drop 1/3 to RC and 2/3 to
RE, etc. Base Margin sets the ratio of Collector to Base bias supply current. A default value of
5 is used to be consistent with the text. Larger Base Margin values give more power-efficient
circuit performance. f is the base voltage divider fraction. r is the (BF+1)RE/REQ ratio and
should be >> 1. If it isn't, reducing the Base Margin will help. Other parameters follow standard
definitions for the NPN BJT, biasing circuit and small-signal transistor model. Default
parameters are from the instructors personal BJT and design choices.
Amp/Filter.vi
This VI is designed to allow the user to input specified parameters for design of an
instrumentation amplifier and first-order bandpass filter. It uses a formula node to calculate the
peak output voltage (Vop) and ac voltage gain (Av) for the design when the RUN button is
pressed. It also displays a representation of the sinusoidal output voltage as a function of time.
GND
Ch1 +
Ch1 -
NC
Ch2 +
Ch2 -
68
Ch0 -
Ch0 +
Input parameters:
Vsp is the peak input source voltage; frequency is the frequency of the input signal in Hz; RG is
the gain control resistor for the Burr Brown INA 118 instrumentation amplifier, RH1, RH2, and
CH2 are the relevant circuit components for the first-order high-pass filter; RL1, RL2, and CL1
are the relevant circuit components for the first-order low-pass filter.
34
67
33
66
32
65
31
48