Question 2
Tried placing a tube from scratch, rather than copy and paste (diagram on the schematic didn't match what a previous model had), and seems made a mistake. How do I fix this, please?
View attachment 1147593
View attachment 1147594
In case helps, here is the schematic (not mine). Used this because super simple and only one tube, was concerned about my ability.
Tried placing a tube from scratch, rather than copy and paste (diagram on the schematic didn't match what a previous model had), and seems made a mistake. How do I fix this, please?
View attachment 1147593
View attachment 1147594
In case helps, here is the schematic (not mine). Used this because super simple and only one tube, was concerned about my ability.
I am unable to attach the tube model nor the potentiometer, only allowing the schematic, does this help?@Adriel:
if you posted the .asc files and the tube model file, we can probably help you ...
otherwise only speculate ...
Attachments
SPICE models are just text files. As such, these files often have a .txt extension, although you'll see others like .sub for subcircuit, .lib for a library file, etc. The forum doesn't allow uploading files with certain extensions so it's common for a lot of model files uploaded here to carry the .txt extension.
To attach these files to your schematic you need to "include" them in your .asc file. This is just a matter of adding a statement like ".inc model.txt" somewhere on the schematic. Then store this model file in the same folder as your .asc file so that LTspice can find it. There are other locations that will work but if you are just starting out with LTspice it might be best to keep things simple at first.
I hope this helps a little.
To attach these files to your schematic you need to "include" them in your .asc file. This is just a matter of adding a statement like ".inc model.txt" somewhere on the schematic. Then store this model file in the same folder as your .asc file so that LTspice can find it. There are other locations that will work but if you are just starting out with LTspice it might be best to keep things simple at first.
I hope this helps a little.
Can they be in the folder with the schematic of the circuit? I am unable to open the tube directory as a .mdb file extension.To attach these files to your schematic you need to "include" them in your .asc file.
You mean a Spice directive?This is just a matter of adding a statement like ".inc model.txt"
Still have the bug even with tubes that work fine in the schematics José (@jcalvarez ) generously gave me, so something other then the individual tube (successfully tube rolled in other schematics).I hope this helps a little.
Yes, I believe I said that in my post.Can they be in the folder with the schematic of the circuit? I am unable to open the tube directory as a .mdb file extension.
Yes, an .inc statement is a SPICE directive.You mean a Spice directive?
I don't understand the question. If you have an appropriate tube SPICE model which is in the same folder as the schematic file, and have "included" it in the schematic, LTspice will be able to use it.Still have the bug even with tubes that work fine in the schematics José (@jcalvarez ) generously gave me, so something other then the individual tube (successfully tube rolled in other schematics).
To offer any more help, we will need to see both your .asc file and your tube models, as Sorento pointed out.
Unless the whole darn program has a bug with running any tube.I don't understand the question. If you have an appropriate tube SPICE model which is in the same folder as the schematic file, and have "included" it in the schematic, LTspice will be able to use it.
I apparently forgot the picture, though the same error as above.
I could change tubes, with the .inc statement, until I was blue in the face and get the same error.
I posted the .asc file, though why ask me for something that is not possible? The tube models are not an accepted extension.To offer any more help, we will need to see both your .asc file and your tube models, as Sorento pointed out.
Just hit me to use Google Drive, duh. https://drive.google.com/drive/folders/1eMlMXz1M48sJj-likAcRgOdKwL_cz5LW?usp=share_link
Included all three corrupted schematics to demonstrate the error has continued with each save as.
Again, thank you for your help.
Included all three corrupted schematics to demonstrate the error has continued with each save as.
Again, thank you for your help.
simple workaround, most people know this:I posted the .asc file, though why ask me for something that is not possible? The tube models are not an accepted extension.
put the sim files in a .zip and then you can post anything ...
other alternative is to rename files by adding .txt extension ...
Last edited:
I have edited asc so it runs without errors. In order for receiver to work you need to mutual coupled inductors using K statement (K1 L1 L2 0.9) with a suitable coupling factor. So that will make it regenerative that radiate at certain frequency you can actual pickup by radio. If you can point to website that explain how it works we may help with you more.
Found it: https://www.cool386.com/12v_6BL8/12v_6BL8.html
Found it: https://www.cool386.com/12v_6BL8/12v_6BL8.html
Attachments
Last edited:
I am not most people.simple workaround, most people know this:
For example, my literal thinking: asked for a .asc file, not a .txt file. Somehow a .zip doesn't compute the same way.
I honestly do not know how to that...put the sim files in a .zip and then you can post anything ...
Interestingly it corrupted in the file transfer, though still runs.I have edited asc so it runs without errors.
I would love to know what "floating" means, please. We have had this before and puzzling as the wires are all connected, no floating in my understanding of the word.
Well, I was simply using logic not finding an answer. Now I am kind of understanding, though feeling an inability to be independent. That is fine, I am doing this for fun. Simply modify for other radio schematics.In order for receiver to work you need to mutual coupled inductors using K statement (K1 L1 L2 0.9) with a suitable coupling factor. So that will make it regenerative that radiate at certain frequency you can actual pickup by radio. If you can point to website that explain how it works we may help with you more.
Incorrect, it is the 160 volt version: https://www.cool386.com/6BL8_srrx/6BL8_srrx.html.
Last night I wanted to see if with my new knowledge I could get something to work. First run the output tube (one half of an ECL86 which is equivalent to a EL84) was not working right, the ECC83 half was not getting correct voltages, turns out petting the dog was distracting and didn't put a capacitor and resistor in the ground leg. Felt amazing when that produced a run with voltage! Went to bed with a smile on my face.
I am going to hold off on sharing it until make the tube and regeneration corrections. Plus, feel maybe more to learn from the one tube. Learning is why I created it, after all.
What I love to learn is to build a transformer, seems the instructions I found aren't computing in my brain. I love how José creates them as blocks, unlike any instructions out there, in part because look neater and more importantly, a better model.
I have this feeling the 3μV output needs to go into a transformer to step it up.
This seems to be working, no errors generated. There is also a model done in 2013, post number 5 which didn't use.This model is traced by me using CurveCaptor, Koren8 model, pretty close, maybe you like to use it, there is more than one way to get the model, included also the marker and data file for reference.
* ec88 LTSpice model
.subckt ec88 P G K
Bp P K I=(0.1271584816m)uramp(V(P,K)*ln(1.0+(-0.08785188791)+exp((2.922603012)+(2.922603012)((70.68877455)+(-2844.697934m)V(G,K))V(G,K)/sqrt((66.12972009)**2+(V(P,K)-(34.81182848))**2)))/(2.922603012))(1.087629465)
Cgk G K 3.8p ; added
Cpk P K 0.055p ; added
Cgp G P 1.7p ; added
Rpk P K 1G ; to avoid floating nodes
d3 G K dx1
.model dx1 d(is=1n rs=2k cjo=1pf N=1.5 tt=1n)
.ends ec88
As to the model created last night, spent a little time trying to get grain and output watts to work, realized beyond my ability at this time, though did achieve some learning. Other than that, the model does seem to be working, what do you all think?
Note the rheostat for the reaction is modeled as a resistor as at the time didn't have a potentiometer component. Additionally, the ELC86 is modeled as two tubes which supposedly are equivalent: https://www.diyaudio.com/community/threads/ecl82-or-ecl86-amplifier-decision.168695/.
Clearly I am currently inept with transformers, so unable to compare to the one tube regenerative, for now.
Here is the website and no, I don't speak French (few words of manners I somehow learned): https://sites.google.com/site/france5ndl/recepteur-a-reaction.
Over all, I have great satisfaction and smile ear to ear because able to draft a schematic, put in a tube from this archive, and achieve some results, which was part of my intent. Feel could do another, especially better once know how to do transformers and script.
Note the rheostat for the reaction is modeled as a resistor as at the time didn't have a potentiometer component. Additionally, the ELC86 is modeled as two tubes which supposedly are equivalent: https://www.diyaudio.com/community/threads/ecl82-or-ecl86-amplifier-decision.168695/.
Clearly I am currently inept with transformers, so unable to compare to the one tube regenerative, for now.
Here is the website and no, I don't speak French (few words of manners I somehow learned): https://sites.google.com/site/france5ndl/recepteur-a-reaction.
Over all, I have great satisfaction and smile ear to ear because able to draft a schematic, put in a tube from this archive, and achieve some results, which was part of my intent. Feel could do another, especially better once know how to do transformers and script.
Attachments
I'm glad you enjoy the transformer models, but I did not create them. Robert McLean created an extremely useful spreadsheet that allows you to enter certain transformer parameters and will generate a model. I find the models a good match with a couple of Hammond transformers I've used. All credit to him.What I love to learn is to build a transformer, seems the instructions I found aren't computing in my brain. I love how José creates them as blocks, unlike any instructions out there, in part because look neater and more importantly, a better model.
https://www.diyaudio.com/community/threads/spice-transformer-model-spreadsheet.181578/
I swear I hit post...
What do you do if do not have the information to put in? Only now I see simply states it was from an old phonograph. Still helpful as the thread does include modeling a basic step up transformer to explore.
Oops, sorry about that. Thank you for the correction and help.I'm glad you enjoy the transformer models, but I did not create them. Robert McLean created an extremely useful spreadsheet that allows you to enter certain transformer parameters and will generate a model. I find the models a good match with a couple of Hammond transformers I've used. All credit to him.
https://www.diyaudio.com/community/threads/spice-transformer-model-spreadsheet.181578/
What do you do if do not have the information to put in? Only now I see simply states it was from an old phonograph. Still helpful as the thread does include modeling a basic step up transformer to explore.
Why are 1N4007 diodes not in the list under diodes? Are they not common?
Additionally, tried to find the file to add the 1N4007, however, both hidden in the interface and in file explorer.
Also, tried inserting a diode, labeling it with the model script, added the model script, however generates an error code saying can't find "D." Tried several times to edit the script and make it happy to no avail.
The reason I was doing it this way as the .asy file of the 1N4007 degenerated.
And not showing up when selected.
Since present a significant challenge, is there a direct equivalent to use in LTSpice to achieve an accurate model?
In case matters, attaching the .asc file along with the schematic. This is a schematic that was provided and modified to a Morse SE.
I warn those who attempt to run the file (it is only included to show the diode situation) there are a few errors.
Additionally, tried to find the file to add the 1N4007, however, both hidden in the interface and in file explorer.
Also, tried inserting a diode, labeling it with the model script, added the model script, however generates an error code saying can't find "D." Tried several times to edit the script and make it happy to no avail.
The reason I was doing it this way as the .asy file of the 1N4007 degenerated.
And not showing up when selected.
Since present a significant challenge, is there a direct equivalent to use in LTSpice to achieve an accurate model?
In case matters, attaching the .asc file along with the schematic. This is a schematic that was provided and modified to a Morse SE.
I warn those who attempt to run the file (it is only included to show the diode situation) there are a few errors.
- Home
- Amplifiers
- Tubes / Valves
- Vacuum Tube SPICE Models