SlideShare a Scribd company logo
1 of 25
Download to read offline
1
Katrina Little
Electronics II
Lab #7: Voltage Comparators and Schmitt Triggers
Goals:
To introduce the concepts of using an operational amplifier as a voltage comparator. The
theory of voltage comparator will be presented along with the design of several comparator
circuits. The Schmitt trigger comparator will be presented.
Equipment:
 Oscilloscope: DPO 4034B
 Function Generator: AFG3022B
 Triple Power supply
 Capacitors available in the laboratory
 Resistors available in the laboratory
 Multimeter
 TL084 Operational Amplifier
 LM 393 Comparator
Pre-Laboratory:
Read this laboratory experiment carefully to become familiar with the background and the
procedural steps in this experiment. Carefully read each section and become familiar with the
equations for each circuit.
Using the simulation package of your choice in which you are the most familiar with: Mulitsim,
Workbench or LTSpice IV simulate the linear regulator of Figure 2.
A. Download the National Semiconductor LM393 voltage comparator datasheet and
become familiar with this part.
B. Using an op-amp with +Vcc set to +15 volts and -Vcc set to -15 volts, simulate the
comparator circuit of Figure 3.
C. Use a 10 volts peak 500 Hz triangle waveform for the input Vin (DC offset =0 volts).
2
D. Plot Vout as a function of time for Vref = 1volt.
E. Determine the voltage Vin where Vout switches from +Vcc to -Vcc.
When Vin = 1.095 V, Vout changes from +Vcc to –Vcc
F. Repeat Steps b - e for Vref = 2 volts, 5 volts and 8 volts.
Vref = 2 V: R1 = 1kΩ, R2 = 6.5kΩ
3
When Vin = 1.605 V, Vout changes from +Vcc to –Vcc
Vref = 5 V: R1 = 1kΩ, R2 = 2kΩ
When Vin = 4.624V Vout changes from +Vcc to –Vcc
Vref = 8 V: R1 = 8kΩ, R2 = 7kΩ
4
When Vin = 7.655 V, Vout changes from +Vcc to –Vcc
G. Using an op-amp with +Vcc set to +15 volts and -Vcc set to -15 volts, simulate the
comparator circuit of Figure 4.
H. Use a 10 volts peak 500 Hz triangle waveform for the input Vin (DC offset =0 volts).
I. Plot Vout as a function of time for Vref = 1 volt.
VRef = 1 V: R1 = 1kΩ, R2 = 14kΩ
5
J. Determine the voltage Vin where Vout switches from +Vcc to -Vcc.
When Vin = 1.405 V, Vout changes from +Vcc to –Vcc
K. Repeat Steps g - j for Vref = 2 volts, 5 volts and 8 volts.
Vref = 2 V: R1 = 1kΩ, R2 = 6.5kΩ
When Vin = 2.321 V, Vout changes from +Vcc to –Vcc
Vref = 5 V: R1 = 1kΩ, R2 = 2kΩ
6
When Vin = 5.144 V Vout changes from +Vcc to –Vcc
Vref = 8 V: R1 = 8kΩ, R2 = 7kΩ
When Vin = 8.360 V, Vout changes from +Vcc to –Vcc
L. Using an op-amp with +Vcc set to +15 volts and -Vcc set to -15 volts, simulate the
comparator circuit of Figure 8.
M. Let R2 =10k and R1 =1k.
N. Use a 5 volts peak 500 Hz triangle waveform for the input Vin (DC offset =0 volts).
7
O. Determine the voltage Vin where Vout switches from +Vcc to -Vcc.
Vo is +Vcc when Vref is connected to –Vcc which is evident by equation (13)
When Vin = -1.459V Vout changes from +Vcc to –Vcc
P. Plot Vout as a function of time.
8
Q. Determine Vout max and Vout min. Replace +Vcc with Vout max and -Vcc with Vout min
in Equations (22) - (25).
Vout max = 13.477 V and Vout min = -13.478 V
Our calculated values were then substituted into the given equations.
Vout = +Vcc when Vin > -Vcc(R1/(R1+R2)) → Vin> -1.348 V
Vout = -Vcc when Vin < +Vcc(R1/(R1+R2)) → Vin < 1.348 V
Vout(+Vcc→Vcc) when Vin < -Vcc(R1/(R1+R2)) → Vin < -1.348 V
Vout(-Vcc→+Vcc) when Vin > +Vcc(R1/(R1+R2)) → Vin > 1.348 V
R. Compare the Equations (22) - (25) with Step o.
When comparing values we were off by a few mV’s.
S. Using an op-amp with +Vcc set to +15 volts and -Vcc set to -15 volts, simulate the
comparator circuit of Figure 12.
T. Let R2 =10k and R1 =1k.
U. Use a 5 volts peak 500 Hz triangle waveform for the input Vin (DC offset =0 volts).
9
V. Determine the voltage, Vin, where Vout switches from +Vcc to -Vcc.
When Vin = 1.346 V, Vout changes from +Vcc to –Vcc
W. Plot Vout as a function of time.
X. Determine Vout max and Vout min. Replace +Vcc with Vout max and -Vcc with Vout min
in Equations (30) - (33).
Vout max = 13.477 V and Vout min = -13.478 V
10
Our calculated values were then substituted into the given equations.
Vout = +Vcc when Vin > -Vcc(R1/(R1+R2)) → Vin> -1.348 V
Vout = -Vcc when Vin < +Vcc(R1/(R1+R2)) → Vin < 1.348 V
Vout(+Vcc→Vcc) when Vin < -Vcc(R1/(R1+R2)) → Vin < -1.348 V
Vout(-Vcc→+Vcc) when Vin > +Vcc(R1/(R1+R2)) → Vin > 1.348 V
Y. Compare the Equations (30) - (33) with Step v.
The results are very close and are only a few mV’s apart.
Z. Simulate the pulse width modulator circuit of Figure 14.
AA.Use a 0 to 10 volt 1000 Hz sawtooth waveform. Vary Vin from 0 to 10 volts (0, 1, 2, 5, 8,
and 10 volts) and measure T1 the time Vout = +Vcc.
Voltage
(V)
Time difference
(µs)
0 0
1 17.9
2 42.7
5 109.2
8 190.1
10 236.6
11
BB. Plot T1 versus Vin.
CC. Compare Step bb to Equation (36) with T=0.001 sec and K 10 volts.
Voltage
(V)
Time difference
(Sec)
0 0
1 0.0001
2 0.0002
5 0.0005
8 0.0008
10 0.001
The Time difference is greater than our calculated values from this step.
Procedure:
General Setup:
1. Record the model and serial number of the scope, power supply, multimeter and
function generator used in laboratory experiment.
2. Download the datasheet for the LM393 comparator. This will be needed to obtain the
pin-out of the comparator. When comparing datasheet data values to experimental data
use the typical values in the datasheet if given.
12
3. When measuring any values make sure to measure all inputs as well as the output of the
circuit. Do not rely on the values indicated on the instruments. Always measure all signal
values.
4. Before turning any power on double check the wiring to make sure that it is correct.
5. Measure all resistors that are used in the amplifier circuits using the multimeter and
record these values.
6. Use all measured values to determine experimental results such as gain and current.
7. Comparing data means to calculate the percent difference between two values. For
example, theoretical values versus measured values.
8. Comparing data graphically means to plot the data on the same plot to see how the data
overlaps.
Comparator Circuits:
1. Build Download the National Semiconductor LM393 voltage comparator datasheet and
become familiar with this part.
2. Using an op-amp with +Vcc set to +15 volts and -Vcc set to -15 volts, build the
comparator circuit of Figure 3.
3. Use a 20 volt peak-to-peak 500 Hz triangle waveform for the input Vin (DC offset =0
volts).
4. Plot Vout as a function of time for Vref = 1volt using an oscilloscope.
13
5. Determine the voltage Vin where Vout switches from +Vcc to -Vcc.
Vin = 997.7mV
6. Repeat Steps 3 - 5 for Vref = 2 volts and 8 volts.
(OMIT)
7. Using an op-amp with +Vcc set to +15 volts and -Vcc set to -15 volts, build the
comparator circuit of Figure 5.
14
8. Use a 20 volt peak-to-peak 500 Hz triangle waveform for the input Vin (DC offset =0
volts).
9. Plot Vout as a function of time for Vref = 1volt using an oscilloscope.
10. Determine the voltage Vin where Vout switches from +Vcc to -Vcc.
Vin = 1V
11. Repeat Steps 8 - 10 for Vref = 2 volts and 8 volts.
(OMIT)
12. Using an op-amp with +Vcc set to +15 volts and -Vcc set to -15 volts, build the
comparator circuit of Figure 10.
15
13. Let R2 =10k and R1 =1k.
14. Use a 10 volt peak-to-peak 500 Hz triangle waveform for the input Vin (DC offset =0
volts).
15. Determine the voltage Vin where Vout switches from +Vcc to -Vcc.
Vin = 1.3 V
16. Plot Vout as a function of time using an oscilloscope.
17. Determine Vout max and Vout min from the oscilloscope traces. Replace +Vcc with Vout
max and -Vcc with Vout min in Equations (22) - (25).
16
V
V
V
V
18. Compare the Equations (22) - (25) with Step 15.
Comparing equations from the data collected from the oscilloscope we are a few mV’s
off.
19. Using an op-amp with +Vcc set to +15 volts and -Vcc set to -15 volts, build the
comparator circuit of Figure 12.
17
20. Let R2 =10k and R1 =1k.
21. Use a 10 volt peak-to-peak 500 Hz triangle waveform for the input Vin (DC offset =0
volts).
22. Determine the voltage Vin where Vout switches from +Vcc to -Vcc.
Vin = 1 V
23. Plot Vout as a function of time using an oscilloscope.
24. Determine Vout max and Vout min from the oscilloscope traces. Replace +Vcc with Vout
max and -Vcc with Vout min in Equations (30) - (33).
18
V
V
V
V
25. Compare the Equations (30) - (33) with Step 22.
Comparing equations from the data collected from the oscilloscope we are a few mV’s
off on the Vout max but we are off almost half a volt on the Vout min but that is
probably due to bad measuring on the oscilloscope.
26. Repeat steps 2-5 and steps 7-10 using the LM393 comparator with around a 2k pull-up
resistor.
Steps 2-5
19
Vin = 999.47 mV
Steps 7-10
20
Vin = 1.223 V
27. Build the pulse width modulator circuit of Figure 14.
21
28. Use a 0 to 10 volt 1000 Hz saw tooth waveform. Vary Vin from 0 to 10 volts (0, 2, 4, 8,
and 10 volts) and measure T1 the time Vout = +Vcc.
Voltage (V) Time difference (sec)
0 0
2 207.3 µ
4 403.2 µ
8 803.2 µ
10 1.019 m
29. Plot T1 versus Vin.
0
0.0002
0.0004
0.0006
0.0008
0.001
0.0012
0 2 4 6 8 10 12
Voltage
22
Vin = 0 V
Vin = 2 V
23
Vin = 4 V
Vin = 8 V
24
Vin = 10 V
25
30. Compare Step 29 to Equation (36) with T=0.001 sec and K 10 volts.
Voltage
(V)
Time difference
(sec)
0 0
2 0.0002
4 0.0004
8 0.0008
10 0.0010
The numbers we obtained from our data are nearly identical from the data we
collected during the pre-lab.
Conclusion:
Experiment 7 teaches us how the concepts of using an operational amplifier as a voltage
comparator. We are taught the theory behind the voltage comparator and multiple circuit designs with
operational amplifiers that can be used as voltage comparators. These concepts build on our previous
experiments as we already have a solid background in operational amplifiers now. We are taught when
we need to use voltage comparisons and how regularly they are actually used in circuit design and in
real world applications. We are also asked to design a circuit using an actual voltage comparator
component LM393. We are also taught what a Schmitt trigger is and how it uses the phenomena
hysteresis. We also were taught and then designed a pulse width modulator with the main component
being the voltage comparator.
When looking at our results and verifying them with our data collected in the pre-lab we can
come to the conclusion that our circuit design results are fairly accurate. Especially accounting for the
most common losses and not a hypothetically idea situation.

