Radio frequency layout automatic modification method

By automatically parsing the RF layout and establishing multiple modification models, the accuracy problem of manual adjustment in RF layout design is solved, the design efficiency and chip performance are improved, and the optimization needs of RF chips are met.

CN120633570APending Publication Date: 2025-09-12SUN YAT SEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510733154.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-04
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

In the existing technology, RF layout design requires manual adjustment, which makes it difficult to control accuracy, resulting in chip performance loss. In addition, redundant DRC distances must be reserved for adjustment, which affects chip performance.

Method used

By automatically parsing the RF layout, extracting hole and metal polygon information, and establishing modification models with 9 modification types, automatic modification of the RF layout can be achieved, including automatic adjustment of metal blocks, line segments and through holes.

Benefits of technology

It improves the efficiency of RF layout design, achieves better chip performance, reduces manual operation time, meets different modification requirements, and optimizes chip performance indicators.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120633570A_ABST
    Figure CN120633570A_ABST
Patent Text Reader

Abstract

The invention provides an automatic modification method for a radio frequency layout, which comprises the following steps of: analyzing all through holes and metal polygons in the radio frequency layout according to a modification area of the radio frequency layout; matching a modification type and a modification object according to the modification information, and performing expansion display on the modification object; and modifying and displaying the radio frequency layout based on the modification object and the modification information. According to the method, the radio frequency layout can be automatically modified, the manual operation time is saved, meanwhile, better chip performance is achieved by accurately adjusting the layout, and the design efficiency of the radio frequency chip is further improved; according to the method, the radio frequency layout is analyzed to obtain the hole information and the metal polygon information of the radio frequency layout, and nine modification types are designed according to different modification requirements, so that different modification requirements of the layout are met; and corresponding modification models are established according to different types.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of integrated circuits, and in particular to a method for automatically modifying a radio frequency layout. Background Art

[0002] With the development of integrated circuit technology and the increasing complexity of design, layout design has an important impact on the final performance of the chip, especially in the field of RF chips, where RF layout design directly affects the performance and reliability of RF chips.

[0003] Impedance matching and parasitic control of high-frequency signal paths determine signal integrity (insertion loss / return loss). Layout optimization reduces crosstalk and noise. Isolation between components suppresses electromagnetic coupling and prevents frequency shift. Ground plane design and via array layout influence heat dissipation and Q. Errors in process parameters such as microstrip line width and dielectric layer thickness can lead to impedance mismatch (typical tolerances must be <5%), which in turn degrades standing wave ratio (SWR) and power efficiency. Precise layout design can improve power gain by 10%-30% and reduce phase noise by 3-6dB, ensuring the performance of millimeter-wave / terahertz chips.

[0004] To solve the above problems, the RF layout needs to be adjusted manually continuously. In addition, it is difficult to control the accuracy of the layout adjustment during the manual adjustment process. At the same time, in order to reduce DRC problems, redundant DRC distances need to be reserved for later layout adjustments. All of these are at the expense of chip performance. Summary of the Invention

[0005] In view of the deficiencies of the prior art, the present invention provides a method for automatically modifying a radio frequency layout, which improves the design efficiency of the layout by automatically modifying the layout.

[0006] The technical solution of the present invention is: a method for automatically modifying a radio frequency layout, comprising the following steps:

[0007] S1), according to the modified area of ​​the RF layout, all through holes and metal polygons in the RF layout are analyzed;

[0008] S2), matching the modification type and the modification object according to the modification information, and expanding and displaying the modification object;

[0009] S3) Based on the modification object and the modification information, the radio frequency layout is modified and displayed.

[0010] Preferably, in step S1), all vias and metal polygons in the RF layout are parsed, including the following steps:

[0011] S11), extracting hole information of metal polygons;

[0012] S12), extracting a line segment set from the metal polygon;

[0013] S13), dividing the metal polygon into a plurality of metal blocks according to the projection relationship of the line segments in the metal polygon;

[0014] S14) Establishing connection information of the metal blocks according to the through-hole information and the segmented metal block set.

[0015] Preferably, in step S11), the hole of the metal polygon and the outer contour of the metal polygon form an inner and outer ring relationship, and extracting the hole information of the metal polygon specifically includes the following steps:

[0016] S111), distinguishing inner and outer rings by vertex arrangement direction and area calculation;

