11-04-2008 08:24 PM
Hi there,
I have a circuit which has two identical sub-circuits with ABM current sources. The connector in the subcircuit has a designator x1_2 and I am trying to use the voltage at this connector in an ABM current source but I get the following errors. I can't see what the problem is here. This should be straight forward but maybe I've missed something.
------ Checking SPICE netlist for test1 - 2008-11-05 13:11:52 ------ SPICE Netlist Error in schematic RefDes 'i1', element 'bi1': Node 'x1_2' referenced in voltage expression/controlled source does not exist in scope SPICE Netlist Error in schematic RefDes 'i1', element 'bi1': Node 'x1_0' referenced in voltage expression/controlled source does not exist in scope SPICE Netlist Error in schematic RefDes 'i2', element 'bi2': Node 'x1_2' referenced in voltage expression/controlled source does not exist in scope SPICE Netlist Error in schematic RefDes 'i2', element 'bi2': Node 'x1_0' referenced in voltage expression/controlled source does not exist in scope ======= SPICE Netlist check completed, 4 error(s), 0 warning(s) =======
11-05-2008 08:17 AM
Hi,
Multisim renames some of the nets when it generates cir file for simulation. In this case, the name 42 and 44 from outside your subcircuit are used (and are not replaced in ABM source). You can see this if you make the value of the source, and then look at the names of the nodes in any of the analysis dialogs. With the ABM source, there is no way to reference an 'instance specific' net. Instead, you should use the non-linear dependent source (Sources > CONTROL_FUNCTION_BLOCKS > NONLINEAR_DEPENDENT).
The non-linear dependent source accepts the same equations as the ABM source, but has pins that you reference instead of specifying the name of the net. This way, you reference an 'instance specific' value. I've attached a file with the ABM source replaced (although I get convergence errors).
11-05-2008 05:05 PM