Transformer and inductor design — Switchcraft
Processing math: 100%

Transformers and inductors are important components in power electronic converters. They are used for energy storage, filtering and transformation of voltages and currents.

This article aims to cover the fundamental design considerations that must be addressed. It will however be impossible to cover all the practical aspects, as such this article should only be considered an introduction to the topic.

Transformers

Schematic symbol for a simple transformer. The vertical lines indicate a solid iron core.

Schematic symbol for a simple transformer. The vertical lines indicate a solid iron core.

Transformers consists of two or more windings that are magnetically coupled towards each other. In order to improve this coupling, it is common for the windings to reside on a core of low reluctance material. I.e. a material with low magnetic resistance.

 

Transformation ratio

It is well known amongst most electrical engineers that the voltage(and current) transformation ratio equals the turns ratio. This can be understood by realizing that all the turns of the windings around a iron core are exposed to the same magnetic flux.

The voltage induced in a coil is given by Faraday's law of induction as:

V=dΦdt

Hence it can be reasoned, that as long as each coil is exposed to the same magnetic flux change, the total induced voltage is given by:

V=NdΦdt

Where N is the number of turns in the coil. When a winding is supplied by a external voltage, this voltage will be divided equally among the turns of the coil. Similarly each turn of a second winding around the same magnetic core, will be exposed to given number of volts per winding turn.

The issue however, and a important parameter when designing a transformer is how many turns to use for each volt.

When the secondary of the transformer is loaded, the increased current causes a voltage drop in the winding resistance. This causes the flux density in the core to be slightly reduced, as there is less magnetizing voltage available. Ideally however the flux density in the core should remain constant regardless of load.

Impedance transformation

It is sometimes useful to consider the transformer as a impedance transforming device.

If the turns ratio of the transformer is given by:

n=N2N1

The secondary voltage and current expressed in terms of the primary, is then given by:

V2=V1n

I2=I1n

The impedance transformation ratio may then be derived as:

Z2=V2I2=V1nI1n=n2V1I1=n2Z1

Hence the impedance transformation ratio, equals the turns ratio squared.

Transformer specifications

Which parameters are important depend on the application, but include:

  • Primary voltage and current
  • Secondary voltage and current
  • Power rating
  • Primary inductance
  • Leakage inductance

For power transformers the no-load, and short circuit tests are commonly used to obtain the electrical parameters of the transformer.

Equivalent circuit

The equivalent circuit is useful when analyzing the performance of a transformer. It is difficult to obtain a exact model, but this simplified model is sufficient for most transformers. A notable exception however is high voltage transformers used in the power grid, but that is outside the scope of this article.

R1 and X1 represents the resistance and reactance in the primary winding, while R2 and X2 represents the secondary winding.

Xm and Rm represents the magnetizing reactance, and core losses respectively.

In reality the reactances are frequency dependent quantities described by their respective inductances. Additionally the magnetizing inductance is subject to nonlinearity due to the non-linear magnetizing characteristics of the transformer core.

The capacitor Cp represents the capacitance between the turns in the primary winding, as does Cs for the secondary winding. Cps represents the capacitive coupling between primary and secondary winding. The capacitances are often neglected, especially in power transformers.

Transformer equivalent circuit

Transformer equivalent circuit

The exact same circuit may be(and often is) used for analyzing three phase transformers. The only difference is that the relation between phase and line quantities must be considered.

No load test

The no load test is performed by applying the rated voltage(at rated frequency) to the primary winding, while the secondary is open circuit. The voltage and current(and their displacement) is measured.

The power consumed it no load condition, is referred to as the no-load losses, and consists mainly of hysteresis and eddy current losses.

P0=PE+PH

It is computed by considering only the active part of the current, i.e.:

P0=VNI0cos(ϕ0)

Where cos(ϕ0) is the displacement power factor.

The equivalent no load impedance is given as:

Zm=Rm+jXm

Where the no load resistance and impedance is given by equation 6 and 7 respectively.

Rm=V2NP0

Zm=VNI0

The test could just as easily be conducted on the secondary side of the transformer, the only difference will be that the computed impedances will be referred to that side.