[0017] S112), for each candidate inner ring, select an inner ring vertex and determine whether it is located inside the outer contour, combine the scan line method or the hierarchical bounding box intersection to determine the nesting relationship of the rings, and exclude invalid inner rings that are not completely surrounded by the outer contour;

[0018] S113) Output all inner hole rings that meet the conditions and their corresponding outer ring levels. If the output inner control ring set is not empty, it is determined that the metal polygon has holes.

[0019] Preferably, in step S13), dividing the metal polygon into multiple metal blocks specifically includes the following steps:

[0020] S131), perform concave point detection and preprocessing on polygons

[0021] The concave area is identified by calculating the internal angles of each vertex of the polygon, and vertical or horizontal cutting lines are inserted along the coordinate axis at the concave points to decompose the original polygon into several convex sub-areas.

[0022] S132), perform maximum quadrilateral coverage on each convex sub-region

[0023] Starting from the vertex set of the convex subregion, scan along the boundary to generate the axis-aligned maximum inscribed quadrilateral, and take the maximum inscribed quadrilateral as the segmentation result of the metal block;

[0024] S133), recursively cut off the covered part and process the remaining area until all sub-areas are filled with quadrilaterals, thereby achieving the segmentation of metal polygons.

[0025] Preferably, in step S14), connection information of the metal blocks is established based on the through-hole information and the segmented metal block set, specifically:

[0026] For metal blocks on the same layer, if the geometric figures overlap, it is determined that there is a connection relationship;

[0027] For metal blocks on different layers, if they overlap with the upper and lower layers of metal of the through hole at the same time, it is determined that there is a connection relationship.

[0028] Preferably, in step S2), the modification information includes the selected coordinates, modification type, and offset; the modification object is matched by judging whether the selected coordinate point is inside the metal block or matches the nearest neighbor segment; the modified object is then expanded; the expanded graphic is imported into the CAD software as a highlighted graphic, and the successfully matched modification object under the modification information is displayed.

[0029] As a preference, the modified object is expanded, specifically:

[0030] For polygons, each edge is translated outward along its normal direction by an expansion radius r, and the new vertex is determined by calculating the intersection of the extended lines of adjacent translated edges to form an outward expansion contour;

[0031] For line segments, first generate two parallel line segments with a spacing of 2r along the normal direction, then construct vertical square caps with a side length of 2r at the end points of the line segments, and connect the endpoints of the parallel lines and the vertices of the caps to form a closed rectangle.

[0032] Preferably, in step S2), the modification types include 9 categories, namely:

[0033] MA type: When metal block A is translated, the connected metal block B follows the translation, and the length of the metal block C connected to the other end of metal block B is modified by extension;

[0034] Type M: When metal block A is translated, the connected metal block B does not follow the translation, and the length of metal block B is modified to be extended;

[0035] MT type: If metal block A is translated, all metal blocks that have direct and indirect connections with metal block A will follow the translation modification;

[0036] R type: A set of metal blocks with an overall symmetrical relationship is modified by overall radial expansion and radial contraction along the center of symmetry;

[0037] L type: Metal polygon segments are modified by expanding outwards and shrinking inwards, and polygon segments are modified by translating in their own normal direction;

[0038] H type: The distance between the hole boundary inside the metal polygon and the metal blocks contained inside is maintained and modified. Hole A detects the metal block set S contained inside, and maintains the distance DIS between the boundary and the metal block set S in the normal direction, where DIS is the externally specified maintenance distance;

[0039] Type F: Modification of the direction and distance between metal polygon segments. Under the condition that segment A and segment B are parallel, the normal distance between segment A and segment B is maintained as DIS, where DIS is the externally specified distance.

[0040] VF type: The through hole is modified to automatically follow the metal polygon line segment. After the through hole A and line segment B are automatically followed, when the midpoint of line segment B moves, the through hole A moves along with the midpoint of line segment B.

[0041] JP type: Automatic layer skipping when DRC conflicts occur between metal blocks. When DRC conflicts occur between metal blocks A and B, the metal block with lower priority will automatically skip layers.

[0042] Preferably, in step S3), based on the modification object and the modification information, the RF layout is modified and displayed, specifically: matching the type of automatic modification of the RF layout, and modifying the polygon point set of the metal and the point set of each layer of the through hole in the RF layout:

[0043] For MA type, M type and R type, a metal block movement transfer model is established to achieve automatic modification;

[0044] For MT type, L type, F type, and H type, a line segment movement model is established to achieve automatic modification;

[0045] For VF type, a through-hole movement model is established to achieve automatic modification;

[0046] For JP type, an automatic layer-jumping model for metal blocks is established to calculate the DRC illegal areas of metal blocks with lower priority, and the metal in the conflicting areas is switched to the metal layer to achieve automatic layer-jumping and obstacle avoidance for metal blocks based on DRC distance.

[0047] The modified metal polygons are output and automatically imported into CAD software for display.

[0048] The beneficial effects of the present invention are:

[0049] 1. The present invention can realize automatic modification of RF layout, saving manual operation time. At the same time, it can achieve better chip performance by accurately adjusting the layout, further improving the design efficiency of RF chips;

[0050] 2. The present invention parses the RF layout to obtain the hole information and metal polygon information of the RF layout, and designs 9 modification types according to different modification requirements, thereby meeting the different modification requirements of the layout; and the present invention establishes corresponding modification models through different types. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1Schematic diagram of the process of the present invention;

[0052] Figure 2 A schematic diagram of the process of segmenting and analyzing the radio frequency layout according to the present invention;

[0053] Figure 3 Schematic diagram of the process of extracting holes from metal polygons according to the present invention;

[0054] Figure 4 A schematic diagram of the process of dividing a metal polygon into metal blocks according to the present invention;

[0055] Figure 5 This is a flow chart of the present invention for automatically matching input information and highlighting modified objects;

[0056] Figure 6 Schematic diagram of the metal block movement and transfer model of the present invention;

[0057] Figure 7 It is a schematic diagram of the modification results under the MA type of the present invention;

[0058] Figure 8 This is a schematic diagram of the modification results under the M type of the present invention;

[0059] Figure 9 This is a schematic diagram of the modification results under the R type of the present invention;

[0060] Figure 10 Schematic diagram of the line segment movement model of the present invention;

[0061] Figure 11 This is a schematic diagram of the modification results under the MT type of the present invention;

[0062] Figure 12 This is a schematic diagram of the modification results under the L type of the present invention;

[0063] Figure 13 This is a schematic diagram of the modification results under type F of the present invention;

[0064] Figure 14 This is a schematic diagram of the modification results under type H of the present invention;

[0065] Figure 15 Schematic diagram of a through-hole movement model of the present invention;

[0066] Figure 16 It is a schematic diagram of the modification results under the VF type of the present invention;

[0067] Figure 17 Schematic diagram of the metal block automatic layer skipping model of the present invention;

[0068] Figure 18 It is a schematic diagram of the modification results under the JP type of the present invention. DETAILED DESCRIPTION

[0069] The specific embodiments of the present invention will be further described below with reference to the accompanying drawings:

[0070] like Figure 1 As shown, this embodiment provides a method for automatically modifying a radio frequency layout, comprising the following steps:

[0071] S1), according to the modified area of ​​the RF layout, all through holes and metal polygons in the RF layout are analyzed; Figure 2 As shown, the following steps are included:

[0072] S11), extracting hole information of metal polygons;

[0073] The hole of the metal polygon and the outer contour of the metal polygon form the relationship between the inner and outer rings, such as Figure 3 As shown in the figure, extracting hole information of metal polygons includes the following steps:

[0074] S111), distinguishing inner and outer rings by vertex arrangement direction and area calculation;

[0075] S112), for each candidate inner ring, select an inner ring vertex and determine whether it is located inside the outer contour, combine the scan line method or the hierarchical bounding box intersection to determine the nesting relationship of the rings, and exclude invalid inner rings that are not completely surrounded by the outer contour;

[0076] S113) Output all inner hole rings that meet the conditions and their corresponding outer ring levels. If the output inner control ring set is not empty, it is determined that the metal polygon has holes.

[0077] S12), extracting a line segment set from the metal polygon;

[0078] S13), dividing the metal polygon into multiple metal blocks according to the projection relationship of the line segments in the metal polygon; Figure 4 As shown, the specific steps include:

[0079] S131), perform concave point detection and preprocessing on polygons

