blob: b630a17e7eed7cb2b8fc0b572db111fbb5bfb558 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
* Author: FOSSEE
* Date:
.model J2N3819 NJF(Beta=1.304m Betatce=-.5 Rd=1 Rs=1 Lambda=2.25m Vto=-3
+ Vtotc=-2.5m Is=33.57f Isr=322.4f N=1 Nr=2 Xti=3 Alpha=311.7u
+ Vk=243.6 Cgd=1.6p M=.3622 Pb=1 Fc=.5 Cgs=2.414p Kf=9.882E-18
+ Af=1)
c1 net-_c1-pad1_ in 1u
c6 net-_c6-pad1_ gnd 0.1u
v2 net-_r3-pad1_ gnd dc 20
j1 out net-_c1-pad1_ net-_c6-pad1_ J2N3819
r3 net-_r3-pad1_ out 3k
r2 gnd net-_c1-pad1_ 1meg
r4 gnd net-_c6-pad1_ 470
* u1 in plot_v1
v1 in gnd ac 0.1m 0
* u3 out plot_log
* u2 out plot_phase
* u4 out plot_db
.ac dec 100 10KHz 100Meg
* Control Statements
.control
run
print allv > plot_data_v.txt
print alli > plot_data_i.txt
plot v(in)
plot log(out)
plot phase(out)
plot db(out)
.endc
.end
|