Koren's spice models - 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 7th July 2005, 12:03 PM   #1
diyAudio Member
 
Join Date: Nov 2003
Location: Genova, Italy
Default koren's spice models

Hi all,
for those of you interested in spice simulation of tube amp.

I am slowly building a library of triode models.

Actually, I use Koren's model since I found it to better adhere to
real plate curve data.

At the moment only a few tube are present in the library but I hope to develope a good and useful thing.
http://www.geocities.com/koren_model/

I wait for comments and suggestions.

thanks in advance

Federico Scarpa
  Reply With Quote
Old 7th July 2005, 02:17 PM   #2
RIP
 
pedroskova's Avatar
 
Join Date: Dec 2002
Location: C'ville VA, USA
Thanks a bunch. I've never been able to get the Koren models to work in micro cap. I just cut and pasted the ecc99 into my lib file, and it worked first time. Thanks again.
  Reply With Quote
Old 7th July 2005, 02:29 PM   #3
docali is offline docali  Germany
diyAudio Member
 
Join Date: Oct 2004
Hi,

this is a very good idea!

You will find a lot of new useful model files if you search the forum.
  Reply With Quote
Old 8th July 2005, 04:06 AM   #4
diyAudio Moderator Emeritus
 
ray_moth's Avatar
 
Join Date: Jan 2004
Location: Jakarta
ltspice doesn't like the EL34 model. I get the following message:

WARNING: Can't resolve .param v_6=kp*((1/mu)+((v(g,k)-vg0)/sqrt(v(a,k)**2+kvb**2)))
  Reply With Quote
Old 8th July 2005, 10:23 AM   #5
diyAudio Member
 
Join Date: Nov 2003
Location: Genova, Italy
hi ray_moth
maybe the .param statement is typical of MicroCap

clear that line and put the following


E6 6 0 VALUE={KP*( (1/MU)+((V(G,K)-vg0)/sqrt(V(A,K)**2+KVB**2)) )}

and in the next change V_6 with V(6) as follows

E8 8 0 VALUE={(V(A,K))/KP*LN(1+EXP(V(6)))}

let me know

Federico
  Reply With Quote
Old 10th July 2005, 07:38 AM   #6
diyAudio Moderator Emeritus
 
ray_moth's Avatar
 
Join Date: Jan 2004
Location: Jakarta
Thanks, it works after making that change.
  Reply With Quote
Old 5th August 2005, 09:11 AM   #8
diyAudio Moderator Emeritus
 
ray_moth's Avatar
 
Join Date: Jan 2004
Location: Jakarta
Default EL34 model is strange

The EL34 triode model in class AB1, e.g. with quiescent current of 40mA, doesn't cutoff at 0 mA but at about 20mA. Any idea why that is? I think this is wrong and I've stopped using it.

I've gone back to using a 6CA7 model I got from Duncanamps. With g2 strapped to plate, this cuts off cleanly at 0mA, as I would expect.
  Reply With Quote
Old 6th September 2005, 12:17 PM   #9
diyAudio Member
 
Join Date: Nov 2003
Location: Genova, Italy
hi ray_moth

I am interested in such kind of error.

If you give me the info to replicate it
i'll be very grateful.

have you tried to plot the anode curves?
are they wrong or different with respect to
those reported at
http://www.geocities.com/koren_model...odels/EL34.doc ?

I suspect it is a problem of spice portability:
the model works fine in MicroCap.

let me know

thank you

Federico
  Reply With Quote
Old 7th September 2005, 06:03 PM   #10
diyAudio Moderator Emeritus
 
ray_moth's Avatar
 
Join Date: Jan 2004
Location: Jakarta
Hello Frederico,

I haven't tried to plot the plate curves for the EL34 model. I still have the model on my disk but, as I said before, I don't use it any more. The conditions under which I tried it were in AB1 push-pull, with plate-to-plate load of 7k, 400v B+, 220k grid resistor, 1k grid stopper and fixed negative grid bias to get a quiescent current in each tube of 40mA. It was driven by a 6SN7 differential stage with 3mA plate current, 47k plate loads and 0.1uF coupling capacitors.

I am using LTSpice, which can be temperamental at times. For instance, it "sulks" if the input signal amplitude is accidentally set too large so as to constitute an overload. It stalls, complaining that the timestep is too small (so what am I supposed to do about that?); or it says there are floating nodes when there aren't any. This might be due to the failure of negative feedback at clipping, I don't know. Since it refuses to simulate, I can't really tell what it's trying to do or why it can't do it. The error log is mostly gibberish except, perhaps, to the programmers who wrote it.

Another problem is that some simulations seem to take forever, whereas others of apparfently similar complexity can be very quick. I have never found a logical explanation for this variability in run-times. The "help" file is not very helpful at all and I would never credit LTSpice with being user-friendly! Still, I got it free, so who am I to complain? When it works, which is most of the time, it seems to be excellent.
  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
Spice models stinius Solid State 0 18th November 2008 09:07 PM
Spice 3f4 "Koren" models gingertube Tubes / Valves 4 6th December 2004 05:15 AM
Spice Models Bonsai Solid State 5 24th September 2003 09:44 AM
Spice models JoeBob Solid State 18 25th April 2002 02:34 PM


New To Site? Need Help?

All times are GMT. The time now is 06:28 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