ELECTROMAGNETIC DEVICE DESIGN SYSTEM FOR FAST FREQUENCY SWEEP BASED ON FINITE ELEMENT METHOD

Information

  • Patent Application
  • 20230079543
  • Publication Number
    20230079543
  • Date Filed
    August 29, 2022
    2 years ago
  • Date Published
    March 16, 2023
    a year ago
  • CPC
    • G06F30/23
  • International Classifications
    • G06F30/23
Abstract
The disclosure provides an electromagnetic device design system including: one or more processors of a machine; and computer-storage medium storing instructions, which when executed by the machine, cause the machine to perform operations for EM sensitivity analysis for an electromagnetic (EM) device. The operations include: initiating physical parameters of the EM device, wherein the EM device comprises multiple ports; performing EM simulation for the EM device at a pre-solution frequency using the finite-element method (FEM); applying single-size matrix Padé via Lanczos (MPVL) method in fast frequency sweep and performing EM simulation for the EM device under excitation at each port to obtain field solution of the EM device at frequencies in a frequency range; calculating S-parameters for the multiple ports of the EM device; and calculating derivatives of the S-parameters with respect to one of the physical parameters in the frequency range.
Description
CROSS-REFERENCE TO RELAYED APPLICATIONS

Pursuant to 35 U.S.C.§ 119 and the Paris Convention Treaty, this application claims foreign priority to Chinese Patent Application No. 202110992300.2 filed Aug. 27, 2021, the contents of which, including any intervening amendments thereto, are incorporated herein by reference. Inquiries from the public to applicants or assignees concerning this document or the related applications should be directed to: Matthias Scholl P C., Attn.: Dr. Matthias Scholl Esq., 245 First Street, 18th Floor, Cambridge, Mass. 02142.


BACKGROUND

The disclosure relates to the technical field of electromagnetic device design. In particular, the disclosure addresses systems and methods for performing an electromagnetic sensitivity analysis by using fast frequency sweep based on the finite element method.


Electromagnetic sensitivity analysis is important for electromagnetic (EM) device design. An EM sensitivity is defined as a derivative of an EM response, e.g., a full scattering matrix for ports of an EM device, with respect to a physical parameter of the EM device including geometrical parameters and material parameters. EM device design, such as design optimization, what if analysis and yield-driven design, benefits greatly from the EM sensitivity analysis.


As one of the most efficient numerical techniques, the finite-element method (FEM) is used to perform the EM device design routinely. However, using FEM to solve a large linear system is very time-consuming. Especially when the equations are frequency dependent, the solution process for a single frequency must be repeated once at each different frequency.


Recent efforts have focused on Model order reduction (MORe) techniques, such as the asymptotic waveform evaluation (AWE), the Galerkin AWE (GAWE), the well-conditioned AWE (WCAWE), the projection via Arnoldi, the Padé via Lanczos (PVL), the matrix Padé via Lanczos (MPVL), and the adaptive Lanczos-Pade sweep (ALPS). Using MORe techniques, the EM equation is merely solved at a single value of a parameter and solutions at other values of the parameter are estimated approximately with a small computational overhead, thus speeding up the whole simulating process.


However, model order reduction techniques cannot be directly used in the EM sensitivity analysis.


SUMMARY

The disclosure provides a system for performing an electromagnetic sensitivity analysis by using fast frequency sweep based on finite element method (FEM). Adjoint/self-adjoint formulas based on fast frequency sweep are derived, predicting the EM sensitivity information for the entire frequency range, and thus the efficiency of the EM sensitivity analysis is improved.


Conventional commercial software typically computes electromagnetic response derivatives at multiple frequencies and are less efficient. The disclosure incorporates a model order reduction algorithm and aims to speed up the electromagnetic sensitivity analysis. Increasing the number of frequencies to be solved results in a reduction in the execution time of the disclosure (for example, the disclosure gets a 30 times speedup when calculating the electromagnetic response derivatives at 100 frequencies).


Specifically, in one aspect, the disclosure provides an electromagnetic device design system comprising:


one or more processors of a machine; and


computer-storage medium storing instructions, which when executed by the machine, cause the machine to perform operations for EM sensitivity analysis for an electromagnetic (EM) device, the operations comprising:


initiating physical parameters of the EM device, wherein the EM device comprises multiple ports;


performing EM simulation for the EM device at a pre-solution frequency using the finite-element method (FEM);


applying single-size matrix Padé via Lanczos (MPVL) method in fast frequency sweep and performing EM simulation for the EM device under excitation at each port to obtain field solutions of the EM device in a frequency range;


calculating S-parameters for the multiple ports of the EM device;


obtaining derivatives of a full scattering matrix for the multiple ports with respect to the physical parameters of the EM device in the frequency range;


selecting a solution and updating EM device design to replace initial values of the physical parameters of the EM device with a selected solution;


performing EM simulation for the EM device at a frequency of the selected solution using FEM; and


determining the simulated result satisfies a physical specification of the EM device;


wherein:


applying single-size MPVL method in fast frequency sweep comprises:


transforming a single-size system matrix with a dimension of N×N into a double-size system matrix with a dimension of 2N×2N for omitting second order terms of frequency, wherein N represents a number of elements in a field vector and the single-size system matrix is of a linear combination of global finite-element system matrices;


generating a first linear system using the double-size system matrix;


representing solving vectors of the first linear system with the global finite-element system matrices using the block matrix inversion method and transforming the first linear system into a second linear system, wherein the second linear system is of the single-size system matrix; and


solving the second linear system by performing fast frequency sweep incorporated with MPVL method and obtaining field solution in a frequency range as the following:






x
k
≈x
k
q
=∥r
0
∥V
k
q(Iq−(s−s0)Tkq)−1e1


where


s represents a frequency;


s0 represents a pre-solution frequency;


q is a reduced order in MPVL method;


xk is a vector of field solution under excitation at port k;


xkq, represents a vector of qth order reduced field solution under excitation at port k;


r0 represents a solution vector of the first linear system at 0th MPVL iteration;


Vkq is represented as Vkq=[vm]m+1q=[v1 v2 . . . vq], where vm is an orthonormal basis vector of the Krylov subspace for model order reduction;


Iq is an identity matrix with a dimension of q×q;


Tkq is a reduced order matrix; and


e1 is represented as e1=[1 0 . . . 0]T with a dimension of 1×q.


In a second aspect, an electromagnetic device design system comprises:


one or more processors of a machine; and


computer-storage medium storing instructions, which when executed by the machine, cause the machine to perform operations for EM sensitivity analysis for an electromagnetic (EM) device, the operations comprising:


initiating physical parameters of the EM device wherein the EM device comprises multiple ports;


performing EM simulation for the EM device at a pre-solution frequency using the finite-element method (FEM);