More Related Content

What's hot

Rc phase shift oscillator
Rc phase shift oscillatorRc phase shift oscillator
Rc phase shift oscillatorRaj Mehra Mehar
 
Ee321 lab expt 7_negative_feedback_in_ amplifiers
Ee321 lab expt 7_negative_feedback_in_ amplifiersEe321 lab expt 7_negative_feedback_in_ amplifiers
Ee321 lab expt 7_negative_feedback_in_ amplifierssagarchawla76
 
Operational amplifier
Operational amplifierOperational amplifier
Operational amplifierUnsa Shakir
 
Two port networks unit ii
Two port networks unit iiTwo port networks unit ii
Two port networks unit iimrecedu
 
O.C & S.C Test, Sumpner or back to back Test, Condition for maximum efficienc...
O.C & S.C Test, Sumpner or back to back Test, Condition for maximum efficienc...O.C & S.C Test, Sumpner or back to back Test, Condition for maximum efficienc...
O.C & S.C Test, Sumpner or back to back Test, Condition for maximum efficienc...Abhishek Choksi
 
EC 2 lab manual with circulits
EC 2 lab manual with circulitsEC 2 lab manual with circulits
EC 2 lab manual with circulitsMurugan Dhandapani
 
DETERMINATION OF VOLTAGE REGULATION METHOD OF SYNCHRONOUS MACHINE
DETERMINATION OF VOLTAGE REGULATION METHOD OF SYNCHRONOUS MACHINEDETERMINATION OF VOLTAGE REGULATION METHOD OF SYNCHRONOUS MACHINE
DETERMINATION OF VOLTAGE REGULATION METHOD OF SYNCHRONOUS MACHINEvishalgohel12195
 
