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/OPA170: Spice Model having a problem with VEE

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

Tool/software: TINA-TI or Spice Models

Hello,

I recently downloaded the Spice model of the OPA170 for use in an Altium CircuitStudio simulation.  The model is causing  the simulation to crash when VEE is processed.  It does not matter if VEE is negative, 0, or positive.

I am attempting to simulate a circuit that uses rails of +14 and - 14V.

The simulation run showing two errors:

[Error]

Simulation

XSpice

Error: Unknown variable gain\xiq

8:36:25 AM

11/29/2017

28

[Error]

Simulation

XSpice

Error: Cannot evaluate device equation for g1\xiq-\xu1

8:36:25 AM

11/29/2017

29

 

The two errors at the end point to this model in the netlist  file:

 

.subckt VCCS_LIM_IQ VC+ VC- IOUT+ IOUT-

.param Gain = 0.001

*.param Gain = 1e-3

G1 IOUT+ IOUT- VALUE={IF( (V(VC+,VC-)<=0),0,Gain*V(VC+,VC-) )}

.ENDS VCCS_LIM_IQ

This subcircuit is called by the top level OPA170 subcircuit twice:

XIQ+ VIMON MID VCC MID VCCS_LIM_IQ

XIQ- MID VIMON VEE MID VCCS_LIM_IQ

 

 

My XSpice skills are very rusty, I suspect there is some sort of issue with the syntax here. 

Any suggestions?

Have any other users attempted to use CircuitStudio for simulation of an op amp?