LMETERR - Inductance Meter (Differential IO)
Model Kind
General
Model Sub-Kind
Generic Editor
SPICE Prefix
A
Model Name
LMETER
SPICE Netlist Template Format
@DESIGNATOR %%vd(%1,%2) %%vd(%3,%4) @"DESIGNATOR"LMETER
.MODEL @"DESIGNATOR"LMETER lmeter (?gain|gain=@gain|)
Parameters (definable at component level)
The following component-level parameters are definable for this model type and are listed on the Parameters tab of the Sim Model dialog. To access this dialog, simply double-click on the entry for the simulation model link in the Models region of the Component Properties dialog.
Gain | gain (default = 1). |
Notes
This is a sensing device which is attached to a node in the circuit and produces as an output, a scaled value equal to the total inductance seen on its input, multiplied by the value assigned to the Gain
parameter. This model is useful as a building block for other models, which require to sense an inductance value and adjust their behavior with respect to it.
The input signal can be either a differential current or differential voltage signal.
Examples
Consider the inductance meter in the above image, with the following characteristics:
- Pin1 (positive input) is connected to net
In1
- Pin2 (negative input) is connected to net
In2
- Pin3 (positive output) is connected to net
Out
- Pin4 (negative output) is connected to net
GND
- Designator is
U1
- Gain =
25
The entry in the SPICE netlist would be:
*Schematic Netlist:
AU1 %vd(IN1,IN2) %vd(OUT,0) AU1LMETER
.MODEL AU1LMETER lmeter (gain=25)
The effect of the function can be seen in the resultant waveforms obtained by running a transient analysis of the circuit.
In this example, the following analysis parameters on the Transient/Fourier Analysis page of the Analyses Setup dialog have been used:
- Transient Start Time - set to
0.000
- Transient Stop Time - set to
50.00m
- Transient Step Time - set to
200.0u
- Transient Max Step Time - set to
200.0u