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.

opa2188 Altium Simulator

Other Parts Discussed in Thread: OPA2188, TINA-TI

Hi all, I am trying to simulate the opa2188 in the altium environment. I receive the following error on the model:

SUBCKT VCVS_LIMIT_0 VC+ VC- VOUT+ VOUT-

.PARAM GAIN = 1
.PARAM VPOS = 10M
.PARAM VNEG = -10M
E1 VOUT+ VOUT- VALUE={LIMIT(GAIN*V(VC+,VC-),VNEG,VPOS)}
.ENDS VCVS_LIMIT_0

.SUBCKT IDEAL_D_0 A C
D1 A C DNOM
.MODEL DNOM D (TT=10P CJO=1E-18 IS=1E-15 RS=1E-3)
.ENDS IDEAL_D_0

Class Document Source Message Time Date No.

[Error] OPTICAL_PEAK_PWR2_17-7-13 XSpice Error: Syntax error in expression on line: 401 12:14:12 18/07/2013 36

What modifications would I need to do in the spice file so it will run in the Altium? I know that TI has the TINA, but we need to do our simulations in Altium spice.

TIA,

Yehuda

  • Yehuda,

    Our TINA-TI Spice macro-models are compatible with most of the simulators like PSpice, TopSpice, Cadence, LTSpice, etc. but it seems Altium simulator you use, XSpice, does NOT support a LIMIT function. SIMetrix/SIMPLIS® is an advanced simulator specifically developed for the efficient design of power electronics and switching power supplies, and offers up to 10-50x faster simulation over traditional SPICE engines like XSpice. Install Altium Designer's Advanced Simulation plugin to access both the internal XSpice simulation capabilities, or to interface to the SIMetrix/SIMPLIS® circuit simulator (this requires a licensed installation of the SIMetrix/SIMPLIS simulator) - SIMetrix simulator does support LIMIT function. There is no easy way to go around the problem associated with inability of XSpice to recognize LIMIT function and thus your best bet would be to use advanced SIMetrix simulator available under ALTIUM environment.  For more info please see below:

    http://designcontent.live.altium.com/PluginDetail/AdvSim