[0080] Concave areas are identified by calculating the interior angles of each vertex of the polygon, and vertical or horizontal cutting lines are inserted at the concave points along the coordinate axis to decompose the original polygon into several convex sub-areas. In this embodiment, vertical or horizontal cutting lines are preferably inserted in a direction parallel to the longest side.

[0081] S132), perform maximum quadrilateral coverage on each convex sub-region

[0082] Starting from the vertex set of the convex subregion, an axis-aligned maximum inscribed quadrilateral is generated along the boundary scan, and the maximum inscribed quadrilateral is used as the segmentation result of the metal block.

[0083] S133), recursively cut off the covered part and process the remaining area until all sub-areas are filled with quadrilaterals, thereby achieving the segmentation of metal polygons.

[0084] S14) Establishing connection information of the metal blocks according to the through-hole information and the segmented metal block set, specifically:

[0085] For metal blocks on the same layer, if the geometric figures overlap, it is determined that there is a connection relationship;

[0086] For metal blocks on different layers, if they overlap with the upper and lower layers of metal of the through hole at the same time, it is determined that there is a connection relationship.

[0087] S2), matching the modification type and the modification object according to the modification information, and expanding and displaying the modification object;

[0088] like Figure 5 As shown, the modification information includes the selected coordinates, modification type, and offset; the modification object is matched by judging whether the selected coordinate point is inside the metal block or matches the nearest neighbor segment; then the modified object is expanded; the expanded graphic is imported into the CAD software as a highlighted graphic, and the successfully matched modification object under the modification information is displayed.

[0089] Among them, the modified object is expanded, specifically:

[0090] For polygons, each edge is translated outward along its normal direction by an expansion radius r, and the new vertex is determined by calculating the intersection of the extended lines of adjacent translated edges to form an outward expansion contour;

[0091] For line segments, first generate two parallel line segments with a spacing of 2r along the normal direction, then construct vertical square caps with a side length of 2r at the end points of the line segments, and connect the endpoints of the parallel lines and the vertices of the caps to form a closed rectangle.

[0092] This embodiment includes 9 types of modification, namely:

[0093] MA type: When metal block A is translated, the connected metal block B follows the translation, and the length of the metal block C connected to the other end of metal block B is modified by extension;

[0094] Type M: When metal block A is translated, the connected metal block B does not follow the translation, and the length of metal block B is modified to be extended;

[0095] MT type: If metal block A is translated, all metal blocks that have direct and indirect connections with metal block A will follow the translation modification;

[0096] R type: A set of metal blocks with an overall symmetrical relationship is modified by overall radial expansion and radial contraction along the center of symmetry;

[0097] L type: Metal polygon segments are modified by expanding outwards and shrinking inwards, and polygon segments are modified by translating in their own normal direction;

[0098] H type: The distance between the hole boundary inside the metal polygon and the metal blocks contained inside is maintained and modified. Hole A detects the metal block set S contained inside, and maintains the distance DIS between the boundary and the metal block set S in the normal direction, where DIS is the externally specified maintenance distance;

[0099] Type F: Modification of the direction and distance between metal polygon segments. Under the condition that segment A and segment B are parallel, the normal distance between segment A and segment B is maintained as DIS, where DIS is the externally specified distance.

[0100] VF type: The through hole is modified to automatically follow the metal polygon line segment. After the through hole A and line segment B are automatically followed, when the midpoint of line segment B moves, the through hole A moves along with the midpoint of line segment B.

[0101] JP type: Automatic layer skipping when DRC conflicts occur between metal blocks. When DRC conflicts occur between metal blocks A and B, the metal block with lower priority will automatically skip layers.

[0102] S3), based on the modification object and modification information, modify the radio frequency layout and display it;

[0103] This embodiment matches the type of automatic modification of the RF layout, and modifies the polygon point set of the metal and the point set of each layer of the through hole in the RF layout. Specifically:

[0104] S31) For MA type, M type, and R type, a metal block movement transfer model is established to achieve automatic modification; Figure 6 As shown, when the movement needs to be transferred, it is transferred to the metal block connected to the metal block. During the transfer process, if the moving direction is orthogonal to the current metal block, the movement transfer is judged to be completed, otherwise the movement transfer continues. The metal block movement transfer model is specifically as follows:

[0105] S311), matching the modified metal block and the moving direction based on the selected point;