Current commutated chopper
Current commutated chopperCurrent commutated chopper
Current commutated chopperJyoti Singh
 
Electronic DC Voltmeter using PMMC
Electronic DC Voltmeter using PMMCElectronic DC Voltmeter using PMMC
Electronic DC Voltmeter using PMMCDr Naim R Kidwai
 
Alternator / Synchronous Generator
Alternator / Synchronous GeneratorAlternator / Synchronous Generator
Alternator / Synchronous GeneratorRidwanul Hoque
 
Rectifiers
RectifiersRectifiers
Rectifiersvannali
 
Boost converter by Rahman Cahyadiputra
Boost converter by Rahman CahyadiputraBoost converter by Rahman Cahyadiputra
Boost converter by Rahman CahyadiputraRahman Cahyadiputra
 

What's hot (20)

Rc phase shift oscillator
Rc phase shift oscillatorRc phase shift oscillator
Rc phase shift oscillator
 
Ee321 lab expt 7_negative_feedback_in_ amplifiers
Ee321 lab expt 7_negative_feedback_in_ amplifiersEe321 lab expt 7_negative_feedback_in_ amplifiers
Ee321 lab expt 7_negative_feedback_in_ amplifiers
 
Operational amplifier
Operational amplifierOperational amplifier
Operational amplifier
 
Exp passive filter (9)
Exp passive filter (9)Exp passive filter (9)
Exp passive filter (9)
 
3 nodal analysis
3 nodal analysis3 nodal analysis
3 nodal analysis
 
Multistage transistor
Multistage transistorMultistage transistor
Multistage transistor
 
1 phase semiconverter
1 phase semiconverter1 phase semiconverter
1 phase semiconverter
 
Two port networks unit ii
Two port networks unit iiTwo port networks unit ii
Two port networks unit ii
 
O.C & S.C Test, Sumpner or back to back Test, Condition for maximum efficienc...
O.C & S.C Test, Sumpner or back to back Test, Condition for maximum efficienc...O.C & S.C Test, Sumpner or back to back Test, Condition for maximum efficienc...
O.C & S.C Test, Sumpner or back to back Test, Condition for maximum efficienc...
 
EC 2 lab manual with circulits
EC 2 lab manual with circulitsEC 2 lab manual with circulits
EC 2 lab manual with circulits
 
Dc generator
Dc generator Dc generator
Dc generator
 
DETERMINATION OF VOLTAGE REGULATION METHOD OF SYNCHRONOUS MACHINE
DETERMINATION OF VOLTAGE REGULATION METHOD OF SYNCHRONOUS MACHINEDETERMINATION OF VOLTAGE REGULATION METHOD OF SYNCHRONOUS MACHINE
DETERMINATION OF VOLTAGE REGULATION METHOD OF SYNCHRONOUS MACHINE
 
Current commutated chopper
Current commutated chopperCurrent commutated chopper
Current commutated chopper
 
Electronic DC Voltmeter using PMMC
Electronic DC Voltmeter using PMMCElectronic DC Voltmeter using PMMC
Electronic DC Voltmeter using PMMC
 
It 05104 digsig_1
It 05104 digsig_1It 05104 digsig_1
It 05104 digsig_1
 