solving a linear system under excitation at port j to obtain a field solution under excitation at port j by fast frequency sweep;


solving an adjoint representation of the linear system under excitation at port k to obtain an adjoint field solution between port k and port j by fast frequency sweep;


calculating derivatives of a S-parameter of port j and port k with respect to Oi based on an adjoint sensitivity formula;


obtaining derivatives of a full scattering matrix for the multiple ports with respect to the physical parameters of the EM device in the frequency range;


selecting a solution and updating EM device design to replace the one of the physical parameters of the EM device with the selected solution;


performing EM simulation for the EM device at a frequency of the selected solution using FEM; and


determining the simulated result satisfies a physical specification of the EM device;


wherein the adjoint sensitivity formula is written as











S

k
,
j






ϕ
i



=

-



x
^


k
,
j

T

(



G
~

i

+

s



C
~

i



)



x
j



,




where


xj represents a vector of the field solution under excitation at port j;


{tilde over (G)}i represents a derivative of G with respect to ϕi;


{tilde over (C)}i represents a derivative of C with respect to ϕi;


s is a frequency;


{circumflex over (x)}k,jT represents a transpose vector of the adjoint field solution between port j and port k;


Sk,j represents the S-parameter of port j and port k; and


ϕi represents an ith one of the physical parameters.


In a third aspect, an electromagnetic device design system comprises:


one or more processors of a machine; and


computer-storage medium storing instructions, which when executed by the machine, cause the machine to perform operations for EM sensitivity analysis for an electromagnetic (EM) device, the operations comprising:


initiating physical parameters of the EM device wherein the EM device comprises multiple ports;


performing EM simulation for the EM device at a pre-solution frequency using the finite-element method (FEM);


solving a linear system under excitation at port j to obtain a field solution under excitation at port j by fast frequency sweep;


solving the linear system under excitation at port k to obtain a field solution under excitation at port k by fast frequency sweep;


calculating derivatives of a S-parameter of port j and port k with respect to ϕi based on a self-adjoint sensitivity formula;


obtaining derivatives of a full scattering matrix for the multiple ports with respect to the physical parameters of the EM device in the frequency range;


selecting a solution and updating EM device design to replace initial values of the physical parameters of the EM device with the selected solution;


performing EM simulation for the EM device at a frequency of the selected solution using FEM; and


determining the simulated result satisfies a physical specification of the EM device;


wherein


the self-adjoint sensitivity formula is written as











S

k
,
j






ϕ
i



=

-

κ

k
,
j





x
k
T

(



G
~

i

+

s



C
~

i



)



x
j



,




where


xj represents a vector of the field solution under excitation at port j;


{tilde over (G)}i represents a derivative of G with respect to ϕi;


{tilde over (C)}i represents a derivative of C with respect to ϕi;


s is a frequency;


xkT represents a transpose vector of the field solution under excitation at port k;


Sk,j represents the S-parameter of port j and port k;


ϕi represents an ith one of the physical parameters; and


κk,j represents a correlated coefficient of port j and port k.


In a fourth aspect, an electromagnetic device design system comprises:


one or more processors of a machine; and


computer-storage medium storing instructions, which when executed by the machine, cause the machine to perform operations for EM sensitivity analysis for an electromagnetic (EM) device, the operations comprising:


initiating physical parameters of the EM device wherein the EM device comprises multiple ports;


performing EM simulation for the EM device at a pre-solution frequency using the finite-element method (FEM);


solving a linear system under excitation at port j by performing fast frequency sweep with single-size MPVL method to obtain an order reduced field solution under excitation at port j in a frequency range;


solving an adjoint representation of the linear system under excitation at port k by performing fast frequency sweep with single-size MPVL method to obtain an order reduced adjoint field solution between port k and port j in the frequency range;


calculating derivatives of a S-parameter of port j and port k with respect to Oi based on an adjoint sensitivity formula;


obtaining derivatives of a full scattering matrix for the multiple ports with respect to the physical parameters of the EM device in the frequency range;


selecting a solution and updating EM device design to replace initial values of the physical parameters of the EM device with the selected solution;


performing EM simulation for the EM device at a frequency of the selected solution using FEM; and


determining the simulated result satisfies a physical specification of the EM device;


wherein:


performing fast frequency sweep with single-size MPVL method comprises:


transforming a single-size system matrix with a dimension of N×N into a double-size system matrix with a dimension of 2N×2N for omitting second order terms of frequency, wherein N represents the number of elements in a field vector and the single-size system matrix comprises a linear combination of global finite-element system matrices;


generating a first linear system using the double-size system matrix;


representing solving vectors of the first linear system with the global finite-element system matrices using block matrix inversion method and transforming the first linear system into a second linear system, wherein the second linear system is of the single-size system matrix; and


solving the second linear system by performing fast frequency sweep incorporated with MPVL method and obtaining a field solution in a frequency range by the following:






x
k
≈x
k
q
=∥r
0
∥V
k
q(Iq−(s−s0)Tkq)−1e1;


and the adjoint sensitivity formula is written as:











S

k
,
j







ϕ
i






-



x
^


k
,
j

Tq

(



G
~

i

+

s



C
~

i



)




x
j
q



,




where


s represents a frequency;


s0 represents a pre-solution frequency;


q is a reduced order in MPVL method;


xk is a vector of field solution under excitation at port k;


xkq, represents a vector of qth order reduced field solution under excitation at port k;


r0 represents a solution vector of the first linear system at 0th MPVL iteration;


Vkq is represented as Vkq=[vm]m=1q=[v1 v2 . . . vq], where vm is an orthonormal basis vector of the Krylov subspace for model order reduction;


Iq is an identity matrix with a dimension of q×q;


Tkq is a reduced order matrix;


e1 is represented as e1=[1 0 . . . 0]T with a dimension of 1×q;


{tilde over (G)}i represents a derivative of G with respect to ϕi;


{tilde over (C)}i represents a derivative of C with respect to ϕi;


{circumflex over (x)}k,jqT represents a transpose vector of qth order reduced adjoint field solution between port j and port k;


Sk,j represents the S-parameter of port j and port k; and


ϕi represents an ith one of the physical parameters.


In a fifth aspect, an electromagnetic device design system comprises:


one or more processors of a machine; and


computer-storage medium storing instructions, which when executed by the machine, cause the machine to perform operations for EM sensitivity analysis for an electromagnetic (EM) device, the operations comprising:


initiating physical parameters of the EM device wherein the EM device comprises multiple ports;


performing EM simulation for the EM device at a pre-solution frequency using the finite-element method (FEM);


performing fast frequency sweep with single-size MPVL method to obtain an order reduced field solution under excitation at port j of the EM device in a frequency range;


