Filter and antenna fast design method and device based on sparse neural network
By combining sparse neural networks and multi-objective particle swarm optimization algorithms, the problems of high complexity and low accuracy in traditional microwave filter/antenna design are solved, enabling a fast and efficient design process and improving prediction accuracy and generalization ability.
Patent Information
- Application Number
- CN202311571292.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-22
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-11-22
AI Technical Summary
Traditional microwave filter/antenna design methods are computationally complex, time-consuming, and have low prediction accuracy. Existing surrogate models lack generalization ability, resulting in design results that do not meet requirements.
A sparse neural network is used to construct a proxy model. The BP neural network is optimized by combining sparse regularization and slime mold algorithm. The structural parameters are optimized by using multi-objective particle swarm optimization algorithm, which reduces the amount of computation and improves the prediction accuracy.
It significantly improves the efficiency and accuracy of microwave filter/antenna design, reduces computational resource consumption, lowers the risk of overfitting, and enables fast and accurate multi-objective optimization design.
Smart Images

Figure CN117610185B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless communication module design technology, specifically to a method and apparatus for rapid design of filters and antennas based on sparse neural networks. Background Technology
[0002] With the continuous development of wireless communication technology, the frequency band spacing between signals is becoming increasingly narrow, and the requirements for frequency separation and signal fidelity within the passband are becoming increasingly stringent. Therefore, the performance requirements for microwave filters are becoming more and more stringent, and antennas, as an important component of signal transmission or reception, also require higher energy efficiency. This makes the structure of microwave filters / antennas increasingly complex and the number of parameters increasingly numerous, making rapid design of microwave filters / antennas a challenge. Currently, the design of microwave filters / antennas often involves using high-fidelity electromagnetic (EM) simulation software to accurately evaluate the performance of microwave filters / antennas, such as return loss and insertion loss. Although electromagnetic simulation provides high accuracy, it also suffers from high computational complexity and long processing time.
[0003] Cavity filters and microstrip antennas, as widely used and representative microwave devices, have attracted increasing attention from scholars in recent years. Traditional cavity filter / microstrip antenna design typically involves optimization using electromagnetic simulation software combined with built-in classical algorithms. However, when designing relatively complex cavity filters / microstrip antennas, the excessive number of optimization iterations and the long optimization time make accurate and rapid optimization design extremely difficult.
[0004] To address the shortcomings of traditional methods, some scholars have begun to explore the use of surrogate models in the design of cavity filters / microstrip antennas. A surrogate model refers to establishing a mapping relationship between the size and performance of a cavity filter / microstrip antenna by constructing a mathematical model to replace electromagnetic simulation software. This model predicts the main performance indicators of the cavity filter / microstrip antenna, thereby reducing design complexity and improving design efficiency. Currently, some commonly used surrogate models include Support Vector Regression (SVR), Artificial Neural Networks (ANN), and Gaussian Processes (GP). While these surrogate models can facilitate the design of cavity filters / microstrip antennas, they also suffer from drawbacks such as low prediction accuracy and insufficient generalization ability. This can easily lead to significant deviations in the surrogate model's prediction of the cavity filter / microstrip antenna performance, resulting in the designed cavity filter / microstrip antenna failing to meet the desired objectives. Summary of the Invention
[0005] To address the shortcomings of existing technologies, this invention provides a method and apparatus for rapid design of filters and antennas based on sparse neural networks. This method applies a surrogate model to the optimization design of cavity filters / microstrip antennas, significantly reducing the design difficulty and improving the design efficiency. Furthermore, the surrogate model proposed in this invention possesses higher prediction accuracy while exhibiting better sparsity and stronger generalization ability.
[0006] This invention provides the following technical solution: a rapid design method for filters and antennas based on sparse neural networks, comprising the following steps:
[0007] S1, Obtain the target parameters of the design object of the proxy model to be built; the target parameters include size parameters and spatial parameters; the design object includes a cavity filter or an antenna;
[0008] S2, Select a sample set S from the target parameters, and substitute the sample set S into the electromagnetic simulation software to obtain the result set T;
[0009] S3, Based on the sample set S and the result set T, construct a BP neural network proxy model;
[0010] S4. Add a regularization term to the cost function of the BP neural network surrogate model using the sparse regularization method to obtain the sparse regularized BP neural network surrogate model.
[0011] S5. The initial parameters and sparse regularization factor of the sparse regularized BP neural network surrogate model are optimized using the slime mold algorithm to obtain the target surrogate model.
[0012] S6. Based on the target proxy model and the multi-objective particle swarm optimization algorithm, the structural parameters of the design object are optimized.
[0013] Preferably, when the design object is a cavity filter, the result set T includes the insertion loss of the cavity filter; when the design object is an antenna, the result set T includes the reflection coefficient of the antenna.
[0014] Preferably, in the process of constructing the BP neural network proxy model in step S3, 80% of the sample set S and the corresponding 80% of the result set T are used as the training set, and 20% of the sample set S and the corresponding 20% of the result set T are used as the test set.
[0015] Preferably, the method of adding regularization terms to the cost function of the BP neural network surrogate model in step S4 is as follows: L1 and L2 regularization terms representing model complexity are added to the cost function of the BP neural network surrogate model, wherein the cost function is as follows:
[0016]
[0017] Where C is the improved cost function, C0 is the original cost function, n is the size of the training set, w is the weight, and λ and α are sparse regularization factors greater than 0.
[0018] Preferably, step S6 includes:
[0019] Based on the target surrogate model and the multi-objective particle swarm optimization algorithm, the optimal solution of the particle fitness of the design object is iteratively searched to find the optimal solution of the structural parameters of the design object; wherein, each particle is a structural parameter that needs to be optimized.
[0020] Preferably, step S2, selecting the sample set S from the target parameters, specifically includes:
[0021] A sample set S is randomly and uniformly selected from the target parameters using the Latin hypercube sampling method.
[0022] Preferably, the structural parameters include dimensional parameters.
[0023] This invention also provides the following technical solution: a rapid design device for filters and antennas based on sparse neural networks, comprising:
[0024] The design parameter determination module is used to obtain the target parameters of the design object to be constructed as a proxy model; the target parameters include size parameters and spatial parameters; the design object includes a cavity filter or an antenna;
[0025] The data acquisition module is used to select a sample set S from the target parameters and substitute the sample set S into the electromagnetic simulation software to obtain a result set T;
[0026] The construction module is used to construct a BP neural network proxy model based on the sample set S and the result set T;
[0027] The sparse regularization module is used to add a regularization term to the cost function of the BP neural network surrogate model using the sparse regularization method, so as to obtain a sparse regularized BP neural network surrogate model.
[0028] The model optimization module is used to optimize the initial parameters and sparse regularization factor of the sparse regularized BP neural network surrogate model using the slime mold algorithm to obtain the target surrogate model.
[0029] The optimization design module is used to optimize the structural parameters of the design object based on the target proxy model and the multi-objective particle swarm optimization algorithm.
[0030] Preferably, when the design object is a cavity filter, the result set T includes the insertion loss of the cavity filter; when the design object is an antenna, the result set T includes the reflection coefficient of the antenna.
[0031] Preferably, the optimization design module is specifically used for:
[0032] Based on the target surrogate model and the multi-objective particle swarm optimization algorithm, the optimal solution of the particle fitness of the design object is iteratively searched to find the optimal solution of the structural parameters of the design object; wherein, each particle is a structural parameter that needs to be optimized.
[0033] The present invention has the following beneficial effects:
[0034] This invention first constructs a surrogate model for cavity filters or antennas using a backpropagation (BP) neural network. Then, a sparse regularization method is employed to add a regularization term to the cost function of the BP neural network surrogate model, further sparsifying the standard fully connected neural network and reducing computational cost and overfitting risk. Simultaneously, to address the issues of global optimization and sparse regularization strength control, a slime mold algorithm is used to optimize the initial parameters and sparse regularization factor of the sparse regularized BP neural network surrogate model, further improving prediction accuracy. The optimized SMA-SR-BP surrogate model, combined with a multi-objective particle swarm optimization algorithm, can be used for the design of multi-objective cavity filters or antennas, significantly improving design efficiency.
[0035] For example, to optimize the design of a planar tri-band antenna, traditional methods using HFSS electromagnetic simulation software require approximately 1900 iterations, with each simulation running for about 47.70 seconds, for a total time of 25.18 hours. However, using the SMA-SR-BP surrogate model proposed in this invention combined with the MOPSO algorithm to optimize the same planar tri-band antenna, only 100 simulations are needed during model building, with a total time of 1.58 hours, which is 6.29% of the traditional method. Similarly, to optimize the design of a comb cavity filter, traditional methods using HFSS electromagnetic simulation software require approximately 1600 iterations, with each simulation running for about 53.60 seconds, for a total time of about 23.82 hours. Using the SMA-SR-BP surrogate model proposed in this invention combined with the MOPSO algorithm to optimize the same comb cavity filter, only 100 simulations are needed during model building, with a total time of 1.73 hours, which is 7.26% of the traditional method.
[0036] In summary, the design method based on this invention can more accurately predict the performance of cavity filters or antennas, and has a significant improvement in the sparsity and generalization ability of the model. It has good practical value and significance for the optimized design of multi-target cavity filters or antennas. Attached Figure Description
[0037] Figure 1 This is a flowchart of the rapid design method for filters and antennas based on sparse neural networks of the present invention;
[0038] Figure 2 This is a flowchart illustrating the rapid design process of filters and antennas based on sparse neural networks according to the present invention.
[0039] Figure 3 This is a diagram of the sparse regularized BP neural network structure of the present invention;
[0040] Figure 4 This is a structural diagram of the comb-shaped cavity filter of the present invention;
[0041] Figure 5 This is a structural diagram of the planar tri-band antenna of the present invention;
[0042] Figure 6 The training error iteration curves of the BP and SMA-SR-BP comb cavity filter surrogate models of this invention are shown.
[0043] Figure 7 The image shows the prediction effect of the SMA-SR-BP comb cavity filter surrogate model of the present invention.
[0044] Figure 8 The weight distribution diagram is shown for the BP and SMA-SR-BP comb cavity filter surrogate models of this invention.
[0045] Figure 9 This is a comparison diagram of the sparsity of the BP and SMA-SR-BP comb cavity filter surrogate models of the present invention;
[0046] Figure 10 This is a Prato front diagram of the comb cavity filter of the present invention;
[0047] Figure 11 The figure shows the simulation results of the insertion loss of the test sample of the comb cavity filter of the present invention;
[0048] Figure 12 The prediction effect of the SMA-SR-BP planar tri-band antenna surrogate model of the present invention;
[0049] Figure 13 This is a training error iteration curve of the BP and SMA-SR-BP planar tri-band antenna surrogate models of the present invention;
[0050] Figure 14 This is a comparison diagram of the sparsity of the BP and SMA-SR-BP planar tri-band antenna surrogate models of this invention;
[0051] Figure 15 This is a Prato front view of the planar tri-band antenna of the present invention;
[0052] Figure 16 The image shows the simulation results of the reflection coefficient of the planar tri-band antenna sample of this invention.
[0053] Figure 17 This is a structural diagram of the cavity filter / antenna design device of the present invention;
[0054] 110 is the design parameter determination module, 120 is the data acquisition module, 130 is the construction module, 140 is the sparse regularization module, 150 is the model optimization module, and 160 is the optimization design module. Detailed Implementation
[0055] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0056] Please refer to Figure 1-2 In a preferred embodiment, the rapid design method for filters and antennas based on sparse neural networks includes the following steps:
[0057] S1, Obtain the target parameters of the design object of the proxy model to be built; the target parameters include size parameters and spatial parameters; the design object includes a cavity filter or an antenna;
[0058] S2, Select a sample set S from the target parameters, and substitute the sample set S into the electromagnetic simulation software to obtain the result set T;
[0059] S3, Based on the sample set S and the result set T, construct a BP neural network proxy model;
[0060] S4. Add a regularization term to the cost function of the BP neural network surrogate model using the sparse regularization method to obtain the sparse regularized BP neural network surrogate model.
[0061] S5. The initial parameters and sparse regularization factor of the sparse regularized BP neural network surrogate model are optimized using the slime mold algorithm to obtain the target surrogate model.
[0062] S6. Based on the target proxy model and the multi-objective particle swarm optimization algorithm, the structural parameters of the design object are optimized.
[0063] In this embodiment, when the design object is a cavity filter, the result set T includes the insertion loss of the cavity filter; when the design object is an antenna, the result set T includes the reflection coefficient of the antenna.
[0064] In this embodiment, during the construction of the BP neural network proxy model in step S3, 80% of the sample set S and the corresponding 80% of the result set T are used as the training set, and 20% of the sample set S and the corresponding 20% of the result set T are used as the test set.
[0065] In this embodiment, the artificial neurons are made to mimic human brain nerve cells, and the neural network is composed of a large number of interconnected processing units, i.e., neurons. The BP neural network is essentially an abstraction, simplification, and simulation of brain function, reflecting some basic characteristics of the human brain to a certain extent. Furthermore, the BP neural network is a feedforward neural network that uses the backpropagation algorithm. Due to its advantages such as simple structure, low computational cost, and strong generalization ability, it is one of the most widely used neural networks. A BP neural network typically has a three-layer structure: an input layer, an output layer, and hidden layers. The number of nodes in each layer is designed according to the specific problem.
[0066] When using backpropagation (BP) neural networks to construct surrogate models for cavity filters / microstrip antennas, the predictive performance of these models often depends on the initial weights and thresholds, as backpropagation is based on gradient descent. However, commonly used network parameter initialization employs random generation, leading to significant uncertainty and making the network prone to getting trapped in local optima during training. Furthermore, standard BP neural networks typically have a fixed fully connected structure, which can prevent the network from accurately mapping the input-output relationship of a specific application, increasing the risk of overfitting. Redundant network connections can also result in substantial computational overhead, consuming significant resources and increasing computational costs.
[0067] Therefore, this invention introduces a sparsity regularization method into the BP neural network to improve the problems caused by the standard fully connected network. By adding L1 and L2 regularization terms representing model complexity to the cost function of the original BP neural network, the standard fully connected neural network is further sparsified, thereby reducing the computational cost of the model and reducing the risk of model overfitting.
[0068] The method of adding regularization terms to the cost function of the BP neural network surrogate model in step S4 is as follows: L1 and L2 regularization terms representing model complexity are added to the cost function of the BP neural network surrogate model, wherein the cost function is as follows:
[0069]
[0070] Where C is the improved cost function, C0 is the original cost function, n is the size of the training set, w is the weight, and λ and α are sparse regularization factors greater than 0.
[0071] This regularization term essentially adds a variable penalty term to the original cost function, causing the network weights to have more zeros or tend towards smaller values. This means that less important connections will approach zero, while important connection parameters are preserved, ultimately making the network structure sparse. A simplified structure of a sparse regularized backpropagation neural network is shown below. Figure 3 As shown.
[0072] In this embodiment, step S6 includes: based on the target surrogate model and the multi-objective particle swarm optimization algorithm, performing an iterative search for the optimal solution of the particle fitness of the design object to find the optimal solution of the structural parameters of the design object; wherein, each particle is a structural parameter that needs to be optimized.
[0073] In this embodiment, step S2, which involves selecting a sample set S from the target parameters, specifically includes: randomly and uniformly selecting a sample set S from the target parameters using the Latin hypercube sampling method.
[0074] In this embodiment, the structural parameters include dimensional parameters.
[0075] The output of a backpropagation (BP) neural network is easily affected by initialization parameters, and has a high probability of getting trapped in local optima during training, resulting in insufficient prediction accuracy. Although sparse regularized BP neural networks have better performance in terms of model complexity, computational cost, and reduction of overfitting risk, they still have the drawback of easily getting trapped in local optima, similar to standard fully connected networks. At the same time, controlling the appropriate sparse regularization strength of sparse regularized BP neural networks is also a significant challenge. To address this issue, the slime mold algorithm (SMA) is introduced to optimize the initial parameters and sparse regularization factor of the sparse regularized BP neural network (SR-BP), resulting in the SMA-SR-BP cavity filter / microstrip antenna surrogate model.
[0076] The slime mold algorithm, proposed by Li et al. in 2020, is a novel metaheuristic algorithm that primarily simulates the behavior and morphological changes of slime molds during their foraging process in nature. Compared with other intelligent algorithms, the slime mold algorithm has advantages such as simple principle, few adjustable parameters, strong optimization ability, and ease of implementation. Slime molds are eukaryotic organisms that live in humid and cold environments, and their nutrition mainly comes from external organic matter. When slime molds approach a food source, their bio-oscillators generate a propagation wave through veins to increase cytoplasmic flow. The higher the food concentration, the stronger the propagation wave generated by the bio-oscillator, and the faster the cytoplasmic flow. This behavior can be simulated using the following mathematical formula.
[0077]
[0078] p = tanh|S(i) - DF|
[0079] In the above formula: X(t) represents the current slime mold search individual, X A and X B Two randomly selected slime mold locations; X b To find the location with the highest current food concentration, the search for an individual can be based on the current optimal solution X. b Continuously update location; U b and L b , , represent the upper and lower boundaries of the search space, respectively. The parameter z is a constant, and the algorithm performs best when the parameter z = 0.03. The parameter vb takes the value [-a, a], and the parameter vc decreases linearly from 1 to 0. rand and r are random numbers in the interval [0, 1]. W is the weight of the slime mold. p is a condition parameter used to control the position update method of the slime mold. S(i) is the fitness function value of X(t), where the identifier i is the index value of the fitness sort. In addition, DF is the best fitness value obtained in all iterations.
[0080] The weight W of the slime mold simulates the oscillation frequency of the slime mold under different food concentrations. This helps the slime mold approach food more quickly when it finds high-quality food, thereby improving search efficiency. Its expression is:
[0081]
[0082] Index = sort(S)
[0083] In the formula: b F and w F , representing the best and worst fitness obtained in the current iteration, respectively; Index is the fitness sequence; r is a random value in the interval [0, 1] used to simulate the uncertainty in the process of mycobacterial vein contraction mode; and condition represents the first half of the population in the S(i) sorting.
[0084] When using the slime mold algorithm to optimize the initial parameters and sparse regularization factor of a sparse regularized backpropagation (BP) neural network, an initial slime mold population is first generated for the algorithm. Each slime mold individual in the population represents a set of weights or sparse regularization strengths for the neural network. Then, the slime mold individuals in the population are substituted into the sparse regularized BP neural network for gradient descent and iterative search, and corresponding fitness is assigned. Simultaneously, weights are assigned to all individuals in the population using a weight calculation formula. The next position is then calculated based on the weights and position using an iterative update formula. These steps are repeated until the specified performance level is achieved or a certain number of iterations are reached.
[0085] The method of the present invention will be further described below with reference to specific embodiments:
[0086] Example 1
[0087] In one embodiment, the comb cavity filter uses a rectangular air cavity enclosing a resonant pillar. The resonant pillar is cylindrical with an internal depth sufficient for the tuning screw to penetrate. Both the air cavity and the resonant pillar are made of aluminum, and the outer surface of the air cavity is plated with a thin layer of silver. The structure of the comb cavity filter is as follows: Figure 4 As shown in Table 1, the required structural parameter length range for optimization is as follows. Within the range given in Table 1, 100 sets of data are randomly and uniformly extracted as parameter set S. Then, parameter set S is substituted into electromagnetic simulation software for simulation to obtain insertion loss S21. Nineteen sampling frequency points are uniformly selected within the 2.7GHz-2.9GHz frequency band as result set T. The first 80 sets of the 100 corresponding data are then used to train a sparse regularized BP neural network, and the last 20 sets are used as the test set. Based on S and T, the structure of the sparse regularized BP neural network is determined. The number of input layer nodes of the sparse regularized BP neural network is the same as the cavity filter structure parameters in Table 1 (4 nodes), and the output layer nodes correspond to the selected 19 sampling frequency points (19 nodes). The final determined sparse regularized BP neural network structure is 4-9-19.
[0088] In the structure of the comb cavity filter, the following parameters are specified: bx = 16mm, by = 16mm, bh = 17mm, gr = 3.75mm, gh = 15.5mm, gri = 2.75mm, ghi = 9mm, lr = 1.5mm, ga = 4mm. Furthermore, parameters lh, s12, s23, and ch have the most significant impact on the insertion loss of the entire comb cavity filter optimization design, and their parameter ranges are shown in Table 1.
[0089] Table 1. Design structural parameters of comb-shaped cavity filters: length range (mm)
[0090]
[0091] Example 2
[0092] In one embodiment, the structure of the planar tri-band antenna used is as follows: Figure 5 As shown in Table 2, the size parameters range is as follows. Within the range given in Table 2, 100 sets of data are randomly and uniformly extracted as parameter set S. Then, parameter set S is substituted into electromagnetic simulation software for simulation to obtain the reflection coefficient S11. Twenty sampling frequency points are uniformly selected within the 0-10GHz frequency band as the result set T. The first 80 sets of the 100 corresponding data are then used to train a sparse regularized BP neural network, and the last 20 sets are used as the test set. Based on parameter set S and result set T, the structure of the sparse regularized BP neural network is determined. The number of input layer nodes of the sparse regularized BP neural network is the same as the antenna structure parameters in Table 2 (10 nodes), and the output layer nodes correspond to the 20 selected sampling frequency points (20 nodes). The final determined sparse regularized BP neural network structure is 10-17-20.
[0093] Table 2 Antenna Design Structural Parameters Length Range (mm)
[0094]
[0095] Experimental results
[0096] The evaluation metrics for model accuracy are mean squared error (MSE) and mean absolute error (MAE). The prediction accuracy of the BP and SMA-SR-BP comb cavity filter surrogate models is shown in Table 3, and the average training error iteration curve is shown in... Figure 6 As shown.
[0097]
[0098]
[0099] In the formula, Y(n) represents the actual value simulated by the electromagnetic simulation software. This is the predicted value for the output.
[0100] Table 3. Prediction accuracy of the comb cavity filter surrogate model
[0101]
[0102] (1) Experimental results of comb cavity filter
[0103] Figure 7 The prediction performance of the SMA-SR-BP surrogate model is shown in Table 3. Figure 6 It can be seen that the MSE and MAE of the comb cavity filter performance predicted by optimizing the corresponding parameters using the SMA-SR-BP model are significantly lower than those of the BP model, indicating that the SMA-SR-BP model has better prediction accuracy. Figure 8 The weight distributions for the two models are shown. Figure 9 Weight histograms and density plots are provided. It can be seen that in the SMA-SR-BP model, most weights are concentrated around 0, with over 60 weights in this region. In contrast, in the BP model, most weights are distributed between 0.3 and 0.8, with fewer than 5 weights at 0. Clearly, the SMA-SR-BP model exhibits better sparsity than the BP model.
[0104] The optimized surrogate model M(s) is combined with a multi-objective particle swarm optimization algorithm to optimize the structural parameters of the cavity filter. The optimization design objective of this cavity filter is:
[0105] (1) Minimize the volume of the cavity filter. (Objective F1)
[0106] (2) Minimize insertion loss in the 2.7GHz-2.9GHz frequency band. (Objective F2)
[0107] Figure 10 This represents the Pareto front of the comb cavity filter. A particle was selected from each end and the middle of the Pareto front for simulation verification in HFSS. The selected particles represent the comb cavity filter structure, and detailed parameters are shown in Table 4. The insertion loss curves of the three comb cavity filter structures simulated in HFSS are shown below. Figure 10 As shown. From Figure 11 As can be seen, the particle located in the upper left of the leading edge, i.e., test sample 1, has an insertion loss of less than 0.5dB in the passband range and a return loss of less than -15dB. However, the filter structure size is relatively large. The particle test sample 2 in the lower right has a smaller structure size, but poorer insertion loss. The test sample 3 in the middle of the leading edge achieves a compromise between the two.
[0108] Table 4. Test Dimensions of Comb Cavity Filters (mm)
[0109]
[0110] (2) Planar tri-band antenna
[0111] The accuracy of the predictions made by the BP and SMA-SR-BP planar tri-band antenna surrogate models is shown in Table 5.
[0112] Figure 12 The prediction performance of the SMA-SR-BP planar tri-band antenna surrogate model is shown in Table 5. Figure 13 It can be seen that the MSE and MAE of the planar tri-band antenna performance predicted by optimizing the corresponding parameters using the SMA-SR-BP model are significantly lower than those of the BP model, indicating that the SMA-SR-BP model has better prediction accuracy. Figure 14Weight histograms and density plots are provided. It can be seen that in the SMA-SR-BP model, most weights are concentrated around 0, with over 220 weights in this region. In contrast, the weights in the BP model are mostly distributed between 0.4 and 0.6, with fewer than 15 weights at 0. Clearly, the SMA-SR-BP model exhibits better sparsity than the BP model.
[0113] Table 5. Prediction accuracy of the planar tri-band antenna surrogate model
[0114]
[0115] The optimized surrogate model M(s) is combined with a multi-objective particle swarm optimization algorithm to optimize the structural parameters of the planar tri-band antenna. The optimization design objectives of this planar tri-band antenna are: (1) to minimize the area of the planar tri-band antenna; (2) to enable the antenna to achieve tri-band characteristics (so that the return loss S11 of the antenna in the frequency bands 1.90~2.50GHz, 4.80~5.40GHz, and 7.00~7.54GHz is <-10dB).
[0116] Table 6 Optimized Dimensional Parameters for Planar Tri-band Antenna (Unit: mm)
[0117]
[0118]
[0119] Figure 15 The Pareto front of the planar tri-band antenna is shown. Finally, five optimized antenna dimensions are presented, with specific parameters shown in Table 6. The reflection coefficient S11 curves of the five antennas simulated in electromagnetic simulation software are shown below. Figure 16 As shown. From Figure 16 As can be seen, the planar tri-band antenna can meet the antenna design requirements in all three frequency bands, namely, S11 is less than -10dB, making it suitable for WLAN wireless networks and high-frequency communication.
[0120] Based on the same inventive concept described above, please refer to the following: Figure 17 A design apparatus for a cavity filter / antenna is provided, the apparatus comprising:
[0121] The design parameter determination module 110 is used to obtain the target parameters of the design object to be constructed as a proxy model; the target parameters include size parameters and spatial parameters; the design object includes a cavity filter or an antenna;
[0122] The data acquisition module 120 is used to select a sample set S from the target parameters and substitute the sample set S into the electromagnetic simulation software to obtain a result set T;
[0123] Construction module 130 is used to construct a BP neural network proxy model based on the sample set S and the result set T;
[0124] The sparse regularization module 140 is used to add a regularization term to the cost function of the BP neural network surrogate model using the sparse regularization method to obtain a sparse regularized BP neural network surrogate model.
[0125] The model optimization module 150 is used to optimize the initial parameters and sparse regularization factor of the sparse regularized BP neural network surrogate model using the slime mold algorithm to obtain the target surrogate model.
[0126] The optimization design module 160 is used to optimize the structural parameters of the design object based on the target proxy model and the multi-objective particle swarm optimization algorithm.
[0127] In this embodiment, when the design object is a cavity filter, the result set T includes the insertion loss of the cavity filter; when the design object is an antenna, the result set T includes the reflection coefficient of the antenna.
[0128] In this embodiment, the optimization design module 160 is specifically used for:
[0129] Based on the target surrogate model and the multi-objective particle swarm optimization algorithm, the optimal solution of the particle fitness of the design object is iteratively searched to find the optimal solution of the structural parameters of the design object; wherein, each particle is a structural parameter that needs to be optimized.
[0130] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. This invention proposes a rapid design method for filters and antennas based on sparse neural networks, characterized in that, Includes the following steps: S1, Obtain the target parameters of the design object of the proxy model to be built; the target parameters include size parameters and spatial parameters; the design object includes a cavity filter or an antenna; S2, Select a sample set S from the target parameters, and substitute the sample set S into the electromagnetic simulation software to obtain the result set T; S3, Based on the sample set S and the result set T, construct a BP neural network proxy model; S4. Add a regularization term to the cost function of the BP neural network surrogate model using the sparse regularization method to obtain the sparse regularized BP neural network surrogate model. S5. The initial parameters and sparse regularization factor of the sparse regularized BP neural network surrogate model are optimized using the slime mold algorithm to obtain the target surrogate model. S6. Based on the target proxy model and the multi-objective particle swarm optimization algorithm, the structural parameters of the design object are optimized. The method of adding regularization terms to the cost function of the BP neural network surrogate model in step S4 is as follows: L1 and L2 regularization terms representing model complexity are added to the cost function of the BP neural network surrogate model, wherein the cost function is as follows: in, For the improved cost function, For the original cost function, For the training set size, For weights, , It is a sparse regularization factor greater than 0; Step S5, which involves optimizing the initial parameters and sparse regularization factor of the sparse regularized BP neural network surrogate model using the slime mold algorithm to obtain the target surrogate model, further includes the following steps: S51, an initial slime mold population is generated through the slime mold algorithm, wherein each slime mold individual in the initial slime mold population represents a set of neural network weight settings or sparse regularization strength. S52, Substitute the slime mold individuals in the initial slime mold population into a sparse regularized BP neural network for gradient descent and iterative search, and give the corresponding fitness. At the same time, assign weights to all individuals in the initial slime mold population through a weight calculation formula. S53, calculate the next position of the slime mold individual based on the weight and position update formula of each slime mold individual; S54, repeat the above steps until the proxy model achieves the specified performance level or has reached a certain number of iterations.
2. The rapid design method for filters and antennas based on sparse neural networks according to claim 1, characterized in that, When the design object is a cavity filter, the result set T includes the insertion loss of the cavity filter; when the design object is an antenna, the result set T includes the reflection coefficient of the antenna.
3. The rapid design method for filters and antennas based on sparse neural networks according to claim 1, characterized in that, In step S3, during the construction of the BP neural network proxy model, 80% of the sample set S and the corresponding 80% of the result set T are used as the training set, and 20% of the sample set S and the corresponding 20% of the result set T are used as the test set.
4. The rapid design method for filters and antennas based on sparse neural networks according to claim 1, characterized in that, Step S6 includes: Based on the target surrogate model and the multi-objective particle swarm optimization algorithm, the optimal solution of the particle fitness of the design object is iteratively searched to find the optimal solution of the structural parameters of the design object; wherein, each particle is a structural parameter that needs to be optimized.
5. The rapid design method for filters and antennas based on sparse neural networks according to claim 1, characterized in that, The step S2, which involves selecting a sample set S from the target parameters, specifically includes: A sample set S is randomly and uniformly selected from the target parameters using the Latin hypercube sampling method.
6. A rapid design device for filters and antennas based on sparse neural networks, characterized in that, A method for rapidly designing filters and antennas based on sparse neural networks as described in claim 1 includes: The design parameter determination module is used to obtain the target parameters of the design object to be constructed as a proxy model; the target parameters include size parameters and spatial parameters; the design object includes a cavity filter or an antenna; The data acquisition module is used to select a sample set S from the target parameters and substitute the sample set S into the electromagnetic simulation software to obtain a result set T; The construction module is used to construct a BP neural network proxy model based on the sample set S and the result set T; The sparse regularization module is used to add a regularization term to the cost function of the BP neural network surrogate model using the sparse regularization method, so as to obtain a sparse regularized BP neural network surrogate model. The model optimization module is used to optimize the initial parameters and sparse regularization factor of the sparse regularized BP neural network surrogate model using the slime mold algorithm to obtain the target surrogate model. The optimization design module is used to optimize the structural parameters of the design object based on the target proxy model and the multi-objective particle swarm optimization algorithm.
7. The rapid design device for filters and antennas based on sparse neural networks according to claim 6, characterized in that, When the design object is a cavity filter, the result set T includes the insertion loss of the cavity filter; when the design object is an antenna, the result set T includes the reflection coefficient of the antenna.
8. The rapid design device for filters and antennas based on sparse neural networks according to claim 7, characterized in that, The optimization design module is specifically used for: Based on the target surrogate model and the multi-objective particle swarm optimization algorithm, the optimal solution of the particle fitness of the design object is iteratively searched to find the optimal solution of the structural parameters of the design object; wherein, each particle is a structural parameter that needs to be optimized.
