Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Tubes / Valves All about our sweet vacuum tubes :) Threads about Musical Instrument Amps of all kinds should be in the Instruments & Amps forum

Vacuum Tube SPICE Models
Vacuum Tube SPICE Models
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 1st August 2020, 03:21 PM   #2531
kolin is offline kolin  Russian Federation
diyAudio Member
 
Join Date: Nov 2007
Hello !
I'm looking for 6AG7
Thanks for any help
  Reply With Quote
Old 1st August 2020, 11:18 PM   #2532
Koonw is offline Koonw
diyAudio Member
 
Join Date: Apr 2013
Here is 6ag7 and 6p9p model:


Code:
**** 6AG7_GE ******************************************
* Created on 08/02/2020 07:10 using paint_kip.jar
* www.dmitrynizh.com/tubeparams_image.htm
* Plate Curves image file: 6ag7-ge.png
* Data source link: <plate curves URL>
*----------------------------------------------------------------------------------
.SUBCKT 6AG7_GE P G2 G K ; LTSpice tetrode.asy pinout
* .SUBCKT 6AG7_GE P G K G2 ; Koren Pentode Pspice pinout
+ PARAMS: MU=25.85 KG1=137.81 KP=156.39 KVB=9065.4 VCT=-2.62 EX=0.8865 KG2=72.31 KNEE=36.19 KVC=1.754
+ KLAM=2.14E-6 KLAMG=1.919E-6  KD=1.849 KC=0.07463 KR1=0.01411 KR2=0.3479 KVBG=0.05471 KB1=2.261 KB2=0.01445 KB3=0.5701 KB4=0.5486 KVBGI=4.929E-4 KNK=-0.06196 KNG=0.2364 KNPL=7.185E-12 KNSL=340.37 KNPR=76.33 KNSR=360.51
+ CCG=13P CGP=1.9P CCP=7.5P VGOFF=-1.5 IGA=4.9E-4 IGB=0.1048 IGC=31.96 IGEX=1.619
* Vp_MAX=500 Ip_MAX=200 Vg_step=2 Vg_start=8 Vg_count=15
* X_MIN=62 Y_MIN=27 X_SIZE=684 Y_SIZE=551 FSZ_X=1296 FSZ_Y=736 XYGrid=false
* Rp=1400 Vg_ac=20 P_max=9 Vg_qui=-6 Vp_qui=300 
* showLoadLine=n showIp=y isDHP=n isPP=n isAsymPP=n isUL=n showDissipLimit=y 
* showIg1=y isInputSnapped=y addLocalNFB=n
* XYProjections=n harmonicPlot=y dissipPlot=n 
* UL=0.43 EG2=150 gridLevel2=y addKink=y isTanhKnee=n advSigmoid=y 
*----------------------------------------------------------------------------------
RE1  7 0  1G    ; DUMMY SO NODE 7 HAS 2 CONNECTIONS
E1   7 0  VALUE=  ; E1 BREAKS UP LONG EQUATION FOR G1.
+{V(G2,K)/KP*LOG(1+EXP((1/MU+(VCT+V(G,K))/SQRT(KVB+V(G2,K)*V(G2,K)))*KP))}
RE2  6 0  1G    ; DUMMY SO NODE 6 HAS 2 CONNECTIONS
E2  6 0  VALUE={(PWR(V(7),EX)+PWRS(V(7),EX))} ; Kg1 times KIT current
E4   8 0  VALUE={V(P,K)/KNEE/(KVBGI+V(6)*KVBG)}
E5  81 0  VALUE={PWR(V(8),KB1)}
E6  82 0  VALUE={PWR(V(8),KB2)}
E7  83 0  VALUE={PWR(V(8),KB3)}
E8   9 0  VALUE={PWR(1-EXP(-V(81)*(KC+KR1*V(82))/(KD+KR2*V(83))),KB4)*1.5708}
RE4  8 0  1
RE5 81 0  1
RE6 82 0  1
RE7 83 0  1
RE8  9 0  1
RE21 21 0 1
E21  21 0 VALUE={V(6)/KG1*V(9)} ; Ip with knee but no slope and no kink
RE22 22 0 1 ; E22: kink curr deviation for plate
E22  22 0 VALUE={V(21)*LIMIT(KNK-V(G,K)*KNG,0,0.3)*(-ATAN((V(P,K)-KNPL)/KNSL)+ATAN((V(P,K)-KNPR)/KNSR))} 
G1   P K  VALUE={V(21)*(1+KLAMG*V(P,K))+KLAM*V(P,K) + V(22)}
G2   G2 K  VALUE={V(6)/KG2*(KVC-V(9))/(1+KLAMG*V(P,K)) - V(22)}
RCP  P K  1G     ; FOR CONVERGENCE
C1   K G  {CCG}  ; CATHODE-GRID 1
C2   G P  {CGP}  ; GRID 1-PLATE
C3   K P  {CCP}  ; CATHODE-PLATE
RE23 G 0 1G 
GG G K VALUE={(IGA+IGB/(IGC+V(P,K)))*(MU/KG1)*
+(PWR(V(G,K)-VGOFF,IGEX)+PWRS(V(G,K)-VGOFF,IGEX))}
.ENDS
 *$