By measuring the secondary voltage during no load test, the turns ratio may also be determined.

Short circuit test

The short circuit test is performed by short circuiting the secondary winding, and applying the sinusoidal voltage required to obtain the rated current in the primary. As with the no load test, the current, voltage and displacement power factor is measured.

Psc=VscINcos(ϕsc)

The equivalent resistance referred to the high voltage side is given by:

Re=V2NPsc

And the equivalent impedance is given by:

Ze=VscIN

Determine the volt/turn constant

If you intend to replicate an already existing transformer, this test may be useful.

Add a small winding on the core, on top of the existing windings. The number of turns is not critical as long as you keep track of them. Apply nominal voltage to the primary(or secondary), and measure the voltage induced in the test winding. Divide this voltage by the number of turns in the test winding to obtain the volt/turn constant.

By knowing the nominal voltages for the transformer, you can calculate the number of turns in each winding.

N=VNKemf

Determine frequency response

The lower frequency limit of the transformer is governed by the primary inductance. As the frequency decreases, so does the reactance, and thus the transformer will load down the driving circuit. The upper frequency response is governed by the leakage inductance. This inductance appears to be in series with the transformer, and as the frequency increases it will act as a higher impedance.

The frequency response is normally not important for power transformers running at line frequency. It is however very important in transformers intended to carry signals at a range of frequencies.

This test is best performed using a network analyzer, and obtaining the bode plot. If however you do not have access to such equipment, it is also possible to use a signal generator and a voltmeter/oscilloscope.

Apply a constant amplitude, variable frequency sinusoidal voltage to the primary and measure the secondary amplitude. The attenuation in dB is given by:

dB=20log(VoutVin)

E.g. when the primary voltage is 1V, the relation between 3dB attenuation, and the secondary voltage, is:

3dB20log(0.7071)

For audio application you should probably consider to use 1dB as the design criteria however.

There are some (relatively) cheap network analyzers available for low frequency testing. I will not recommend any specific model or manufacturer, but if (audio)transformers is your thing, it might be worth investigating further.

Impedance transformers

Transformers will sometimes be specified as having a certain impedance transformation ratio. A common example is the 600:600Ω transformation ratio often seen in audio transformers. This may be a bit confusing to newcomers, as there is no inherent impedance associated with an ideal transformer. The voltage and current transformation ratio is 1:1 for this example. A 600:1200Ω transformer would have a 1:2 transformation ratio.

The frequency response of a audio transformer is usually specified as the 3dB limit referred to 1000Hz. I.e. the frequencies where the voltage level has dropped to 70.7% of the voltage level at 1000Hz.

Transformers: More than Meets the Eye.

Transformers: More than Meets the Eye.

The reason for specifying a impedance, is that the transformer is designed to have a adequate frequency response down to a load of 600Ω. The inductive reactance of the winding must be higher than (or equal to) 600Ω at the lowest frequency of interest. The required winding inductance is thus given by:

L=Z2πf

For the audio transformer used as a example, with a lower frequency (-3dB) limit of 50Hz, the required inductance will be given as:

L=6002π50=1.9H

Sometimes the -1dB response is used. This gives us the following inductance:

L=600π50=3.8H

Further, if the power rating for the transformer is given, the voltage rating is given by the nominal load as:

V=PZ

Again, for our example (which has a rating of 0.25W), this will evaluate to:

V=0.25600=12.3V

Transformer design

In this design introduction only single phase transformers are considered. The basic principles however, are the same for multiphase designs.

The first step in the design procedure for the transformer is determining and assembling the design inputs. These normally consists of:

  • Rated primary voltage and current
  • Operating frequency
  • Transformation ratio, i.e. turns ratio
  • Thermal constraints, i.e. maximum body and ambient temperature

Magnetic design

One of the most important parameters imposing limitations on the volts per turn for line frequency application, is the maximum flux density in the core of the transformer. Typical values are from 1 to 1.7 Tesla.

As the frequency of operation increases(above a few hundred hertz), the core losses will be the limiting factor. The change in flux is the major source for core losses, and thus the flux must be limited in accordance with the manufacturers specification for the given core and frequency. Typical values are in the range of 0.20.05T, but you really have to check the datasheet.

