LTspice problem with using a model

Thread Starter

kubeek

Joined Sep 20, 2005
5,724
I am trying to use a model of LM5111 mosfet driver obtained from TI, and I found a serious problem with its implementation. When Vee sits on ground of the circuit everything is fine, but when I try to drive a high side switch and shift if above 0V it stops working (see attached circuit). Could someone help me find the problem in the subckt definition and help me get it fixed?
 

Attachments

Last edited:

eetech00

Joined Jun 8, 2013
1,938
Hi

I changed E device:

From this:
E_ABMGATE YINT 0 VALUE {{IF(V(A) > {VTHRESH} &
+ V(B) > {VTHRESH},{VDD},{VSS})}}

To this:
E_ABMGATE YINT 0 Value={IF(V(A) > {VTHRESH} & V(B) > {VTHRESH},{VDD},{VSS})}


try the attached .lib file

You'll need to change the symbol spicefile attribute or rename the attached file to the original name.

Also..
Add a little rise and fall time to V4

eT
 

Attachments

Thread Starter

kubeek

Joined Sep 20, 2005
5,724
No errors in the log, but the circuit still behaves incorrecty when VEE pin is not directly at 0 potential of the main simulation.
After a few hours of playing with it I managed to narrow it down to actually B channel working properly and A channel acting weird, so I started sorting which circuit elements belong to which channel and which are common, and hopefully by tomorrow I will have found the error.
 
Top