Electronics-Related.com
Forums

LT Spice diode C-V graph

Started by John Larkin June 27, 2014
On Sun, 29 Jun 2014 19:56:26 -0700, RobertMacy
<robert.a.macy@gmail.com> wrote:

>On Sun, 29 Jun 2014 14:19:22 -0700, Jim Thompson ><To-Email-Use-The-Envelope-Icon@on-my-web-site.com> wrote: > >>>> ..snip... >> >> PSpice supports the Berkeley (dot)PRINT statement, so I can generate >> columnized data simply by adding, in LTspice lingo, a "Spice >> directive" .PRINT V(N_27) I(VDC:+) etc. >> >> It's really odd that LTspice doesn't support that :-( >> >> ...Jim Thompson > >Surprised me too, but not sure where LTspice would put the results. > > From memory PSpice .PRINT statement puts the column as text into the end >of all the quiescent data. so have to go through and separate it there. At >least LTspice let's you save the list AFTER the analysis and puts only the >requested data into a file. Seems like more a matter of preference.
Setting options to not show unnecessary data makes it easy to separate. Obviously you know what you titled it, so a good text editor (like UltraEdit) easily finds it in the .OUT file. ...Jim Thompson -- | James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | San Tan Valley, AZ 85142 Skype: skypeanalog | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
On Mon, 30 Jun 2014 07:56:18 -0700, Jim Thompson  
<To-Email-Use-The-Envelope-Icon@on-my-web-site.com> wrote:

> ....snip... > Setting options to not show unnecessary data makes it easy to > separate. Obviously you know what you titled it, so a good text > editor (like UltraEdit) easily finds it in the .OUT file. > > ...Jim Thompson
This comment is not aimed at you but myself... Amzingly just can't let go of what works to take on unknown methods that work even better, just are not enticing enough to pursue. My primary example is using python, it works better all around for everything you want to do, but I just can't stop using octave to learn python.
On Sun, 29 Jun 2014 21:21:20 -0700, RobertMacy
<robert.a.macy@gmail.com> wrote:

>On Sun, 29 Jun 2014 14:20:22 -0700, Jim Thompson ><To-Email-Use-The-Envelope-Icon@on-my-web-site.com> wrote: > >>>>>>> ...something about CJ0 being 4pF >>>>>> >>>>>> The PSpice model has the same CJ0. >>>>>> >>>>>> ...Jim Thompson > > from my old PSpice .LIB not later than 92, possibly before >.MODEL D1N914 D(IS=0.1P RS=16 CJO=2P TT=12N BV=100 IBV=0.1P) >.MODEL D1N914A D(IS=0.1P RS=4 CJO=2P TT=12N BV=100 IBV=0.1P) > >isn't that 'initial' CJO like with zero volts across the junction? >arrrggg! can't remember anything about diode models tonight.
Yes. The LT Spice model has a Cjo of 4 pF. No apparent breakdown, as they run happily at -100 KV. Let the simulator beware! Now, imagine the accuracy of climate modeling... -- John Larkin Highland Technology, Inc jlarkin att highlandtechnology dott com http://www.highlandtechnology.com
Den mandag den 30. juni 2014 19.50.02 UTC+2 skrev John Larkin:
> On Sun, 29 Jun 2014 21:21:20 -0700, RobertMacy > > <robert.a.macy@gmail.com> wrote: > > > > >On Sun, 29 Jun 2014 14:20:22 -0700, Jim Thompson > > ><To-Email-Use-The-Envelope-Icon@on-my-web-site.com> wrote: > > > > > >>>>>>> ...something about CJ0 being 4pF > > >>>>>> > > >>>>>> The PSpice model has the same CJ0. > > >>>>>> > > >>>>>> ...Jim Thompson > > > > > > from my old PSpice .LIB not later than 92, possibly before > > >.MODEL D1N914 D(IS=0.1P RS=16 CJO=2P TT=12N BV=100 IBV=0.1P) > > >.MODEL D1N914A D(IS=0.1P RS=4 CJO=2P TT=12N BV=100 IBV=0.1P) > > > > > >isn't that 'initial' CJO like with zero volts across the junction? > > >arrrggg! can't remember anything about diode models tonight. > > > > Yes. The LT Spice model has a Cjo of 4 pF. No apparent breakdown, as > > they run happily at -100 KV. >
same for FETs, you can add a Bv to the model -Lasse Version 4 SHEET 1 880 680 WIRE 192 32 32 32 WIRE 672 32 192 32 WIRE 32 112 32 32 WIRE 192 144 192 112 WIRE 672 144 672 112 WIRE 144 240 144 224 WIRE 192 240 144 240 WIRE 624 240 624 224 WIRE 672 240 624 240 WIRE 192 304 192 240 WIRE 672 304 672 240 FLAG 192 304 0 FLAG 32 192 0 FLAG 672 304 0 SYMBOL nmos 144 144 R0 SYMATTR InstName M1 SYMATTR Value AO6408special SYMBOL res 176 16 R0 SYMATTR InstName R1 SYMATTR Value 10 SYMBOL voltage 32 96 R0 WINDOW 3 -299 61 Left 2 WINDOW 123 0 0 Left 2 WINDOW 39 0 0 Left 2 SYMATTR Value PULSE(0 100 0 1 1 1 1 1) SYMATTR InstName V1 SYMBOL nmos 624 144 R0 SYMATTR InstName M2 SYMATTR Value AO6408 SYMBOL res 656 16 R0 SYMATTR InstName R2 SYMATTR Value 10 TEXT 0 264 Left 2 !.tran 1 TEXT -8 344 Left 2 !.model AO6408special ako:AO6408 Bv=40
John Larkin <jlarkin@highlandtechnology.com> wrote:
 
> Yes. The LT Spice model has a Cjo of 4 pF. No apparent breakdown, as > they run happily at -100 KV.
> Let the simulator beware!
> Now, imagine the accuracy of climate modeling...
The diode reverse breakdown voltage is Vrev in the model statement. You can set it to whatever you like. If it is not specified, the default value is infinity. See http://ltwiki.org/LTspiceHelp/LTspiceHelp/D_Diode.htm It is also described in the LTspice help under D. Diode Symbol Names: DIODE, ZENER, SCHOTTKY, VARACTOR, LED, TVS. This behavior is deliberate, intended, and well understood. It has nothing to do with other types of simulations. There is a great deal of information on the behaviour of LTspice in the wiki and in the help file. If you find something unusual in your simulations, these are good places to look for the explanation.
On 6/30/2014 1:50 PM, John Larkin wrote:
> On Sun, 29 Jun 2014 21:21:20 -0700, RobertMacy > <robert.a.macy@gmail.com> wrote: > >> On Sun, 29 Jun 2014 14:20:22 -0700, Jim Thompson >> <To-Email-Use-The-Envelope-Icon@on-my-web-site.com> wrote: >> >>>>>>>> ...something about CJ0 being 4pF >>>>>>> >>>>>>> The PSpice model has the same CJ0. >>>>>>> >>>>>>> ...Jim Thompson >> >> from my old PSpice .LIB not later than 92, possibly before >> .MODEL D1N914 D(IS=0.1P RS=16 CJO=2P TT=12N BV=100 IBV=0.1P) >> .MODEL D1N914A D(IS=0.1P RS=4 CJO=2P TT=12N BV=100 IBV=0.1P) >> >> isn't that 'initial' CJO like with zero volts across the junction? >> arrrggg! can't remember anything about diode models tonight. > > Yes. The LT Spice model has a Cjo of 4 pF. No apparent breakdown, as > they run happily at -100 KV. > > Let the simulator beware! > > Now, imagine the accuracy of climate modeling... > >
Well, the Earth is nearly spherical already, which helps. ;) Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net
On Mon, 30 Jun 2014 12:04:39 -0700, Phil Hobbs <hobbs@electrooptical.net>  
wrote:

>>> ...snip... > Well, the Earth is nearly spherical already, which helps. ;) > > Cheers > > Phil Hobbs >
Hmmm....let's see Mount Everest(sp?) is around 28,000 ft above sea level, and the earth's diameter approx 8,000 miles That's like having a ball bearing 1 cm in diameter polished to 6 microns or so. Yep, pretty good sphere. Turn that around a 1 cm ball polished to 1 micron is like having an earth with the highest peak around 4200 ft. hmmm
On Mon, 30 Jun 2014 18:56:45 GMT, Steve Wilson <none@nospam.com>
wrote:

>John Larkin <jlarkin@highlandtechnology.com> wrote: > >> Yes. The LT Spice model has a Cjo of 4 pF. No apparent breakdown, as >> they run happily at -100 KV. > >> Let the simulator beware! > >> Now, imagine the accuracy of climate modeling... > >The diode reverse breakdown voltage is Vrev in the model statement.
That's the LTspice "quicky" model. Traditional Spice is BV=breakdown voltage, specified at current IBV
>You can >set it to whatever you like. If it is not specified, the default value is >infinity. See > >http://ltwiki.org/LTspiceHelp/LTspiceHelp/D_Diode.htm > >It is also described in the LTspice help under D. Diode >Symbol Names: DIODE, ZENER, SCHOTTKY, VARACTOR, LED, TVS. > >This behavior is deliberate, intended, and well understood. It has nothing >to do with other types of simulations. > >There is a great deal of information on the behaviour of LTspice in the >wiki and in the help file. If you find something unusual in your >simulations, these are good places to look for the explanation.
...Jim Thompson -- | James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | San Tan Valley, AZ 85142 Skype: skypeanalog | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
On 6/30/2014 5:07 PM, RobertMacy wrote:
> On Mon, 30 Jun 2014 12:04:39 -0700, Phil Hobbs > <hobbs@electrooptical.net> wrote: > >>>> ...snip... >> Well, the Earth is nearly spherical already, which helps. ;) >> >> Cheers >> >> Phil Hobbs >> > > > Hmmm....let's see Mount Everest(sp?) is around 28,000 ft above sea > level, and the earth's diameter approx 8,000 miles > That's like having a ball bearing 1 cm in diameter polished to 6 microns > or so. Yep, pretty good sphere. > > Turn that around a 1 cm ball polished to 1 micron is like having an > earth with the highest peak around 4200 ft. hmmm
Spherical cow joke alert. ;) Cheers Phil Hobbs -- Dr Philip C D Hobbs Principal Consultant ElectroOptical Innovations LLC Optics, Electro-optics, Photonics, Analog Electronics 160 North State Road #203 Briarcliff Manor NY 10510 hobbs at electrooptical dot net http://electrooptical.net
On Mon, 30 Jun 2014 15:12:11 -0700, Phil Hobbs <hobbs@electrooptical.net>  
wrote:

>> ...snip.... > > Spherical cow joke alert. ;) > > Cheers > > Phil Hobbs >
uh, very dense here. hand waving over top of forehead front to back.