I tried to use the Spice Model provided on the TI product folder for the THS4520 in a Spice simulation using Multisim, but I get the following errors:
------ Checking SPICE netlist for SpiceVoltAmpTest - 2010-06-29 18:18:23 ------
SPICE Netlist Error in schematic RefDes 'u2', element 'e_u2': Node '$n_0005' referenced in voltage expression/controlled source does not exist in scope
SPICE Netlist Error in schematic RefDes 'u2', element 'e_u2': Node '$n_0022' referenced in voltage expression/controlled source does not exist in scope
SPICE Netlist Error in schematic RefDes 'u2', element 'e_u2': Node '$n_0023' referenced in voltage expression/controlled source does not exist in scope
SPICE Netlist Error in schematic RefDes 'u2', element 'e_u3': Node '$n_0018' referenced in voltage expression/controlled source does not exist in scope
SPICE Netlist Error in schematic RefDes 'u2', element 'e_u3': Node '$n_0024' referenced in voltage expression/controlled source does not exist in scope
SPICE Netlist Error in schematic RefDes 'u2', element 'e_u3': Node '$n_0025' referenced in voltage expression/controlled source does not exist in scope
======= SPICE Netlist check completed, 6 error(s), 0 warning(s) =======
The netlist lines in the model causing the problems are:
E_U2 Out- $N_0021 VALUE
+ {LIMIT(V($N_0005,Vmid)*1,V($N_0022,Vmid),V($N_0023,Vmid))}
E_U3 Out+ $N_0021 VALUE
+ {LIMIT(V($N_0018,Vmid)*1,V($N_0024,Vmid),V($N_0025,Vmid))}
I checked on the Multisim tech support website, and only found one item relating to this type of error. It appears to be caused when Multisim reassigns node names, and somehow the nodes referred to in the LIMIT function get disassociated with their proper connections. Their answer was very unsatisfying, basically, "if it hurts when you do that, then don't do that"!!!
I substituted the TI spice model for the THS4509, and it works correctly in my circuit.
I guess my question is: can these two lines be changed to something that will compile properly in Multisim?
Emeric