Tutorial 3: Step-by-Step Guide to Designing Balun
3.1 Introduction
Welcome to tutorial 3 in the practical RF design tutorial series. In this tutorial, we will be studying the balun design and simulation.
The agenda for tutorial 3 is given in Figure 3.1. First, I will explain the balun theory and why the balun design is needed. Then, I will demonstrate the method of importing Balun Altium designer PCB into ADS. After that, we will be EM simulating the Balun Layout using RFPro. Then, we will be doing EM-Circuit Co-Simulation of the Balun with the vendor’s ADS components models. Finally, the balun performance, such as Insertion loss, amplitude balance, phase balance, and input return loss, will be discussed.

Figure 3.1: Balun Design Steps
3.2 Balun Theory
Balun is a component that converts single-ended/common-mode input to differential output. A balun forces an unbalanced transmission line to feed a balanced component properly.
A balun is any three-port device with a matched input and differential outputs. Figure 3.2 shows a balun circuit. We will address port one as input and port two and port three as outputs. However, take note that Balun is a reciprocal device that can be used bi-directionally. Ideal characteristics of the Balun are described by the S-parameters as shown below.

Figure 3.2: Balun Circuit
The relationship of insertion loss is given as follows. S12 = – S13 = S21 = -S31
The return loss, S11 = – infinity
The two outputs (port 2 and port 3) will be equal in amplitude and opposite in phase. This means the outputs have a 180° phase shift in the frequency domain. In the time domain, the voltage of one balanced output is the negative of the other balanced output.
The unbalanced input is matched to the input (port 1) transmission line impedance, which is usually 50ohm. The two outputs are not necessarily matched. The outputs of the Balun may or may not be the same impedance as the input.
There is no constraint on S23, so the outputs may or may not be isolated. Therefore there may be a different return loss on the outputs for differential and common-mode signals.
A balun has equal power outputs just like a Wilkinson power divider, resistive power divider, or quadrature hybrid coupler. However, it has a 180° phase difference between outputs, while the power dividers have a 0° phase difference, and quad hybrids have a 90° phase difference.
Embedded systems and IoT product designers often come across RFICs with differential outputs. For example, Figure 3.3 shows the datasheet of TI CC2640R2F, a differential output Bluetooth radio with an integrated ARM Cortex-M3 MCU.

Figure 3.3: Differential Output Bluetooth radio with integrated ARM Cortex-M3 MCU
This RFIC has a differential input and output that requires a balun design. Figure 3.4 shows the TI recommended balun component values from the datasheet for CC2640R2F.

Figure 3.4: TI recommended balun component values from the datasheet for CC2640R2F
However, a designer cannot use these component values because the PCB material and stack up used for TI balun design will be different from the designer’s PCB. Furthermore, even if we are able to get the stack-up information TI used, it will usually be costly to implement. However, we can redesign the balun circuit using Keysight ADS based on our low-cost PCB material and PCB stack-up.
3.3 Balun Specifications
There are four important parameters of Balun that need to be measured or simulated. Those are;
- Parameters
- Insertion loss (S21/S31)
- Delta_dB
- Delta_phase
- Input Return Loss, S11
- Definition
- The insertion loss of the balun.
- The magnitude difference between S21 and S31.
- The phase difference between S21 and S31.
- The input return loss of the balun
- Parameters
- Insertion loss (S21/S31)
- Delta_dB
- Delta_phase
- Input Return Loss, S11
- Limit (+/-)
- -3dB or closer to -3dB
- 0dB
- 180º
- less than -10dB
3.4 Importing the Altium Designer Balun PCB into ADS
The PCB layout of an embedded system product is shown in 3D and 2D in Figures 3.5 and 3.6, respectively.
The balun we would like to simulate is in Figures 3.5 and 3.6.

Figure 3.5: 3D view of the embedded system product.

Figure 3.6: 2D view of the embedded system product.
It is a four-layer PCB board with an infinite ground plane at the bottom layer, called DC.
We are going to import this layout into ADS in the ODB++ file format into Keysight ADS. In order to do that, go to file -> fabrication outputs and click on ODB++ files. Then, select the appropriate layers for the simulation. The required layers are layer 1 to layer 4. I have named the layers differently, but these are layers 1 to layer 4. All the mechanical layers and other layers are not required for the simulation. After that, click ok.
The ODB++ files are generated in Balun’s “Project outputs” folder. We will be copying this folder into our ADS workspace.
We will be creating a new workspace for this simulation. To do this, click on “create a new workspace.” I’m naming the workspace as Balun, and then I will click on “create the workspace.”
In order to import the ODB++ files into ADS, click on File -> import -> Design. Then, select ODB++ directory format and then click on the “browse” to navigate to the location of the ODB++ files. After that, paste the copied ODB++ files. Next, browse to the copied ODB++ files and click select folder.
After that, click on options. Select flatten component and de-select create components in a folder because we are not importing components. Leave the rest of the setting as default and move to the Layers Tab. De-select the components Layers in the layers tab. Under the nets tab, all the nets will be selected by default, and under the components tab, de-select all the components and click ok.
Click ok again to create a new library. I will be clicking ok to accept the default library name given by ADS. Next, a Layer stack-up window will appear. After checking and making sure all the PCB layer parameters are correct, click ok. The layout import process has been completed. Please watch the YouTube video given below this blog post to see the video demonstration of the steps given above.
The imported layout is shown in Figure 3.7. It’s a vast layout.

