1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Pspice to LTspice igbt model

Discussion in 'Circuit Simulation & PCB Design' started by Guilherme Fuzato, Sep 11, 2011.

  1. alephi

    alephi New Member

    Joined:
    Mar 10, 2012
    Messages:
    1
    Likes:
    0
    I haven't been diligent enough to read the tutorials yet but all I did was .include the subcircuit definition in my schematic and put the name of the included part in the value field for the nigbt symbol on my schematic and leave all other fields blank. As long as the names match and the include is in the same directory as your schematic, or you put the path to it in the .include command, it works. I've been playing with the .spi models offered by International Rectifier and others with no problems, by doing it like this.
    Here's an example of a 600 or 1200V 50A half bridge, excuse the errors, it's just a lashup to illustrate the point...
    Save this as a .asc file along with the appropriate .spi files from IR (available as spice.zip from their website with most popular devices included).

    Code (asc):

    Version 4
    SHEET 1 1452 908
    WIRE -5152 -20224 -5280 -20224
    WIRE -5008 -20224 -5152 -20224
    WIRE -4608 -20224 -5008 -20224
    WIRE -4528 -20224 -4608 -20224
    WIRE -4448 -20224 -4528 -20224
    WIRE -4368 -20224 -4448 -20224
    WIRE -4336 -20224 -4368 -20224
    WIRE -4096 -20224 -4256 -20224
    WIRE -4032 -20224 -4096 -20224
    WIRE -4608 -20208 -4608 -20224
    WIRE -4528 -20144 -4528 -20224
    WIRE -4448 -20144 -4448 -20224
    WIRE -5008 -20032 -5008 -20160
    WIRE -4896 -20032 -5008 -20032
    WIRE -4848 -20032 -4896 -20032
    WIRE -5472 -20016 -5504 -20016
    WIRE -5392 -20016 -5408 -20016
    WIRE -4528 -20016 -4528 -20064
    WIRE -4448 -20016 -4448 -20064
    WIRE -4448 -20016 -4528 -20016
    WIRE -4608 -20000 -4608 -20016
    WIRE -4592 -20000 -4608 -20000
    WIRE -4528 -20000 -4528 -20016
    WIRE -4368 -20000 -4368 -20224
    WIRE -4096 -20000 -4096 -20224
    WIRE -5280 -19984 -5280 -20224
    WIRE -4848 -19952 -4896 -19952
    WIRE -4528 -19936 -4528 -20000
    WIRE -5008 -19920 -5008 -20032
    WIRE -4896 -19920 -4896 -19952
    WIRE -5504 -19904 -5504 -20016
    WIRE -5488 -19904 -5504 -19904
    WIRE -5392 -19904 -5392 -20016
    WIRE -5392 -19904 -5408 -19904
    WIRE -5328 -19904 -5392 -19904
    WIRE -5504 -19888 -5504 -19904
    WIRE -5152 -19856 -5152 -20224
    WIRE -5008 -19856 -5152 -19856
    WIRE -4896 -19856 -5008 -19856
    WIRE -4032 -19824 -4032 -20224
    WIRE -5504 -19792 -5504 -19808
    WIRE -5440 -19792 -5504 -19792
    WIRE -5392 -19792 -5392 -19824
    WIRE -5392 -19792 -5440 -19792
    WIRE -5280 -19792 -5280 -19888
    WIRE -5280 -19792 -5392 -19792
    WIRE -5008 -19792 -5280 -19792
    WIRE -4896 -19792 -5008 -19792
    WIRE -4336 -19792 -4896 -19792
    WIRE -4240 -19792 -4256 -19792
    WIRE -4096 -19792 -4096 -19920
    WIRE -4096 -19792 -4160 -19792
    WIRE -5440 -19712 -5440 -19792
    WIRE -5008 -19696 -5008 -19792
    WIRE -4896 -19696 -4896 -19792
    WIRE -4096 -19600 -4096 -19792
    WIRE -4896 -19568 -4896 -19632
    WIRE -4848 -19568 -4896 -19568
    WIRE -5280 -19536 -5280 -19792
    WIRE -4528 -19504 -4528 -19872
    WIRE -4528 -19504 -4544 -19504
    WIRE -4448 -19504 -4528 -19504
    WIRE -5008 -19488 -5008 -19632
    WIRE -4896 -19488 -5008 -19488
    WIRE -4848 -19488 -4896 -19488
    WIRE -5488 -19456 -5504 -19456
    WIRE -5392 -19456 -5408 -19456
    WIRE -5328 -19456 -5392 -19456
    WIRE -4528 -19456 -4528 -19504
    WIRE -4448 -19456 -4448 -19504
    WIRE -5504 -19440 -5504 -19456
    WIRE -4608 -19440 -4608 -19456
    WIRE -5008 -19392 -5008 -19488
    WIRE -5504 -19328 -5504 -19360
    WIRE -5392 -19328 -5392 -19376
    WIRE -5392 -19328 -5504 -19328
    WIRE -5280 -19328 -5280 -19440
    WIRE -5280 -19328 -5392 -19328
    WIRE -5008 -19328 -5280 -19328
    WIRE -4608 -19328 -5008 -19328
    WIRE -4528 -19328 -4528 -19376
    WIRE -4528 -19328 -4608 -19328
    WIRE -4448 -19328 -4448 -19376
    WIRE -4448 -19328 -4528 -19328
    WIRE -4368 -19328 -4368 -19856
    WIRE -4368 -19328 -4448 -19328
    WIRE -4336 -19328 -4368 -19328
    WIRE -4096 -19328 -4096 -19520
    WIRE -4096 -19328 -4256 -19328
    WIRE -4032 -19328 -4032 -19760
    WIRE -4032 -19328 -4096 -19328
    FLAG -5440 -19712 0
    SYMBOL ind -4352 -19776 R270
    WINDOW 0 32 56 VTop 2
    WINDOW 3 5 56 VBottom 2
    SYMATTR InstName L3
    SYMATTR Value 1500u
    SYMATTR SpiceLine Rser=10m
    SYMBOL cap -5024 -20224 R0
    WINDOW 0 26 19 Left 2
    WINDOW 3 24 51 Left 2
    SYMATTR InstName C1
    SYMATTR Value 10n
    SYMATTR SpiceLine Irms=100
    SYMBOL voltage -5504 -19904 R0
    WINDOW 123 0 0 Left 2
    WINDOW 39 0 0 Left 2
    WINDOW 3 -73 -375 Left 2
    WINDOW 0 -16 55 Left 2
    SYMATTR Value PULSE(0 12 0u 100n 100n 12.5u 25u 10000)
    SYMATTR InstName V3
    SYMBOL voltage -4256 -19792 R270
    WINDOW 123 0 0 Left 2
    WINDOW 39 24 44 Left 2
    WINDOW 3 -76 -82 VRight 2
    SYMATTR Value SINE(0 -300 500 0 0 0 100)
    SYMATTR InstName V5
    SYMBOL res -5392 -19920 R90
    WINDOW 0 62 49 VBottom 2
    WINDOW 3 -25 57 VTop 2
    SYMATTR InstName R1
    SYMATTR Value 2.2
    SYMBOL ind -4352 -20208 R270
    WINDOW 0 32 56 VTop 2
    WINDOW 3 5 56 VBottom 2
    SYMATTR InstName L4
    SYMATTR Value 50n
    SYMATTR SpiceLine Rser=1m
    SYMBOL ind -4352 -19312 R270
    WINDOW 0 32 56 VTop 2
    WINDOW 3 5 56 VBottom 2
    SYMATTR InstName L1
    SYMATTR Value 50n
    SYMATTR SpiceLine Rser=1m
    SYMBOL res -5408 -19920 R0
    SYMATTR InstName R7
    SYMATTR Value 10K
    SYMBOL voltage -4096 -19616 R0
    WINDOW 123 0 0 Left 2
    WINDOW 39 24 44 Left 2
    WINDOW 3 24 72 Left 2
    SYMATTR SpiceLine Rser=10m
    SYMATTR Value 280
    SYMATTR InstName V1
    SYMBOL voltage -4096 -20016 R0
    WINDOW 123 0 0 Left 2
    WINDOW 39 24 44 Left 2
    WINDOW 3 24 72 Left 2
    SYMATTR SpiceLine Rser=10m
    SYMATTR Value 280
    SYMATTR InstName V8
    SYMBOL ind -4864 -19584 R0
    WINDOW 3 41 74 Left 2
    WINDOW 0 44 43 Left 2
    SYMATTR Value 220u
    SYMATTR InstName L2
    SYMATTR SpiceLine Ipk=10 Rser=0.052 Rpar=25447 Cpar=0
    SYMBOL res -4912 -19584 R0
    WINDOW 0 -35 32 Left 2
    WINDOW 3 -39 3 Left 2
    SYMATTR InstName R8
    SYMATTR Value 470
    SYMBOL ind -4864 -20048 R0
    WINDOW 0 53 53 Left 2
    WINDOW 3 49 78 Left 2
    SYMATTR InstName L5
    SYMATTR Value 330u
    SYMATTR SpiceLine Ipk=10 Rser=0.052 Rpar=25447 Cpar=0
    SYMBOL res -4912 -20048 R0
    WINDOW 0 -52 41 Left 2
    WINDOW 3 -61 67 Left 2
    SYMATTR InstName R9
    SYMATTR Value 470
    SYMBOL cap -4048 -19824 R0
    SYMATTR InstName C4
    SYMATTR Value 47u
    SYMATTR SpiceLine V=1000 Irms=200 Rser=1m
    SYMBOL schottky -4624 -20080 R0
    WINDOW 3 -56 -173 Left 2
    SYMATTR Value MBR20100CT
    SYMATTR InstName D7
    SYMATTR Description Diode
    SYMATTR Type diode
    SYMBOL cap -4544 -19936 R0
    SYMATTR InstName C5
    SYMATTR Value 1u
    SYMATTR SpiceLine V=1000 Irms=1000 Rser=1m
    SYMBOL res -4544 -20160 R0
    SYMATTR InstName R4
    SYMATTR Value 470
    SYMBOL res -4544 -19472 R0
    WINDOW 3 23 92 Left 2
    SYMATTR Value 470
    SYMATTR InstName R5
    SYMBOL res -4384 -20016 R0
    SYMATTR InstName R3
    SYMATTR Value 22
    SYMBOL cap -4384 -19920 R0
    SYMATTR InstName C3
    SYMATTR Value 470p
    SYMBOL diode -4912 -19920 R0
    WINDOW 3 40 30 Left 2
    WINDOW 0 -44 40 Left 2
    SYMATTR Value MUR460
    SYMATTR InstName D3
    SYMBOL schottky -4624 -19456 R0
    WINDOW 0 43 -17 Left 2
    WINDOW 3 -63 156 Left 2
    SYMATTR InstName D21
    SYMATTR Value MBR20100CT
    SYMATTR Description Diode
    SYMATTR Type diode
    SYMBOL voltage -5504 -19456 R0
    WINDOW 123 0 0 Left 2
    WINDOW 39 0 0 Left 2
    WINDOW 3 -115 149 Left 2
    WINDOW 0 -18 55 Left 2
    SYMATTR Value PULSE(0 0 13u 50n 50n 10u 25u 10000)
    SYMATTR InstName V2
    SYMBOL res -5392 -19472 R90
    WINDOW 0 62 49 VBottom 2
    WINDOW 3 -25 57 VTop 2
    SYMATTR InstName R11
    SYMATTR Value 2.2
    SYMBOL res -5408 -19472 R0
    SYMATTR InstName R13
    SYMATTR Value 10K
    SYMBOL Misc\\nigbt -5328 -19984 R0
    WINDOW 3 -145 24 Left 2
    SYMATTR Value irgp4063dpbf
    SYMATTR InstName U1
    SYMBOL Misc\\nigbt -5328 -19536 R0
    WINDOW 3 -122 -4 Left 2
    SYMATTR Value irgp4063dpbf
    SYMATTR InstName U2
    SYMBOL diode -4992 -19632 R180
    WINDOW 0 24 64 Left 2
    WINDOW 3 24 0 Left 2
    SYMATTR InstName D1
    SYMATTR Value UPSC600
    SYMBOL diode -4992 -19856 R180
    WINDOW 0 24 64 Left 2
    WINDOW 3 46 27 Left 2
    SYMATTR InstName D4
    SYMATTR Value MUR460
    SYMBOL ind -4464 -20160 R0
    SYMATTR InstName L8
    SYMATTR Value 33u
    SYMBOL ind -4464 -19472 R0
    SYMATTR InstName L9
    SYMATTR Value 33u
    SYMBOL schottky -4624 -20144 R0
    WINDOW 3 -59 -109 Left 2
    SYMATTR Value MBR20100CT
    SYMATTR InstName D2
    SYMATTR Description Diode
    SYMATTR Type diode
    SYMBOL schottky -4624 -20208 R0
    WINDOW 3 -55 -42 Left 2
    SYMATTR Value MBR20100CT
    SYMATTR InstName D5
    SYMATTR Description Diode
    SYMATTR Type diode
    SYMBOL schottky -4544 -19520 R90
    WINDOW 0 0 32 VBottom 2
    WINDOW 3 207 73 VTop 2
    SYMATTR InstName D6
    SYMATTR Value MBR20100CT
    SYMATTR Description Diode
    SYMATTR Type diode
    SYMBOL schottky -4624 -19504 R0
    WINDOW 0 43 30 Left 2
    WINDOW 3 -61 205 Left 2
    SYMATTR InstName D8
    SYMATTR Value MBR20100CT
    SYMATTR Description Diode
    SYMATTR Type diode
    SYMBOL schottky -4624 -19392 R0
    WINDOW 3 -61 93 Left 2
    SYMATTR Value MBR20100CT
    SYMATTR InstName D9
    SYMATTR Description Diode
    SYMATTR Type diode
    SYMBOL schottky -4592 -19984 R270
    WINDOW 0 32 32 VTop 2
    WINDOW 3 283 -18 VBottom 2
    SYMATTR InstName D11
    SYMATTR Value MBR20100CT
    SYMATTR Description Diode
    SYMATTR Type diode
    SYMBOL cap -4992 -19328 R180
    WINDOW 0 32 52 Left 2
    WINDOW 3 24 12 Left 2
    SYMATTR InstName C6
    SYMATTR Value 10n
    SYMATTR SpiceLine Irms=100
    SYMBOL diode -4912 -19696 R0
    SYMATTR InstName D10
    SYMATTR Value UPSC600
    SYMBOL schottky -5408 -20032 R90
    WINDOW 0 0 32 VBottom 2
    WINDOW 3 32 32 VTop 2
    SYMATTR InstName D12
    SYMATTR Value MBRS130L
    SYMATTR Description Diode
    SYMATTR Type diode
    TEXT -5624 -19744 Left 2 !.tran 0 0.55mS 100u 100u uic
    TEXT -5584 -20200 Left 2 !.include irgp4063dpbf.spi
    TEXT -5584 -20168 Left 2 !.include IRG4PH50UD.spi
     
     
  2. eric_gorder

    eric_gorder New Member

    Joined:
    May 18, 2012
    Messages:
    1
    Likes:
    0
    Good work Simon! You are concise and knowledgable. Thanks!
     
  3. phaedrus

    phaedrus Member

    Joined:
    Apr 30, 2009
    Messages:
    35
    Likes:
    0
    Hi Simon,
    Just in case you are still watching,I downloaded the .asc file,but the symbol for IGBT is missing.LTS gives an error msg, saying symbol not found.Anyway to handle this?

    Ooops sorry,I got it after reading your post better.
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. NL3PRC

    NL3PRC New Member

    Joined:
    Mar 10, 2014
    Messages:
    8
    Likes:
    0
    Location:
    The Netherlands

    I don't get it where can i find and download that spice.zip
     
  6. seshi reddy kasu

    seshi reddy kasu New Member

    Joined:
    Jul 10, 2014
    Messages:
    3
    Likes:
    0
    Location:
    Atlanta, Georgia
    hi i need an igbt model to create an shunt active power filter, actually i downloaded the igbt.txt in this page.. and when i try to create the symbol it is showing me this error
    'trouble in creating directory "C:\programfiles\LTC\LTspiceIV\lib\sym\Auto generated'
    usually this is a permission problem


    can any one help me on this please
     
  7. seshi reddy kasu

    seshi reddy kasu New Member

    Joined:
    Jul 10, 2014
    Messages:
    3
    Likes:
    0
    Location:
    Atlanta, Georgia
    hi simon,

    can you also tell me the path that where should i save it..
     
  8. seshi reddy kasu

    seshi reddy kasu New Member

    Joined:
    Jul 10, 2014
    Messages:
    3
    Likes:
    0
    Location:
    Atlanta, Georgia
    i got it just i have to disable user account control thanks for the symbol and model simon
     
  9. eTech

    eTech Active Member

    Joined:
    Apr 25, 2012
    Messages:
    561
    Likes:
    43
    Hi

    Sorry for this late reply, but...

    LTSpice does not recommend custom files of any type be placed in the program folder hierarchy.
    Custom subckt files should be placed in the schematic folder.

    .model statements can be placed directly on the schematic.
    If a .model statement is contained in a file, it must be wrapped with .subckt and .ends statement along with a device definition

    Directives .lib or .inc should be used to inform LTspice of the custom subckt file location.

    This model statement is incorrect:

    MODEL IXGT32N170A NIGBT <-------there is no "NIGBT" device, should be "NMOS"
    + TAU=63.552E-9
    + KP=14.397
    + AREA=16.000E-6
    + AGD=6.4000E-6
    + WB=117.00E-6
    + VT=5.3804
    + MUN=1.0000E6
    + MUP=150
    + BVF=9.9990
    + KF=.5005
    + CGS=38.737E-9
    + COXD=88.530E-9
    + VTD=-5

    eT:)
     
    Last edited: Jul 11, 2014
  10. simonbramble

    simonbramble Active Member

    Joined:
    Nov 22, 2010
    Messages:
    430
    Likes:
    63
    *******************************************
    6th Sept 2016: LTspice XVII has an NIGBT and an PIGBT model. Download this version of LTspice from linear.com

    Select the new component icon (the AND gate symbol in the toolbar), then go to the MISC directory. They are in there

    *******************************************
     
  11. Mikebits

    Mikebits Well-Known Member

    Joined:
    May 24, 2008
    Messages:
    6,214
    Likes:
    174
    Location:
    San Diego, Ca
    Seriously dude? Seems to me Simon has been helping you quite a bit. Stuff takes time... Geezo
     

Share This Page