This patent application claims the benefit and priority of Chinese Patent Application No. 202211635892.3, filed with the China National Intellectual Property Administration on Dec. 20, 2022, the disclosure of which is incorporated by reference herein in its entirety as part of the present application.
The present disclosure relates to the field of computational electromagnetic simulation, and in particular, to a domain decomposition method and system for electromagnetic simulation based on discontinuous Galerkin-Robin transmission conditions (DGRTCs).
Computational electromagnetics is developed based on the theory of the electromagnetic field. By using the Maxwell equation/wave equation, computational mathematical methods, as well as high-performance computer technology, it aims to solve complex electromagnetic field theory and engineering application problems. The most commonly used method of computational electromagnetics is the full-wave numerical algorithm, which mainly includes the finite element method (FEM) based on the differential equation, the finite-difference time-domain method (FDTD), and the method of moments based on an integral equation. Computational electromagnetic methods are also widely used in antenna design and optimization, electromagnetic compatibility of microwave devices, radar target feature analysis and recognition, and chip simulation and design.
With the rapid development of information technology, Moore's Law continues to approach the limit, complementary metal oxide semiconductor (CMOS) technology continues to progress and develop, and the size of the chip has been reduced to the nanometer level. Based on the traditional through silicon via (TSV) technology and through glass via (TGV) technology, scholars have proposed new technologies such as graphene via and carbon nano via, and the physical size has entered the atomic level. The development of heterogeneous integration technology makes it possible to integrate nano, micro, and even macro devices into a single package. Therefore, the complexity of electromagnetic engineering simulation problems such as array antenna and the integrated circuit is limited by the electrical size, large scale of the integrated circuit and huge size difference (multi-scale). With the improvement of computing scale and model complexity, it is increasingly difficult to ensure the quality of mesh subdivision and the efficient and accurate solution of the system matrix. To “capture” the rapidly changing field information in a small structure, the global fine subdivision of the whole system will greatly affect the mesh quality and matrix state. The unknown quantity will also increase sharply, resulting in the waste of computing resources such as memory and running time. It is difficult for traditional methods to find an excellent balance between computational efficiency and computational accuracy when facing such problems. Therefore, it is urgent to research efficient, stable, and feasible numerical algorithms.
The domain decomposition method is one of the effective solutions to such problems. Its core idea is “divide and conquer”, that is, decompose a large problem/space that is difficult to solve into multiple smaller subproblems/subspaces that are easy to solve and solve them separately. The subspaces are connected with appropriate transmission conditions. The new problem to be solved after decomposition is completely equivalent to the original problem, to solve the problem of matrix ill-condition and difficult convergence encountered by the traditional FEM when solving the large-scale matrix.
An objective of the present disclosure is to provide a domain decomposition method and system for electromagnetic simulation, to achieve efficient and accurate full-wave simulation of the antenna array.
To achieve the above objective, the present disclosure provides the following technical solutions:
A domain decomposition method for electromagnetic simulation includes:
Optionally, a process of calculating an electric field value and a magnetic field value of any point in a tetrahedron to which each of the edges belongs using a vector basis function corresponding to the edge and a double curl electric field wave equation of a subdomain to which the edge belongs specifically includes:
It should be noted that for the magnetic field value here, only the magnetic field value at the interface of the subdomain needs to be calculated (because the magnetic field expansion coefficient and the magnetic field vector basis function only exist at the interface of the subdomain). In fact, when the electric field value is obtained, the magnetic field value in the whole domain can be calculated through the Maxwell equation.
Optionally, the equation of the DG test on the electric field wave equation is:
where i represents an i-th subdomain, and εi, μi, and σi are a permittivity of a subdomain Ωi, a magnetic permeability of the subdomain Ωi, and electric conductivity of the subdomain Ωi respectively; Φ is a testing function, and the testing function is equal to an electric field vector basis function; E is the electric field; H is the magnetic field; {circumflex over (n)} represents a normal unit vector; j is an imaginary part; ω is an angular frequency; Jimi is an impressed volume electric current source in the subdomain Ωi; ∇× represents a curl symbol; V represents a volume of the subdomain; and S represents a surface area of the subdomain.
Optionally, a formula of the numerical flux is:
where Zi represents the wave impedance of the subdomain Ωi; Zj represents the wave impedance of a neighboring subdomain Ωj; the neighboring subdomain is a neighboring subdomain of the subdomain; Hi represents a magnetic field at an interface of the subdomain Ωi, and Hj represents a magnetic field at an interface of the neighboring subdomain Ωj; Ei represents an electric field at the interface of the subdomain, and Ej represents an electric field at the interface of the neighboring subdomain; and n represents a normal unit vector.
Optionally, the boundary condition equation is:
{circumflex over (n)}
i
×E
j
−τ{circumflex over (n)}
i
×H
i
×{circumflex over (n)}
i
=−{circumflex over (n)}
j
×E
j
−τ{circumflex over (n)}
j
×H
j
×{circumflex over (n)}
j,
where τ is a scale factor.
Optionally, the second equation is:
where Ψi is a magnetic field vector basis function of the subdomain Ωi; j is an imaginary part; and ω is angular frequency.
The present disclosure further provides a domain decomposition system for electromagnetic simulation, including:
Optionally, the electric field and magnetic field calculation module specifically include:
According to the specific embodiments provided by the present disclosure, the present disclosure discloses the following technical effects:
The present disclosure provides the domain decomposition method and system for electromagnetic simulation. The method includes: dividing an antenna structure model into multiple subdomains, where each of the subdomains corresponds to a structure in one to-be-simulated array antenna; subdividing each of the subdomains by a tetrahedral network to obtain multiple tetrahedrons; obtaining a vector basis function of each edge of each of the tetrahedrons according to vertex positions and lengths of the edges of the tetrahedron; and calculating an electric field value and a magnetic field value of any point in a tetrahedron to which each of the edges belongs using a vector basis function corresponding to the edge and a double curl electric field wave equation of a subdomain to which the edge belongs. The antenna structure model is divided according to the structure of the array antenna. Each of the divided subdomains corresponds to a structure in one of the to-be-simulated array antennas. Different structures are subdivided using tetrahedral meshes of different sizes. For fine structures, the smaller tetrahedral meshes are used for fine division. For the non-fine structures, slightly larger tetrahedral meshes can be used for division. Therefore, the defect of low calculation accuracy caused by the use of larger tetrahedral meshes to subdivide the entire antenna array in order to reduce the amount of calculation in the prior art is avoided. In addition, because the subdomains with a high degree of fine demand are subdivided by smaller tetrahedral meshes in the present disclosure, the defect of low calculation efficiency caused by the use of finer tetrahedral meshes to subdivide the entire antenna array in order to ensure the calculation accuracy in the prior art is avoided. Thus, the solution of the present disclosure can realize efficient and accurate simulation calculations of the antenna array.
To describe the technical solutions in the embodiments of the present disclosure or the prior art more clearly, the accompanying drawings required for the embodiments are briefly described below. Apparently, the accompanying drawings in the following description show merely some embodiments of the present disclosure, and those of ordinary skill in the art may still derive other accompanying drawings from these accompanying drawings without creative efforts.
The technical solutions of the embodiments of the present disclosure are clearly and completely described below regarding the accompanying drawings. Apparently, the described embodiments are merely a part rather than all of the embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
An objective of the present disclosure is to provide a domain decomposition method and system for electromagnetic simulation, to achieve efficient and accurate full wave simulation.
To make the above-mentioned objective, features, and advantages of the present disclosure clearer and more comprehensible, the present disclosure will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
The present embodiment provides a domain decomposition method for electromagnetic simulation, including the following steps.
S1, An antenna structure model is divided into multiple subdomains. The antenna structure model is an antenna structure model obtained by modeling to-be-simulated array antennas with modeling software. Each of the subdomains corresponds to a structure in one of the to-be-simulated array antennas.
S2, Each of the subdomains is subdivided by a tetrahedral network to obtain multiple tetrahedrons. The size of the tetrahedral network is determined by the degree of fine demand of the corresponding subdomain, and the degree of fine demand of the subdomain is determined by the degree of fine subdivision demand of a corresponding structure.
S3, A vector basis function of each edge of each of the tetrahedrons is obtained according to vertex positions and lengths of the edges of the tetrahedron. The vector basis function includes an electric field vector basis function and a magnetic field vector basis function.
S4, An electric field value and a magnetic field value of any point in a tetrahedron to which each of the edges belongs are calculated using a vector basis function corresponding to the edge and a double curl electric field wave equation of a subdomain to which the edge belongs.
Optionally, step S4 specifically includes the following sub-steps.
S41, A DG test is performed on the double curl electric field wave equation of the subdomain to which the edge belongs to obtain a test equation.
First, a double curl E-field wave equation of a subdomain Ωi is defined as:
∇×(μi−1∇×Ei)−ω2εiEi+jωσiEi=−jωJimi (1)
where ∈i, μi, and σi are a permittivity of the subdomain Ωi, magnetic permeability of the subdomain Ωi, and an electric conductivity of the subdomain Ωi respectively, Jimi is an impressed volume electric current source in the subdomain Ωi, and E is the electric field.
A DG test is performed on (1) with a testing function of the electric field vector basis function of the edge to obtain the test equation:
where i represents an i-th subdomain, εi, μi, and σi are a permittivity of a subdomain Ωi, a magnetic permeability of the subdomain Ωi, and an electric conductivity of the subdomain Ωi respectively, Φ is a testing function and the testing function is equal to an electric field vector basis function, E is the electric field, H is the magnetic field, {circumflex over (n)} represents a normal unit vector, j is an imaginary part, ω is an angular frequency, Jimi is an impressed volume electric current source in the subdomain Ωi, ∇× represents a curl symbol, V represents a volume of the subdomain, and S represents an area of the subdomain.
S42, A numerical flux is substituted into the test equation to obtain a first equation.
Optionally, a formula of the numerical flux is:
where Zi represents the wave impedance of the subdomain Ωi, Zj represents the wave impedance of a neighboring subdomain Ωj, the neighboring subdomain is a neighboring subdomain of the subdomain, Hi represents a magnetic field at an interface of the subdomain Ωi, Hj represents a magnetic field at an interface of the neighboring subdomain Ωj, Ei represents an electric field at the interface of the subdomain, and Ei represents an electric field at the interface of the neighboring subdomain.
The numerical flux has two main functions: (1) implementation of boundary conditions and (2) facilitation of information exchange between adjacent subdomains.
S43, A boundary condition equation satisfying tangential continuity of an electric field and a magnetic field of the subdomain is defined. The tangential continuity means that components of the electric field and the magnetic field in a tangential direction are continuous at an interface of every two adjacent subdomains.
According to the above formula (3), the magnetic field Hj at the interface of adjacent subdomains is introduced, so another equation is required.
In order to ensure that the decomposed problem has the same solution as the original problem, it is necessary to maintain the tangential continuity of E and H at the interface of adjacent subdomains. That is,
{circumflex over (n)}
i
×E
i
=−{circumflex over (n)}
j
×E
j (4)
and
{circumflex over (n)}
i
×H
i
×{circumflex over (n)}
i
={circumflex over (n)}
j
×H
j
×{circumflex over (n)}
j (5)
Through (4) and (5), a Robin transmission condition (RTC) can be implemented:
{circumflex over (n)}
i
×E
i
−τ{circumflex over (n)}
i
×H
i
×{circumflex over (n)}
i
=−{circumflex over (n)}
j
×E
j
−τ{circumflex over (n)}
j
×H
j
×{circumflex over (n)}
j (6),
where τ is a scale factor used to balance the matrix system formed later.
{circumflex over (n)}j={circumflex over (n)}i is substituted into Formula (6) to obtain:
{circumflex over (n)}
j×(Ei−Ej)−τ{circumflex over (n)}i×(Hi−Hj)×{circumflex over (n)}i=0 (7).
S44, A DG test is performed on the boundary condition equation to obtain a second equation.
A DG test is performed on Formula (7) with a testing function of the magnetic field vector basis function of the edge. After the test, the left and right sides are multiplied by jω:
where Ψi is a magnetic field vector basis function of the subdomain Ωi.
S45, An electric field expansion coefficient of the edge and a magnetic field expansion coefficient of the edge are calculated according to the first equation and the second equation.
Eilj and Hilj are expanded by the vector basis functions Φlilj and Ψlilj:
where Φl represents an l-th electric field vector basis function, Ψl represents an l-th magnetic field vector basis function, el represents the electric field expansion coefficient corresponding to Φl, hl represents the magnetic field expansion coefficient corresponding to Ψl, le represents a total number of electric field vector basis functions in the subdomain, and lh represents a total number of magnetic field vector basis functions in the subdomain.
It should be noted that the magnetic field Hilj is only distributed at the interface of subdomains i and j, while the electric field Eilj is distributed at any point of the array antenna, so the unknown quantity of the magnetic field is much smaller than that of the electric field. The traditional DG method solves the Maxwell equation, which needs to solve the electric field and the magnetic field simultaneously in the whole domain. It consumes a lot of memory when dealing with large-scale integrated circuit problems, which is a heavy burden. In order to solve the electric field wave equation, this algorithm only needs to solve the magnetic field at the interface of domain decomposition and the electric field in the whole domain, which greatly reduces the cost of memory.
According to Formulas (2) and (8), Formulas (9) and (10) are used to replace the electric field E and magnetic field H in (2) and (8), and the following matrix equation is obtained:
where
To facilitate the solution, (11) is written in a more compact form:
where
Formula (12) is a matrix governing equation of each subdomain. In order to solve the whole domain with the domain decomposition algorithm, the solution of the equations is approached by the vector obtained in the Krylov subspace that minimizes the residuals. In addition, the preconditioning technique can be used to further accelerate the convergence of the generalized minimum residual (GMRES) algorithm. In the present disclosure, the right preconditioning processing technique is used to accelerate the convergence of the algorithm. The problem of solving the original linear equation Au=b is transformed to solve Ax=AP−1u=b, where x=P−1u, and the matrix P is the matrix of the subdomain (A in Formula 11).
P is the matrix of each subdomain. The correct prerequisite GMRES (m) algorithm is briefly given below.
1, Start: an initial value x0, a size m of the Krylov subspace, and an error threshold ε are selected.
2, Arnoldi process: r0=b−Ax0, β=∥r0∥2, and v1=r0/β are calculated.
When convergence is not reached,
and
and the Heisenberg matrix {tilde over (l)}−m └n,m┘ and the basis vector Vm=[v1, . . . , vm] are obtained.
3, ym is solved by minimizing
and e1=[1, 0, . . . , 0]T.
4, An approximate solution: xm=x0+M−1Vmym is obtained.
Restart: If there is no convergence, x0=xm is set and the method goes to step 2, where the convergence criterion is ∥r∥2/∥b∥2″ε.
S46, The electric field value of any point in the tetrahedron to which the edge belongs is calculated according to the electric field expansion coefficient of the edge and the electric field vector basis function corresponding to the edge.
After the electric field expansion coefficient of the edge is calculated, according to the tetrahedron to which the position to be solved belongs, the electric field expansion coefficient of each edge in the tetrahedron and the electric field vector basis function of each edge are substituted into Formula (9) to obtain the electric field value at the position to be solved.
S47, The magnetic field value at the interface of the subdomain to which the edge belongs is calculated according to the magnetic field expansion coefficient of the edge and the magnetic field vector basis function corresponding to the edge.
One or two specific calculation examples are provided below to illustrate the effect of the method of the present disclosure.
This calculation example is a typical microstrip patch antenna. Referring to
The DGRTC algorithm, the FEM algorithm, and the commercial softwareHFSS of the present disclosure are used to simulate the above microstrip patch antenna.
Calculation Example 2 is a 6×6 microstrip patch antenna array. Referring to
Meanwhile,
The traditional FEM needs to solve a large sparse matrix when solving a problem with a large unknown quantity, which is easy to cause the matrix ill-condition and difficult to converge, and the computational efficiency is greatly reduced. The sparse matrix size of this algorithm only depends on the size of the subdomain, and the matrix is processed by the preconditioning technique, so the efficiency of an iterative solution is significantly improved.
Although the traditional DG method can be arbitrarily modeled and realize the domain decomposition at the unit level, it needs to solve the electric field and the magnetic field simultaneously in the whole domain because it solves the Maxwell equation. It consumes a lot of memory when dealing with large-scale integrated circuit problems, which is a heavy burden. In order to solve the electric field wave equation, this algorithm only needs to solve the magnetic field at the interface of domain decomposition and the electric field in the whole domain, which greatly reduces the memory and the unknown quantity compared with the traditional DG method.
The present embodiment provides a domain decomposition system for electromagnetic simulation, referring to
The domain division module M1 is configured to divide an antenna structure model into multiple subdomains. The antenna structure model is an antenna structure model obtained by modeling to-be-simulated array antennas with modeling software. Each of the subdomains corresponds to a structure in one of the to-be-simulated array antennas.
The subdivision module M2 is configured to subdivide each of the subdomains by a tetrahedral network to obtain multiple tetrahedrons. The size of the tetrahedral network is determined by the degree of fine demand of the corresponding subdomain, and the degree of fine demand of the subdomain is determined by the degree of fine subdivision demand of a corresponding structure.
The vector basis function obtaining module M3 is configured to obtain a vector basis function of each edge of each of the tetrahedrons according to vertex positions, lengths of the edges, and a volume parameter of the tetrahedron. The vector basis function includes an electric field vector basis function and a magnetic field vector basis function.
The electric field and magnetic field calculation module M4 is configured to calculate an electric field value and a magnetic field value of any point in a tetrahedron to which each of the edges belongs using a vector basis function corresponding to the edge and a double curl electric field wave equation of a subdomain to which the edge belongs.
Optionally, the electric field and magnetic field calculation module M4 specifically includes: a first test sub-module M41, a first equation obtaining sub-module M42, a boundary condition equation obtaining sub-module M43, a second test sub-module M44, an expansion coefficient calculation sub-module M45, an electric field value calculation sub-module M46, and a magnetic field value calculation sub-module M47.
The first test sub-module M41 is configured to perform a DG test on the double curl electric field wave equation of the subdomain to which the edge belongs to obtain a test equation.
The first equation obtaining sub-module M42 is configured to substitute a numerical flux into the test equation to obtain a first equation.
The boundary condition equation obtaining sub-module M43 is configured to define a boundary condition equation satisfying the tangential continuity of an electric field and a magnetic field of the subdomain. The tangential continuity means that components of the electric field and the magnetic field in a tangential direction are continuous at an interface of every two adjacent subdomains.
The second test sub-module M44 is configured to perform a DG test on the boundary condition equation to obtain a second equation.
The expansion coefficient calculation sub-module M45 is configured to calculate an electric field expansion coefficient of the edge and a magnetic field expansion coefficient of the edge according to the first equation and the second equation.
The electric field value calculation sub-module M46 is configured to calculate the electric field value of any point in the tetrahedron to which the edge belongs according to the electric field expansion coefficient of the edge and the electric field vector basis function corresponding to the edge.
The magnetic field value calculation sub-module M47 is configured to calculate the magnetic field value of any point in the tetrahedron to which the edge belongs according to the magnetic field expansion coefficient of the edge and the magnetic field vector basis function corresponding to the edge.
Embodiments of the present specification are described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts between the embodiments may refer to each other. Since the system disclosed in an embodiment corresponds to the method disclosed in another embodiment, the description is relatively simple, and reference can be made to the method description.
Specific examples are used herein to explain the principles and embodiments of the present disclosure. The foregoing description of the embodiments is merely intended to help understand the method of the present disclosure and its core ideas; besides, various modifications may be made by those of ordinary skill in the art to specific embodiments and the scope of application in accordance with the ideas of the present disclosure. In conclusion, the content of the present specification shall not be construed as limitations to the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202211635892.3 | Dec 2022 | CN | national |