Author Topic: :: convert ORCAD spice to PSPICE?  (Read 2934 times)

0 Members and 1 Guest are viewing this topic.

Offline 3roomlabTopic starter

  • Frequent Contributor
  • **
  • Posts: 825
  • Country: 00
:: convert ORCAD spice to PSPICE?
« on: April 25, 2014, 03:29:46 pm »
is there a way to convert this infineon MOSFET orcad spice to PSPICE/LTspice?

.SUBCKT IPP039N04L_L1 drain gate source PARAMS: dVth=0 dRdson=0 dgfs=0 dC=0 Ls=2n Ld=2.5n Lg=4n

.PARAM Rs=941u      Rg=1.6       Rd=350u      Rm=244u
.PARAM Inn=80       Unn=10       Rmax=4.2m    gmin=76
.PARAM act=4.466

X1  d1 g s Tj S4_40_h_var1 PARAMS: a={act} dVth={dVth} dR={dRdson} dgfs={dgfs} Inn={Inn} Unn={Unn}
                                        +Rmax={Rmax} gmin={gmin} Rs={Rs} Rp={Rd} dC={dC} Rm={Rm}
Rg    g1     g    {Rg}   
Lg    gate   g1   {Lg*if(dgfs==99,0,1)}
Gs    s1     s    VALUE={V(s1,s)/(Rs*(1+(limit(V(Tj),-200,999)-25)*4m)-Rm)}
Rsa   s1     s    1Meg
Ls    source s1   {Ls*if(dgfs==99,0,1)}
Rda   d1     d2   {Rd}
Ld    drain  d2   {Ld*if(dgfs==99,0,1)}

E1    Tj     w      VALUE={TEMP}
R1    w      0      1u

.ENDS

as it is, the model seems not to respond to gate voltage. what should be editted? does anyone have any idea?
 

Offline 3roomlabTopic starter

  • Frequent Contributor
  • **
  • Posts: 825
  • Country: 00
Re: :: convert ORCAD spice to PSPICE?
« Reply #1 on: April 26, 2014, 02:14:41 am »
anybody knows anybody at fairchild semi? lol
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21681
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: :: convert ORCAD spice to PSPICE?
« Reply #2 on: April 26, 2014, 02:56:32 am »
Doesn't OrCAD already use PSpice..?!

Only thing dubious I see is the G statement, which should be
Code: [Select]
Bname n1 n2 I={expression}

But it's hard to say without also the S4_40_h_var1 subckt.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline 3roomlabTopic starter

  • Frequent Contributor
  • **
  • Posts: 825
  • Country: 00
Re: :: convert ORCAD spice to PSPICE?
« Reply #3 on: April 26, 2014, 06:17:36 am »
well, my brains are not working now ... but i have been comparing this to other MOSFET files and ... this looks so weird.

im not familiar with SPICE statements so im lost when you say G ...

i am assuming LTspice pdf have a full run down of what every symbol means?
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21681
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf