In Reply to: RE: A "good load" depend on the gain/driver stage and design posted by Alex Kitic on September 6, 2014 at 03:58:04:
I use Andrei Frolovs Curve captor. A fantastic tool that generates spice code for Norman Korens 8 parameter curves. It fits perfectly with any tube curve. The dots are points from datasheet curve , lines are the model. .I found program linked somewhere in this or DIY audio forumIn order to get accurate distortion calulation in LTSpice I need to specify a short time step and also specify " no data compression"
* ECC81 macro model
.subckt ECC81 P G K
koren8(0.03431957815,-0.02156357481,2.303890189,91.06322625,-77.3757358,61.37729547,-9.442653676,1.183113473)
.ends ECC81
* ECC81 LTSpice model
.subckt ECC81 P G K
Bp P K I=(0.03431957815m)*uramp(V(P,K)*ln(1.0+(-0.02156357481)+exp((2.303890189)+(2.303890189)*((91.06322625)+(-77.3757358m)*V(G,K))*V(G,K)/sqrt((61.37729547)**2+(V(P,K)-(-9.442653676))**2)))/(2.303890189))**(1.183113473)
.ends ECC81.6SN7 FITTED TO DATASHEET-GREEN CURve
* 6SN7WGTk8 LTSpice model
.subckt 6SN7WGTk8 P G K
Bp P K I=(0.02170661176m)*uramp(V(P,K)*ln(1.0+(-0.1418880099)+exp((5.336202785)+(5.336202785)*((22.20702463)+(-20.28905564m)*V(G,K))*V(G,K)/sqrt((-0.0001481184562)**2+(V(P,K)-(-11.62245799))**2)))/(5.336202785))**(1.347919701)
Cgk G K 2.4p ; 0.2p added
Cpk P K 1.2p ; 0.5p added
Cgp G P 4.2p ; 0.5p added
Rpk P K 1G ; to avoid floating nodes
d3 G K dx1
.model dx1 d(is=1n rs=2k cjo=1pf N=1.5 tt=1n)
.endsBalle
Edits: 09/06/14 09/06/14 09/06/14
This post is made possible by the generous support of people like you and our sponsors:
Follow Ups
- RE: A "good load" depend on the gain/driver stage and design - Balle Clorin 09:23:28 09/06/14 (2)
- RE: A "good load" depend on the gain/driver stage and design - Alex Kitic 03:45:07 09/09/14 (1)
- RE: A "good load" depend on the gain/driver stage and design - Balle Clorin 10:21:21 09/12/14 (0)