performing fast frequency sweep with single-size MPVL method to obtain an order reduced field solution under excitation at port k of the EM device in a frequency range;


calculating derivatives of a S-parameter of port j and port k with respect to ϕi based on a self-adjoint sensitivity formula;


obtaining derivatives of a full scattering matrix for the multiple ports with respect to the physical parameters of the EM device in the frequency range;


selecting a solution and updating EM device design to replace initial values of the physical parameters of the EM device with the selected solution;


performing EM simulation for the EM device at a frequency of the selected solution using FEM; and


determining the simulated result satisfies a physical specification of the EM device;


wherein:


performing fast frequency sweep with single-size MPVL method comprises:


transforming a single-size system matrix with a dimension of N×N into a double-size system matrix with a dimension of 2N×2N for omitting second order terms of frequency, wherein N represents the number of elements in a field vector and the single-size system matrix comprises a linear combination of global finite-element system matrices;


generating a first linear system using the double-size system matrix;


representing solving vectors of the first linear system with the global finite-element system matrices using block matrix inversion method and transforming the first linear system into a second linear system, wherein the second linear system is of the single-size system matrix; and


solving the second linear system by performing fast frequency sweep incorporated with MPVL method and obtaining field solution of the EM device in a frequency range as the following:






x
k
≈x
k
q
=∥r
0
∥V
k
q(Iq−(s−s0)Tkq)−1e1,


and the self-adjoint sensitivity formula is written as











S

k
,
j







ϕ
i






-

κ
k





x
k
qT

(



G
~

i

+

s



C
~

i



)



x
j
q



,





where


s represents a frequency;


s0 represents a pre-solution frequency;


q is a reduced order in MPVL method;


xk is a vector of the field solution under excitation at port k;


xkq represents qth order reduced solution vector under excitation at port k;


r0 represents a solution vector of the first linear system at 0th MPVL iteration;


Vkq is represented as Vkq=[vm]m=1q=[v1 v2 . . . vq], where vm is an orthonormal basis vector of the Krylov subspace for model order reduction;


Iq is an identity matrix with a dimension of q×q;


Tkq is a reduced order matrix;


e1 is represented as e1=[1 0 . . . 0]T Or with a dimension of 1×q;


xjq represents qth order reduced solution vector under excitation at port j;


{tilde over (G)}i represents a derivative of G with respect to ϕi;


{tilde over (C)}i represents a derivative of C with respect to ϕi;


xkqT represents a transpose vector of qth order reduced field solution under excitation at port k;


Sk,j represents the S-parameter of port j and port k;


ϕi represents an ith one of the physical parameters; and


κk,j represents a correlated coefficient of port j and port k.


The following advantages are associated with the electromagnetic sensitivity analysis method of the disclosure:


The proposed single-size MPVL method transforms an EM linear system to be solved into a one of single-size matrices. And the adjoint/self-adjoint EM sensitivity analysis for fast frequency sweep are generated to calculate derivative of S-parameter of the multiple ports of the EM device, allowing for direct application of MPVL method for model order reduction calculation in EM sensitivity analysis. When fast frequency sweep using single-size MPVL method is performed for EM sensitivity analysis, repetitive solving process due to different frequencies is avoided and computational cost of the EM device design system is saved, leading to a sufficiently enhanced simulation efficiency.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a flow chart for the operations performed by the invented device design system in the embodiment of this microwave filter.



FIG. 2 is a perspective view of a four-pole waveguide filter according to one embodiment of the disclosure;



FIG. 3 is another perspective view of a four-pole waveguide filter according to one embodiment of the disclosure;



FIG. 4 is graph depicting Derivatives of ReS11 and ImS11 with respect to h1 at ϕ1 for the four-pole waveguide filter with the frequency swept from 10.5 GHz-11.5 GHz;



FIG. 5 is graph depicting Derivatives of ReS21 and ImS21 with respect to h1 at ϕ1 for the four-pole waveguide filter with the frequency swept from 10.5 GHz-11.5 GHz;



FIG. 6 is graph depicting Derivatives of ReS11 and ImS11 with respect to hc1 at ϕ1 for the four-pole waveguide filter with the frequency swept from 10.5 GHz-11.5 GHz; and



FIG. 7 is graph depicting Derivatives of ReS21 and ImS21 with respect to hc2 at ϕ1 for the four-pole waveguide filter with the frequency swept from 10.5 GHz-11.5 GHz.





DETAILED DESCRIPTION

For an EM device design system, an adjoint formula and a self-adjoint formula that are respectively integrated with fast frequency sweeps are generated to improve EM sensitivity analysis for EM device designs. Further, a single-size MPVL method is proposed for model order reduction and is used in fast frequency sweep for the present EM sensitivity analysis. The present EM sensitivity analysis method obtains the same accuracy as the techniques of the prior art, while taking much less time by avoiding repetitively solving large systems of EM equations for different frequencies.


The single-size MPVL method incorporated in fast frequency sweep is derived as follows:


the Helmholtz equation for the full wave EM simulation is formulated as:













×

(


1
μ




×
E


)


-


ω
2


ϵ

E


=


-
j


ω

J


,




(
1
)







where ∈ and μ represent the permittivity and the permeability of the medium, respectively; ω represents the angular frequency; J represents the electric current source of the EM problem; E represents the electric field intensity to be solved; finite element method (FEM) is one of the commonly used methods to solve this Helmholtz equation; assuming that the EM simulation is performed on an EM device comprising multiple ports; the FEM equation in a general form is written as:





(K0+sK1+s2K2)x=sbj,  (2)


where s represents the complex frequency corresponding to ω; x represents the unknown field solution vector containing the unknown values of E for FEM; K0, K1, and K2 represent global finite-element system matrices, which are dependent on the physical parameters of the EM device but independent on frequency; bj represents a vector describing the excitation at the port j; to obtain the full scattering matrix of the multi-port structure, the S-parameters can be written as














S

k
,
j


(
s
)

=




κ

k
,
j




b
k
T


x

-

δ

k
,
j










=



s


κ

k
,
j






b
k
T

(


K
0

+

sK
1

+


s
2



K
2



)


-
1




b
j


-

δ

k
,
j




,







(
3
)








where









δ

k
,
j


=

