
Home  Forums  Rules  Articles  diyAudio Store  Gallery  Wiki  Blogs  Register  Donations  FAQ  Calendar  Search  Today's Posts  Mark Forums Read  Search 
Tubes / Valves All about our sweet vacuum tubes :) Threads about Musical Instrument Amps of all kinds should be in the Instruments & Amps forum 

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 

Thread Tools  Search this Thread 
17th May 2005, 02:16 AM  #21 
diyAudio Member
Join Date: Apr 2005
Location: NJ

A lot of bloodshed here too....
child killed: illegal instruction child killed: illegal instruction while executing "exec $backend $type m << [$t get 0.0 end]" (procedure "model" line 9) invoked from within "model $wd.text" invoked from within ".n.f1.buttons.model invoke" ("uplevel" body line 1) invoked from within "uplevel #0[list $w invoke]" (procedure "tk::ButtonUp" line 24) invoked from within "tk::ButtonUp .n.f1.buttons.model" (command bound to event) error I got when using 6SN7.dat to build a model. PC is a Pentium III running Windows 2000 Pro. 
17th May 2005, 06:27 AM  #22 
diyAudio Member
Join Date: Feb 2001
Location: Estonia

Ditto
PC: P4, Win XP 
17th May 2005, 11:05 AM  #23 
diyAudio Member

new version of Curvecaptor for WinXP
Hola a todos,
Andrei is travelling now and he can't login to Diyaudio Forum, so he asked me if I would tell you a link to a new version of Curvecaptor suitable for testing under Win_XP plattforms. Lasts results are Ok when running under these conditions:  Win XP Professional  SP2  AMD Athlon XP 2000+ Processor Download Curvecaptor from: http://sourceforge.net/projects/curvecaptor/ Saludos, Luis Cardaba. 
18th May 2005, 05:55 AM  #24 
diyAudio Member
Join Date: Apr 2005
Location: NJ