The magnetic flux, measured in weber, in a loop of wire is given by:

Φ=BA=Vt

Where Φ is the magnetic flux, B is the magnetic flux density, and A is the area surrounded by the coil. V is the voltage applied to the loop, and t is the duration(time).

By adding more turns to the coil, the applied voltage vil be divided evenly among the turns, hence:

Φ=VtN

Where N is the number of turns. Another way to look at it is that the increased number of turns increases the inductance, hence the current decreases (and flux depends on current).

Φ=LI

The voltage induced in a coil of wire is given by the differential equation:

V=Ldidt

Hence the inductance of a coil is given by:

L=VtI

Where I is the current through the wire. Equation (19) may be derived from both equation (17) and (18). Take your pick.

Leakage inductance

The leakage inductance is caused by the parts of the magnetic flux that does not link the primary and secondary windings.

In most transformers the leakage inductance should be minimized. A unfavorable leakage inductance may cause overvoltages in a switching power converter, adding additional requirement to the snubber circuits.

A notable exception to this rule is microwave oven transformers, where magnetic shunts are added in order to increase the leakage inductance. The reason for these shunts is that the transformer is intended to drive a capacitive load. The secondary of a microwave oven transformer is typically connected to a voltage doubler, and the capacitive reactance of this doubler should ideally match the inductive reactance of the transformer.

Exact calculation of the leakage inductance is challenging, but approximate analytical formulas are available for various cores and winding configurations. For a rectangular shaped(E) core, and no interleaving of the windings, the leakage inductance may be approximated by:

LLμ0N2plwbw3hw

Where Np is the number of primary turns, lw is the mean length of a winding turn, and where bw, and hw is the width and height of the winding window.

For split(interleaved) winding arrangements, the leakage inductance may be approximated by:

LLμ0N2plwp2hw(bCu3+bi)

Where p is the number of interfacing sections, bCu is the width of the copper in the window of the windings, and bi is the interwinding insulation thickness

Design example

Suppose you want to design a power transformer operating at a primary voltage of 230V RMS, at a frequency of 50Hz.

Normally we would have a given power requirement, putting constraints on the selection of iron core, but suppose for this example that we already have a core. Although this assumption may sound strange, it is not uncommon for hobbyists to use(or at least try to use) a core they happen to have in their junkbox.

The core for our example has a cross sectional area of 45 x 30mm, i.e. 0.00135m2, and a maximum flux density of 1.3T.

 

The transformer core used in the example.

The transformer core used in the example.

The maximum flux in the core is then calculated as:

Φ=BA=1.30.00135=0.00176Wb

The maximum flux change in the core however is double, as the core may be magnetized in both directions, i.e.: 0.00352Wb.

The number of turns required to obtain this flux is given by:

N=VtΦ

Where V is the average voltage applied to the winding.

If the voltage is given by v(t)=Vpsin(ωt), then the average may be derived as follows:

Vavg=1ππ0Vpsin(ωt)dt

Vavg=Vpπ[cos(ωt)]π0

cos(0)=1 and cos(π)=1, hence:

Vavg=2Vpπ

For our example, the average voltage is computed as:

Vavg=22302π=207V

The required number of turns is computed as:

N=2070.010.00352=588

Hence, expressed in terms of RMS, we have 0.39 volts per turn, or 2.56 turns per volt. For the secondary the required number of turns is then simply calculated by multiplying 2.56 by the desired voltage.

E.g. if the required secondary voltage is 18V (which may be suitable for a 12V linear regulated supply), the required number of turns will be:

2.5618=46

Power capability

Computing the power is not as straight forward as computing the required number of turns. For small transformers however, it is usually safe to make some assumptions based on experience. One of those assumptions is that a efficiency of 90%, i.e. a loss of 10% is acceptable without the risk of overheating the transformer.

The primary limiting factor is the heating of the windings, that is the I2R losses.

For a given core, there will be a given window available for the windings. The core used in the winding example has a window of 45 x 15mm. Additionally the distance around the core is 45+45+30+30=150mm.

