Connect with us

SPICE dynamic transformer simulation

Discussion in 'Electronic Design' started by JT, Nov 16, 2006.

Scroll to continue with content
  1. JT

    JT Guest


    I need to create a transformer subcircuit of which the primary
    inductance (# primary turns) can change based on the value of the input
    voltage. My SPICE experience amounts to point and clicking in
    circuitmaker, but I'm sure I need to allow the subcircuit to accept
    the V parameter and use it to calculate L1 internally? Can anyone
    nudge me in the right direction?


  2. JT

    JT Guest

    Sorry, the input parameter is "some" voltage, not the actual voltage
  3. qrk

    qrk Guest

    Parameter statement? PSpice, LTspice and others support parameter
    (.param) statements. Hopefully Circuitmaker supports .param.
  4. Joel Kolstad

    Joel Kolstad Guest

    Does it have to be "some" voltage? Or can it be "some parameter?" -- In
    which case you can just use the parameter's name as the value for the
    transformer models' magnetizing inductance.
  5. Fred Bartoli

    Fred Bartoli Guest

    JT a écrit :
    With such initials you should be up to the task :)

    OK, one way is to copy the input port voltage across an inductor using a
    VCVS and measure the resulting current (with a 0V voltage source).
    Then you reflect this current on the input port with a B current source,
    applying the operation you want.

    Just beware that doing so you can easily end up with non physical
    devices (particularly if you're modelling non linear components) if
    you're not careful enough.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day