Alternator / Synchronous Generator
Alternator / Synchronous GeneratorAlternator / Synchronous Generator
Alternator / Synchronous Generator
 
3.magnetically coupled circuit
3.magnetically coupled circuit3.magnetically coupled circuit
3.magnetically coupled circuit
 
Lab - 03
Lab - 03Lab - 03
Lab - 03
 
Rectifiers
RectifiersRectifiers
Rectifiers
 
Boost converter by Rahman Cahyadiputra
Boost converter by Rahman CahyadiputraBoost converter by Rahman Cahyadiputra
Boost converter by Rahman Cahyadiputra
 

Similar to Lab 7 Report Voltage Comparators and Schmitt Triggers

Lecture 28 360 chapter 9_ power electronics inverters
Lecture 28 360 chapter 9_  power electronics invertersLecture 28 360 chapter 9_  power electronics inverters
Lecture 28 360 chapter 9_ power electronics invertersValentino Selayan
 
Analog and Digital Electronics Lab Manual
Analog and Digital Electronics Lab ManualAnalog and Digital Electronics Lab Manual
Analog and Digital Electronics Lab ManualChirag Shetty
 
Ic apps lab_manual_jwfiles
Ic apps lab_manual_jwfilesIc apps lab_manual_jwfiles
Ic apps lab_manual_jwfilesVijay Kumar
 
Analog signal conditioning
Analog signal conditioningAnalog signal conditioning
Analog signal conditioningsebgeorge1
 
EEE 117L Network Analysis Laboratory Lab 1 1
EEE 117L Network Analysis Laboratory  Lab 1     1  EEE 117L Network Analysis Laboratory  Lab 1     1
EEE 117L Network Analysis Laboratory Lab 1 1 EvonCanales257
 
Electric Circuits Lab Series RC Circuits Phase Angle, Phase Lag.docx
Electric Circuits Lab Series RC Circuits Phase Angle, Phase Lag.docxElectric Circuits Lab Series RC Circuits Phase Angle, Phase Lag.docx
Electric Circuits Lab Series RC Circuits Phase Angle, Phase Lag.docxpauline234567
 
Assignment 1 Description Marks out of Wtg() Due date .docx
Assignment 1  Description Marks out of Wtg() Due date .docxAssignment 1  Description Marks out of Wtg() Due date .docx
Assignment 1 Description Marks out of Wtg() Due date .docxfredharris32
 
Electric Circuits Lab Inductors in DC CircuitsI. .docx
Electric Circuits Lab Inductors in DC CircuitsI.          .docxElectric Circuits Lab Inductors in DC CircuitsI.          .docx
Electric Circuits Lab Inductors in DC CircuitsI. .docxpauline234567
 
Solved problems to_chapter_09
Solved problems to_chapter_09Solved problems to_chapter_09
Solved problems to_chapter_09Shah Zaib
 
Power supply designed by amani james
Power supply  designed by amani  jamesPower supply  designed by amani  james
Power supply designed by amani jamesAmani James
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)Sarah Krystelle
 
Aaaa jjjjjjjj band gap pdf
Aaaa jjjjjjjj band gap pdfAaaa jjjjjjjj band gap pdf
Aaaa jjjjjjjj band gap pdfChichan Ibn Adam
 
Solar powered illumination with maximum power point tracking MPPT by Anoop ku...
Solar powered illumination with maximum power point tracking MPPT by Anoop ku...Solar powered illumination with maximum power point tracking MPPT by Anoop ku...
Solar powered illumination with maximum power point tracking MPPT by Anoop ku...Anoop kumar Niravuparambil
 
Design & Construction of Switched Mode Power Supplies
Design & Construction of Switched Mode Power Supplies Design & Construction of Switched Mode Power Supplies
Design & Construction of Switched Mode Power Supplies Sachin Mehta
 

Similar to Lab 7 Report Voltage Comparators and Schmitt Triggers (20)

Switched capacitor circuits_shish
Switched capacitor circuits_shishSwitched capacitor circuits_shish
Switched capacitor circuits_shish
 
Lecture 28 360 chapter 9_ power electronics inverters
Lecture 28 360 chapter 9_  power electronics invertersLecture 28 360 chapter 9_  power electronics inverters
Lecture 28 360 chapter 9_ power electronics inverters
 
Analog and Digital Electronics Lab Manual
Analog and Digital Electronics Lab ManualAnalog and Digital Electronics Lab Manual
Analog and Digital Electronics Lab Manual
 
project.pptx
project.pptxproject.pptx
project.pptx
 
Ic apps lab_manual_jwfiles
Ic apps lab_manual_jwfilesIc apps lab_manual_jwfiles
Ic apps lab_manual_jwfiles
 
EE101 Lab4 Guillemaud
EE101 Lab4 GuillemaudEE101 Lab4 Guillemaud
EE101 Lab4 Guillemaud
 
Analog signal conditioning
Analog signal conditioningAnalog signal conditioning
Analog signal conditioning
 
EEE 117L Network Analysis Laboratory Lab 1 1
EEE 117L Network Analysis Laboratory  Lab 1     1  EEE 117L Network Analysis Laboratory  Lab 1     1
EEE 117L Network Analysis Laboratory Lab 1 1
 
Electric Circuits Lab Series RC Circuits Phase Angle, Phase Lag.docx
Electric Circuits Lab Series RC Circuits Phase Angle, Phase Lag.docxElectric Circuits Lab Series RC Circuits Phase Angle, Phase Lag.docx
Electric Circuits Lab Series RC Circuits Phase Angle, Phase Lag.docx
 
