How to duplicate network parameters and cascade vertically?
4 ビュー (過去 30 日間)
古いコメントを表示
I'd like to duplicate an s-parameter file and cascade it vertically to itself to be able to use in concatenating to a larger s-parameter. For example, taking two identical s4p files together to create an s8p file: .s4p + .s4p = .s8p
I understand this voids the crosstalk terms in the vertical direction, however I need to duplicate a generic connector model to step across the pins of a large device (s192p). The cascadesparams command can do this, however it seems difficult to do for large networks because the pins would need to be remapped after each cascade (this function always cascades starting from the bottom pin of adjacent networks, does not allow vertical integration without first remapping ports).
__
1-| |-5
2-|__|-6
__
3-| |-7
4-|__|-8
1 件のコメント
Mark
2016 年 3 月 23 日
編集済み: Mark
2016 年 3 月 23 日
The RF Toolbox offers a node-based syntax for constructing RF circuits. Here's a snippet of code that takes two 4-ports and adds them to a circuit with the node numbering you give above.
ckt = circuit;
n1 = nport('default.s4p');
add(ckt,[1 2 5 6],n1)
n2 = nport('default.s4p');
add(ckt,[3 4 7 8],n2)
setports(ckt,[1 0],[2 0],[3 0],[4 0],[5 0],[6 0],[7 0],[8 0])
freq = n1.NetworkData.Frequencies;
S = sparameters(ckt,freq,50);
rfplot(S)
r1 = resistor(10);
add(ckt,[2 3],r1); % add small resistor across nodes 2 and 3
r2 = resistor(10);
add(ckt,[6 7],r2); % add small resistor across nodes 6 and 7
S2 = sparameters(ckt,freq,50);
figure(2)
rfplot(S2)
I hope this helps!
Best, Mark
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Frequency Domain Analysis についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!