Configuration method based on multipole method
The conductor surface current is discretized into the local current on the surface element through the centroid-midpoint basis function and the sparse mapping matrix, which solves the complex problem of vector bit integral calculation of the RWG basis function, achieves faster and more efficient integral calculation, and simplifies Configuration of fast multipole algorithms.
Patent Information
- Application Number
- PCT/CN2023/141782
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-27
- Filing Date
- 2023-12-26
- Publication Date
- 2024-10-31
AI Technical Summary
When the existing algorithm based on area integral equations calculates the current distribution on the conductor surface, the vector bit integral calculation of the RWG basis function is complex and time-consuming, especially when combined with the fast multipole algorithm, the RWG current needs to be decomposed into xyz Elements in three directions make calculation and configuration difficult, and edge-based precondition matrix filling is time-consuming.
The centroid-midpoint basis function is used to discretize the conductor surface current into the local current on the surface element, establish a sparse mapping matrix, map the loop current to the surface element, and accelerate the matrix-vector multiplication through the surface element configuration FMM algorithm and convert it into a scalar Bit integral calculation simplifies the calculation process.
Achieve faster and easier integral calculation, save 1.5-2 times of calculation time, vector bit integral calculation speed is 9-16 times faster than scalar bit integral, simplify the configuration of fast multipole algorithm, reduce calculation complexity .
Smart Images

