Professional Documents
Culture Documents
Bt21ece078 Dmlab Assignment 04
Bt21ece078 Dmlab Assignment 04
Q1. Design and simulate RC Phase Shift Oscillator using NGspice .With
frequency=(rollnumber/5)+100
THERIOTICAL CALCULATIONS:
CODE:
*oscillator using bjt
*.model oscillator npn(Cjc = 14.57p Vjc =0.75 Cje = 100.08p Vje= 0.75)
.model oscillator npn
q1 5 4 0 oscillator
r1 1 0 2.5k
r2 2 0 2.5k
r3 3 0 2.5k
r4 4 0 470k
r5 4 5 100K
r6 5 7 1K
c1 1 2 0.2556u
c2 2 3 0.2556u
c3 3 4 0.2556u
c4 5 6 1000u
c5 6 0 10p
c6 1 5 100u
V1 7 0 dc 9
.tran 1u 100m
.control
run
plot V(6)
set color0=white
set color1=black
set xbrushwidth=3
.endc
OUTPUT:
Calculating The Frequency:
QUESTION(2):
Design and simulate Colpitts Oscillator using NGspice (take the values which we given
in lab)
THERIOTICAL CALCULATIONS:
CODE:
*oscillator using bjt
*.model oscillator npn(Cjc = 14.57p Vjc =0.75 Cje = 100.08p Vje= 0.75)
.model oscillator npn
q1 4 2 3 oscillator
r1 4 5 220
r2 2 4 100K
r3 3 0 100
c1 1 0 4.16n
c2 2 0 105.3n
c3 3 0 1000u
c5 1 4 100u
c4 4 7 1000u
l1 5 6 97m
l2 1 2 47.6u
V1 6 0 dc 9.16
.tran 1u 0.1m
.control
run
plot V(7)
set color0=white
set color1=black
set xbrushwidth=3
.endc
OUTPUT:(colpitts oscillator)