An efficient checking method for lumped port simulation design

CN122674331APending Publication Date: 2026-09-01UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610914774.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-24
Publication Date
2026-09-01

AI Technical Summary

Technical Problem

[0006]针对上述存在的问题或不足,本发明的目的在于提供一种集总端口仿真设计的高效检查方法,用以解决现有集总端口检查方法中需要反复遍历模型金属面并进行大量碰撞检测、导致检查效率低的问题

Benefits of technology

[0026]1、传统的端口检查流程是偏向保守穷举的思路,宁可慢一点,也要保证端口检查的正确性,通常是一个独立流程,到了检查端口时,再去找金属、再去判断接触、再去做布尔。也就是说,模型合理性检查阶段得到的几何关系没有被结构化保存下来,端口检查阶段无法直接知道“哪些体跟当前端口根本没有空间关联”,冗余的操作经常会浪费资源。本发明通过面位置关系列表直接查询集总端口边的邻接面,避免了集总端口与全部金属面之间的重复碰撞检测,能够显著降低复杂模型中的端口检查计算量。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122674331A_ABST
    Figure CN122674331A_ABST
Patent Text Reader

Abstract

This invention belongs to the field of computational electromagnetics numerical simulation and CAE preprocessing technology, specifically involving an efficient method for checking lumped port simulation designs. The invention first obtains a list of model faces in the electromagnetic simulation model to be checked, extracts the face containing the lumped port, and extracts it as a lumped port sheet. Then, multiple sheets of the same lumped port are merged into a complete sheet, and its boundary shape is judged to be valid. Subsequently, a pre-established list of face position relationships is called to directly query the adjacent faces of each edge of the lumped port sheet, and it is determined whether the port edge is a metal edge. Finally, based on the list of metal edges, it is determined whether the port metal edge belongs to an equipotential metal body that meets the requirements, and the presence of conductors inside the port that could cause a short circuit is checked, thereby determining whether the lumped port has passed the check. This invention avoids repeated collision detection between the lumped port and all metal surfaces, significantly improving the efficiency of checking the rationality of lumped ports in complex electromagnetic models.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of computational electromagnetics numerical simulation and electromagnetic simulation (CAE) preprocessing technology, specifically involving an efficient checking method for lumped-port simulation design, based on the rationality judgment of lumped-port excitation in the electromagnetic simulation model. Background Technology

[0002] In high-frequency electromagnetic simulation, antenna design, microwave device analysis, and electromagnetic compatibility simulation, port excitation is a crucial interface between the energy input and output models. The appropriateness of the port settings directly affects whether the excitation can be applied correctly, and further influences the accuracy of simulation results such as field distribution, impedance characteristics, and S-parameters.

[0003] A lumped port is a type of port excitation typically located inside a model, where energy is applied directly to a specific region within the model in the form of voltage or current. Unlike wave ports, lumped ports are not used to simulate the cross-section of a semi-infinite transmission line, but rather for local excitation regions within the model. Therefore, they must meet geometric requirements such as the port face not being backed by background material, the port ends being in effective contact with metallic conductors, and the absence of conductor short circuits within the port.

[0004] Existing lumped port checking processes typically rely on collision detection functions to determine the spatial relationship between lumped ports and metal surfaces in the model one by one. For example, when determining whether the metal edges of lumped ports are adjacent, it is necessary to traverse all metal surfaces in the model and call the collision detection function or contact detection function. As the number of metal bodies and metal surfaces in the model increases, the above method generates a large number of duplicate collision checks, resulting in a significant increase in the time consumed by design checks.

[0005] For complex multi-port models, if each lumped port repeatedly traverses all metal surfaces, the computational load increases rapidly with the number of ports and metal surfaces, hindering the rapid execution of preprocessing in large-scale electromagnetic simulation software. Therefore, it is necessary to propose a lumped port inspection method that avoids redundant collision detection, fully utilizes surface adjacency relationships, and considers both the rationality of port shape and the rationality of metal connections. Summary of the Invention

