On 01/29/2017 10:59 AM, Jim Thompson wrote:
> On Sun, 29 Jan 2017 04:43:37 -0800 (PST),
pcdh...@gmail.com wrote:
>
>>>> The second is more of a SPICE limitation: the D() facility doesn't
>>> include diffusion delays, which makes it intrinsically incapable
>>> of accounting for V_F overshoot, and the MESFET facility doesn't
>>> model real device behaviour such as the aforementioned self-biasing of pHEMTs.
>>
>>> (1) Nonsense. It's quite feasible to write such a MODEL.
>>
>> I've asked about SPICE modelling the forward overshoot of diodes both here and in the Yahoo LTspice group, and heard in both places that the SPICE D() facility is too stupid to model it. If you can produce a model for a 1N4148 that overshoots to 1.4 V or so on turn-on (about par for a real unit), and exhibits the same variation with dI/dt as a real one, I'll happily concede your point.
>>
>> It won't be using just D(), though, that's for sure.
>
> You're evading my point. I said it is possible to write a proper
> model. It just hasn't been done (properly) yet, though I've developed
> a model that's pretty close, it's not _perfect_... I strive for
> perfection so I'm still playing with it as time permits ;-)
I'm not evading your point, I'm disagreeing with it. I claim that no
such model exists, and you appear to agree. Your faith in SPICE is
touching but provably wrong--it can't model everything without hacking
the simulator code, not merely the models.
For something whose behaviour is fairly simple and which has wide
device-to-device variations, such as a diode with diffusion overshoot,
you can probably cruft together some subcircuit model that gets vaguely
into the ballpark, maybe using the transmission line model to account
for time delays.
It sure won't be just D() with parameters, though.
>
>>
>>>>
>>> The one is a modelling issue, but the second is an intrinsic limitation of the simulator.
>>
>> (2) Nonsense. Refer to (1) above.
>>
>> SPICE is a pretty capable solver for largish sparse systems of nonlinear OD
>
> Yes. Pretty much as long as you can write an equation for it Spice
> can solve it.
>
> ...Jim Thompson
>
No. Not transport equations, as I said, and there are lots of other
examples of integral or integrodifferential equations. They're
generally not reducible to systems of ODEs, because no ODE can be
nonlocal, and so no solver limited to ODEs can handle them.
You can't even write an ODE to describe a piece of coax from a circuits
point of view--the SPICE transmission line isn't an ODE model, it's a
special case, i.e. the simulator code has to be hacked up to support it.
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