Assignment 1 Description Marks out of Wtg() Due date .docx
Assignment 1  Description Marks out of Wtg() Due date .docxAssignment 1  Description Marks out of Wtg() Due date .docx
Assignment 1 Description Marks out of Wtg() Due date .docx
 
pwm inverter
pwm inverterpwm inverter
pwm inverter
 
Electric Circuits Lab Inductors in DC CircuitsI. .docx
Electric Circuits Lab Inductors in DC CircuitsI.          .docxElectric Circuits Lab Inductors in DC CircuitsI.          .docx
Electric Circuits Lab Inductors in DC CircuitsI. .docx
 
Solved problems to_chapter_09
Solved problems to_chapter_09Solved problems to_chapter_09
Solved problems to_chapter_09
 
Power supply designed by amani james
Power supply  designed by amani  jamesPower supply  designed by amani  james
Power supply designed by amani james
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
 
E&e lab manual
E&e lab manualE&e lab manual
E&e lab manual
 
Aaaa jjjjjjjj band gap pdf
Aaaa jjjjjjjj band gap pdfAaaa jjjjjjjj band gap pdf
Aaaa jjjjjjjj band gap pdf
 
Solar powered illumination with maximum power point tracking MPPT by Anoop ku...
Solar powered illumination with maximum power point tracking MPPT by Anoop ku...Solar powered illumination with maximum power point tracking MPPT by Anoop ku...
Solar powered illumination with maximum power point tracking MPPT by Anoop ku...
 
Design & Construction of Switched Mode Power Supplies
Design & Construction of Switched Mode Power Supplies Design & Construction of Switched Mode Power Supplies
Design & Construction of Switched Mode Power Supplies
 
Ijsrp p10285
Ijsrp p10285Ijsrp p10285
Ijsrp p10285
 

More from Katrina Little

Electronics ii hand written formula sheets
Electronics ii hand written formula sheetsElectronics ii hand written formula sheets
Electronics ii hand written formula sheetsKatrina Little
 
Embedded Systems Design of Hexidecimal Calculator
Embedded Systems Design of Hexidecimal Calculator Embedded Systems Design of Hexidecimal Calculator
Embedded Systems Design of Hexidecimal Calculator Katrina Little
 
MATLAB / Simulink: Inverted Pendulum on a Moving Cart
MATLAB / Simulink: Inverted Pendulum on a Moving Cart MATLAB / Simulink: Inverted Pendulum on a Moving Cart
MATLAB / Simulink: Inverted Pendulum on a Moving Cart Katrina Little
 
MATLAB / Simulink HW for Linear Control Systems
MATLAB / Simulink HW for Linear Control Systems MATLAB / Simulink HW for Linear Control Systems
MATLAB / Simulink HW for Linear Control Systems Katrina Little
 
Experiment 2, Diode Applications
Experiment 2, Diode ApplicationsExperiment 2, Diode Applications
Experiment 2, Diode ApplicationsKatrina Little
 
Experiment 6, 3-Stage BJT Amplifier Design Project
Experiment 6, 3-Stage BJT Amplifier Design ProjectExperiment 6, 3-Stage BJT Amplifier Design Project
Experiment 6, 3-Stage BJT Amplifier Design ProjectKatrina Little
 
Experiment 5, Transistor Small Signal Amplifiers
Experiment 5, Transistor Small Signal AmplifiersExperiment 5, Transistor Small Signal Amplifiers
Experiment 5, Transistor Small Signal AmplifiersKatrina Little
 
Experiment 4, Transistor AC Amplifiers
Experiment 4, Transistor AC AmplifiersExperiment 4, Transistor AC Amplifiers
Experiment 4, Transistor AC AmplifiersKatrina Little
 
Experiment 3 Low Pass Filter
Experiment 3 Low Pass Filter Experiment 3 Low Pass Filter
Experiment 3 Low Pass Filter Katrina Little
 
Lab 4 EEL 3552 Amplitude Modulation with MATLAB Simulations
Lab 4 EEL 3552 Amplitude Modulation with MATLAB SimulationsLab 4 EEL 3552 Amplitude Modulation with MATLAB Simulations
Lab 4 EEL 3552 Amplitude Modulation with MATLAB SimulationsKatrina Little
 
RC Circuit Transfer Functions with Bode Diagrams
RC Circuit Transfer Functions with Bode Diagrams RC Circuit Transfer Functions with Bode Diagrams
RC Circuit Transfer Functions with Bode Diagrams Katrina Little
 
Lab 9 D-Flip Flops: Shift Register and Sequence Counter
Lab 9 D-Flip Flops: Shift Register and Sequence CounterLab 9 D-Flip Flops: Shift Register and Sequence Counter
Lab 9 D-Flip Flops: Shift Register and Sequence CounterKatrina Little
 
Lab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor board
Lab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor boardLab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor board
Lab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor boardKatrina Little
 
Lab 4 Three-Bit Binary Adder
Lab 4 Three-Bit Binary AdderLab 4 Three-Bit Binary Adder
Lab 4 Three-Bit Binary AdderKatrina Little
 
Lab 3 Multi-Function Gate
Lab 3   Multi-Function GateLab 3   Multi-Function Gate
Lab 3 Multi-Function GateKatrina Little
 
Lab 2-Simple Combinational Logic
Lab 2-Simple Combinational LogicLab 2-Simple Combinational Logic
Lab 2-Simple Combinational LogicKatrina Little
 
Senior design power supply pcb eagle_cad
Senior design power supply pcb eagle_cadSenior design power supply pcb eagle_cad
Senior design power supply pcb eagle_cadKatrina Little
 
MATLAB: Output Voltage of Series RC Circuit utilizing Euler Approximations
MATLAB: Output Voltage of Series RC Circuit utilizing Euler Approximations MATLAB: Output Voltage of Series RC Circuit utilizing Euler Approximations
MATLAB: Output Voltage of Series RC Circuit utilizing Euler Approximations Katrina Little
 
