Circuits and Electronics - Hands-On Learning With Analog Discovery (PDFDrive) PDF
Circuits and Electronics - Hands-On Learning With Analog Discovery (PDFDrive) PDF
CRC Press
Taylor & Francis Group
6000 Broken Sound Parkway NW, Suite 300
Boca Raton, FL 33487-2742
This book contains information obtained from authentic and highly regarded sources. Reasonable
efforts have been made to publish reliable data and information, but the author and publisher cannot
assume responsibility for the validity of all materials or the consequences of their use. The authors
and publishers have attempted to trace the copyright holders of all material reproduced in this
publication and apologize to copyright holders if permission to publish in this form has not been
obtained. If any copyright material has not been acknowledged please write and let us know so we
may rectify in any future reprint.
Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced,
transmitted, or utilized in any form by any electronic, mechanical, or other means, now known or
hereafter invented, including photocopying, microfilming, and recording, or in any information
storage or retrieval system, without written permission from the publishers.
For permission to photocopy or use material electronically from this work, please access www.
copyright.com (http://www.copyright.com/) or contact the Copyright Clearance Center, Inc. (CCC),
222 Rosewood Drive, Danvers, MA 01923, 978-750-8400. CCC is a not-for-profit organization that
provides licenses and registration for a variety of users. For organizations that have been granted a
photocopy license by the CCC, a separate system of payment has been arranged.
Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and
are used only for identification and explanation without intent to infringe.
Examples�����������������������������������������������������������������������������������������������������������������ix
Preface����������������������������������������������������������������������������������������������������������������������xi
Acknowledgments������������������������������������������������������������������������������������������������xv
Author������������������������������������������������������������������������������������������������������������������ xvii
3 Transient Analysis���������������������������������������������������������������������������������������� 37
3.1 RC Circuits............................................................................................ 37
3.2 RL Circuit.............................................................................................. 41
3.3 RLC Circuits..........................................................................................44
Problems����������������������������������������������������������������������������������������������������������51
vii
viii Contents
5 Operational Amplifiers�������������������������������������������������������������������������������77
5.1 Properties of the Op Amp..................................................................77
5.2 Inverting Amplifier.............................................................................. 79
5.3 Non-inverting Amplifier..................................................................... 82
5.4 Weighted Summer...............................................................................85
5.5 Integrator and Differentiator.............................................................. 88
5.6 Active Filter Circuits............................................................................ 92
5.6.1 Lowpass Filters....................................................................... 93
5.6.2 Highpass Filters...................................................................... 94
5.6.3 Bandpass Filters...................................................................... 95
5.6.4 Band-Reject Filters.................................................................. 96
Problems��������������������������������������������������������������������������������������������������������100
6 Diodes����������������������������������������������������������������������������������������������������������� 107
6.1 Diode Characteristics........................................................................ 107
6.1.1 Forward-Biased Region........................................................ 107
6.2 Half-Wave Rectification..................................................................... 110
6.3 Peak Detector...................................................................................... 116
6.4 Full-Wave Rectification..................................................................... 120
6.5 Full-Wave Rectifier with Smoothing Filter..................................... 122
Problems��������������������������������������������������������������������������������������������������������125
7 Transistors���������������������������������������������������������������������������������������������������� 131
7.1 Bipolar Junction Transistors............................................................. 131
7.2 MOSFET Characteristics................................................................... 139
7.3 Biasing BJT Amplifiers...................................................................... 146
7.4 Biasing of MOSFET Amplifiers........................................................ 151
7.5 Frequency Response of BJT Amplifiers.......................................... 155
7.6 Frequency Response of MOSFET Amplifiers................................ 163
Problems��������������������������������������������������������������������������������������������������������170
Bibliography�������������������������������������������������������������������������������������������������������� 177
Index��������������������������������������������������������������������������������������������������������������������� 181
Examples
ix
x Examples
xi
xii Preface
The goals of writing this book are (1) to provide the reader with an intro-
duction to the use of the virtual instruments of the Analog Discovery board;
(2) to provide the reader with simple, step-by-step instructions in the use of
the Analog Discovery board for solving problems in circuits and electron-
ics; (3) to assist the reader in connecting theory to practice in the fields of
circuits and electronics with the use of the Analog Discovery board; and
(4) to provide the student with problems that allow them to reflect upon the
discrepancies between the measured and the theoretically calculated results
in circuits and electronics.
This book is unique. It is the first time a book has been written that covers
an introduction to the virtual instruments of the Analog Discovery board
concisely with examples on the use of virtual instruments for solving prob-
lems in circuits and electronics. In addition, it is the first time a book has
been written that connects the theory and practice in circuits and electronics
through the use of the Analog Discovery board.
Audience
The book can be used by students, professional engineers, and technicians
who want a basic introduction to the use of the Analog Discovery board,
which can be found in Chapter 1 of the book. Chapters 2 to 4 discuss hands-
on learning in circuit analysis. Basic circuit laws, transient analysis, imped-
ances, power calculations and frequency response are discussed in the three
chapters. The chapters may be useful to students who want to do hands-on
learning in circuit analysis with the Analog Discovery board. Chapters 5,
6, and 7 are for electrical and electrical engineering students and profes-
sionals who want to use Analog Discovery to explore the characteristics of
operational amplifiers, diodes, bipolar junction transistors, and metal-oxide-
semiconductor field effect transistors.
Organization
Chapter 1 is a basic introduction to the flywire and virtual instruments of the
Analog Discovery board. Problems have been solved by performing basic
measurements on circuits through the use of the virtual instruments of the
Analog Discovery board.
Chapters 2, 3, and 4 cover hands-on learning in circuit analysis. Chapter
2 discusses basic circuit laws and theorems. Ohm’s Law, Kirchhoff’s Voltage
Law, Kirchhoff’s Current Law, homogeneity property, Thevenin’s and
Preface xiii
Norton’s Theorems are discussed with examples done with the Analog
Discovery board to allow comparisons between theoretically calculated
results and those obtained through measurements. The transient response
of RC, RL, and RLC circuits are discussed in Chapter 3. The examples in
Chapter 3 provide hands-on learning with the Analog Discovery board and
the measurement results are compared with those obtained from the the-
ory. Chapter 4 discusses topics in sinusoidal steady state analysis, including
impedance, power calculations, and frequency response. Some measure-
ment techniques discussed in the chapter include those for determining
impedance, complex power, and magnitude and phase characteristics of
circuits.
Chapters 5, 6, and 7 cover hands-on learning in analog electronics.
Amplifier configurations, integrators, differentiators, and active filters are
discussed in Chapter 5. The virtual instruments of the Analog Discovery
board are used to obtain voltage, add two signals, convert square waves to
triangular waveforms, and obtain the frequency responses of active filters.
Chapter 6 discusses various diode circuits. The Analog Discovery board is
used to obtain current versus voltage characteristics of diodes and to explore
the characteristics of half-wave and full-wave rectifier circuits. Bipolar junc-
tion and field effect transistors are discussed in Chapter 7. The Analog
Discovery board has been used to obtain current versus voltage characteris-
tics of transistors, operating points, and frequency responses of bipolar junc-
tion and field effect transistor amplifiers.
End-of-chapter problems are available to assist in the hands-on learning
by students, to compare the results obtained by measurements and those
obtained from theory.
A bibliography appears at the end of the book.
xv
Author
Dr. John Okyere Attia is professor of electrical and computer engineering at
Prairie View A&M University. He was the department head of the Electrical
and Computer Engineering Department from 1997 to 2013. Dr. Attia earned
a PhD in electrical engineering from the University of Houston, an M.S. from
the University of Toronto, and a BS from the Kwame Nkrumah University of
Science and Technology.
Dr. Attia teaches graduate and undergraduate courses in electrical and
computer engineering in the fields of electronics, circuit analysis, instru-
mentation systems, digital signal processing, and VLSI design. His research
interests include hands-on learning, power electronics for microgrid, inno-
vative electronic circuit designs for radiation environments, and radiation
testing methodologies of electronic devices and circuits.
Dr. Attia has worked on projects funded by the National Science
Foundation, NASA, Texas Higher Education Coordinating Board, and the
Texas Workforce Commission. Dr. Attia has more than 80 technical publica-
tions. He has published in refereed journal papers and refereed conference
papers. In addition, he is the author of four books published by the CRC
Press. His previous books are Electronics and Circuit Analysis Using MATLAB,
2nd Edition, and PSPICE and MATLAB for Electronics: An Integrated Approach,
2nd Edition.
Dr. Attia has received several honors. Amongst them are the Most
Outstanding Senior in the Graduating Class, the Outstanding Teacher Award,
Exemplary University Achiever, and the University Leader Award. Dr. Attia
is a member of the following honor societies: Sigma Xi, Tau Beta Pi, Kappa
Alpha Kappa, and Eta Kappa Nu. In addition, Dr. Attia is an ABET program
evaluator for electrical and computer engineering programs. Furthermore,
he is a senior member of the Institute of Electrical and Electronics Engineers
and a registered Professional Engineer in the State of Texas.
xvii
1
Virtual Instruments of the Analog
Discovery Board
1
2 Circuits and Electronics
(a) (b)
FIGURE 1.1
(a) Analog Discovery and (b) Analog Discovery 2.
Trigger in (gray)
Ground (black)
Waveform generator (yellow)
V+ power supply (red)
Digital I/O signals
Ground (black)
(pink, green,
Scope channel 2 positve (blue) purple, brown)
1+ 2+ V+ W1 TI 0 1 2 3 4 5 6 7
1– 2– V–W2 TO 8 9 10 11 12 13 14 15
FIGURE 1.2
Pin-Out of Fly-wire of Analog Discovery board (see Table 1.1 for color representations).
Virtual Instruments of the Analog Discovery Board 3
TABLE 1.1
Analog Discovery Board Wire Harness
Function Color
Scope channel 1 (positive) Orange
Scope channel 1 (negative) Orange-white
Scope channel 2 (positive) Blue
Scope channel 2 (negative) Blue-white
Ground Black
V+ power supply (5 V dc) Red
V− power supply (−5 V dc) White
Arbitrary waveform generator 1 Yellow
Arbitrary waveform generator 2 Yellow-white
16 Digital I/O signals Various colors
FIGURE 1.3
Main window of WaveForms software showing the virtual instruments.
1. Logic analyzer
2. Digital pattern generator
3. Static I/O.
4 Circuits and Electronics
This book only discusses the applications of the analog virtual instruments
of the Analog Discovery board. The virtual instruments are described in the
following sections.
1.3 Power Supplies
The Analog Discovery board has two fixed power supplies: (1) +5 V and (2) −5 V.
If one clicks on the voltage button in the Main WaveForms window, the power
supply window shown in Figure 1.4 appears. To turn on the power supply,
click the Power Is OFF button. Another click on the same button turns the
power supply off. One can click the V+ button to turn on the +5 V power sup-
ply. The −5 V source can be turned on by clicking the V− power supply button.
1.4 Voltmeters
There are two voltmeters, found under the More Instruments tab. The volt-
meters can measure dc voltage, True rms, and ac rms voltages. The voltmeter
FIGURE 1.4
Power supplies screen of Analog Discovery board.
Virtual Instruments of the Analog Discovery Board 5
FIGURE 1.5
Voltmeter screen of Analog Discovery board.
R1
1 2
20 kΩ +
V1 R2
5V V2 100 kΩ
0 –
FIGURE 1.6
Resistive circuit.
6 Circuits and Electronics
FIGURE 1.7
Circuit of Figure 1.6 built on a breadboard.
Virtual Instruments of the Analog Discovery Board 7
FIGURE 1.8
Voltmeter readings of the voltage of the power supply (channel 1) and voltage across R2
(channel 2).
1.5.1 Basic Waveforms
The arbitrary waveform generator showing the basic signals that can be gen-
erated is shown in Figure 1.9. The signals that can be generated consist of the
waveforms shown in Table 1.2.
If the dc source is selected, the voltage of the source can be varied from
−5 to +5 V. However, if one selects sinusoid, triangular, or other waveform
signals shown in Table 1.2, the frequency, amplitude, and offset can be
changed.
1.5.2 Sweep Waveforms
The available sweep signals are shown in Table 1.3. For the signals shown
in Table 1.3, the frequency may be swept from a starting value to an end-
ing value within a specified duration of time. A screenshot of the sweep
waveform is shown in Figure 1.10. The amplitude of the sweep waveform
may be set from values of –5 to +5 V. The duration of the sweep can be
specified.
8 Circuits and Electronics
FIGURE 1.9
Arbitrary waveform generator showing basic signals.
TABLE 1.2
Basic Signals Available from Arbitrary
Waveform Generator Window
DC
Sinusoid
Square
Triangular
Ramp-up
Ramp-down
Noise
Trapezium
Sine-Power
TABLE 1.3
Sweep Waveforms Available from Arbitrary
Waveform Generator Window
Sinusoid
Square
Triangular
Ramp-up
Ramp-down
Noise
Virtual Instruments of the Analog Discovery Board 9
FIGURE 1.10
Arbitrary waveform generator showing a sweep signal.
1.5.3 Advanced Waveforms
The available waveforms under the Advanced button are amplitude modu-
lated (AM) and frequency modulated (FM) waveforms. Figure 1.11 shows
an example of an amplitude modulated waveform. For the AM wave, the
amplitude and frequency of the carrier signal can be selected. In addition,
the frequency of the modulating signal and the modulation index can also be
selected. For the FM wave (not shown), the amplitude and frequency of the
carrier can be selected. In addition, modulating frequency plus the frequency
modulation index can be chosen.
There are two arbitrary waveform generators, AWG1 and AWG2. Figure 1.12
shows the two waveform generators, displaying a sine wave in AWG1 and
FIGURE 1.11
An amplitude modulated waveform.
10 Circuits and Electronics
FIGURE 1.12
Arbitrary waveform generators AWG1 and AWG2.
1 R1 2
1 kΩ
V1
LED1
4V
FIGURE 1.13
Resistor–LED circuit.
Virtual Instruments of the Analog Discovery Board 11
FIGURE 1.14
Resistor–LED circuit built on a breadboard.
FIGURE 1.15
DC signal generated from Analog Discovery AWG1.
12 Circuits and Electronics
FIGURE 1.16
Voltmeter readings of the voltage across resistor (channel 1) and voltage across LED (channel 2).
1.6 Scope
The Analog Discovery board has two oscilloscopes (scopes) that can be
used to display voltages. The scopes have several trigger sources and can
have ac/dc coupling. In addition, the scopes can display FFT and XY data.
Furthermore, scope data can be exported in multiple formats to other appli-
cation software, such as Microsoft Excel. Example 1.3 shows how to use
the Analog Discovery scope to display a sinusoidal voltage generated by the
Analog Discovery arbitrary waveform generators (AWG1 and AWG2).
Solution:
Build the Circuit:
Use a breadboard to build the circuit shown in Figure 1.17. Connect
AWG1 (yellow wire) to node 1 of the circuit. Also, connect scope channel
1 positive (orange wire) to node 1. In addition, connect the scope chan-
nel 1 negative (orange-white wire) to node 0. Moreover, connect the
ground (black wire) to node 0 of the circuit. The picture of the connected
circuit is shown in Figure 1.18.
Generation of Sine Wave:
Click WaveGen in the main WaveForms screen. Go to Basic → sine →
Frequency (set to 1 kHz) → Amplitude (set to 3 V) → Offset (set to 0 V) →
Symmetry (set to 50%) → Click Run AWG1. Figure 1.19 shows the setup
of Digilent Analog Discovery WaveGen.
Activation of Scope:
Click the Scope in the main WaveForms screen. Go to Run → Autoset →
Measure → Add → Channel 1 Horizontal → Frequency → Add → Channel
1 Vertical → Peak to Peak → Add Selected Measurement → Close Add
Instrument. The waveform seen on the scope is shown in Figure 1.20. It can
be seen from the scope display that the frequency m
easured is 1.99 kHz.
1
CH1+ of Scope
V1
+ 3 Vpk
– 2 kHz
0°
0
CH1– of Scope
FIGURE 1.17
Signal generator connected to scope.
FIGURE 1.18
Picture of the connected wires.
14 Circuits and Electronics
FIGURE 1.19
The setup of arbitrary waveform generator.
FIGURE 1.20
Scope display of a signal generated by the arbitrary waveform generator.
To display the Bode plot, the AWG1 and the scope channel 1 input are both
connected to the input of the circuit under test. The scope channel 2 is con-
nected to the output of the circuit under test. Example 1.4 shows how to use
the Network Analyzer to obtain the Bode plot of a circuit.
L1 C1
1 2 3
+
+ 1 Vpk R1 Vo(t)
V1(t) 5 kHz
–
0°
0 –
FIGURE 1.21
RLC circuit.
16 Circuits and Electronics
channel 2 positive (blue wire) to node 3, and the scope channel 2 negative
(blue-white wire) to node 0. The RLC circuit, built using a breadboard, is
shown in Figure 1.22.
Generation of Sine Wave:
Click WaveGen in the main WaveForms screen. Go to Basic → Sinusoid
→ Frequency (set to 5 kHz) → Amplitude (set to 1 V) → Offset (set to 0 V)
→ Symmetry (set to 50%) → Click Run AWG1.
Activation of Network Analyzer:
The Network Analyzer uses both oscilloscope channels as the input
and output channels. Channel 1 is used for measuring the input signal
and channel 2 for measuring the output signal. Open up the Network
Analyzer that can be found under the More Instruments tab. Use the
following values for setup of the Network Analyzer:
FIGURE 1.22
RLC circuit built on a breadboard.
Virtual Instruments of the Analog Discovery Board 17
FIGURE 1.23
Magnitude and phase response of the RLC circuit of Figure 1.21.
1.8 Spectrum Analyzer
The Spectrum Analyzer is primarily used to obtain the power spectrum
of signals. It measures the magnitude versus frequency and the phase ver-
sus frequency of a signal. It can be used to obtain the dominant frequency
and the harmonics of a periodic signal. The Spectrum Analyzer uses FFT
or Chirp-Z transform to obtain the spectrum of an input signal. It uses the
oscilloscope channels to acquire the input signal. Thus, when the Spectrum
Analyzer starts sampling, instruments that use the scope channels will stop
acquiring signals. The Spectrum Analyzer instrument is found under the
More Instruments tab in the Analog Discovery WaveForms software pack-
age. The following features are available:
1. Frequency:
Frequency ranges—select the operation range of the Spectrum
Analyzer.
Center/Span:
The Center frequency is the midpoint between the stop and start
frequencies. The Span parameter states the range between the
Start and Stop frequencies.
Start/Stop:
Instead of using the Center/Span frequencies, one can specify
the Start and Stop frequencies.
18 Circuits and Electronics
Tracking:
Enabling Tracking allows the Spectrum Analyzer to search for
the maximum signal level on the screen and makes that fre-
quency the center frequency of the signal. Tracking may be
disabled.
2. Level
The following parameters can be changed under Level:
Units:
Units select the amplitude units. They can be:
Vpeak—relative to 1 V amplitude sine wave.
Vrms—relative to 1 V (rms) sine wave.
Ref—the channel input range is configured according to this ref-
erence setting.
3. Trace
Up to 10 traces can be added. For each input channel, the window
functions can be changed.
4. Window functions
Window functions can be found under the Options drop-down
menu. Some window functions that can be selected are: rectangular,
triangular, Hamming, Hanning, cosine, and Blackman-Harris.
5. Control menu
The control menu has the following functions:
Single—starts a single acquisition of signal.
Run—starts repeated acquisition of a signal.
Stop—stops signal acquisition.
Example 1.5 shows how to use the Spectrum Analyzer to determine the fre-
quency content of a periodic signal.
1
CH1+ of Scope
V1
+ 2 Vpk
– 1 kHz
0° 0
CH1– of Scope
FIGURE 1.24
Connection for obtaining frequency content of a signal.
FIGURE 1.25
Square wave displayed on a scope.
20 Circuits and Electronics
FIGURE 1.26
Frequency spectra of a square wave.
Level
Units: Vpeak
Ref: 3 V
Trace 1: Channel 1
Run the Spectrum Analyzer. Measure the frequency of the spectral lines
and their magnitude (peak value) by using the cursor. Capture the spectra
lines. The spectral lines of the square wave are shown in Figure 1.26.
It can be seen from Figure 1.26 that the spectral lines occur around the
following frequencies: 1, 3, 5, 7, and 9 kHz.
PROBLEMS
Problem 1.1 For the circuit shown in Figure P1.1, (1) use the Analog Discovery
board to find the voltage across the 1 kΩ resistor. (2) As V1 increases from
1 to 5 V with 1 V increments, record the voltages across R2. (3) What is the
relationship between the output and the input voltages?
1 R1 2
3 kΩ
V1 R2
1V 1 kΩ
FIGURE P1.1
Resistive circuit.
Virtual Instruments of the Analog Discovery Board 21
Problem 1.2 For the resistor–LED circuit shown in Figure P1.2, (1) determine
the voltage drop across the LED. (2) Calculate the current flowing through
the LED. Use green LED. (3) Compare the voltage drop across the green LED
to that obtained for the red LED of Example 1.2.
Problem 1.3 For the circuit shown in Figure P1.3, (1) display the output volt-
age on a scope. (2) When the frequency of the source voltage is increased to
100 Hz, what is your observation with regard to the LED?
Problem 1.4 For the circuit shown in Figure P1.4, the input square wave sig-
nal has a frequency of 100 Hz, the peak-to-peak value of the square wave is
1 R1 2
1 kΩ
V1 LED1
4V
FIGURE P1.2
Resistor–LED circuit.
LED1
1 2
+
V1
+ 5 Vpk R1
10 Hz Vo(t)
– 1 kΩ
0°
0 –
FIGURE P1.3
Half-wave rectifier circuit with LED.
1 R1 2
4 kΩ +
V1 C1
0.1 µF Vo(t)
+ 4 V–0 V
100 Hz
0 –
FIGURE P1.4
RC circuit.
22 Circuits and Electronics
2 V with offset voltage of 2 V. (1) Use the Analog Discovery board to obtain
the output signal. (2) What happens to the output voltage when the source
frequency is changed to 1 kHz?
Problem 1.5 For the RLC circuit shown in Figure P1.5, use the Analog
Discovery board to determine the magnitude and phase characteristics at
nodes 2 and 0.
Problem 1.6 (1) Determine the frequency content of a triangular waveform
with peak value of 2 V, zero average value, and a periodic frequency of 1 kHz.
(2) Compare the results of part (1) with those obtained in Example 1.5.
1 R1 2
100 Ω +
L1
47 mH
1 Vpk 3 Vo(t)
+
V1 2 kHz
– 0° C1
0.01 µF –
0
FIGURE P1.5
RLC circuit.
2
Basic Circuit Laws and Theorems
2.1 Ohm’s Law
Ohm’s Law states that the voltage, v (t ), across a resistor is directly propor-
tional to the current, i (t ), flowing through the resistor. Equation 2.1 shows
the Ohm’s Law relationship
v (t ) = Ri (t ) (2.1)
where R is the proportionality constant
Example 2.1 shows how the Analog Discovery board can be used to verify
Ohm’s Law.
23
24 Circuits and Electronics
V1 R1
1V 1 kΩ
FIGURE 2.1
Resistive circuit.
TABLE 2.1
Voltage and Current of a Resistive Circuit
Voltage (V) Current (mA)
1.013 1.013
2.011 2.011
3.009 3.009
4.008 4.008
5.009 5.009
K
∑V
n =1
n =0 (2.2)
FIGURE 2.2
The source voltage and current of circuit shown in Figure 2.1.
26 Circuits and Electronics
1 R1 2 R2 3
1 kΩ 1 kΩ R3
V1
5V 2 kΩ
FIGURE 2.3
Voltage source plus three resistors circuit.
Signal Generation:
Click WaveGen in the main WaveForms screen. Go to Basic → dc →
Offset (set to 5 V) → Click Run AWG1.
Activation of Voltmeter:
Activate the voltmeter by clicking Voltmeter under the More Instruments
tab. Click Enable to start reading the voltage across R1 (nodes 1 and 2).
Use the scope channel 2 to measure the voltage across R2 (nodes 2
and 3). In addition, use the scope channel 2 to measure the voltage across
R3 (nodes 3 and 0). Record your measurements. Figure 2.4 shows the volt-
age across the dc source and the voltage across the resistor R1. Table 2.2
shows the voltages at various nodes of the circuit shown in Figure 2.3.
From Table 2.2, it can be seen that the voltage of the source is almost equal to
the sum of the voltages across the resistors, R1, R2, and R3, thus confirming
the KVL.
FIGURE 2.4
Voltages across the dc source V1 and resistor R1 measured by the voltmeter.
TABLE 2.2
DC Voltages Measured by Voltmeter of the Analog Discovery Board
Voltage across Voltage across Voltage across Sum of Voltages Voltage
R1 (V) R2 (V) R3 (V) across R1, R2, and R3 V1 (V)
1.256 1.255 2.512 5.027 5.047
Basic Circuit Laws and Theorems 27
FIGURE 2.5
Source voltage of 5 V measured by the voltmeter.
∑i
n =1
n = 0 (2.3)
A I1 B I3 C
R1 1 kΩ R3 1 kΩ
I2
V1 R4
4V 1 kΩ
R2
1 kΩ
FIGURE 2.6
DC source and resistive circuit.
Signal Generation:
Click WaveGen in the main WaveForms screen. Go to Basic → dc →
Offset (set to 4 V) → Click Run AWG1. Figure 2.7 shows voltage gener-
ated by arbitrary waveform generator AWG1.
Voltage Measurements:
Use the multimeter to measure the voltage across resistors R1, R2, and
R3. Use Ohm’s Law to calculate the current flowing through the resistors
R1, R2, and R3.
Table 2.3 shows the voltages across the resistors R1, R2, and R3 and the cor-
responding currents I1, I2, and I3 are shown in Table 2.4. The currents were
calculated by using Ohm’s Law.
FIGURE 2.7
Signal generated by arbitrary waveform generator AWG1.
Basic Circuit Laws and Theorems 29
TABLE 2.3
Measured Resistances and Voltages
Measured Resistances (Ω) Measured Voltages (V)
R1 R2 R3 R4 VR1 VR2 VR3 VR4
984 986 986 991 2.391 1.599 0.797 0.801
TABLE 2.4
Currents in Figure 2.6 Calculated by Using Voltages and Resistances in Table 2.3
Current in mA
I2 (VR2/R2) I3 = (VR3/R3) I4 (VR4/R4) I1 (VR1/R1) I2 + I3
1.62 0.81 0.81 2.43 2.43
The current I4 is the current flowing through resistor R4, and it is in the
same direction as current I3 (The current I4 is not shown in Figure 2.6). It can
be seen from Table 2.4 that the current I1 = I2 + I3. In addition, current I3 = I4.
The results confirm KCL.
2.4 Linearity Property
Linearity property describes a linear relation between cause and effect. The
linearity property is the combination of the homogeneity (scaling) property
and the additive property. The homogeneity property requires that if an
input is multiplied by a constant K, the output will also be multiplied by the
same constant K. The additive property says that the response to a sum of
inputs is the sum of the responses to each input when applied separately. The
homogeneity property will be explored in Example 2.4.
R5 1 kΩ
1 R1 2 R3 3
1.0 kΩ 1 kΩ +
V1 R2 R4
1V 1 kΩ Vout
2 kΩ
0 –
FIGURE 2.8
Bridge-T circuit.
FIGURE 2.9
Power supply and voltmeter readings.
Basic Circuit Laws and Theorems 31
TABLE 2.5
Input and Output Voltages
Ratio of Output Voltage
Source Voltage (V) Output Voltage (V) versus Input Voltage
1.004 0.624 0.622
2.000 1.243 0.622
2.995 1.863 0.622
3.989 2.482 0.622
4.980 3.100 0.622
It can be seen that ratio of the output voltage with respect to the input voltage
is a constant (0.622).
RTh = RN (2.4)
VTh = I N * RN (2.5)
Example 2.5 shows how to use the Analog Discovery board to obtain the
Thevenin’s and Norton’s equivalent circuits.
1 R1 2 R3 3 R5 5
2.0 kΩ 3 kΩ 2 kΩ
R4
V1 R2 4 kΩ R6
3V 2 kΩ 4 1 kΩ
V2
2V
0
FIGURE 2.10
Circuit with two voltage sources.
1 R1 2 R3 3 R5
5
2.0 kΩ 3 kΩ 2 kΩ
R4 +
V1 R2
4 kΩ
2 kΩ Voc
3V 4
V2
2V –
0
FIGURE 2.11
Circuit for obtaining open-circuit voltage.
Solution:
To obtain the Thevenin’s voltage, the circuit is open-circuited at nodes 5
and 0. It is shown in Figure 2.11.
To obtain the open-circuit voltage, the following can be done:
Build the Circuit:
Use a breadboard to build the circuit shown in Figure 2.11. Connect
AWG1 (yellow wire) to node 1 of the circuit. Also, connect the ground
(black wire) to node 0 of the circuit. In addition, connect AWG2 (yellow-
white wire) to node 4 of the circuit.
Signal Generation:
Click WaveGen in the main WaveForms screen. Go to Basic → dc →
Offset (set to 3 V) → Click Run AWG1. In addition, in the WaveGen
screen, select Channel 2, go to Basic → dc → Offset (set to 2 V) → Click
Run AWG2. Figure 2.12 shows the waveforms generated by the arbitrary
waveform generators, AWG1 and AWG2.
Measure the voltage between nodes 5 and 0 by using a multimeter. The
measured voltage is 1.74 V.
To measure the Thevenin’s resistance, short-circuit the voltage sources.
The circuit shown in Figure 2.13 is obtained after short-circuiting the voltage
sources. The measured resistance value is 3.94 kΩ.
The Thevenin equivalent circuit is shown in Figure 2.14.
Basic Circuit Laws and Theorems 33
FIGURE 2.12
Signals generated arbitrary waveform generators AWG1 and AWG2.
R1 2 R3 3 R5 5
2.0 kΩ 3 kΩ 2 kΩ
R4
R2 4 kΩ
2 kΩ RTh
FIGURE 2.13
Circuit of Figure 2.10 without the voltage sources.
PROBLEMS
Problem 2.1 Build the circuit shown in Figure P2.1. (1) Use the Analog
Discovery voltmeter to measure the voltages across resistors, R1 and R2.
(2) Use the voltage divider rule to calculate the voltages across R1 and R2.
(3) Compare the results obtained in parts (1) and (2).
Problem 2.2 Build the circuit shown in Figure P2.2. (1) Use the Analog
Discovery board to measure the voltage across the resistor R3. (2) Use nodal
34 Circuits and Electronics
RTh = 3.94 kΩ
VTh = 1.74 V
FIGURE 2.14
Thevenin equivalent circuit of Figure 2.10.
1 R1 2
2 kΩ
VS R2
5V 3 kΩ
FIGURE P2.1
Circuit with two resistors and a voltage source.
1 R1 2 R2 3
30 kΩ 20 kΩ
R3 V S2
V S1
20 kΩ 2V
4V
FIGURE P2.2
Circuit with two voltage sources.
analysis to obtain the voltage across R3. (3) Compare the measured and the
calculated value of the voltage across R3.
Problem 2.3 Build the circuit of Figure P2.3. (1) Use the Analog Discovery
board to measure the voltage across resistors R1 and R2. (2) Based on the
Basic Circuit Laws and Theorems 35
1 R1 2
200 kΩ
VS R3
R2
4V
600 kΩ 300 kΩ
0
FIGURE P2.3
A resistive circuit.
measured values of the voltages in part (1), use Ohm’s Law to calculate the cur-
rents flowing through resistors R1, R2, and R3. (3) Use the currents obtained
in part (2) to validate the Kirchhoff’s Current Law at node 2 of the circuit.
Problem 2.4 Build the circuit shown in Figure P2.4, and obtain the voltage
across R6. (2) Decrease the voltage VS from 5 to 1 V with decrement of 1 V, and
obtain the voltage across R6. (3) From the results obtained in parts (1) and (2),
show that the voltage across the resistor R6 is linearly proportional to the
source voltage, VS.
Problem 2.5 (1) Build the circuit shown in Figure P2.5, and use the Analog
Discovery board to obtain the voltage across the resistor R6. (2) Set the volt-
age VS1 = 0 V, VS2 = 2 V, and determine the voltage across R6. (3) Set the voltage
VS1 = 3 V, VS2 = 0 V, and determine the voltage across R6. (4) Use the results of
parts (1), (2), and (3) to demonstrate the Superposition Theorem.
1 R1 2 R3 3 R5 4
VS R6
5V R2 R4
200 kΩ 200 kΩ
200 kΩ
FIGURE P2.4
Ladder network.
36 Circuits and Electronics
1 R1 2 R3 3 R5 4
20 kΩ 20 kΩ 20 kΩ
R4
V S1 R2 10 kΩ
5 R6
3V 10 kΩ
V S2 10 kΩ
2V
0
FIGURE P2.5
Circuit for demonstrating superposition theorem.
1 R1 2 R3 3 R5 4 R7 6
A
20 kΩ 20 kΩ 20 kΩ 20 kΩ
R4
V S1 10 kΩ R8
R2
5 R6 10 kΩ
4V 10 kΩ
V S2 10 kΩ
3V
0
B
FIGURE P2.6
Circuit with two voltage sources.
R4
20 kΩ
1 R2 2 R3 3 R6
A
10 kΩ 10 kΩ 10 kΩ +
V S1
R1 4V R5
20 kΩ 20 kΩ
–
0
B
FIGURE P2.7
Bridge-T circuit with a voltage source.
Problem 2.6 For the circuit shown in Figure P2.6, find the Thevenin equiva-
lent circuit between nodes A and B.
Problem 2.7 Find the Norton equivalent circuit of Figure P2.7 at nodes A
and B.
3
Transient Analysis
3.1 RC Circuits
For the RC circuit, shown in Figure 3.1, if the input is a square wave, the
capacitor will charge and discharge.
For an RC circuit like the one shown in Figure 3.1, if one uses the KCL and
assumes that the initial voltage across the capacitor is zero, one can obtain
the differential equation shown in Equation 3.1
where
VC (0) = initial voltage across the capacitor
One can quickly charge and discharge a capacitor by using a function gen-
erator to generate the square wave. In addition, one can control the amplitude
and period T of the square wave. The period and the repetition frequency are
related by the expression
37
38 Circuits and Electronics
R
+ +
VS C VC
– –
FIGURE 3.1
RC circuit.
1
f = (3.4)
T
where f is the repetition frequency and T is the period of the square wave.
For the RC circuit, the time constant is given as τ = RC. The time constant
determines the rate of charge or discharge of a capacitor. After τ seconds,
the voltage will have decreased to e −1 (about 0.368) of its initial value. After
2τ seconds, it will have decreased to e −2 (0.135) its initial value, and after
5τ seconds, the voltage will have decreased to 0.0067 of the initial value. To
allow the capacitor to charge to its maximum voltage, it is recommended
that the period of the square wave should be far greater than five times the
time constant. Example 3.1 shows how to use the Analog Discovery board to
explore the behavior of an RC circuit.
1 R1 2
1 kΩ +
V1 C1
+ 4 V–0 V V (t)
0.022 µF C
1 kHz
–
0
FIGURE 3.2
RC circuit for Example 3.1.
Transient Analysis 39
The input (scope channel 1) and output (scope channel 2) waveforms are
shown in Figure 3.4. The time constant is obtained by determining the time
it takes for the output voltage to reach 0.637 of the maximum output voltage
of 4 V (when the capacitor is charging.)
FIGURE 3.3
WaveGen setup for RC circuit.
40 Circuits and Electronics
FIGURE 3.4
The input (scope channel 1) and output (scope channel 2) waveforms.
FIGURE 3.5
Input (scope channel 1) and output (scope channel 2) waveforms of RC circuit when square
frequency is 10 kHz.
3.2 RL Circuit
An RL circuit with source voltage v(t) = VS is shown in Figure 3.6.
Using KVL, we get
di(t)
L + Ri(t) = VS (3.5)
dt
If the initial current flowing through the series circuit is zero, the solution of
Equation 3.5 is
VS −
Rt
i(t) = 1− e
L
(3.6)
R
v R (t) = Ri(t)
Rt
−
= VS 1 − e L (3.7)
v L (t) = VS − v R (t)
Rt
−
= VS e L
(3.8)
It can be shown that the equation for discharging the inductor is given as
− Rt
iL (t) = iL (0)e L
(3.9)
L
+
+ i(t)
VS(t) – R VR(t)
FIGURE 3.6
RL circuit with a voltage source.
42 Circuits and Electronics
where
iL (0) = initial current flowing through the inductor.
One can quickly charge and discharge an inductor by using a square wave
generated by a function generator. The period T and the repetition frequency
f of the square wave are related by the expression
1
f = (3.10)
T
For an RL circuit, the time constant is given as τ = L/R. The time constant
determines the rate of charging or discharging of a capacitor. After τ sec-
onds, the current will have decreased to e −1 (about 0.368) of its initial value.
After 2τ seconds, it will have decreased to e −2 (0.135) of its initial value, and
after 5τ seconds, the current will have decreased to 0.0067 of the initial value.
Example 3.2 shows how to use the Analog Discovery board to explore the
behavior of an RL circuit.
1 L1 2
1 mH +
V1 R1
+ 4 V–0 V 500 Ω VR(t)
10 kHz
–
0
FIGURE 3.7
RL circuit for Example 3.2.
Transient Analysis 43
input square wave signal, and scope channel 2 will show the voltage
across the resistor R1.
Generation of Square Wave:
Click on the WaveGen in the main WaveForms screen. Go to Basic →
Square → Frequency (set to 10 kHz) → Amplitude (set to 2 V) → Offset (set
to 2 V) → Symmetry (set to 50%) → Click Run AWG1. Figure 3.8 shows the
Analog Discovery WaveGen setup for generating the square wave.
Activation of Scope:
Click on the Scope in the main WaveForms screen. Go to Run → Autoset
→ Measure → Add → Channel 1 Horizontal → Frequency → Add →
Channel 1 Vertical → Maximum → Add → Channel 2 Vertical →
Maximum → Add → Channel 2 Vertical → Minimum → Add Selected
Measurement → Close Add Instrument.
The input (scope channel 1) and output (scope channel 2) waveforms are shown
in Figure 3.9. The time constant is obtained by determining the time it takes for
the output voltage to reach 0.637 of the maximum output voltage of 4 V.
FIGURE 3.8
WaveGen setup generating a square wave.
44 Circuits and Electronics
FIGURE 3.9
The input and output waveforms of the RL circuit.
FIGURE 3.10
The input (scope channel 1) and output (scope channel 2) waveforms of the RL circuit for fre-
quency of 100 kHz.
3.3 RLC Circuits
For the series RLC circuit shown in Figure 3.11, one can use KVL to obtain
Equation 3.11.
t
di(t) 1
vS (t) = L
dt
+
C ∫ i(τ ) dτ + Ri(t)
−∞
(3.11)
Transient Analysis 45
L C
+
+ i(t)
VS(t) – R V0(t)
–
FIGURE 3.11
Series RLC circuit.
i.e.,
R
α= and (3.15)
2L
α is damping factor
1
w0 = (3.16)
LC
w0 is undamped frequency
S1 = −α + α 2 − ω 02 (3.17)
46 Circuits and Electronics
S2 = −α − α 2 − ω 02 (3.18)
i f (t) = A3 (3.20)
where
ω d = ω 02 − α 2 (3.25)
ω d is damped frequency
In the laboratory, two points are obtained on the envelope of the damped
exponential sinusoid to calculate the damping factor and damping frequency.
If the first positive local maximum of the sinusoid is at the point (t1 , V1) and
the second positive local maximum of the sinusoid is at the point (t2 , V2 ),
where t1 , t2 are measurements of time corresponding to envelope voltages
V1 , V2. The damping factor can be calculated as
ln(V1) − ln(V2 )
α= (3.26)
t2 − t1
Td = t2 − t1 (3.27)
1 (3.29)
α=
2 RC
1
w0 = (3.30)
LC
Example 3.3 illustrates the use of the Analog Discovery board to obtain the
transient response of a RLC circuit.
1 L1 2 C1 3
40 mH +
0.1 µF
V1 R1
+ 4 V–0 V VR(t)
200 Ω
200 Hz
0 –
FIGURE 3.12
RLC circuit of Example 3.3.
FIGURE 3.13
WaveGen setup for generating a square wave.
Transient Analysis 49
FIGURE 3.14
The input (scope channel 1) and output (scope channel 2) waveforms for the underdamped
response.
The input and output waveforms are shown in Figure 3.14. Channel 1 (C1)
displays the input square wave signal, and scope channel 2 (C2) shows an
underdamped response.
Measure time t1 and the voltage V1 of the first positive local maximum of
the decaying sinusoid. In addition, measure the time t2 and the voltage V2 of
the second positive local maximum of the decaying sinusoid. Use Equations
3.26 and 3.28 to calculate the measured damping factor and the damped fre-
quency, respectively.
From Figure 3.14, one can get the following coordinates for the first and
second local maximum of the damped sinusoid:
Using Equations 3.26 and 3.28, the damping factor and damped frequency
were calculated. Table 3.1 shows the calculated values and the measured
TABLE 3.1
Calculated and Measured Values of the Underdamped Response of Figure 3.12
Item Calculated Value Measured Value
Undamped frequency (rad/s) 1.58 × 104 1.61 × 104
Damped frequency (rad/s) 1.56 × 104 1.57 × 104
Damped frequency (Hz) 2.86 × 103 2.50 × 103
Period of damped frequency (s) 4.02 × 10−4 4.00 × 10−4
Damping factor 2500 3474
50 Circuits and Electronics
FIGURE 3.15
The input (scope channel 1) and output (scope channel 2) waveforms for the overdamped
response.
FIGURE 3.16
The input (scope channel 1) and output (scope channel 2) waveforms for the 2000 Hz square
wave.
Transient Analysis 51
PROBLEMS
Problem 3.1 For the circuit shown in Figure P3.1, the input square wave has a
frequency of 100 Hz, and the peak-to-peak value of the square wave is 0 to 4 V
with offset voltage of 2 V. (1) Use the Analog Discovery board to obtain the
output waveform. (2) Measure the time constant of the circuit. (3) Compare
the measured time constant with the theoretically calculated value.
Problem 3.2 If Figure 3.2 has component values of R1 = 1 kΩ and C1 = 1.0 μF,
(1) estimate the period (and hence frequency) of the input square wave that
will make the output waveform almost a square-wave. (2) Give reasons for
your estimated frequency. (3) Build the circuit and use the Analog Discovery
board to confirm that the output voltage is almost a square wave when the
input frequency of the square wave is equal to your estimated frequency.
Problem 3.3 For the circuit shown in Figure P3.3, the input square wave has
a frequency of 200 Hz, and the peak-to-peak value of the square wave is 0 to
4 V with offset voltage of 2 V. (1) Use the Analog Discovery board to obtain
the output signal. (2) Measure the time constant of the circuit. (3) Compare
the measured time constant with the theoretically calculated value.
Problem 3.4 If Figure 3.6 has component values of R = 5000 Ω and L = 40 mH,
(1) estimate the period (and hence frequency) of the input square wave that
will make the output waveform almost a square-wave. (2) Give reasons for
your estimated frequency. (3) Build the circuit and use the Analog Discovery
1 R1 2
5 kΩ +
V1 C1
+ 4 V–0 V 0.1 µF VC(t)
1 kHz
–
0
FIGURE P3.1
RC circuit for Exercise 3.1.
1 L1 2
40 mH +
V1
+ R1
4 V–0 V 500 Ω VR
200 Hz
0 –
FIGURE P3.3
RL circuit for Exercise 3.3.
52 Circuits and Electronics
L1 C1
1 2 3
1 mH 0.01 µF +
V1 R1
+ 4 V–0 V 300 Ω VR(t)
200 Hz
0 –
FIGURE P3.5
RLC circuit for Exercise 3.5.
L C
+
VS(t) + i(t)
– R V0(t)
–
FIGURE P3.6
RLC circuit for Exercise 3.6.
board to confirm that the output voltage is almost a square wave when the
input frequency of the square wave is equal to your estimated frequency.
Problem 3.5 For the RLC circuit shown in Figure P3.5, the input square
wave has a frequency of 200 Hz and the peak-to-peak value of the square
wave is 0 to 4 V with offset voltage of 2 V. Use the Analog Discovery board to
obtain the voltage across the resistor. (1) Determine the damping factor and
damped frequency. (2) Compare the measured damping factor and damped
frequency with the theoretically-calculated values. (3) What might be the
causes of errors between the calculated and the measured values?
Problem 3.6 For the series RLC circuit shown in Figure P3.6, R = 5000 Ω,
L = 40.0 mH, and C = 0.01 μF. (1) Calculate the damping factor and the
undamped frequency. (2) Indicate the type of response of the circuit (under-
damped, critically damped and overdamped). (3) Build the circuit and use
the Analog Discovery board to the output voltage Vo (t ). You can use an
input square wave of peak-to-peak value of 4 V with dc offset of 2 V and a
frequency of your choice.
Problem 3.7 For a series RLC circuit, such as the one shown in Figure P3.6, if
L = 4.0 mH, and C = 0.001 μF, (1) calculate the value of resistor R that will result
in critically damped response. (2) Build the circuit and use a resistor that
will give you an underdamped response. You can use an input square wave
of peak-to-peak value of 4 V with dc offset of 2 V and a frequency of your
choice. (3) Measure the damping factor and damped frequency. (4) Compare
the measured damping factor and damped frequency with the theoretically-
calculated values.
4
Impedance, Power Calculation,
and Frequency Response
4.1 Impedance Measurements
Figure 4.1 shows a voltage source v(t) connected to network with impedance
Z. The voltage v (t ) is a sinusoid given as
If we assume a linear circuit, the current i (t ) will have the same frequency as
the voltage, and it will be given as
I = I m e jθI = I m ∠θ I (4.4)
The impedance is given as the ratio between the phasor voltage and the
phasor current. It is given as
V Vm
Z= = ∠(θV − θ I ) (4.5)
I Im
53
54 Circuits and Electronics
i(t)
+ +
v(t) Z
– –
FIGURE 4.1
One-port network with impedance Z.
where
Z = Zm ∠θZ (4.6)
Vm
Zm = (4.7)
Im
θZ = (θV − θ I ) (4.8)
The magnitudes Vm and I m can be obtained from a scope, and the phase
ifference θZ = (θV − θ I ) can also be determined by measuring the phase dif-
d
ference between the voltage and current waveforms.
If td is the phase difference between the voltage and current waveforms,
and TP is the period of the voltage or current waveform, then the phase dif-
ference is given as
td
θZ = (θV − θ I ) = (360°) (4.9)
TP
The following steps can be used to obtain the phase difference between two
waveforms:
td
θV − θ I = (360°) (4.10)
TP
If the voltage signal v(t) attains its maximum value earlier than the
6.
current signal i(t), then the phase angle is positive; otherwise, it is
negative.
Impedance, Power Calculation, and Frequency Response 55
FIGURE 4.2
Display of two signals.
To measure the current, a known value resistor will be placed in series with
the circuit under test. Channel 1 of the scope will be connected across the
known resistor, and channel 2 will be connected across the circuit under test.
The Mathematic Channel can be used to monitor the current by dividing the
voltage across the known valued resistor by the resistance of the resistor.
Example 4.1 describes how to use the Analog Discovery board to obtain the
impedance of a circuit.
L1 C1
1 2 3
1 mH
0.022 µF
R1
+ 4 Vpk
V1 1000 Ω
– 5 kHz
0°
0
FIGURE 4.3
Impedance of RLC circuit.
56 Circuits and Electronics
Channel 1
+ –
4 1 L1 2 C1 3
+ 1 mH
R2 100 Ω 0.022 µF
R1
+ 4 Vpk Channel 2
V1 1000 Ω
– 5 kHz
0°
– 0
FIGURE 4.4
Augmented version of Figure 4.3 showing 100 Ω resistor to monitor current.
FIGURE 4.5
Analog Discovery WaveGen setup for impedance measurement.
Impedance, Power Calculation, and Frequency Response 57
Activation of Scope:
Click on the Scope in the main WaveForms screen. Go to Run → Autoset
→ Measure → Add → Channel 1 Horizontal → Period → Add → Channel
1 Vertical → peak-to-peak voltage → Add → Channel 2 Vertical → peak-
to-peak voltage → Control → Add Mathematic Channel → Custom
→ C1/100 → Add → Channel M1 Vertical → peak-to-peak voltage →
Change Math Mode Units to A → Add Selected Measurement → Close
Add Instrument.
From Figure 4.6, we get the following measurements:
FIGURE 4.6
Scope display of input of RLC circuit (C2) and current flowing through resistor R2.
58 Circuits and Electronics
td 34 µs
θV − θ I = (360°) = × 360° = 61.2° (4.12)
TP 200 us
From Figure 4.5, the current waveform (M1) attains its maximum value ear-
lier than that of the voltage waveform (C2). Therefore, the current leads the
voltage, and thus
For L = 1.0 mH , C = 0.022 µF, and ω = (2 π)(5000) Hz, the calculated imped-
ance is
j
Zcalculated = 1000 + jωL −
ωC
Zcalculated = 1758.9 ∠ − 55.35° (4.15)
It can be seen from Equations 4.14 and 4.15 that the measured and calculated
values of the impedance are close to one another.
4.2
R ms Values
If v(t) and i(t) are periodic with period T, the rms, or effective values of the
voltage and current, are
T
1
Vrms =
T∫
0
v 2 (t) dt (4.16)
T
1 2
I rms =
∫
T
0
i (t) dt (4.17)
where
Vrms is the rms value of v(t)
I rms is the rms value of i(t)
For the special case where both the current i(t) and voltage v(t) are sinu-
soidal, that is
and
i(t) = I m cos(wt + θ I ) (4.19)
1 2
V2 1V
R1 V3
3 + R2
1 kΩ 2 V 16.7 ms 1 kΩ
+ 2 Vpk
V1 _ 60 Hz
0°
FIGURE 4.7
Circuit for performing rms measurements.
FIGURE 4.8
Analog Discovery WaveGen setup for sine and triangular waveforms.
Impedance, Power Calculation, and Frequency Response 61
Activation of Scope:
Click on the Scope in the main WaveForms screen. Go to Run → Autoset
→ Measure → Add → Channel 1 Vertical → dc rms → Add → Channel
1 Vertical → ac rms → Add Channel 1 Horizontal → Frequency → Add
Selected Measurement → Close Add Instrument.
Measure → Add → Channel 2 Vertical → dc rms → Add → Channel 2
Vertical → ac rms → Add Selected Measurement → Close Add Instrument.
Figures 4.9 and 4.10 show the dc rms of (1) a sine wave with a dc com-
ponent and (2) a triangular waveform, respectively. Table 4.1 captures
FIGURE 4.9
Display of (a) sine wave with a dc component (scope channel 1), and (b) triangular waveform
(scope channel 2).
FIGURE 4.10
Voltmeter readings for (a) sine wave with dc voltage (Channel 1 of scope) and (b) triangular
waveform (Channel 2 of scope).
62 Circuits and Electronics
TABLE 4.1
Measured rms Values of the Sinusoid with dc and the Triangular Wave
rms Values True rms Values True rms Values
Calculated Measured Using Measured Using
Using Equations the Scope the Voltmeter
Signal 4.23 and 4.24 (Figure 4.9) (Figure 4.10)
Sine waveform with 1 V dc 1.732 V 1.758 V 1.758 V
Triangular waveform 1.1547 V 1.152 V 1.153 V
the information in Figures 4.9 and 4.10. It can be seen from the Table 4.1
that the measured values are very close to the theoretically calculated
ones.
4.3 Complex Power
For the one-port network shown in Figure 4.1, the voltage across the network
is given by v(t) and current flowing into the network is i(t). The instanta-
neous power p(t) is
T
1
P=
T ∫
v(t)i(t) dt (4.27)
0
P
pf = (4.29)
Vrms I rms
pf = cos(θV − θ I ) (4.30)
S = P + jQ (4.32)
The magnitudes Vm and I m can be obtained from the scope, and the phase
difference θZ = (θV − θ I ) can also be determined by measuring the phase dif-
ference between the voltage and current waveforms.
If td is the phase difference between the voltage and current waveforms,
and TP is the period of the voltage or current waveform, then the phase dif-
ference is given by Equation 4.9. The steps that can used to obtain the phase
difference between the voltage and current waveforms have been described
in Section 4.1.
To measure the current, a known value resistor will be placed in series
with the circuit under test. Channel 1 of the scope will be connected across
the known resistor, and channel 2 will be connected across the circuit under
test. The Mathematic Channel can be used to monitor the current by dividing
the voltage across the known valued resistor by the resistance of the resistor.
Example 4.3 describes how to use the Analog Discovery board to obtain the
complex power of a circuit.
1 L1 2
40 mH
V1
+ 2 Vpk R1
_ 1 kHz 200 Ω
0°
FIGURE 4.11
Complex power for RL circuit.
64 Circuits and Electronics
+ Channel 1 _
3 R2 1 L1 2
10 Ω + 40 mH
V1
+ 2 Vpk R1
_ 1 kHz Channel 2 200 Ω
0°
_
0
FIGURE 4.12
Augmented version of Figure 4.11 showing 10 Ω resistor to monitor current.
Solution:
A 10 Ω resistor has been inserted in series with the circuit to measure
the current flowing into the RL circuit. The augmented circuit is shown
in Figure 4.12.
Build the Circuit:
Use a breadboard to build the circuit shown in Figure 4.12. Connect
the AWG1 (yellow wire) to node 3 of the circuit. Also, connect the
scope channel 1 positive (orange wire) to node 3. In addition, connect
the scope channel 1 negative (orange-white wire) to node 1. Moreover,
connect the ground (black wire) to node 0 of the circuit. Furthermore,
connect the scope channel 2 positive (blue wire) to node 1, and the scope
channel 2 negative (blue-white wire) to node 0.
Channel 1 measures the voltage across the 10 Ω resistor, and channel 2
measures the voltage at the input of the series RL circuit.
Generation of Sine Wave:
Click on the WaveGen in the main WaveForms screen. Go to Basic →
Sinusoid → Frequency (set to 1 kHz) → Amplitude (set to 4 V) → Offset
(set to 0 V) → Symmetry (set to 50%) → Click Run AWG1. Figure 4.13
shows the Analog Discovery WaveGen setup.
Activation of Scope:
Click on the Scope in the main WaveForms screen. Go to Run → Autoset
→ Measure → Add → Channel 1 Horizontal → Period → Add → Channel
1 Vertical → rms voltage → Add → Channel 2 Vertical → rms voltage
→ Control → Add Mathematic Channel → Custom → C1/10 → Add →
Channel M1 Vertical → rms voltage → Change Math Mode Units to A →
Add Selected Measurement → Close Add Instrument.
From Figure 4.14, we get the following measurements:
Rms voltage at the input of the RL circuit at nodes 1 and 0 of Figure 4.12
is 1.386 V.
Rms value of the current flowing through the 10 Ω resistor of Figure 4.12
is 3.639 mA.
Impedance, Power Calculation, and Frequency Response 65
FIGURE 4.13
Analog Discovery WaveGen setup for complex power measurement.
FIGURE 4.14
Scope display showing the voltage (scope channel 2) and current (mathematic channel 1)
waveforms.
66 Circuits and Electronics
Measurements made on the scope display show that the time difference
between the voltage and current is 124 μs. Using Equation 4.10, we have
td 124 µs
θV − θ I = (360°) = × 360° = 44.64° (4.34)
TP 1 ms
From Figure 4.14, the voltage waveform (C2) attains its maximum value ear-
lier than that of the current waveform (M1). Therefore, the voltage leads the
current. Thus
θZ = (θV − θ I ) = 44.64° (4.35)
When the capacitor is connected, we have the circuit shown in Figure 4.15.
The display at channel 1 and channel 2 of the scope is shown in Figure 4.16.
From Figure 4.16, we get the following measurements:
Measurements made on the scope display show that the time difference
between the voltage and current is 164 μs. Using Equation 4.10, we have
td 164 µs
θV − θ I = (360°) = × 360° = 59.04° (4.37)
TP 1 ms
+ Channel 1 _
3 R2 1 L1 2
10 Ω + 40 mH
V1
+ 2 Vpk C1
Channel 2 R1 1.0 µF
_ 1 kHz 200 Ω
0°
_
0
FIGURE 4.15
RL circuit with capacitor 1.0 μF connected across both RL elements.
Impedance, Power Calculation, and Frequency Response 67
FIGURE 4.16
Display of current (mathematic channel 1) and voltage (scope channel 2) waveforms with
capacitor connected across RL elements.
From Figure 4.16, the current waveform (M1) attains its maximum value ear-
lier than that of the voltage waveform (C2). Therefore, the voltage lags the
current. Thus
From Equation 4.30, the power factor before the capacitor was connected is
given as
Using Equation 4.30 again, the power factor after the capacitor was con-
nected across both the resistor and inductor is given as
4.4 Frequency Response
Figure 4.17 shows a linear network with input x(t) and output y(t). Its com-
plex frequency representation is also shown. In general, the input x(t) and
output y(t) are related by the differential equation
k1
H LP (s) = (4.45)
s 2 + Bs + w02
(a)
Linear
x(t) network y(t)
(b)
Linear
X(s)est network Y(s)est
FIGURE 4.17
Linear network representation of (a) time domain and (b) s-domain.
Impedance, Power Calculation, and Frequency Response 69
2. Highpass
k2 s 2
H HP (s) = (4.46)
s + Bs + w02
2
3. Bandpass
k3 s
HBP (s) = (4.47)
s + Bs + w02
2
4. Band reject
k 4 s 2 + k5
HBR (s) = (4.48)
s 2 + Bs + w02
where k1 , k 2 , k3 , k 4 , B, and w0 are constants.
Frequency response is the response of a network to sinusoidal input sig-
nal. If we substitute s = jw in the general network function, H(s), we get
where
and
L1 C1
1 2 3
47 mH +
0.01 µF R1
+ 1 Vpk 1000 Ω V0(t)
V1(t) 5 kHz
_
0°
_
0
FIGURE 4.18
RLC resonant circuit.
FIGURE 4.19
Analog Discovery WaveGen setup for obtaining frequency response.
Impedance, Power Calculation, and Frequency Response 71
FIGURE 4.20
Magnitude and phase response of the RLC circuit of Figure 4.18.
72 Circuits and Electronics
TABLE 4.2
Resonant Frequency, Quality Factor, and Bandwidth of RLC Circuit
Resonant
Values Frequency (kHz) Quality Factor Bandwidth (kHz)
Measured value 8.76 2.16 4.06
Calculated value 7.34 2.17 3.39
1
ω0 = (4.52)
LC
The quality factor Q is
ω 0L
Q= (4.53)
R
Bandwidth BW is given as
ω0
BW = (4.54)
Q
Using Equations 4.52, 4.53, and 4.54, respectively, one can calculate the reso-
nant frequency, quality factor, and bandwidth. Table 4.2 shows the compari-
son between the measured and calculated values:
PROBLEMS
Problem 4.1 Use the Analog Discovery board to determine the input imped-
ance of the RL circuit shown in Figure P4.1 between the nodes 1 and 0.
Compare your measured impedance with the calculated value of the input
impedance.
Problem 4.2 Use the Analog Discovery board to find the input impedance
of the RC circuit shown in Figure P4.2 between the nodes 1 and 0. Compare
your measured impedance with the calculated value of the input impedance.
Problem 4.3 Use the Analog Discovery board to determine the input imped-
ance of the RC circuit shown in Figure P4.3 between the nodes 1 and 0. Compare
your measured impedance with the calculated value of the input impedance.
Impedance, Power Calculation, and Frequency Response 73
1 L1 2
40 mH
V1
R1
+ 2 Vpk 500 Ω
1 kHz
_
0°
0
FIGURE P4.1
RL circuit.
1 R1 2
V1 200 Ω
C1
+ 2 Vpk 0.1 µF
_ 100 Hz
0°
0
FIGURE P4.2
RC circuit.
L1 2 C1
1 3
2 mH 0.01 µF
R1
+ 4 Vpk
V1 1 kHz 500 Ω
_
0°
0
FIGURE P4.3
RLC circuit.
Problem 4.4 Use the Analog Discovery board to find the rms value of the
signal given as
Vp4 (t ) = 2 + 3 cos ( 377 t ) V
Compare the experimentally measured value of the rms with the calculated
value.
74 Circuits and Electronics
Problem 4.5 Use the Analog Discovery board to find the rms value of a square
wave with peak-to-peak value of 6 V and dc value of 2 V. Assume that the fre-
quency of the square wave is 2 kHz. The waveform is shown in Figure P4.5.
Problem 4.6 (1) Use the Analog Discovery board to find the rms value of the
triangular waveform of frequency 2 kHz, shown in Figure P4.6. (2) Compare
FIGURE P4.5
Square waveform with dc offset value.
FIGURE P4.6
Triangular waveform.
Impedance, Power Calculation, and Frequency Response 75
the rms value obtained experimentally with that obtained theoretically. (3) If
the waveform is assumed to be a voltage across 10 Ω resistor, what will be the
average power dissipated in the resistor?
Problem 4.7 (1) For circuit shown in Figure P4.7, find the complex power sup-
plied by the source with the use of the Analog Discovery board. (2) If a 1.0 μF
capacitor is disconnected across the combined 100 Ω resistor and the 2 mH
inductor, what is the complex power supplied by the source? (3) Compare the
power factor of part (1) to that of part (2).
Problem 4.8 (1) For the circuit shown in Figure P4.8, find the complex power
supplied by the source. (2) If a 1.0 μF capacitor is disconnected across the 100 Ω
resistor, what is the complex power supplied by the source? (3) Compare the
power factor of part (1) to that of part (2).
Problem 4.9 For the circuit shown in Figure P4.9, (1) use the Network
Analyzer to plot the magnitude and phase characteristics. (2) Determine the
resonant frequency and bandwidth of the circuit. (3) Compare the measured
values with the theoretically calculated values for the resonant frequency
and the bandwidth of the circuit.
Problem 4.10 For the circuit shown in Figure P4.10, (1) use the Network
Analyzer to plot the magnitude and phase characteristics. (2) Determine the
resonant frequency and bandwidth of the circuit.
1 L1 2
2 mH
V1
+ 2 Vpk R1 C1
_ 5 kHz 100 Ω 1.0 µF
0°
FIGURE P4.7
RLC circuit for complex power calculations.
1 L1 2
2 mH
V1
+ 2 Vpk C1
R1 1.0 µF
_ 5 kHz 100 Ω
0°
FIGURE P4.8
RLC circuit for power calculations.
76 Circuits and Electronics
L1 C1
1 2 3
47 mH +
0.001 µF R1
+ 1 Vpk 1000 Ω V0(t)
V1(t) 5 kHz
_
0°
0 _
FIGURE P4.9
Resonant circuit.
1 R1 2
500 Ω +
L1
47 mH
+ 1 Vpk 3 V0(t)
V1(t)
_ 2 kHz C1
0°
0.01 µF _
0
FIGURE P4.10
Notch filter circuit.
5
Operational Amplifiers
A practical op amp will have a large but finite open-loop gain in the range
from 105 to 109. It also has a very large input resistance, 106 to 1010 Ω. The output
resistance might be in the range of 50 to 125 Ω. The offset voltage is small but
finite, and the frequency response will deviate considerably from the infinite
frequency response. The common-mode rejection ratio is not infinite but finite.
Table 5.1 shows the properties of two general purpose operational amplifiers.
The pin diagrams for LM741 (from www.ti.com) and OP484 (from www.
analog.com) operational amplifiers are shown in Figures 5.2 and 5.3,
respectively.
77
78 Circuits and Electronics
FIGURE 5.1
Op amp circuit symbol.
TABLE 5.1
Properties of LM741 and OP484 Op Amps
Typical Value for LM741 Typical Value for OP484
Property Op Amp Op Amp
Open-loop gain 2.0 × 105 1.5 × 105
Offset voltage 1 mV 60 μV
Input bias current 30 nA 80 nA
Unity-gain bandwidth 1 MHz 4.25 MHz
Common-mode rejection ratio 95 dB 90 dB
Slew rate 0.7 V/μV 4.0 V/μV
Inverting (–) 2 7 v+
–
+
Non-Inverting (+) 3 6 Output
v– 4 5 Offset null
FIGURE 5.2
Pin diagram of operational amplifier 741.
OUT A 1 14 OUT D
–IN A 2 –+ +– 13 –IN D
+IN A 3 12 +IN D
OP484
V+ 4 TOP VIEW 11 V–
(Not to scale)
+IN B 5 10 +IN C
–IN B 6 –+ +– 9 –IN C
OUT B 7 8 OUT C
FIGURE 5.3
Pin diagram of operational amplifier OP484.
Operational Amplifiers 79
5.2 Inverting Amplifier
An op amp circuit connected in an inverted closed-loop configuration is
shown in Figure 5.4.
It can be shown that the closed-loop gain of the amplifier is
VO R
= − 2 (5.1)
VIN R1
and the input resistance is R1. Normally, R2 > R1 such that V0 > Vin . Example
5.1 shows how to use the Analog Discovery board to obtain the voltage gain
of a closed-loop inverting amplifier.
R2
R1
Vin –
Vo
+
FIGURE 5.4
Inverting amplifier.
4 U1A
0 2
+ 1 3
2 –
OP484EP
11
1 R1 2 R2
100 kΩ 300 kΩ +
+ 1 Vpk V0(t)
Vin(t) 1 kHz
– 0°
–
0
FIGURE 5.5
Inverting amplifier built using OP484EP Op amp.
80 Circuits and Electronics
FIGURE 5.6
Sinusoidal waveform produced by WaveGen.
Operational Amplifiers 81
FIGURE 5.7
5 V and −5 V analog discovery power supplied to the inverting amplifier.
Activation of Scope:
Click on the Scope in the main WaveForms screen. Go to Run → Autoset
→ Measure → Add → Channel 1 → Horizontal → Frequency → Add
Selected Measurement → Add → Channel 1 → Vertical → Peak to Peak
→ Add Selected Instrument → Add → Channel 2 → Vertical → Peak to
Peak → Add Selected Measurement → Close Add Instrument.
Figure 5.8 shows the input and output waveforms displayed on the scope.
From Figure 5.8, it can be seen that the input and output waveforms are out of
phase by 180°. In addition, from Figure 5.8, one can obtain the following voltages:
FIGURE 5.8
Display of input (scope channel 1) and output (scope channel 2) sinusoidal waveforms of an
inverting amplifier.
82 Circuits and Electronics
From Equation 5.1, the theoretical gain of the inverting amplifier is given as
VO R 300 K
=− 2 =− = −3 (5.3)
Vin R1 100 K
From Equations 5.2 and 5.3, it can be seen that the measured gain is very
close to the theoretically calculated gain.
5.3 Non-inverting Amplifier
An op amp circuit connected in a non-inverting closed-loop configuration is
shown in Figure 5.9. It can be shown that the voltage gain is
VO R
= 1 + 2 (5.4)
Vin R1
The gain of the non-inverting amplifier is positive, meaning that the wave-
forms at the input and output of the circuit are in phase. The input imped-
ance of the amplifier approaches infinity, since the current that flows into the
positive input of the op amp is almost zero. Example 5.2 shows how to use the
Analog Discovery board to obtain the voltage gain of a non-inverting amplifier.
R2
R1
–
Vo
Vin +
FIGURE 5.9
Non-inverting amplifier.
Operational Amplifiers 83
U1A
1 3 4 OP484EP
+ 1
+ 1 Vpk 2 –
Vin(t) 500 Hz 3
– 11
0º R1 R2
2
100 kΩ 400 kΩ +
Vo(t)
–
0
FIGURE 5.10
Non-inverting amplifier built using OP484EP op amp.
Solution:
Build the Circuit:
Use a breadboard to build the circuit shown in Figure 5.10. Connect the
AWG1 (yellow wire) to node 1 of the circuit. Also, connect the scope
channel 1 positive (orange wire) to node 1. In addition, connect the scope
channel 1 negative (orange-white wire) to node 0. Furthermore, connect
the ground (black wire) to node 0 of the circuit. Moreover, connect the
scope channel 2 positive (blue wire) to node 3, and the scope channel 2
negative (blue-white wire) to node 0.
For the op amp, connect the inverting input (pin #2) to node 2 of the
circuit. In addition, connect the non-inverting input (pin #3) to node 1.
Moreover, connect the op amp output (pin #1) to node 3. Furthermore,
connect the op amp pin #4 to the 5 V voltage source (red wire of the
Analog Discovery). Furthermore, connect the op amp pin #11 to the −5 V
voltage source (white wire of the Analog Discovery).
Generation of Sine Wave:
Click on the WaveGen in the main WaveForms screen. Go to Basic →
Sine → Frequency (set to 1000 Hz) → Amplitude (set to 1 V) → Offset
(set to 0 V) → Symmetry (set to 50%) → Click Run AWG1. Figure 5.11
shows the Analog Discovery WaveGen setup for generating a sinusoidal
waveform.
Activation of the Power Supply:
Click Voltage in the main WaveForms screen → Click Power to turn on
the voltage sources → Click V+ to turn on the 5 V source → Click V− to
turn on the −5 V voltage source. Upon completion of the measurements,
click Power again to turn it off. Figure 5.12 shows the +V and −V voltage
sources for supplying power to the op amp.
Activation of Scope:
Click on the Scope in the main WaveForms screen. Go to Run → Autoset
→ Measure → Add → Channel 1 → Horizontal → Frequency → Add
Selected Measurement → Add → Channel → Vertical → Peak to Peak
→ Add Selected Instrument → Add → Channel 2 → Vertical → Peak to
Peak → Add Selected Measurement → Close Add Instrument. Figure
5.13 shows the input and output waveforms displayed on the scope.
84 Circuits and Electronics
FIGURE 5.11
Sinusoidal waveform produced by WaveGen AWG1.
FIGURE 5.12
5 V and −5 V voltage sources supplied to the non-inverting amplifier.
From Figure 5.13, it can be seen that the input and output waveforms are in
phase. In addition, from Figure 5.13, we obtain the following voltages:
FIGURE 5.13
Display of input (scope channel 1) and output (scope channel 2) sinusoidal waveforms of the
non-inverting amplifier.
VO 9.954
= = 4.93 (5.5)
VIN 2.02
VO R 400 K
= 1+ 2 = 1+ = 5 (5.6)
VIN R1 100 K
From Equations 5.5 and 5.6, it can be seen that the measured gain is very
close to the theoretically calculated gain.
5.4 Weighted Summer
A circuit for the weighted summer is shown in Figure 5.14. Using Ohm’s Law,
we get
V1 V V
I1 = , I 2 = 2 , , I n = n (5.7)
R1 R2 Rn
86 Circuits and Electronics
RF
IF
R1
V1 –
I1 VO
V2 +
I2 R
2
Vn
In R
n
FIGURE 5.14
Weighted summer circuit.
I F = I1 + I 2 + I N (5.8)
VO = − I F RF (5.9)
R R R
VO = − F V1 + F V2 + F VN (5.10)
R1 R2 RN
Solution:
Figure 5.15 shows a circuit that can be used to realize Equation 5.11. Note
that R1 = R2 = R3. From Equation 5.10, we get
(
Vo (t ) = − V1 (t ) + V2 (t ) )
where
V1 (t ) = 50sin ( 400 πt ) mV
V2 (t ) = 200 mV
Operational Amplifiers 87
4 U1A
0 3 +
1
2 –
OP484EP 3
R1 R2
1
100 kΩ 2 100 kΩ +
+ 50 mVpk
VAC 200 Hz 4 R3
– 0°
100 kΩ V0(t)
VDC
200 mV
–
0
FIGURE 5.15
Op amp summer circuit for Equation 5.11.
FIGURE 5.16
Sinusoidal waveform and dc signal produced by AWG1 and AWG2, respectively.
Activation of Scope:
Click on the Scope in the main WaveForms screen. Go to Run → Autoset
→ Measure → Add → Channel 1 → Horizontal → Frequency → Add
Selected Measurement → Add → Channel 1 → Vertical → Peak to Peak
→ Add Selected Instrument → Add → Channel 2 → Vertical → Peak
to Peak → Add → Channel 2 → Vertical → Average → Add Selected
Measurement → Close Add Instrument. Figure 5.17 shows the input and
output waveforms displayed on the scope.
From Figure 5.17, it can be seen that the input and output waveforms
are out of phase by 180°. In addition, the output voltage has a dc compo-
nent of about 212.l4 mV.
FIGURE 5.17
Display of input sinusoid (scope channel 1) and output (scope channel 2) waveforms of the
summer amplifier.
IC
R1
Vin –
IR Vo
+
FIGURE 5.18
Op amp inverting integrator.
Since I R = I C
1 t
VO (t ) = −
R1C ∫ V (t ) d τ + V ( 0 )
0
in O (5.13)
The above circuit is termed the Miller integrator. The integrating time con-
stant is CR1. It behaves as a lowpass filter, which passes low frequencies and
attenuates high frequencies. However, at dc the capacitor becomes open cir-
cuited, and there is no longer a negative feedback from the output to the input.
The output voltage then saturates. To provide finite closed-loop gain at dc, a
resistance R2 is connected in parallel with the capacitor. The circuit is shown
in Figure 5.19. The resistance R2 is chosen such that R2 is far greater than R1.
90 Circuits and Electronics
R2
R1
Vin –
Vo
+
FIGURE 5.19
Miller integrator with finite closed-loop gain at dc.
R1
C IR
Vin –
IC VO
+
FIGURE 5.20
Op amp differentiator circuit.
dVin
IC = C , and VO (t ) = − I R R1 (5.14)
dt
Since
I C (t ) = I R (t )
we have
dVin (t )
VO (t ) = −CR1 (5.15)
dt
Differentiator circuits differentiate input signals. This implies that if an
input signal is rapidly changing with respect to time, the output of the dif-
ferentiator circuit will appear “spike-like.” Example 5.4 shows how to use the
integrator to convert a square wave to a triangular wave.
0 4 U1A
3
+
1
2 –
OP484EP
11
R1 2 R2
3
1
100 kΩ 1 MΩ
C1
V1 +
+ 0.01 µF
1 kHz
4V
Vo(t)
–
0
FIGURE 5.21
Op amp integrator circuit for converting square wave to triangular waveform.
Solution:
Build the Circuit:
Use a breadboard to build the circuit shown in Figure 5.21. Connect the
AWG1 (yellow wire) to node 1 of the circuit. Also, connect the scope
channel 1 positive (orange wire) to node 1. In addition, connect the scope
channel 1 negative (orange-white wire) to node 0. Furthermore, connect
the ground (black wire) to node 0 of the circuit. Moreover, connect the
scope channel 2 positive (blue wire) to node 3, and the scope channel 2
negative (blue-white wire) to node 0.
For the op amp, connect the inverting input (pin #2) to node 2 of the
circuit. In addition, connect the non-inverting input (pin #3) to node 0.
Moreover, connect the op amp output (pin #1) to node 3 of the circuit.
Furthermore, connect the op amp pin #4 to the 5 V voltage source (red
wire of the Analog Discovery). Furthermore, connect the op amp pin #11
to the −5 V voltage source (white wire of the Analog Discovery).
Generation of Square Wave:
Click on the WaveGen in the main WaveForms screen. Go to Basic → Square
Wave → Frequency (set to 1000 Hz) → Amplitude (set to 2 V) → Offset (set
to 0 V) → Symmetry (set to 50%) → Click Run AWG1. Figure 5.22 shows the
Analog Discovery WaveGen setup for generating the square wave.
Activation of the Power Supply:
Click Voltage in the main WaveForms screen → Click Power to turn on
the voltage sources → Click V+ to turn on the 5 V source → Click V− to
92 Circuits and Electronics
FIGURE 5.22
Square waveform produced by AWG1.
FIGURE 5.23
Display of input square (scope channel 1) and output triangular (scope channel 2) waveforms
of the integrator circuit.
5.6.1 Lowpass Filters
Lowpass filters pass low frequencies and attenuate high frequencies. The
transfer function of a first order lowpass filter has the general form
k
H(s) = (5.16)
s + ω0
A circuit that can be used to implement a first-order lowpass filter is shown
in Figure 5.24.
The voltage transfer function for Figure 5.24 is
V0 (s) k
H(s) = = (5.17)
Vin (s) 1 + sR1C1
RF
R2
–
Vo
Vin +
R1
C1
FIGURE 5.24
First-order lowpass filter.
94 Circuits and Electronics
5.6.2 Highpass Filters
Highpass filters pass high frequencies and attenuate low frequencies. The
transfer function of the first-order highpass filter has the general form
ks
H(s) = (5.20)
s + ω0
The circuit, shown in Figure 5.25, can be used to implement the first-order
highpass filter. It is basically the same as Figure 5.24, except that the positions
of R1 and C1 in Figure 5.24 have been interchanged.
For Figure 5.25, the voltage transfer function is
VO s R
H(s) = (s) = 1 + F (5.21)
Vin 1 R2
s+
where R1C1
R
k = 1 + F (5.22)
R2
k = gain at very high frequency
RF
R2
–
Vo
Vin +
C1
R1
FIGURE 5.25
First-order highpass filter.
Operational Amplifiers 95
1
f0 = (5.23)
2 πR1C1
Although the filter, shown in Figure 5.25, passes all signal frequencies higher
than f0, the high-frequency characteristic is limited by the bandwidth of the
op amp.
5.6.3 Bandpass Filters
Bandpass filters pass a band of frequencies and attenuate other bands. The
filter has two cut-off frequencies f L and f H . We assume that f H > f L. All signal
frequencies lower than f L or greater than f H are attenuated. The general form
of the transfer function of a bandpass filter is
ω
k c s
Q
H(s) = (5.24)
ω
s 2 + c s + ω c2
Q
where
k is the passband gain.
ωc is the center frequency in rad/s.
The quality factor Q is related to the 3-dB bandwidth and the center fre-
quency by the expression
ωc fc
Q= = (5.25)
BW f H − fL
Bandpass filters with Q < 10 are classified as wide bandpass. On the other
hand, bandpass filters with Q > 10 are considered narrow bandpass.
Wideband pass filters may be implemented by cascading lowpass and high-
pass filters. The order of the bandpass filters is the sum of the highpass and
lowpass sections. The advantages of this arrangement are that the fall-off,
bandwidth and midband gain can be set independently.
Figure 5.26 shows the wideband pass filter, built using first-order highpass
and first-order lowpass filters. The magnitude of the voltage gain is the prod-
uct of the voltage gains of both the highpass and lowpass filters.
A narrowband pass filter normally has a high Q-value. A circuit that can
be used to implement a narrowband filter is a multiple feedback filter, as
shown in Figure 5.27.
96 Circuits and Electronics
RF1 RF2
RG1 RG2
– –
X1 X2
+ +
+ R2 +
Vin C1 Vo
R1 C2
– –
FIGURE 5.26
Second-order wideband pass filter.
C1
R2
–
+ R1 C2
+ +
Vin
Vo
– –
FIGURE 5.27
Multiple-feedback bandpass filter.
5.6.4 Band-Reject Filters
A band-reject is used to eliminate a specific band of frequencies. It is nor-
mally used in communication and biomedical instruments to eliminate
unwanted frequencies. The general form of the transfer function of the band-
reject filter is
HBR =
(
k PB s 2 + ω C2 ) (5.26)
ω
s + C s + ω C2
2
Q
where
k PB is the passband gain.
ω C is the center frequency of the band-reject filter.
Band-reject filters are classified as wideband reject (Q < 10) and narrow-
band reject filters (Q > 10). Narrowband reject filters are commonly called
notch filters. The wideband reject filter can be implemented by summing the
responses of the highpass section and the lowpass section through a sum-
ming amplifier. The block diagram arrangement is shown in Figure 5.28.
Operational Amplifiers 97
Lowpass section
1
0.707
Summer
fH f 1
0.707
V1 Vo
1 fH fL f
0.707
fL f
Highpass section
FIGURE 5.28
Block diagram of wideband reject filter.
The order of the band-reject filter is dependent on the order of lowpass and
highpass sections. There are two important requirements for implementing
the wideband reject filter using the scheme shown in Figure 5.28:
R1 R2
C1 C2 –
+ +
+
Vin R3 Vo
C3
– –
FIGURE 5.29
Narrowband reject Twin-T network.
98 Circuits and Electronics
R1 R2 U1A OP484EP
3 5 3 4
+ 1
100 kΩ 100 kΩ 2 –
C3
440 pF 11
0
C1 C2 4
2 1
220 pF +
220 pF
+
Vs VO
– 1 Vpk R3
1 kHz 50 kΩ
0° –
0
FIGURE 5.30
Band-reject filter.
Operational Amplifiers 99
FIGURE 5.31
Analog Discovery WaveGen setup for obtaining frequency response.
→ Symmetry (set to 50%) → Click Run AWG1. Figure 5.31 shows the Analog
Discovery WaveGen setup for generating a sinusoidal waveform.
Activation of the Power Supply:
Click Voltage in the main WaveForms screen → Click Power to turn on
the voltage sources → Click V+ to turn on the 5 V source → Click V– to
turn on the −5 V voltage source → Upon completion of the measure-
ments, click Power again to turn it off.
Activation of Network Analyzer:
The Network Analyzer uses both oscilloscope channels as the input
and output channels. Channel 1 is for measuring the input signal and
Channel 2 is for measuring the output signal.
Open up the Network Analyzer that can be found under the More
Instruments tab. Use the following values for setting up the Network
Analyzer:
FIGURE 5.32
Magnitude and phase response of the RLC circuit of Figure 5.30.
The theoretical value of the center frequency of Figure 5.30, given by Equation
(5.27), is
1 1
fC = = = 7.23 KHz (5.28)
2 πRC 2 π(10 )(220)(10−12 )
5
The calculated value of the center frequency (i.e. 7.23 kHz) is close to the mea-
sured value of 7.57 kHz.
PROBLEMS
Problem 5.1 For the circuit shown in Figure P5.1, (1) build the circuit and use
the Analog Discovery board to find the gain. (2) Compare the gain obtained
in part (1) to the gain calculated using Equation 5.1.
Operational Amplifiers 101
0 3 4 U1A
+ 1 3
2
– OP484EP
11
R1 2 R2
1
100 kΩ 600 kΩ +
+ 1 Vpk Vo
VS 2 kHz
–
0° –
0
FIGURE P5.1
Inverting amplifier.
Problem 5.2 For the circuit shown in Figure P5.2, (1) build the circuit and use
the Analog Discovery board to find the gain. (2) Compare the gain obtained
in part (1) to the gain calculated using Equation 5.1.
Problem 5.3 The circuit shown in Figure P5.3 can be used to add the first
two terms of the Fourier series expansion of a square wave. Build the circuit
and use the Analog Discovery board to display the output waveform. How
close is the output waveform compared to a square wave of a fundamental
frequency of 2 kHz?
Problem 5.4 For Figure P5.4, (1) what will be the output waveform if the
frequency of the input square waveform is 2 kHz? (2) Determine the peak-
to-peak value of the output waveform when the frequency of the input
waveform is (i) 4 kHz, (ii) 6 kHz, and (iii) 8 kHz. (3) Why does the peak-to-
peak voltage of the output waveform decrease with increase in the input
frequency?
U1A
1 3 4 OP484EP
+ 1
+ 1 Vpk 2 –
VS 1 kHz 3
– 11
0° R1 R2
2
100 kΩ 800 kΩ +
Vo
–
0
FIGURE P5.2
Non-inverting amplifier.
102 Circuits and Electronics
0 3 4 U1A
+ 1
2 –
OP484EP
11
1 R1
3
100 kΩ 2
+ 300 mVpk R2
VS1 4 R3
2 kHz
–
0° 100 kΩ 100 kΩ +
+ 100 mVpk
VS2 Vo
6 kHz
–
0°
–
0
FIGURE P5.3
Summer amplifier for summing two terms of Fourier series terms.
0 3 4 U1A
+ 1
2
–
OP484EP
11
1 R1 2 R2 3
50 kΩ 1 MΩ
C1
+ 0.01 µF +
VS 2 kHz
4V Vo
–
0
FIGURE P5.4
Integrator circuit.
Problem 5.5 For the circuit shown in Figure 5.21, if the frequency of the
square wave is decreased to (1) 500 Hz, and (2) 50 Hz, determine the output
voltage. Why is the output voltage of the integrator no longer a triangular
waveform at a frequency of 50 Hz?
Problem 5.6 Build the circuit shown in Figure P5.6. If the input is a triangu-
lar waveform with frequency of 1 kHz, capture the output voltage by the use
Operational Amplifiers 103
4 U1A
0 3
+
1
2 –
OP484EP 2
11
C1 R1
1 3
0.01 µF 100 kΩ +
+
VS 1 V 1 ms Vo
0 –
FIGURE P5.6
Differentiator circuit.
U1A OP484EP
3 4
+ 1
2 –
4 R3 3
11
100 kΩ 1 R1 2 R2
FIGURE P5.7
Op amp lowpass filter.
104 Circuits and Electronics
U1A OP484EP
3 4
+ 1
2
–
4 R3 R4 11 3
100 kΩ 1 100 kΩ 6 R1 R2
2
+ 1 Vpk C1 C2 100 kΩ 300 kΩ +
VS
– 1 kHz 100 pF 100 pF Vo
0°
0 –
FIGURE P5.8
Op amp two-stage lowpass filter.
Problem 5.9 Build the circuit shown in Figure P5.9. Use the Network
Analyzer of the Analog Discovery board to: (1) Obtain the Bode plot of the
filter. (2) Measure the cut-off frequency. (3) Obtain the high-frequency gain of
the circuit. Compare the measured values, obtained in parts (2) and (3), with
those calculated by using Equations 5.22 and 5.23.
Problem 5.10 Build the circuit shown in Figure P5.10. Use the Network
Analyzer of the Analog Discovery board to: (1) Obtain the Bode plot of the
filter. (2) Measure the cut-off frequency. (3) Obtain the high-frequency gain
of the circuit.
Problem 5.11 Build the circuit shown in Figure P5.11. Use the Analog
Discovery board to: (1) Measure the center frequency and (2) measure the
low cut-off and high cut-off frequencies. (3) Calculate the bandwidth of the
U1A OP484EP
4
3
+
1
2 –
C1
4 11 3
1 0.022 µF R1 R2
2
R3 100 kΩ 400 kΩ +
+ 1 Vpk
VS 1 kHz 1 kΩ
– Vo
0°
–
0
FIGURE P5.9
Op amp highpass filter.
Operational Amplifiers 105
U1A OP484EP
4
3
+
1
2
–
C1 C2
4 11 3
1 5 R2
0.022 µF 0.022 µF R1 2
R4 100 kΩ +
1 Vpk R3 300 kΩ
+ 1 kΩ
VS 1 kHz 1 kΩ
– Vo
0°
0
–
FIGURE P5.10
Op amp two-stage highpass filter.
U1A OP484EP
R1 3 R2 5
4
3
+
1
10 kΩ 10 kΩ
2
C3 –
0.044 µF 11
0
C1 C2
2 1 4
+
0.022 µF 0.022 µF
+
VS Vo
– 1 Vpk R3
1 kHz 5 kΩ
0° –
0
FIGURE P5.11
Op amp notched filter.
filter. (4) Compare your measured center frequency with that calculated from
Equation 5.27.
Problem 5.12 For Figure P5.12, build the circuit. Use the Analog Discovery
board to measure: (1) The low cut-off frequency. (2) The high cut-off frequency,
and (3) the maximum gain.
106 Circuits and Electronics
0 3
4 U1A
+
1
2 –
OP484EP
11
C2 R1 R2
4 1 3
500 pF 1 MΩ 200 kΩ
2
C1
+ 1 Vpk
VS 1 kHz
– 100 pF +
0°
Vo
0 –
FIGURE P5.12
Op amp bandpass filter.
6
Diodes
6.1 Diode Characteristics
A diode is a two-terminal device. The electronic symbol of a diode is shown
in Figure 6.1a. Ideally, the diode conducts current in one direction. The cur-
rent versus voltage characteristics of an ideal diode are shown in Figure 6.1b.
The I–V characteristic of a semiconductor junction diode is shown in
Figure 6.2. The characteristic is divided into three regions: forward-biased,
reversed-biased, and the breakdown regions.
In the forward-biased and reversed-biased regions, the current, i, and the
voltage, v, of a semiconductor diode are related by the diode equation
where
IS is the reverse saturation current or leakage current,
n is an empirical constant between 1 and 2,
VT is thermal voltage, given by
kT
VT = (6.2)
q
and
k is Boltzmann’s constant = 1.38 × 10−23 J/°K,
q is the electronic charge = 1.6 × 10−19 Coulombs,
T is the absolute temperature in °K.
At room temperature (25°C), the thermal voltage is about 25.7 mV.
6.1.1 Forward-Biased Region
In the forward-biased region, the voltage across the diode is positive. If we
assume that at room temperature the voltage across the diode is greater than
0.1 V, then Equation 6.1 simplifies to
107
108 Circuits and Electronics
(a)
Anode Cathode
i + –
(b)
i
FIGURE 6.1
Ideal diode (a) electronic symbol, (b) I–V characteristics.
Reversed-
biased Forward-
Breakdown
biased
FIGURE 6.2
I–V characteristics of a semiconductor junction diode.
i = IS e( v/nVT ) (6.3)
iD = IS e( vD/nVT ) (6.4)
To obtain the dynamic resistance of the diode at a specified operating point,
we differentiate Equation 6.3 with respect to v, and we have
di I s e( v/nVT )
=
dv nVT
di I s e( vD/nVT ) I
v =VD = = D
dv nVT nVT
Diodes 109
Equation 6.6 can be used to obtain the diode constants n and IS, given the
data that consists of the corresponding values of voltage and current. From
Equation 6.6, a curve of v versus ln(i) will have a slope given by 1/ nVT and a
y-intercept of ln( IS ). Example 6.1 shows how the Analog Discovery board can
be used to obtain the I–V characteristics of a diode.
1
+
R1
CH #2
1 kΩ
+ 5 Vpk 2 –
V1 10 Hz
– 0° D1 +
1N4001GP CH #1
0 –
FIGURE 6.3
Diode 1N4001 circuit.
110 Circuits and Electronics
FIGURE 6.4
Analog Discovery WaveGen setup for I–V characteristic measurement.
6.2 Half-Wave Rectification
A half-wave rectifier circuit is shown in Figure 6.6. It consists of an alternat-
ing current (ac) source, a diode, and a resistor.
Assuming that the diode is ideal, the diode conducts when source voltage
is positive, making
v 0 = vS when vS ≥ 0 (6.7)
Diodes 111
FIGURE 6.5
I–V characteristics of diode 1N4001.
+
+
R
VS VO
–
–
FIGURE 6.6
Half-wave rectifier circuit.
When the source voltage is negative, the diode is cut off, and the output
voltage is
v 0 = 0 when vS < 0 (6.8)
Example 6.2 shows how to use the Analog Discovery board to obtain the
input and output waveforms of a half-wave rectifier.
D1
1N4001GP
+ 5 Vpk
Vs 60 Hz
– 2
0° +
R1
1 kΩ Vo
–
0
FIGURE 6.7
Half-wave rectifier circuit built using diode 1N4001.
Solution:
Build the Circuit:
Use a breadboard to build the circuit shown in Figure 6.7. Connect
the AWG1 (yellow wire) to node 1 of the circuit. Also, connect the
scope channel 1 positive (orange wire) to node 1. In addition, connect
the scope channel 1 negative (orange-white wire) to node 0. Moreover,
connect the ground (black wire) to node 0 of the circuit. Furthermore,
connect the scope channel 2 positive (blue wire) to node 2, and the scope
channel 2 negative (blue-white wire) to node 0.
Generation of Sine Wave:
Click on the WaveGen in the main WaveForms screen. Go to Basic →
Sine → Frequency (set to 60 Hz) → Amplitude (set to 5 V) → Offset (set to
0 V) → Symmetry (set to 50%) → Click Run AWG1. Figure 6.8 shows the
setup of Analog Discovery WaveGen AWG1.
Activation of Scope:
Click on the Scope in the main WaveForms screen. Go to Run → Autoset
→ Measure → Add → Channel 1 → Horizontal → Frequency → Add
Selected Measurement → Add → Channel 1 → Vertical → Peak to Peak
→ Add Selected Instrument → Add → Channel 2 → Vertical → Peak to
Peak → Close Add Instrument.
Figure 6.9 shows the oscilloscope display of half-wave rectification. The
battery-charging circuit, which consists of a voltage source connected to a
battery through a resistor and a diode, is explored in Example 6.3.
FIGURE 6.8
Analog Discovery WaveGen setup for half-wave rectification circuit.
FIGURE 6.9
Half-wave rectification waveform (scope channel 2).
114 Circuits and Electronics
D1
1N4001GP
+ 5 Vpk
Vs 60 Hz 2
– 0°
R1 +
1 kΩ Vo
–
3
V2
2V
0
FIGURE 6.10
Battery-charging circuit.
Solution:
Build the Circuit:
Use a breadboard to build the circuit shown in Figure 6.10. Connect
the AWG1 (yellow wire) to node 1 of the circuit. Also, connect the
scope channel 1 positive (orange wire) to node 1. In addition, connect
the ground (black wire) to node 0 of the circuit. Moreover, connect the
scope channel 1 negative (orange-white wire) to node 0. Furthermore,
connect the scope channel 2 positive (blue wire) to node 2, and the scope
channel 2 negative (blue-white wire) to node 3.
Generation of Sine Wave:
Click on the WaveGen in the main WaveForms screen. Go to Basic →
Sine → Frequency (set to 60 Hz) → Amplitude (set to 5 V) → Offset (set to
0 V) → Symmetry (set to 50%) → Click Run AWG1.
Generation of the DC Input Voltage
Select Channels → Channel 2 (AWG2) → Go to Basic → dc → 2 V → Click
Run AWG2.
Activation of Scope:
Click on the Scope in the main WaveForms screen. Go to Run → Autoset
→ Measure → Add → Channel 1 → Horizontal → Frequency → Add
Selected Measurement → Add → Channel 1 → Vertical → Peak to Peak
→ Add Selected Instrument → Add → Channel 2 → Vertical → Peak
to Peak → Control → Add Mathematic Channel → Custom → Type
C2/1000 (this current is calculated as the voltage across the resistor
1000 Ω divided by resistance 1000 Ω) → control → Change Math Mode
Units to A → Change the M1 range to 2 mA/V.
Figure 6.11 shows the Digilent Analog Discovery WaveGen setup, and
Figure 6.12 shows the oscilloscope display of the input and output waveforms.
Diodes 115
FIGURE 6.11
Analog Discovery WaveGen setup for battery-charging circuit.
FIGURE 6.12
The current flowing through the diode (scope channel M1).
116 Circuits and Electronics
FIGURE 6.13
Conduction angle of a battery-charging circuit.
t1 = 0.1 ms,
t2 = 1.5 ms,
t3 = 7.0 ms, and
t4 = 8.4 ms
The conduction angle is that part of the cycle during which the diode is
conducting.
t −t
Conduction angle = 3 2 * 360 (6.9)
2 (t4 − t1 )
Using Equation 6.9 and the values of t1 , t2 , t3 , and t4 obtained from Figure
6.13, the conduction angle is
Conduction angle = 119.28°
From Figure 6.13, the peak current flowing through the diode is 2.387 mA.
6.3 Peak Detector
A peak detector is a circuit that can be used to detect the peak value of an
input signal. Peak detectors can also be used as demodulators to detect the
Diodes 117
D1
+
+
VS C VO
R
– –
FIGURE 6.14
Peak detector circuit.
−(t −t1 )
v 0 (t) = Vme RC (6.10)
If RC >> T, where T is the period of the input signal, it can be shown that the
ripple voltage can be given as
Vm
Vr( peak −to− peak ) = (6.11)
f 0CR
D1
1N4001GP
+ 5 Vpk
VS 60 Hz 2
– 0°
R1 C1 +
10 kΩ 10 µF VO
0 –
FIGURE 6.15
Peak detector circuit for measuring ripple voltage.
100 kΩ. (3) Use Equation 6.11 to calculate the ripple voltages for load
resistances of 10, 50, and 100 kΩ and compare the calculated values with
the measured ones.
Solution:
Build the Circuit:
Use a breadboard to build the circuit shown in Figure 6.15. Connect
the AWG1 (yellow wire) to node 1 of the circuit. Also, connect the
scope channel 1 positive (orange wire) to node 1. In addition, connect
the scope channel 1 negative (orange-white wire) to node 0. Moreover,
connect the ground (black wire) to node 0 of the circuit. Furthermore,
connect the scope channel 2 positive (blue wire) to node 2, and the scope
channel 2 negative (blue-white wire) to node 0.
Generation of Sine Wave:
Click on the WaveGen in the main WaveForms screen. Go to Basic →
Sine → Frequency (set to 60 Hz) → Amplitude (set to 5 V) → Offset (set to
0 V) → Symmetry (set to 50%) → Click Run AWG1. Figure 6.16 shows the
setup for Analog Discovery WaveGen AWG1.
Activation of Scope:
Click on the Scope in the main WaveForms screen. Go to Run →
Autoset → Measure → Add → Channel 1 → Horizontal → Frequency
→ Add Selected Measurement → Add → Channel 1 → Vertical → Peak
to Peak → Add Selected Instrument → Add → Channel 2 → Vertical →
Peak to Peak → Add Selected Measurement → Close Add Instrument.
Figure 6.17 shows the oscilloscope display of the input and output
waveforms.
For each of the load resistors of 10, 50, and 100 kΩ, the ripple voltage was
measured. In addition, Equation 6.11 was used to calculate the ripple volt-
age. Table 6.1 shows the calculated and measured ripple voltages. It can be
seen from Table 6.1 that there are agreements between the calculated and
measured ripple voltages, especially for the 50 kΩ resistor.
Diodes 119
FIGURE 6.16
Analog Discovery WaveGen setup for peak detector circuit.
FIGURE 6.17
Display of input (scope channel 1) and output (scope channel 2) waveforms of a peak detector
with 10 kΩ resistor.
120 Circuits and Electronics
TABLE 6.1
Measured and Calculated Ripple Voltages for Peak Detector Circuit
Peak Voltage
(V) (5 Calculated Measured
Resistance Capacitance Frequency V-Diode Ripple Ripple
(Ω) (F) (Hz) Drop) Voltage (V) Voltage (V)
1.00E+04 1.00E−05 60 4.3 7.17E−01 6.34E−01
5.00E+04 1.00E−05 60 4.3 1.43E−01 1.54E−01
1.00E+05 1.00E−05 60 4.3 7.17E−02 8.40E−02
6.4 Full-Wave Rectification
A full-wave rectifier that does not require a center-tapped transformer is the
bridge rectifier of Figure 6.18. When vS (t) is positive, diodes D1 and D3 con-
duct, but diodes D2 and D4 do not conduct. The current enters the load resis-
tor R through node A. In addition, when vS (t) is negative, the diodes D2 and
D4 conduct, but diodes D1 and D3 do not conduct. The current entering the
load resistor R enters through node A. The output voltage is
D4 D1
VS(t) A
D3 +
D2
R VO(t)
FIGURE 6.18
Bridge rectifier.
Diodes 121
1 D1 2
+
1N4001GP
D2
D4 1N4001GP
1N4001GP
+ 5 Vpk R1 VO
VS 100 Hz
– 0° D3 100 kΩ
1N4001GP –
0
4
FIGURE 6.19
Full-wave bridge rectifier circuit built using diodes 1N4001.
FIGURE 6.20
Analog Discovery WaveGen setup for full-wave rectifier circuit.
122 Circuits and Electronics
FIGURE 6.21
Input (scope channel 1) and output (scope channel 2) waveforms of a full-wave rectifier.
Activation of Scope:
Click on the Scope in the main WaveForms screen. Go to Run →
Autoset → Measure → Add → Channel 1 → Horizontal → Frequency
→ Add Selected Measurement → Add → Channel 1 → Vertical →
Peak to Peak → Add Selected Instrument → Add → Channel 2 →
Vertical → Peak to Peak → Add Selected Instrument → Close Add
Instrument. Figure 6.21 shows the oscilloscope display of the full-
wave rectification.
+ D4 D1
A
Vs
+
– D3 D2
R C VO
–
FIGURE 6.22
Bridge rectifier with RC smoothing filter.
Diodes 123
Vm
Vr( peak −to− peak ) = (6.13)
2 f oCR
where
Vm is peak value of the input sinusoidal waveform
fo is the frequency of the input sinusoidal waveform
and the average dc voltage at the output is approximately
Vr Vm
Vdc = Vm − = Vm − (6.14)
2 4 f oCR
Example 6.6 demonstrates the effects of the RC smoothing filter on the out-
put of Figure 6.22.
1 D1 2
1N4001GP +
D2
D4 1N4001GP C1
1N4001GP
0.22 µF
+ 5 Vpk R1 VO
Vs 100 Hz
– 0° 100 kΩ
D3
1N4001GP –
0 4
FIGURE 6.23
Bridge rectifier with RC smoothing filter.
124 Circuits and Electronics
Solution:
Build the Circuit:
Use a breadboard to build the circuit shown in Figure 6.23. Connect
the AWG1 (yellow wire) to node 1 of the circuit. Also, connect the
scope channel 1 positive (orange wire) to node 1. In addition, connect
the scope channel 1 negative (orange-white wire) to node 0. Moreover,
connect the ground (black wire) to node 0 of the circuit. Furthermore,
connect the scope channel 2 positive (blue wire) to node 2, and the scope
channel 2 negative (blue-white wire) to node 0.
Generation of Sine Wave:
Click on the WaveGen in the main WaveForms screen. Go to Basic →
Sine → Frequency (set to 100 Hz) → Amplitude (set to 5 V) → Offset (set
to 0 V) → Symmetry (set to 50%) → Click Run AWG1. Figure 6.24 shows
the setup of the Analog Discovery WaveGen AWG1.
Activation of Scope:
Click on the Scope in the main WaveForms screen. Go to Run → Autoset
→ Measure → Add → Channel 1 → Horizontal → Frequency → Add
Selected Measurement → Add → Channel 1 → Vertical → Peak to Peak
→ Add Selected Instrument → Add → Channel 2 → Vertical → Peak to
Peak → Add Selected Instrument → Close Add Instrument. Figure 6.25
shows the oscilloscope display of the input and output waveforms.
FIGURE 6.24
Analog Discovery WaveGen setup for bridge rectifier with RC filter.
Diodes 125
FIGURE 6.25
Input (scope channel 1) and output (scope channel 2) waveforms of bridge rectifier with RC
smoothing filter.
TABLE 6.2
Measured and Calculated Ripple Voltages for Bridge Rectifier with RC Smoothing
Filter
Peak Voltage (V) Calculated Measured
Resistance Capacitance Frequency (5 V-2 Diode Ripple Voltage Ripple Voltage
(Ω) (F) (Hz) Drops) (V) (V)
1.00E+05 2.20E−07 100 3.6 8.18E−01 6.90E−01
1.00E+05 4.40E−07 100 3.6 4.09E−01 4.02E−01
1.00E+05 6.60E−07 100 3.6 2.73E−01 2.86E−01
For each of the load capacitors of 0.22, 0.44, and 0.66 μF, the ripple voltage
was measured. In addition, Equation 6.13 was used to calculate the ripple
voltage. Table 6.2 shows the calculated and measured ripple voltages. It can
be seen from Table 6.2 that there are agreements between the calculated and
measured ripple voltages, especially for the 0.44 μF capacitor.
PROBLEMS
Problem 6.1 Determine the I–V characteristics of a green LED in the circuit
shown in Figure P6.1.
Problem 6.2 Obtain the I–V characteristics of a red LED in the circuit shown
in Figure P6.2.
126 Circuits and Electronics
1
+
R1
CH #2
1 kΩ
+ 5 Vpk –
V1 2
10 Hz
– 0° +
LED2
CH #1
–
0
FIGURE P6.1
Resistive circuit with green LED.
1
+
R1
1 kΩ CH #2
+ 5 Vpk 2 –
V1 10 Hz
– +
0°
LED1 CH #1
–
0
FIGURE P6.2
Resistive circuit with red LED.
D1
1N4001GP
+ 5 Vpk
VS 60 Hz 2
– 0°
R1 +
1 kΩ VO
–
3
V2
3V
0
FIGURE P6.3
Battery-charging circuit with battery voltage of 3 V.
D1
1N4001GP
+ 5 Vpk
60 Hz 2
– 0°
R1 +
VO
500 Ω
–
3
V2
1V
0
FIGURE P6.4
Battery-charging circuit with battery voltage of 1 V.
(3) If the frequency of the source is increased to 100 Hz, why is the switching
on and off of the LED not visible to the eye?
Problem P6.6 Figure P6.6 shows a peak detector. (1) Display the input and
output voltages. (2) Measure the ripple voltage for load resistors of source fre-
quencies of 60, 600, and 6000 Hz. (3) Calculate the ripple voltages for source
frequencies of 60, 600, and 6000 Hz and compare the calculated values with
the measured ones.
Problem P6.7 A full-wave rectifier, built using LEDs and diodes, is shown in
Figure P6.7. LED1 is a green LED, and LED2 is a red LED. (1) Use the Analog
128 Circuits and Electronics
+
R1
VO
1 kΩ
+ 5 Vpk –
VS 10 Hz 2
– 0°
LED1
FIGURE P6.5
Half-wave rectifier with LED.
D1
1N4001GP
+ 5 Vpk
VS 60 Hz 2
– 0°
R1 C1 +
10 kΩ 4.7 µF VO
0 –
FIGURE P6.6
Peak detector for measuring the ripple voltage at various frequencies.
D1 2
1N4001GP +
D2
1N4001GP
LED2
+ 5 Vpk 0 R1 VO
VS 1 Hz LED1
– 0° 1 kΩ
3
–
FIGURE P6.7
Bridge rectifier with LEDs and diodes.
Diodes 129
Discovery board to display the input and output voltages. (2) What is the
peak-to-peak voltage across the resistor R1? (3) Why do the two LEDs alter-
nately turn on and off? (4) If the frequency of the source is increased to 100 Hz,
why would the switching on and off of the LEDs not be visible to the eye?
Problem P6.8 A full-wave rectifier, built using LEDs, diodes, and an RC fil-
ter, is shown in Figure P6.8. LED1 is a green LED, and LED2 is a red LED.
(1) Use the Analog Discovery board to display the input and output voltages.
(2) What is the peak-to-peak voltage across the resistor R1?
Problem 6.9 Figure P6.9 shows a bridge rectifier circuit with a smoothing
filter. (1) Display the input and output voltages. (2) Measure the ripple voltage
for source frequencies of 60, 120, and 180 Hz. (3) Calculate the ripple voltages
for source frequencies of 60, 120, and 180 Hz and compare the calculated val-
ues with the measured ones.
1 D1 2
1N4001GP +
D2
1N4001GP
LED2 C1
+ 5 Vpk 0 VO
VS 100 Hz LED1 R1
– 0° 4.7 µF
1k Ω
–
FIGURE P6.8
LED and diode bridge rectifier with RC smoothing filter.
1 D1 2
1N4001GP +
D4 D2
1N4001GP C1
1N4001GP
5 Vpk 0.22 µF
+ R1 VO
VS 60 Hz
– 0° D3 100 kΩ
1N4001GP –
0
4
FIGURE P6.9
Bridge rectifier with RC smoothing filter.
7
Transistors
1. Forward-Active Region
The forward-active region corresponds to forward biasing the
emitter-base junction and reverse biasing the base-collector junc-
tion. It is the normal operation region of bipolar junction transistors
when employed for amplifications. In the forward-active region, the
first-order representations of collector current I C and base current I B
are given as
V VCE
I C = IS exp BE 1 + V (7.1)
VT AF
and
IS V
IB = exp BE (7.2)
βF VT
where
β F is large signal forward current gain of common-emitter
configuration,
131
132 Circuits and Electronics
(a) (b)
C IC IE
B B
IB
IB
IC
E C
IE
FIGURE 7.1
(a) NPN transistor and (b) PNP transistor.
TABLE 7.1
Regions of Operation of BJT
Base-Emitter Junction Base-Collector Junction Region of Operation
Forward-biased Reverse-biased Forward-active
Forward-biased Forward-biased Saturation
Reverse-biased Reverse-biased Cut-off
Reverse-biased Forward-biased Reverse-active
kT
VT = (7.3)
q
where
k is the Boltzmann’s Constant (k = 1.381 × 10−23 V C/°K),
T is the absolute temperature in degrees Kelvin,
q is the charge of an electron (q = 1.602 × 10−19 C).
If VAF >> VCE, then from Equations 7.1 and 7.2, we have
I C = β F I B (7.4)
2. Reverse-Active Region
The reverse-active region corresponds to reverse biasing the emitter-
base junction and forward biasing the base-collector junction. The
Ebers-Moll model in the reverse-active region (VBC > 0.5 V and VBE <
0.3 V) simplifies to
V
I E = IS BC (7.5)
VT
Transistors 133
IS V
IB = exp BC (7.6)
βR VT
Thus
I E = β R I B
I E = I C + I B (7.7)
4. Cut-off Region
The cut-off region corresponds to reverse biasing the base-emitter
and base-collector junctions. The collector and base currents are very
small compared to the currents that flow into the collector or base
when transistors are in the active-forward and saturation regions.
In most applications, it is adequate to assume that I C = I B = I E = 0
when a BJT is in the cut-off region. A switching transistor will be
in the cut-off region when the device is not conducting or in the
“OFF” state.
+
V1_AWG1
3 scope_2+
R2
100 Ω
scope_2–
4
scope_1+
R1 Q1
1 2
2N3904
+ 40 kΩ
V2_AWG2 scope_1–
FIGURE 7.2
Circuit for determining current vs. voltage characteristics of 2N3904.
positive (blue wire) to node 3, and the scope channel 2 negative (blue-
white wire) to node 4.
The pin configuration of transistor 2N3904 is shown in Figure 7.3. For
the transistor 2N3904, connect the base of the transistor to node 2, collec-
tor to node 4, and the emitter to node 0.
2N3904
TO-92
C
B
E
C
C B
B
E E
FIGURE 7.3
Pin configuration of 2N3904 transistor. (From Fairchild Datasheets, www.fairchildsemi.com/.)
Transistors 135
Activation of Scope:
Scope channel 1 measures the collector and emitter voltage (VCE). Scope
channel 2 measures the voltage across the resistor R2 (100 Ω). To obtain
the collector current, we calculate C2/R2. The Mathematics Channel
is used to obtain the collector current. Follow these steps to obtain the
FIGURE 7.4
Arbitrary waveform generator 1 and 2 (AWG1 and AWG2) settings.
136 Circuits and Electronics
FIGURE 7.5
Output current vs. voltage characteristics of 2N3904 transistor.
Solution:
Use a breadboard to build the circuit shown in Figure 7.6. Connect the
AWG1 (yellow wire) to node 3 of the circuit and the AWG2 (yellow-
white wire) to node 1 of the circuit. Also, connect the scope channel 1
Transistors 137
V1_AWG1 4V
0
R2
100 Ω
CH_2+ CH_2– Q1
2N3904
V2_AWG2 1 R1 200 Ω 2 CH_1+
5 Vpk +
100 Hz –
0° CH_1–
0
FIGURE 7.6
Circuit for determining input current vs. voltage characteristics of 2N3904.
Generation of DC Voltage:
Click on the WaveGen 1 (AWG1) in the main WaveForms screen. Go to
Basic → dc → Offset (set to 4 V) → Click Run AWG1.
Generation of Sine Wave:
Click on the WaveGen 2 (AWG2) in the main WaveForms screen. Go to
Basic → Sine → Frequency (set to 100 Hz) → Amplitude (set to 5 V) →
Offset (set to 0 V) → Symmetry (set to 50%) → Click Run AWG2. Figure 7.7
shows the setup of the Analog Discovery WaveGen AWG1 and AWG2.
Activation of Scope:
Click on the Scope in the main WaveForms screen. Go to Run → Autoset
→ Measure → Add → Channel 1 → Horizontal → Frequency → Add
Selected Measurement → Add → Channel 1 → Vertical → Peak to Peak
→ Add Selected Instrument → Add → Channel 2 → Vertical → Peak to
Peak → Control → Add Mathematic Channel → Custom → Type C2/200
(This current is calculated as the voltage across the resistor 200 Ω divided
by resistance 200 Ω) → control → Add XY (this initiates the XY plot) →
set X (Channel 1) and set Y (Math1) → Change Math Mode Units to A →
Change the M1 range to 1 mA/V. Figure 7.8 shows the input I–V charac-
teristics of the transistor 2N3904.
138 Circuits and Electronics
FIGURE 7.7
The analog discovery WaveGen setup.
FIGURE 7.8
The input I–V (IB vs. VBE) characteristics of NPN transistor 2N3904.
Transistors 139
7.2 MOSFET Characteristics
Metal-oxide semiconductor field effect transistors (MOSFET) normally
have high input resistance because of the oxide insulation between the gate
and the channel. There are two types of MOSFETs: the enhancement type
and the depletion type. In the enhancement type, the channel between the
source and drain has to be induced by applying a voltage at the gate. In
the depletion type MOSFET, the structure of the device is such that there
exists a channel between the source and drain. Because the enhancement
type MOSFET is widely used, the presentation of this section will be done
using enhancement-type MOSFETs. The voltage needed to create the chan-
nel between the source and drain is called the threshold voltage, VT . For
n-channel enhancement MOSFETs, VT is positive and for p-channel devices,
it is negative. The electronic symbol of a MOSFET is shown in Figure 7.9.
MOSFETs can operate in three modes: cut-off, triode, and saturation
regions. The following is a short description of the three regions of operation.
1. Cut-off Region
For an n-channel MOSFET, if the gate-source voltage VGS satisfies the
condition
then the device is cut off. This implies that the drain current is zero
for all values of the drain-to-source voltage.
2. Triode Region
When VGS > V T and VDS is small, the MOSFET will be in the tri-
ode region. In the latter region, the device behaves as a nonlinear
voltage-controlled resistance. The drain current ID is related to drain
source voltage VDS by the expression
(a) D (b) S
G G
S D
FIGURE 7.9
Circuit symbol of (a) n-channel and (b) p-channel MOSFETs.
140 Circuits and Electronics
provided
where
µ n ε εOX W µ nCOX W
kn = = (7.11)
2tOX L 2 L
and
3. Saturation Region
If VGS > VT , a MOSFET will operate in the saturation region provided,
In the saturation region, the current-voltage characteristics are given
as
The transconductance is given as
∆I D
gm = (7.14)
∆VGS
∆VDS
rCE = (7.15)
∆I DS
+
V1_AWG1
3 Scope_2+
R1
1 kΩ
Scope_2–
2
Scope_1+
1 Q1
+
V2_AWG2
Scope_1–
0
FIGURE 7.10
Circuit for determining current vs. voltage characteristics of n-channel MOSFETs.
142 Circuits and Electronics
SCHEMATIC
14 13 2 1 11
6 12
7 8 3 4 5 10 9
VDD = PIN 14
VSS = PIN 7
FIGURE 7.11
Pin configuration of CD4007UB MOSFET array [For the CD4007UB MOSFET array, Pin 7 is
connected to the substrate of the nMOS and should be connected to the most negative voltage of the
circuit; pin 14 is the bulk of the PMOS and should be connected to the most positive voltage in
the circuit.] (From Texas Instruments, www.ti.com, CD4007UBE datasheet.)
Activation of Scope:
Scope channel 1 measures the voltage between the drain and source (VDS).
Scope channel 2 measures the voltage across the resistor R2 (1000 Ω). To
obtain the drain current, we calculate C2/R2. The Mathematics Channel
is used to obtain the drain current. Follow the following steps to obtain
the I–V curves: Add Mathematic Channel → Custom → Type C2/1000
(this current is calculated as the voltage across the 1000 Ω resistor
divided by resistance 1000 Ω) → control → Add XY (this initiates the XY
plot) → set X to C1 (Channel 1) and set Y to M1 (Mathematic Channel 1)
→ Change Math Mode Units to A → Change the M1 range to 500 μA/div.
Figure 7.13 shows the ID vs. VDS characteristics of the one of the nMOS
transistors of CD4007.
With regard to the output I–V curve of the MOSFET, the maximum
gate voltage is 4 V. Since six steps were used in generation of the gate-
source voltage, the step gate-source voltage is 0.8 V (which is 4 V divided
by 5).
Transistors 143
FIGURE 7.12
Arbitrary Waveform Generator 1 and 2 (AWG1 and AWG2) settings.
FIGURE 7.13
Output characteristics of n-channel MOSFETs.
144 Circuits and Electronics
Solution:
When the MOSFET is in saturation region, and neglecting the channel
length modulation, the MOSFET current can be given as
2
I D = k n (VGS −VT ) (7.16)
For a plot of I D versus VGS , the intersection with the horizontal axis
gives the threshold voltage VT , and the slope is k n . To force the tran-
sistor into the saturation region, the gate and the drain are connected
together.
Activation of Scope:
Scope channel 1 measures the voltage between the drain and source (VDS).
Scope channel 2 measures the voltage across the resistor R2 (1000 Ω). To
obtain the drain current, we calculate C2/R2. The Mathematic Channel
is used to obtain the drain current. Follow these steps to obtain the
Transistors 145
+ V1_AWG1
2 Scope_2+
R1
1 kΩ
Scope_2–
1 Scope_1+
Q1
0 Scope_1–
FIGURE 7.14
Circuit for determining input characteristics of n-channel MOSFETs.
FIGURE 7.15
Arbitrary Waveform Generator 1 and 2 (AWG1) settings.
146 Circuits and Electronics
FIGURE 7.16
I D versus VGS characteristics of MOSFET array CD4007UB.
From Equation 7.17, one can find VT and kn . From Figure 7.16, the slope of
the curve is kn and the intersection of the curve with the horizontal axis
gives the threshold voltage VT . From Figure 7.16, the estimate of the threshold
voltage is 1.2 V.
7.3 B
iasing BJT Amplifiers
Biasing networks are used to establish an appropriate dc operating point for
the transistor in a circuit. For stable and consistent operation, the dc operat-
ing point should be held relatively constant under varying conditions. There
are several biasing circuits available in the literature. Some are for biasing
discrete circuits and others for integrated circuits. Figures 7.17 and 7.18 show
some biasing networks for discrete circuits.
The dc equivalent circuit for Figure 7.17 is shown in Figure 7.19. The circuit
can be used to obtain the bias point of the transistor circuit.
Transistors 147
VCC
4
IC RC
RB1
3
1 Q1
2
RB2 RE
FIGURE 7.17
Biasing circuit for BJT discrete circuits with two base resistors.
VCC
3
RB
1
2
RE
FIGURE 7.18
Biasing BJT discrete network with one base resistor.
VCC
IC
IB +
VCE
RBB –
+ IE
VBB RE
–
FIGURE 7.19
DC equivalent circuit of Figure 7.17.
148 Circuits and Electronics
The emitter resistor, RE, provides stabilization of the bias point. If VBB and
RB are the Thevenin equivalent parameters for the base bias circuit, then
VCC RB 2
VBB = (7.18)
RB1 + RB 2
RB = RB1 RB 2 (7.19)
I E = I B + I C = I B + β F I B = (β F + 1) I B (7.21)
VBB − VBE
IB = (7.22)
RB + (β F + 1) RE
or
VBB − VBE
IC = (7.23)
RB (β F + 1)
+ RE
βF βF
Applying Kirchhoff’s Voltage Law at the output loop of Figure 7.19 gives
R
= VCC − I C RC + E (7.25)
αF
Equations 7.23 and 7.24 can be used to obtain the bias point of Figure 7.17.
Example 7.5 shows how to obtain the bias point of a BJT amplifier.
VCC
4
RC 5V
RB1 0
2 kΩ
20 kΩ 3
Q1
1
2N2222A
RB2 2
10 kΩ
RE
1 kΩ
0
FIGURE 7.20
BJT biasing circuit.
Solution:
Build the Circuit:
Use a breadboard to build the circuit shown in Figure 7.20. Connect
the AWG1 (yellow wire) to node 4 of the circuit. Also, connect the
scope channel 1 positive (orange wire) to node 4. In addition, connect
the scope channel 1 negative (orange-white wire) to node 3. Moreover,
connect the ground (black wire) to node 0 of the circuit. Furthermore,
connect the scope channel 2 positive (blue wire) to node 3, and the
scope channel 2 negative (blue-white wire) to node 2.
For the transistor 2N3904, connect the base of the transistor to node 1,
collector to node 3, and the emitter to node 2 of the circuit shown in
Figure 7.20.
Signal Generation:
Click on the WaveGen in the main WaveForms screen. Go to Basic → dc
→ Offset (set to 5 V) → Click Run AWG1.
Activation of Voltmeter:
Activate the Voltmeter by clicking on Voltmeter under the More
Instruments tab. Click Enable to start reading the voltage. Channel 1
measures the voltage across the collector resistor of 2.0 K. Scope chan-
nel 2 measures the voltage between the collector and the emitter (VCE).
To obtain the collector current, the voltage across the collector voltage is
divided by a resistance of 2.0 kΩ.
Figure 7.21 shows one of the waveform generated settings when VCC = 5 V.
Figure 7.22 shows the voltmeter readings when the dc supply voltage was
5 V. Table 7.2 shows the readings of Channels 1 and 2 of the voltmeter for VCC
values of 4.0, 4.5, and 5.0 V.
150 Circuits and Electronics
FIGURE 7.21
Arbitrary Waveform Generator for supply voltage of 5 V.
FIGURE 7.22
Voltmeter readings for VCC of 5 V.
TABLE 7.2
Bias Point Measurements with Various Values of VCC of Figure 7.20
Collector
Voltage (VCC), V CH 1 Voltage, V CH 2 Voltage, V VCE , V IC , mA
4 1.385 2.0049 2.0049 0.6925
4.5 1.698 2.0355 2.0355 0.849
5 2.001 2.074 2.074 1.0005
Transistors 151
It can be seen from Table 7.2 that the voltage, VCE, is fairly constant with
respect to the changes in supply voltage VCC. However, the collector current
changes considerably with changes in VCC.
RG1
VG = VDD (7.26)
RG1 + RG 2
VGS = VG − IS RS (7.27)
For conduction of the MOSFET, the gate-source voltage VGS should be greater
than the threshold voltage of the MOSFET, VT . Since I D = IS, Equation 7.27
becomes
VGS = VG − I D RS (7.28)
VDD
4
RG1 IDD RD
3
1 M1
VG
2
RG2
RS
FIGURE 7.23
Biasing circuit for MOSFET using fixed gate voltage and self-bias resistors, RS.
152 Circuits and Electronics
The drain-source voltage is obtained by using KVL at the output of the circuit
VDS = VDD − I D RD − IS RS
(7.29)
= VDD − I D (RD + RS )
The circuit shown in Figure 7.24 is a MOSFET transistor with the drain con-
nected to the gate. The circuit is normally referred to as a diode-connected
enhancement transistor.
From Equation 7.12, the MOSFET is in saturation provided
That is
or
iD = kn (VGS − VT )
2
iD = kn (VDS − VT ) (7.32)
2
ID
+
G VDS
–
FIGURE 7.24
Diode-connected enhancement type MOSFET.
Transistors 153
Solution:
Build the Circuit:
Use a breadboard to build the circuit shown in Figure 7.25. Connect
the AWG1 (yellow wire) to node 4 of the circuit. Also, connect the
scope channel 1 positive (orange wire) to node 4. In addition, connect
the scope channel 1 negative (orange-white wire) to node 3. Moreover,
connect the scope channel 2 positive (blue wire) to node 3, and the scope
channel 2 negative (blue-white wire) to node 2. Furthermore, connect the
ground (black wire) to node 0 of the circuit.
For the transistor BS170, connect the gate of the transistor to node 1, the
drain to node 3, and the source to node 2 of the circuit.
Signal Generation:
Click on the WaveGen in the main WaveForms screen. Go to Basic → dc
→ Offset (set to 5 V) → Click Run AWG1. Figure 7.26 shows the setup of
Arbitrary Waveform Generator, AWG1, when VDD = 5 V.
4 VDD
5V
RD
RG1 0
20 kΩ
300 kΩ 3
1 Q1
BS170
RG2 2
300 kΩ
RS
5.1 kΩ
0
FIGURE 7.25
MOSFET biasing circuit.
154 Circuits and Electronics
FIGURE 7.26
Arbitrary Waveform Generator for supply voltage of 5 V.
FIGURE 7.27
Voltmeter readings for VDD of 5 V.
Activation of Voltmeter:
Activate the Voltmeter by clicking Voltmeter under the More Instruments
tab. Click Enable to start reading the voltage. Channel 1 measures
the voltage across the drain resistor, 20 kΩ resistor. Scope channel 2
measures the voltage between the drain and the source (VDS). To obtain
the drain current, the voltage across the collector voltage is divided by
20 kΩ. Figure 7.27 shows the voltmeter readings when the dc supply volt-
age was 5 V.
Transistors 155
TABLE 7.3
Bias Point Measurements with Various Values of VDD of Figure 7.25
Drain Voltage
(V DD), V CH 1 Voltage, V CH 2 Voltage, V V DS, V I D, mA
4 0.187 3.872 3.872 0.00935
4.5 0.206 4.354 4.354 0.0103
5 0.223 4.835 4.835 0.01115
Table 7.3 shows the readings of Channels 1 and 2 of the voltmeter for VDD
values of 4.0, 4.5, and 5.0 V. Channel 1 measured the voltage across the drain
resistance, RD, of Figure 7.25. The drain current is obtained by dividing the
Channel 1 voltage by the drain resistance of 20 kΩ. Channel 2 measured the
voltage between the drain and source of transistor BS170 of Figure 7.25. It
can be seen from Table 7.3 that the voltage, VDS, decreases with respect to the
changes in supply voltage VDD. In addition, the drain current also decreases
with changes in VDD.
7.5 F
requency Response of BJT Amplifiers
Amplifiers are normally used for voltage amplification, current ampli-
fication, impedance matching or to provide isolation between amplifier
stages. Transistor amplifiers can be built using bipolar junction transis-
tors. Amplifiers built using BJT can be common-emitter, common-collector
(emitter follower), or common-base amplifiers. Common-emitter amplifiers
have relatively high voltage gain. A common-emitter amplifier is shown in
Figure 7.28. The amplifier is capable of generating a relatively high current
VCC
7
RB1 RC
CC2
6
5
RS CC1 +
Q1
1 2 3 RL
+ 4 VO
VS RB2
– RE CE
–
0
FIGURE 7.28
Common-emitter amplifier.
156 Circuits and Electronics
and high voltage gains. The input resistance is medium and is essentially
independent of the load resistance, RL.
For the common-emitter amplifier, shown in Figure 7.28, the coupling
capacitor, CC1, couples the voltage source, VS, to the bias network. Coupling
capacitor, CC2, connects the collector resistance, RC, to the load RL. The
bypass capacitance, CE, is used to increase the midband gain, since it effec-
tively short circuits the emitter resistance RE at midband frequencies. The
resistance RE is needed for bias stability. The external capacitors CC1, CC2, CE
influence the low frequency response of the common-emitter amplifier. The
internal capacitances of the transistor control the high frequency cut-off. The
overall gain of the common-emitter amplifier can be written as
Am s 2 ( s + wz )
A ( s) = (7.33)
( s + wL1 )( s + wL 2 )( s + wL3 )(1 + s wH )
where
AM is the midband gain,
wH is the frequency of the dominant high frequency pole,
wL1 , wL 2 , wL 3 are low frequency poles introduced by the coupling and
bypass capacitors,
wZ is the zero introduced by the bypass capacitor.
The midband gain is obtained by short-circuiting all the external capacitors
and open-circuiting the internal capacitors. Figure 7.29 shows the equivalent
for calculating the midband gain.
From Figure 7.29, the midband gain, Am , is
VO RB 1
Am = = −β rCE RC RL (7.34)
VS RB + rπ RS + RB rπ
It can be shown that the low frequency poles, wL1 , wL 2 , wL 3 , can be obtained
by the following equations
1
τ1 = = CC1RIN (7.35)
wL 1
RS
Beta* Ib
IS +
+ Ib
VS RB rpi rce RC RL VO
–
–
FIGURE 7.29
Equivalent circuit for calculating midband gain.
Transistors 157
where
RIN = RS + RB rπ (7.36)
1
τ2 =
wL 2
( )
= CC 2 RL + RC rce (7.37)
and
1
τ3 = = CE RE′ (7.38)
wL 3
where
r RB RS
RE' = RE π + (7.39)
β F + 1 β F + 1
1
wZ = (7.40)
RECE
Normally, wZ < wL3 and the low frequency cut-off wL is larger than the largest
pole frequency. The low frequency cut-off can be approximated as
( wL 1 ) + ( wL 2 ) + ( wL 3 )
2 2 2
wL ≅ (7.41)
Example 7.7 and Example 7.8 explore the characteristics BJT amplifiers.
VCC
4
RC 5V
RB1 0
200 kΩ 3 2 kΩ CC2 6
+
RS CC1 Q1 0.1 µF
7 5 1
Vs(t) 100 Ω 0.1 µF 2N3904
+ 2
10 m Vpk RB2 RL Vo(t)
– 5 kHz 100 kΩ CE 2 kΩ
0° RE 220 µF
0 0.5 kΩ
–
FIGURE 7.30
Common-emitter amplifier circuit.
(black wire) to node 0 of the circuit. For the transistor 2N3904, connect
the base of the transistor to node 1, the collector to node 3, and the emit-
ter to node 2 of Figure 7.30. Moreover, connect +5 V dc power supply (red
wire) to node 4.
FIGURE 7.31
Arbitrary Waveform Generator for sinusoidal signal.
Transistors 159
Start Frequency: 50 Hz
Stop Frequency: 10 MHz
Offset: 0 V
Input Signal Amplitude: 10 mV
Max Filter Gain: 1X
Bode Scale: Magnitude—Top 40 dB, Range of 50 dB
Phase—Top 45°, Range of 360°
Scope Channel Gain: Channel 1: 1X; Channel 2:1X
Obtain a single sweep in frequency by clicking Single. This pro-
vides a Bode plot representation of the frequency response of
the circuit. The Bode plot obtained is shown in Figure 7.32.
FIGURE 7.32
Magnitude and phase response of the amplifier of Figure 7.30.
160 Circuits and Electronics
VCC
2 5V
RB
200 kΩ 0
C1 Q1
5 RS 4 1
100 Ω 2N3904
0.3 µF
3
+ 200 m Vpk
Vs(t) +
– 1 kHz RE
0° 1 kΩ Vo(t)
0 –
FIGURE 7.33
Emitter follower circuit.
Transistors 161
FIGURE 7.34
Arbitrary Waveform Generator for sinusoidal signal.
With the input changed to 2 V peak, the input voltage and the voltage across
the resistor RS are shown in Figure 7.36.
162 Circuits and Electronics
FIGURE 7.35
Display of input and output sinusoidal waveforms of the emitter follower.
FIGURE 7.36
Waveforms for obtaining the input resistance of the emitter follower.
Transistors 163
7.6 F
requency Response of MOSFET Amplifiers
MOSFET amplifiers can be common-source, common-drain, or common-
drain common-gate amplifiers. A common-drain amplifier has relatively
high input resistance, low output resistance with voltage gain that is almost
equal to unity. The common-source amplifier, shown in Figure 7.37, has
characteristics similar to those of the common-emitter amplifier. However,
the common-source amplifier has a higher input resistance than that of the
common-emitter amplifier.
The external capacitors CC1, CC2, and CS, will influence the low frequency
response. The internal capacitances of the FET will affect the high frequency
response. The midband gain, Am, is obtained from the midband equivalent
circuit of the common-source amplifier, shown in Figure 7.38. The equiva-
lent circuit is obtained by short-circuiting all the external capacitors and
open-circuiting all the internal capacitances of the FET.
Using voltage division,
RG
v gs = vS (7.42)
RI + RG
VDD
7
RG1 RD
CC2 6
5
R1 CC1 3 +
1 M1
2 RL
+ 4 VO
VS RG2
RS CS
– –
FIGURE 7.37
Common-source amplifier.
R1
+ +
+
VS RG Vgs rds RD RL VO
– – gmVgs
–
FIGURE 7.38
Midband equivalent circuit of common-source amplifier.
164 Circuits and Electronics
v0 RG
Am =
vs
= −g m (
rds RD RL (7.44)
RG + RI
)
1
τ1 = ≅ CC1(Rg + RI ) (7.45)
wL 1
1
τ2 = ≅ CC 2 (RL + RD rds ) (7.46)
wL 2
Assuming rd is very large, the pole due to the bypass capacitance CS can be
shown to be
1 RS
τ3 = ≅ CS (7.47)
wL 3 1 + gm RS
1
wZ = (7.48)
RSCS
( wL 1 ) + ( wL 2 ) + ( wL 3 )
2 2 2
wL ≅ (7.49)
R1 CC1 CC2
+ +
+ Vgs gmVgs rds
RG –
VS VO
– RS CS RD RL
–
FIGURE 7.39
Equivalent circuit for obtaining the poles at low frequencies of common-source amplifier.
Transistors 165
4 VDD
RD 5V
RG1 0
4 kΩ CC2
1 MΩ 3 6
Q1 0.1 µF +
7 R2 5 CC1 1
RL
100 Ω 0.1 µF BS170
Vs(t) + RG2 4 kΩ Vo(t)
50 m Vpk 2
– 5 kHz 1 MΩ CS
RD
0° 0 2 kΩ 33 µF –
FIGURE 7.40
Common-source amplifier circuit.
166 Circuits and Electronics
FIGURE 7.41
The setup of Arbitrary Waveform Generator AWG1.
FIGURE 7.42
Magnitude and phase characteristics of the amplifier shown in Figure 7.40.
VDD
4
5V
RG1 0
RSS CC1 100 kΩ Q1
7 5 1
2N7000
100 Ω 0.1 µF CC2 3
RG2 2 +
500 m Vpk RS0.3 µF
Vs(t) + 200 kΩ RL
– 4 kHz 5.1 kΩ 5.1 kΩ Vo(t)
0° 0 –
FIGURE 7.43
MOSFET amplifier.
FIGURE 7.44
The setup of the Arbitrary Waveform Generator AWG1.
Transistors 169
FIGURE 7.45
Bode plot of Example 7.10.
170 Circuits and Electronics
PROBLEMS
Problem 7.1 Find the output characteristics (IC versus VCE) of the NPN tran-
sistor 2N2222. You can use the circuit shown in Figure P7.1 to obtain the I–V
curve.
Problem 7.2 Find the input characteristics (IB versus VBE) of the NPN tran-
sistor 2N2222. You can use the circuit similar to that shown in Figure 7.6 to
obtain the I–V curve.
Problem 7.3 Find the output characteristics (ID versus VDS) of the n-channel
MOSFET BS170. You can use the circuit similar to Figure 7.10 to obtain the
I–V curve.
Problem 7.4 Use the Analog Discovery board to determine the current (ID) vs.
voltage (VGS) curve of the n-channel MOSFET BS170. Determine the thresh-
old voltage of the nMOS transistor.
Problem 7.5 Use the Analog Discovery board to determine the current (IC)
and voltage (VCE) of the amplifier circuit shown in Figure P7.5. Change the
collector voltage to 3.5, 4.0 and 4.5 V and determine the bias points for the
values of collector voltage, VCC.
Problem 7.6 Use the Analog Discovery board to determine the current (IC)
and voltage (VEC) of the amplifier circuit shown in Figure P7.6.
Problem 7.7 Use the Analog Discovery board to determine the drain current
(ID) and voltage (VDS) of the amplifier circuit shown in Figure P7.7. What will
be the value of the drain current and voltage, VDS, if the source resistance RS
is reduced to 500 Ω?
+ V1_AWG1
3
R2
100 Ω
4
Q1
1 R1 2
+ 10 kΩ
2N2222A
V2_AWG2
FIGURE P7.1
Circuit for output characteristic of an NPN transistor.
Transistors 171
4 VCC
5V
RC
RB1 0
2 kΩ
20 kΩ 3
Q1
1
2N2222A
RB2 2
10 kΩ
RE
1 kΩ
0
FIGURE P7.5
Circuit for determining the bias point of transistor 2N2222A.
4 VEE
5V
RE
RB1 0
500 Ω
20 kΩ
3
1
Q1
2N3906
RB2
2
50 kΩ
RC
2 kΩ
0
FIGURE P7.6
Circuit for obtaining the bias point of transistor 2N3906.
Problem 7.8 Use the Analog Discovery board to determine (1) the magnitude
response of the circuit shown in Figure P7.8, (2) midband gain, (3) low cut-off
frequency, (4) high cut-off frequency, and (5) bandwidth of the amplifier.
Problem 7.9 Use the Analog Discovery board to determine (1) the magnitude
response of the circuit shown in Figure P7.9, (2) midband gain, (3) low cut-off
frequency, (4) high cut-off frequency, and (5) bandwidth of the amplifier.
172 Circuits and Electronics
4 VDD
5V
RD
RG1 0
3 5.1 kΩ
400 kΩ
Q1
1 BS170
2
RG2 RS
300 kΩ
1 kΩ
FIGURE P7.7
Circuit for obtaining the bias point of MOSFET BS170.
4 VCC
5V
RC
RB1 0
3 1.5 kΩ CC2
300 kΩ 6
RS CC1 0.1 µF +
7 5 1 Q1
Vs(t) 100 Ω 0.1 µF 2N3904
+ 10 m Vpk 2
RB2 RL Vo(t)
– 5 kHz CE
200 kΩ 2 kΩ
0° RE 47 µF
0.5 kΩ
0 –
FIGURE P7.8
Common-emitter amplifier with transistor 2N3904.
Problem 7.10 For the circuit shown in Figure P7.10, use the Analog Discovery
board (1) to determine gain at 4 kHz and (2) measure the voltage across the
100 Ω resistor and calculate the input resistance.
Problem 7.11 For the circuit shown in Figure P7.11, use the Analog Discovery
board (1) to determine gain at 4 kHz and (2) measure the voltage across the
100 Ω resistor and calculate the input resistance.
Transistors 173
VCC
4
5V
RC
RB1 2 kΩ 0
3 CC2
100 kΩ 6
+
RS CC1 Q1 0.2 µF
7 5 1
100 Ω 0.1 µF 2N2222A
+ 10 m Vpk RB2 RL Vo(t)
Vs(t) – 5 kHz 2 CE
47 kΩ 2 kΩ
0° RE 33 µF
1 kΩ
0 –
FIGURE P7.9
Common-emitter amplifier with transistor 2N2222A.
VCC
RB 2 5V
0
100 Ω
C1 Q1
5 RS 4 1
2N3904
100 Ω 0.2 µF
500 m Vpk 3
+ +
Vs(t) 4 kHz
– RE
0° 1.5 kΩ Vo(t)
0 –
FIGURE P7.10
Common-collector amplifier with transistor 2N3904.
Problem 7.12 Use the Analog Discovery board to determine (1) the mag-
nitude response of the circuit shown in Figure P7.12, (2) midband gain,
(3) low cut-off frequency, (4) high cut-off frequency, and (v) bandwidth of the
amplifier.
Problem 7.13 For the circuit shown in Figure P7.13, use the Analog Discovery
board to find the voltage gain at 5 kHz. Determine (1) the magnitude
response of the circuit, (2) low cut-off frequency, (3) high cut-off frequency,
and (4) bandwidth of the amplifier.
174 Circuits and Electronics
2
VCC
5V
RB
0
300 Ω
RS C1 Q1
5 4 1
100 Ω 0.2 µF 2N2222A
500 m Vpk 3
+ +
Vs(t) 4 kHz
– RE
0° 1 kΩ Vo(t)
0 –
FIGURE P7.11
Common-collector amplifier with transistor 2N2222A.
4 VDD
5V
RD 0
RG1 4 kΩ
CC2
100 kΩ 3 6
+
Q1 0.1 µF
RSS CC1
7 5 1
BS170
100 Ω 0.1 µF RL
2
Vs(t) 10 kΩ Vo(t)
+ 50 m Vpk RG2 CS
RS
5 kHz 100 kΩ
– 1 kΩ 220 µF
0°
0 –
FIGURE P7.12
Common-source amplifier with transistor BS170.
4
VDD
5V
0
RG1
Q1
RSS CC1 100 kΩ
5 1
BS170
100 Ω 2
0.1 µF CC2
7 3
+
RG2 0.2 µF
+ 500 m Vpk RS
Vs(t) 300 kΩ RL
– 5 kHz 10 kΩ Vo(t)
10 kΩ
0°
0 –
FIGURE P7.13
Common-drain amplifier with transistor BS170.
Transistors 175
Problem 7.14 Use the Analog Discovery board to determine (1) the mag-
nitude response of the circuit shown in Figure P7.14, (2) midband gain,
(3) low cut-off frequency, (4) high cut-off frequency, and (5) bandwidth of the
amplifier.
VDD
4
RD 5V
RG1 0
2 kΩ
CC2
3 6
200 Ω
Q1 +
CC1 0.1 µF
7 RSS 5 1
2N7000
100 Ω 0.1 µF RL Vo(t)
2 10 kΩ
+ 20 m Vpk RG2 CS
Vs(t) RS
– 5 kHz 200 Ω
1 kΩ 33 µF
0°
0 –
FIGURE P7.14
Common-source amplifier with transistor 2N7000.
Bibliography
Akhras, F.N. and J.A. Self, Modeling the process, not the product of learning, in
Lajoie, S. P. (Ed.) Computers as Cognitive Tools: No More Walls, vol. 2, pp. 3–28,
Lawrence Erlbaum Associates, Mahwah, NJ, 2000.
Alexander, C.K. and M.N.O. Sadiku, Fundamentals of Electric Circuits, 6th Edition,
McGraw Hill, New York, 2016.
Analog Discovery Module, Information on the Analog Discovery module and sup-
porting material. https://analogdiscovery.com/, June 19, 2017.
Attia, J.O. Electronics and Circuit Analysis Using MATLAB, 2nd Edition, CRC Press,
Boca Raton, FL, 2004.
Attia, J.O. PSPICE and MATLAB for Electronics: An Integrated Approach, 2nd Edition,
CRC Press, Boca Raton, FL, 2010.
Attia, J.O., L.D. Hobson, P.H. Obiomon, and M. Tembely, Engaging electrical and
computer engineering freshman students with an electrical engineering practi-
cum, Proceedings of ASEE 12th Annual Conference and Exposition, Columbus, OH,
June 2017.
Attia, J.O., P. Obiomon, and M. Tembely, Hands-on learning for engaging freshman
students through the electrical engineering practicum and the infinity project,
Proceedings of the 2016 ASEE-GSW Annual Conference hosted by Texas Christian
University, Fort Worth, TX, March 6–8, 2016.
Attia, J.O., M. Tembely, L. Hobson, and P. Obiomon, Hand-held mobile technology
in a freshman course for enhanced learning, Proceedings of the 2017 ASEE Gulf-
Southwest Section Annual Conference, organized by The University of Texas at
Dallas, March 12–14, 2017.
Bowman, R. Electrical Engineering Practicum, Online Textbook, www.Trunity.com,
2014.
Bowman, R. Inspiring electrical engineering students through fully-engaged hands-
on learning, 2013 IEEE 56th International Midwest Symposium on Circuits and
Systems, Columbus, OH, pp. 574–577, 2013.
Boylestad, R.L. Introduction to Circuit Analysis, 13th Edition, Pearson, Boston, 2015.
Brown, C.J., L.J. Hansen-Brown, and R. Conte, Engaging millennial college-age
science and engineering students through experimental learning communi-
ties, Journal of Applied Global Research, vol. 4, pp. 41–58, 2011.
Byers, L.K., J.W. Kile, and C. Kiassat, Impact of hands-on first year course on stu-
dent knowledge of and interest in engineering disciplines, Proceedings of ASEE
Annual Conference and Exposition, Indianapolis, IN, June 2014.
Connor, K.A., B. Ferri, and K. Meehan, Models of mobile hands-on STEM education,
Proceedings of ASEE Annual Conference and Exposition, Atlanta, GA, June 2013.
Connor, K.A., Y. Astatke, Dr. C.J. Kim, Dr. M.F. Chouikha, D. Newman, K.A. Gullie,
A.A. Eldek, S.S. Devgan, A.R. Osareh, J.O. Attia, Dr. S. Zein-Sabatto, and
Dr. D.L. Geddis, Experimental centric pedagogy in circuits and electron-
ics courses at 13 universities, Proceedings of ASEE 123rd Annual Conference and
Exposition, New Orleans, LA, June 26–29, 2016.
177
178 Bibliography
Connor, K.A, Dr. D. Newman, K.A. Gullie, Y. Astatke, M.F. Chouikha, C.J. Kim,
Dr. O.E. Nare, J.O. Attia, Prof. P. Andrei, and L.D. Hobson, Experimental centric
pedagogy in first-year engineering courses, Proceedings of ASEE 123rd Annual
Conference and Exposition, New Orleans, LA, June 26–29, 2016.
Dori, H. and B. Breslow, How much have they retained? Making unseen concepts
seen in a freshman electromagnetism course at MIT, Journal of Science Education
and Technology, vol. 16, pp. 299–323, 2007.
Felder, R.M. and L. K. Silverman, Learning and teaching styles in engineering educa-
tion, Engineering Education, vol. 78, no. 7, pp. 647–681, 1988.
Ferri, B., J. Auerbach, J. Michaels, and D. Williams, TESSAL: A program for incor-
porating experiments into lecture-based courses within the ECE curriculum,
ASEE Annual Conference and Exposition, Vancouver, BC, June 2011.
Grout, I. and A. K. B. A’ain, Introductory laboratories in semiconductor devices using
the Digilent Analog Discovery, Proceedings of 2015 12th International Conference
on Remote Engineering and Virtual Instrumentation (REV), Bangkok, Thailand,
pp. 1–6, 2015.
Hendricks, R.W., K.-M. Lai, and J.B. Webb, Lab-in-a-box: Experiments in electronic cir-
cuits that support introductory courses for electrical and computer e ngineers,
Proceedings of ASEE Annual Meeting, Portland, OR, June 12–15, 2005.
Henricks, R.W. and K. Meehan, Lab-in-a-Box: Introductory Experiments in Electric
Circuits, 3rd Edition, John Wiley & Sons, Hoboken, NJ, 2009.
Holland, S.S., C.J. Prust, R.W. Kelnhofer, and J. Wierer, Effective utilization of the
analog discovery board across upper-division electrical engineering courses,
Proceedings of 2016 ASEE Annual Conference and Exposition, New Orleans, LA,
June 2016.
Huette, L., Connecting theory and practice: Laboratory-based explorations of the
NAE grand challenges, Paper Presented at 2011 Annual Conference and Exposition,
Vancouver, BC, June 2011.
Irwin, J.D. and M. Nelms, Basic Engineering Circuit Analysis, John Wiley & Sons,
New York, 2015.
Mazzaro, G.J. and R.J. Hayne, Instructional demos, in-class projects, and hands-on
homework: Active learning for electrical engineering using the analog discov-
ery, Proceedings of 2016 ASEE Annual Conference and Exposition, New Orleans,
LA, June 2016.
Millard, D. Workshop—Improving student engagement and intuition with the
mobile studio pedagogy, Proceedings of the 38th ASEE/IEEE Frontiers in Education
Conference, Saratoga Springs, NY, pp. W3C-1, October 22–25, 2008.
Newman, D.L., G. Clure, M.M. Deyoe, and K.A. Conner, Using technology in a studio
approach to learning: Results of a five year study of an innovative mobile teach-
ing tool, in Keengwe, J. (Ed.) Pedagogical Applications and Social Effects of Mobile
Technology Integration, Hershey, PA, 2013.
Newman, D., J. Lamendola, D.M. Morris, and K. Connor, Active learning, mentoring,
and mobile technology: Meeting needs across levels in one place, in Keengwe,
J. (Ed.) Promoting Active Learning Through the Integration of Mobile and Ubiquitous
Technologies, Hershey, PA, 2015.
Nasr, K. J. and B.H. Ramadan, Impact assessment of problem-based learning in an
engineering science course, Journal of STEM Education, vol. 9(3–4), pp. 16–24,
2008.
Bibliography 179
Prince, M. Does active learning work? A review of the research, Journal of Engineering
Education, vol. 93, pp. 223–232, 2004.
Radu, M. Developing hands-on experiments to improve student learning via activi-
ties outside the classroom in engineering technology programs, 4th IEEE
Integrated STEM Education Conference, March 8, 2014.
Robertson, J.M., K. Meehan, R.J. Bowman, K.A. Connor, and D.A. Mercer, Exploiting
a disruptive technology to actively engage students in the learning process,
Proceedings of the 2013 ASEE Annual Conference and Exposition, June 2013.
Sedra, A.S. and Smith, K.C. Microelectronic Circuits, 6th Edition, Oxford University
Press, New York, NY, 2010.
Yousuf, A., A. Wong, and D. Edens, Remote circuit design labs with analog discovery,
Proceedings of 2013 ASEE Annual Conference and Exposition, Atlanta, GA, June
2013.
Zhang, L., I. Dabipi, Y. Jin, and P. Matin, Inspiring undergraduate students in engi-
neering learning, comprehending and practicing by the use of analog discov-
ery kits, 2015 IEEE Frontiers in Education Conference (FIE), El Paso, TX, pp. 1–4,
2015.
Index
A power supplies, 4
scopes, 12–14
Additive property, 29
Spectrum Analyzer
AD (Analog Discovery) platform, 1
features, 17–18
Alternating current, adding direct
periodic signal frequency content,
current, 86–88
18–20
Amplifiers
virtual instruments, 1–3
BJTs
voltmeters, 4–5
biasing, 146–151
WaveForms software, 1–3
common emitter circuits, 157–160
wire harness leads and color
emitter follower circuits, 160–162
representations, 3
frequency response, 155–162
Analog Discovery (AD) platform, 1
common emitter, 153–155
Arbitrary waveform generators, 7–12
coupling capacitor, 156
AM/FM waveforms, 9–12
frequency response, 157–160
basic waveforms, 7–8
midband gain, 156
Bode plot, displaying, 15–17
MOSFETs
dc voltage source for resistor-LED
biasing, 151–155
circuit, 10–12
common drain, 167–169
sinusoidal voltage generated,
common source, 165–167
displaying, 12–14
frequency response, 163–169
sweep waveforms, 7–9
op
Average power, 62
differentiator, 90
AWG1
integrator, 88–92
Bode plot, displaying, 15–17
inverting, 79–82
dc voltage source for resistor-LED
non-inverting, 82–85
circuit, 10–12
notch filter frequency response,
sine wave, 10
98–100
sinusoidal voltage generated,
properties, 77
displaying, 12–14
symbol, 78
AWG2
weighted summer, 85–88
sinusoidal voltage generated,
AM (amplitude modulated) waveforms,
displaying, 12–14
9–12
triangular waveform, 10
Analog Discovery 2, xiii
Analog Discovery board
B
arbitrary waveform generators, 7–12
AM/FM waveforms, 9–12 Bandpass filters, 69, 95–96
basic waveforms, 7–8 Bandreject filters, 69, 96–98
displaying sinusoidal voltage Bandwidth (BW) of RLC circuits, 72
generated, 12–14 Basic waveforms, 7–8
sweep waveforms, 7–9 Battery charging circuits, 112–116
components, 1 Biasing amplifiers
flywire, 1–2 BJTs, 146–151
Network Analyzer, 14–17 MOSFETs, 151–155
181
182 Index
BJTs (bipolar junction transistors), 131 Colors of Analog Discovery board wire
amplifiers harness leads, 3
biasing, 146–151 Common drain amplifiers
common emitter circuits, 157–160 definition, 161
emitter follower circuits, 160–162 frequency response, 167–169
frequency response, 155–162 Common emitter amplifiers, 153–155
input characteristics, 136–138 coupling capacitor, 156
output characteristics, 133–136 frequency response, 157–160
regions of operation midband gain, 156
cut-off, 133 Common source amplifiers, 165–167
forward-active, 131–132 Complex power, 62–67
reverse-active, 132–133 equations, 62–63
saturation, 133 RL circuit, 63–67
types, 131–132 Components of Analog Discovery
Bode plot, 14–17 board, 1
Bridge rectifiers Conduction angles of battery charging
full-wave, 120–122 circuits, 115–116
smoothing filter, 122–125 Control area (Network Analyzer), 14–15
BW (bandwidth) of RLC circuits, 72 Control menu (Spectrum Analyzer),
17–18
Converting square waveforms to
C
triangular, 90–92
Capacitors, charging/discharging, Coupling capacitor (CC1), 156
37–39 Critically damped responses (RLC
Cause and effect linear relation, 29–30 circuits), 46
CC1 (coupling capacitor), 156 Currents
Characteristic equations (RLC circuits), Kirchhoff’s Current Law (KCL),
45–46 27–29
Characteristics phasor impedance, 53
BJT amplifiers rms values, 58–59
common emitter amplifiers vs voltage input characteristics
frequency response, 157–160 BJTs, 136–138
emitter follower circuits, 160–162 n-channel MOSFETs, 144–146
diodes, 107 vs voltage output characteristics
forward-biased region, 107–109 BJTs, 133–136
measurement, 109–111 n-channel MOSFETs, 141–143
input Cut-off region
BJTs, 136–138 BJTs, 133
n-channel MOSFETs, 144–146 MOSFETs, 139
MOSFET amplifiers, 163–165
output
D
BJTs, 133–136
n-channel MOSFETs, 141–143 Damping factors/frequency (RLC
Charging circuits), 47
capacitors, 37–39 Dc voltage source for resistor-LED
inductors, 41–43 circuit, 10–12
Closed loop Depletion MOSFETs, 139
inverting amplifier, 79–82 Differentiators (op amps), 90
non-inverting amplifier, 82–85 Digilent website, 1
Index 183
Diodes Frequency
dynamic resistance, 108 modulated (FM) waveforms, 9–12
forward-biased region, 107–109 periodic signals, determining, 18–20
full-wave rectification, 120 Spectrum Analyzer, 17–18
bridge rectifier, 120–122 Frequency responses, 68–72
smoothing filter, 122–125 BJT amplifiers, 155–162
half-wave rectification, 110–116 linear network representation, 67–68
battery charging circuits, MOSFET amplifiers, 163–169
112–116 common drain, 167–169
input/output waveforms, 111–112 common source, 165–167
oscilloscope, 113 notch filters, 98–100
ripple voltage, 117–120 RLC resonant circuit, 69–72
I-V characteristic, 107 transfer functions, 68–69
I-V characteristic measurement, Full-wave rectification, 120
109–111 bridge rectifier, 120–122
peak detectors, 116–120 smoothing filter, 122–125
Direct currents, adding to alternating
current signal, 86–88 G–H
Discharging
capacitors, 37–39 Gate voltage, 151
inductors, 41–43 Half-wave rectification, 110–116
Discrete circuits, biasing, 147 battery charging circuits, 112–116
Drain source voltage, 152 input/output waveforms, 111–112
Dynamic resistance (diodes), 108 oscilloscope, 113
ripple voltage, 117–120
E Highpass filters, 69, 94–95
Homogeneity property (linear circuits),
Emitter follower circuits, 158–160 29–30
Enhancement MOSFETs, 139
I
F
Impedance measurements, 53–58
Filters, 92 determining, 55–58
bandpass, 95–96 phasor voltage/current, 53
bandreject, 96–98 voltage source, 53
highpass, 94–95 waveforms phase difference, 54
lowpass, 93–95 Inductors, charging/discharging, 41–43
notch, implementing, 97–100 Input characteristics
smoothing, 121–124 BJTs, 136–138
First-order highpass filter, 94 n-channel MOSFETs, 144–146
First-order lowpass filter, 93 Input waveforms
f H, 95 bridge rectifier with smoothing filter,
f L, 95 125
Flywire, 1–2 emitter follower circuits, 160
FM (frequency modulated) waveforms, full-wave rectifiers, 121
9–12 half-wave rectification, 111–112
Forward-active region (BJTs), 131–132 inverting amplifier, 81
Forward-biased region of diodes, non-inverting amplifier, 85
107–109 peak detectors, 119
184 Index