[0006] To address the aforementioned problems or shortcomings, the present invention aims to provide an efficient inspection method for lumped port simulation design, thereby solving the problem of low inspection efficiency caused by the need to repeatedly traverse the metal surfaces of the model and perform a large number of collision detections in existing lumped port inspection methods.

[0007] To achieve the above objectives, the specific technical solution of the present invention is as follows:

[0008] An efficient checking method for lumped-port simulation designs includes the following steps:

[0009] Step 1: Obtain all surface data from the electromagnetic simulation model to be inspected, forming a model surface list. Extract the surface containing the lumped port and extract it as a lumped port sheet. The model surface list is used to uniformly store all surface data in the electromagnetic simulation model. The surface data includes at least the surface geometric boundary, the entity to which it belongs, material properties, boundary condition properties, and its spatial relationship with other surfaces.

[0010] Step 2: Group the lumped port pieces obtained in Step 1 according to the lumped port attribute value. Multiple pieces belonging to the same lumped port and with the same attribute value are merged into one lumped port piece through Boolean operation to obtain a complete port area and avoid the subsequent boundary shape judgment and metal edge judgment being affected by piece segmentation.

[0011] Step 3: Perform port shape recognition on each lumped port sheet after merging in Step 2 to determine whether its port geometry is a valid polygon, circle or coaxial shape. If it does not meet the preset port shape conditions, output port setting error information.

[0012] The valid polygons include rectangles, polygons, or boundary shapes composed of multiple straight sides that can form a closed port region; the valid circles include closed port regions composed of circular or arc boundaries; the valid coaxial shapes include annular or approximately annular port regions with inner and outer conductor boundaries.

[0013] Step 4: Perform collision detection on the electromagnetic simulation model to be inspected and construct a volume inclusion relationship list. This list records the inclusion, intersection, or independence relationships between model bodies and between model bodies and port-related geometric objects. The volume inclusion relationship list is used to exclude model bodies and metal surfaces unrelated to the port surface, eliminating the need to perform collision detection on every single metal surface during the port inspection process (contact detection).

[0014] Step 5: Based on the volume inclusion relationship list described in Step 4, the port face performs contact detection with the metal faces that have inclusion relationships, constructing a face position relationship list. This list records the adjacency and spatial relationships between faces, directly storing the adjacent face information of each edge of the lumped port sheet, including which edge of the port face is adjacent to a metal face. By querying the face position relationship list, the adjacent faces of the port edges are obtained, replacing the one-by-one collision detection of all metal faces in the model. This reduces the computational load of metal edge judgment in the lumped port inspection process from a traversal judgment related to the number of ports and metal faces to an adjacency query related to the number of port edges.

[0015] Step 6: Using the face position relationship list established in Step 5, directly query the adjacent faces of each edge of the lumped port sheet. Then, determine whether the corresponding port edge is a metal edge based on the material or boundary properties of the adjacent faces, thus obtaining the lumped port metal edge list. During lumped port inspection, collision detection is no longer performed on all metal faces individually; instead, the adjacent faces of the port edges are directly queried, and the metal edges are identified based on the material properties of the adjacent faces.

[0016] Step 7: Based on the list of lumped port metal edges described in Step 6, determine whether the port metal edges belong to the same equipotential metal body. If both ends of the current lumped port sheet are effectively connected to the metal conductor and there is no conductor inside the port that would cause a short circuit, then the lumped port check is deemed to have passed; otherwise, output port setting error information. If both ends of the lumped port are not in contact with effective metal conductors, or if there are short-circuit structures such as conductor lines or conductor surfaces inside the port, then the port is deemed invalid. The determination of the same equipotential metal body is completed by the metal body identifier, metal connectivity identifier, surface belonging body identifier, or equipotential body number.

[0017] Step 8: For each lumped port fragment merged in Step 2, repeat the inspection process of Steps 5-7, and sequentially traverse all lumped port fragments to perform port checks.

[0018] Furthermore, in step 1, the face containing the lumped port is extracted from the model face list through port attribute identifiers or port excitation tags, and extracted as an independent lumped port sheet.