[0106] S312), querying the connected metal blocks through the established metal block connection relationship;

[0107] S313), if the normal direction of the connected metal blocks is not orthogonal to the movement direction, the movement amount needs to be transferred to the connected metal blocks and the movement transfer is performed;

[0108] S314) If mobile transfer is required, return to step S312) to perform recursive operation;

[0109] S315) When the normal direction of the connected metal blocks is orthogonal to the moving direction, the movement transfer is completed.

[0110] MA type, such as Figure 7 As shown, if metal block A is translated, a movement transfer model is established, and the connected metal blocks B and C are non-orthogonal metal blocks, which are moved and transferred to follow the translation. The other ends of metal blocks B and C are connected to metal blocks D and F, which are orthogonal metal blocks. After the movement transfer is completed, metal blocks D and F are extended in length.

[0111] M type, such as Figure 8 As shown in the figure, if the metal block A is translated, the movement transfer model is not established, and the connected metal blocks B and C do not perform movement transfer and follow the translation, and only the length extension modification is performed.

[0112] R type, Figure 9 For example, a set of metal blocks with an overall symmetric relationship is modified by overall radial expansion and radial contraction along the center of symmetry.

[0113] S32) For MT type, L type, F type, and H type, a line segment movement model is established to achieve automatic modification; the line segment movement model refers to Figure 10 As shown, when a line segment moves, it is determined whether the moving line segment is within the metal polygon line segment set. If it is within the metal polygon line segment set, the movement amount is added to the first and last endpoints of the line segment, and the line segment is updated to the metal polygon line segment set. The line segment movement model is specifically:

[0114] S321), matching the nearest neighbor line segment based on the selected point, and obtaining the offset and offset direction at the same time;

[0115] S322), query whether the matched nearest neighbor line segment is in the metal polygon line segment set, if not in the set, the line segment movement ends;

[0116] S323), if the matched nearest neighbor line segment is within the metal polygon line segment set, then the offset is added to the coordinates of the start and end points of the line segment according to the offset direction. Specifically, if the offset direction is the Y direction, the offset is added to the Y coordinate values ​​of the start and end points. If the offset direction is the X direction, the offset is added to the X coordinate values ​​of the start and end points.

[0117] S324), updating the line segment with the offset superimposed thereon to the metal polygon line segment set, and the line segment movement is completed;

[0118] MT type, Figure 11 For example, if metal block A translates upward, the metal blocks that are directly and indirectly connected to metal block A are modified to translate along with metal block A, that is, all line segments of the metal block translate upward.

[0119] L type, if the expansion direction is X direction, the expansion amount is added to the Y coordinates of the first and end points of the line segment. If the expansion direction is Y direction, the expansion amount is added to the X coordinates of the first and end points of the line segment. Figure 12 For example, line segments a and b of metal block A are selected to expand outward. Since metal block A is horizontal, the expansion direction of the L type is the Y direction; therefore, when the expansion amount is 2μm, line segments a and b each expand outward by 2μm, and the width of the metal block expands from 7μm to 11μm; when the contraction amount is 2μm, line segments a and b each contract inward by 2μm, and the width of the metal block contracts from 7μm to 3μm.

[0120] F type, with Figure 13 For example, the line segment a of metal A is parallel to the reference line segment b. At the same time, the externally specified line segment a maintains the DIS distance above the line segment b, and the DIS distance is set to 0μm. After the line segment b produces a normal translation, the line segment a is offset in the Y direction with the line segment b as the reference, and the DIS distance is subtracted from the Y direction of the first and last points of the initial line segment a, which is the offset of the line segment a. The offset is input into the line segment movement model to realize the follow-up translation of the line segment a.

[0121] H type, Figure 14 For example, the hole boundary is composed of line segments ad, and the metal block set S contained inside is determined. The left boundary, right boundary, upper boundary, and lower boundary of the metal block set are superimposed on these four boundaries. A distance DIS away from the center of the layout is superimposed. The DIS distance is set to 30μm to form a new boundary. The new boundary is matched with the initial boundary line segment ad, and the movement difference is calculated. The movement difference is input into the line segment movement model to achieve the normal distance DIS between the line segment ad and the internal metal block set S.