{





1
,




k
=
j






0
,




k

j




,






(
4
)







κk,j is a correlated coefficient of port j and port k, which is constant for a constant EM device and is dependent on the powers incident upon the port k and port j of the EM device.


To use MPVL method on FEM system, the order of frequency terms contained in the EM equations would be no more than a first order. Therefore, Equation (3) is reformatted as:












S

k
,
j


(
s
)

=





β
^


k
,
j

T

(

G
+
sC

)


-
1




β
j



,




(
5
)








where











β
^


k
,
j


=

[




s


κ

k
,
j




b
k







0

N
×
1





]


,


G
=

[




0
N




I
N






K
0




K
1




]


,


C
=

[




-

I
N





0
N






0
N




K
2




]


,



β
j

=


[




0

N
×
1







b
j




]

.






(
6
)







where IN and 0N represent the identity matrix and zero matrix in custom-characterN×N, respectively. Here, N is the number of elements in x. Let ϕ represent a vector of the physical parameters of the EM device, where ϕi (i=1, . . . , p) represent the ith element in ϕ, and p is the total number of physical parameters.


To use MPVL method to perform the fast frequency sweep, one specific frequency is selected and defined as the pre-solution frequency; with the suitable selection of the pre-solution frequency, the accurate EM solutions can be obtained over the entire frequency band by solving the large linear system once at the pre-solution frequency; let s0 represent the pre-solution frequency for MPVL method; let Ks represent a single-size system matrix at the pre-solution frequency, which has a dimension of N×N and is written as






K
s
=K
0
+s
0
K
1
+s
0
2
K
2,  (7)


let As represent a double-size system matrix having a dimension of 2N×2N and is defined as










A
s

=


G
+


s
0


C


=


[





-

s

0






I
N





I
N






K
0





K
1

+


s
0



K
2






]

.






(
8
)







where As is calculated at the pre-solution frequency s0; let q be the order of the reduced model using MPVL; let Tkq be defined as the reduced order matrix with the elements tl,m, i.e.,








T
k
q

=


[

t

l
,
m


]


q
×
q



,




where l=1, 2, . . . , q and m=1, 2, . . . , q; let {wm}m=1q be defined as a set of unit vectors which are orthonormal to each other; let V: be defined as the matrix containing the orthonormal basis of the Krylov subspaces for the model order reduction, where Vkq=[vm]m=1q=[v1 v2 . . . vq]; let rm be defined as the vector for the calculation of Vkq and Tkq in the mth MPVL iteration; rm is calculated by solving a first linear system as:











A
s



r
m


=

{





β
k

,





m
=
0

,







-

Cv
m


,





m
=
1

,
2
,


,

q
.










(
9
)







using MPVL as the model order reduction technique to perform the fast frequency sweep; calculating the LU factors of the matrix As;


because the size of As is twice the size of Ks, the computational cost for the LU factorization of As takes much longer time than that of Ks;


therefore, a single-size MPVL method is derived to perform the LU factorization of the single-size system matrix Ks, instead of the double-size system matrix As; using the block matrix inversion method, Equation (9) is reformulated as:













r
0

=




1

s
0


[






K
s

-
1




K
0


-
I





s
0



K
s

-
1









s
0



K
s

-
1




K
0






s
0
2



K
s

-
1






]

[




0

N
×
1







b
k




]








=



[




I
N







s
0



I
N





]



K
s

-
1




b
k



,







(
10
)








and












r
m

=





1

s
0


[






K
s

-
1




K
0


-
I





s
0



K
s

-
1









s
0



K
s

-
1




K
0






s
0
2



K
s

-
1






]

[




I
N




0
N






0
N




-

K
2





]



v
m








=




1

s

0




[




I
N







s
0



I
N





]





K
s

-
1


[




K
0







-

s
0




K
2





]

T



v
m









-



1

s
0


[




I
N




0
N






0
N




0
N




]




v

m

,









(
11
)







let um be defined as the solution vector for a second linear system as











K
s



u
m


=

{





b
k

,




m
=
0










1

s
0


[




K
0







-

s
0




K
2





]

T



v
m


,





m
=
1

,
2
,


,

q
.










(
12
)







substituting (12) into (10) and (11),











r
0

=

[




u
0







s

0





u
0





]


,




(
13
)








and










r
m

=


[




u
m







s
0



u
m





]

-



1

s
0


[




I
N




0
N






0
N




0
N




]



v
m




,




(
14
)







where m represents the MPVL iteration index, i.e., m=1, 2, . . . , q; let xkq represent the qth order reduced vector (q×1 vector), the solution vector xk under excitation at port k of the device can be formulated as,






x
k
≈x
k
q
=∥r
0
∥V
k
q(Iq−(s−s0)Tkq)−1e1,  (15)


where e1[1 0 . . . 0]Tcustom-characterq, is the unit vector in custom-characterq; Iq is an identity matrix in custom-characterq×q.


according to Equation (3), the S-parameters can be obtained by substituting the solution vector xk with the Equation (15) and be formulated as






S
k,j(S)=∥r0∥{circumflex over (β)}k,jTVkq(Iq−(s−s0)Tkq)−1e1−δk,j,  (16)


where, S-parameters corresponding to a frequency range can be evaluated by performing fast frequency sweep integrated with the single-size MPVL method.


The following is derivation of the adjoint EM sensitivity analysis using fast frequency sweep model order reduction technique.


Letting {tilde over (G)}i and {tilde over (C)}i represent the derivatives of G and C with respect to a physical parameter of the device ϕi, respectively. {tilde over (G)}i and {tilde over (C)}i can then be derived as,












G
~

i

=

[




0
N




0
N







K
~

0
i





K
~

1
i




]


,




C
~

i

=


[




0
N




0
N






0
N





K
~

2
i




]

.






(
17
)







where {tilde over (K)}0i, {tilde over (K)}1i, and {tilde over (K)}2i represent the sensitivity of K0, K1, and K2 with respect to the physical parameter ϕi, respectively; to calculate the sensitivity of Si, j, the sensitivities of the global finite-element system matrices w.r.t. physical parameters {tilde over (K)}0i, {tilde over (K)}1i, and {tilde over (K)}2i need to be firstly obtained;


obtaining the vector bj from the EM excitation and/or the boundary conditions on the jth port; the structures of the ports normally do not change during the EM design; thus bj is a constant vector w.r.t. to a physical parameter ϕi in the EM problem, i.e.,














b
j






ϕ
i



=


0

N
×
1


.





(
18
)







based on (5), formulating the derivatives of Sk,j as,














S

k
,
j







ϕ
i



=


-




β
^


k
,
j

T

(

G
+
sC

)


-
1





(



G
~

i

+

s



C
~

i



)




(

G
+
sC

)


-
1





β
j

.






(
19
)







letting xj represent the solution vector for a linear system that is written as





(G+sC)xjj.  (20)


calculating the solution vector xj in (20) by MORe techniques such as MPVL method;


defining {circumflex over (x)}k,j as a vector of adjoint field solution of the adjoint representation of the linear system (20), the adjoint representation is written as follows,





(G+sC)T{circumflex over (x)}k,j={circumflex over (β)}k,j.  (21)


the adjoint solution vector {circumflex over (x)}k,j in (21) is calculated similarly to xj by MORe techniques such as MPVL method;


substituting (20) and (21) into (19) to obtain the adjoint sensitivity formula of Sk,j w.r.t. ϕi as,















S

k
,
j







ϕ
i



=




x
^


k
,
j

T

(



G
~

i

+

s



C
~

i



)



x
j



,




(
22
)







Equation (22) is the adjoint sensitivity formula which is well fit for fast frequency sweep. MORe technique can be used to calculate xj and {circumflex over (x)}k,j; since the format of (22) is derived using MPVL, xj and {circumflex over (x)}k,j can be formulated using MPVL method,













S

k
,
j






ϕ
i






-



x
ˆ


k
,
j


q

T


(



G


i

+

s



C
˜

i



)





x
j
q

.






(
23
)







The following is derivation of the self-adjoint EM sensitivity analysis using fast frequency sweep model order reduction technique.


The disclosure further provides a self-adjoint EM sensitivity analysis. Because G and C are formulated as 2×2 block matrices, by substituting (6) into (20) and using the 2×2 block matrix inversion method, we can obtain,














x
k

=




1
s

[






K

-
1




K
0


-

I
N





s


K

-
1








s


K

-
1




K
0






s
2



K

-
1






]

[




0

N
×
1







b
k




]








=


[





K

-
1




b
k







s


K

-
1




b
k





]


,






where




(
24
)












K
=


K
0

+

s


K
1


+


s
2




K
2

.







(
25
)







because K0, K1, and K2 are symmetrical matrices, substituting (6) into (21) and using the 2×2 block matrix inversion method to obtain,














x
ˆ


k
,
j


=




1
s

[






K

-
1




K
0


-

I
N





s


K

-
1




K
0







s


K

-
1







s
2



K

-
1






]

[




s


κ

k
,
j




b
k







0

N
×
1





]







=




κ

k
,
j


[






K

-
1




K
0



b
k


-

b
k







s


K

-
1




b
k





]

.








(
26
)







defining ξk as the vector of weighted differences between {circumflex over (x)}k,j and xk, formulated as,










ξ
k

=





x
ˆ


k
,
j



κ

k
,
j



-

x
k


=


[






K

-
1


(



K
0



b
k


-

b
k


)

-

b
k







0

N
×
1





]

.






(
27
)







formulating {circumflex over (x)}k,j by the weighted summation of xk and ξk as,






{circumflex over (x)}
k,jk,jxkk,jξk,  (28)


substituting (17) into (22) to obtain,
















S

k
,
j






ϕ
i



=



-


κ

k
,
j


(


x
k
T

+

ξ
k
T


)




(



G


i

+

s



C
˜

i



)



x
j








=



-


κ

k
,
j


[



x
k
T

(



G


i

+

s



C
˜

i



)

+


ξ
k
T

(



G


i

+

s



C
˜

i



)


]





x
j

.









(
29
)







because















(



G


i

+

s



C
˜

i



)

T



ξ
k


=



[




0
N





K


0
i






0
N






K


1
i

+

s



K


2
i






]

[






K

-
1


(



K
0



b
k


-

b
k


)

-

b
k







0

N
×
1





]








=


0

2

N
×
1



,







(
30
)







simplifying the formulation for calculating the derivative (29) as,













S

k
,
j






ϕ
i



=


-

κ

k
,
j






x
k
T

(



G


i

+

s



C
˜

i



)




x
j

.






(
31
)
















S

k
,
j






ϕ
i






-

κ

k
,
j






x
k

q

T


(



G


i

+

s



C
˜

i



)




x
j
q

.






(
32
)







Equation (20) is the self-adjoint sensitivity formula which is well fit for fast frequency sweep; MORe techniques can be used to calculate xj; since the format of (31) is derived using MPVL, xj can be formulated using MPVL method.


By using Equations (12)-(14), the disclosure performs the LU factorization and forward/backward substitutions of the original system Ks (single-size system matrix) instead of As (double-size system matrix), to reduce calculation time rm, m=0, 1, . . . , q. Because the MPVL method takes a long time to calculate rm, it is simplified for efficient xk calculation. Note that, according to Equations (12)-(14), the disclosure uses only one LU factorization of the original system Ks, whereas the MPVL method uses q+1 forward/backward substitutions.


Because Equation (31) is derived using MPVL, xj and {circumflex over (x)}k,j can also be formulated using the MPVL method,














S

k
,
j






ϕ
i






-

κ

k
,
j






x
k

q

T


(



G


i

+

s



C
˜

i



)



x
j
q



,




(
32
)







where xjq is calculated using fast frequency sweep with MORe technique as in equation (15). Note that, in the single-size MPVL method, {wm}m=1q makes each λm equal to non-zero. When performing MPVL method, Equation (32) calculates the derivatives of S-parameters for the self-adjoint EM sensitivity analysis. Fast frequency sweep uses a reduced-order model of order q to estimate the S-parameters of a p port structure and the derivatives thereof, and involves only one LU factorization and p (q+1) forward/backward substitutions. The computational time of the self-adjoint EM sensitivity analysis is not related to the number of physical parameters and increases slightly with the number of frequencies to be solved.


The comparison of the different methods of EM sensitivity analysis of a four-pole waveguide filter is shown in Table 1. A flow chart for the operations performed by the invented device design system in the embodiment of this microwave filter is shown in FIG. 1. The detailed number of LU factorizations and FB substitutions of the original FEM matrix for the proposed adjoint EM sensitivity analysis using fast frequency sweep is illustrated in Table 1. The disclosure further provides details of the self-adjoint EM sensitivity analysis using discrete frequency sweep, the sensitivity analysis using the finite difference method (i.e., perturbing variables, re-simulating EM and computing the solution difference) for both fast frequency sweep and discrete frequency sweep. For illustration purpose, the disclosure further provides the details of EM simulation using both fast frequency sweep and discrete frequency sweep. In Table 1, n represents the number of physical parameters; nf represents the number of frequencies; q represents the order for MPVL method; p represents the number of ports of the microwave filter. From Table 1, if the EM application only simulates at 1 or 2 frequencies, the sensitivity analysis using self-adjoint EM sensitivity analysis with discrete frequency sweep is performed. If the EM application only has 1 or 2 physical parameters, the sensitivity analysis using finite difference method with fast frequency sweep is performed. If the EM application has more physical parameters and needs to simulate at more frequencies, the adjoint EM sensitivity analysis using fast frequency sweep obtains the results faster than the existing sensitivity analysis methods. The larger number of physical parameters and frequencies the EM application has, the more significant advantage the proposed method will have.









TABLE 1







Comparison of the Number of LU Factorizations and F/B


Substitutions of FEM Matrix for Different Methods












No. of LU
No. of F/B



Method
Factorizations
Substitutions







Proposed Self-Adjoint
1
p(q + 1)



EM Sensitivity Analysis





Using Fast Frequency





Sweep





Proposed Adjoint EM
1
p(2q + 2)



Sensitivity Analysis





Using Fast Frequency





Sweep





Self-Adjoint EM
nf
p · nf



Sensitivity Analysis





Using Discrete Frequency





Sweep





Finite-Difference
n + 1
p(q + l)(n + 1)



Sensitivity Using Fast





Frequency Sweep





Finite-Difference
nf(n + 1)
p · nf(n + 1)



Sensitivity Analysis





Using Discrete Frequency





Sweep





Fast Frequency Sweep
1
p(q + 1)



Simulation





Discrete Frequency
nf
p • nf



Sweep Simulation










n—Number of Physical Parameters;


nf- Number of Frequencies at a Frequency range;


q—Order for MPVL method;


p—Number of ports of the microwave filter.


Remarks: Note that, the self-adjoint EM sensitivity method takes the same number of LU decomposition and F/B substitutions as EM simulation using fast frequency sweep using finite element method. In another word, after performing EM simulation using fast frequency sweep, no extra LU or F/B time is needed to calculate the EM sensitivities wr.t. all variables. Only a small amount of extra time of matrix multiplications is needed for EM sensitivity analysis after EM simulation.


4. Sensitivity Analysis for Four-Pole Waveguide Filter


The example under consideration is the EM sensitivity analysis of a four-pole waveguide filter. The tuning elements are penetrating posts of square cross section placed at the center of each cavity and each coupling window, shown in FIG. 2. Let h1, h2, h3 represent the heights of the tuning posts in the coupling windows. Let hc1 and hc2 represent the heights of the square cross section placed in the center of the resonator cavities. Let wc and wp represent the widths of the square cross section placed at the center of the resonant cavity and the coupling window respectively. Let d12 and d23 represent the diameters of resonant cavities. The iris widths w1, w2, w3 and w4 are pre-tuned to achieve the desired coupling bandwidth for each section of the filter. The input and output waveguides, as well as the resonant cavities, are standard WR-75 waveguides (a=19.05 mm and b=9.525 mm). For this example, the design space vector is ϕ=[d12 d23 h1 h2 h3 hc1 hc2 w1 w2 w3 Wp Wc]T The sensitivity analysis is performed at the nominal design point, i.e., (Pi=[10.5 13.3 3.39 4.15 3.62 3.30 2.98 8.7 5.1 5.1 2.0 4.0]T mm. The frequency range for this filter is selected as 10.5 GHz-11.5 GHz with the step of 20 MHz.


The derivatives of S-parameters for the microwave filter device is calculated by the proposed self-adjoint EM sensitivity analysis using fast frequency sweep for the EM simulation of this filter example. The order for the reduced order model is 16, i.e., q=16. Through the instant EM device design system disclosed in this embodiment for the microwave filter, physical specifications, such as passband bandwidth, return loss, and passband ripple can be satisfied.


For comparison purposes, the disclosure further provides the self-adjoint EM sensitivity analysis using discrete frequency analysis, the sensitivity analysis using the finite difference method for fast frequency sweep and discrete frequency analysis. Three cases for the sensitivity analysis with different number of frequency points are performed for the comparison: Case 1 with 11 frequency points and Case 2 with 51 frequency points. The comparison of the different methods of sensitivity analysis for the four-pole waveguide filter example is shown in Table 2.









TABLE 2







Comparison of CPU of different sensitivity analysis methods for the four-


pole waveguide filter














No. of LU
No. of F/B
Time of LU
Total



Sensitivity method
factorizations
substitutions
Factorizations
Time















11 Frequencies
Proposed Self-
1
34
2.1 min
4.1



adjoint EM



min



sensitivity analysis







Using Fast







frequency sweep







Proposed Adjoint
1
68
2.1 min
6.2



EM Sensitivity



min



Analysis Using Fast







frequency sweep







Self-adjoint EM
11
22
22.3 min
23.9



sensitivity analysis



min



Using Discrete







Frequency Analysis







Finite-Difference
13
442
26.4 min
41.2



Sensitivity Analysis



min



Using Fast







frequency sweep







Finite-Difference
143
286
4.7 h
4.9 h



Sensitivity Analysis







Using Discrete







Frequency Sweep






101 Frequencies
Proposed Self-
1
34
2.1 min
4.1



adjoint EM



min



sensitivity analysis







Using Fast







Frequency Sweep







Proposed Adjoint
1
68
2.1 min
6.2



Sensitivity Analysis



min



Using Fast







frequency sweep







Self-adjoint EM
102
204
3.3 h
3.4 h



sensitivity analysis







Using Discrete







Frequency Sweep







Finite-Difference
13
442
26.4 min
41.2



Sensitivity Analysis



min



Using Fast







Frequency Sweep







Finite-Difference
1326
2652
44.3 h
45.1



Sensitivity Analysis



h



Using Discrete







Frequency Sweep









Because 12 physical parameters are used in this example, 13 complete evaluations of the S-parameters (once at nominal values and 12 perturbations for 12 different physical parameters) are needed for the sensitivity analysis using the finite different method. For the self-adjoint EM sensitivity analysis using discrete frequency analysis, the cost increases as the number of frequency points for the EM design increases. From Table 2, the self-adjoint EM sensitivity analysis uses only one LU factorization and 34 forward/backward substitutions to obtain the derivatives of the S-parameters w.r.t 12 different physical parameters. The LU factorizations and forward/backward substitutions are the most time-consuming part during the overall sensitivity analysis process. The number of LU factorizations and forward/backward substitutions used by the proposed method is much fewer than that used by the existing methods listed in Table 2, therefore, the disclosed method takes much less time than the existing methods.



FIG. 4 and FIG. 5 show detailed comparisons of the derivatives of S11 and S21 with respect to h1 for the four-pole waveguide filter with the frequency swept from 10.5 GHz-11.5 GHz, respectively. As shown in FIG. 3 and FIG. 4, the derivatives calculated using the self-adjoint EM sensitivity analysis match very well with the derivatives calculated using the existing self-adjoint method and finite difference methods. To further verify the accuracy of the proposed self-adjoint EM sensitivity analysis method, the disclosure further provides the calculation of the derivatives of S-parameters w.r.t. other physical parameters. Detailed comparisons of the derivatives of S11 and S21 with respect to hc2 for this four-pole waveguide filter are shown in FIG. 6 and FIG. 7, respectively. From the comparisons, the self-adjoint EM sensitivity analysis using fast frequency sweep achieves the correct solution with a very low computational cost.


Appendix 1: Single-Size MPVL Method for EM sensitivity Analysis


1) Define δk,j, κk,j, e1, Iq, K0, K1, K2, bk, bj. Define frequency s. Define pre-solution frequency s0.


Define {wm}m=1q. Set Ks=K0+s0K1+s02K2


2) Obtain u0 by solving the linear system Ksu0=b1. Set







r
0

=



[




u
0







s
0



u
0





]



and


r

=


r
0

.






For m=1, 2, q do:


3) Set







v
m

=



r


r





and



λ
m


=


w
m
T




v
m

.







4) If m>1, set