[0019] Furthermore, in step 3, the port shape recognition involves extracting the boundary contour of the merged lumped port sheet and determining whether the port is a valid polygon, circle, or coaxial shape based on the boundary line segments, arcs, closure, and the number of inner and outer conductor boundaries. If the port contour has an opening, overlap, self-intersection, or does not meet the preset type, an error is directly reported.

[0020] Furthermore, the determination of the same equipotential metal body specifically involves: obtaining the metal body identifier or metal connectivity identifier corresponding to the lumped port metal edge, and determining whether the port metal edge is adjacent to the metal bodies constituting the electrodes at both ends of the port; and satisfying the condition that if the lumped port sheet does not form an effective area contact with the metal body, or the port is only exposed to one side of the background material, then the port setting is determined to be invalid.

[0021] Furthermore, the legal polygon includes rectangles, polygons, or boundary shapes composed of multiple straight sides that can form a closed port region; the circle includes a closed port region composed of a circular or arc boundary; the coaxial shape includes an annular or approximately annular port region with inner and outer conductor boundaries.

[0022] Furthermore, the criteria for determining a metal edge include whether the adjacent surface has PEC material properties, PerfectE boundary properties, metal conductor material properties, or a preset metal identifier; if the adjacent surface of a port edge satisfies any of the above properties, then the port edge is recorded as a metal edge.

[0023] Furthermore, the absence of conductors that could cause a short circuit inside the port includes: no conductor lines, conductor surfaces, or conductor structures simultaneously connected to the metal bodies at both ends are detected in the region inside the lumped port body.

[0024] Furthermore, the port setting error information includes at least the following: port backing material error, port not forming effective contact with metal body error, short circuit in conductor inside port error, illegal port shape error, and port metal edge not satisfying equipotential body judgment error.

[0025] In summary, the beneficial effects of the present invention are as follows:

[0026] 1. Traditional port checking processes tend to be conservative and exhaustive, prioritizing accuracy over speed. This is typically a separate process where metal is searched, contact is checked, and Boolean operations are performed only when checking a port. In other words, the geometric relationships obtained during the model validity check are not structurally preserved, and the port checking phase cannot directly identify which bodies have no spatial relation to the current port. This redundant operation often wastes resources. This invention directly queries the adjacent faces of the lumped port edges using a face position relationship list, avoiding redundant collision detection between the lumped port and all metal faces, and significantly reducing the computational load of port checking in complex models.

[0027] 2. This invention introduces port boundary shape judgment in the port inspection process, which can simultaneously support multiple lumped port areas such as polygons, circles and coaxial shapes, and provides a unified interface for subsequent expansion of different port types.

[0028] 3. Traditional port inspection processes tend to address issues from a CAD geometric perspective, focusing on whether the port surface touches a metal surface. However, the physical constraints of lumped ports do not actually require the port surface to collide globally with all metal surfaces. Instead, they require that both ends of the port boundary be connected to valid metal conductors, and that there are no conductor short circuits within the port. This invention, through a metal edge list and equipotential metal body judgment, can simultaneously check whether the port is backed by background material, whether it forms valid contact with a metal conductor, and whether there are conductor short circuits within the port, thereby improving the accuracy and robustness of lumped port inspection.

[0029] 4. This invention can be embedded in the electromagnetic simulation CAE preprocessing flow based on the ACIS solid modeling kernel and executed before the calculation model is generated, so as to ensure that the lumped port boundary settings meet the electromagnetic simulation solution requirements, which is conducive to improving the engineering practicality of the preprocessing module of domestic electromagnetic simulation software. Attached Figure Description

[0030] Figure 1 This is a flowchart of the present invention.

[0031] Figure 2 This is a complex antenna model with multiple lumped ports, used as an example.

[0032] Figure 3 This is a comparison of the efficiency of the embodiments of the present invention with the traditional lumped port checking method. Detailed Implementation

[0033] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments.

