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.

TL431: Spice Model Issues

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

I am currently using the TL431-Q1 as a 2.495V reference. I went to http://www.ti.com/product/TL431/toolssoftware and downloaded the PSPICE model "TL431 Family Unencrypted PSpice Transient and AC Model (Rev B)" I created a simple test-bench in LTSpice and even though the model works, LTspice reports many issues with curly braces and floating nodes. Even though the model works, can someone look at the file and determine if the floating nodes are ok or if the mode is broken?

 

I got errors when trying to attach the files. So nothing attached.

Here are the issues by line number...

Line 61: E_E23  2 N16955404 VALUE { {I(V_V16)*15.6} }, there are double sets of curly braces. Fixed this by replacing the inside braces with parentheses.

Line 68: E_E24  4 N16955473 VALUE { {I(V_V17)*10} }, same issue as above

Line 80: E_E25  3 N16955532 VALUE { {I(V_V18)*100} }, same issue as above

Line 67: X_H8   7 N169559021 IKA 6 TL431_H8, Node "IKA" is floating.

Line 82: V_V19  N16985445 0 0Vdc, Node "N156985445" is floating.

 

LTspice Log File

Circuit: * Y:\LTSpice\TL431\TL431-sine.asc

Questionable use of curly braces in "b§e_e23 2 n16955404 v={i(v_v16)*15.6} "
    Error: undefined symbol in: "[i](v_v16)*15.6"
Questionable use of curly braces in "b§e_e24 4 n16955473 v={i(v_v17)*10} "
    Error: undefined symbol in: "[i](v_v17)*10"
Questionable use of curly braces in "b§e_e25 3 n16955532 v={i(v_v18)*100} "
    Error: undefined symbol in: "[i](v_v18)*100"
WARNING: Less than two connections to node U1:IKA.  This node is used by H:U1:_H8:_H8.
WARNING: Less than two connections to node U1:N16985445.  This node is used by V:U1:_V19.
Direct Newton iteration for .op point succeeded.
Ignoring empty pin current: Ix(u1:11)
Ignoring empty pin current: Ix(u1:11)
Changing Tseed to 2.92969e-10

Date: Fri Mar 27 09:56:47 2020
Total elapsed time: 1.683 seconds.

tnom = 27
temp = 27
method = modified trap
totiter = 2869
traniter = 2862
tranpoints = 1254
accept = 1178
rejected = 75
matrix size = 36
fillins = 17
solver = Normal
Matrix Compiler1: 1.66 KB object code size  0.3/0.2/[0.1]
Matrix Compiler2: 2.43 KB object code size  0.2/0.3/[0.2]

 

 

 

 

  • Hi Team,

    Please see attached models.

    Thank you,

    JaredTL431.lib

    TL431mod.lib

  • TL431-sine.net

    TL431-sine.asc

    4682.TL431-sine.log
    Circuit: * Y:\LTSpice\TL431\TL431-sine.asc
    
    Questionable use of curly braces in "b�e_e23 2 n16955404 v={i(v_v16)*15.6} "
        Error: undefined symbol in: "[i](v_v16)*15.6"
    Questionable use of curly braces in "b�e_e24 4 n16955473 v={i(v_v17)*10} "
        Error: undefined symbol in: "[i](v_v17)*10"
    Questionable use of curly braces in "b�e_e25 3 n16955532 v={i(v_v18)*100} "
        Error: undefined symbol in: "[i](v_v18)*100"
    WARNING: Less than two connections to node U1:IKA.  This node is used by H:U1:_H8:_H8.
    WARNING: Less than two connections to node U1:N16985445.  This node is used by V:U1:_V19.
    Direct Newton iteration for .op point succeeded.
    Ignoring empty pin current: Ix(u1:11)
    Ignoring empty pin current: Ix(u1:11)
    Changing Tseed to 2.92969e-10
    
    Date: Fri Mar 27 15:39:12 2020
    Total elapsed time: 2.440 seconds.
    
    tnom = 27
    temp = 27
    method = modified trap
    totiter = 2869
    traniter = 2862
    tranpoints = 1254
    accept = 1178
    rejected = 75
    matrix size = 36
    fillins = 17
    solver = Normal
    Matrix Compiler1: 1.66 KB object code size  0.3/0.2/[0.1]
    Matrix Compiler2: 2.43 KB object code size  0.2/0.3/[0.2]
    
    

    + a few other files

  • Hi Jeffrey,

    We cannot support the debugging of our spice on non TINA-TI spice simulator. I would reach out to that spice simulator's maker for support on what syntax works in that simulator.

    We do have this FAQ that can be useful to solve your problem.

  • Just one more question, so you do validate the PSpice model in PSpice correct? The model supplied on your website is not for TINA.

    Also, the model file has floating nodes, which appears to be a defect and not specific to which simulator is used? Can you comment on the floating nodes pointed out above?

    Thank You

    Jeff

  • Hi Jeffrey,

    The model is validated in pspice and it is located in the comment section of the lib file. See the subsection below which shows which version of pspice this model was verified with. If you are having issues with this model, try the regular TL431 model as the functionality is the same.

    *****************************************************************************
    *
    ** Released by: Analog eLab Design Center, Texas Instruments Inc.
    * Part: TL431
    * Date: 29NOV2017
    * Model Type: Transient and AC 
    * Simulator: PSPICE 
    * Simulator Version: 16.0.0.p001
    * Datasheet: SLVS543J - AUGUST 2004 - REVISED DECEMBER 2005
    *
    *****************************************************************************
    *