Figure 3.7: Layout after importing into Keysight ADS
3.5 EM simulation of the Balun Layout using RFPro
Now, we will be placing pins on the component’s pads to create ports. I will place the pins, including positive and negative pins, in one shot and then assign negative pins to the ground layer later. This way, I can do the pin placements quickly.
Then, click on the port editor. Here, we have to assign the intended ground pin to a positive pin or port. After assigning pins, a recheck is necessary to make sure no mistake has happened in the process.
Usually, we won’t be doing cookie cutting for the layout. However, in this case, the whole PCB is vast, and we want to simulate the Balun only. Due to this, simulating the entire layout is overkill and time-consuming, so cookie cutting is necessary. To cookie-cut the layout, click “insert rectangle.” Then, double-click on the rectangle and change the layer of the rectangle to a new layer. After that, click EM -> Tools -> cookie cutter. Select the “temporary drawing layer” as the layer of the rectangle and click on cut.
Then, we will be launching the RFPro. First, delete the user-defined EM analysis. Next, drag and drop the pins onto the ports. As you can see, the ports are correctly assigned as defined in the port editor before.
Double-click on options and set the start and stop frequency to 2GHz and 3GHz, respectively. Next, click the plus sign to add another frequency plan to the list. Set the start and stop frequency to 2.4GHz and 2.5GHz, respectively. This is our start and stop frequency of the Balun. Next, add another frequency plan, set the type as single, and insert the start frequency as 2.45GHz. This is the center frequency of the Balun.
Under the simulator, select momentum microwave and mesh density to 50 cells per wavelength. Click Done, and then click Run.
The EM simulation has been completed.
3.6 EM-Circuit Co-Simulation with Murata ADS Component Library and Balun Performance Analysis.
Let’s generate the subcircuit model by clicking Generate Sub Circuit Model, which is located under Results. The sub-circuit model has been generated.
Now, we are going to build the circuit from scratch and simulate it. There is a shortcut to place the s-parameter simulation controller and the terms. Go to insert template and select s-parameter template. Change the frequency according to the EM simulation frequency.
Drag and drop the sub-circuit model into the schematic. Next, Right-click on the subcircuit model, click components -> choose view for simulation and then select “schematic full EM analysis.” After that, connect terminations or terms and Murata ADS components to the subcircuit model.
Next, insert Optim and goals.
Following that, insert the measure equation. Next, insert the equations for phase balance and amplitude balance. Phase balance is S12 or S21 phase minus S13 or S31 phase, respectively. The amplitude balance equals S12 or S21 amplitude minus S13 or S31 amplitude, respectively.
Now, let’s assign the series component’s ground pins to the ground layer.
After that, edit the first goal to optimize for the amplitude of S12. The ideal amplitude is -3dB over the 2.4GHz to 2.5GHz frequency range. Next, Copy and paste the goal and change the expression to S13. Then, copy and paste the goal twice. After that, edit the first goal to optimize for a phase balance of 180 degrees or -180 degrees. Edit the last goal to optimize for an amplitude balance of 0 dB.
Finally, save the schematic and start the optimization. As you can see, I did not provide the component’s initial values to the ADS. Usually, balun design will start with schematic circuit simulation, followed by EM simulation and EM-Circuit Co-Simulation. When we do EM-Circuit Co-Simulation, component values from the schematic simulation will be used as the starting point for the optimization. However, I have cut the process short to save time since I have already done the design before.
Finally, optimization has been completed. Figure 3.8 shows the optimization results of the balun. We have obtained S12 and S13 of -3.3 dB to -3.8 dB. The amplitude balance is zero, which is excellent. The phase balance is -176 to -181 degrees.
In summary, we have optioned excellent results for our Balun with the help of Keysight ADS. Please watch the video below for a video demonstration of a Balun design using Keysight ADS.

Figure 3.8: Layout after importing into Keysight ADS


