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.

LM5157: The PSpice Simulation model for Transient Analysis of the SEPIC configuration fails with the message "ERROR(ORPSIM-16318): Missing or invalid expression"

Part Number: LM5157

I downloaded the "snvmc64a.zip" file to simulate the LM5157 in SEPIC configuration. However, the simulation  fails with the a message saying: "ERROR(ORPSIM-16318): Missing or invalid expression".

Below is the PSpice output file:




** Creating circuit file "Sepic.cir"
** WARNING: THIS AUTOMATICALLY GENERATED FILE MAY BE OVERWRITTEN BY SUBSEQUENT SIMULATIONS

*Libraries:
* Profile Libraries :
* Local Libraries :
.LIB "../../../lm5157_trans_evm.lib"
.LIB "../../../lm5157_trans.lib"
* From [PSPICE NETLIST] section of C:\home\cdssetup\OrCAD_PSpice\17.4.0\PSpice.ini file:
.lib "D:\VC\Projects\Qix\ChargerCase\Schematics\Rev02(Steven)\2022-10-04\1N4148.lib"
.lib "D:\VC\Projects\Qix\ChargerCase\Schematics\Rev02(Steven)\2022-09-23\MMBT3904T.spice.lib"
.lib "D:\VC\Projects\Qix\ChargerCase\Schematics\Rev02(Steven)\2022-09-23\DMN53D0LT.spice.lib"
.lib "D:\VC\Projects\Qix\ChargerCase\Schematics\Rev02(Steven)\2022-09-23\CTS520_PSpice_20150917.lib"
.lib "D:\VC\Projects\Qix\ChargerCase\Schematics\Rev02(Steven)\2022-10-04\CTS520_PSPICE_20150917.OLB"
.lib "D:\VC\Projects\Qix\ChargerCase\Schematics\Rev02(Steven)\2022-10-04\DI_MMDT3904.SPICE.OLB"
.lib "nom.lib"

*Analysis directives:
.TRAN  0 4ms 0 20n
.OPTIONS ADVCONV
.OPTIONS ABSTOL= 1.0n
.OPTIONS GMIN= 1.0p
.OPTIONS ITL1= 400
.OPTIONS ITL2= 100
.OPTIONS ITL4= 100
.PROBE64 V(alias(*)) I(alias(*)) W(alias(*)) D(alias(*)) NOISE(alias(*))
.INC "..\SEPIC.net"



**** INCLUDING SEPIC.net ****
* source LM5157_TRANS
C_C3         BIAS 0  1n  TC=0,0
V_VIN         BIAS 0  
+PULSE 0 12 0 250us 100u 1 2
R_R15         0 UVLO  22.6k TC=0,0
R_R5         VCC PGOOD  24.9k TC=0,0
R_R14         N02512 FB  51.1k TC=0,0
C_C22         BIAS 0  .01u  TC=0,0
C_C26         COMP 0  220p  TC=0,0
C_C25         COMP N03278  47n  TC=0,0
R_RLOAD         VOUT 0  12 TC=0,0
R_R9         UVLO BIAS  34.8k TC=0,0
R_R19         N03278 0  2k TC=0,0
R_R16         RT 0  9.53k TC=0,0
R_R17         FB 0  4.64k TC=0,0
C_C29         UVLO 0  100p IC={SS*1} TC=0,0
C_C24         SS 0  0.11u IC={SS*1} TC=0,0
X_C18         VOUT 0 CESR PARAMS:  C=100u  ESR=1m X=1  IC={SS*12}
X_C17         VOUT 0 CESR PARAMS:  C=10u  ESR=1m X=1  IC={SS*12}
X_C16         VOUT 0 CESR PARAMS:  C=10u  ESR=2m X=1  IC={SS*12}
X_C15         VOUT 0 CESR PARAMS:  C=10u  ESR=2m X=1  IC={SS*12}
X_C14         VOUT 0 CESR PARAMS:  C=10u  ESR=2m X=1  IC={SS*12}
X_C13         VOUT 0 CESR PARAMS:  C=10u  ESR=2m X=1  IC={SS*12}
X_C12         VOUT 0 CESR PARAMS:  C=10n  ESR=2m X=1  IC={SS*12}
X_C11         VOUT 0 CESR PARAMS:  C=1n  ESR=2m X=1  IC={SS*12}
C_C8         BIAS 0  10u  TC=0,0
C_C7         BIAS 0  10u  TC=0,0
R_R12         N02512 VOUT  10 TC=0,0
C_C6         BIAS 0  10u  TC=0,0
C_C5         BIAS 0  100n  TC=0,0
X_U1         0 BIAS COMP UVLO 0 FB 0 N02658 0 0 PGOOD RT SS N02604 N02604
+  N02604 N15213823 LM5157_TRANS PARAMS: FAST_HICCUP={FAST_HICCUP} SS={SS}
+  LM51571={LM51571}
C_C4         BIAS 0  10n  TC=0,0
D_D4         N15188809 VOUT D_D1
C_AC-cap         N15189558 N02604  11u IC=0 TC=0,0
X_C32         VOUT 0 CESR PARAMS:  C=1u  ESR=1m X=1  IC={SS*12}
X_C33         VOUT 0 CESR PARAMS:  C=100n  ESR=1m X=1  IC={SS*12}
X_L1         0 BIAS N02604 N15188809 DD_1280_7448700015_1u5
R_R20         N15213823 VCC  5 TC=0,0
C_C21         VCC 0  1u  TC=0,0
C_C34         N15188809 VOUT  200p  TC=0,0
R_R21         N15189558 N15188809  1m TC=0,0
.PARAM  ss=0 lm51571=0 fast_hiccup=1

**** RESUMING Sepic.cir ****
.END
---------------------$
ERROR(ORPSIM-16318): Missing or invalid expression

How can I fix this issue?

Thanks.

  • Hello Hamid,

    Did you change the model or the pSpice settings before you simulated? If yes, what did you change?

    Best regards,
    Brigitte

  • Hi Hamid,

    I have not seen an update for the last 27 days, so I assume the questions are/or answered and the issue is solved.
    I close this thread now. If there is still something open reply and the thread will get open again.
    If you have any other question or of the thread gets locked, please open a new one.

    Clicking the Resolved Button also helps us to maintain this forum.

    Best regards,
    Stefan

  • Hi Stefan,

    As you can see in the thread of communications, I never received a solution to this issue. Regarding the question that Brigitte had posted, I just realzed that I had replied to the email that I had received and not in this forum. Please keep this thread open. I am going to reply to Brigitte here.

    Thanks,

    Hamid

  • Hi Brigitte,

    I just realized that I had responded to your question long time ago by directly replying to the email that I had received and not using this forum.
    Answer to your question: "No, I used the model as it is. No changes to the model."
    Thanks,
    Hamid