Code:
 * www.dmitrynizh.com/tubeparams_image.htm
* Plate Curves image file: 6p9p-ch.png
* Data source link: <plate curves URL>
*----------------------------------------------------------------------------------
.SUBCKT 6P9P_CH P G2 G K ; LTSpice tetrode.asy pinout
* .SUBCKT 6P9P_CH P G K G2 ; Koren Pentode Pspice pinout
+ PARAMS: MU=22.87 KG1=2079.83 KP=127.64 KVB=252.13 VCT=1.267 EX=1.759 KG2=2235.34 KNEE=7.682 KVC=1.969
+ KLAM=3.662E-13 KLAMG=2.132E-4  KD=27.95 KC=1.943 KR1=3.405E-6 KR2=0.05914 KVBG=0.01222 KB1=1.515 KB2=1.378 KB3=2.8E-5 KB4=0.6572 KVBGI=2.495E-4 KNK=-0.3213 KNG=0.1234 KNPL=0.07219 KNSL=0.02209 KNPR=34.8 KNSR=59.98
+ CCG=3P CGP=1.4P CCP=1.9P VGOFF=-1.5 IGA=0.005846 IGB=2.016 IGC=108.16 IGEX=1.66
* Vp_MAX=400 Ip_MAX=80 Vg_step=3 Vg_start=0 Vg_count=22
* X_MIN=45 Y_MIN=17 X_SIZE=710 Y_SIZE=557 FSZ_X=1296 FSZ_Y=736 XYGrid=false
* Rp=1400 Vg_ac=20 P_max=9 Vg_qui=-31.5 Vp_qui=300 
* showLoadLine=n showIp=y isDHP=n isPP=n isAsymPP=n isUL=n showDissipLimit=y 
* showIg1=y isInputSnapped=y addLocalNFB=n
* XYProjections=n harmonicPlot=y dissipPlot=n 
* UL=0.43 EG2=150 gridLevel2=y addKink=y isTanhKnee=n advSigmoid=y 
*----------------------------------------------------------------------------------
RE1  7 0  1G    ; DUMMY SO NODE 7 HAS 2 CONNECTIONS
E1   7 0  VALUE=  ; E1 BREAKS UP LONG EQUATION FOR G1.
+{V(G2,K)/KP*LOG(1+EXP((1/MU+(VCT+V(G,K))/SQRT(KVB+V(G2,K)*V(G2,K)))*KP))}
RE2  6 0  1G    ; DUMMY SO NODE 6 HAS 2 CONNECTIONS
E2  6 0  VALUE={(PWR(V(7),EX)+PWRS(V(7),EX))} ; Kg1 times KIT current
E4   8 0  VALUE={V(P,K)/KNEE/(KVBGI+V(6)*KVBG)}
E5  81 0  VALUE={PWR(V(8),KB1)}
E6  82 0  VALUE={PWR(V(8),KB2)}
E7  83 0  VALUE={PWR(V(8),KB3)}
E8   9 0  VALUE={PWR(1-EXP(-V(81)*(KC+KR1*V(82))/(KD+KR2*V(83))),KB4)*1.5708}
RE4  8 0  1
RE5 81 0  1
RE6 82 0  1
RE7 83 0  1
RE8  9 0  1
RE21 21 0 1
E21  21 0 VALUE={V(6)/KG1*V(9)} ; Ip with knee but no slope and no kink
RE22 22 0 1 ; E22: kink curr deviation for plate
E22  22 0 VALUE={V(21)*LIMIT(KNK-V(G,K)*KNG,0,0.3)*(-ATAN((V(P,K)-KNPL)/KNSL)+ATAN((V(P,K)-KNPR)/KNSR))} 
G1   P K  VALUE={V(21)*(1+KLAMG*V(P,K))+KLAM*V(P,K) + V(22)}
G2   G2 K  VALUE={V(6)/KG2*(KVC-V(9))/(1+KLAMG*V(P,K)) - V(22)}
RCP  P K  1G     ; FOR CONVERGENCE
C1   K G  {CCG}  ; CATHODE-GRID 1
C2   G P  {CGP}  ; GRID 1-PLATE
C3   K P  {CCP}  ; CATHODE-PLATE
RE23 G 0 1G 
GG G K VALUE={(IGA+IGB/(IGC+V(P,K)))*(MU/KG1)*
+(PWR(V(G,K)-VGOFF,IGEX)+PWRS(V(G,K)-VGOFF,IGEX))}
.ENDS
*$
Attached Images
File Type: png 6ag7-ge paint-1.png (894.9 KB, 63 views)
File Type: png 6p9p-ch paint-1.png (820.0 KB, 63 views)
  Reply With Quote