[0034] Lumped ports are port excitation objects located within the electromagnetic simulation model. They are used to apply excitation in the form of voltage or current sources to a predetermined region within the model, and are subsequently used for field distribution calculations or S-parameter calculations. This embodiment uses, for example... Figure 2 The invention presents a complex model with multiple lumped ports to verify the efficiency improvement of port inspection in design checks. Specifically, it is a model with 9 ports, 31 models, and 7134 boundary surfaces. This invention uses such a model with multiple metal boundary surfaces and multiple lumped ports to effectively detect the efficiency improvement of the lumped port inspection method.

[0035] like Figure 1As shown, this embodiment first reads the electromagnetic simulation model that has passed the preliminary inspection, extracts the surfaces with lumped port attributes, and extracts them as port pieces. If the same port contains multiple pieces, they are merged according to the port attribute values ​​using Boolean merging to form a complete lumped port piece. Then, the port boundary contour is extracted, and it is determined whether it is a valid polygon, circle, or coaxial shape. If there are cases where the boundary is not closed, self-intersecting, mismatched in shape, or unable to form an effective excitation region, an error message is output. Next, a volume inclusion relationship list is established to filter out metal bodies and metal surfaces that are not positionally associated with the current port, avoiding traversing all metal surfaces for collision detection. Then, a surface position relationship list is constructed based on the volume inclusion relationship, querying the adjacent surfaces of each edge of the port piece, and identifying metal edges based on material properties or boundary properties to form a metal edge list. Finally, the metal body number, connected component number, or entity number is combined to determine whether both ends of the port are connected to a valid equipotential metal body, and to check whether there is a short-circuit structure inside the port. If all requirements are met, the lumped port check is considered passed; otherwise, an error message is output. This method transforms traditional global metal surface collision detection into port edge adjacency surface query, which can reduce redundant traversal and improve the efficiency of lumped port inspection.

[0036] Efficiency comparison of the embodiments of the present invention with traditional lumped port checking methods: Figure 3 As shown, the overall design check time for the complex multi-lumped-port model is improved by 71.02 times, especially the port excitation check by 103.04 times. This is because the volume containment relationship is pre-built, so the port surface does not need to be collision-detected with the antenna shield in the model, which significantly improves the efficiency of port excitation check.

[0037] As can be seen from the above embodiments, the present invention first obtains a list of model surfaces in the electromagnetic simulation model to be inspected, extracts the surface where the lumped port is located and extracts it as a lumped port sheet; then, multiple sheets of the same lumped port are merged into a complete sheet, and it is determined whether its boundary shape is a valid polygon, circle or coaxial shape; subsequently, a pre-established list of surface position relationships is called to directly query the adjacent surfaces of each edge of the lumped port sheet, and the material properties or boundary properties of the adjacent surfaces are used to determine whether the port edge is a metal edge; finally, the list of metal edges is used to determine whether the port metal edge belongs to an equipotential metal body that meets the requirements, and the presence of a conductor inside the port that would cause a short circuit is checked, thereby determining whether the lumped port has passed the inspection. The present invention avoids repeated collision detection between the lumped port and all metal surfaces, which can significantly improve the efficiency of lumped port rationality inspection in complex electromagnetic models and improve the robustness of the electromagnetic simulation CAE preprocessing process.

Claims