[0122] S33) For VF type, establish a through-hole moving model to achieve automatic modification; refer to the through-hole moving model Figure 15 As shown in the figure, when the through hole moves, the metal layer and the through hole layer of the through hole are read out, the offset is superimposed on the metal layer and the through hole layer, and finally the superimposed layers are repackaged as a through hole to complete the movement of the through hole. Figure 16For example, the through hole VIA1 establishes automatic following with the reference line segment a. When the midpoint of the line segment a moves, the movement amount is simultaneously input into the through hole movement model to complete the following movement of VIA1.

[0123] S34) For JP type, establish a metal block automatic layer jump model, calculate the design rules of the metal block with lower priority, check the DRC illegal area, switch the metal layer of the conflicting area, and realize the metal block automatic layer jump and obstacle avoidance based on DRC distance; the metal block automatic layer jump model refers to Figure 17 As shown, through the priority of the externally specified metal blocks, when a DRC conflict occurs, the metal block with a low priority actively avoids the metal block with a high priority. By calling the DRC engine, the DRC area of ​​the metal block conflict is calculated, and then the metal layer of the metal block in the conflict area is switched to the non-DRC conflict layer to complete the DRC obstacle avoidance. In special cases, when the metal block in the conflict area is oblique, the entire metal block needs to be automatically jumped to the layer.

[0124] by Figure 18 For example, the lower metal block set is designated as a low-priority metal block, and the upper metal block set is designated as a high-priority metal block. When the lower metal block moves upward and generates a DRC conflict, since the lower metal block has a low priority, the metal in the DRC conflict area of ​​the lower metal block is switched to a DRC-legal metal layer to complete DRC obstacle avoidance.

[0125] S35) Output the modified metal polygon and automatically import it into CAD software for display.

[0126] The above embodiments and descriptions are only for explaining the principles and best embodiments of the present invention. Without departing from the spirit and scope of the present invention, the present invention may be subject to various changes and improvements, which shall fall within the scope of the invention to be protected.

Claims

1. A method for automatically modifying a radio frequency layout, characterized in that: The steps include: S1), according to the modified area of ​​the RF layout, all through holes and metal polygons in the RF layout are parsed; including hole information of the metal polygon, extraction of line segment sets in the metal polygon, and segmentation of metal blocks and establishment of metal block connection information; S2), matching the modification type and the modification object according to the modification information, and expanding and displaying the modification object; S3) Based on the modification object and the modification information, the radio frequency layout is modified and displayed.

2. The method for automatically modifying a radio frequency layout according to claim 1, wherein: In step S1), the hole of the metal polygon and the outer contour of the metal polygon form an inner and outer ring relationship, and the hole information of the metal polygon is extracted, which specifically includes the following steps: S111), distinguishing inner and outer rings by vertex arrangement direction and area calculation; S112), for each candidate inner ring, select an inner ring vertex and determine whether it is located inside the outer contour, combine the scan line method or the hierarchical bounding box intersection to determine the nesting relationship of the rings, and exclude invalid inner rings that are not completely surrounded by the outer contour; S113) Output all inner hole rings that meet the conditions and their corresponding outer ring levels. If the output inner control ring set is not empty, it is determined that the metal polygon has holes.

3. The method for automatically modifying a radio frequency layout according to claim 2, wherein: Splitting a metal polygon into multiple metal blocks includes the following steps: S131), perform concave point detection and preprocessing on polygons The concave area is identified by calculating the internal angles of each vertex of the polygon, and vertical or horizontal cutting lines are inserted along the coordinate axis at the concave points to decompose the original polygon into several convex sub-areas. S132), perform maximum quadrilateral coverage on each convex sub-region Starting from the vertex set of the convex subregion, scan along the boundary to generate the axis-aligned maximum inscribed quadrilateral, and take the maximum inscribed quadrilateral as the segmentation result of the metal block; S133), recursively cut off the covered part and process the remaining area until all sub-areas are filled with quadrilaterals, thereby achieving the segmentation of metal polygons.

4. The method for automatically modifying a radio frequency layout according to claim 3, wherein: In step S1), the connection information of the metal blocks is established according to the through-hole information and the segmented metal block set, specifically: For metal blocks on the same layer, if the geometric figures overlap, it is determined that there is a connection relationship; For metal blocks on different layers, if they overlap with the upper and lower layers of metal of the through hole at the same time, it is determined that there is a connection relationship.

