Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

Electronic Circuit Design ( EE - 313 ) LAB REPORT

Electronic Circuit Design


(EE-313)

DE-43 Mechatronics
Syndicate – B

LAB REPORT # 6 (Lab#10, week 5)


Analysis of Comparator Circuit Operations

Names of Group Members:


 NS Saad Irfan CMS ID #388842
 NS Talha Aftab CMS ID #398492
 NS Rayyan Naveed CMS ID #365733

Submitted to: LE Noor Ul Huda

Page PAGE 5 of NUMPAGES 5


Electronic Circuit Design ( EE - 313 ) LAB REPORT

Introduction:

In this lab, we used LM741 and 339 comparator IC to implement comparator as a


level detector and window comparator circuit. We were required to find the reference voltage
and measure the other required values as indicated in the lab manual.

Objective:

 To implement comparator as a level detector using LM741and 339 IC.


 To implement window comparator circuit.

Apparatus:

1. Resistors: 10 kΩ and 1 kΩ.


2. Potentiometer: 50 kΩ.
3. Oscilloscope
4. Probe Wires
5. DC source
6. LED
7. 2N3904
8. 339 Comparator IC:

The 339 comparator IC has four individual voltage comparators within a


single package, making it efficient for applications requiring multiple comparisons.
Each comparator has two inputs, an inverting and a non-inverting input, allowing it to
determine if the voltage at one input is greater than the voltage at the other. When a
voltage on the non-inverting input is higher than the inverting input, the output goes
high, and vice versa.

Page PAGE 5 of NUMPAGES 5


Electronic Circuit Design ( EE - 313 ) LAB REPORT

9. LM741 (UA741) IC

Comparators:

Voltage comparators are basic electronic devices that compare two input voltage
signals and determine their magnitude relationship. These devices have two inverting (-) and
non-inverting (+) input terminals, as well as a single output. When the voltage at the non-
inverting input is greater than the voltage at the inverting input, the output is high; when it is
lower, the output is low. Voltage comparators are essential for tasks such as digital signal
conditioning, threshold detection, and generating digital logic signals from analog inputs due
to their simple comparison capability.

Lab Task #1 Level Detector:

The level detector configuration of the 339 voltage comparator IC utilizes its multiple
comparators to determine if an input voltage signal exceeds a specified threshold or reference
voltage. To implement it you typically connect the input voltage you want to monitor to one
of the non-inverting inputs of a comparator, and the reference voltage or threshold to the
inverting input. The other comparators can be similarly configured for different threshold
levels. When the input voltage exceeds the set threshold, the corresponding comparator's
output switches, signaling the detection of the level transition.

Page PAGE 5 of NUMPAGES 5


Electronic Circuit Design ( EE - 313 ) LAB REPORT

Practical Implementation:

Level Detector Circuit

Lab Task #2 (Window Comparator):

The window comparator configuration utilizing the 339 voltage comparator IC


determines whether an input voltage signal falls within a predefined range. By connecting the
input voltage to one of the comparators' non-inverting inputs and applying upper and lower
reference voltages to the inverting inputs of two separate comparators within the 339 IC, this
configuration can efficiently monitor voltage levels. When the input voltage lies between the
upper and lower thresholds, both comparators produce outputs in the same logical state,
indicating that the voltage is within the specified window.

Practical Implementation:

Window Comparator Circuit


Page PAGE 5 of NUMPAGES 5
Electronic Circuit Design ( EE - 313 ) LAB REPORT

Proteus Simulation:

Level Detector Circuit Simulation

Window Comparator Circuit Simulation

Conclusion:

We successfully
implemented the level detector
circuit and window
comparator circuit using the LM741
operational amplifier IC and
339 Comparator IC. The reference
voltage values were measured.
All other values as required in manual
were also measured and calculated. The practical results were compared with the Proteus
simulation.

Page PAGE 5 of NUMPAGES 5

You might also like