|
I used the component editor to make the center tapped transformer, without problems; now I need to add spice settings. I have been looking for an example for making a subckt for spice simulation. The example subckt is a simple center tapped transformer using mutual inductance. The inductors values and mutual inductance values should be selected on the schematic. I use LT spice for simulation.
For example:
.Subckt MyTransformer 1 2 3 4 Nct .parm v=100uh vk=1.0 L1 1 2 {v} L2 3 Nct {v} L3 Nct 4 {v} K L1 L2 L3 {vk} .ends
When exported (File/export/spice netlist...) the transformer subcircuit does not appear in the spice netlist. Other values used in the schematic (not shown) are correctly exported. I have tried using pin numbers and pin names, neither work. I suspect I have missed a simple setting.
Using version 2.2.0.9 64 bit and 2.2.9.0 beta. Running Win 7 64 bit ultimate
Suggestions greatly appreciated.
Rob
|