t
m,m−1
=∥r∥.


5) Solving the linear system to obtain um,








K
s



u
m


=




1

S
0


[




K
0







-

s
0




K
2





]

T




v
m

.






Calculate






r
=


r
m

=


[




u
m







s
0



u
m





]

-



1

S
0


[




I
N




0
N






0
N




0
N




]




v
m

.








6) For l=1, 2, . . . , m do: Set







t

l
,
m


=





w
l
T


r


λ
l




and


r

=

r
-


t

l
,
m





v
l

.








End For


End For


7) Set






T
j
q=[tl,m]q×q,Vjq=[v1v2 . . . vq].






x
j
≈∥r
0
∥V
j
q(Iq−(s−s0)Tjq)−1e1.


8) Calculate








S

k
,
j


(
s
)




s




r
0







κ

k
,
j


[




b
k






0

N
×
1





]

T





V
j
q

(


I
q

-


(

s
-

s
0


)



T
j
q



)


-
1




e
1


-


δ

k
,
j


.






Appendix 2: Adjoint Electromagnetic Sensitivity Analysis using Single-Size MPVL Method


1) Define κk,j, e1, Iq, {tilde over (G)}i, {tilde over (C)}i, K0, K1, K2, {circumflex over (β)}k,j, and bj.


Define frequency s. Define pre-solution frequency s0.


