Current Controlled Voltage Source

In this topic:

Netlist Entry

Linear Source

Hxxxx nout+ nout- vc transresistance
nout+ Positive output node
nout- Negative output node
vc Controlling voltage source
transresistance Output current/Input current (???MATH???\Omega???MATH???)

The controlling device can be any native (i.e. non-subcircuit) device in the circuit. The current used will be the current flowing into its first terminal. The first terminal is the one that is first in the device's netlist entry. Note that if the device is not a voltage source or implemented as a voltage source, the current is sensed by placing a zero-volt voltage source in series with the sensing device. This is done automatically and no user action is required.

It is legal for the device to reference itself. E.g.

H1 n1 n2 H1 1

The above implements a 1 Ohm resistor.

SPICE2 polynomial sources are also supported in order to maintain compatibility with commercially available libraries for IC's. (Some Op-amp models use several polynomial sources). In general, however the arbitrary source is more flexible and easier to use.

Polynomial Source

Hxxxx nout+ nout- POLY( num_inputs ) vc1 vc2 ...
+ polynomial_specification
vc1, vc2 Controlling voltage sources
num_inputs Number of controlling currents for source.
polynomial_specification See Polynomial Specification.

The specification of the controlling voltage source or source requires additional netlist lines. The schematic netlister automatically generates these for the four terminal device supplied in the symbol library.