Pspice to LTspice model

Discussion in 'Programmer's Corner' started by ganswitch, Jun 23, 2016.

  1. ganswitch

    Thread Starter New Member

    Jun 23, 2016
    1
    0
    Hi;
    I am working on a project where I need to use a gate driver.
    I downloaded the Pspice model of the LM5114 gate driver (Texas instruments), but I have to work in LTspice.
    Can anybody help with conversion of Pspice to LTspice please?

    I have attached the two Pspice models of the two types of gate driver.
     
  2. Alec_t

    AAC Fanatic!

    Sep 17, 2013
    5,771
    1,103
    Here you go. Enjoy.
     
    Bordodynov and DickCappels like this.
  3. bamsemumsing

    New Member

    Jul 3, 2016
    1
    0
    Alec_t: I cant see that you have changed anything from the .lib files to the .sub files. Does that mean that PSpice and LTspice have the same syntax?
     
  4. eetech00

    Active Member

    Jun 8, 2013
    646
    110
    Hi

    These should work.
    You can ignore the pin current messages.
     
  5. Alec_t

    AAC Fanatic!

    Sep 17, 2013
    5,771
    1,103
    Looks like it (or at least LTspice can interpret Pspice files). I don't use Pspice. I changed the file extension to "'sub" for consistency with most of the models in my collection.
     
  6. crutschow

    Expert

    Mar 14, 2008
    12,981
    3,221
    The both use the same basic Spice syntax for the model files, although I think PSpice may sometimes include functions that are unique to it that LTspice can't interpret.
    If so you will get an error message from LTspice.
    But I'm pretty sure the symbol files are different.
     
  7. eetech00

    Active Member

    Jun 8, 2013
    646
    110
    The subckt's had imbedded characters that were causing a problem. I removed them.

    LTspice is supposed to be compatible with pspice syntax, but there are some differences in things like the use of curly braces.
    LTspice complains if curly braces are used with pspice G or E devices.

    You can see the differences if you compare the .sub files I've uploaded with the original ones.
     
Loading...