Define {wm}m=1q. Set Ks=K0+s0K1+s02K2.


2) Obtain u0 by solving the linear system Ksu0=b1.


Set







r
0

=



[




u
0







s
0



u
0





]



and


r

=


r
0

.






For m=1, 2, . . . , q do:


3) Set







v
m

=



r


r




and



λ
m


=


w
m
T




v
m

.







4) If m>1, set






t
m,m-1
=∥r∥.


5) Solving the linear system to obtain um,








K
s



u
m


=




1

s
0


[




K
0






-

s
0



K
2





]

T




v
m

.






Calculate






r
=


r
m

=


[




u
m







s
0



u
m





]

-



1

s
0


[




I
N




0
N






0
N




0
N




]



v

m
.









6) For l=1, 2, . . . , m do: Set







t

l
,
m


=





w
l
T


r


λ
l



and


r

=

r
-


t

l
,
m





v
l

.








End For


End For


7) Set






T
k
q=[tl,m]q−q,Vkq=[v1v2 . . . vq],






x
j
q
=∥r
0
∥V
j
q(Iq−(s−s0)Tjq)−1e1.


8) Repeat 2)-7) by changing bj to {circumflex over (β)}k,j to calculate {circumflex over (x)}k,jqT


9) Calculate










S

k
,
j