It is often assumed a fill factor of 40%, that is about 40% of the core window is used for copper, the rest being used for insulation and air. This gives us a copper area of: 6.750.4=2.7cm2. The primary winding is given half of this area, i.e. the wire cross sectional area is given as:

A=1.35104588=0.23mm2

Copper has a resistivity ρ=1.68108Ωm, and the resistance of the winding is given by:

R=ρlA

If the average turns length is 200mm, the total length is about 117.6m. The winding resistance is then given as:

R=1.68108117.62.3107=8.59Ω

As previously stated we will allow a power loss of 10%, i.e. the primary winding will be allowed a loss of 5%.

Ploss=V2R=2300.058.59=15.4W

The rated input power of the transformer is then computed as:

P=15.40.1=154W

A note about DC current

DC current in a transformer is normally not a good thing. It will not contribute to the power delivered by the transformer, but it will contribute to the magnetic flux in the core. This means that the core will be closer to saturation. If the transformer is designed to be at the edge of saturation without DC current, it will saturate.

If you intend to have DC current in the transformer, you should apply the same design constraints as when designing a inductor intended for DC. Typically this means adding a air gap to the core, in order to reduce the effective permeability.

Inductors

Inductance is a parameter of any electric network describing it's ability to resist change in current.

EMF=LdidtL=EMFdtdi

Energy storage

Energy storage is usually not desired in transformers, it is however often the primary purpose of a inductor. It is among other things used in the buck-boost converter, and the flyback converter.

The energy stored in a inductor is given by:

E=12LI2

Where I is the magnetizing current. I.e. when computing the energy storage in a transformer, it will be less that the total current.

Quality factor

The quality factor of a inductor describes the device in relation to a ideal component. It is of particular importance in RF applications.

The quality factor of a inductor is given by:

QL=XLRL=2πfLRL

Hence the quality factor depends on the frequency under which the inductor is used. It is important to note that due to the skin-effect, the winding resistance RL is also a function of frequency.

Inductor design example

Suppose we want to design a switching converter operating at 100kHz, with a 30% charge cycle. Our core has a cross sectional are of 3cm2, and a maximum flux density of 0.05T at the frequency in question.

The maximum flux in the core is given as:

Φ=BA=0.053104=15μWb

If the input voltage is 230V RMS rectified, i.e. 325V DC, the required number of primary turns is given as:

N=VtΦ=325310615106=65

The energy stored in the core depends on the inductance. Typically the manufacturer will supply a number AL, which when multiplied by the turns ratio squared, gives us the inductance. The inductance of a toroid core is approximately given by:

LμN2A2πr

Where A is the cross sectional area of the core, and r is the radius to the centerline of the core.

As can be seen, all factors except the number of turns, are constants for the given core. Similar equations may be derived for different core shapes.

Suppose for our example that AL=7μH/N2. The inductance of the primary winding will be approximately 29.6mH. The current will ramp up linearly, with a peak current at the end of the on-cycle given by:

I=VtL=32531060.0296=0.033A

The energy stored in the core at each switching interval is then given as:

E=VIt=3250.03323106=16μJ

As the frequency is 100kHz, we will have 100000 such intervals each second. Hence the total energy transferred each second is given as:

E=16106100000=1.6J/s=1.6W

This power may seem somewhat low for a core of 3cm2 cross sectional area. The best way to increase the power capability is to reduce the inductance, and hence increase the current in the core. Remember that the power depends on the current squared.

By introducing a airgap in a magnetic core, the effective permeability will decrease, and hence the AL-value will also decrease.

The energy stored in the core may be extracted by a second winding on the same core, as in the flyback topology. Alternatively it may be used by connecting the inductor to a different circuit once it is charged, as in the buck/boost topologies.

Toroids

Toroidal cores can be divided into two main categories, depending on the material from which they are made. Ferrite, and Iron powder cores.

Ferrite has the highest permeability, but it is not suitable for high frequencies. Additinally, as we have seen, high permeability is not always an advantage.

A useful website with specifications for various toroidal cores is located at: http://toroids.info/

As previously mentioned the flux density must be limited to avoid saturation of the core. For ferrite toroidal cores this imposes the constraint:

V2fNA0.3

Where N is the number of winding turns, and A is the cross sectional area of the core.

7 Comments