Parent Category: 2016 HFE

*By Philip Macphail*

At higher frequencies it is practical to make inductors and transformers using tracks within a printed circuit board without need for ferrites or any other high permeability material. The largest difficulty with these inductors is to knowaccurately the electrical properties of these designs; however tools such as HFSS have eased this challenge.While EM simulators can provide extremely accurate predictions of circuit behaviour, the results are usually in the form of s-parameters which are not easy to equate to design parameters. However extracting the required information can be simplified and automated using a circuit simulator like ADS or Microwave Office.

Transformers are very flexible components in filter design as they provide two coupled inductors that can form the basis of two poles in a band-pass filter. Both the primary and secondary inductances as well as the coupling between them need to be well defined, and although quite good closed-form equations for planar inductors exist [1], estimating coupling isn’t so easy. The end result is that the designer needs to iterate a layout to get the desired result, and it is beneficial if design parameters can be extracted from the EM simulator to guide the direction of these changes. Fortunately the analysis is quite straightforward, and can even be automated.

Figure 1 • An ideal transformer, and the equivalent circuit used in this article.

**A Transformer Equivalent Circuit**

The ideal transformer is completely described by three terms, primary and secondary inductance, and coupling between them. A real transformer adds capacitance within and between each inductance, and a resistance that limits the Q of each inductance [2]. If we treat an s-parameter description of a transformer as a ‘black box’ we can define tests that permit us to assign values to these terms, and in doing so create a lumped equivalent circuit of the transformer.

The terms we wish to compute are therefore:

- Primary and secondary inductance
- Parasitic capacitance, both within and between the windings
- Coupling between windings
- Losses in each winding

The terms can be calculated in sequence to construct the equivalent circuit in the following way.

**Primary/Secondary Inductance**

Primary and secondary inductance can be calculated by resonating each winding in turn with a known capacitance (with the unused winding open-circuit), and calculating the inductance from the resonant frequency. This is complicated slightly by the parasitic capacitance (C_{p}) present as the total capacitance is unknown, so the measurement needs to me made first with no external capacitance, then with an additional known value (C_{1}), which provides two equations to solve for two unknowns. For the primary, the self-resonant frequency is -

And when loaded with an external capacitor the resonant frequency becomes-

Combining these equations and solving for L_{P} results in –

And solving for C_{P} –

The same procedure can be repeated with the secondary to find L_{s} and C_{s}.

**Coupling Factor**

A transformer with a coupling factor of less than unity is usually modelled as a T-network (figure 2), [2], where the inductor values are functions of primary, secondary and mutual inductance. Leaving the unmeasured winding open-circuit in the previous test ensures that the measured inductance is that of the winding, without influence from either the mutual inductance or the other winding. Conversely, shorting the unmeasured winding (figure 3) modifies the measured inductance in proportion to the coupling between windings.

Figure 2 • Leakage-inductance model of a transformer.

With the secondary shorted inductance of the primary is L1 in series with the parallel combination of L2 and L3.The effective inductance (Lx) is therefore –

Substituting the transformer equivalent model component values for L1, L2 and L3 -

By measuring the resonant frequency of the primary when loaded with capacitance C_{1}+C_{p}, L_{x} can be calculated, and M can be found.

The mutual inductance can be converted to coupling factor very simply -

The accuracy of this calculation can be verified by repeating the calculation with the transformer reversed (shorting the primary, measuring the secondary) as the result should be the same.

Figure 3 • Equivalent circuit of the shorted transformer with resonating capacitor test-circuit.

**Inter-Winding Capacitance**

This is the most difficult parameter to derive, however s-parameter simulations (or measurements) do provide enough information to find this.

Figure 4 • Inter-winding capacitance model.

The inter-winding capacitance produces a transmission-zero when it resonates with L_{1}, L_{2} and L_{3}. L_{1} and L_{3} form a potential divider that reduces the current into L_{2}, and this must be considered when calculating C_{21}.

The equivalent inductance (L_{par}) in parallel with C_{21 }is L_{2} in series with the parallel combination of L_{1} and L_{3}.

Therefore the effective value of C_{21} is simply -

Where ωω_{0} is the frequency of the transmission zero.

However the real value of C_{21} is C_{21}’ multiplied by the gain of the combination of L_{1} and L_{3} -

**Primary/Secondary Quality Factor**

At resonance the impedance across an ideal inductor and capacitor in parallel is infinite, however in practice a printed inductor will have significant losses that will limit the impedance of such a network. The various losses are combined and referred to as the inductor ‘Q’; this can be found by recording the impedance of the network at resonance when calculating the winding inductances. The relationship between Q and impedance is

As the capacitance is an ideal one in the simulator, the impedance (and therefore Q) is defined by the inductor.

**Automating the Transformer Analysis**

All of the analysis presented here can be based on eight individual ADS simulations, four for the primary and four for the secondary. The four simulations are further divided into two with the second winding open and two with it shorted, and for both conditions with and without a loading capacitor. This is shown in figure 5.

Figure 5 • ADS testbench for all the open- and short-circuit transformer tests.

The actual processing to produce the required data is done in the results viewer in two steps – the first extracts frequency information from the simulations, and the second solves the equations shown earlier. The resonant frequencies are found using a simple command in a non-obvious manner; the reactance of a parallel resonant network passes from inductive, through resistive (at resonance) to capacitive as the frequency is swept from low to high. The resonance is therefore at the frequency where the trace crosses the horizontal axis on a Smith chart, as shown below. This can be extracted by first creating an array of phase and frequency from the reactance measurement, then finding the frequency that the phase changes sign.