Old 3rd August 2020, 10:39 AM   #2533
Koonw is offline Koonw
diyAudio Member
 
Join Date: Apr 2013
This is Russian 6Π9 model:
Code:
* Model Paint Tools: Trace Tube Parameters over Plate Curves, Interactively
* Plate Curves image file: 6p9.png
* Data source link: <plate curves URL>
*----------------------------------------------------------------------------------
.SUBCKT 6P9 P G2 G K ; LTSpice tetrode.asy pinout
* .SUBCKT 6P9 P G K G2 ; Koren Pentode Pspice pinout
+ PARAMS: MU=24.5 KG1=108.31 KP=143.79 KVB=12772.79 VCT=-3.678 EX=0.784 KG2=292.32 KNEE=23.9 KVC=1.904
+ KLAM=9.766E-12 KLAMG=8.203E-9   KNK=-0.08712 KNG=0.00672 KNPL=59.5 KNSL=12.1 KNPR=133.2 KNSR=31.9
+ CCG=13P CGP=0.6P CCP=7.5P VGOFF=-1.5 IGA=4.1E-4 IGB=0.05806 IGC=37.92 IGEX=1.607
* Vp_MAX=460 Ip_MAX=80 Vg_step=3 Vg_start=6 Vg_count=20
* X_MIN=60 Y_MIN=13 X_SIZE=718 Y_SIZE=555 FSZ_X=1296 FSZ_Y=736 XYGrid=true
* Rp=1400 Vg_ac=20 P_max=9 Vg_qui=-22.5 Vp_qui=300 
* showLoadLine=n showIp=y isDHP=n isPP=n isAsymPP=n isUL=n showDissipLimit=y 
* showIg1=y isInputSnapped=y addLocalNFB=n
* XYProjections=n harmonicPlot=y dissipPlot=n 
* UL=0.43 EG2=150 gridLevel2=y addKink=y isTanhKnee=n advSigmoid=n 
*----------------------------------------------------------------------------------
RE1  7 0  1G    ; DUMMY SO NODE 7 HAS 2 CONNECTIONS
E1   7 0  VALUE=  ; E1 BREAKS UP LONG EQUATION FOR G1.
+{V(G2,K)/KP*LOG(1+EXP((1/MU+(VCT+V(G,K))/SQRT(KVB+V(G2,K)*V(G2,K)))*KP))}
RE2  6 0  1G    ; DUMMY SO NODE 6 HAS 2 CONNECTIONS
E2  6 0  VALUE={(PWR(V(7),EX)+PWRS(V(7),EX))} ; Kg1 times KIT current
RE21 21 0 1
E21  21 0 VALUE={V(6)/KG1*ATAN(V(P,K)/KNEE)} ; Ip with knee but no slope and no kink
RE22 22 0 1 ; E22: kink curr deviation for plate
E22  22 0 VALUE={V(21)*LIMIT(KNK-V(G,K)*KNG,0,0.3)*(-ATAN((V(P,K)-KNPL)/KNSL)+ATAN((V(P,K)-KNPR)/KNSR))} 
G1   P  K  VALUE={V(21)*(1+KLAMG*V(P,K))+KLAM*V(P,K) + V(22)}
* Alexander Gurskii screen current, see audioXpress 2/2011, with slope and kink added
RE43 43 K 1G ; Dummy
E43  43 G2 VALUE={0} ; Dummy
G2   43 K  VALUE={V(6)/KG2*(KVC-ATAN(V(P,K)/KNEE))/(1+KLAMG*V(P,K))-V(22)}
RCP  P K  1G     ; FOR CONVERGENCE
C1   K G  {CCG}  ; CATHODE-GRID 1
C2   G P  {CGP}  ; GRID 1-PLATE
C3   K P  {CCP}  ; CATHODE-PLATE
RE23 G 0 1G 
GG G K VALUE={(IGA+IGB/(IGC+V(P,K)))*(MU/KG1)*
+(PWR(V(G,K)-VGOFF,IGEX)+PWRS(V(G,K)-VGOFF,IGEX))}
.ENDS
*$
Attached Images
File Type: jpg 6p9 paint.jpg (311.2 KB, 47 views)
File Type: png 6p9 triode connected.png (114.6 KB, 51 views)
  Reply to this post

Reply


Vacuum Tube SPICE ModelsHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vacuum tubes SPICE models, another way Dominique_free Software Tools 2 12th November 2013 06:26 PM
Tube spice models nhuwar Tubes / Valves 45 25th November 2011 08:47 AM
Computer program for tube curves and Spice models Jim Tonne Software Tools 9 21st November 2010 10:10 AM
Got my tube spice models, and tubed CD player page back on the air wa2ise Tubes / Valves 2 20th April 2008 11:07 PM


New To Site? Need Help?

All times are GMT. The time now is 07:34 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Copyright ©1999-2020 diyAudio
Wiki