Added palette JFET opamp

This commit is contained in:
2026-07-01 13:27:32 +02:00
parent 15c03659da
commit efc9995164
23 changed files with 1061 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
// (setq tab-width 4)
create_item(
"mr_opamp", // name
"mr Operation Amplifier", // label
"U", // prefix
0, // attributes
NULL, // priority
NULL, // icon
standard_dialog, // dialog name
"", // dialog data
CmpModelNetlistFmt, // netlist format
"", // netlist data
NULL, // symbol name (not used since 2011)
NULL, // artwork type (not used since 2011)
NULL, // artwork data (not used since 2011)
ITEM_PRIMITIVE_EX, // extra attributes
// -----------------------------------------------------
// model
// -----------------------------------------------------
create_parm(
"Model",
"Model instance name",
0,
"StdFileFormSet",
UNITLESS_UNIT,
prm("StdForm", "va_opamp")
)
);
+190
View File
@@ -0,0 +1,190 @@
// (setq tab-width 4)
//decl diode_va_ModelNetlistFmt = "%43?global %;model %t diode_va %b%r%8?%29?%:%30?%p %:%k%?[%1i]%;=%p %;%;%;%e%e";
create_item(
"mr_triode", // name
"Verilog-A implementation of Triode", // label
"T", // prefix
0, // attributes
NULL, // priority
NULL, // icon
standard_dialog, // dialog name
"", // dialog data
CmpModelNetlistFmt, // netlist format
"", // netlist data
ComponentAnnotFmt, // display format string
NULL, // symbol name (not used since 2011)
NULL, // artwork type (not used since 2011)
NULL, // artwork data (not used since 2011)
ITEM_PRIMITIVE_EX, // extra attributes
// ------------------------------------------------------------------------
// Model
// ------------------------------------------------------------------------
create_parm
(
"Model",
"Model instance name",
0,
"StdFileFormSet",
UNITLESS_UNIT,
prm("StdForm","mr_triode")
),
// ------------------------------------------------------------------------
// Kp
// ------------------------------------------------------------------------
create_parm
(
"Kp",
"Perveance of the triode",
PARM_NO_DISPLAY |
PARM_OPTIMIZABLE |
PARM_STATISTICAL,
"StdFileFormSet",
UNITLESS_UNIT,
prm("StdForm","")
),
// ------------------------------------------------------------------------
// smallKp
// ------------------------------------------------------------------------
create_parm
(
"smallKp",
"Fitting parameter",
PARM_NO_DISPLAY |
PARM_OPTIMIZABLE |
PARM_STATISTICAL,
"StdFileFormSet",
UNITLESS_UNIT,
prm("StdForm","")
),
// ------------------------------------------------------------------------
// Kvb
// ------------------------------------------------------------------------
create_parm
(
"kvb",
"fitting parameter",
PARM_NO_DISPLAY |
PARM_OPTIMIZABLE |
PARM_STATISTICAL,
"StdFileFormSet",
UNITLESS_UNIT,
prm("StdForm","")
),
// ------------------------------------------------------------------------
// mu
// ------------------------------------------------------------------------
create_parm
(
"mu",
"amplification factor",
PARM_NO_DISPLAY |
PARM_OPTIMIZABLE |
PARM_STATISTICAL,
"StdFileFormSet",
UNITLESS_UNIT,
prm("StdForm","")
),
// ------------------------------------------------------------------------
// X
// ------------------------------------------------------------------------
create_parm
(
"X",
"Fitting parameter",
PARM_NO_DISPLAY |
PARM_OPTIMIZABLE |
PARM_STATISTICAL,
"StdFileFormSet",
UNITLESS_UNIT,
prm("StdForm","")
),
// ------------------------------------------------------------------------
// cgc
// ------------------------------------------------------------------------
create_parm
(
"cgc",
"Grid-Cathode capacitance",
PARM_NO_DISPLAY |
PARM_OPTIMIZABLE |
PARM_STATISTICAL,
"StdFileFormSet",
CAPACITANCE_UNIT,
prm("StdForm","")
),
// ------------------------------------------------------------------------
// cga
// ------------------------------------------------------------------------
create_parm
(
"cga",
"Grid-Anode capacitance",
PARM_NO_DISPLAY |
PARM_OPTIMIZABLE |
PARM_STATISTICAL,
"StdFileFormSet",
CAPACITANCE_UNIT,
prm("StdForm","")
),
// ------------------------------------------------------------------------
// cac
// ------------------------------------------------------------------------
create_parm
(
"cac",
"Anode-Cathode capacitance",
PARM_NO_DISPLAY |
PARM_OPTIMIZABLE |
PARM_STATISTICAL,
"StdFileFormSet",
CAPACITANCE_UNIT,
prm("StdForm","")
),
// ------------------------------------------------------------------------
// Tcathode
// ------------------------------------------------------------------------
create_parm
(
"Tchatode",
"Cathode temperature (noise analysis only)",
PARM_NO_DISPLAY |
PARM_OPTIMIZABLE |
PARM_STATISTICAL,
"StdFileFormSet",
TEMPERATURE_UNIT,
prm("StdForm","")
),
// ------------------------------------------------------------------------
// gm
// ------------------------------------------------------------------------
create_parm
(
"gm",
"Transconductance (noise analysis only)",
PARM_NO_DISPLAY |
PARM_OPTIMIZABLE |
PARM_STATISTICAL,
"StdFileFormSet",
UNITLESS_UNIT,
prm("StdForm","")
)
);
Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

