• Channels
Part Inventory
Go
 
powered by:

 
  • Quick Poll
What Social Networking site do you use the most?



VOTE VIEW RESULTS
Previous Polls

Premium Content

New Signal Chain Technical Papers from Texas Instruments:

 

 

 

Spice Model For An Ideal Transformer Allows Bi-directional Operation


Kenneth Hatch

June 11, 2009

Print
Reprints Comment Subscribe

This Idea For Design provides an alternative to an earlier IFD that noted that Spice does not have a device model for an ideal transformer (“A Spice Model For The Ideal Transformer”). The author explained, “Instead, Spice provides a coupled-inductor model in the K statement that includes self and mutual inductances.”

The author’s proposed solution is a model that includes a voltage-controlled voltage source coupled with a current-controlled current source that correctly simulates the operation of an ideal transformer, even at dc. He provided a Spice listing for the ideal transformer model and a diagram showing the two sources. Figure 1 shows an example of this model with a turns ratio of n = 2, including an input voltage source and a secondary load resistor.

This model works well for most circuits, but a problem occurs if you reverse the direction of the ideal transformer and try to connect a voltage source to the secondary (Fig. 2). Spice then generates an error message indicating a voltage loop problem. The message indicates that the problem can be alleviated by adding a series resistor:

“ERRORVoltage source and/or inductor loop involving E_E1. You may break the loop by adding a series resistance.” The resistor can be very small, so that it doesn’t significantly affect the results.

The model shown in this Idea For Design represents an ideal transformer that’s truly bi-directional. Either side of the ideal transformer can be driven from a voltage source without creating Spice problems (Fig. 3). The model still needs an extra resistor to keep Spice happy, but this resistor is internal to the model, and it can be very large (say, 1 GO or higher).

Another advantage of this model is that the elements are all voltage-controlled current sources. This is helpful for writing a circuit analysis program that uses nodal analysis. I wanted to write a program that finds poles and zeros and then calculates the transient response. I chose nodal analysis, for which voltage-controlled current sources are preferred to other types. The program is written in C++.

Readers who are interested can contact the author to receive example code that will show how to use the ideal transformer model.

Average (0 Ratings):

Subscribe
Subscribe to Electronic Design and start receiving more articles like this one
Filed Under:

Check for price and availability on Source ESB:

Go
powered by  
  • Kenneth Hatch
    2 years ago
    Mar 10, 2010

    There is a query by Waldo Magnuson that I want to answer. However his email address is not available. I am the Ken Hatch who contributed the article in ED on Ideal Transformers, and I did work at LLNL some time ago. I do remember a Waldo Magnuson, so if he reads this, please respond to "kennethfhatch@gmail.com".

  • Kenneth Hatch
    2 years ago
    Mar 10, 2010

    There is a query by Waldo Magnuson that I want to answer. However his email address is not available. I am the Ken Hatch who contributed the article in ED on Ideal Transformers, and I did work at LLNL some time ago. I do remember a Waldo Magnuson, so if he reads this, please respond to "kennethfhatch@gmail.com".

  • Kenneth Hatch
    2 years ago
    Mar 10, 2010

    There is a query by Waldo Magnuson that I want to answer. However his email address is not available. I am the Ken Hatch who contributed the article in ED on Ideal Transformers, and I did work at LLNL some time ago. I do remember a Waldo Magnuson, so if he reads this, please respond to "kennethfhatch@gmail.com".

  • Waldo Magnuson
    3 years ago
    Jun 29, 2009

    Hi,
    I use to work with a Ken Hatch at LLNL in Livermore, CA. If the author is the same Ken Hatch, would you please ask him to eMail me at the above address. Thanks.
    Waldo Magnuson

  • Waldo Magnuson
    3 years ago
    Jun 29, 2009

    Hi,
    I use to work with a Ken Hatch at LLNL in Livermore, CA. If the author is the same Ken Hatch, would you please ask him to eMail me at the above address. Thanks.
    Waldo Magnuson

  • Waldo Magnuson
    3 years ago
    Jun 29, 2009

    Hi,
    I use to work with a Ken Hatch at LLNL in Livermore, CA. If the author is the same Ken Hatch, would you please ask him to eMail me at the above address. Thanks.
    Waldo Magnuson

  • Waldo Magnuson
    3 years ago
    Jun 29, 2009

    Hi,
    I use to work with a Ken Hatch at LLNL in Livermore, CA. If the author is the same Ken Hatch, would you please ask him to eMail me at the above address. Thanks.
    Waldo Magnuson

  • Waldo Magnuson
    3 years ago
    Jun 29, 2009

    Hi,
    I use to work with a Ken Hatch at LLNL in Livermore, CA. If the author is the same Ken Hatch, would you please ask him to eMail me at the above address. Thanks.
    Waldo Magnuson

  • Waldo Magnuson
    3 years ago
    Jun 29, 2009

    Hi,
    I use to work with a Ken Hatch at LLNL in Livermore, CA. If the author is the same Ken Hatch, would you please ask him to eMail me at the above address. Thanks.
    Waldo Magnuson

You must log on before posting a comment.

Are you a new visitor? Register Here
Acceptable Use Policy

Sponsored Links