Circuit preprocessing method, system and related equipment based on edge shrinkage technology

The edge shrinking technology simplifies the circuit connection relationship, solves the problem of low calculation efficiency of circuits with high port count, maintains the electrical characteristics while reducing the calculation time, and improves the calculation efficiency of the circuit scattering parameter matrix.

CN118536319BActive Publication Date: 2024-10-11LANSUS TECH INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410988577.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-10-11
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

The existing equivalent circuit scattering parameter matrix calculation method has low computational efficiency in circuits with a high number of ports, resulting in performance problems in performance analysis.

Method used

A circuit preprocessing method based on edge shrinkage technology is used to simplify the equivalent circuit structure, reduce the number of ports, and reduce the calculation scale by constructing a circuit connection list, traversing and reordering, and merging connection relationships.

Benefits of technology

On the premise of keeping the electrical characteristics unchanged, the calculation time of the circuit scattering parameter matrix is ​​significantly reduced and the calculation efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118536319B_ABST
    Figure CN118536319B_ABST
Patent Text Reader

Abstract

The present invention provides a circuit preprocessing method, system and related equipment based on edge contraction technology, the method comprising: constructing a circuit connection list about the connection relationship between different circuit elements based on the original equivalent circuit; traversing the circuit connection list, judging that different connection relationships can be merged based on the edge contraction method, and reordering the connection relationships in the circuit connection list to obtain an ordered circuit connection list; traversing the ordered circuit connection list, judging that different connection relationships can be merged based on the edge contraction method, and merging the connection relationships in the ordered circuit connection list to obtain a merged circuit connection list; based on the merged circuit connection list, connecting different circuit elements to obtain a simplified equivalent circuit. The present invention reduces the time consumption of calculating the circuit scattering parameter matrix.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention is applicable to the field of wireless communication technology, and in particular relates to a circuit preprocessing method, system and related equipment based on edge shrinkage technology. Background Art

[0002] With the development of wireless communication technology, the demand for RF devices in various electronic consumer products is increasing. Correspondingly, in the process of RF device design, designers have higher and higher requirements for the frequency sweep efficiency and accuracy of simulation software. Usually, since RF devices are composed of multiple discrete device packages, multiple discrete devices such as resonators, multi-mode surface acoustic wave filters (DMS), capacitors, inductors, etc. need to be connected in the circuit in the software, and the electrical performance of the external port of the circuit is used as the electrical performance of the device.

[0003] The current mainstream algorithm usually uses the method introduced in "Hallbjörner, P., 2003. Method for calculating the scattering matrix of arbitrary microwave networks giving both internal and external scattering. Microw. Opt. Technol. Lett. 38, 99–102." to calculate the overall scattering parameter matrix of the circuit connection of any microwave network. This method divides each port into internal ports and external ports, and indexes the external ports in the overall scattering parameter matrix to obtain the actual scattering parameter matrix of the circuit, and the various electrical properties of the circuit can be converted through the scattering parameter matrix. The process of calculating the overall scattering parameter matrix S of the circuit by this algorithm satisfies the following relationship:

[0004] ;

[0005] In the above expression, is the matrix multiplication operator, ^-1 is the matrix inversion operator, I is the identity matrix, C is the assembled scattering parameter matrix after assembling the scattering parameter matrices of each separate device in node order, and X is the scattering matrix of each circuit intersection.

[0006] The above algorithm is very robust and general, but there are relatively serious efficiency problems in actual use. From the relationship between the overall scattering parameter matrix S, it can be seen that the matrix dimension in the algorithm calculation process depends on the total number of ports of all devices in the circuit connection. For a surface acoustic wave filter, a filter usually has dozens of resonators and DMS, with a total of nearly 100 ports, so the dimension of the matrix calculation is often close to As the performance requirements of devices become higher and higher, the scale and precision of their circuits will also become higher and higher. Therefore, in actual calculations, the performance analysis based on the above algorithm has certain performance problems. Summary of the invention

