Introduction
In this guide we will go through some basics of simulation in ADS. This will primarily show you how to do your own RFIO matching simulations in order to fine tune components for your chosen baluns and operating bandwidth. You will need to be familiar with the ADS environment and have a basic understanding of transmission line theory. You will need access to the ADS simulation environment and S-Parameter files provided here for the Tx, Rx and External LO ports:
Introduction
The intention here is to put all the elements of the RFIO traces together to see the output s-parameters and then be able to tune them using different matching components to get preferred output response. The Rx will be used as an example here to show the main elements of the RFIO traces. Underneath the first flow chart is a more detailed version showing the differential lines.
Rx port s-parameters
These are measured off the ADRV9002 device and are provided for use above. These do require some manipulation to get into a format to be used and that is detailed in the next section.
Rx Laminate
This is another s-parameter file that is provided above and is the measured response from the laminate on the part.
Trace and Matching Components
This includes the trace lengths/widths between each of the ports and components and the components themselves. Ideally use the s-parameter component libraries from the manufacturer here.
Balun
This is chosen balun for the operating bandwidth. For details on how to wire up the balun in ADS read the s-param file in a text editor and the pin/port matching will be outlined in the header of the file.
Next step is to put these elements together in an ADS schematic. Starting with the Rx port s-parameters
Using the Rx port s-parameters
The Rx port files are in S1P format in the above download package. This file represents the differential RF port but it is formatted as a single port file. To get this into a differential port format that can be use easily for RF matching we will import the file as a DAC element in ADS and apply the following equations to it. Using a single differential port option for each input of the RF port will make all quality metrics of RF interfaces involving a balun readily available. This is the approach used to characterize a RF balun and we are extending the same method for the entire RF PCB board traces with matching network. Insertion loss, amplitude imbalance, phase imbalance as well as return loss is all metric quality for any network involving single to differential conversion. Imbalance quality is a important metric and should be known for the entire network involving single-to-differential conversion as it can cause RX/TX path impairments
Its important to note here that for this simulation I will be using Term 1 and Term 3 as the differential port side terms and Term 2 and the single ended port side term. Also on the Rx the reference impedance (Rref) is 100ohms. For the Tx and LO ports the reference is 50Ohms.
This equation manipulation is a reflection co-efficient conversion and now allows us to use the variable TX_SEDZ_SE for both of the differential ended ports. The s-parameters seen at each of the diff terms is going to be identical. Create a Term element in ADS and in the properties assign the variable TX_SEDZ_SE to Z.
Adding the Laminate
The laminate file is a 4 port file or an S4P format. This has two sides for the differential sides, port 1 and 2 on one side and port 3 and 4 on the other. Port 3 and 4 are connected to the Rx s-parameter ports and port 1 and 2 are connected to the board traces. It does not matter greatly which port (1 or 2) you connect to which Rx port term because the port terms are identical.
Traces and Components
Adding in the trace length and components is the next step. There are trace parts in ADS that you can add here. Make sure the dimensions of the trace are exactly the same as the trace on your PCB. Similarly there are ideal components in the ADS library that can be used for the matching network. You can start a feasibility study by running a simulation with ideal components and then start adding simple microstrip line (MLINE and the required MSUB settings too) between components. Length of these lines should be minimized such that there is no significant phase rotation introduced by traces. This will make it electrically small with respect to the wave length of signal that needs to propagate through the trace. Using the MLINE element you will generate a schematic similar to this:
For the ADRV9002 the matching networks were designed to be customised after manufacture. This was to enable to possbility for different baluns to be tried on the Evaluation board. as a result the matching network is dynamic enough to take various baluns and matches. This also let us extract the layout files and simulate the exact trace lengths of the board. This gives a much closer simulation as it takes the board stack-up and other factors into consideration as they are simulated.
How to extract them is beyond this tutorial but I will use the extracted trace simulations in the following sections. I have created a 'look-a-like' model to make seeing the schematic and placing the matching components easier.
Balun
Balun selection is important and will have the most impact on the final reflection results of the overall RFIO trace. The matching network of components is there to try and trim the balun response down to an acceptable level for the desired bandwidth. Some baluns have a center tap to accept DC current and others do not. This could be a consideration for your project, a balun with a center tap might need fewer components and be more reliable than powering the balun with DC from the differential traces. This selection will also affect your layout around the balun. On the ADRV9002 EVB we use RF chokes onto the differential lines to supply the balun with DC power.
The balun s-pparmeter file will be an S3P, S4P or an S5P in some cases. Figuring out how to wire up the balun is important and the details are in the header of the s-param file, the pins of the balun will be matched to a port of the s-parameters. Reference the Data sheet of the balun to make sure its connected correctly.
For example here I am trying out the balun on its own to see the s-param response matches the plots in the data sheet to ensure I have the connections correct.
Reflection Results
The smith chart of the output RF port (in this case Term 2) will show the reflection results. This is the S22, or return loss, and will show the phase and magnitude of the RF response over the simulation frequency in the S_Param design block. The phase imbalance and the magnitude imbalance are also important quality metrics to see in a differential trace. This and the S21 or insertion loss will need to be calculated as there is a differential trace involved.
These three equations allow us to plot the S21, the Phase Imbalance and the Magnitude Imbalance of the RFIOs. This now looks at the RFIO block essentially as a two port trace. These can then be added to the data display window. These results will now be used to get a baseline and to see the effects of tuning the matching networks.
Tuning the Matching Network
Tuning the matching network is a term used to describe changing the component values in the network to get the best response for the bandwidth of choice. This takes into account the type of network you are implementing (L or Pi for example) and the values of the components that make up those networks. Important to note that the Balun will have one of the biggest impart on the output performance than any other part of the RFIO. The matching network is there to improve the response of the balun and RF port.
On the ADRV9002 Evaluation board we have over designed the matching network to give flexibility for customers to use different baluns and tuning options. The evaluation board has what looks like a wide-band matching network that can be populated to be various L or Pi networks. This gives us ample opportunity to tune for various baluns and BW.
Initially its recommended to populate the network in ADS with ideal components from the basic component library. Assign roughly desired values to these components and simulate. The tuning tool can then be used to get better performance results. Open this tool and select the components in the matching network to add to the window. These can now be adjusted and min/max setting applied. increasing or decreasing the values on this window will have an immediate response on the Data Display window to show you he change in behavior of the network with the new values. This can be used to bring the freq of interest along the arcs of resistance and reactance to get it close to the 50Ohm center.
It can be helpful to try different variations of matching networks and different component types to get the best results. Often the smaller the value of capacitor or inductor will have the biggest impact on the reflections, the bigger the value the less effect they start to have. This can be used when you need to add DC blocking capacitors to the network without wanting to affect the matching performance, add big value caps.
When you have acceptable performance next use a component selection guide to see what values of real components are available to use and change the values you have set to the nearest real value that can be attained. Component manufacturers will usually have s-parameter libraries or files available for each of the components they sell, download these and use the real s-parameter components in the simulation next.
Murata example: https://www.murata.com/en-global/tool/data/librarydata/library-keysight2
You are now simulating the response using as many measured s-params as you can including the port, balun and matching components.
Recommendations
In the User Guide section titled RF PORT INTERFACE INFORMATION there are some more details about the RF port interface on the ADRV9002 and the evaluation board. This also includes a list of different baluns from various manufactures, covering different frequency ranges and the accompanying matching component values to give a good response. This is using the EVB layout, which can be used as a reference design, but can be a good start for components on a custom layout with the same balun.
Appendix:
To gain some confidence in your simulation environment before adding in trace lengths and components, compare your setup to this one and ensure you have the same data display plots.
This is using the example blaun from the above tutorial, the TCM2-63WX+ from Mini-Circuits, the Rx port and laminate s-parameters provided in this tutorial.