5. The method for automatically modifying a radio frequency layout according to claim 1, wherein: In step S2), the modification information includes the selected coordinates, modification type, and offset; the modification object is matched by determining whether the selected coordinate point is inside the metal block or matches the nearest neighbor line segment; then the modified object is expanded; the expanded graphic is imported into the CAD software as a highlighted graphic, and the successfully matched modified object under the modification information is displayed; wherein, the expansion of the modified object is specifically: For polygons, each edge is translated outward along its normal direction by an expansion radius r, and the new vertex is determined by calculating the intersection of the extended lines of adjacent translated edges to form an outward expansion contour; For line segments, first generate two parallel line segments with a spacing of 2r along the normal direction, then construct vertical square caps with a side length of 2r at the end points of the line segments, and connect the endpoints of the parallel lines and the vertices of the caps to form a closed rectangle.

6. The method for automatically modifying a radio frequency layout according to claim 5, wherein: In step S2), the modification types include 9 categories, namely: MA type: When metal block A is translated, the connected metal block B follows the translation, and the length of the metal block C connected to the other end of metal block B is modified by extension; Type M: When metal block A is translated, the connected metal block B does not follow the translation, and the length of metal block B is modified to be extended; MT type: If metal block A is translated, all metal blocks that have direct and indirect connections with metal block A will follow the translation modification; R type: A set of metal blocks with an overall symmetrical relationship is modified by overall radial expansion and radial contraction along the center of symmetry; L type: Metal polygon segments are modified by expanding outwards and shrinking inwards, and polygon segments are modified by translating in their own normal direction; H type: The distance between the hole boundary inside the metal polygon and the metal blocks contained inside is maintained and modified. Hole A detects the metal block set S contained inside, and maintains the distance DIS between the boundary and the metal block set S in the normal direction, where DIS is the externally specified maintenance distance; Type F: Modification of the direction and distance between metal polygon segments. Under the condition that segment A and segment B are parallel, the normal distance between segment A and segment B is maintained as DIS, where DIS is the externally specified distance. VF type: The through hole is modified to automatically follow the metal polygon line segment. After the through hole A and line segment B are automatically followed, when the midpoint of line segment B moves, the through hole A moves along with the midpoint of line segment B. JP type: Automatic layer skipping when DRC conflicts occur between metal blocks. When DRC conflicts occur between metal blocks A and B, the metal block with lower priority will automatically skip layers.

7. The method for automatically modifying a radio frequency layout according to claim 6, wherein: In step S3), the type of the RF layout is automatically modified to modify the polygon point set of the metal and the point set of each layer of the through hole in the RF layout, specifically: S31), for MA type, M type, and R type, a metal block movement transfer model is established to achieve automatic modification; S32), for MT type, L type, F type, and H type, establish a line segment movement model to achieve automatic modification; S33) For VF type, establish a through-hole movement model to achieve automatic modification; S34), for the JP type, establish a metal block automatic layer jumping model, calculate the DRC illegal area of ​​the metal block with lower priority, switch the metal layer of the conflicting area, and realize the automatic layer jumping and obstacle avoidance of the metal block based on the DRC distance; S35) Output the modified metal polygon and automatically import it into CAD software for display.

8. The method for automatically modifying a radio frequency layout according to claim 7, wherein: In step S31), the metal block movement transfer model is: When the movement needs to be transferred, it is transferred to the metal block connected to the metal block. During the transfer process, if the moving direction is orthogonal to the current metal block, the movement transfer is judged to be completed, otherwise the movement transfer continues.

9. The method for automatically modifying a radio frequency layout according to claim 7, wherein: In step S32), the line segment movement model is: When a line segment moves, determine whether the moved line segment is in the metal polygon line segment set. If it is in the metal polygon line segment set, add the movement amount to the first and last endpoints of the line segment, and update the line segment to the metal polygon line segment set.

10. The method for automatically modifying a radio frequency layout according to claim 7, wherein: In step S34), the automatic layer jumping model of the metal block is: through the priority of the metal block specified externally, when a DRC conflict occurs, the metal block with low priority actively avoids the metal block with high priority, and calculates the DRC area of ​​the metal block conflict by calling the DRC engine, and then switches the metal layer of the metal block in the conflict area to the non-DRC conflict layer to complete the DRC obstacle avoidance.