[0007] The present invention provides a circuit preprocessing method, system and related equipment based on edge contraction technology, aiming to solve the technical problem of large calculation dimension of the existing equivalent circuit scattering parameter matrix calculation method.

[0008] In order to solve the above technical problems, in a first aspect, the present invention provides a circuit preprocessing method based on edge shrinkage technology, the circuit preprocessing method comprising the following steps:

[0009] S1. constructing a circuit connection list about connection relationships between different circuit elements therein based on the original equivalent circuit;

[0010] S2, traversing the circuit connection list, judging whether different connection relationships can be merged based on an edge contraction method, and reordering the connection relationships in the circuit connection list to obtain an ordered circuit connection list;

[0011] S3, traversing the ordered circuit connection list, judging whether different connection relationships can be merged based on an edge contraction method, and merging the connection relationships in the ordered circuit connection list to obtain a merged circuit connection list;

[0012] S4. Based on the merged circuit connection list, connect the different circuit elements to obtain a simplified equivalent circuit.

[0013] Furthermore, the content of the circuit connection list also includes the scattering parameter matrix of the circuit elements and the element connection mode.

[0014] Furthermore, step S2 includes the following sub-steps:

[0015] S21, defining the circuit connection list to include N connection relationships between different circuit elements, and traversing the connection relationships in sequence according to the initial order of the N connection relationships;

[0016] S22: judging whether the circuit elements corresponding to the connection relationships currently traversed can be merged based on preset judgment conditions, wherein:

[0017] If so, adjusting the order of the corresponding connection relationship in the circuit connection list according to the order of the total number of ports of all the circuit elements in the connection relationship from small to large;

[0018] If not, maintaining the order of the connection relationship in the circuit connection list;

[0019] S23. Output the circuit connection list after traversal and reordering as the ordered circuit connection list.

[0020] Furthermore, step S3 includes the following sub-steps:

[0021] S31, traversing the connection relationships in sequence according to the order of the N connection relationships in the ordered circuit connection list;

[0022] S32, judging whether the circuit elements corresponding to the connection relationship currently traversed can be merged based on the preset judgment condition, and if so, merging the circuit elements corresponding to the connection relationship, and obtaining an equivalent scattering parameter matrix corresponding to the merged circuit elements; then, replacing the circuit elements corresponding to the remaining connection relationships with the equivalent scattering parameter matrix;

[0023] S33: Output the ordered circuit connection list after traversal and merging as the merged circuit connection list.

[0024] Furthermore, the preset judgment condition is specifically:

[0025] The circuit elements in the connection relationship are points and the connections between different circuit elements are edges. The points and edges in the connection relationship can be simplified by an edge contraction method, and the circuit elements in the connection relationship have external interfaces and the number of the circuit elements is greater than 2.

[0026] Furthermore, in step S31, the N connection relationships are traversed in the order of the ordered circuit connection list starting from the first connection relationship whose total number of external ports is not 0.

[0027] Furthermore, step S32 further includes:

[0028] The connection relationships corresponding to the merged circuit elements are removed from the ordered circuit connection list.

[0029] In a second aspect, the present invention further provides a circuit preprocessing system based on edge shrinkage technology, comprising:

[0030] A circuit analysis module, for constructing a circuit connection list about connection relations between different circuit elements therein based on the original equivalent circuit;

[0031] a reordering module, configured to traverse the circuit connection list, determine whether different connection relationships can be merged based on an edge contraction method, and reorder the connection relationships in the circuit connection list to obtain an ordered circuit connection list;

[0032] A merging module, configured to traverse the ordered circuit connection list, determine whether different connection relationships can be merged based on an edge contraction method, and merge the connection relationships in the ordered circuit connection list to obtain a merged circuit connection list;

[0033] A connection module is used to connect different circuit elements based on the merged circuit connection list to obtain a simplified equivalent circuit.

