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.

OPA2863A: PSPICE model has duplicate(?) noise and bias current entries.

Part Number: OPA2863A
Other Parts Discussed in Thread: OPA863A, OPA2863, TINA-TI

Tool/software:

Hello Team,

The OPA863A (OPA2863A) model has the usual VNSE_ voltage noise and and FEMT_ current noise entries.  But in addition it has a duplicate current noise entry, on the - input:

X_I_NN         ESDN MID FEMT_OPA2863A PARAMS: 
X_I_NN1         ESDN MID FEMT2_OPA2863A PARAMS: 

In addition there are three resistors, that are not noiseless, also providing noise:

*R_R183 is NOT noiseless
R_R183            N1566688 MID 1E12
E_E1            N1566698 MID N1566688 MID 1.429E3
R_RL10            N1566698 N1566638 R_NOISELESS 10E3
C_C38            N1566698 N1566638 4.547E-11
R_RL11            N1566638 MID R_NOISELESS 7.005
E_E7            N1566868 MID N1566638 MID 5
R_RL12            N1566868 N1566646 R_NOISELESS 10E3
C_C39            N1566868 N1566646 1.592E-13
R_RL13            N1566646 MID R_NOISELESS 2.5E3
G_G82            NOISE_OUT MID N1566646 MID 1E-10
*R_R182 is NOT a noiseless resistor!
R_R182            N1548704 MID 1E12
G_G78            N1548814 MID N1548704 MID -1.75E-4
R_RL1            N1548814 MID R_NOISELESS 1
R_RL3            N1548814 N1548992 R_NOISELESS 10E3
C_C36            N1548814 N1548992 7.958E-13
R_RL4            N1548992 MID R_NOISELESS 7.407E3
G_G81            N1549138 MID N1548992 MID -1
R_RL6            N1549138 MID R_NOISELESS 1
R_RL7            N1549138 N1549254 R_NOISELESS 10E3
C_C37            N1549138 N1549254 7.958E-13
R_RL8            N1549254 MID R_NOISELESS 7.407E3
E_E10            NOISE_OUT N1549078 N1549254 MID 1
I_I_B            MID NOISE_OUT DC 300E-9
X_U3            MID NOISE_OUT VCC_B VEE_B IB_VS_VCM_OPAx863A
*R_R184 is NOT a noiseless resistor!
R_R184            MID N1573374 1E12
E_E8            N1573384 MID N1573374 MID 1.429E3
R_RL14            N1573384 N1573324 R_NOISELESS 10E3
C_C40            N1573384 N1573324 4.547E-11
R_RL15            MID N1573324 R_NOISELESS 7.005
E_E9            N1573556 MID N1573324 MID 5
R_RL16            N1573556 N1573332 R_NOISELESS 10E3
C_C41            N1573556 N1573332 1.592E-13
R_RL17            N1573332 MID R_NOISELESS 2.5E3
G_G83            ESDN MID N1573332 MID 1E-10

There appears to be a duplicate entry for Ib, as well:

I_I_B         MID NOISE_OUT DC 300E-9  
X_U3         MID NOISE_OUT VCC VEE IB_VS_VCM_OPA2863A 

Finally, the model isn't available on the OPA863A product page, but only on the OPA2863A product page, and should be called OPAx863A (since it is used in either).

Older versions of PSPICE, and other simulators don't support "+" or "-" in subcircuit nodenames, these should be replaced with "plus" and "minus".  And, they also don't support the "TC=0,0" syntax on resistors, which is especially annoying since the simulator default is TC1=0, TC2=0.

Regards,

Renan

  • Hi Renan,

    Thank you for sharing this information. Some of the duplicate components you mentioned were put in place to simulate this specific device which is why it appears different than the other models we usually release. We will look into this model and the suggestions you have made.

    Best Regards,

    Ignacio

  • Hello Ignacio,

     If it is correct, it is correct, it just seemed odd to me.

        The only further thoughts I have:

    1) It seems like the "-" input noise sources (X_I_NN         ESDN MID, X_I_NN1         ESDN MID , and R184&amplifier/filter)  could be combined into one X_I_NN, as they are in parallel?  Actually, X_I_NN and X_I_NN1 are redundant, full stop, as you could have one subcircuit with different parameters, that subsumes both.

    2) It seems like the "+" input noise sources (X_I_NP, and R182 and R183 amplifier/filters) could be subsumed into X_I_NP, as they are in parallel?

    This would reduce the clutter, make the model much easier to maintain, and make the functionality evident.  That is what I'm going to do.

    Also, the generic comments still apply:

    1) Older PSPICE versions (i.e. 8.0, 9.2) and other versions of SPICE don't support the "TC=0,0" syntax for resistors, and the default is TC1=0, TC2=0 anyway.  Don't have a value for these schematic symbol attributes, and netlist with the "?", in the template, so that they netlist *properly* when there is a value other than the default.

    2) Older PSPICE versions (ditto) and other versions of SPICE don't support "+" and "-" in *.subckt node names*.  You should be using "plus" and "minus".

    I've attached the OPAx863 (TI only has the model on the OPA2863 product page, and the model is called "OPA2863", with the changes to the noise generation we discussed.  I'm still doing the various sources with tolerances, but you can see how moving the noise generation into the V, I+, I- noise subcircuits makes the model easier to understand, use and maintain.

        I very much think that the two current noise sources, with both use FEMT, could be subsumed into one subcircuit.

    OPAx863A working model.zip

    Regards,

    Renan

  • Hello Ignacio,

    Any update?

    Regards,

    Renan

  • Hi Renan,

    We adjust the models to work with TI for PSpice as well as TINA-TI, however they also work in other spice simulators. Are you seeing a problem with the model in your simulator?

    Best Regards,

    Ignacio

  • Hello Ignacio,

    Please see the response from the customer below:

    I first used PSPICE in 1987 (yes, in DOS), as was a beta site for PSPICE for 6 years.  Although I have a copy of PSPICE for TI, latest version, I also own copies of PSPICE 8.0 from my days as a beta site.

        The syntax "TC=0,0" for the quadratic temperature coefficients of a resistor is very recent in PSPICE, if at all.  And, as I said, is redundant, as the default is TC1=0 and TC2=0.  Are you using TINA with Capture?  Probably not, so just change the TEMPLATE in the Capture GWL model schematic to netlist the resistors properly.  The use of "+" and "-" in *subcircuit node names* is also a very recent development, if at all.  So, again just name the subcircuit nodes with "plus", instead of "+", and "minus", instead of "-".

        Finally, TI often ships E(or G) VALUE netlisted as (from the OPA2863 model):

    E1 3 6 7 8 {GLFF}

        when the correct syntax is:

    E1 3 6 Value={V(7,8)*{GLFF}}

        I can also share with you a "new and improved" GWL model, as the current TI GWL model has some serious issues.  Most notably, the currents being summed at the CLAW_CLAMP node are out of phase with one another, and this problem is insoluble in the current topology.  Let me know if you want the new topology I've come up with, as it seems to work.

    Regards,

    Renan

  • Hi Renan,

    Thank you for the insight on this matter. We are always looking for ways to improve our models for our customers so this is something we can look into.

    Best Regards,

    Ignacio