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.

OPA1604 Spice Model

Other Parts Discussed in Thread: OPA1602, OPA1604, TINA-TI, OPA1612, LME49860

I downloaded the spice model for the OPA1604 from the TI website.  It was zipped along with a test circuit in the file sbom453a.zip.  I don't see anything that looks like a spice file in this zip file.  The file opa1602.tsm is binary and definitely not a spice file.  Anyone know where I can find the spice (you know, the good old fashioned plain text files that everyone loves to hate) model for the OPA1604.  Thanks in advance for the help.

Cheers,

Wayne

  • Wayne,

    The model you downloaded is set up for TINA-TI. There is a reference design and the macro (the .TSM file) that can be used in TINA-TI directly.

    The "plain" text file can be pulled from the macro using TINA-TI. Simply open up the reference design, enter the macro, and cut and paste the model into a file. Here is the .lib file that I pulled:

    OPA1602.lib

    Please note that the model is set up for both the 1602 and 1604.

  • Hi Wayne,

    The format of the file you saw is for our free simulation tool, TINA-TI. You can download a copy of TINA-TI from http://www.ti.com/adc/docs/midlevel.tsp?contentId=31690&intc=searchrecs&keyMatch=tina&tisearch=Search-EN-Everything.

    Here is the SPICE model I exported it from the file you downloaded using TINA-TI: OPA1604.lib

    Thanks,
    JC

  • So I downloaded both of these libraries, but it seems that the codes do not work, as the transient analysis of a simple circuit in Micro Cap won't start. When I added a missing bracket in this part of the code:

    *VOLTAGE CONTROLLED SOURCE WITH LIMITS
    .SUBCKT VCVS_LIMIT_1 VC+ VC- VOUT+ VOUT-
    *

    E1 VOUT+ VOUT- TABLE {ABS(V(VC+,VC-))} = (0,0.4) (69,0.7) 69.9,1.5)
    .ENDS VCVS_LIMIT_1

    the transient analysis starts, but soon afterwards an error pops out: Matrix is singular. The circuit works correctly for a generic op amp. Did I not import the op amp correctly? I'm relatively new in these things :D Ty
  • Vladimir,

    I also downloaded the OPA1602.lib file linked in this thread, and tried it with the best free SPICE simulator available (LTSpice IV ).  I had some initial convergence failures because the model's pinout didn't match the generic op-amp in LTSpice, so you might want to double check that.  But even after correcting the pinout there were still singular matrix problems in various parts of my circuit even though it works perfectly with other op-amp Spice models such as the older LME49860 and the newer OPA1612 (1.1nV/Hz, 0.000015%THD).  The OPA1602 singular matrix problems appeared to be related to net 32 of the model, and other convergence failures appeared to be related to the ideal diodes.

    My suggestions;

    1. You'll get much better support from TI if you switch to TINA-TI for your sims.  Personally I will not be switching, I will always prefer LTSpice.

    2. Try ramping the independent sources at the start of the simulation, i.e. start all sources at 0V or 0A and gradually increase to full power within the first 20us of the transient analysis.  I had to do that to get a valid operating point for the OPA1612, but it didn't solve the OPA1602 problems.

    3. Try models of ICs with similar or better performance.  For example the LME49860 has very similar performance to the OPA1602 and it's oldSPICE model originally generated by National Semiconductor works correctly in LTSpice.  If it works you could simulate with LME49860, then build with the OPA1602 and expect very similar results.  [Note that Dual op-amps are preferable for a  wider choice of parts compared to quads such as the OPA1604].  Another example is the OPA1612 which has considerably better performance and its model also works correctly in LTSpice.  [I have no idea if these models will help  in your Micro Cap simulator]. 

    4. Wait for TI to abandon TINA-TI and produce decent models tested with SPICE.  Good luck on that one, and yet it would be so simple to do; it's guaranteed  that TI's analog IC designers do NOT use TINA-TI, they use some commercial version of SPICE such as Synopsis HSPICE.

    Cheers, Steve