Planar direct coupling filter efficient optimization method based on end-to-end proxy model, medium and device
Through the planar direct coupling filter optimization method based on the end-to-end proxy model and using the BP neural network training model, the problem of long calculation time of the traditional filter optimization algorithm is solved, and rapid optimization and efficient calculation of filter design are achieved.
Patent Information
- Application Number
- CN202410809059.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-06
AI Technical Summary
Traditional filter optimization algorithms are unable to adapt to efficient filter design due to long calculation times. Especially when design indicators change, they require frequent iterative calculations and time-consuming three-dimensional electromagnetic field simulations, resulting in low computational efficiency.
An efficient optimization method for planar direct coupling filters based on the end-to-end proxy model is adopted, parameter space sampling is carried out through the optimized LHS method, a training sample set is constructed, and the BP neural network is used to train the end-to-end proxy model to achieve rapid optimization design of the filter. , eliminating the three-dimensional electromagnetic field simulation and iterative optimization process.
It achieves rapid prediction and optimization of filter design, has the advantages of fast solution speed and strong generalization ability. It can quickly iterate the design according to changes in design indicators, improving calculation efficiency.
Smart Images

Figure CN118607381A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of microstrip filter design and optimization, and in particular to a method, medium and device for efficiently optimizing a planar direct-coupled filter based on an end-to-end proxy model. Background Art
[0002] In engineering, it is often necessary to optimize the design of filters according to the requirements of indicators such as the center frequency and working bandwidth of the filter. The process of parameter tuning needs to rely on manual experience and a large number of three-dimensional electromagnetic field simulations, and the optimization design of filters is one of the current research hotspots in related fields. In recent years, relevant scholars have proposed various filter optimization algorithms. For example, some scholars have proposed vector fitting and progressive space mapping algorithms, which have achieved accurate extraction of filter equivalent circuits and accurate prediction of debugging quantities; some scholars have proposed a method combining genetic algorithms with vector fitting, which has achieved phase removal and accurate parameter extraction of simulation curves, providing another solution for automatic filter optimization; some scholars have proposed to remove the phase loading of simulation curves based on vector fitting, and then use space mapping and neural network optimization to achieve automatic filter optimization.
[0003] Although various optimization algorithms proposed in the industry can achieve automatic optimization of filters without relying on experience, the filters must be re-optimized every time the design indicators change. Frequent iterative calculations and time-consuming three-dimensional electromagnetic field simulations make computational efficiency one of the bottlenecks restricting the rapid optimization design of filters. Summary of the invention
[0004] The present invention aims to provide a method, medium and device for efficiently optimizing a planar direct-coupled filter based on an end-to-end proxy model, so as to solve the problem that a traditional filter optimization algorithm cannot adapt to efficient filter design due to its long calculation time.
[0005] The present invention provides a method for efficiently optimizing a planar direct-coupled filter based on an end-to-end proxy model, comprising the following steps:
[0006] Step 1: Sampling the parameter space based on the optimized LHS method to obtain a sampling sample set of the two-dimensional parameter space of the filter;
[0007] Step 2: Construct a training sample set based on the sample set of the filter's two-dimensional parameter space;
[0008] Step 3: Use the training sample set to train the end-to-end proxy model EESM through the BP neural network, and use the trained end-to-end proxy model EESM to complete the efficient optimization of the planar direct-coupled filter.
[0009] In some preferred embodiments, step one includes:
[0010] When the topology and order of the planar direct-coupled filter are fixed, there are M = 2 factors that affect the filter optimization design, namely the center frequency and the working bandwidth. The optimized LHS method is used to sample its parameter space N times to obtain an N × M dimensional Latin hypercube matrix as shown in formula (1):
[0011]
[0012] Where the i-th row of the Latin hypercube matrix X i =(x i1 ,x i2 ,…,x iM ) represents the i-th sample point, and the k-th column of the Latin hypercube matrix is a vector composed of the kth parameters of all sample points; then any two sample points X i and X j The distance between ij Defined as:
[0013]
[0014] D ij Sort by size and get the distance (d1, d2, ..., d L ) and its corresponding index table (J1, J2, ..., J L ), where J i Represents the distance d i The number of sample point pairs; the index for measuring LHS uniformity is given as:
[0015]
[0016] The orthogonality of LHS is measured by the column correlation coefficient of the Latin hypercube matrix. Assume that the maximum correlation coefficient of any two columns of the Latin hypercube matrix is:
[0017]
[0018] Among them, ρ kq is the correlation coefficient between the kth column and the qth column of the Latin hypercube matrix, defined as formula (5); then by minimizing ρ max To improve the orthogonality of LHS;
[0019]
[0020] Multi-objective optimization is performed on the two indicators of formula (3) and formula (4) to obtain samples that take into account both uniformity and orthogonality. All the obtained samples constitute a sampling sample set in the two-dimensional parameter space of the filter.
[0021] In some preferred embodiments, step 2 includes:
[0022] The filter center frequency and working bandwidth indicated by each sample point in the sample set of the two-dimensional parameter space of the filter are taken as input parameters;
[0023] The optimal physical size parameters of the filter corresponding to the sample points in the sample set of the two-dimensional parameter space of the filter are calculated in sequence as output parameters;
[0024] The input parameters and output parameters constitute the training sample set of the end-to-end proxy model EESM.
[0025] In some preferred solutions, in step three, an end-to-end proxy model EESM of the filter is constructed based on the BP neural network.
[0026] In some preferred embodiments, the end-to-end proxy model is expressed as:
[0027] L = f BPNN (X,ω) (6)
[0028] Where X = (Fc, BW) T is the filter design input parameter, ω is the weight parameter of BP neural network, L=(l feed ,l1,s1,l2,s2,…,l N ,s N ) T is the optimal physical size parameter of the filter that meets the index requirements, f BPNN (·) represents the mapping relationship function between input X and output L determined based on the BP neural network.
[0029] In some preferred schemes, when the BP neural network is trained using a training sample set, it includes two processes: forward calculation and error back propagation. The current error value of the network is determined by forward calculation, the weight ω of the network is corrected by error back propagation, and the network error is optimized based on the gradient descent method; the expected accuracy is achieved by repeatedly adjusting the number of hidden layers, the number of neurons, the activation function, and the learning rate.
[0030] In some preferred embodiments, mean square error (MSE) is used as the error function during BP neural network training.
[0031] In some preferred schemes, relative absolute error (RAE) is used as an indicator to evaluate the prediction accuracy of the end-to-end proxy model (EESM).
[0032] The present invention also provides a computer terminal storage medium storing computer terminal executable instructions, wherein the computer terminal executable instructions are used to execute the above-mentioned high-efficiency optimization method for planar direct-coupled filters based on an end-to-end proxy model.
[0033] The present invention also provides a computing device, comprising:
[0034] At least one processor; and a memory in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned efficient optimization method for planar direct-coupled filters based on the end-to-end proxy model.
[0035] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
[0036] The present invention constructs an end-to-end proxy model for filter design optimization. It only needs to input parameters such as the filter center frequency and bandwidth. The end-to-end proxy model can quickly predict the optimal physical size parameters of the filter corresponding to the input parameters without the need for time-consuming three-dimensional electromagnetic field simulation and iterative optimization process. Compared with traditional optimization algorithms, it has the advantages of fast solution speed and strong generalization ability, and provides an efficient solution for fast iterative design of filters according to changes in design indicators in engineering applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 The present invention is a flowchart of a method for efficiently optimizing a planar direct-coupled filter based on an end-to-end proxy model in an embodiment of the present invention.
[0039] Figure 2 The topological structure and physical size parameters of the N-order planar direct-coupled filter involved in the embodiments of the present invention.
[0040] Figure 3 It is an end-to-end proxy model for filter optimization based on BP neural network in the embodiment of the present invention.
[0041] Figure 4a The sample distribution diagram is a sample distribution diagram of 100 samples taken from the two-dimensional parameter space of the filter using the Monte Carlo sampling method.
[0042] Figure 4b The sample distribution diagram is the sample distribution diagram of 100 samplings using the optimized LHS method in the two-dimensional parameter space of the example filter.
[0043] Figure 5 This is a graph showing the error convergence of the BP neural network for the end-to-end proxy model of the example.
[0044] Figure 6a Plot of the filter S11 response computed for an example end-to-end proxy model.
[0045] Figure 6b Plot of the filter S21 response computed for an example end-to-end proxy model. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0047] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] Example
[0049] like Figure 1 As shown, this embodiment proposes an efficient optimization method for a planar direct-coupled filter based on an end-to-end proxy model, comprising the following steps:
[0050] Step 1: Sampling the parameter space based on the optimized LHS method to obtain a sampling sample set of the two-dimensional parameter space of the filter;
[0051] The topology of the N-order planar direct-coupled filter is as follows: Figure 2 As shown, when its order is fixed, its physical size parameter l feed , l i 、s i The end-to-end proxy model proposed in the present invention can directly predict the optimal physical size parameters of the filter based on the input filter center frequency and working bandwidth.
[0052] The distribution of samples in the parameter space for training the end-to-end proxy model has a great impact on the accuracy of the end-to-end proxy model. In order to ensure that the end-to-end proxy model has high accuracy and generalization ability, that is, the sample points outside the training set also have high prediction accuracy, it is usually necessary to have as many samples in the training set as possible and to distribute them as evenly as possible in the parameter space.
[0053] However, it is very difficult to obtain a large number of filter design samples, because almost all filter optimization algorithms require at least one three-dimensional electromagnetic field simulation and multiple numerical iterations, and time becomes a bottleneck factor in obtaining a large number of samples. Therefore, when the number of simulations is limited by time cost, it is necessary to reasonably formulate a sample extraction plan through the experimental design method (DoE) to ensure that the small number of samples collected can fully represent the original parameter space.
[0054] In order to resolve the conflict between model accuracy and simulation time, and to take into account the uniformity and orthogonality of sampling, the present invention adopts an optimized LHS (Latin Hypercube Sampling) method to sample the filter parameter space.
[0055] There are M = 2 factors that affect the filter optimization design, namely the center frequency and the working bandwidth. By sampling its parameter space N times using the optimized LHS method, we can obtain an N × M dimensional Latin hypercube matrix as shown in formula (1):
[0056]
[0057] Where the i-th row of the Latin hypercube matrix X i =(x i1 ,x i2 ,...,x iM ) represents the i-th sample point, and the k-th column of the Latin hypercube matrix is a vector consisting of the kth parameters of all sample points. Then any two sample points X i and X j The distance between ij Defined as:
[0058]
[0059] D ij Sort by size and get the distance (d1, d2, ..., d L ) and its corresponding index table (J1, J2, ..., J L ), where J i Represents the distance d i The number of sample point pairs can be used to give the index for measuring LHS uniformity:
[0060]
[0061] Formula (3) is the maximum and minimum distance criterion, which improves the uniformity of LHS by maximizing the minimum distance between sample points.
[0062] The orthogonality of LHS can usually be measured by the column correlation coefficient of the Latin hypercube matrix. Assume that the maximum correlation coefficient of any two columns of the Latin hypercube matrix is:
[0063]
[0064] Among them, ρ kq is the correlation coefficient between the kth column and the qth column of the Latin hypercube matrix, defined as formula (5).
[0065] By minimizing ρ max To improve the orthogonality of LHS.
[0066]
[0067] By performing multi-objective optimization on the two indicators of formula (3) and formula (4), samples that take into account both uniformity and orthogonality can be obtained. All the obtained samples constitute the sample set of the two-dimensional parameter space of the filter.
[0068] Step 2: Construct a training sample set based on the sample set of the filter's two-dimensional parameter space;
[0069] After obtaining the sample set of the filter's two-dimensional parameter space through step 1, it is necessary to calculate the optimal physical size parameter of the filter corresponding to each sample point. The method is to use the filter center frequency and working bandwidth indicated by each sample point as input parameters, and calculate the optimal physical size parameters of the filter corresponding to the sample point in turn by calling the traditional optimization algorithm or manually adjusting the parameters based on experience. The response of the filter under the optimal physical size parameters can approach the expected filter response curve. This series of sample points X = (Fc, BW) T And its corresponding optimal physical size parameter of the filter L=(l feed ,l1,s1,l2,s2,...,l N ,s N ) T They are used as input parameters and output parameters respectively, forming the training sample set of the end-to-end proxy model.
[0070] Step 3: Use the training sample set to train the end-to-end proxy model EESM through the BP neural network, and use the trained end-to-end proxy model EESM to complete the efficient optimization of the planar direct coupling filter:
[0071] The present invention constructs an end-to-end proxy model EESM of the filter based on BP neural network. BP neural network is an effective method for finding nonlinear mapping relationships between multi-dimensional input / output. It has been theoretically proven that a three-layer BP neural network can approximate any continuous function with arbitrary accuracy.
[0072] for Figure 2 The N-th order filter shown can be used as Figure 3 The multi-layer fully connected neural network shown in Figure 1 constructs an end-to-end proxy model with its optimized design. The end-to-end proxy model is expressed as:
[0073] L = f BPNN (X,ω) (6)
[0074] Where X = (Fc, BW) T is the filter design input parameter, ω is the weight parameter of BP neural network, L=(l feed ,l1,s1,l2,s2,...,l N ,s N ) T is the optimal physical size parameter of the filter that meets the index requirements, f BPNN (·) represents the mapping relationship function between input X and output L determined based on the BP neural network.
[0075] When the BP neural network is trained using the training sample set, it includes two processes: forward calculation and error back propagation. The current error value of the network is determined by forward calculation, and the weight ω of the network is corrected by error back propagation. The network error is optimized based on the gradient descent method. Usually, the expected accuracy is achieved by adjusting the network parameters such as the number of hidden layers, the number of neurons, the activation function, and the learning rate multiple times.
[0076] The present invention adopts the mean square error MSE as the error function during BP neural network training, and adopts the relative absolute error RAE as an indicator for evaluating the prediction accuracy of the end-to-end proxy model EESM, which are defined as shown in formula (7) and formula (8) respectively:
[0077]
[0078] in, represents the optimal physical size parameter of the filter predicted by the end-to-end proxy model, Indicates the optimal physical size parameters of the filter calculated by the optimization algorithm or manual parameter adjustment.
[0079] Example:
[0080] by Figure 2 Taking the optimized design of the planar direct-coupled filter shown in the figure as an example, a fixed order N=5 is taken to perform sample sampling, modeling and model accuracy verification of the end-to-end proxy model.
[0081] Step 1: Sampling the parameter space based on the optimized LHS method to obtain a sampling sample set of the two-dimensional parameter space of the filter;
[0082] In this embodiment, it is assumed that the input parameters center frequency Fc (GHz) and bandwidth BW (MHz) are uniformly distributed, that is, Fc ~ U (7, 8) (GHz), BW ~ U (50, 500) (MHz), then Monte Carlo sampling and the above-mentioned optimized LHS method are used to obtain 100 sample points, and the sample point distribution and probability statistics are as follows: Figure 4a , Figure 4b The sampling results based on the optimized LHS method are shown in Table 1.
[0083] Table 1, 100 sample points in the filter optimization design parameter space obtained by sampling using the optimized LHS method:
[0084]
[0085] Step 2: Construct a training sample set based on the sample set of the filter's two-dimensional parameter space
[0086] Based on the sampling points obtained in step 1 as the input of the training sample set, the existing optimization algorithm is called to calculate the optimal physical size parameters of the filter corresponding to the sample points in turn as the output of the training sample set, thereby forming a training sample set.
[0087] Step 3: Use the training sample set to train the end-to-end proxy model EESM through the BP neural network, and use the trained end-to-end proxy model EESM to complete the efficient optimization of the planar direct coupling filter:
[0088] The BP neural network is used to train the training sample set. After multiple adjustments to the network parameters, the model accuracy reaches the expected level. The best set of neural network parameters is shown in Table 2. The corresponding network error convergence curve is shown in Figure 5 shown.
[0089] Table 2: A set of optimal neural network parameters and the network error achieved for building the end-to-end proxy model EESM.
[0090]
[0091]
[0092] As can be seen from Figure 4, the filter end-to-end proxy model based on the BP neural network has a high accuracy for the training sample set. Next, the end-to-end proxy model EESM is used to predict 5 randomly selected sample points that are not in the training sample set, and the prediction results are compared with the results obtained by the optimization algorithm to verify the generalization ability of the model. The prediction results and accuracy comparison are shown in Table 3, where the filter response comparison curve of sample point 2 is shown in Figure 6a , Figure 6bAs shown, from the comparison with the results obtained by the traditional optimization algorithm, it can be seen that the end-to-end proxy model EESM constructed by the present invention has a higher prediction accuracy for the given input parameters. Since the end-to-end proxy model EESM omits the three-dimensional field simulation and optimization iterative calculation process, its computational efficiency has great advantages over the traditional optimization algorithm.
[0093] Table 3, prediction results for 5 sample points randomly selected from the training sample set:
[0094]
[0095] In addition, in some embodiments, a computer terminal storage medium is provided, which stores computer terminal executable instructions, and the computer terminal executable instructions are used to execute the high-efficiency optimization method of the planar direct coupling filter based on the end-to-end proxy model as described in the above embodiments. Examples of computer storage media include magnetic storage media (e.g., floppy disks, hard disks, etc.), optical recording media (e.g., CD-ROMs, DVDs, etc.) or memories, such as memory cards, ROMs or RAMs, etc. Computer storage media can also be distributed on network-connected computer systems, such as application stores.
[0096] In addition, in some embodiments, a computing device is proposed, comprising: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the high-efficiency optimization method of the planar direct-coupled filter based on the end-to-end proxy model as described in the above embodiment. Examples of computing devices include PCs, tablet computers, smart phones, or PDAs.
[0097] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An efficient optimization method for planar direct-coupled filters based on an end-to-end proxy model, characterized in that: The steps include: Step 1: Parameter space sampling is performed based on the optimized LHS method to obtain a sampling sample set of the filter's two-dimensional parameter space; Step 2: Construct a training sample set based on the sample set of the filter's two-dimensional parameter space; Step 3: Use the training sample set to train the end-to-end proxy model EESM through the BP neural network, and use the trained end-to-end proxy model EESM to complete the efficient optimization of the planar direct-coupled filter.
2. The efficient optimization method for planar direct-coupled filters based on an end-to-end proxy model according to claim 1 is characterized in that: Step one includes: When the topology and order of the planar direct-coupled filter are fixed, there are M = 2 factors that affect the filter optimization design, namely the center frequency and the working bandwidth. The optimized LHS method is used to sample its parameter space N times to obtain an N × M dimensional Latin hypercube matrix as shown in formula (1): Where the i-th row of the Latin hypercube matrix X i =(x i1 ,x i2 ,…,x iM ) represents the i-th sample point, and the k-th column of the Latin hypercube matrix is a vector composed of the kth parameters of all sample points; then any two sample points X i and X j The distance between ij Defined as: D ij Sort by size and get the distance (d1, d2, ..., d L ) and its corresponding index table (J1, J2, ..., J L ), where J i Represents the distance d i The number of sample point pairs; the index for measuring LHS uniformity is given as: The orthogonality of LHS is measured by the column correlation coefficient of the Latin hypercube matrix. Assume that the maximum correlation coefficient of any two columns of the Latin hypercube matrix is: Among them, ρ kq is the correlation coefficient between the kth column and the qth column of the Latin hypercube matrix, defined as formula (5); then by minimizing ρ max To improve the orthogonality of LHS; Multi-objective optimization is performed on the two indicators of formula (3) and formula (4) to obtain samples that take into account both uniformity and orthogonality. All the obtained samples constitute a sampling sample set in the two-dimensional parameter space of the filter.
3. The efficient optimization method for planar direct-coupled filters based on an end-to-end proxy model according to claim 2 is characterized in that: Step 2 includes: The filter center frequency and working bandwidth indicated by each sample point in the sample set of the two-dimensional parameter space of the filter are taken as input parameters; Calculate the optimal physical size parameters of the filter corresponding to the sample points in the sample set of the two-dimensional parameter space of the filter in turn as output parameters; The input parameters and output parameters constitute the training sample set of the end-to-end proxy model EESM.
4. The efficient optimization method for planar direct-coupled filters based on an end-to-end proxy model according to claim 3 is characterized in that: In step three, an end-to-end proxy model EESM of the filter is constructed based on the BP neural network.
5. The efficient optimization method for planar direct-coupled filters based on an end-to-end proxy model according to claim 4 is characterized in that: The end-to-end proxy model is expressed as: L=f BPNN (X,ω) (6) Where X = (Fc, BW) T is the filter design input parameter, ω is the weight parameter of BP neural network, L=(l feed ,l1,s1,l2,s2,…,l N ,s N ) T is the optimal physical size parameter of the filter that meets the index requirements, f BPNN (·) represents the mapping relationship function between input X and output L determined based on the BP neural network.
6. The method for efficiently optimizing a planar direct-coupled filter based on an end-to-end proxy model according to claim 5, characterized in that: When the BP neural network is trained using the training sample set, it includes two processes: forward calculation and error back propagation. The current error value of the network is determined by forward calculation, and the weight ω of the network is corrected by error back propagation. The network error is optimized based on the gradient descent method. The expected accuracy is achieved by adjusting the number of hidden layers, number of neurons, activation function and learning rate multiple times.
7. The method for efficiently optimizing a planar direct-coupled filter based on an end-to-end proxy model according to claim 6, characterized in that: The mean square error (MSE) is used as the error function during BP neural network training.
8. The efficient optimization method for planar direct coupled filter based on end-to-end proxy model according to claim 6 is characterized in that: The relative absolute error (RAE) is used as an indicator to evaluate the prediction accuracy of the end-to-end surrogate model EESM.
9. A computer terminal storage medium storing computer terminal executable instructions, characterized in that: The computer terminal executable instructions are used to execute the efficient optimization method for planar direct-coupled filters based on an end-to-end proxy model as described in any one of claims 1-8.
10. A computing device, characterized in that: include: at least one processor; And a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the efficient optimization method for planar direct-coupled filters based on an end-to-end proxy model as described in any one of claims 1-8.
Citation Information
Cited By
Aircraft airborne component heating prediction method and device, and storage medium
CN119514355A
Complex pipe network system multi-physics field rapid prediction method based on element agent model
CN120805361A