Semiconductors exam(s) hand written formula sheets
Semiconductors exam(s) hand written formula sheetsSemiconductors exam(s) hand written formula sheets
Semiconductors exam(s) hand written formula sheetsKatrina Little
 
Photonics exams hand written formulas
Photonics exams hand written formulasPhotonics exams hand written formulas
Photonics exams hand written formulasKatrina Little
 

More from Katrina Little (20)

Electronics ii hand written formula sheets
Electronics ii hand written formula sheetsElectronics ii hand written formula sheets
Electronics ii hand written formula sheets
 
Embedded Systems Design of Hexidecimal Calculator
Embedded Systems Design of Hexidecimal Calculator Embedded Systems Design of Hexidecimal Calculator
Embedded Systems Design of Hexidecimal Calculator
 
MATLAB / Simulink: Inverted Pendulum on a Moving Cart
MATLAB / Simulink: Inverted Pendulum on a Moving Cart MATLAB / Simulink: Inverted Pendulum on a Moving Cart
MATLAB / Simulink: Inverted Pendulum on a Moving Cart
 
MATLAB / Simulink HW for Linear Control Systems
MATLAB / Simulink HW for Linear Control Systems MATLAB / Simulink HW for Linear Control Systems
MATLAB / Simulink HW for Linear Control Systems
 
Experiment 2, Diode Applications
Experiment 2, Diode ApplicationsExperiment 2, Diode Applications
Experiment 2, Diode Applications
 
Experiment 6, 3-Stage BJT Amplifier Design Project
Experiment 6, 3-Stage BJT Amplifier Design ProjectExperiment 6, 3-Stage BJT Amplifier Design Project
Experiment 6, 3-Stage BJT Amplifier Design Project
 
Experiment 5, Transistor Small Signal Amplifiers
Experiment 5, Transistor Small Signal AmplifiersExperiment 5, Transistor Small Signal Amplifiers
Experiment 5, Transistor Small Signal Amplifiers
 
Experiment 4, Transistor AC Amplifiers
Experiment 4, Transistor AC AmplifiersExperiment 4, Transistor AC Amplifiers
Experiment 4, Transistor AC Amplifiers
 
Experiment 3 Low Pass Filter
Experiment 3 Low Pass Filter Experiment 3 Low Pass Filter
Experiment 3 Low Pass Filter
 
Lab 4 EEL 3552 Amplitude Modulation with MATLAB Simulations
Lab 4 EEL 3552 Amplitude Modulation with MATLAB SimulationsLab 4 EEL 3552 Amplitude Modulation with MATLAB Simulations
Lab 4 EEL 3552 Amplitude Modulation with MATLAB Simulations
 
RC Circuit Transfer Functions with Bode Diagrams
RC Circuit Transfer Functions with Bode Diagrams RC Circuit Transfer Functions with Bode Diagrams
RC Circuit Transfer Functions with Bode Diagrams
 
Lab 9 D-Flip Flops: Shift Register and Sequence Counter
Lab 9 D-Flip Flops: Shift Register and Sequence CounterLab 9 D-Flip Flops: Shift Register and Sequence Counter
Lab 9 D-Flip Flops: Shift Register and Sequence Counter
 
Lab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor board
Lab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor boardLab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor board
Lab 7 -RAM and ROM, Xilinx, Digelent BASYS experimentor board
 
Lab 4 Three-Bit Binary Adder
Lab 4 Three-Bit Binary AdderLab 4 Three-Bit Binary Adder
Lab 4 Three-Bit Binary Adder
 
Lab 3 Multi-Function Gate
Lab 3   Multi-Function GateLab 3   Multi-Function Gate
Lab 3 Multi-Function Gate
 
Lab 2-Simple Combinational Logic
Lab 2-Simple Combinational LogicLab 2-Simple Combinational Logic
Lab 2-Simple Combinational Logic
 
Senior design power supply pcb eagle_cad
Senior design power supply pcb eagle_cadSenior design power supply pcb eagle_cad
Senior design power supply pcb eagle_cad
 
MATLAB: Output Voltage of Series RC Circuit utilizing Euler Approximations
MATLAB: Output Voltage of Series RC Circuit utilizing Euler Approximations MATLAB: Output Voltage of Series RC Circuit utilizing Euler Approximations
MATLAB: Output Voltage of Series RC Circuit utilizing Euler Approximations
 
Semiconductors exam(s) hand written formula sheets
Semiconductors exam(s) hand written formula sheetsSemiconductors exam(s) hand written formula sheets
Semiconductors exam(s) hand written formula sheets
 
Photonics exams hand written formulas
Photonics exams hand written formulasPhotonics exams hand written formulas
Photonics exams hand written formulas
 

Recently uploaded

Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...Call girls in Ahmedabad High profile
 

Recently uploaded (20)

Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
 