+99
View File
@@ -0,0 +1,99 @@
;(setq tab-width 4)
; BF862
define BF862 (D G S)
; SOT23 package parasitics
L :Ld D 1 L=1.1 nH
L :Ls S 3 L=1.25 nH
L :Lg G 4 L=0.78 nH
R :Rg 4 2 R=0.535
C :Cds D S C=0.0001 pF
C :Cgs G S C=0.05 pF
C :Cgd G D C=0.201 pF
JBF862 :J1 1 2 3 ;
model JBF862 JFET \
PFET = 0 \
NFET = 1 \
Vto = -0.7 \
Beta = 0.035 \
Lambda = 0.035 \
Rd = 5 \
Rs = 5 \
Cgs = 3.5E-12 \
Cgd = 1.8E-12 \
Kf = 5.0E-16 \
Af = 1.0
; model JBF862 JFET \
; PFET = 0 \
; NFET = 1 \
; Vto = -0.57093 \
; Beta = 47.800E-3 \
; Lambda = 37.300E-3 \
; Rd = 0.8 \
; Rs = 7.5000 \
; Cgs = 8.2890E-12 \
; Cgd = 7.4002E-12 \
; Pb = 0.5 \
; Is = 424.60E-12 \
; M = 0.6015 \
; Kf = 87.5E-18 \
; Af = 1 \
; Fc = 0.5 \
; Betatce = -0.5 \
; Vtotc = -2.0000E-3 \
; Isr = 2.995p \
; N = 1 \
; Nr = 2 \
; Xti = 3 \
; Alpha = -1.0000E-3 \
; Vk = 69.97
; model JBF862 tom1_va \
; Af = 1.0 \
; Alpha = 1.0e-3 \
; Area = 1.0 \
; Beta = 47.8e-3 \
; Betace = -0.5 \
; Cgs = 8.2890e-12 \
; Cgd = 7.4002e-12 \
; Fc = 0.5 \
; Is = 424.60e-12 \
; Kf = 87.5e-18 \
; M = 0.6015 \
; N = 1.0 \
; Rd = 0.8 \
; Rs = 7.5 \
; Vto = -0.57093 \
; Vtotc = -2.0e-3
; model JBF862 jfetva \
; NJF = 1 \
; PJF = 0 \
; Level = 2 \
; Vto = -0.57093 ; Rhreshold voltage [V] \
; Beta = 47.8e-3 ; Transconductancia \
; Lambda = 37.3e-3 ; Channel-length modulation \
; Lambda1 = 50.0 ; Channel-length modulation \
; Rd = 0.8 ; Drain ohmic resistance [ohm] \
; Rs = 7.5 ; Source ohmic resistance [ohm] \
; Cgs = 8.2890e-12 ; Zero-bias G-S junction capacitance [F] \
; Cgd = 7.4002e-12 ; Zero-bias G-D junction capacitance [F] \
; Pb = 0.5 ; Gate juntion potential [V] \
; Is = 424.6e-12 ; Gate junction saturation current [A] \
; B = 1.0 ; Doping tail \
; M = 0.6015 ; Gate p-n grading coefficient \
; Kf = 87.5e-18 ; Flicker noise coefficient \
; Af = 1.0 ; Flicker noise exponent \
; Fc = 0.5 ; Forward bias depletion cap coefficient \
; Tnom = 27
end BF862
+52
View File
@@ -0,0 +1,52 @@
*===========================
*NJFET Pinout: 1=D, 2=G, 3=S
*===========================
*NJFET
*Default N-Ch J-FET parameters pkg:TO-92 3,1,2
.MODEL JNJFET~ NJF()
*2N4393
*Motorola 40V 30mA Dep-Mode pkg:TO-18 2,3,1
.MODEL J2N4393 NJF(VTO=-1.422 BETA=0.009109 LAMBDA=0.006 RD=1 RS=1
+ CGS=4.06E-12 CGD=4.57E-12 IS=2.052E-13 KF=1.23E-16 )
*2N5457 MCE 7-10-95
*25V 25mA 250 ohm Dep-Mode pkg:TO-92 3,1,2
.MODEL J2N5457 NJF(VTO=-1.8 BETA=0.00135 LAMBDA=0.001 RD=35 RS=31.5
+ CGS=2.25E-12 CGD=6E-12 KF=6.5E-17 AF=0.5 )
*2N5459 MCE 7-10-95
*25V 25mA 250 ohm Dep-Mode pkg:TO-92 3,1,2
.MODEL J2N5459 NJF(VTO=-3 BETA=0.00135 LAMBDA=0.001 RD=35 RS=31.5
+ CGS=2.25E-12 CGD=6E-12 KF=6.5E-17 AF=0.5 )
*2N5484 MCE 7-10-95
*25V 30mA 175 ohm Dep-Mode pkg:TO-92 3,1,2
.MODEL J2N5484 NJF(VTO=-1.8 BETA=0.004 LAMBDA=0.01 RD=24.5 RS=22
+ CGS=2.5E-12 CGD=4E-12 IS=9.48E-15 )
*2N5486 MCE
*25V 30mA 28.8ohm Dep-Mode pkg:TO-92 3,1,2
.MODEL J2N5486 NJF(VTO=-4 BETA=0.0065 LAMBDA=0.00266 RD=4.04 RS=3.63
+ CGS=2E-12 CGD=3.03E-12 IS=9.48E-15 )
*2N5640 MCE
*30V 20mA 35.3ohm Dep-Mode pkg:TO-92 3,1,2
.MODEL J2N5640 NJF(VTO=-2.5 BETA=0.005 LAMBDA=0.001 RD=4.95 RS=4.45
+ CGS=1.92E-11 CGD=5.12E-12 IS=5.26E-15 )
*2N5668 MCE
*25V 20mA 35.3ohm Dep-Mode pkg:TO-92 3,1,2
.MODEL J2N5668 NJF(VTO=-2.5 BETA=0.0015 LAMBDA=0.0012 RD=4.95 RS=4.45
+ CGS=2.35E-12 CGD=4E-12 IS=6.32E-15 )
*2N5669 MCE
*25V 20mA 35.3ohm Dep-Mode pkg:TO-92 3,1,2
.MODEL J2N5669 NJF(VTO=-3.5 BETA=0.0035 LAMBDA=0.0012 RD=4.95 RS=4.45
+ CGS=2.35E-12 CGD=4E-12 IS=6.32E-15 )
*2N5670 MCE
*25V 20mA 35.3ohm Dep-Mode pkg:TO-92 3,1,2
.MODEL J2N5670 NJF(VTO=-5 BETA=0.0065 LAMBDA=0.0012 RD=4.95 RS=4.45
+ CGS=2.35E-12 CGD=4E-12 IS=6.32E-15 )
+12
View File
@@ -0,0 +1,12 @@
*===========================
*PJFET Pinout: 1=D, 2=G, 3=S
*===========================
*PJFET
*Default P-Ch J-FET parameters pkg:TO-92 2,1,3
.MODEL JPJFET~ PJF()
*2N5460
*Motorola Dep-Mode 20V 20mA 35.3ohm pkg:TO-92 2,1,3
.MODEL J2N5460 PJF(VTO=-3.2 BETA=0.0017 LAMBDA=0.00563 RD=49.4 RS=44.5
+ CGS=9E-12 CGD=4E-12 IS=1.95E-15 KF=1.104E-17 )