Exp 4
Exp 4
Experiment #: 4
I.D. #: 126399
Objectives:
1. Knowing how the values of potentiometer effect hysteresis lag
2. Learn how comparator circuit work
Equipment:
Resistors ( 100 - kn , 10 - kn , 4.3 - kn )
capacitors ( 100 - PF )
potentiometer ( 50 - kn )
( 741 ) OP . Amp .
( LM339 ) comparator
dc power supply , VOM or DMM , P.G. , Scope .
Circuit Diagram:
1. comparator circuit
Procedure:
*At the bigging we connect the comparator circuit in part one at LTspice then we found the input
and output characteristic at VR=1volt after that we change the input signal from triangular wave
to sinusoidal wave and record the output signal for 1 , 2 volts of VR.
*the second step is connecting the Schmitt trigger circuit and find input and output characteristic
when potentiometer is (50kΩ, 20kΩ, 10kΩ) then record the output and input signals at different
values for potentiometer
*the last step is connecting the third circuit and show the output signal and find the frequency and
duty cycle.
Result
1.transfer characteristics
1.output signal (VR=1)
1.output signal(VR=2)
2.input-output Rpot=20k
2.input-output Rpot=10k
3. tp =6ms t (total)=20ms
Frequency=50Hz duty cycle= 0.3
3.
Conclusion:
*in Schmitt trigger circuit when we decrease the value of potentiometer the hysteresis lag
is decrease.
Codes
Part 1
* C:\Users\Dell\Downloads\4rd semmester 2020-2021\lab de\ex4 part1.asc
XU1 N004 N002 N001 N003 vo level.2 Avol=1Meg GBW=10Meg Slew=10Meg ilimit=25m rail=0
Vos=0 phimargin=45 en=0 enk=0 in=0 ink=0 Rin=500Meg
R1 N002 vin 10k
R2 N004 N005 10k
V1 N005 0 2
V2 N001 0 15
V3 N003 0 -15
V4 vin 0 SINE(0 10 1k 0 0 0)
.tran 0 10m 0 0.000001
.lib UniversalOpamps2.sub
.backanno
.end
Part2
* C:\Users\Dell\Downloads\4rd semmester 2020-2021\lab de\exp4 part2.asc
XU1 N003 N002 N001 N004 vo level.2 Avol=1Meg GBW=10Meg Slew=10Meg ilimit=25m rail=0
Vos=0 phimargin=45 en=0 enk=0 in=0 ink=0 Rin=500Meg
R1 N002 vin 10k
R2 vo N003 10k
R3 N003 0 50k
V1 vin 0 SINE(0 13 1k 0 0 0)
V2 N001 0 15
V3 N004 0 -15
.tran 0 10m 0
.lib UniversalOpamps2.sub
.backanno
.end
Part3
* C:\Users\Dell\Downloads\4rd semmester 2020-2021\lab de\exp4 part3.asc
XU1 N004 N002 N003 N005 vo level.2 Avol=1Meg GBW=10Meg Slew=10Meg ilimit=25m rail=0
Vos=0 phimargin=45 en=0 enk=0 in=0 ink=0 Rin=500Meg
R1 N004 0 100k
R2 N004 N006 100k
R3 vo N002 100k
R4 vo N004 100k
C1 N002 0 100p
R5 N001 vo 4.3k
V1 N006 0 5
V2 N003 0 15
V3 N005 0 -15
V4 N001 0 5
.tran 0 0.25m 100u 0.000001
.lib UniversalOpamps2.sub
.backanno
.end