ϕ
i





-



x
^


k
,
j


q
T


(



G
~

i

+

s



C
~

i



)




x
j
q

.






Appendix 3: Self-Adjoint Electromagnetic Sensitivity Analysis using Single-Size MPVL Method


1) Define κk,j, e1, Iq, {tilde over (G)}i, {tilde over (C)}i, K0, K1, K2, bk, and bj.


Define frequency s. Define pre-solution frequency s0.


Define {wm}m=1q. Set Ks=K0+s0K1+s02K2.


2) Obtain u0 by solving the linear system Ksu0=bj.


Set







r
0

=



[




u
0







s
0



u
0





]


and


r

=


r
0

.






For m=1, 2, . . . , q do:


3) Set







v
m

=



r


r




and



λ
m


=


w
m
T




v
m

.







4) If m>1, set






t
m,m-1
=∥r∥.


5) Solving the linear system to obtain um,








K
s



u
m


=




1

s
0


[




K
0






-

s
0



K
2





]

T




v
m

.






Calculate






r
=


r
m

=


[




u
m







s
0



u
m





]

-



1

s
0


[




I
N




0
N






0
N




0
N




]




v
m

.








6) For l=1, 2, . . . , m do: Set







t

l
,
m


=





w
l
T


r


λ
l



and


r

=

r
-


t

l
,
m





v
l

.








End For


End For


7) Set






T
j
q=[tl,m]q×q,Vjq=[v1v2 . . . vq],






x
j
q
=∥r
0
∥V
j
q(Iq−(s−s0)Tjq)−1e1.


8) Repeat 2)-7) by changing bj to bk to calculate xkq.


9) Calculate










S

k
,
j






ϕ
i





-

κ

k
,
j





x
k

q
T


(



G
~

i

+

s



C
~

i



)




x
j
q

.





