Hi kees,... the transistor models are not acting as a paired transistor and does cause the offset unbalance, this driver needs paired transistors on some places. Maybe there is a way to set LTspice for this.
Try defining perfect complements using the ako: statement (a kind of)
eg matching PNP 2N5401 to the NPN 2N5550, use:
.model 2N5401_ ako:2N5550 PNP
(place statement on your circuit or in your .include ... model file)
then change all the circuit instances of 2N5401 to 2N5401_
The underscore in "2N5401_" is needed so it is a different name to the already defined "2N5401".
Repeat for all other NPN/PNP complements.
Last edited:
In LTspice, (any simulator) if you place two transistors with the same type, they are perfectly identical, much better than any practical matching can achieve.
Unless you deliberately modify the models to make them different.
Jan
Hi Jan
You now thar I pick models from the internet, so possible the models are different then, and cause unbalance, I think it is sure that this is happened here, I have not change models, I never do because that is not a wise dicision.
thanks for help.
Zweet ze.😀
If you use the same model for several transistors, the transistors are all perfectly matched because they all use the same model. They are identical.
You can even perfectly match NPN to PNP with the technique shown by Ian above.
Jan
You can even perfectly match NPN to PNP with the technique shown by Ian above.
Jan
I did, it works, so I can design the driver on a better way, more real.
I have gordell models, so use the 2n5401_gordell in the tekst, I use models from the .cmp tekstfiles .bjt or .njf dit set more models into that tekst and pick there the transistor after first put a standart pnp in schematic. maybe that is a less better way?
Oke now I can setup the bias system, without first to cancel out much volts before it go right setup.
Thanks you guys.
kees
I have gordell models, so use the 2n5401_gordell in the tekst, I use models from the .cmp tekstfiles .bjt or .njf dit set more models into that tekst and pick there the transistor after first put a standart pnp in schematic. maybe that is a less better way?
Oke now I can setup the bias system, without first to cancel out much volts before it go right setup.
Thanks you guys.
kees
Attachments
Last edited:
I have this weird problems with LT spice, no matter the version where i can simulate for an entire day around one circuit and i get weird results .I close my lt spice session restart and get different results, then doing that for a whole day i get cnsistent results.restart the computer next day and get completely different resuts on the same schematic.Lots of verifications to be sure about that..I published a lot of my simulations being convinced they are ok, then the next day they show completely different.
Is there a way to solve this?
Is there a way to solve this?
In LTspice, (any simulator) if you place two transistors with the same type, they are perfectly identical, much better than any practical matching can achieve.
Unless you deliberately modify the models to make them different.
Jan
Hi Jan
You now that I pick models from the internet, so possible the models are different then, and cause unbalance, I think it is sure that this is happened here, I have not change models, I never do because that is not a wise dicision.
thanks for help.
Zweet ze.😀
Jan
I did find this models in the standart.bjt tekst file.
.model KSC1845F_kq ako:2SC1845E_kq NPN Vceo=120 Icrating=50m mfg=Fairchild Bf=355 Ikf=300m Vaf=400 Ise=1000f Ibc=600f Rco=150 Gamma=10u Vo=9 Isc=22f
.model KSA992F_kq ako:2SA992F_kq PNP Vceo=120 Icrating=50m mfg=Fairchild Bf=404 Vaf=110 Ikf=150m Ise=15f Isc=0.0010f Rco=70 Rc=0 Gamma=1500n Vo=100 Ibc=45f Is=75f
It contins already the mentioned tekst.
Only these models do not show up so this is faulty then.
I did find this models in the standart.bjt tekst file.
.model KSC1845F_kq ako:2SC1845E_kq NPN Vceo=120 Icrating=50m mfg=Fairchild Bf=355 Ikf=300m Vaf=400 Ise=1000f Ibc=600f Rco=150 Gamma=10u Vo=9 Isc=22f
.model KSA992F_kq ako:2SA992F_kq PNP Vceo=120 Icrating=50m mfg=Fairchild Bf=404 Vaf=110 Ikf=150m Ise=15f Isc=0.0010f Rco=70 Rc=0 Gamma=1500n Vo=100 Ibc=45f Is=75f
It contins already the mentioned tekst.
Only these models do not show up so this is faulty then.
Oke, now I have tryed KSA992 and KSC1845 from X did put underscore to KSA992 and the rest as said.
Unfortanely this trick does not work here, get 8 volts offset, but it works perfectly with the 2n5401 and 2n5550 transitors. So what do I missing here.
So model has influence on this? afcourse these are important.
regards
Unfortanely this trick does not work here, get 8 volts offset, but it works perfectly with the 2n5401 and 2n5550 transitors. So what do I missing here.
So model has influence on this? afcourse these are important.
regards
Attachments
I have this weird problems with LT spice, no matter the version where i can simulate for an entire day around one circuit and i get weird results .I close my lt spice session restart and get different results, then doing that for a whole day i get cnsistent results.restart the computer next day and get completely different resuts on the same schematic.Lots of verifications to be sure about that..I published a lot of my simulations being convinced they are ok, then the next day they show completely different.
Is there a way to solve this?
Don't know if this helps, but I have had a similar issue. I downloaded a model, created it's own symbol with meaningful pin names, and placed in the schematic. All fine and dandy.
Next day, opening up the schematic, I get weird results. The reason was that the model (it was a .subckt) was in the LTspice internal library as well as the downloaded one in my personal library. So when I started the schematic, LTspice 'bound' my created symbol to its own model, and the pin order was off, giving weird results.
Jan
unfortunmately with me it happens very often and with simple models that i have for a long time...I just need to reboot ltspice on a regular basis to check...
Oke, now I have tryed KSA992 and KSC1845 from X did put underscore to KSA992 and the rest as said.
Unfortanely this trick does not work here, get 8 volts offset, but it works perfectly with the 2n5401 and 2n5550 transitors. So what do I missing here.
So model has influence on this? afcourse these are important.
regards
This problem with pairing transistors did only work with the 2sa970/2240 and 2n5401/2n5551.
The problem with non consistence results I did discuss with X last time, did also mention put model in schematic, I use the text models mostly from cmp folder.
Jan,
Thank you for your feedback. I tried several values for Nperiods, but it made the discrepancy even larger.
That's why I have now sent an email to LTspice@analog.com.
When something useful comes out, I will report it back in this thread.
Hans
This is the reply I received concerning the problem I described in posting #2195, quite frustrating indeed.
Hans
Dear Customer,
Unfortunately we are not able to support you personally in a timely manner. The support intensity of some of our more complex products and a steady increase in inquiries impacts our support services at this point in time.
Best regards,
Mike Heffernan
European Support Manager
Analog Devices
EngineerZone
Last edited:
O.k. eggheads can you please solve this for me, it escapes me completely, what am I missing, it seems so simple...
The voltage shown is correct but was obtained by manual iteration 🙂 (e.g. the hard way)
The voltage shown is correct but was obtained by manual iteration 🙂 (e.g. the hard way)
Attachments
Last edited:
Egghead is not a very friendly way to address people.
You have not specified the value of R2
Hans
You have not specified the value of R2
Hans
- Home
- Design & Build
- Software Tools
- Installing and using LTspice IV (now including LTXVII), From beginner to advanced