网络 INTERCONNECT中n端口器件S参数导入 - 类型 2 (更改端口位置):
端口
NameTypeport 1Optical Signalport 2Optical Signal
参数
NameDefault valueDefault unitRange name Defines the name of the element. Optical N Port S-Parameter-- annotate Defines whether or not to display annotations on the schematic editor. true-[true, false] enabled Defines whether or not the element is enabled. true-[true, false] type Defines the element unique type (read only). Optical N Port S-Parameter-- description A brief description of the elements functionality. Optical N port s-parameter element-- prefix Defines the element name prefix. SPAR-- model Defines the element model name. --- library Defines the element location or source in the library (custom or design kit). --- local path Defines the local path or working folder $LOCAL for the element. --- url An optional URL address pointing to the element online help. ---
configuration Defines the bidirectional or unidirectional element configuration. bidirectional-[bidirectional, s parameters load from file Defines whether or not to load s-parameters from an input file or to use the currently stored s-parameters. false-[true, false] s parameters filename The file containing the s-parameters. Refer to the Implementation Details section for the format expected. ---
热学参数
NameDefault valueDefault unitRange temperature Defines the temperature. %temperature%K(-∞, +∞)
数值参数
NameDefault valueDefault unitRange remove disconnected ports Defines whether or not to remove disconnected ports from the internal s-parameters. false-[true, false] order The order that the element internal s-parameters are raised to. This allows users to automatically cascade an arbitrary number of elements. 1-[1, +∞) passivity Defines how passivity of s-parameters is enforced: 'ignore' ignores the passivity of the s-parameters. 'test' tests if the induced 2-norm of the s-parameters is less than 1. 'enforce' enforces the passivity by making sure the the induced 2-norm of the s-parameters is less than 1. 'optimal' enforces the passivity by making sure the the induced 2-norm and the Frobenius norm of the s-parameters are both less than 1. ignore- [ignore, test, enforce, optimal passivity tolerance When enforcing passivity the induced 2-norm of the s-parameters at an offending frequency will be equal to 1-eps, where eps is the passivity tolerance. 1e-006-[0, 1] reciprocity Defines how reciprocity of s-parameters is enforced: 'ignore' ignores the reciprocity of the s-parameters. 'test' tests for symmetry across the diagonal of the s-parameter matrix. 'enforce' enforces symmetry across the diagonal of the s-parameter matrix. ignore-[ignore, test, enforce
滤波参数
NameDefault valueDefault unitRange digital filter type Defines the digital filter type used to fit the element transfer function in time domain. FIR-[single tap, FIR, IIR number of taps estimation Defines the method used to estimate the number of taps of the digital filter. fit tolerance- [disabled, fit tolerance, group delay filter fit tolerance Defines the mean square error for the fitting function. 0.05-(0, 1) filter fit number of iterations This determines the maximum number of iterations required before fitting reaches the tolerance error. 50-[1, +∞) filter fit rolloff Defines the frequency roll off for the fitting function. 0.05-[0, 1) window function Defines the window type for the digital filter. rectangular- [rectangular, hamming, hanning number of fir taps Defines the number of coefficients for digital filter. 256-[1, +∞) maximum number of fir taps Defines the number of coefficients for digital filter. 4096-[1, +∞) number of iir taps Defines the number of coefficients for digital filter. 4-[2, +∞) maximum number of iir taps Defines the number of coefficients for digital filter. 20-[2, +∞) initialize filter taps Defines whether to use the initial input signal to initialize filter state values or to set them to zero values. false-[true, false] fractional delay Defines whether to use a fractional delay filter or force the delay to be an integer multiple of the sample period. true-[true, false] delay compensation The number of delays to compensate for latency. 0-[0, +∞)
诊断参数
NameDefault valueDefault unitRange run diagnostic Enables the frequency response of the designed filter implementation and the ideal frequency response to be generated as results. false-[true, false] diagnostic size The number of frequency points used when calculating the filter frequency response. 1024-[2, +∞)
结果
NameDescriptiondiagnostic/response #/transmission The complex transmission vs. frequency corresponding to the ideal and designed filter. diagnostic/response #/gainThe gain vs. frequency corresponding to the ideal and designed filter.diagnostic/response #/error Mean square error comparing the frequency response of the designed filter implementation with the ideal frequency response. diagnostic/passivityThe induced 2-norm or the spectral norm of the s-parameters vs. frequency.diagnostic/reciprocity The induced 2-norm or the spectral norm of (S-S') vs. frequency, where S is the s-parameters matrix.
实施细节
导入的S参数有几种类型,根据S参数会生成不同数量的ports
S参数的类型有: "transmission" or "modulation".
The "transmission" type is used to define general s-parameter elements.
类型1 (general):
("output port name","mode label",mode ID (out),"input port name",mode ID (in),"transmission")
("port 2","TE",1,"port 1",1,"transmission")
(2,3)
1.930000000000e+014 0.5 0
1.931000000000e+014 0.25 0
("port 1","TE",1,"port 2",1,"transmission")
(2,3)
1.930000000000e+014 0.5 0
1.931000000000e+014 0.25 0
("port 2","TM",2,"port 1",2,"transmission")
(2,3)
1.930000000000e+014 0.5 0
1.931000000000e+014 0.25 0
("port 1","TM",2,"port 2",2,"transmission")
(2,3)
1.930000000000e+014 0.5 0
1.931000000000e+014 0.25 0
类型 2 (更改端口位置):
[number of ports on the left, number of ports on the right]
("output port name","mode label",mode ID (out),"input port name",mode ID (in),"transmission")
(number of frequency points, number of columns)
[1,8]
("port 58","TE",1,"port 21",1,"transmission")
(1000,3)
1.914892225559e+014 1.256111594090e-002 2.832955502242e+000
1.914924441108e+014 1.749553204769e-002 4.709502247438e+000
.................
("port 65","TE",1,"port 21",1,"transmission")
(1000,3)
1.914892225559e+014 1.566798786397e-002 -3.086371513297e-001
1.914924441108e+014 9.730426200121e-003 1.567909593718e+000
1.914956656657e+014 3.119333771097e-003 3.444456338880e+000
...
类型 3 (进一步更改端口位置):
["port 21","LEFT"] ["port 58","TOP"] ["port 59","TOP"] ["port 60","RIGHT"] ["port 61","RIGHT"] ["port 62","BOTTOM"] ["port 63","BOTTOM"] ["port 64","BOTTOM"] ["port 65","BOTTOM"]
("port 58","TE",1,"port 21",1,"transmission") (1000,3) 1.914892225559e+014 1.256111594090e-002 2.832955502242e+000 1.914924441108e+014 1.749553204769e-002 4.709502247438e+000 1.914956656657e+014 2.126308359542e-002 6.586048992443e+000 1.914988872206e+014 2.361326735324e-002 8.462595737535e+000
“modulation”适用于热光调制等情况
("output port name","mode label",mode ID (out),"input port name",mode ID (in),"modulation")
(1,N)
T1, T2, ..., TN
(number of frequency points, 2*N+1)
f1 abs(S1) angle(S1) abs(S2) angle(S2) ... abs(SN) angle(SN)
f2 abs(S1) angle(S1) abs(S2) angle(S2) ... abs(SN) angle(SN)
("port 2","TE",1,"port 1",1,"modulation") (1,5) 300 310 320 330 340 (4,11) 190e12 1 0 2 0 3 0 4 0 5 0 191e12 2 0 3 0 4 0 5 0 6 0 192e12 2 0 3 0 4 0 5 0 6 0 193e12 1 0 2 0 3 0 4 0 5 0 ("port 1","TE",1,"port 2",1,"modulation") (1,5) 300 310 320 330 340 (4,11) 190e12 1 0 2 0 3 0 4 0 5 0 191e12 2 0 3 0 4 0 5 0 6 0 192e12 2 0 3 0 4 0 5 0 6 0 193e12 1 0 2 0 3 0 4 0 5 0
Touchstone 文件:
在 lumerical 2021R1.1 版本及更高版本中, N 端口 S 参数元素支持 Touchstone 格式的 S 参数文件:
支持具有任意数量的物理端口的单一模式支持带组延迟和不带组延迟的格式
端口定义和组延迟在标题注释中定义。
! Touchstone File Format: Version 1.0
! Two-Port Data Order: 21_12
# HZ S MA R 50.00
! Optical Port List
! Port[0] = {"d1","mode 1",1,"LEFT"} 拼多多帮助力入口
! Port[1] = {"d2","mode 1",1,"LEFT"}
! Port[2] = {"d3","mode 1",1,"LEFT"}
! Port[3] = {"d4","mode 1",1,"RIGHT"}
! GroupDelay = [[6.31529e-14,1.26475e-13,1.52878e-13,1.41617e-13],[1.27078e-13,6.38548e-14,1.5531e-13,1.52694e-13],[1.52694e-13,1.5531e-13,6.3855e-14,1.27078e-13],[1.41617e-13,1.52878e-13,1.26475e-13,6.31529e-14]]
! FREQ AMP PHASE AMP PHASE AMP PHASE AMP PHASE
1.9986163866666666e+14 5.0219998520000544e-02 1.4226922936283140e+02 1.0145708525796642e-02 -2.6757751558537759e+01 1.7931915832802403e-01 2.3775132507229156e+01 3.3882021573290944e-01 -1.1991773992533795e+02
1.0070718681505362e-02 5.8056900135876051e+00 5.0732592488865420e-02 1.0341717250370441e+02 1.3671544758191506e-01 -1.1717664057567175e+02 1.7904565568818445e-01 1.3135049317039986e+01
1.7904568355540454e-01 1.3134966495855060e+01 1.3671541123886211e-01 -1.1717662922776177e+02 5.0732579445953961e-02 1.0340664818618049e+02 1.0070728102671721e-02 5.8095461126970553e+00
3.3882025417731043e-01 -1.1991793078017376e+02 1.7931913428988117e-01 2.3775200730398538e+01 1.0145731964707239e-02 -2.6756811813667721e+01 5.0220004135475060e-02 1.4226828549876950e+02
...
官方网页:Optical N Port S-Parameter (SPAR) - INTERCONNECT Element – Ansys Optics
网络 INTERCONNECT中n端口器件S参数导入
文章链接