Home > Community > Forums > PCB Design > Convert to pspice

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Convert to pspice 

Last post Mon, Feb 11 2013 9:09 PM by alokt. 1 replies.
Started by Electronic1 08 Feb 2013 07:41 AM. Topic has 1 replies and 834 views
Page 1 of 1 (2 items)
Sort Posts:
  • Fri, Feb 8 2013 7:41 AM

    Convert to pspice Reply

    Hi, I want to convert the text hspice to pspice voltage sources, and I have a problem

    Hspice source:

     Gint 0 60 POLY(2) 31 0 53 0 0 0 0 0 ‘F0*Cin/(k*Cdif)’

    pspice source: ???????

    Gint 0 60 POLY(2) (31,0) (53,0) 0 0 0 0 {F0*Cin/(k*Cdif)}

    Hspice source:

    Gmlrr1 0 53 POLY(2)  40 0 10 61 0 0 0 0 -1 Min=0

    Gmlrr2 0 53 POLY(3) 53 0 40 0 10 61 0 0 0 0 0  0 0 0 0 0

    + 0 0 0 0 ‘alpha*MS/k’ Min=0

    Pspice: ????????????????

    Gmlrr1 0 53 POLY(2)  (40,0) (10,61) 0 0 0 0 -1 {Min=0}

    Gmlrr2 0 53 POLY(3) (53,0) (40, 0) (10 ,61) 0 0 0 0 0  0 0 0 0 0

    + 0 0 0 0 {alpha*MS/k} {Min=0}

    Help hspice:

    http://web.engr.oregonstate.edu/~moon/ece323/hspice98/files/chapter_5.pdf

    • Post Points: 20
  • Mon, Feb 11 2013 9:09 PM

    • alokt
    • Top 25 Contributor
    • Joined on Thu, Aug 21 2008
    • Noida, Uttar Pradesh
    • Posts 232
    • Points 3,335
    Re: Convert to pspice Reply

    You can get the complete details about PSpice Polynomial sources under "Basic SPICE polynomial expressions ( POLY)"  topic from "PSpice Reference Guide" book.

    Here is an example:

    HSpice: Gint 0 60 POLY(2) 31 0 53 0 0 0 0 0 ‘F0*Cin/(k*Cdif)’

    PSpice: Gint 0 60 POLY(2) (31,0) (0,53) 0 0 0 0 {1*2/(3*4)}

    Where under expression {1*2/(3*4)} 1,2,3,4 are values of parameters F0, Cin, K, Cdif. Do use expression, instead replace these with values.

    PSpice does not support MIN, MAX while declaring the sources.

    Hope this helps.

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by Electronic1 at 08 Feb 2013 07:41 AM. Topic has 1 replies.