Skip to main content

methods for de-embedding process: T-R-L, L-L and T-VR-L

Project description

De-embedding in Free Space Using the T-VR-L Method:

Free-space measurements require the use of identical antennas and a material under test (MUT). During this process, the obtained results include the effects of the error box, which comprises the effects of the antennas and the separation distance between them (see Figure 1). Therefore, a post-measurement de-embedding process is essential to isolate and extract only the S-parameters of the MUT.

setup

Figure 1. Measurement Scenario.

Table of Contents

Required Measurements

  1. Embedded DUT: It is necessary to save the data in a .s2p file.
  2. Thru: It is constructed by uniformly separating both antennas at a distance d1. It is necessary to save the data in a .s2p file.
  3. Line: It is constructed by moving the antennas backward by a distance of λ/4.It is necessary to save the data in a .s2p file.
  4. Reflect: It is constructed by placing a reflective plate at the Calibration plane. This measurement is required if the user intends to apply the T-R-L method. It is necessary to save the data in a .s1p file for each port.

The 'de-embedding-rf' program includes three example datasets ('Mut.s2p', 'Thru.s2p', and 'Line.s2p') designed for implementing the T-VR-L method. Additionally, it includes data for the reflection standard, 'Reflect_11.s1p' and 'Reflect_22.s1p', which enables the application of the conventional T-R-L method.

Glossary

  1. path_embedded_dut: embedded DUT measurement location
  2. path_thru: thru measurement location
  3. path_line: line measurement location
  4. path_reflect_11: Reflect measurement location for port 1
  5. path_reflect_22: Reflect measurement location for port 2
  6. CreateDict_TRL: Create a dictionary with all the measurement paths for the TRL method
  7. CreateDict_TVRL: Create a dictionary with all the measurement paths for the TVRL method
  8. CalibrationTRL: Implementation of the TRL method.
  9. CalibrationTVRL: Implementation of the TVRL method.
  10. Postprocessing: Application of Time-Domain Gating.
  11. plot_mut: Visualization of the S-parameters of the MUT.

Addicionally, in the functions "CreateDict_TRL" and "CreateDict_TVRL", the parameter "example = False" must be set to allow the program to read the user’s data. If the user wishes to use the example data provided in the package, the paths should remain unchanged and "example=True".

Installation

Instructions on how to install the project. For example:

pip install de-embedding-rf

Code Example

For instance, the following code can be executed in Google Colab. Simply copy and paste it into a new Colab notebook.

#--------------------------------------------------------------------------------
# 1) Load libraries:

from de_embedding import CalibrationTRL
from de_embedding import CalibrationTVRL
from de_embedding import CreateDict_TRL, CreateDict_TVRL
from de_embedding import plot_mut
from de_embedding import Postprocessing

#--------------------------------------------------------------------------------
#2) data: 
path_embedded_dut = 'Mut.s2p' 
path_thru = 'Thru.s2p'
path_line = 'Line.s2p' 
path_reflect_11 = 'Reflect_11.s1p'
path_reflect_22 = 'Reflect_22.s1p'

#--------------------------------------------------------------------------------

# 3) Create Dictionary:
dicc_TRL = CreateDict_TRL(path_embedded_dut,path_thru,path_line,path_reflect_11,path_reflect_22,example=True)
dicc_TVRL = CreateDict_TVRL(path_embedded_dut,path_thru,path_line,example=True)

#--------------------------------------------------------------------------------

#4) Execute Calibration Methods:
ntwk_mut_TRL = CalibrationTRL(dicc_TRL).run()
ntwk_mut_TVRL = CalibrationTVRL(dicc_TVRL).run()

#--------------------------------------------------------------------------------
#5) Apply post-processing 

freq_trl, mag_trl, deg_trl = Postprocessing(ntwk_mut_TRL).run(400,120)
freq_tvrl, mag_tvrl, deg_tvrl = Postprocessing(ntwk_mut_TVRL).run(400,120)

#--------------------------------------------------------------------------------
#6) show figure of S parameters
plot_mut(freq_trl, mag_trl, deg_trl)
plot_mut(freq_tvrl, mag_tvrl, deg_tvrl)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

de_embedding_rf-0.3.6-py3-none-any.whl (754.9 kB view details)

Uploaded Python 3

File details

Details for the file de_embedding_rf-0.3.6-py3-none-any.whl.

File metadata

File hashes

Hashes for de_embedding_rf-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 bd99cda99ce7d1ec8dec81036cf38a48340daca9a0c856f8cc51a3dc00db480d
MD5 047e3b3c1f16e83bf4171773445d14db
BLAKE2b-256 4b59e11d19a43cf15408b326aff7931a757f2b7b31d5a251b23054ad4295f3e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page