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.

LM5158-Q1: SEPIC simulation fail to run

Part Number: LM5158-Q1
Other Parts Discussed in Thread: LM5158, , LM51581

Hello,

Running the SEPIC simulation with no change to the design other then setting the SEPIC as root fails (I am using the latest Your Version 17.4-2019-S032)


**** 10/02/22 08:51:50 **** PSpice 17.4.0 (29 August 2022) **** ID# 0 ********

** Profile: "SEPIC-sim1" [ C:\Parts_DS\PS_VOP\lm5158\snvmc90\LM5158-Q1_TRANS\LM5158-Q1_TRANS-PSpiceFiles\SEPIC\sim1.sim ]


**** CIRCUIT DESCRIPTION


******************************************************************************


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

*Libraries:
* Profile Libraries :
* Local Libraries :
.LIB "../../../lm5158_trans_evm.lib"
.LIB "../../../lm5158-q1_trans.lib"
* From [PSPICE NETLIST] section of C:\SPB_Data\cdssetup\OrCAD_PSpice\17.4.0\PSpice.ini file:
.lib "nom.lib"

*Analysis directives:
.TRAN 0 14ms 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 LM5158-Q1_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/0.5} 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
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
C_C21 VCC 0 1u TC=0,0
C_C34 N15188809 VOUT 200p TC=0,0
R_R21 N15189558 N15188809 1m TC=0,0
X_U1 0 BIAS COMP UVLO 0 FB 0 N02658 0 0 PGOOD RT SS N02604 N02604
+ N02604 VCC LM5158_TRANS PARAMS: FAST_HICCUP=1 SS=0 LM51581=0
.PARAM ss=0 lm51581=0 fast_hiccup=1

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

  • Hello, 

    Thanks for reaching out. We are currently looking into this matter and will come back to you as soon as possible.  

    Kind regards,
    EM

  • Hi Nimrod,

    It does not look like you were running the simulation profile SPEIC-Sepic. Please share the .out file (click file -> Open file location and you should see it).

    This is what I got (unpack snvmc90 and open in PSpice, then right-click SEPIC-Sepic and select "make active". this automatically make the schematic SEPIC the root schematic):

    Thanks,
    JC

  • Thanks, 

    There is no "make active"  in OrCAD that I can see only make root that worked before I updated the this version of OrCAD 

    the sim1.out file


    **** 10/02/22 08:51:50 **** PSpice 17.4.0 (29 August 2022) **** ID# 0 ********

    ** Profile: "SEPIC-sim1" [ C:\Parts_DS\PS_VOP\lm5158\snvmc90\LM5158-Q1_TRANS\LM5158-Q1_TRANS-PSpiceFiles\SEPIC\sim1.sim ]


    **** CIRCUIT DESCRIPTION


    ******************************************************************************


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

    *Libraries:
    * Profile Libraries :
    * Local Libraries :
    .LIB "../../../lm5158_trans_evm.lib"
    .LIB "../../../lm5158-q1_trans.lib"
    * From [PSPICE NETLIST] section of C:\SPB_Data\cdssetup\OrCAD_PSpice\17.4.0\PSpice.ini file:
    .lib "nom.lib"

    *Analysis directives:
    .TRAN 0 14ms 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 LM5158-Q1_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/0.5} 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
    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
    C_C21 VCC 0 1u TC=0,0
    C_C34 N15188809 VOUT 200p TC=0,0
    R_R21 N15189558 N15188809 1m TC=0,0
    X_U1 0 BIAS COMP UVLO 0 FB 0 N02658 0 0 PGOOD RT SS N02604 N02604
    + N02604 VCC LM5158_TRANS PARAMS: FAST_HICCUP=1 SS=0 LM51581=0
    .PARAM ss=0 lm51581=0 fast_hiccup=1

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

  • You are simulating schematic "SEPIC", profile "sim1".

    What is "sim1"? If you unzip snvmc90 as-is, there's no simulation profile called "sim1".

    Please look at my screenshot, the one I simulated is schematic SEPIC, profile "Sepic".

    Please send the .OUT file. What you posted is copied from the simulation window and is incomplete.

    Thanks,
    JC

  • Hello,

    1. Opening the design I see on the left a list for design, I select the "Sepic" right click and select "Make root"

    2. Opening the page name "Sepic" I have only one option "Make new Simulation Profile"

    3. On the new popup window I select on the "Inherit From:" drop down "SEPIC-Sepic" profile

    4. On the Name I can  type any name if you need. I can type "Sepic" but this will generate and error as "Sepic" exists (selected in the Inherit From drop down)

    for the Out file if you point me to how to add a file I will add it but the paste if the full content of the file opened with a text editor copied and paste with no changes

    Thanks

  • What I meant was to make the sim profile active, not the schematic:

    BTW, please edit this sim profile:

    Check the option "library":

    Now run the simulation, then open the .OUT file folder:

    Insert the file to your post:

    Thanks!

  • Hi Nimrod,

    This file does not show any error. Is it from a failed simulation?

    Thanks,
    JC

  • Hello,

    Yes,

    on line 111 "ERROR(ORPSIM-16318): Missing or invalid expression"

  • Thanks. I don't have that (right side):

    Would you please zip up the entire directory and attach it here?

    Thanks,
    JC

  • Hi Nimrod,

    What's your SPB version?

    Thanks,
    JC

  • Hello,

    I am using OrCAD capture 17.4-2019-S032

  • Hi Nimrod,

    Would you please go into the simulation directory, open a command window and enter this command: "c:\Cadence\SPB_17.4\tools\bin\psp_cmd.exe Sepic.cir"?

    Thanks,
    JC

  • PS C:\Parts_DS\PS_VOP\lm5158\snvmc90\LM5158-Q1_TRANS\LM5158-Q1_TRANS-PSpiceFiles\SEPIC\Sepic> C:\Cadence\SPB_17.4\tools\bin\psp_cmd.exe .\Sepic.cir

    **** PSpice 17.4.0 (29 August 2022) ****

    ** Profile: "SEPIC-Sepic" [ C:\Parts_DS\PS_VOP\lm5158\snvmc90\LM5158-Q1_TRANS\lm5158-q1_trans-pspicefiles\sepic\sepic.sim ]
    Reading and checking circuit
    Circuit has errors ... run aborted
    See output file for details
    An error occurred during simulation.
    PS C:\Parts_DS\PS_VOP\lm5158\snvmc90\LM5158-Q1_TRANS\LM5158-Q1_TRANS-PSpiceFiles\SEPIC\Sepic>

  • Hi Nimrod,

    And this generates the same .OUT file as you posted above?

    What's your OS' language / localization?

    Thanks,
    JC

  • Hello,

    Yes, this generates the same .OUT file

    I am using Widows 10  latest (OS build 19044.2006) in English

    Thanks

  • Hi Nimrod,

    Thanks. We'll run some tests and get back to you.

    Regards,
    JC

  • Hello,

    Any updates ?

    Thanks

  • Hi Nimrod,

    One of the support engineers was able to reproduce the issue and the R&D team is looking into it now.

    Thanks,
    JC

  • Hello,

    Any updates ?

    Thanks

  • Hi Nimrod,

    Not yet. R&D is looking at it now.

    Thanks,
    JC

  • Hi Nimrod,

    The problem is with the model. Please try the fixed version:

    LM5158-Q1_TRANS.LIB

    Thanks,
    JC

  • Thanks

    It now works