Lab 7 Report Voltage Comparators and Schmitt Triggers

  • 1. 1 Katrina Little Electronics II Lab #7: Voltage Comparators and Schmitt Triggers Goals: To introduce the concepts of using an operational amplifier as a voltage comparator. The theory of voltage comparator will be presented along with the design of several comparator circuits. The Schmitt trigger comparator will be presented. Equipment:  Oscilloscope: DPO 4034B  Function Generator: AFG3022B  Triple Power supply  Capacitors available in the laboratory  Resistors available in the laboratory  Multimeter  TL084 Operational Amplifier  LM 393 Comparator Pre-Laboratory: Read this laboratory experiment carefully to become familiar with the background and the procedural steps in this experiment. Carefully read each section and become familiar with the equations for each circuit. Using the simulation package of your choice in which you are the most familiar with: Mulitsim, Workbench or LTSpice IV simulate the linear regulator of Figure 2. A. Download the National Semiconductor LM393 voltage comparator datasheet and become familiar with this part. B. Using an op-amp with +Vcc set to +15 volts and -Vcc set to -15 volts, simulate the comparator circuit of Figure 3. C. Use a 10 volts peak 500 Hz triangle waveform for the input Vin (DC offset =0 volts).
  • 2. 2 D. Plot Vout as a function of time for Vref = 1volt. E. Determine the voltage Vin where Vout switches from +Vcc to -Vcc. When Vin = 1.095 V, Vout changes from +Vcc to –Vcc F. Repeat Steps b - e for Vref = 2 volts, 5 volts and 8 volts. Vref = 2 V: R1 = 1kΩ, R2 = 6.5kΩ
  • 3. 3 When Vin = 1.605 V, Vout changes from +Vcc to –Vcc Vref = 5 V: R1 = 1kΩ, R2 = 2kΩ When Vin = 4.624V Vout changes from +Vcc to –Vcc Vref = 8 V: R1 = 8kΩ, R2 = 7kΩ
  • 4. 4 When Vin = 7.655 V, Vout changes from +Vcc to –Vcc G. Using an op-amp with +Vcc set to +15 volts and -Vcc set to -15 volts, simulate the comparator circuit of Figure 4. H. Use a 10 volts peak 500 Hz triangle waveform for the input Vin (DC offset =0 volts). I. Plot Vout as a function of time for Vref = 1 volt. VRef = 1 V: R1 = 1kΩ, R2 = 14kΩ
  • 5. 5 J. Determine the voltage Vin where Vout switches from +Vcc to -Vcc. When Vin = 1.405 V, Vout changes from +Vcc to –Vcc K. Repeat Steps g - j for Vref = 2 volts, 5 volts and 8 volts. Vref = 2 V: R1 = 1kΩ, R2 = 6.5kΩ When Vin = 2.321 V, Vout changes from +Vcc to –Vcc Vref = 5 V: R1 = 1kΩ, R2 = 2kΩ
  • 6. 6 When Vin = 5.144 V Vout changes from +Vcc to –Vcc Vref = 8 V: R1 = 8kΩ, R2 = 7kΩ When Vin = 8.360 V, Vout changes from +Vcc to –Vcc L. Using an op-amp with +Vcc set to +15 volts and -Vcc set to -15 volts, simulate the comparator circuit of Figure 8. M. Let R2 =10k and R1 =1k. N. Use a 5 volts peak 500 Hz triangle waveform for the input Vin (DC offset =0 volts).
  • 7. 7 O. Determine the voltage Vin where Vout switches from +Vcc to -Vcc. Vo is +Vcc when Vref is connected to –Vcc which is evident by equation (13) When Vin = -1.459V Vout changes from +Vcc to –Vcc P. Plot Vout as a function of time.
  • 8. 8 Q. Determine Vout max and Vout min. Replace +Vcc with Vout max and -Vcc with Vout min in Equations (22) - (25). Vout max = 13.477 V and Vout min = -13.478 V Our calculated values were then substituted into the given equations. Vout = +Vcc when Vin > -Vcc(R1/(R1+R2)) → Vin> -1.348 V Vout = -Vcc when Vin < +Vcc(R1/(R1+R2)) → Vin < 1.348 V Vout(+Vcc→Vcc) when Vin < -Vcc(R1/(R1+R2)) → Vin < -1.348 V Vout(-Vcc→+Vcc) when Vin > +Vcc(R1/(R1+R2)) → Vin > 1.348 V R. Compare the Equations (22) - (25) with Step o. When comparing values we were off by a few mV’s. S. Using an op-amp with +Vcc set to +15 volts and -Vcc set to -15 volts, simulate the comparator circuit of Figure 12. T. Let R2 =10k and R1 =1k. U. Use a 5 volts peak 500 Hz triangle waveform for the input Vin (DC offset =0 volts).
  • 9. 9 V. Determine the voltage, Vin, where Vout switches from +Vcc to -Vcc. When Vin = 1.346 V, Vout changes from +Vcc to –Vcc W. Plot Vout as a function of time. X. Determine Vout max and Vout min. Replace +Vcc with Vout max and -Vcc with Vout min in Equations (30) - (33). Vout max = 13.477 V and Vout min = -13.478 V
  • 10. 10 Our calculated values were then substituted into the given equations. Vout = +Vcc when Vin > -Vcc(R1/(R1+R2)) → Vin> -1.348 V Vout = -Vcc when Vin < +Vcc(R1/(R1+R2)) → Vin < 1.348 V Vout(+Vcc→Vcc) when Vin < -Vcc(R1/(R1+R2)) → Vin < -1.348 V Vout(-Vcc→+Vcc) when Vin > +Vcc(R1/(R1+R2)) → Vin > 1.348 V Y. Compare the Equations (30) - (33) with Step v. The results are very close and are only a few mV’s apart. Z. Simulate the pulse width modulator circuit of Figure 14. AA.Use a 0 to 10 volt 1000 Hz sawtooth waveform. Vary Vin from 0 to 10 volts (0, 1, 2, 5, 8, and 10 volts) and measure T1 the time Vout = +Vcc. Voltage (V) Time difference (µs) 0 0 1 17.9 2 42.7 5 109.2 8 190.1 10 236.6
  • 11. 11 BB. Plot T1 versus Vin. CC. Compare Step bb to Equation (36) with T=0.001 sec and K 10 volts. Voltage (V) Time difference (Sec) 0 0 1 0.0001 2 0.0002 5 0.0005 8 0.0008 10 0.001 The Time difference is greater than our calculated values from this step. Procedure: General Setup: 1. Record the model and serial number of the scope, power supply, multimeter and function generator used in laboratory experiment. 2. Download the datasheet for the LM393 comparator. This will be needed to obtain the pin-out of the comparator. When comparing datasheet data values to experimental data use the typical values in the datasheet if given.
  • 12. 12 3. When measuring any values make sure to measure all inputs as well as the output of the circuit. Do not rely on the values indicated on the instruments. Always measure all signal values. 4. Before turning any power on double check the wiring to make sure that it is correct. 5. Measure all resistors that are used in the amplifier circuits using the multimeter and record these values. 6. Use all measured values to determine experimental results such as gain and current. 7. Comparing data means to calculate the percent difference between two values. For example, theoretical values versus measured values. 8. Comparing data graphically means to plot the data on the same plot to see how the data overlaps. Comparator Circuits: 1. Build Download the National Semiconductor LM393 voltage comparator datasheet and become familiar with this part. 2. Using an op-amp with +Vcc set to +15 volts and -Vcc set to -15 volts, build the comparator circuit of Figure 3. 3. Use a 20 volt peak-to-peak 500 Hz triangle waveform for the input Vin (DC offset =0 volts). 4. Plot Vout as a function of time for Vref = 1volt using an oscilloscope.
  • 13. 13 5. Determine the voltage Vin where Vout switches from +Vcc to -Vcc. Vin = 997.7mV 6. Repeat Steps 3 - 5 for Vref = 2 volts and 8 volts. (OMIT) 7. Using an op-amp with +Vcc set to +15 volts and -Vcc set to -15 volts, build the comparator circuit of Figure 5.
  • 14. 14 8. Use a 20 volt peak-to-peak 500 Hz triangle waveform for the input Vin (DC offset =0 volts). 9. Plot Vout as a function of time for Vref = 1volt using an oscilloscope. 10. Determine the voltage Vin where Vout switches from +Vcc to -Vcc. Vin = 1V 11. Repeat Steps 8 - 10 for Vref = 2 volts and 8 volts. (OMIT) 12. Using an op-amp with +Vcc set to +15 volts and -Vcc set to -15 volts, build the comparator circuit of Figure 10.
  • 15. 15 13. Let R2 =10k and R1 =1k. 14. Use a 10 volt peak-to-peak 500 Hz triangle waveform for the input Vin (DC offset =0 volts). 15. Determine the voltage Vin where Vout switches from +Vcc to -Vcc. Vin = 1.3 V 16. Plot Vout as a function of time using an oscilloscope. 17. Determine Vout max and Vout min from the oscilloscope traces. Replace +Vcc with Vout max and -Vcc with Vout min in Equations (22) - (25).
  • 16. 16 V V V V 18. Compare the Equations (22) - (25) with Step 15. Comparing equations from the data collected from the oscilloscope we are a few mV’s off. 19. Using an op-amp with +Vcc set to +15 volts and -Vcc set to -15 volts, build the comparator circuit of Figure 12.
  • 17. 17 20. Let R2 =10k and R1 =1k. 21. Use a 10 volt peak-to-peak 500 Hz triangle waveform for the input Vin (DC offset =0 volts). 22. Determine the voltage Vin where Vout switches from +Vcc to -Vcc. Vin = 1 V 23. Plot Vout as a function of time using an oscilloscope. 24. Determine Vout max and Vout min from the oscilloscope traces. Replace +Vcc with Vout max and -Vcc with Vout min in Equations (30) - (33).
  • 18. 18 V V V V 25. Compare the Equations (30) - (33) with Step 22. Comparing equations from the data collected from the oscilloscope we are a few mV’s off on the Vout max but we are off almost half a volt on the Vout min but that is probably due to bad measuring on the oscilloscope. 26. Repeat steps 2-5 and steps 7-10 using the LM393 comparator with around a 2k pull-up resistor. Steps 2-5
  • 19. 19 Vin = 999.47 mV Steps 7-10
  • 20. 20 Vin = 1.223 V 27. Build the pulse width modulator circuit of Figure 14.
  • 21. 21 28. Use a 0 to 10 volt 1000 Hz saw tooth waveform. Vary Vin from 0 to 10 volts (0, 2, 4, 8, and 10 volts) and measure T1 the time Vout = +Vcc. Voltage (V) Time difference (sec) 0 0 2 207.3 µ 4 403.2 µ 8 803.2 µ 10 1.019 m 29. Plot T1 versus Vin. 0 0.0002 0.0004 0.0006 0.0008 0.001 0.0012 0 2 4 6 8 10 12 Voltage
  • 22. 22 Vin = 0 V Vin = 2 V
  • 23. 23 Vin = 4 V Vin = 8 V
  • 25. 25 30. Compare Step 29 to Equation (36) with T=0.001 sec and K 10 volts. Voltage (V) Time difference (sec) 0 0 2 0.0002 4 0.0004 8 0.0008 10 0.0010 The numbers we obtained from our data are nearly identical from the data we collected during the pre-lab. Conclusion: Experiment 7 teaches us how the concepts of using an operational amplifier as a voltage comparator. We are taught the theory behind the voltage comparator and multiple circuit designs with operational amplifiers that can be used as voltage comparators. These concepts build on our previous experiments as we already have a solid background in operational amplifiers now. We are taught when we need to use voltage comparisons and how regularly they are actually used in circuit design and in real world applications. We are also asked to design a circuit using an actual voltage comparator component LM393. We are also taught what a Schmitt trigger is and how it uses the phenomena hysteresis. We also were taught and then designed a pulse width modulator with the main component being the voltage comparator. When looking at our results and verifying them with our data collected in the pre-lab we can come to the conclusion that our circuit design results are fairly accurate. Especially accounting for the most common losses and not a hypothetically idea situation.