The procedure for requesting AWR support has changed. Please read all about the new AWR product support process.

Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 25 Next »


The negation element in Cadence Microwave Office uses a negation technique to de-embed a specified network from an intrinsic network. We will be using this element in combination with Python and Analog Devices ADMV8818-EP measured data to demonstrate how Microwave Office can offer an elegant solution to fully characterize the device. The ADMV8818-EP part from Analog Devices is a MMIC that operates in the 2-18GHz regime and has 64 highpass filters, 64 lowpass filters, and two through lanes to bypass both the high-pass and low-pass filters. With 64 different high-pass filter states and 64 low-pass filter states, this means there are 4096 unique combinations that a customer could potentially be interested in. Using the negation element, only the individual 128 filter states and the double bypass measurements need to be captured in order to reconstruct all 4096 measurements within approximately 0.1 dB accuracy in the passband. The graphic on the right illustrates the different highpass filter and lowpass filter lanes.

Plot showing an individual high pass filter cascaded with an individual low pass filter without negating the bypass lanes.

Plot showing the negation feature being used to de-embed the bypass response from both the high pass filter and low pass filter response.


This project assumes that you have Python installed as well as the libraries pyawr and pywin32. For more information on how to install Pythonsee this link for the default python installation instructions and link for Anaconda/Miniconda instructions.

This project assumes that you have the project file and the s-parameters contained here: The s2p files need to be put in a local directory and then the script needs to be modified to target the folders hpf, lpf and destination folders. The portion of the code that needs to be modified is shown below. Note you need to add a second backslash in the python string as shown. If you are using a version of Microwave Office that is not version 16, you also need to set it to the appropriate version.

###Initialize AWR###
        awr = mwo.CMWOffice(version='16.0')

###Set folder location of 128 s2p files and the target destination###
    hpf_location = 'C:\\..\\hpf\\' #This needs to be set to your local directory location
    lpf_location = 'C:\\...\\lpf\\' #This needs to be set to your local directory location
    destination = 'C:\\...\\target_s2p\\' #This needs to be set to your local directory location

Using the Script

Once you set the hpf, lpf, and target destination folders, open the AWR project s2p_ADMV8818_negate.emp, run the script, and you should now have all 4096 reconstructed .s2p files in the destination folder target_s2p. 

  • No labels