[0034] In a third aspect, the present invention also provides a computer device, comprising: a memory, a processor, and a circuit preprocessing program based on edge shrinkage technology stored in the memory and executable on the processor, wherein when the processor executes the circuit preprocessing program based on edge shrinkage technology, the processor implements the steps in the circuit preprocessing method based on edge shrinkage technology as described in any one of the above embodiments.

[0035] In a fourth aspect, the present invention also provides a computer-readable storage medium, on which is stored a circuit preprocessing program based on edge shrinkage technology. When the circuit preprocessing program based on edge shrinkage technology is executed by a processor, the steps of the circuit preprocessing method based on edge shrinkage technology as described in any one of the above embodiments are implemented.

[0036] The beneficial effect achieved by the present invention is that a circuit preprocessing method based on edge contraction technology is proposed. The method takes the edge contraction method of graph theory as its theoretical basis and combines it with the connection process of the equivalent circuit. By analyzing the circuit elements that can be merged in the equivalent circuit and replacing the elements with the merged parameter scattering matrix, the equivalent circuit structure finally connected is made to reduce the number of ports in the circuit structure while keeping the electrical characteristics unchanged, thereby reducing the calculation scale and reducing the calculation time of the circuit scattering parameter matrix. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 is a flowchart of the steps of a circuit preprocessing method based on edge shrinkage technology provided by an embodiment of the present invention;

[0038] Figure 2 is a graphical schematic diagram of an edge shrinking method provided by an embodiment of the present invention;

[0039] Figure 3 is a schematic diagram of an equivalent circuit of a filter provided by an embodiment of the present invention;

[0040] Figure 4is a schematic diagram of the connection relationship of the equivalent circuit of the filter provided by the embodiment of the present invention;

[0041] Figure 5 is a schematic diagram of an equivalent circuit of a simplified filter provided by an embodiment of the present invention;

[0042] Figure 6 is a schematic diagram of the structure of a circuit preprocessing system based on edge shrinkage technology provided by an embodiment of the present invention;

[0043] Figure 7 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0045] Please refer to Figure 1 , Figure 1 : is a flowchart of the steps of a circuit preprocessing method based on edge shrinkage technology provided by an embodiment of the present invention, wherein the circuit preprocessing method comprises the following steps:

[0046] S1. Constructing a circuit connection list about the connection relationship between different circuit elements therein based on the original equivalent circuit.

[0047] Specifically, the original equivalent circuit in the embodiment of the present invention refers to an unoptimized circuit simulation structure. During the implementation of the equivalent circuit, the complete circuit connection of the target circuit to be calculated can be constructed by using a typesetting tool or a manual editing method, and the circuit connection list is formed according to the connection relationship of each circuit element therein. The content of the circuit connection list also includes the scattering parameter matrix and the element connection mode of the circuit element. Exemplarily, a circuit connection list is shown in Table 1 below, where the total number of ports refers to the total number of external ports of all circuit elements connected to each other. When the total number of ports is not marked, it means that the circuit element in the current connection does not have an external port available for connection.

[0048] Table 1 Circuit connection list example

[0049]

[0050] S2. Traverse the circuit connection list, determine whether different connection relationships can be merged based on an edge contraction method, and reorder the connection relationships in the circuit connection list to obtain an ordered circuit connection list.

[0051] Step S2 includes the following sub-steps:

[0052] S21, defining the circuit connection list to include N connection relationships between different circuit elements, and traversing the connection relationships in sequence according to the initial order of the N connection relationships;

[0053] S22: judging whether the circuit elements corresponding to the connection relationships currently traversed can be merged based on preset judgment conditions, wherein:

[0054] If so, adjusting the order of the corresponding connection relationship in the circuit connection list according to the order of the total number of ports of all the circuit elements in the connection relationship from small to large;

[0055] If not, maintaining the order of the connection relationship in the circuit connection list;

[0056] S23. Output the circuit connection list after traversal and reordering as the ordered circuit connection list.

[0057] The preset judgment conditions are specifically:

[0058] The circuit elements in the connection relationship are points and the connections between different circuit elements are edges. The points and edges in the connection relationship can be simplified by an edge contraction method, and the circuit elements in the connection relationship have external interfaces and the number of the circuit elements is greater than 2.

[0059] Specifically, the edge contraction method in graph theory refers to a transformation that removes one of the edges of a graph and merges the two vertices of the removed edge while maintaining the connection relationship of other vertices connected to the vertex of the removed edge. It is one of the basic operators in graph subform theory, such as Figure 2 As shown, it shows a process in which point u and point v are merged into point w through edge contraction.

[0060] In the embodiment of the present invention, the preset judgment condition based on the edge contraction method is used to reorder the circuit elements in the connection relationship as points and the connections between different circuit elements as edges, so as to mark the connection relationship that can be merged. Corresponding to the content in Table 1, the circuit connection list containing the judgment result of the preset judgment condition is shown in Table 2, and the reordered ordered circuit connection list is shown in Table 3.

[0061] Table 2 Example of a circuit connection list including judgment results of preset judgment conditions

[0062]

[0063] Table 3 Example of ordered circuit connection list

[0064]

[0065] S3, traversing the ordered circuit connection list, judging whether different connection relationships can be merged based on an edge contraction method, and merging the connection relationships in the ordered circuit connection list to obtain a merged circuit connection list.

[0066] Step S3 includes the following sub-steps:

[0067] S31, traversing the connection relationships in sequence according to the order of the N connection relationships in the ordered circuit connection list;

[0068] S32, judging whether the circuit elements corresponding to the connection relationship currently traversed can be merged based on the preset judgment condition, and if so, merging the circuit elements corresponding to the connection relationship, and obtaining an equivalent scattering parameter matrix corresponding to the merged circuit elements; then, replacing the circuit elements corresponding to the remaining connection relationships with the equivalent scattering parameter matrix;

[0069] S33: Output the ordered circuit connection list after traversal and merging as the merged circuit connection list.

[0070] Exemplarily, corresponding to the contents in Table 3, the circuit elements involved in the corresponding connection relationship are shown in Table 4.

[0071] Table 4 Connection relationship and examples of related components

[0072]

[0073] In step S32, the connection relationships that can be merged are merged. Taking connection relationship 1 as an example, AB is connected in series to obtain an equivalent circuit element F, and Table 4 can be updated to a merged circuit connection list as shown in Table 5.

[0074] Table 5 Example of combined circuit list

[0075]

[0076] According to the traversal order, the subsequent connection relationships can continue to be merged. The logic is similar to the contents of Table 4 and Table 5, and will not be repeated here.

[0077] In step S31, according to the order of the N connection relationships in the ordered circuit connection list, traversal is performed starting from the first connection relationship whose total number of external ports is not 0. It can be understood that since the ordered circuit connection list has shown the connection relationships that can be merged, skipping the non-mergeable content for traversal can improve the simplification of the process.

[0078] Step S32 also includes:

[0079] The connection relationship corresponding to the merged circuit elements is removed from the ordered circuit connection list. Similarly, removing the merged connection relationship can simplify the connection process.

[0080] S4. Based on the merged circuit connection list, connect the different circuit elements to obtain a simplified equivalent circuit.

[0081] For ease of understanding, the embodiments of the present invention provide Figures 3 to 5 The figure shown illustrates the process of merging circuit elements into equivalent circuits. Figure 3 The figure is a schematic diagram of an equivalent circuit of a filter, in which the square is a 2-port element, the circle is an external port, the ground mark is a ground port, and the broken line connecting each element and the port is a wire for circuit connection;

[0082] correspond Figure 3 The equivalent circuit in the diagram has a connection relationship that cannot be simplified in terms of electrical relations. Figure 4 In the figure, the connections that cannot be simplified are usually three identical circuit elements or different types of circuit elements. After the circuits that can be combined and simplified are shown, it can be found that Figure 4 There are 45 circuit connections in total, 16 of which do not need to be simplified, and the remaining 29 circuits can be simplified;