1. An efficient checking method for lumped-port simulation design, characterized in that, Includes the following steps: Step 1: Obtain all surface data in the electromagnetic simulation model to be inspected, form a model surface list, extract the surface where the lumped port is located, and extract the surface where the lumped port is located as a lumped port sheet; the model surface list is used to uniformly store all surface data in the electromagnetic simulation model. The surface data includes at least the surface geometric boundary, the entity to which it belongs, the material properties, the boundary condition properties, and its spatial positional relationship with other surfaces; Step 2: Group the lumped port fragments obtained in Step 1 according to the lumped port attribute value. Multiple fragments belonging to the same lumped port and with the same attribute value are merged into one lumped port fragment through Boolean operation. Step 3: Perform port shape recognition on each lumped port sheet after step 2 to determine whether its port geometry is a valid polygon, circle or coaxial shape. If it does not meet the preset port shape conditions, output port setting error information. Step 4: Construct a volume containment relationship list. The volume containment relationship list is used to record the containment, intersection, or unrelated relationships between model volumes and between model volumes and port-related geometric objects. Step 5: Based on the volume inclusion relationship list described in Step 4, the port surface performs contact detection with the metal surfaces that have inclusion relationships, and constructs a surface position relationship list; the surface position relationship list records the adjacency relationship and spatial position relationship between each surface, and directly stores the adjacency information of each edge of the port sheet body, including which edge of the port surface is adjacent to the metal surface, and the adjacency relationship and spatial position relationship between each surface; Step 6: Call the face position relationship list established in Step 5 to directly query the adjacent faces of each edge of the lumped port sheet, and determine whether the corresponding port edge is a metal edge based on the material properties or boundary properties of the adjacent faces, so as to obtain the list of lumped port metal edges. Step 7: Based on the list of lumped port metal edges described in Step 6, determine whether the port metal edges belong to the same equipotential metal body. If both ends of the current lumped port sheet are effectively connected to the metal conductor and there is no conductor inside the port that would cause a short circuit, then the lumped port check is deemed to have passed; otherwise, output an error message for the port setting. If both ends of the lumped port are not in contact with effective metal conductors, or if there are short-circuit structures such as conductor lines or conductor surfaces inside the port, then the port is deemed invalid. The determination of the same equipotential metal body is completed by the metal body identifier, the metal connected region identifier, the body identifier to which the surface belongs, or the equipotential body number. Step 8: For each lumped port fragment merged in Step 2, repeat the inspection process of Steps 5-7, and sequentially traverse all lumped port fragments to perform port checks.

2. The efficient checking method for lumped-port simulation design as described in claim 1, characterized in that: In step 1, the face containing the lumped port is extracted from the model face list using port attribute identifiers or port excitation tags, and extracted as an independent lumped port sheet.

3. The efficient checking method for lumped-port simulation design as described in claim 1, characterized in that: In step 3, port shape recognition involves extracting the boundary contour of the merged lumped port sheet and determining whether the port is a valid polygon, circle, or coaxial shape based on the boundary line segments, arcs, closure, and the number of inner and outer conductor boundaries. If the port contour has an opening, overlap, self-intersection, or does not meet the preset type, an error is reported directly.

4. The efficient checking method for lumped-port simulation design as described in claim 1, characterized in that, The determination of the same equipotential metal body is as follows: obtain the metal body identifier or metal connectivity identifier corresponding to the metal edge of the lumped port, and determine whether the metal edge of the port is adjacent to the metal body constituting the electrodes at both ends of the port respectively; and satisfy that if the lumped port sheet does not form an effective area contact with the metal body, or the port is only exposed to the background material, then the port setting is determined to be illegal.

5. The efficient checking method for lumped-port simulation design as described in claim 1, characterized in that: The legal polygon includes rectangles, polygons, or boundary shapes composed of multiple straight sides that can form a closed port region; the circle includes closed port regions composed of circular or arc boundaries; the coaxial shape includes annular or approximately annular port regions with inner and outer conductor boundaries.

6. The efficient checking method for lumped-port simulation design as described in claim 1, characterized in that: The criteria for determining a metal edge include whether the adjacent surface has PEC material properties, Perfect E boundary properties, metal conductor material properties, or a preset metal identifier; if the adjacent surface of a port edge satisfies any of the above properties, then the port edge is recorded as a metal edge.

7. The efficient checking method for lumped-port simulation design as described in claim 1, characterized in that, The absence of conductors that could cause a short circuit inside the port includes: no conductor lines, conductor surfaces, or conductor structures simultaneously connected to the metal bodies at both ends are detected in the region inside the lumped port body.

8. The efficient checking method for lumped-port simulation design as described in claim 1, characterized in that: The port setting error information includes at least the following: port backing material error, port not forming effective contact with metal body error, short circuit in conductor inside port error, illegal port shape error, and port metal edge not satisfying equipotential body judgment error.