Skip to content

Instantly share code, notes, and snippets.

@RJ722
Created March 1, 2018 10:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RJ722/dd4fd47b427add4fc93baeee427502da to your computer and use it in GitHub Desktop.
Save RJ722/dd4fd47b427add4fc93baeee427502da to your computer and use it in GitHub Desktop.
Simulation for IC 741 OpAmp
* Simulation of IC-741 OpAmp
* Authors: Rahul Jha, Atiya Fatima Usmani and Umamah Khan
* Biasing:
V+ 1 0 15
V- 0 4 15
* Input Sine:
Vi 8 0 AC 0.5 sin(0 0.5 1khz)
* Circuit:
Q1 7 8 9 0 Q2N3904
Q2 7 0 12 0 Q2N3904
Q3 10 6 9 0 Q2N3906
Q4 13 6 12 0 Q2N3906
Q5 10 14 15 0 Q2N3904
Q6 13 14 16 0 Q2N3904
Q7 1 10 14 0 Q2N3904
Q8 7 7 1 0 Q2N3906
Q9 6 7 1 0 Q2N3906
Q10 6 3 5 0 Q2N3904
Q11 3 3 4 0 Q2N3904
Q12 2 2 1 0 Q2N3906
Q13A 20 2 1 0 Q2N3906 0.25
Q13B 19 2 1 0 Q2N3906 0.75
Q18 20 21 22 0 Q2N3904
Q19 20 20 21 0 Q2N3904
Q14 1 20 23 0 Q2N3904 20
Q20 4 22 23 0 Q2N3906 20
Q23 4 19 22 0 Q2N3906
Q16 1 13 17 0 Q2N3904
Q17 19 17 18 0 Q2N3904
R1 15 4 1k
R2 16 4 1k
R3 14 4 50k
R4 5 4 5k
R5 2 3 39k
R8 18 4 100
R9 17 4 50k
R10 21 22 40k
Cc 19 13 30p
.model Q2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
+ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
+ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
+ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
.model Q2N3906 PNP(Is=1.41f Xti=3 Eg=1.11 Vaf=18.7 Bf=180.7 Ne=1.5 Ise=0
+ Ikf=80m Xtb=1.5 Br=4.977 Nc=2 Isc=0 Ikr=0 Rc=2.5 Cjc=9.728p
+ Mjc=.5776 Vjc=.75 Fc=.5 Cje=8.063p Mje=.3677 Vje=.75 Tr=33.42n
+ Tf=179.3p Itf=.4 Vtf=4 Xtf=6 Rb=10)
.ac dec 100 1 10k
*.tran 10m
*.op
.end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment