Impedance circuit self-matching optimization method, system and related equipment
By reading the SNP file of the filter to generate a port network, perform circuit estimation optimization and screening, the gradient descent method and the Cartesian product algorithm are used to automatically optimize the physical quantities of electronic components, solving the problem of low self-matching optimization efficiency of impedance circuits, and realizing SAW Efficient matching circuit design for filters.
Patent Information
- Application Number
- CN202410790135.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-06-19
AI Technical Summary
In the existing technology, the self-matching optimization efficiency of the impedance circuit is low. Designers need to manually build and adjust the matching circuit structure to optimize the electrical performance of the SAW filter, and cannot effectively control the impedance circuit, resulting in a complex optimization process and low efficiency.
Generate a port network by reading the SNP file of the filter, perform circuit estimation and optimization, screen and assemble a variety of matching circuit structures, use the gradient descent method and Cartesian product algorithm to optimize the physical quantities of electronic components, and automatically screen and assemble the optimal matching circuit. Improve the optimization efficiency of the matching circuit.
There is no need for the user to preset the circuit structure, and all possible matching circuits can be tried. The overall analysis efficiency of the SAW port is improved through pre-optimization steps, ensuring that the matching circuit provides better electrical performance and improving the optimization efficiency of the impedance matching circuit.
Smart Images

Figure CN118364771B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and in particular to an impedance circuit self-matching optimization method, system and related equipment. Background Art
[0002] For surface acoustic wave filters (SAW), a reasonable matching circuit is as important as the appropriate finger geometry design. For SAW devices, building a suitable matching circuit can significantly improve the performance of electrical performance such as insertion loss, return, and standing wave ratio in the passband.
[0003] Various current circuit design tools generally support the optimization of filter matching circuits, that is, the designer loads the SNP file that reflects the electrical performance of the SAW filter into the circuit design tool, and then manually builds the matching circuit and assigns initial values to the added electronic components (commonly used as capacitors, inductors, etc.) based on the designer's observation of the electrical performance of the filter and design experience. Then manually specify the optimization target of insertion loss or standing wave ratio, and use the optimization algorithm provided by the circuit design tool to numerically optimize the physical quantities of each electronic component in the matching circuit.
[0004] The matching circuit optimization methods in existing circuit design tools generally require the construction of the basic structure of the matching circuit first, such as determining that each port of the filter is connected to the output port by connecting one or more capacitors and inductors in series or in parallel. For one port, even if only the matching circuit structure of at most two electronic components is considered, there are 20 theoretically feasible matching circuit structures, namely 2*2+4*4. For an n-port SAW filter, there are 20^n theoretically feasible matching circuit structures.
[0005] Therefore, when facing an n-port SAW filter, designers need to make full use of their design experience to select a matching circuit structure from 20^n matching circuit structures, model it in the circuit design tool, and optimize the physical quantities of the electronic components through the optimization algorithm to obtain the physical quantities of the specific electronic components of the matching circuit. When the optimization result is not ideal, the designer needs to deeply analyze the electrical performance of the SAW filter, so as to repeatedly adjust the structure of the matching circuit, and finally select the appropriate circuit structure and obtain the physical quantities of the electronic components.
[0006] However, the disadvantage of the prior art is that the structure of the matching circuit needs to be preset when optimizing the matching circuit. When the matching circuit structure is not designed reasonably or is not good enough, the purpose of regulating the electrical performance of the SAW filter through the matching circuit cannot be achieved, and the impedance circuit self-matching optimization efficiency is low. Summary of the invention
[0007] The embodiment of the present invention provides an impedance circuit self-matching optimization method to solve the problem of low efficiency of the existing impedance circuit self-matching optimization.
[0008] In a first aspect, an embodiment of the present invention provides an impedance circuit self-matching optimization method, the method comprising the following steps:
[0009] S1, read the SNP file of the filter and generate the corresponding port network and working frequency band;
[0010] S2, performing circuit pre-estimation optimization on each of the port networks, and recording the optimization results of all the port networks;
[0011] S3, screening each of the port networks according to preset rules to obtain multiple screening results;
[0012] S4, assembling an overall matching circuit for the plurality of screening results to obtain a plurality of circuit optimization results;
[0013] S5. Screening the multiple circuit optimization results to obtain the best matching circuit.
[0014] Preferably, step S2 specifically includes the following sub-steps:
[0015] S21, presuppose that the port network has a total of N ports, and select the i-th port; wherein 0<i≤N, i and N are both positive integers;
[0016] S22, traversing all feasible circuit structures, and optimizing the physical quantities of electronic components in each of the circuit structures to obtain a target optimization result;
[0017] S23, recording the target optimization result;
[0018] S24, completing the optimization process of the N ports, and recording the optimization results of all ports.
[0019] Preferably, in step S22, the physical quantities of the electronic components in each of the circuit structures are optimized by a gradient descent method to obtain the target optimization result.
[0020] Preferably, step S3 specifically includes the following sub-steps:
[0021] S31, extracting the optimization result obtained by circuit pre-estimation of the i-th port;
[0022] S32, sorting the optimization results according to passband flatness;
[0023] S33, screening the sorted optimization results according to the first decile of the passband flatness to obtain screening results; wherein the first decile represents all screening results that are less than the minimum passband flatness value + (maximum passband flatness value - minimum passband flatness value) / 10 after sorting multiple standing wave ratio values;
[0024] S34, completing the result screening of all N ports.
[0025] Preferably, step S4 specifically includes the following sub-steps:
[0026] S41, using Cartesian product traversal to obtain feasible results of all overall matching circuits;
[0027] S42, selecting any feasible result of the overall matching circuit, performing pre-optimization processing, and obtaining a pre-optimization result;
[0028] S43, using the pre-optimization result as the initial value of the physical quantity of the electronic component, and optimizing each port using a gradient optimization algorithm;
[0029] S44, completing the optimization process of all the overall matching circuits.
[0030] Preferably, in step S41, the Cartesian product is specifically expressed as:
[0031] ;
[0032] Definition, the feasible result of the overall matching circuit is K , K i is the i-th result for each port.
[0033] Preferably, in step S5, the first quartile is used to screen the plurality of circuit optimization results, and the screened result is used as the optimal matching circuit.
[0034] In a second aspect, an embodiment of the present invention provides an impedance circuit self-matching optimization system, the impedance circuit self-matching optimization system comprising:
[0035] Reading module, used to read the SNP file of the filter and generate the corresponding port network and working frequency band;
[0036] A pre-estimation module, used for performing circuit pre-estimation on each of the port networks and recording optimization results of all the port networks;
[0037] A screening module, used for screening each of the port networks according to preset rules to obtain multiple screening results;
[0038] An assembling module, used to assemble the overall matching circuit for the plurality of screening results, and obtain a plurality of circuit optimization results;
[0039] The recommendation module is used to screen the multiple circuit optimization results to obtain the best matching circuit.
[0040] In a third aspect, an embodiment of the present invention provides a computer device, comprising: a memory, a processor, and an impedance circuit self-matching optimization program stored in the memory and executable on the processor, wherein the processor implements the steps in the above-mentioned impedance circuit self-matching optimization method when executing the impedance circuit self-matching optimization program.
[0041] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which an impedance circuit self-matching optimization program is stored. When the impedance circuit self-matching optimization program is executed by a processor, the steps in the above-mentioned impedance circuit self-matching optimization method are implemented.
[0042] Compared with the prior art, the impedance circuit self-matching optimization method in the present invention reads the SNP file of the filter and generates the corresponding port network and working frequency band; performs circuit pre-estimation optimization on each of the port networks, and records the optimization results of all the port networks; screens each of the port networks according to preset rules to obtain multiple screening results; assembles the multiple screening results into an overall matching circuit and obtains multiple circuit optimization results; screens the multiple circuit optimization results to obtain the optimal matching circuit; in this way, there is no need for the user to preset the circuit structure, and the optimization method can try all feasible matching circuits; through the pre-optimization step, the voltage standing wave ratio (VSWR) performance of each single port is used to preliminarily screen the feasible circuits, thereby improving the efficiency of the overall analysis of all SAW ports, and screening multiple circuit optimization results, on the basis of ensuring that the SAW matching circuit provides better electrical performance, it is ensured that the user can select a more suitable solution from the results according to actual needs, thereby improving the optimization efficiency of the impedance matching circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 is a flow chart of an impedance circuit self-matching optimization method provided by an embodiment of the present invention;
[0045] Figure 2is a schematic flow chart of step S2 provided in an embodiment of the present invention;
[0046] Figure 3 is a flow chart of step S3 provided in an embodiment of the present invention;
[0047] Figure 4 is a schematic flow chart of step S4 provided in an embodiment of the present invention;
[0048] Figure 5 This is a comparison diagram of the electrical performance of the original SAW provided by an embodiment of the present invention and the electrical performance after loading the matching circuit;
[0049] Figure 6 It is a module diagram of an impedance circuit self-matching optimization system provided by an embodiment of the present invention;
[0050] Figure 7 It is a module diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, every other embodiment obtained by ordinary technicians in this field without creative work belongs to the scope of protection of the present invention.
[0052] Embodiment 1
[0053] Combined with Figure 1-Figure 5 As shown, an embodiment of the present invention provides an impedance circuit self-matching optimization method, the method comprising the following steps:
[0054] S1. Read the SNP file of the filter and generate the corresponding port network and working frequency band.
[0055] Among them, the port network is the Network meaning; the SNP file is the SNP file format used to store the parameters of the port network or passive connection of the filter. These parameters describe the behavior of the network at a specific frequency.
[0056] S2. Perform circuit pre-estimation optimization on each of the port networks, and record the optimization results of all the port networks.
[0057] The port network includes the circuit structure of each feasible circuit, the physical quantities of electronic components and the optimization results.
[0058] Among them, conventional matching circuit optimization requires applying matching elements to each port and considering the electrical performance of each port. However, matching circuit pre-estimation only considers the calculation of one port in a multi-port device. That is, no matching elements are applied to other ports, and the electrical performance of other ports is not considered, thereby improving matching efficiency.
[0059] S3. Screen each of the port networks according to preset rules to obtain multiple screening results.
[0060] Among them, because the first step requires pre-estimation of each port, each port will have multiple feasible results.
[0061] S4. Assembling an overall matching circuit for the plurality of screening results, and obtaining a plurality of circuit optimization results.
[0062] Among them, all the results obtained in step S3 are combined to obtain all the screening results. For example, after port 1 is screened, there are 3 types of matching circuits [a, b, c], and after port 2 is screened, there are 2 types of matching circuits [d, e]. Therefore, through the Cartesian product, all the matching circuits of this device are 6 types [ad, ae, bd, be, cd, ce].
[0063] S5. Screening the multiple circuit optimization results to obtain the best matching circuit.
[0064] Specifically, the SNP file of the filter is read and the corresponding port network and working frequency band are generated; the circuit pre-estimation optimization is performed on each port network, and the optimization results of all the port networks are recorded; each port network is screened according to preset rules to obtain multiple screening results; the overall matching circuit is assembled for the multiple screening results, and multiple circuit optimization results are obtained; the multiple circuit optimization results are screened to obtain the optimal matching circuit; in this way, there is no need for the user to preset the circuit structure, and the optimization method can try all feasible matching circuits; through the pre-optimization step, the voltage standing wave ratio (VSWR) performance of each single port is used to preliminarily screen the feasible circuits, thereby improving the efficiency of the overall analysis of all SAW ports, and screening multiple circuit optimization results. On the basis of ensuring that the SAW matching circuit provides better electrical performance, it is ensured that the user can select a more suitable solution from the results according to actual needs, thereby improving the optimization efficiency of the impedance matching circuit.
[0065] In this embodiment, step S2 specifically includes the following sub-steps:
[0066] S21. It is assumed that the port network has a total of N ports, and the i-th port is selected; wherein 0<i≤N, i and N are both positive integers.
[0067] S22, traversing all feasible circuit structures, and optimizing the physical quantities of electronic components in each of the circuit structures to obtain a target optimization result.
[0068] In this embodiment, in step S22, the physical quantities of the electronic components in each circuit structure are optimized by a gradient descent method to obtain the target optimization result.
[0069] Among them, the gradient descent method moves a certain step length along the direction of the negative gradient (i.e., the direction of fastest descent) in each iteration until the minimum value of the loss function is reached, with high optimization efficiency.
[0070] Specifically, there are about 20 feasible circuit structures. By traversing the 20 feasible circuit structures, the physical quantities of the electronic components in each circuit structure are optimized using the gradient descent method, and the optimization goal is the estimated passband flatness (ILMIN-ILMAX).
[0071] S23, recording the target optimization result by recording the optimization results of 20 feasible circuit structures.
[0072] S24, completing the optimization process of the N ports, and recording the optimization results of all ports. Completing the circuit pre-estimation of all N ports, and recording 20*N optimization results of all N ports.
[0073] The so-called pre-estimation is to apply matching elements only to a certain port, so as to optimize the electrical performance of a certain port. The pre-estimation here is relative to the final goal. The final goal is to obtain the matching circuit of the entire N-port device, that is, to eliminate inappropriate circuit elements in each port in advance through pre-estimation before obtaining the final matching circuit. In this way, the pre-estimation of a certain port is carried out through feasible circuit optimization.
[0074] In this embodiment, step S3 specifically includes the following sub-steps:
[0075] S31 . Extracting an optimization result obtained by pre-estimating the circuit of the i-th port.
[0076] Among them, the i-th port is selected, and the recorded circuit structure, physical quantities of electronic components and pre-optimization results are obtained.
[0077] S32, sorting the optimization results according to passband flatness.
[0078] Among them, the pre-optimization results are sorted from small to large to obtain sorted results, which is convenient for further screening of results.
[0079] S33. Filter the sorted optimization results according to the first decile of the passband flatness to obtain a screening result; wherein the first decile represents all screening results that are less than the minimum passband flatness value + (maximum passband flatness value - minimum passband flatness value) / 10 after sorting multiple standing wave ratio (VSWR) values.
[0080] The first decile represents numbers from 0 to 10, and the numbers before 1 are selected. By screening the data in the first decile, the data includes the physical quantities of the circuit structure and the electronic components.
[0081] Optionally, 20 feasible circuit structures are pre-screened, as shown in Table 1 below.
[0082] Table 1-6 feasible circuit structures
[0083]
[0084] As shown in Table 1 above, the 20 feasible circuit structures can be pre-screened according to the needs of the user. If the user wishes to use only inductors, the 20 feasible circuit structures can be reduced to 6, which can further greatly improve the optimization efficiency.
[0085] S34, complete the result screening of all the N ports. The feasible circuits are preliminarily screened using the VSWR performance of each single port, thereby greatly improving the efficiency of the overall analysis of all SAW ports.
[0086] In this embodiment, step S4 specifically includes the following sub-steps:
[0087] S41. Use Cartesian product traversal to obtain feasible results for all overall matching circuits and perform pre-optimization.
[0088] Here, a Cartesian product is used to obtain all K feasible results, where K is all screening results for each port i.
[0089] S42, selecting any feasible result of the overall matching circuit, performing pre-optimization processing, and obtaining a pre-optimization result.
[0090] Among them, a feasible result of the jth overall matching circuit among K overall matching circuits is selected to obtain a pre-optimization result; wherein 0<j<K.
[0091] S43, using the pre-optimization result as the initial value of the physical quantity of the electronic component, and optimizing each port using a gradient optimization algorithm.
[0092] Among them, a gradient optimization algorithm is used to optimize each port, with the test specifications (optional) as constraints and the indicators of concern within the passband as targets (such as insertion loss, voltage standing wave ratio, ripple, etc.).
[0093] S44, completing the optimization process of all the overall matching circuits, thereby completing the optimization of K types of overall matching circuits and improving the optimization efficiency of the matching circuits.
[0094] Optionally, the user can intervene in the optimization process at each step to achieve various customized requirements, such as requiring that only inductance exists in the circuit, such as requiring that the physical quantity of the inductance is not greater than 10nH (the upper and lower limits can be added in the gradient optimization of Step 3.2 and Step 4.3). The objective function formula of step S43 can be modified during the optimization process to adjust the weight according to actual needs. For example, if you want to focus on optimizing VSWR, you can set the target to Sum(X*VSWR+Abs(IL_MAX)), where X can be any value greater than 1.
[0095] In this embodiment, in step S41, the Cartesian product is specifically expressed as:
[0096] ;
[0097] Definition, the feasible result of the overall matching circuit is K , K i is the i-th result for each port.
[0098] Optional, due to K i is the result of the first decile screening, so K i is much smaller than 20, so , thereby achieving the purpose of screening feasible matching circuit structures.
[0099] In this embodiment, in step S5, the first quartile is used to screen the plurality of circuit optimization results, and the screened result is used as the optimal matching circuit.
[0100] Among them, the first quartile is used to screen the optimization results, so as to ensure that the SAW matching circuit provides better electrical performance and that the user can select a more appropriate solution from the results according to actual needs.
[0101] In this embodiment, Figure 5As shown in the figure, the electrical performance comparison diagram of the matching circuit and the original SAW is obtained by using the impedance circuit self-matching optimization method. Among them, the matching circuit is Port 1: 2.0nH in parallel, 2.0pF in series (power factor); the matching circuit is Port 2: 3.7nH in series, 1.4pF in parallel. The electrical performance is -2.2dB in passband insertion loss and -12.1dB in return.
[0102] Embodiment 2
[0103] like Figure 6 As shown, an embodiment of the present invention provides an impedance circuit self-matching optimization system 200, and the impedance circuit self-matching optimization system 200 includes:
[0104] A reading module 201 is used to read the SNP file of the filter and generate a corresponding port network and working frequency band;
[0105] A pre-estimation module 202, configured to perform circuit pre-estimation optimization on each of the port networks and record optimization results of all the port networks;
[0106] A screening module 203, used to screen each of the port networks according to preset rules to obtain multiple screening results;
[0107] An assembling module 204 is used to assemble the overall matching circuits for the various screening results, and obtain various circuit optimization results by traversing;
[0108] The recommendation module 205 is used to screen the various circuit optimization results to obtain the best matching circuit.
[0109] The SNP file of the filter is read by the reading module 201 and the corresponding port network and working frequency band are generated; the circuit pre-estimation optimization is performed on each of the port networks by the pre-estimation module 202, and the optimization results of all the port networks are recorded; each of the port networks is screened according to the preset rules by the screening module 203 to obtain a variety of screening results; the overall matching circuit is assembled by the assembly module 204 for the various screening results, and a variety of circuit optimization results are obtained by traversal; the various circuit optimization results are screened by the recommendation module 205 to obtain the optimal matching circuit. In this way, there is no need for the user to preset the circuit structure, and the optimization method can try all feasible matching circuits; through the pre-optimization step, the feasible circuits are preliminarily screened using the VSWR performance of each single port, thereby greatly improving the efficiency of the overall analysis of all SAW ports; by screening the optimization results, on the basis of ensuring that the SAW matching circuit provides better electrical performance, it is ensured that the user can select a more suitable solution in the results according to actual needs.
[0110] In this embodiment, the pre-estimation module 202 is further used to preset that the port network has a total of N ports, and select the i-th port; wherein 0<i≤N, i and N are both positive integers. All feasible circuit structures are traversed, and the physical quantities of the electronic components in each of the circuit structures are optimized to obtain the target optimization result.
[0111] In this embodiment, the physical quantities of the electronic components in each circuit structure are optimized by the gradient descent method to obtain the target optimization result.
[0112] The target optimization result is recorded by recording the optimization results of 20 feasible circuit structures.
[0113] Complete the circuit pre-estimation of the N ports, and record the optimization results of all ports. Complete the circuit pre-estimation of all N ports, and record 20*N optimization results of all N ports.
[0114] In this embodiment, the screening module 203 is further used to extract the optimization result obtained by pre-estimating the circuit of the i-th port.
[0115] Among them, the i-th port is selected, and the recorded circuit structure, physical quantities of electronic components and pre-optimization results are obtained.
[0116] The optimization results are sorted according to passband flatness.
[0117] Among them, the pre-optimization results are sorted from small to large to obtain sorted results, which is convenient for further screening of results.
[0118] The sorted optimization results are screened according to the first decile of the passband flatness to obtain screening results; wherein the first decile represents all screening results that are less than the minimum passband flatness value + (maximum passband flatness value - minimum passband flatness value) / 10 after sorting multiple standing wave ratio (VSWR) values.
[0119] The result screening of all the N ports is completed. The feasible circuits are preliminarily screened using the VSWR performance of each single port, thereby greatly improving the efficiency of the overall analysis of all SAW ports.
[0120] In this embodiment, the assembly module 204 is further configured to obtain feasible results of all overall matching circuits using Cartesian product traversal.
[0121] Here, a Cartesian product is used to obtain all K feasible results, where K is all screening results for each port i.
[0122] Any feasible result of the overall matching circuit is selected, and a pre-optimization process is performed to obtain a pre-optimization result.
[0123] Among them, a feasible result of the jth overall matching circuit among K overall matching circuits is selected to obtain a pre-optimization result; wherein 0<j<K.
[0124] The pre-optimization result is used as the initial value of the physical quantity of the electronic component, and a gradient optimization algorithm is used to optimize each port.
[0125] Among them, a gradient optimization algorithm is used to optimize each port, with the test specifications (optional) as constraints and the indicators of concern within the passband as targets (such as insertion loss, voltage standing wave ratio, ripple, etc.).
[0126] The optimization process of all the overall matching circuits is completed, thereby completing the optimization of K types of overall matching circuits and improving the optimization efficiency of the matching circuits.
[0127] The functions implemented by the impedance circuit self-matching optimization system 200 are the same as those of the above-mentioned impedance circuit self-matching optimization method, and the technical effects produced are the same, which will not be described here.
[0128] Embodiment 3
[0129] like Figure 7 As shown, an embodiment of the present invention provides a computer device 300, including: a memory 301, a processor 302, and an impedance circuit self-matching optimization program stored in the memory 301 and executable on the processor 302, wherein the processor 302 implements the steps in the above-mentioned impedance circuit self-matching optimization method when executing the impedance circuit self-matching optimization program:
[0130] S1, read the SNP file and generate the corresponding port network and working frequency band;
[0131] S2, performing circuit pre-estimation on each of the port networks, and recording optimization results of all the port networks;
[0132] S3, screening each of the port networks according to preset rules to obtain multiple screening results;
[0133] S4, assembling an overall matching circuit for the plurality of screening results, and obtaining a plurality of circuit optimization results;
[0134] S5. Screening the plurality of circuit optimization results to obtain a recommended matching circuit.
[0135] Embodiment 4
[0136] An embodiment of the present invention provides a computer-readable storage medium, on which an impedance circuit self-matching optimization program is stored. When the impedance circuit self-matching optimization program is executed by a processor, the steps in the above-mentioned impedance circuit self-matching optimization method are implemented.
[0137] 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.
[0138] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0139] The above disclosure is only the preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.
Claims
1. A method for optimizing impedance circuit self-matching, characterized in that: The method comprises the following steps: S1, read the SNP file of the filter and generate the corresponding port network and working frequency band; S2, performing circuit pre-estimation optimization on each of the port networks, and recording the optimization results of all the port networks; S3, screening each of the port networks according to preset rules to obtain multiple screening results; S4, assembling an overall matching circuit for the plurality of screening results, and obtaining a plurality of circuit optimization results; S5, screening the multiple circuit optimization results to obtain the optimal matching circuit; In step S5, the first quartile is used to screen the plurality of circuit optimization results, and the screened result is used as the optimal matching circuit.
2. The impedance circuit self-matching optimization method according to claim 1, characterized in that: Step S2 specifically includes the following sub-steps: S21, presuppose that the port network has a total of N ports, and select the i-th port; wherein 0<i≤N, i and N are both positive integers; S22, traversing all feasible circuit structures, and optimizing the physical quantities of electronic components in each of the circuit structures to obtain a target optimization result; S23, recording the target optimization result; S24, completing the optimization process of the N ports, and recording the optimization results of all ports.
3. The impedance circuit self-matching optimization method according to claim 2, characterized in that: In step S22, the physical quantities of the electronic components in each of the circuit structures are optimized by a gradient descent method to obtain the target optimization result.
4. The impedance circuit self-matching optimization method according to claim 2, characterized in that: Step S3 specifically includes the following sub-steps: S31, extracting the optimization result obtained by circuit pre-estimation of the i-th port; S32, sorting the optimization results according to passband flatness; S33, screening the sorted optimization results according to the first decile of the passband flatness to obtain screening results; wherein the first decile represents all screening results that are less than the minimum passband flatness value + (maximum passband flatness value - minimum passband flatness value) / 10 after sorting multiple standing wave ratio values; S34, completing the result screening of all N ports.
5. The impedance circuit self-matching optimization method according to claim 4, characterized in that: Step S4 specifically includes the following sub-steps: S41, using Cartesian product traversal to obtain feasible results of all overall matching circuits; S42, selecting any feasible result of the overall matching circuit, performing pre-optimization processing, and obtaining a pre-optimization result; S43, using the pre-optimization result as the initial value of the physical quantity of the electronic component, and optimizing each port using a gradient optimization algorithm; S44, completing the optimization process of all the overall matching circuits.
6. The impedance circuit self-matching optimization method according to claim 5, characterized in that: In step S41, the Cartesian product is specifically expressed as: ; Definition, the feasible result of the overall matching circuit is K , K i is the i-th result for each port.
7. An impedance circuit self-matching optimization system, characterized in that: The impedance circuit self-matching optimization system comprises: Reading module, used to read the SNP file of the filter and generate the corresponding port network and working frequency band; A pre-estimation module, used for performing circuit pre-estimation optimization on each of the port networks and recording the optimization results of all the port networks; A screening module, used for screening each of the port networks according to preset rules to obtain multiple screening results; An assembling module, used to assemble the overall matching circuit for the plurality of screening results, and obtain a plurality of circuit optimization results; A recommendation module, used for screening the multiple circuit optimization results to obtain the best matching circuit; The recommendation module is further used to use the first quartile to screen the multiple circuit optimization results, and use the screened results as the optimal matching circuit.
8. A computer device, characterized in that: include: A memory, a processor, and an impedance circuit self-matching optimization program stored in the memory and executable on the processor, wherein the processor implements the steps of the impedance circuit self-matching optimization method as described in any one of claims 1 to 6 when executing the impedance circuit self-matching optimization program.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an impedance circuit self-matching optimization program, and when the impedance circuit self-matching optimization program is executed by the processor, the steps in the impedance circuit self-matching optimization method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Impedance matching method for gold bonding wire
CN102393863A
Method for determining a matching network based on poincar discs of reflection factors
CN103141024A
Filter design method, filter, multiplexer and communication equipment
CN111969978A
Rapid design method of terahertz frequency multiplier
CN113688591A
Impedance matching optimization method, system and equipment for integrated circuit power supply
CN116341456A