it works now!
The latest version works well. My machine is a Pentium III running Windows 2000 Pro. Below are a few models I did with the new version today (a few low B+ voltage tubes for people who haven't gotten used to high voltage just yet):
These I did using AF's software ********************************** * 12u7 Spice 3F4 model low voltage space charge dual triode .SUBCKT X12u7 P G K Bp P K I=(0.001972003403e3)*uramp(V(P,K)*ln(1.0+(0.001530503245)+exp((0.038 59673121)+(0.03859673121)*((564.8225939)+(114911.4871e3)*V(G,K))*V(G,K)/sqrt((15.44447752)^2+(V(P,K)(8.343447975))^2)))/(0.03859673121))^(1.148627719) CPK P K 0.0000000000004 CGK G K 0.0000000000016 CGP G P 0.0000000000015 .ends X12u7 ************************************************** ****************************** * below is a 12AX7 style triode running on 80% of its normal heater voltage, improves linearity. The 12AV6, ignoring its diodes, is half a 12AX7. * 12av610vh Spice 3F4 model .SUBCKT X12av610vh P G K Bp P K I=(0.008002535364e3)*uramp(V(P,K)*ln(1.0+(0.1781769699)+exp((4.80847 8051)+(4.808478051)*((80.28638516)+(6220.101955e3)*V(G,K))*V(G,K)/sqrt((71.2061203)^2+(V(P,K)(51.18537952))^2)))/(4.808478051))^(1.174758456) Cgk G K 2.2P Cgp G P 2P Cpk P K 0.8P .ends X12av610vh ************************************************** ********************************** *Below is a detector diode running on 2/3 normal heater voltage, improves detector performance. * 5896 4v on 6.3 heater not valid over 30ma; with contact potential .SUBCKT X58964hv P K Bp P K I=(1.259102866e3)*uramp(V(P,K)+(0.6788214279))^1.5 .ends X58964hv ************************************************** ******************************** * 12FM6 Space charge low voltage triode .SUBCKT X12FM6 P G K Bp P K I=(0.001097962853e3)*uramp(V(P,K)*ln(1.0+(0.06123349699)+exp((0.0216 1200134)+(0.02161200134)*((23.7503614)+(156710.2813e3)*V(G,K))*V(G,K)/sqrt((6.356755714)^2+(V(P,K)(6.569413423))^2)))/(0.02161200134))^(1.51472413) CPK P K 0.0000000000004 CGK G K 0.0000000000016 CGP G P 0.0000000000017 .ends X12FM6 ************************************************** ******************************* My Circuitmaker 3F4 spice simulator turns out to be okay with "exp" but barfs on "m" and "k" at the end of numbers. I sub "e3" and "e3" respectively and it works. Also Circuitmaker barfs on N^X when X is less than 1. Doing 1.5453^0.6 makes it barf, but a work around that does work is to do sqrt(1.5453^1.2). This reminds me of why software writing aloways drove me nuts; stupid stuff like this! 
21st May 2005, 04:47 AM  #25 
diyAudio Member
Join Date: Apr 2005
Location: NJ

More models I did using this software can be had here.
It's a txt file, cut and paste into your spice program. Any chance of software like the above for pentodes? I realize the screen grid throws in more variables, so maybe not.... 
25th May 2005, 10:01 AM  #26 
diyAudio Member
Join Date: Dec 2002
Location: Canada

Well, I'm back...
First of all, sorry for the mixup with Windows binaries, Pentium 4specific optimization was applied generating instruction set missing on other processors. The next version (0.9.1) is in the works. It will remove limitations of Windows port (disabled distortion analysis) and add support for user Spice dialect selection (3F4, PSpice, and LTSpice so far). If you want your favourite Spice included, email me with the description of the syntax it uses. Tetrode/pentode support is possible, but I have not seen many models around  only the simple ones. Might be a bit of tryandfail work to get the model that is flexible enough to fit well. I am postponing this until after 1.0 release is out. 
25th May 2005, 06:23 PM  #27 
diyAudio Member
Join Date: Apr 2005
Location: New York

Pentode models
Hi Andrei,
I used the Koren pentode model with mixed results. The fitting is tricky and I couldn't get it to cenverge very well (I used Matlab fsolve). Did you explored other models? If so, are they online somewhere, or published? I'd like to know if there is something. Cheers, Rada 
27th May 2005, 07:58 PM  #28 
diyAudio Member
Join Date: May 2005
Location: Santa Cruz CA

Andrei,
Thanks so much for the software. I have been using Teodoro Marinucci's excel sheet to create models (appears to be gone now ), yours looks to have great potential. I look forward to your LTspice output code. I really like how Teodoro breaks out the parameters/values from the equation as this makes it easy to tweak (trial and error) to get as close as possible in LTspice. If your LTspice output can be done this way, it would be really helpful for me. example: *Attempt by Luap at a 12u7 using koren calq * .SUBCKT 12u7kor 1 2 3 ; P G C; + PARAMS: MU=21.95 EX=1.1 KG1=1082.66 KP=68.5 KVB=490.4 RGI=1000 + CCG=2.3P CGP=2.2P CCP=.9P ; ADD .7PF TO ADJACENT PINS; .5 TO OTHERS. E1 7 0 VALUE= +{V(1,3)/KP*LOG(1+EXP(KP*(1/MU+V(2,3)/SQRT(KVB+V(1,3)*V(1,3)))))} RE1 7 0 1G G1 1 3 VALUE={(PWR(V(7),EX)+PWRS(V(7),EX))/KG1} RCP 1 3 1G ; TO AVOID FLOATING NODES IN MUFOLLOWER C1 2 3 {CCG} ; CATHODEGRID; WAS 1.6P C2 2 1 {CGP} ; GRIDPLATE; WAS 1.5P C3 1 3 {CCP} ; CATHODEPLATE; WAS 0.5P D3 5 3 DX ; FOR GRID CURRENT R1 2 5 {RGI} ; FOR GRID CURRENT .MODEL DX D(IS=1N RS=1 CJO=10PF TT=1N) .ENDS * I would be glad to make some suggestions when you are ready (I assume it's a bit early) ...just let me know. Luap 
27th May 2005, 07:58 PM  #29 
diyAudio Member
Join Date: May 2005
Location: Santa Cruz CA

...one more thing
FYI tried it with both XP and 98SE on a PIII similar results Luap 
27th May 2005, 08:10 PM  #30  
diyAudio Member

Quote:
Hi Luap, Have you Teodoro Marinucci Excel sheet? I would like to download it, because Marinucci's web is shut down. Regards. 

Thread Tools  Search this Thread 


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
wanted: Coral Beta 8 or Beta 10 full range speaker  francofil  Swap Meet  2  28th April 2010 09:34 AM 
Vacuum Tube Computer Simulation Modeling  oldheathkitphil  Tubes / Valves  11  19th July 2007 03:12 PM 
HELP with Box Modeling Software  69stingray  MultiWay  5  1st January 2006 05:40 PM 
Need help with Modeling Software  Wright  MultiWay  26  17th November 2003 02:23 PM 
New To Site?  Need Help? 