0% found this document useful (0 votes)
107 views20 pages

Lic Pspice File NSIT V Sem

1. The document describes experiments performed on op-amp integrated circuits to analyze inverting and non-inverting amplifiers. DC, AC and transient analyses are conducted. 2. The experiments also study op-amps as integrators and differentiators using various input signals. Analyses include ideal versus practical responses. 3. Macro models of op-amps are created and used to simulate compensated non-inverting amplifiers. Phase error is determined. 4. A differential amplifier with current mirror biasing is simulated for DC, AC and transient analyses. Small-signal characteristics are examined.

Uploaded by

Harshul Soni
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
107 views20 pages

Lic Pspice File NSIT V Sem

1. The document describes experiments performed on op-amp integrated circuits to analyze inverting and non-inverting amplifiers. DC, AC and transient analyses are conducted. 2. The experiments also study op-amps as integrators and differentiators using various input signals. Analyses include ideal versus practical responses. 3. Macro models of op-amps are created and used to simulate compensated non-inverting amplifiers. Phase error is determined. 4. A differential amplifier with current mirror biasing is simulated for DC, AC and transient analyses. Small-signal characteristics are examined.

Uploaded by

Harshul Soni
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 20

Linear Integrated

Circuits
Software File

Experiment 1
Aim: To perform DC Analysis , AC Analysis and Transient Analysis
of an inverting amplifier & Non Inverting amplifier using Op-amp
(741).
Inverting Amplifier
Code:
* Inverting Amplifier
r1 1 2 1k
r2 6 2 {VAR}
.param VAR 1k
.step param VAR 10k 50k 10k
x 0 2 7 4 6 ua741
.lib C:\eval.lib
vp 7 0 dc +12V
vn 0 4 dc +12V
*DC Analysis
*vin 1 0 dc .1V
*.dc lin vin -10V +10V .1V
*AC Analysis
*vin 1 0 ac .1v
*.ac dec 50 1hz 1meghz
*Transient Analysis
vin 1 0 sin(0 .1v 1khz)
.tran 0.01ms 5ms 0 0.01ms
.probe
.end

Outputs:
1.DC Analysis

2.AC Analysis

3.Transient Analysis

Non Inverting Amplifier


Code:
*non inverting code
r1 0 2 1k
r2 6 2 {VAR}
.param VAR 1k
.step param VAR 10k 50k 10k
x 3 2 7 4 6 ua741
.lib C:\eval.lib
vp 7 0 dc +12V
vn 0 4 dc +12V
*DC Analysis
*vin 3 0 dc .1V
*.dc lin vin -10V +10V .1V
*AC Analysis
*vin 3 0 ac .1v
*.ac dec 50 1hz 1meghz
*Transient Analysis
vin 3 0 sin(0 .1v 1khz)
.tran 0.01ms 5ms 0 0.01ms

Outputs:
1.DC Analysis

2.AC Analysis

3.Transient Analysis

Experiment 2
Aim:To study the application of OPAMP as integrator &
differentiator and obtain different RC combinations for each giving
an undistored output.
Integrator
Code:
*INTEGRATOR
R1 1 2 100
CF 6 2 0.22uF ic=0
RF 2 6 1k
X1 0 2 7 4 6 ua741
.lib C:\eval.lib
VP 7 0 dc +12V
VN 0 4 dc +12V
*Square Wave
*V1 1 0 pulse(-1 1 1f 1f 1f 0.5ms 1ms)
*Triangular Input
*v1 1 0 pulse(-1 1 1f 0.5ms 0.5ms 1f 1ms)
*Sine Wave Input
*v1 1 0 sin(0 1 1khz)
V1 1 0 ac .1V

.ac dec 50 1hz 50khz


*.tran 0.01ms 5ms 1ms 0.01ms uic
.probe
.end

OUTPUTS:
1.Ideal Ac Analysis

2.Practical Ac Analysis

1.Square Wave input:


a. Basic Integrator ( R1= 100 ohms, C1= 0.22 uF )

b. Practical Integrator ( R1= 100 ohms, C1= 0.22 uF )

2.Triangular Wave input:

a. Basic Integrator ( R1= 100 ohms, C1= 0.44 uF )

b. Practical Integrator ( R1= 1000 ohms, C1= 0.88uF )

3.Sine Wave Input:


a. Basic Integrator ( R1= 100 ohms, C1= 0.22 uF )

b. Practical Integrator ( R1= 100 ohms, C1= 0.22 uF )

Differentiator
Code:
*Differentiator
R1 1 9 1000
CF 9 2 0.22uF ic=0
RF 2 6 10k
X1 0 2 7 4 6 ua741
.lib C:\eval.lib
VP 7 0 dc +12V
VN 0 4 dc +12V
*Square Wave
V1 1 0 pulse(-1 1 1f 1f 1f 0.5ms 1ms)
*Triangular Input
*v1 1 0 pulse(-1 1 1f 0.5ms 0.5ms 1f 1ms)
*Sine Wave Input

*v1 1 0 sin(0 1 1khz)


*Ac Analysis - Do practical only not ideal
*V1 1 0 ac .1V
*.ac dec 50 1hz 50khz
.probe
.end

Output:
1.Practical Ac Analysis

2.Traingular Wave Input:

3.Sine Wave Input:

