Vacuum tube modeling software - beta testers wanted - Page 3 - diyAudio
Go Back   Home > Forums > Amplifiers > Tubes / Valves

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
Reply
 
Thread Tools Search this Thread
Old 17th May 2005, 01:16 AM   #21
wa2ise is offline wa2ise  United States
diyAudio Member
 
wa2ise's Avatar
 
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.
  Reply With Quote
Old 17th May 2005, 05:27 AM   #22
argo is offline argo  Estonia
diyAudio Member
 
Join Date: Feb 2001
Location: Estonia
Ditto

PC: P4, Win XP
  Reply With Quote
Old 17th May 2005, 10:05 AM   #23
LuisMCP is offline LuisMCP  Spain
diyAudio Member
 
LuisMCP's Avatar
 
Join Date: Jun 2001
Location: Madrid, Spain
Default 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.
  Reply With Quote
Old 18th May 2005, 04:55 AM   #24
wa2ise is offline wa2ise  United States
diyAudio Member
 
wa2ise's Avatar
 
Join Date: Apr 2005
Location: NJ
Talking 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.001972003403e-3)*uramp(V(P,K)*ln(1.0+(0.001530503245)+exp((0.038 59673121)+(0.03859673121)*((564.8225939)+(-114911.4871e-3)*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.

* 12av6-10vh Spice 3F4 model
.SUBCKT X12av6-10vh P G K
Bp P K I=(0.008002535364e-3)*uramp(V(P,K)*ln(1.0+(0.1781769699)+exp((4.80847 8051)+(4.808478051)*((80.28638516)+(-6220.101955e-3)*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 X12av6-10vh

************************************************** **********************************
*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 X5896-4hv P K
Bp P K I=(1.259102866e-3)*uramp(V(P,K)+(0.6788214279))^1.5
.ends X5896-4hv

************************************************** ********************************

* 12FM6 Space charge low voltage triode
.SUBCKT X12FM6 P G K
Bp P K I=(0.001097962853e-3)*uramp(V(P,K)*ln(1.0+(0.06123349699)+exp((0.0216 1200134)+(0.02161200134)*((23.7503614)+(-156710.2813e-3)*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 "e-3" 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!
  Reply With Quote
Old 21st May 2005, 03:47 AM   #25
wa2ise is offline wa2ise  United States
diyAudio Member
 
wa2ise's Avatar
 
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....
  Reply With Quote
Old 25th May 2005, 09:01 AM   #26
andrei is offline andrei  Canada
diyAudio Member
 
Join Date: Dec 2002
Location: Canada
Well, I'm back...

First of all, sorry for the mix-up with Windows binaries, Pentium 4-specific 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 try-and-fail work to get the model that is flexible enough to fit well. I am postponing this until after 1.0 release is out.
  Reply With Quote
Old 25th May 2005, 05:23 PM   #27
Radames is offline Radames  United States
diyAudio Member
 
Join Date: Apr 2005
Location: New York
Default 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
  Reply With Quote
Old 27th May 2005, 06:58 PM   #28
Luap is offline Luap  United States
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 MU-FOLLOWER
C1 2 3 {CCG} ; CATHODE-GRID; WAS 1.6P
C2 2 1 {CGP} ; GRID-PLATE; WAS 1.5P
C3 1 3 {CCP} ; CATHODE-PLATE; 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
  Reply With Quote
Old 27th May 2005, 06:58 PM   #29
Luap is offline Luap  United States
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
  Reply With Quote
Old 27th May 2005, 07:10 PM   #30
LuisMCP is offline LuisMCP  Spain
diyAudio Member
 
LuisMCP's Avatar
 
Join Date: Jun 2001
Location: Madrid, Spain
Quote:
Originally posted by Luap
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.


Luap

Hi Luap,


Have you Teodoro Marinucci Excel sheet?

I would like to download it, because Marinucci's web is shut down.

Regards.
  Reply With Quote

Reply


Hide 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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


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 08:34 AM
Vacuum Tube Computer Simulation Modeling oldheathkitphil Tubes / Valves 11 19th July 2007 02:12 PM
HELP with Box Modeling Software 69stingray Multi-Way 5 1st January 2006 04:40 PM
Need help with Modeling Software Wright Multi-Way 26 17th November 2003 01:23 PM


New To Site? Need Help?

All times are GMT. The time now is 10:02 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright ©1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2