Multisim and Ultiboard

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I access subckt nodes in ABM device

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) =======

0 Kudos
Message 1 of 3
(3,732 Views)

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).

Garret
Senior Software Developer
National Instruments
Circuit Design Community and Blog

If someone helped you, let them know. Mark as solved or give a kudo. 🙂
0 Kudos
Message 2 of 3
(3,725 Views)
Thanks!
0 Kudos
Message 3 of 3
(3,712 Views)