Figure CN2023141782_31102024_PF_FP_ABST
Abstract
Description
A multipole algorithm configuration method Technical Field
[0001] The present invention relates to the field of algorithm optimization for parasitic parameter extraction, and in particular to a RL parameter extraction and configuration method based on a multipole algorithm. Background Art
[0002] Existing algorithms for solving impedance parameters based on surface integral equations require calculating the current distribution on the conductor surface. To discretize the surface current, existing technologies use RWG basis functions. RWG basis functions are built on the edges of each facet. The vector potential integral calculation of the RWG basis function is relatively complex, and when used in conjunction with the fast multipole algorithm, the RWG current needs to be decomposed into elements in the x, y, and z directions for invocation. This is computationally consuming and difficult to configure. Edge-based preconditioning matrix filling is also relatively time-consuming.
[0003] Summary of the Invention
[0004] In view of the above problems, the present invention is proposed to provide a multipole algorithm configuration method that overcomes the above problems or at least partially solves the above problems.
[0005] According to one aspect of the present invention, a fast multipole algorithm configuration method is provided, the configuration method comprising:
[0006] The conductor surface is divided into rectangular / triangular mixed surface elements, the number of surface elements is N p , the number of edges is N e , the number of loop currents is N l ;
[0007] Establish a sparse mapping matrix M from loop current to edges;
[0008] Establish edge-to-surface sparse mapping matrices A1, A2, A3;
[0009] The conductor surface current is discretized using the centroid-midpoint basis function first proposed in this paper;
[0010] Applying the sparse mapping matrix to map the loop current to the bin;
[0011] Establish a preconditioning matrix;
[0012] Accelerate matrix-vector multiplication based on facet-based FMM algorithm;
[0013] The RL parameters are obtained by post-processing.
[0014] Optionally, the dimension of the sparse mapping matrix M is N l ×N e , the dimensions of A1, A2, and A3 are all N e ×Np .
[0015] Optionally, the non-zero elements of the matrix M are 1 or -1, where the value is 1 if the direction of the current defined on the edge is the same as the direction of the loop current, and -1 if the opposite direction is the same.
[0016] Optionally, the non-zero elements in each column of the sparse mapping matrix A1, A2, A3 correspond to the numbers of the bin edges, and the values of the matrices are the x, y, and z components of the coordinate differences between the midpoints of the corresponding edges and the bin midpoints.
[0017] Optionally, the method for obtaining the sparse mapping matrices A1, A2, and A3 specifically includes:
[0018] Get the surface element S i and S j All current vectors ρ ik ,ρ jl ;
[0019] k,l are bins S i and S j The index of the upper edge;
[0020] If ρ ik The direction of is the same as the direction of the current on the edge, then A1(k,i)=ρ ik (x),A2(k,i)=ρ ik (y),A3(k,i)=ρ ik (z), otherwise, A1(k,i)=-ρ ik (x),A2(k,i)=-ρ ik (y),A3(k,i)=-ρ ik (z). Here x, y, z represent the x-, y-, and z-components of the current vector;
[0021] If ρ jl The direction is the same as the edge current direction, A1(l,j)=ρ jl (x),A2(l,j)=ρ jl (y),A3(l,j)=ρ jl (z), otherwise, A1(l,j)=-ρ jl (x),A2(l,j)=-ρ jl (y),A3(l,j)=-ρ jl (z).
[0022] Alternatively, based on mapping the loop current to the bin, the formula is as follows:
[0023] The linear equations for solving the RL parameters in loop current analysis are further transformed into
[0024] Where P represents the scalar bit integral matrix based on the bin;
[0025] M(A1PI p1 +A2PI p2 +A3PI p3 )=V l ;
[0026] in
[0027] The present invention provides a method for extracting and configuring RL parameters based on a multipole algorithm. This method converts the vector integral calculation of the RWG basis function into a scalar integral calculation of the impulse function. Because the impulse function is based on bins, the new integral calculation method is easier to operate and faster. Accordingly, the use of the fast multipole algorithm only requires bins rather than edges, making it easier to configure the fast multipole algorithm.
[0028] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0030] FIG1 is a flow chart of a RL parameter extraction and configuration method based on a multipole algorithm provided by an embodiment of the present invention;
[0031] FIG2 is a schematic diagram of arrow indications of a sparse mapping matrix according to an embodiment of the present invention;
[0032] FIG3 is a schematic diagram of an algorithm for generating the three mapping matrices provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0033] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0034] The terms "comprises" and "comprising" and any variations thereof in the description, embodiments, claims and drawings of the present invention are intended to cover non-exclusive inclusions, for example, including a series of steps or units.
[0035] The technical solution of the present invention is further described in detail below with reference to the accompanying drawings and embodiments.
[0036] As shown in Figure 1, the surface is divided into rectangular / triangular mixed surface elements, and the number of surface elements is N p , the number of edges is N e , the number of loop currents is N l .
[0037] Establish a sparse mapping matrix M from loop current to edge. The dimension of matrix M is N l ×N e The non-zero elements of the matrix M are 1 or -1. If the direction of the current defined on the edge is the same as the direction of the loop current, it is 1; otherwise, it is -1.
[0038] Create edge-to-surface sparse mapping matrices A1, A2, A3, where the dimensions of A1, A2, A3 are all N e ×N p The method of obtaining the sparse mapping matrix A1, A2, A3 specifically includes: obtaining the surface element S i and S j All current vectors ρ ik and ρ jl , k,l are the bins S i and S j The index of the edge above, if ρ ik The direction of is the same as the direction of the current on the edge, then A1(k,i)=ρ ik (x),A2(k,i)=ρ ik (y),A3(k,i)=ρ ik (z), otherwise, A1(k,i)=-ρ ik (x),A2(k,i)=-ρ ik (y),A3(k,i)=-ρ ik (z); where x, y, z represent the x-, y-, and z-components of the current vector; if ρ jl The direction is the same as the edge current direction,
[0039] A1(l,j)=ρ jl (x),A2(l,j)=ρ jl (y),A3(l,j)=ρ jl (z), otherwise, A1(l,j)=-ρ jl (x),A2(l,j)=-ρ jl(y),A3(l,j)=-ρ jl (z).
[0040] Map the loop current to the surface element. The linear equations for solving the RL parameters in the loop current analysis are further converted into
[0041] Where P represents the scalar bit integral matrix based on the bin;
[0042] M(A1PI p1 +A2PI p2 +A3PI p3 )=V l ;
[0043] in
[0044] Through the above conversion, only the fast multipole algorithm is used to accelerate the matrix-vector multiplication PI p1 ,PI p2 ,PI p3 Taking triangulation as an example, the number of edges is 1.5 times the number of facets. This operation can reduce the number of fast multipole operations by 1.5 times. Furthermore, the fast multipole algorithm itself was developed for impulse functions. The new formula directly uses the fast multipole algorithm without any vector decomposition. Furthermore, the amount of direct solution required by the fast multipole algorithm is reduced, and the integral calculation is even faster after conversion to a scalar integral.
[0045] Scalar bit integrals are 9-16 times faster than vector bit integrals (vector bit integrals require searching for edges based on two facets. For two triangles, the number of edge combinations is 9, and for a rectangular face, the number of edge combinations is 16). The number of edges is generally 1.5-2 times the number of facets.
[0046] As shown in Figure 2, the circular arrow represents the loop current l i The straight arrow indicates the direction from edge e1 to e5. i Contains these five edges, and
[0047] e2, e4, e5 direction and l i If the direction is consistent,
[0048] M(l i ,[e2,e4,e5])=1,M(l i ,[e1,e3])=-1.
[0049] This paper proposes a new CM basis function to discretize the conductor surface current into local currents on the surface element. As shown in Figure 3, this basis function connects the center of mass of the surface element and the midpoint of the edge. The algorithm shows how to generate these three mapping matrices;
[0050] The linear equations for solving the RL parameters using loop current analysis in the prior art are:
[0051] Z s I l +Z l I l =V l
[0052] Here Z l The system matrix representing the loop current integral calculation, I l Represents the loop current vector, V l represents voltage excitation, Z s Represents the surface impedance. Applying the M matrix can convert it into
[0053] Z s I l +MZ e M T I l =V l
[0054] Z of the present invention e System matrix representing the computation of the current vector potential integral on the edge.
[0055] Traditional method Z e The integral calculations during matrix filling are extremely time-consuming, and configuring the FMM based on the original formula requires decomposing the edge currents and invoking the FMM algorithm separately, which complicates the configuration. Both the direct solution path and preconditioning filling of the FMM require direct vector potential integral calculations, which is also very time-consuming.
[0056] Z s I l This is a sparse matrix-vector multiplication, which does not require FMM acceleration. Here, only the second part needs to be accelerated by FMM. In order to configure the FMM fast algorithm, the second part of the above equation is converted again to
[0057] M(A1PI p1 +A2PI p2 +A3PI p3 )=V l ;
[0058] in
[0059] FMM can be directly applied to PI p1 ,PI p2 ,PIp3 Note that the FMM algorithm is applied to this form of matrix-vector multiplication. Currently, the FMM algorithm mentioned in the known literature cannot be directly applied to calculate RL parameters. The FMM algorithm is a mature classic algorithm and will not be described in detail in this invention. The present invention calls the FMM algorithm configuration to have the following benefits:
[0060] (1) Direct call, no need for internal decomposition of edge current.
[0061] (2) Processing facets saves 1.5-2 times of computing time compared to existing technologies.
[0062] (3) The direct path of FMM involves integral calculation. The present invention converts vector bit integral into scalar bit integral, which can save 9-16 times of calculation time.
[0063] The present invention establishes a preconditioning matrix, which only requires the diagonal elements of the P matrix. Compared with the traditional edge-based preconditioning matrix (Z e diagonal), which can also save 9-16 times of computing time.
[0064] Beneficial Effects: This invention proposes a method for converting the vector potential integral calculation of RWG basis functions into a scalar potential integral calculation of impulse functions. Because the impulse functions are based on bins, this new integral calculation method is easier to operate and faster. Accordingly, the fast multipole algorithm only needs to be based on bins rather than edges, making it easier to configure the fast multipole algorithm.
[0065] The above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A RL parameter extraction and configuration method based on the fast multipole algorithm, characterized in that: The configuration method comprises: The conductor surface is divided into rectangular / triangular mixed surface elements, the number of surface elements is N p , the number of edges is N e , the number of loop currents is N l ; Establish a sparse mapping matrix M from loop current to edges; Establish edge-to-surface sparse mapping matrices A1, A2, A3; The conductor surface current is discretized using the centroid-midpoint basis function first proposed in this paper; Applying the sparse mapping matrix to map the loop current onto the bin; Create a preconditioning matrix; Accelerate matrix-vector multiplication based on facet configuration FMM algorithm; The RL parameters are obtained by post-processing.
2. A fast multipole algorithm configuration method according to claim 1, characterized in that: The dimension of the sparse mapping matrix M is N l ×N e , the dimensions of A1, A2, and A3 are all N e ×N p .
3. A multipole algorithm configuration method according to claim 1, characterized in that: The non-zero elements of the matrix M are 1 or -1. If the direction of the current defined on the edge is the same as the direction of the loop current, it is 1, otherwise it is -1.
4. A multipole algorithm configuration method according to claim 1, characterized in that: The non-zero elements in each column of the sparse mapping matrices A1, A2, and A3 correspond to the numbers of the panel edges, and the values of the matrices are the x, y, and z components of the coordinate differences between the midpoints of the corresponding edges and the midpoints of the panel.
5. A multipole algorithm configuration method according to claim 1, characterized in that: The method for obtaining the sparse mapping matrices A1, A2, A3 specifically includes: Get the surface element S i and S j All current vectors ρ ik and ρ jl ; k,l are the bins S i and S j The index of the top edge; If ik The direction of is the same as the direction of the current on the edge, then A1(k,i)=ρ ik (x),A2(k,i)=ρ ik (y),A3(k,i)=ρ ik (z), otherwise, A1(k,i)=-ρ ik (x),A2(k,i)=-ρ ik (y),A3(k,i)=-ρ ik (z); Where x, y, z represent the x-, y-, and z-components of the current vector; If jl The direction is the same as the edge current direction, A1(l,j)=ρ jl (x),A2(l,j)=ρ jl (y),A3(l,j)=ρ jl (z), otherwise, A1(l,j)=-ρ jl (x),A2(l,j)=-ρ jl (y),A3(l,j)=-ρ jl (z).
6. A fast multipole algorithm configuration method according to claim 5, characterized in that: Based on mapping the loop current to the bin, the formula is as follows: The linear equations for solving the RL parameters in loop current analysis are further transformed into Wherein, P represents the scalar bit integral matrix based on the facet; M(A1PI p1 +A2PI p2 +A3PI p3 )=V l ; in
Citation Information
Patent Citations
Broadband electromagnetic characteristic fast estimation method based on order stepping metal object
CN105184033A
Multi-pole algorithm configuration method
CN116502031A
A method for computing physical quantities of a conductive body, corresponding processing system and computer program product
WO2022263973A1