Experiment 3
Aim:
a. Create macro model of op-amp taking into account
Ao,wp,rin,rout.
b. Simulate a non inverting amplifier and its compensating using macro model .Determine
usable 10 degree phase error for these circuits.
Code for sub circuit of op-amp:
*subckt for opamp 741
.subckt opamp 3 2 6
rcm1 3 2 10MEG
rcm2 2 0 10MEG
rin 3 2 2MEG
e1 7 0 3 2 2e5
rp 7 4 1k
cp 4 0 32uf
e2 5 0 4 0 1
rout 5 6 75
.ends
Code for Circuit 1(basic non inverting):
*Non inverting amplifier using opamp lib file
.lib C:\coe1\247-48COE13\EXP3\opamp.lib
r1 0 2 1k
r2 2 6 1k
*ac analysis
x1 3 2 6 opamp
vin 3 0 ac .1v
.ac dec 50 1hz 1meg
.probe
.end
Code for Circuit 2:
*non inverting amplifier with compensating ckt using opamp macromodel
r1 2 0 1k
r2 2 4 1k
r3 4 5 1k
r4 5 6 1k
.lib C:\coe1\247-48COE13\EXP3\opamp.lib
x1 3 2 6 opamp
x2 6 5 4 opamp
* ac analysis
Vin 3 0 AC .1V
.AC DEC 20 1Hz 10Meg
.probe
.end

Code for Circuit 3:


*b3
r1 3 4 4k
r2 4 0 4k
r3 4 6 2k
r4 5 7 1k
r5 7 6 1k
r6 2 0 1k
r7 2 6 1k
.lib C:\coe1\247-48COE13\EXP3\opamp.lib
x1 2 1 3 opamp
x2 4 1 5 opamp
x3 1 7 6 opamp
*AC Analysis
v1 1 0 ac .1v
.ac dec 50 1hz 10meg
.probe
.end
OUTPUTS:
Circuit 1:

Circuit 2:

Circuit 3:

Experiment 4
Aim: To simulate differential amplifier biased with current mirror and carry out DC,AC and
Transient Analysis.
PART1
* DC Analysis with Vc1=0 and Vc2=0
.lib C:\msimev71\eval.lib
.Model NPNTRANS npn(Is= 14fA ,Bf= 200 ,Vaf=100V)
*Q1 3 1 4 Q2N2222
*Q2 3 2 5 Q2N2222
*Q3 9 8 8 Q2N2222
*Q4 9 8 3 Q2N2222
Q1 3 1 4 NPNTRANS
Q2 3 2 5 NPNTRANS
Q3 9 8 8 NPNTRANS
Q4 9 8 3 NPNTRANS
Rc1 6 11 10k
Rc2 6 12 10k
Vc1 11 4 0V
Vc2 12 5 0V
VCC 6 0 DC 5V
VEE 0 9 DC 5V
RB 8 0 4.3K
E1 1 10 20 0 0.5
E2 2 10 0 20 0.5
*Vd 20 0 sin(0 20mV 1kHz)
Vd 20 0 DC 0v
Vcm 10 0 DC 0V
Rd 20 0 1k
.tran .01ms 5ms 0ms .01ms
.tf V(4,5) Vd
.Dc lin Vd -1V +1v .01v
.probe
.end

Part 3
****

SMALL-SIGNAL CHARACTERISTICS

V(4,5)/Vd = -1.219E+01
INPUT RESISTANCE AT Vd = 1.000E+03
OUTPUT RESISTANCE AT V(4,5) = 2.000E+03
* DC Analysis with Vc1=0 and Vc2=0
.lib C:\msimev71\eval.lib
.Model NPNTRANS npn(Is= 14fA ,Bf= 200 ,Vaf=100V)
Q1 3 1 4 Q2N2222
Q2 3 2 5 Q2N2222
Q3 9 8 8 Q2N2222
Q4 9 8 3 Q2N2222
*Q1 3 1 4 NPNTRANS
*Q2 3 2 5 NPNTRANS
*Q3 9 8 8 NPNTRANS
*Q4 9 8 3 NPNTRANS
Rc1 6 11 1k
Rc2 6 12 1k
Vc1 11 4 0V
Vc2 12 5 0V
VCC 6 0 DC 5V
VEE 0 9 DC 5V
RB 8 0 4.3K

E1 1 10 20 0 0.5
E2 2 10 0 20 0.5
Vd 20 0 sin(0 20mV 1kHz)
*Vd 20 0 DC 0v
Vcm 10 0 DC 0V
Rd 20 0 1k
.tran .01ms 5ms 0ms .01ms
.tf V(4,5) Vd
*.Dc lin Vd -1V +1v .01v
.probe
.end

Experiment 5
Aim:Design and Implement KHN biquad filter to realise wo=10^5 rad/s ,Q=1/2 (for Low
Pass & High Pass) ,Q=10 (for Band Pass), fo=15.9 khz
Code:
*KHN
.lib C:\237238coe13\exp3\opamp1.lib
x1 2 4 3 opamp1
x2 0 5 6 opamp1
x3 0 7 8 opamp1
R1 4 8 10k
R2 1 2 10k
R3 2 6 10k
Rf 4 3 10k
Ra 3 5 7.07k
Rb 6 7 14.44k
Ca 5 6 .001uf
Cb 7 8 .001uf
Vin 1 0 ac .1v
.ac dec 50 1hz 1meghz
.probe
.end

OUTPUT:

You might also like