Professional Documents
Culture Documents
ENP 302
Submitted by
Mitesh Malani
BT19ECE067
Submitted to
Dr. P. Vasu
(Course Instructor)
Question 1 -
Simulate the Common-Base(CB) Amplifier using NGSPICE?
(a) Find the gain using the plot?
Diagram -
Code -
Input -
Output -
A.
Gain = 4
(b) Do the ac analysis for the above question and find out the mid-band
gain?
Code -
Output -
Diagram -
Code -
Input -
1. A -
2. B -
3. C -
Output -
Question 3 -
Simulate the 3-input NOR Gate of DTL Logic (Diode-Transistor
Logic) using NGSPICE?
Diagram -
Code -
R1 1 4 1k
R2 2 5 1k
R3 3 6 1k
R4 7 0 12k
R5 7 8 15k
R6 8 11 100k
R7 10 9 2.2k
C1 7 8 1nF
D1 4 7 Diode
D2 5 7 Diode
D3 6 7 Diode
Q1 9 8 0 MOD1
V1 11 0 -12
V2 10 0 12
Va 1 0 PULSE(0 12 0NS 0NS 0NS 1ms 3ms)
Vb 2 0 PULSE(0 12 0NS 0NS 0NS 3ms 6ms)
Vc 3 0 PULSE(0 12 0NS 0NS 0NS 6ms 12ms)
.model Diode D
.model MOD1 NPN
.tran 0.01ms 20ms
.control
run
set xbrushwidth=3
plot V(1)
plot V(2)
plot V(3)
plot V(9)
.endc
.end
Input -
1. A -
2. B -
3. C -
Output -
Conclusion -
In question 2 and question 3 , both the outputs are identical.