This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LMR33620: Syntax errors in Unencrypted PSPICE model

Part Number: LMR33620
Other Parts Discussed in Thread: TPS5430, TINA-TI

Team-

As you may be aware, the Micro-Cap simulator is now offered for free, please see the Spectrum Software Website. 

I imagine TI will have more requests related to Micro-Cap in the future.

At any rate, while working with the LMR33620 Unencrypted model, I found these syntax errors in the deck, notice the space between in "0 .5" below.  I believe this is actually a syntax error.

Line 250: G_U6_ABMII1         0 U6_N16831525 VALUE { if( V(SDWN)< 0 .5, LIMIT(V(ISLOPE)*
Line 267: G_U6_ABMII2         U6_N16831525 0 VALUE { if( V(SDWN)< 0 .5, LIMIT((V(COMP))*
Line 277: G_U6_ABMII4         U6_N16831569 0 VALUE { if( V(SDWN)< 0 .5 ,

While PSPICE might tolerate this, it throws an error in Micro-Cap and perhaps other simulators.  Removing the space, the model works.

Also, please note that there are many R and C components with "TC=0, 0" definitions such as :

    Line 294: R_U6_R4         U6_N16878860 0  1Meg TC=0,0
    Line 337: C_U4_C182         PGND SW  10p  TC=0,0
    Line 342: C_U4_C181         0 U4_N16840592  3.3p  TC=0,0
    Line 366: R_U4_R11         PH2 U4_N16819965  57.72 TC=0,0
    Line 375: R_U4_R12         PH1 U4_N16820237  57.72 TC=0,0
    Line 378: C_U4_C8         0 U4_N16819965  1n  TC=0,0
    Line 388: C_U4_C9         0 U4_N16820237  1n  TC=0,0

Please note that by default R and C components do not have temperature coefficients and adding this nomenclature is redundant.  Furthermore, at least for the capacitors, it throws an error in Micro-cap.

For R and C components, can you please leave off the TC=0, 0?  This will maximize portability to other simulators.

For fun, I also ported the TPS5430 model to Micro-cap and found several of the same TC=0, 0 lines, so I think this is a bigger problem than just the LMR33620 model.

-Steve

  • Hello Antenna,

    Looping in the modeling team to respond to this thread.

    Thanks for your patience.

    Best Regard,

    Ankit Gupta

  • Hi Steve,

    Thanks for bringing this to our notice.

    Yes, typically models are been validated in PSPICE and TINA-TI which doesnot report this issue and simulation runs fine.

    We shall update the LMR33620 models on ti.com after removing spaces.

    For your second query, R and C does have temperature coefficients in PSPICE and TINA-TI simulators and by default it comes up as TC=0, 0 when not used.

    We shall discuss more on this internally.