• WARNING: Tube/Valve amplifiers use potentially LETHAL HIGH VOLTAGES.
    Building, troubleshooting and testing of these amplifiers should only be
    performed by someone who is thoroughly familiar with
    the safety precautions around high voltages.

new spice models available

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Hi Kevin,

I might generate models of those tubes... eventually. I can't say when for sure though. My main focus with spice is optimizing preamp stages, and transformerless circuits like oscillators.

In the meantime, surely there are others who can install and run Andrei Frolov's program? It wasn't all that difficult to run in Windows. Search on the "beta testers wanted" thread. It contains all the details.

Joel
 
AX tech editor
Joined 2002
Paid Member
Joel said:
Hi Kevin,

I might generate models of those tubes... eventually. I can't say when for sure though. My main focus with spice is optimizing preamp stages, and transformerless circuits like oscillators.
[snip]Joel


Joel,

I know it's off-topic, but do you know of any Spice models for DACs? Not specific audio DAC, just the R-2R variety. I don't seem to be able to find them on the 'net, but I'm sure there are some available somewhere.

Thanks anyway,

Jan Didden
 
Hi everybody,

I did trace the datasheets of a few triodes, including 26, 45, 50, 2A3, 300B DHTs, and a few of interesting octals (including 6SN7, 6SL7, 6BX7, 6BL7, 6AS7) and novals (including ECC88, 5687, 417A, 437A). I'm attaching the zip file with my latest collection of macro models, and expanded versions for Spice 3F4, PSpice, and LTSpice.

And yes, there are Windows and MacOS ports of Curve Captor now. Have fun :).
 

Attachments

  • tubelib.zip
    18.5 KB · Views: 511
janneman said:



Joel,

I know it's off-topic, but do you know of any Spice models for DACs? Not specific audio DAC, just the R-2R variety. I don't seem to be able to find them on the 'net, but I'm sure there are some available somewhere.

Thanks anyway,

Jan Didden

Jan-Man -- you can't just copy and paste this, have to put the "+" into the template -- let me know if you want the text files.

################## Model Data Report #########
*none
============= Model template =================
x%p %tD0 %tD1 %tD2 %tD3 %tD4 %tD5 %tD6 %tD7 %tD8 %D9 %tD10 %tD11 %tD12 %tD13 %tD14 %tD15 %tOutput %tVref+ %tVref- DIG2ANACON16%p
.subckt DIG2ANACON16%p 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
**************************************************************
*** Stand Alone Model - 16 Bit Digital to Analog Converter ***
*** Input Values in the undefined state will cause erroneous tput.
*** Digital threshold levels must be adhered to.
**************************************************************
*Nodes 1 to 16 -- D0 to D15 -- LSB to MSB
*Node 17 -- Output
*Node 18 -- Vref+
*Node 19 -- Vref-
********************
**Set Output Range**
********************
rrefp 18 0 1e6
rrefn 19 0 1e6
********************
ad0 1 1a THRSHLD
rd0 1a 21 32768
vd0 21 0 0
ad1 2 2a THRSHLD
rd1 2a 22 16384
vd1 22 0 0
ad2 3 3a THRSHLD
rd2 3a 23 8192
vd2 23 0 0
ad3 4 4a THRSHLD
rd3 4a 24 4096
vd3 24 0 0
ad4 5 5a THRSHLD
rd4 5a 25 2048
vd4 25 0 0
ad5 6 6a THRSHLD
rd5 6a 26 1024
vd5 26 0 0
ad6 7 7a THRSHLD
rd6 7a 27 512
vd6 27 0 0
ad7 8 8a THRSHLD
rd7 8a 28 256
vd7 28 0 0
ad8 9 9a THRSHLD
rd8 9a 29 128
vd8 29 0 0
ad9 10 10a THRSHLD
rd9 10a 30 64
vd9 30 0 0
ad10 11 11a THRSHLD
rd10 11a 31 32
vd10 31 0 0
ad11 12 12a THRSHLD
rd11 12a 32 16
vd11 32 0 0
ad12 13 13a THRSHLD
rd12 13a 33 8
vd12 33 0 0
ad13 14 14a THRSHLD
rd13 14a 34 4
vd13 34 0 0
ad14 15 15a THRSHLD
rd14 15a 35 2
vd14 35 0 0
ad15 16 16a THRSHLD
rd15 16a 36 1
vd15 36 0 0
bisum 0 20 i={(2*i(vd0))+i(vd1)+i(vd2)+i(vd3)+i(vd4)+i(vd5)+i(vd6)+i(vd7)+i(vd8)+i(vd9)+i(vd10)+i(vd11)+i(vd12)+i(vd13)+i(vd14)+i(vd15)}
rbisum 20 0 0.1
bout 17 0 v={v(19)+(v(20)*(v(18)-v(19)))}
rout 0 17 1e6
.MODEL THRSHLD hyst(in_low=#3 in_high=#1 hyst=1e-30 out_lower_limit=0 out_upper_limit=5)
.ends
 
Andrei,

Does the program recognize more than one Ip or Vp marker per value? In other words, can I place an Ip=10ma marker at each junction across the grid to improve accuracy, for example?

I ask because I've had some difficulty with certain scans of plate curves - they are warped, but only in a few areas of the grid. So, the end result is that the model is off.

Thanks for your help!

Joel
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.