Figure 6 • Resonance occurs when the reactance is zero.

In ADS the array of phase information can be created with the equation phase_array=phase(S(m,m)) and the frequency extracted with the equation resonant_frequency=cross(phase_array,-1), where m is the number of the port used for the specific measurement.

Using these equations and the relationships defined earlier the primary and secondary inductances and capacitances can be calculated.

The inter-winding capacitance can be computed in a similar way, by measuring the frequency of the transmission zero when the transformer is placed between two ports as seen in figure 7, below.

Figure 7 • Inter-winding capacitance test circuit.

Finally, the Q, or quality factor, of each winding can be calculated. The required information has already been produced by the earlier measurements, as the resonant frequency of each winding has been computed with a test load capacitor. The s-parameters for the resonant frequency test with an external capacitor are used here – the resonant frequency has already been found, and the s-parameters at this frequency can be extracted with –

IndexL1=find_index(freq, L1_CapLoadedResFreq)

And converted to Q with –

Stoz(Smm[IndexL1], 50)*sqrt(Cap/L1)

Where mm is the port number for this particular test.

Figure 8 • Transformer layout in HFSS (outer primary, inner secondary) .

At this point all the parameters for a simple transformer model have been computed, and a lumped equivalent circuit can be used in further circuit design or transformer layout.

Figure 9 • Prototype filter design.

**Model vs. s-parameter file**

A transformer was designed and simulated in HFSS to match a bandpass filter[3] as part of an amplifier matching network. The requirements are –

Centre-frequency: 2.75 GHz

Bandwidth: 450 MHz

Ripple: 0.02 dB

Input Impedance: 14 Ohms

Output Impedance: 25 Ohms

The transformer design that was simulated was intended for a silicon IPD process that offers low loss in the substrate and small vias to give maximum layout flexibility.

Figure 10 • Frequency response of the prototype filter with an ideal (red) and measured transformer (blue).

An ideal filter designed to meet this specification is shown in figure 9, and the frequency response in figure 10. The transformer that was designed for this filter was simulated in HFSS and, when substituted in the circuit the response plotted in blue is obtained. Analysing the transformer to find which characteristics account for the difference in response would be difficult with s-parameters alone, but by fitting an equivalent circuit to the response this insight is revealed.The equivalent circuit produced from the analysis presented here shown in figure 11.

Figure 11 • Equivalent circuit of the transformer in figure 8.

Comparing the filter response with the s-parameter file and the equivalent circuit is the final test for the analysis, and the correlation between the two is remarkable for such a simple equivalent circuit. Should even better alignment be required the model would provide a good ‘seed’ for the optimiser within ADS. Looking at the layout of the transformer it is clear that the tracks to the secondary are too long to be ignored, and this extra inductance certainly does modify the calculated equivalent inductance. To improve the equivalent circuit in this instance, the designer could move the ports in the layout closer to the secondary or a series inductance could be added to the model. Fortunately the model presented here makes customisation quite simple; however the results are sufficiently accurate to make this unnecessary in most cases.

Figure 12 • s-parameter (blue) and equivalent circuit (red) s11 simulations of the filter in figure 9.

Figure 13 • s-parameter (blue) and equivalent circuit (red) s22 simulations of the filter in figure 9.

Figure 14 • Frequency response of the filter in figure 9 for s-parameter (red) and equivalent circuit (blue) instances of the design.

**Conclusion**

A method of fitting an equivalent circuit to an s-parameter representation of a transformer has been presented. Associating values to the parasitic components of the transformer enables several design choices; the surrounding components may be modified to centre a design, and deficiencies can be attributed to specific transformer parameters. With this information the design of a transformer can be modified without ‘guess work’ to achieve specified performance metrics.

**About the Author**

Philip Macphail received his B.Eng. in Electrical and Electronic Engineering from the University of Birmingham in 1990. He has over 20 years’ experience in RF and analogue design, both with design consultancies and semiconductor companies, and also founded two companies along the way. Philip can be reached by mail at: Philip.macphail@huawei.com.

**References**

[1] Brian C. Wadell, “Transmission Line Design Handbook”, Artech House 1991. pp 391-405.

[2] Mihai Albulet, “RF Power Amplifiers”, Noble Publishing 2001. pp 84-86.

[3] J. G. Freed, “A Program for the Design of Coupled Resonator Bandpass Filters”, RF Design, September 1992 pp120-126

### February 2020

The February 2020 Online Edition is now available for viewing and download!

### Search

### Contact Us

Advertising Sales - Mid Atlantic

848-757-2930

Fax: 631-667-2871

Scott Spencer

Publisher

603-759-1840

Tim Burkhard

Associate Publisher/Managing Editor

707-696-2162

Fax: 707-544-9375

Stuart Dale

Advertising Sales – New England

508-740-6128

Jeff Victor

Advertising Sales - Western U.S. - New Accounts

847-721-2730

Fax: 509-472-1888

Sam Baird

Advertising Sales - UK and Europe

+44 1883 715 697

Fax: +44 1883 715 697

Joanne Frangides

Advertising Sales - New Accounts & Product Showcase

201-666-6698

Fax: 201-666-6698