Claims
  • 1. An electromagnetic device design system comprising: one or more processors of a machine; andcomputer-storage medium storing instructions, which when executed by the machine, cause the machine to perform operations for EM sensitivity analysis for an electromagnetic (EM) device, the operations comprising: initiating physical parameters of the EM device, wherein the EM device comprises multiple ports;performing EM simulation for the EM device at a pre-solution frequency using the finite-element method (FEM);applying single-size matrix Padé via Lanczos (MPVL) method in fast frequency sweep and performing EM simulation for the EM device under excitation at each port to obtain field solutions of the EM device in a frequency range;calculating S-parameters for the multiple ports of the EM device;obtaining derivatives of a full scattering matrix for the multiple ports with respect to the physical parameters of the EM device in the frequency range;selecting a solution and updating EM device design to replace initial values of the physical parameters of the EM device with a selected solution;performing EM simulation for the EM device at a frequency of the selected solution using FEM; anddetermining the simulated result satisfies a physical specification of the EM device;wherein: applying single-size MPVL method in fast frequency sweep comprises:transforming a single-size system matrix with a dimension of N×N into a double-size system matrix with a dimension of 2N×2N for omitting second order terms of frequency, wherein N represents a number of elements in a field vector and the single-size system matrix is of a linear combination of global finite-element system matrices;generating a first linear system using the double-size system matrix;representing solving vectors of the first linear system with the global finite-element system matrices using the block matrix inversion method and transforming the first linear system into a second linear system, wherein the second linear system is of the single-size system matrix; andsolving the second linear system by performing fast frequency sweep incorporated with MPVL method and obtaining field solution in a frequency range as the following: xk≈xkq=∥r0∥vkq(Iq−(s−s0)Tkq)−1e1 wheres represents a frequency;s0 represents a pre-solution frequency;q is a reduced order in MPVL method;xk is a vector of field solution under excitation at port k;xkq represents a vector of qth order reduced field solution under excitation at port k;r0 represents a solution vector of the first linear system at 0th MPVL iteration;Vkq is represented as Vkq=[vm]m=1q=[v1 v2 . . . vq], where vm is an orthonormal basis vector of the Krylov subspace for model order reduction;Iq is an identity matrix with a dimension of q×q;Tkq, is a reduced order matrix; ande1 is represented as e1=[1 0 . . . 0]T with a dimension of 1×q.
  • 2. An electromagnetic device design system comprising: one or more processors of a machine; andcomputer-storage medium storing instructions, which when executed by the machine, cause the machine to perform operations for EM sensitivity analysis for an electromagnetic (EM) device, the operations comprising: initiating physical parameters of the EM device wherein the EM device comprises multiple ports;performing EM simulation for the EM device at a pre-solution frequency using the finite-element method (FEM);solving a linear system under excitation at port j to obtain a field solution under excitation at port j by fast frequency sweep;solving an adjoint representation of the linear system under excitation at port k to obtain an adjoint field solution between port k and port j by fast frequency sweep;calculating derivatives of a S-parameter of port j and port k with respect to ϕi based on an adjoint sensitivity formula;obtaining derivatives of a full scattering matrix for the multiple ports with respect to the physical parameters of the EM device in the frequency range;selecting a solution and updating EM device design to replace the one of the physical parameters of the EM device with the selected solution;performing EM simulation for the EM device at a frequency of the selected solution using FEM; anddetermining the simulated result satisfies a physical specification of the EM device;wherein the adjoint sensitivity formula is written as
  • 3. An electromagnetic device design system comprising: one or more processors of a machine; andcomputer-storage medium storing instructions, which when executed by the machine, cause the machine to perform operations for EM sensitivity analysis for an electromagnetic (EM) device, the operations comprising: initiating physical parameters of the EM device wherein the EM device comprises multiple ports;performing EM simulation for the EM device at a pre-solution frequency using the finite-element method (FEM);solving a linear system under excitation at port j to obtain a field solution under excitation at port j by fast frequency sweep;solving the linear system under excitation at port k to obtain a field solution under excitation at port k by fast frequency sweep;calculating derivatives of a S-parameter of port j and port k with respect to ϕi based on a self-adjoint sensitivity formula;obtaining derivatives of a full scattering matrix for the multiple ports with respect to the physical parameters of the EM device in the frequency range;selecting a solution and updating EM device design to replace initial values of the physical parameters of the EM device with the selected solution;performing EM simulation for the EM device at a frequency of the selected solution using FEM; anddetermining the simulated result satisfies a physical specification of the EM device;whereinthe self-adjoint sensitivity formula is written as
  • 4. An electromagnetic device design system comprising: one or more processors of a machine; andcomputer-storage medium storing instructions, which when executed by the machine, cause the machine to perform operations for EM sensitivity analysis for an electromagnetic (EM) device, the operations comprising: initiating physical parameters of the EM device wherein the EM device comprises multiple ports;performing EM simulation for the EM device at a pre-solution frequency using the finite-element method (FEM);solving a linear system under excitation at port j by performing fast frequency sweep with single-size MPVL method to obtain an order reduced field solution under excitation at port j in a frequency range;solving an adjoint representation of the linear system under excitation at port k by performing fast frequency sweep with single-size MPVL method to obtain an order reduced adjoint field solution between port k and port j in the frequency range;calculating derivatives of a S-parameter of port j and port k with respect to ϕi based on an adjoint sensitivity formula;obtaining derivatives of a full scattering matrix for the multiple ports with respect to the physical parameters of the EM device in the frequency range;selecting a solution and updating EM device design to replace initial values of the physical parameters of the EM device with the selected solution;performing EM simulation for the EM device at a frequency of the selected solution using FEM; anddetermining the simulated result satisfies a physical specification of the EM device;wherein: performing fast frequency sweep with single-size MPVL method comprises:transforming a single-size system matrix with a dimension of N×N into a double-size system matrix with a dimension of 2N×2N for omitting second order terms of frequency, wherein N represents the number of elements in a field vector and the single-size system matrix comprises a linear combination of global finite-element system matrices;generating a first linear system using the double-size system matrix;representing solving vectors of the first linear system with the global finite-element system matrices using block matrix inversion method and transforming the first linear system into a second linear system, wherein the second linear system is of the single-size system matrix; andsolving the second linear system by performing fast frequency sweep incorporated with MPVL method and obtaining a field solution in a frequency range by the following: xk≈xkq=∥r0∥vkq(Iq−(s−s0)Tkq)−1e1;and the adjoint sensitivity formula is written as:
  • 5. An electromagnetic device design system comprising: one or more processors of a machine; andcomputer-storage medium storing instructions, which when executed by the machine, cause the machine to perform operations for EM sensitivity analysis for an electromagnetic (EM) device, the operations comprising: initiating physical parameters of the EM device wherein the EM device comprises multiple ports;performing EM simulation for the EM device at a pre-solution frequency using the finite-element method (FEM);performing fast frequency sweep with single-size MPVL method to obtain an order reduced field solution under excitation at port j of the EM device in a frequency range;performing fast frequency sweep with single-size MPVL method to obtain an order reduced field solution under excitation at port k of the EM device in a frequency range;calculating derivatives of a S-parameter of port j and port k with respect to ϕi based on a self-adjoint sensitivity formula;obtaining derivatives of a full scattering matrix for the multiple ports with respect to the physical parameters of the EM device in the frequency range;selecting a solution and updating EM device design to replace initial values of the physical parameters of the EM device with the selected solution;performing EM simulation for the EM device at a frequency of the selected solution using FEM; anddetermining the simulated result satisfies a physical specification of the EM device;wherein: performing fast frequency sweep with single-size MPVL method comprises:transforming a single-size system matrix with a dimension of N×N into a double-size system matrix with a dimension of 2N×2N for omitting second order terms of frequency, wherein N represents the number of elements in a field vector and the single-size system matrix comprises a linear combination of global finite-element system matrices;generating a first linear system using the double-size system matrix;representing solving vectors of the first linear system with the global finite-element system matrices using block matrix inversion method and transforming the first linear system into a second linear system, wherein the second linear system is of the single-size system matrix; andsolving the second linear system by performing fast frequency sweep incorporated with MPVL method and obtaining field solution of the EM device in a frequency range as the following: xk≈xkq=∥r0∥Vkq(Iq−(s−s0)Tkq)−1e1,and the self-adjoint sensitivity formula is written as
Priority Claims (1)
Number Date Country Kind
202110992300.2 Aug 2021 CN national