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.

TINA/Spice/TINA-TI: Spice model is compiled successfully in TINA but cannot be converted into a macro

Part Number: TINA-TI

Tool/software: TINA-TI or Spice Models

When I import opto-coupler TL1000 and compile it, it gives the message "successfully compiled".

But when I open the file in new macro wizard, following error messages appear:

Undefined model E.(C:\Program Files(x86)\DesignSoft\TINA9-TI\EXAMPLES\SPICE\TSPICE.LIB)

On pressing Ok, another message appears

 The circuit cannot be opened or cannot be converted to a macro

What is the meaning of this error and how can I solve this issue?

  • Karan,

    Would you please post your error message again?

    Thanks,
    JC

  • JC,

    Part Number: TINA-TI

    Tool/software: TINA-TI or Spice Models

    When I import opto-coupler TL1000 and compile it, it gives the message "successfully compiled".

    But when I open the file in new macro wizard, following error messages appear:

    Undefined model E.(C:\Program Files(x86)\DesignSoft\TINA9-TI\EXAMPLES\SPICE\TSPICE.LIB)

    On pressing Ok, another message appears

    The circuit cannot be opened or cannot be converted to a macro

    What is the meaning of this error and how can I solve this issue?

    Kindly reply.

    Thanks
    Karan
  • I'm sorry for mentioning a wrong part. It is TCLT1000 not TL100

  • Karan,

    Would you please share the model for the TL100?

    Thanks,
    JC

  • * Library of DC Input Phototransistor Output Optocoupler TCLT1000
    * Copyright VISHAY, Inc. 2016 All Rights Reserved.
    *
    * ==== TCLT1003 ====
    * A = diode anode
    * K = diode cathode
    * C = BJT collector
    * E = BJT emitter
    *$
    .SUBCKT TCLT1000 A K C E PARAMS: REL_CTR=1
    D1 A D D9508 ;IRED
    Vsense D K 0 ;IF Current sense
    Hd R 0 Vsense 1 ;I-V
    Rd R T 10K
    Cd T 0 0.2n
    Rdummy B 0 4G
    Q1 C B E E QT1090 ;phototransistor
    * V-I
    Gpcg C B TABLE ;Photodetector {(IC vs IF) / Q1 BF}
    + {0.8*(V(T)^1.658*exp(limit(4.36-60*V(T),-50,50))*REL_CTR/100)}
    + (0,0) (10,10)
    .model D9508 D IS=1P N=1.948621 RS=1.560495 BV=6 IBV=10U
    + CJO=18.8P VJ=0.532794 M=0.27985 EG=1.424 TT=500N
    .model QT1090 NPN IS=3.64P BF=100 NF=1.193293 BR=10 TF=40N TR=500n
    + CJE=5.16P VJE=0.99 MJE=0.2411274 CJC=18P VJC=0.597478 MJC=0.431978
    + ISC=0.207N VAF=65 IKF=0.09 ISS=0 CJS=7.74p VJS=0.61 MJS=0.31
    .ends
    **==================================================================*
    * Note: *
    * Although models can be a useful tool in evaluating device *
    * performance, they cannot model exact device performance *
    * under all conditions, nor are they intended to replace *
    * breadboarding for final verification! *
    * *
    * Models provided by VISHAY Semiconductors GmbH are not *
    * as fully representing all of the specifications and operating *
    * characteristics of the semiconductor product to which the *
    * model relates. *
    * The models describe the characteristics of typical devices. *
    * In all cases, the current data sheet information for a given *
    * device is the final design guideline and the only actual *
    * performance specification. *
    * VISHAY Semiconductors does not assume any liability arising *
    * from the model use. VISHAY Semiconductors reserves the right to *
    * change models without prior notice. *
    **==================================================================*
    *$
  • Karan,

    I had no issues creating a macro for the device. Please see the attached file. It may be placed using the insert--> Macro feature in TINA-TI.

    TCLT1003.TSM

    I also added an additional point into the table model to help with convergence.

  • Britt,

    Thank You for the TI macro. It seems there is a problem with the software that I have as the same error message appears for some other Spice models.

    Karan