[0083] Figure 5 The simplified filter equivalent circuit is shown, and these merged circuit elements are represented by a unified scattering parameter matrix. Obviously, the method provided in the embodiment of the present invention can greatly reduce the number of components in the circuit. Figure 3 , Figure 5 The equivalent circuit shown in the figure is actually calculated. Before the circuit is optimized, 1230.8935 ms are required to complete the scattering parameter calculation of the entire equivalent circuit. After the circuit is optimized using the method provided in the embodiment of the present invention, only 81.7755 ms are required to complete the scattering parameter calculation, and the calculation results are completely consistent, that is, the calculation time is greatly reduced while the result is kept unchanged.

[0084] The beneficial effect achieved by the present invention is that a circuit preprocessing method based on edge contraction technology is proposed. The method takes the edge contraction method of graph theory as its theoretical basis and combines it with the connection process of the equivalent circuit. By analyzing the circuit elements that can be merged in the equivalent circuit and replacing the elements with the merged parameter scattering matrix, the equivalent circuit structure finally connected is made to reduce the number of ports in the circuit structure while keeping the electrical characteristics unchanged, thereby reducing the calculation scale and reducing the calculation time of the circuit scattering parameter matrix.

[0085] The embodiment of the present invention also provides a circuit preprocessing system 200 based on edge shrinking technology, please refer to Figure 6 , Figure 6 2 is a schematic diagram of a circuit preprocessing system based on edge shrinking technology provided by an embodiment of the present invention. The circuit preprocessing system based on edge shrinking technology 200 includes:

[0086] A circuit analysis module 201, for constructing a circuit connection list about connection relationships between different circuit elements therein based on the original equivalent circuit;

[0087] A reordering module 202, configured to traverse the circuit connection list, determine whether different connection relationships can be merged based on an edge contraction method, and reorder the connection relationships in the circuit connection list to obtain an ordered circuit connection list;

[0088] A merging module 203 is used to traverse the ordered circuit connection list, determine whether different connection relationships can be merged based on an edge contraction method, and merge the connection relationships in the ordered circuit connection list to obtain a merged circuit connection list;

[0089] The connection module 204 is used to connect different circuit elements based on the merged circuit connection list to obtain a simplified equivalent circuit.

[0090] The circuit preprocessing system 200 based on edge shrinkage technology can implement the steps in the circuit preprocessing method based on edge shrinkage technology in the above embodiment, and can achieve the same technical effects. Please refer to the description in the above embodiment and will not be repeated here.

[0091] The embodiment of the present invention also provides a computer device, please refer to Figure 7 , Figure 7 300 is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. The computer device 300 includes: a memory 302, a processor 301, and a circuit preprocessing program based on edge contraction technology stored in the memory 302 and executable on the processor 301.

[0092] The processor 301 calls the circuit preprocessing program based on edge shrinkage technology stored in the memory 302 to execute the steps of the circuit preprocessing method based on edge shrinkage technology provided by the embodiment of the present invention. Figure 1 , specifically including the following steps:

[0093] S1. Constructing a circuit connection list about the connection relationship between different circuit elements therein based on the original equivalent circuit.

[0094] The content of the circuit connection list also includes the scattering parameter matrix of the circuit elements and the element connection mode.

[0095] S2. Traverse the circuit connection list, determine whether different connection relationships can be merged based on an edge contraction method, and reorder the connection relationships in the circuit connection list to obtain an ordered circuit connection list.

[0096] Step S2 includes the following sub-steps:

[0097] S21, defining the circuit connection list to include N connection relationships between different circuit elements, and traversing the connection relationships in sequence according to the initial order of the N connection relationships;

[0098] S22: judging whether the circuit elements corresponding to the connection relationships currently traversed can be merged based on preset judgment conditions, wherein:

[0099] If so, adjusting the order of the corresponding connection relationship in the circuit connection list according to the order of the total number of ports of all the circuit elements in the connection relationship from small to large;

[0100] If not, maintaining the order of the connection relationship in the circuit connection list;

[0101] S23. Output the circuit connection list after traversal and reordering as the ordered circuit connection list.

[0102] The preset judgment conditions are specifically:

[0103] The circuit elements in the connection relationship are points and the connections between different circuit elements are edges. The points and edges in the connection relationship can be simplified by an edge contraction method, and the circuit elements in the connection relationship have external interfaces and the number of the circuit elements is greater than 2.

[0104] S3, traversing the ordered circuit connection list, judging whether different connection relationships can be merged based on an edge contraction method, and merging the connection relationships in the ordered circuit connection list to obtain a merged circuit connection list.

[0105] Step S3 includes the following sub-steps:

[0106] S31, traversing the connection relationships in sequence according to the order of the N connection relationships in the ordered circuit connection list;

[0107] S32, judging whether the circuit elements corresponding to the connection relationship currently traversed can be merged based on the preset judgment condition, and if so, merging the circuit elements corresponding to the connection relationship, and obtaining an equivalent scattering parameter matrix corresponding to the merged circuit elements; then, replacing the circuit elements corresponding to the remaining connection relationships with the equivalent scattering parameter matrix;

[0108] S33: Output the ordered circuit connection list after traversal and merging as the merged circuit connection list.

[0109] In step S31, the N connection relationships are traversed in the order of the N connection relationships in the ordered circuit connection list, starting from the first connection relationship whose total number of external ports is not 0.

[0110] Step S32 also includes:

[0111] The connection relationships corresponding to the merged circuit elements are removed from the ordered circuit connection list.

[0112] S4. Based on the merged circuit connection list, connect the different circuit elements to obtain a simplified equivalent circuit.

[0113] The computer device 300 provided in the embodiment of the present invention can implement the steps in the circuit preprocessing method based on edge shrinkage technology in the above embodiment, and can achieve the same technical effect. Please refer to the description in the above embodiment and will not be repeated here.

[0114] An embodiment of the present invention also provides a computer-readable storage medium, on which a circuit preprocessing program based on edge shrinkage technology is stored. When the circuit preprocessing program based on edge shrinkage technology is executed by a processor, the various processes and steps in the circuit preprocessing method based on edge shrinkage technology provided in an embodiment of the present invention are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0115] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be realized by instructing related hardware (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) through a circuit preprocessing program based on edge shrinking technology. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0116] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0117] The embodiments of the present invention are described above in conjunction with the accompanying drawings. What is disclosed is only the preferred embodiment of the present invention. However, the present invention is not limited to the above-mentioned specific implementation manner. The above-mentioned specific implementation manner is only illustrative rather than restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms and equivalent changes without departing from the scope of protection of the purpose of the present invention and the claims, all of which are within the protection of the present invention.

Claims

1. A circuit preprocessing method based on edge shrinkage technology, characterized in that: The circuit preprocessing method comprises the following steps: S1. constructing a circuit connection list about the connection relationship between different circuit elements in the original equivalent circuit based on the original equivalent circuit; the content of the circuit connection list also includes the scattering parameter matrix and the element connection mode of the circuit element; S2, traversing the circuit connection list, judging whether different connection relationships can be merged based on an edge contraction method, and reordering the connection relationships in the circuit connection list to obtain an ordered circuit connection list; S3, traversing the ordered circuit connection list, judging whether different connection relationships can be merged based on an edge contraction method, and merging the connection relationships in the ordered circuit connection list to obtain a merged circuit connection list; S4, connecting different circuit elements based on the merged circuit connection list to obtain a simplified equivalent circuit; Wherein, step S2 includes the following sub-steps: S21, defining the circuit connection list to include N connection relationships between different circuit elements, and traversing the connection relationships in sequence according to the initial order of the N connection relationships; S22: judging whether the circuit elements corresponding to the connection relationships currently traversed can be merged based on preset judgment conditions, wherein: If so, adjusting the order of the corresponding connection relationship in the circuit connection list according to the order of the total number of ports of all the circuit elements in the connection relationship from small to large; If not, maintaining the order of the connection relationship in the circuit connection list; S23. Output the circuit connection list after traversal and reordering as the ordered circuit connection list.

2. The circuit preprocessing method based on edge shrinkage technology according to claim 1, characterized in that: Step S3 includes the following sub-steps: S31, traversing the connection relationships in sequence according to the order of the N connection relationships in the ordered circuit connection list; S32, judging whether the circuit elements corresponding to the connection relationship currently traversed can be merged based on the preset judgment condition, and if so, merging the circuit elements corresponding to the connection relationship, and obtaining an equivalent scattering parameter matrix corresponding to the merged circuit elements; then, replacing the circuit elements corresponding to the remaining connection relationships with the equivalent scattering parameter matrix; S33: Output the ordered circuit connection list after traversal and merging as the merged circuit connection list.

3. The circuit preprocessing method based on edge contraction technology as claimed in claim 2, characterized in that: The preset judgment conditions are specifically: The circuit elements in the connection relationship are points and the connections between different circuit elements are edges. The points and edges in the connection relationship can be simplified by an edge contraction method, and the circuit elements in the connection relationship have external interfaces and the number of the circuit elements is greater than 2.

4. The circuit preprocessing method based on edge contraction technology as claimed in claim 2, characterized in that: In step S31, the N connection relationships are traversed in the order of the N connection relationships in the ordered circuit connection list, starting from the first connection relationship whose total number of external ports is not 0.

5. The circuit preprocessing method based on edge contraction technology as claimed in claim 2, characterized in that: Step S32 also includes: The connection relationships corresponding to the merged circuit elements are removed from the ordered circuit connection list.

6. A circuit preprocessing system based on edge contraction technology, characterized in that: include: A circuit analysis module, for constructing a circuit connection list about connection relations between different circuit elements therein based on the original equivalent circuit; The content of the circuit connection list also includes the scattering parameter matrix and the element connection mode of the circuit element; a reordering module, configured to traverse the circuit connection list, determine whether different connection relationships can be merged based on an edge contraction method, and reorder the connection relationships in the circuit connection list to obtain an ordered circuit connection list; A merging module, configured to traverse the ordered circuit connection list, determine whether different connection relationships can be merged based on an edge contraction method, and merge the connection relationships in the ordered circuit connection list to obtain a merged circuit connection list; A connection module, used for connecting different circuit elements based on the merged circuit connection list to obtain a simplified equivalent circuit; Wherein, the reordering module is also used for: The circuit connection list is defined to include N connection relationships between different circuit elements, and the connection relationships are sequentially traversed according to the initial order of the N connection relationships; It is determined based on a preset judgment condition whether the circuit elements corresponding to the connection relationship currently traversed can be merged, wherein: If so, adjusting the order of the corresponding connection relationship in the circuit connection list according to the order of the total number of ports of all the circuit elements in the connection relationship from small to large; If not, maintaining the order of the connection relationship in the circuit connection list; The circuit connection list after traversal and reordering is output as the ordered circuit connection list.

7. A computer device, characterized in that: include: A memory, a processor, and a circuit preprocessing program based on edge shrinkage technology stored in the memory and executable on the processor, wherein when the processor executes the circuit preprocessing program based on edge shrinkage technology, the steps in the circuit preprocessing method based on edge shrinkage technology as described in any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a circuit preprocessing program based on edge shrinkage technology, and when the circuit preprocessing program based on edge shrinkage technology is executed by a processor, the steps of the circuit preprocessing method based on edge shrinkage technology as described in any one of claims 1-5 are implemented.

Citation Information

Patent Citations

  • Circuit board and electronic equipment

    CN115003020A

  • Method and system to improve noise analysis performance of electrical circuits

    US6523149B1