mixed_mode_s_params_3 | R Documentation |
Converts single-ended S parameters to differential. Functions include:
Differential-mode reflection cofficient
Differential-mode insertion gain
Differential-mode reverse insertion gain
Common-mode insertion gain
Common-mode reverse insertion gain
Common-mode rejection ratio
Imbalance between single-ended and differential ports
Assumes port layout:
Single-Ended Port
Balanced (Positive)
Balanced (Negative)
differential_gamma_3_port(S22, S23, S32, S33)
differential_gain_3_port(S21, S31)
differential_reverse_gain_3_port(S12, S13)
common_gain_3_port(S21, S31)
common_reverse_gain_3_port(S12, S13)
cmrr(S21d, S21c)
imbalance(S21, S31)
S22 |
Single-ended reflection on positive balanced port |
S23 |
Single-ended reverse isolation between balanced ports |
S32 |
Single-ended isolation between balanced ports |
S33 |
Single-ended reflection on negative balanced port |
S21 |
Single-ended gain from unbalanced port to positive balanced port |
S31 |
Single-ended gain from unbalanced port to negative balanced port |
S12 |
Single-ended reverse gain from unbalanced port to positive balanced port |
S13 |
Single-ended reverse gain from unbalanced port to negative balanced port |
S21d |
Differential-mode gain |
S21c |
Common-mode gain |
df <- read_snp(rftk_example("Balun.s3p"), numeric_format = "MA")
df <- dplyr::select(df, -ang)
df <- tidyr::pivot_wider(df, names_from = "parameter", values_from = "mag")
dplyr::mutate(df,
S21ds = differential_gain_3_port(S21, S31),
S21cs = common_gain_3_port(S21, S31),
S12ds = differential_reverse_gain_3_port(S12, S13),
S12cs = common_reverse_gain_3_port(S12, S13),
S22dd = differential_gamma_3_port(S22, S23, S32, S33),
cmrr = cmrr(S21ds, S21cs),
imbalance = imbalance(S21, S31))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.