Parameter determination method and device of microstrip gain equalizer and computer equipment
Through the genetic algorithm-based method, the parameter configuration of the microstrip gain equalizer is optimized, which solves the problem of low parameter determination efficiency during the design process, realizes more efficient design and stronger applicability, and ensures that the signal is at different frequencies. Stable transmission and high quality.
Patent Information
- Application Number
- CN202411426750.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2044-10-12
AI Technical Summary
The parameter determination efficiency in the design process of microstrip gain equalizer is low, and it is difficult to meet the needs of different indicators and environments. The existing theories and calculation methods are not enough to design a highly adaptable equalizer.
Using a genetic algorithm-based method, through multiple rounds of updates and fitness calculations of the initial equalizer parameter configuration scheme, the second target equalizer parameter configuration scheme with the lowest fitness is selected as the optimized equalizer configuration parameters, thereby improving the design process. Efficiency and applicability.
The parameter determination efficiency of the microstrip gain equalizer design process is improved, and the design of different types of equalizer parameters is supported, ensuring the transmission efficiency and signal quality of the signal at different frequencies is ensured, signal distortion is reduced, and the overall performance of the system is enhanced.
Smart Images

Figure CN119249995A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of microwave passive circuits, and in particular to a method, apparatus, computer equipment, computer-readable storage medium and computer program product for determining parameters of a microstrip gain equalizer. Background Art
[0002] In RF module products, microstrip equalizers are widely used in broadband links due to their low cost, simple production, and easy integration. They are necessary devices for achieving excellent flatness in broadband transceiver RF links, so they are widely used in the flatness design of broadband amplifiers.
[0003] Gain equalizers are mainly used at the output end of broadband amplifiers. In communication systems, they are usually located at the transmitting or receiving end. The gain of some systems tends to attenuate more at higher frequencies, that is, it presents a negative slope. At this time, it is necessary to install an equalizer with a positive slope in the transmission curve to improve the amplitude-frequency characteristics so that the output signal can reach the flatness required by the technology, which can greatly improve signal distortion.
[0004] However, some passive components in microwave devices, such as power dividers, isolators, couplers, filters, etc., have relatively complete theoretical foundations and calculation methods, but equalizers are special devices for different indicators and environments, so it is difficult to design them using general theories and calculation methods. In general, there is currently a problem of low efficiency in parameter determination in the design process of microstrip gain equalizers. Summary of the invention
[0005] Based on this, it is necessary to provide a parameter determination method, device, computer equipment, computer-readable storage medium and computer program product for a microstrip gain equalizer that can improve the parameter determination efficiency in the design process of the microstrip gain equalizer in response to the above technical problems.
[0006] In a first aspect, an embodiment of the present application provides a method for determining parameters of a microstrip gain equalizer. The method comprises:
[0007] Acquire an initial equalizer parameter configuration scheme of the microstrip gain equalizer, and obtain first fitness corresponding to each initial equalizer parameter configuration scheme according to each first equalizer configuration parameter included in the initial equalizer parameter configuration scheme;
[0008] Based on the first fitness corresponding to each of the initial equalizer parameter configuration schemes, the initial equalizer parameter configuration schemes are updated for a preset update round to obtain target equalizer parameter configuration schemes for a plurality of the microstrip gain equalizers;
[0009] According to each second equalizer configuration parameter included in each target equalizer parameter configuration scheme, obtaining a second fitness corresponding to each of the target equalizer parameter configuration schemes;
[0010] The second equalizer configuration parameters included in the target equalizer parameter configuration scheme corresponding to the minimum second fitness are used as the equalizer configuration parameters of the microstrip gain equalizer.
[0011] In a second aspect, the present application also provides a device for determining parameters of a microstrip gain equalizer. The device comprises:
[0012] A first fitness calculation module is used to obtain an initial equalizer parameter configuration scheme of the microstrip gain equalizer, and obtain a first fitness corresponding to each initial equalizer parameter configuration scheme according to each first equalizer configuration parameter included in the initial equalizer parameter configuration scheme;
[0013] A target equalizer parameter configuration scheme determination module is used to update the initial equalizer parameter configuration scheme for a preset update round based on the first fitness corresponding to each of the initial equalizer parameter configuration schemes to obtain target equalizer parameter configuration schemes for multiple microstrip gain equalizers;
[0014] A second fitness calculation module, configured to obtain the fitness corresponding to each target equalizer parameter configuration scheme according to each second equalizer configuration parameter included in each target equalizer parameter configuration scheme;
[0015] The equalizer configuration parameter determination module is used to use each second equalizer configuration parameter included in the target equalizer parameter configuration scheme corresponding to the minimum second fitness as the equalizer configuration parameter of the microstrip gain equalizer.
[0016] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0017] Acquire an initial equalizer parameter configuration scheme of the microstrip gain equalizer, and obtain first fitness corresponding to each initial equalizer parameter configuration scheme according to each first equalizer configuration parameter included in the initial equalizer parameter configuration scheme;
[0018] Based on the first fitness corresponding to each of the initial equalizer parameter configuration schemes, the initial equalizer parameter configuration schemes are updated for a preset update round to obtain target equalizer parameter configuration schemes for a plurality of the microstrip gain equalizers;
[0019] According to each second equalizer configuration parameter included in each target equalizer parameter configuration scheme, obtaining a second fitness corresponding to each of the target equalizer parameter configuration schemes;
[0020] The second equalizer configuration parameters included in the target equalizer parameter configuration scheme corresponding to the minimum second fitness are used as the equalizer configuration parameters of the microstrip gain equalizer.
[0021] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0022] Acquire an initial equalizer parameter configuration scheme of the microstrip gain equalizer, and obtain first fitness corresponding to each initial equalizer parameter configuration scheme according to each first equalizer configuration parameter included in the initial equalizer parameter configuration scheme;
[0023] Based on the first fitness corresponding to each of the initial equalizer parameter configuration schemes, the initial equalizer parameter configuration schemes are updated for a preset update round to obtain target equalizer parameter configuration schemes for a plurality of the microstrip gain equalizers;
[0024] According to each second equalizer configuration parameter included in each target equalizer parameter configuration scheme, obtaining a second fitness corresponding to each of the target equalizer parameter configuration schemes;
[0025] The second equalizer configuration parameters included in the target equalizer parameter configuration scheme corresponding to the minimum second fitness are used as the equalizer configuration parameters of the microstrip gain equalizer.
[0026] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0027] Acquire an initial equalizer parameter configuration scheme of the microstrip gain equalizer, and obtain first fitness corresponding to each initial equalizer parameter configuration scheme according to each first equalizer configuration parameter included in the initial equalizer parameter configuration scheme;
[0028] Based on the first fitness corresponding to each of the initial equalizer parameter configuration schemes, the initial equalizer parameter configuration schemes are updated for a preset update round to obtain target equalizer parameter configuration schemes for a plurality of the microstrip gain equalizers;
[0029] According to each second equalizer configuration parameter included in each target equalizer parameter configuration scheme, obtaining a second fitness corresponding to each of the target equalizer parameter configuration schemes;
[0030] The second equalizer configuration parameters included in the target equalizer parameter configuration scheme corresponding to the minimum second fitness are used as the equalizer configuration parameters of the microstrip gain equalizer.
[0031] The parameter determination method, device, computer equipment, storage medium and computer program product of the above-mentioned microstrip gain equalizer first obtain an initial equalizer parameter configuration scheme and calculate the first fitness to evaluate its performance. Then, the initial scheme is updated for multiple rounds according to the first fitness to generate multiple target equalizer parameter configuration schemes. Subsequently, the second fitness of these target schemes is calculated again to screen out the scheme with the smallest second fitness. Finally, the equalizer configuration parameters in the scheme are used as the optimized microstrip gain equalizer configuration parameters. Based on the genetic algorithm, the equalizer performance is gradually optimized by crossover and mutation of the initial parameter configuration scheme of the microstrip gain equalizer; the target equalizer parameter configuration scheme is first determined, and then simulation is performed, which improves the simulation efficiency, the process operation is simple, the applicability is strong, and the design of different types of equalizer parameters is supported, which improves the parameter determination efficiency of the design process of the microstrip gain equalizer. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0033] Figure 1 A schematic flow chart of a method for determining parameters of a microstrip gain equalizer in one embodiment;
[0034] Figure 2 A schematic flow chart of a method for determining parameters of a microstrip gain equalizer in another embodiment;
[0035] Figure 3 A schematic diagram of an equalizer evolution process in one embodiment;
[0036] Figure 4 A schematic diagram of an equalizer circuit model in an embodiment;
[0037] Figure 5 A schematic diagram of a three-dimensional model of an equalizer in an embodiment;
[0038] Figure 6 is a graph of insertion loss in one embodiment;
[0039] Figure 7 is a graph of input standing wave ratio in one embodiment;
[0040] Figure 8 is a graph of an output standing wave ratio in one embodiment;
[0041] Fig. 9 A structural block diagram of a device for determining parameters of a microstrip gain equalizer in one embodiment;
[0042] FIG. 10 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0044] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0045] In one embodiment, Figure 1 As shown, a method for determining parameters of a microstrip gain equalizer is provided. This embodiment takes the method applied to a terminal as an example for illustration. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0046] S101, obtaining an initial equalizer parameter configuration scheme for a microstrip gain equalizer, and obtaining first fitness corresponding to each initial equalizer parameter configuration scheme according to each first equalizer configuration parameter included in the initial equalizer parameter configuration scheme.
[0047] Among them, the microstrip gain equalizer is a device used in RF and microwave circuits. It is designed to balance signal gain, compensate for uneven frequency response, and ensure uniform transmission of signals at different frequencies. It is often used in antenna and amplifier design.
[0048] The initial equalizer parameter configuration scheme is a scheme corresponding to each individual in the population obtained after initialization, and the scheme includes various first equalizer configuration parameters, such as the unit type number of the notch unit, the resistance value of the notch unit, and the line length and line width of each microstrip line in the notch unit. The first fitness is calculated by first setting the expression of the fitness evaluation function, and then substituting the value of the first equalizer configuration parameter into the expression of the fitness evaluation function to calculate the first fitness.
[0049] For example, an equalizer can be regarded as an individual in a population, each notch unit of the cascaded equalizer can be regarded as the chromosome of the individual, and the line width, line length and series resistance value of the microstrip line in the cascaded notch unit can be regarded as a genetic factor. The individuals in the population can be expressed by the following genetic coding method:
[0050]
[0051] The chromosome number, resistance value, length and line width of each microstrip line are equalizer configuration parameters, and the chromosome number refers to the chromosome corresponding to the notch unit in each equalizer to be designed.
[0052] Exemplarily, the fitness evaluation function is defined as follows:
[0053]
[0054] In the formula is the calculated insertion loss for each frequency point, The expected insertion loss for each frequency point is is the input standing wave ratio, is the output standing wave ratio. The cumulative error of each frequency point of the equalizer network can be obtained. The smaller the cumulative error, the closer it is to the design target and the higher the fitness; the larger the cumulative error, the further it deviates from the design target and the lower the fitness.
[0055] S102, based on the first fitness corresponding to each initial equalizer parameter configuration scheme, updating the initial equalizer parameter configuration scheme for a preset update round to obtain target equalizer parameter configuration schemes for multiple microstrip gain equalizers.
[0056] The preset update rounds refer to the preset rounds of crossover mutation and screening, such as N times. The target equalizer parameter configuration scheme refers to the configuration scheme obtained after iteration, for example, the parameter configuration scheme corresponding to a batch of population individuals obtained after the last round of iteration.
[0057] S103: Obtain a second fitness corresponding to each target equalizer parameter configuration scheme according to each second equalizer configuration parameter included in each target equalizer parameter configuration scheme.
[0058] It should be noted that the calculation method of the second fitness in step S103 is the same as the calculation method of the first fitness in step S101, which will not be described in detail here.
[0059] S104: Use each second equalizer configuration parameter included in the target equalizer parameter configuration scheme corresponding to the minimum second fitness as the equalizer configuration parameter of the microstrip gain equalizer.
[0060] Exemplarily, based on the second fitness of the target equalizer parameter configuration scheme obtained after the last round of iterations, the population individuals corresponding to the scheme with the smallest second fitness are screened out, and the second equalizer configuration parameters of the population individuals are used as the configuration parameters of the microstrip gain equalizer to be designed, so as to facilitate the subsequent simulation of the designed equalizer performance.
[0061] It should be noted that the first fitness and the second fitness involved in steps S101 to 104 refer to the fitness function values calculated by the fitness function. Generally, the smaller the fitness function value, the better the fitness of the individual; conversely, the larger the fitness function value, the worse the fitness of the individual.
[0062] In the parameter determination method of the above-mentioned microstrip gain equalizer, the initial equalizer parameter configuration scheme is first obtained, and its first fitness is calculated to evaluate its performance. Then, the initial scheme is updated for multiple rounds according to the first fitness to generate multiple target equalizer parameter configuration schemes. Then, the second fitness of these target schemes is calculated again, and the scheme with the smallest second fitness is screened out. Finally, the equalizer configuration parameters in the scheme are used as the optimized microstrip gain equalizer configuration parameters. Based on the genetic algorithm, the equalizer performance is gradually optimized by crossover and mutation of the initial parameter configuration scheme of the microstrip gain equalizer; the target equalizer parameter configuration scheme is first determined, and then simulation is performed, which improves the simulation efficiency, the process operation is simple, the applicability is strong, and the design of different types of equalizer parameters is supported, which improves the parameter determination efficiency of the design process of the microstrip gain equalizer.
[0063] In one embodiment, according to each first equalizer configuration parameter included in the initial equalizer parameter configuration scheme, a first fitness corresponding to each initial equalizer parameter configuration scheme is obtained, including: obtaining the input impedance of each initial microstrip gain equalizer according to each first equalizer configuration parameter; calculating the scattering parameter of the scattering matrix corresponding to the notch unit in each initial microstrip gain equalizer according to the input impedance; calculating the insertion loss and standing wave ratio corresponding to each frequency point associated with the initial microstrip gain equalizer according to the scattering parameter; and calculating the first fitness corresponding to each initial equalizer parameter configuration scheme according to the insertion loss and standing wave ratio corresponding to each frequency point.
[0064] The initial microstrip gain equalizer is a gain equalizer that can be obtained by implementing the initial equalizer parameter configuration scheme.
[0065] Among them, input impedance is the impedance characteristic of the circuit to the input signal, which affects the transmission and reflection of the signal; the scattering parameter describes the reflection and transmission characteristics of the signal in a multi-port network, usually expressed as a scattering matrix; insertion loss refers to the energy loss when the signal passes through the device, reflecting the transmission efficiency of the device; the standing wave ratio measures the ratio of the reflected signal to the incident signal, indicates the degree of reflection of the signal, and affects the signal quality.
[0066] For example, a resistor is connected in series on a microstrip stub, and its input impedance is:
[0067] .
[0068] In this way, the scattering parameters can be calculated according to the input impedance of each branch, including S11 (reflection coefficient, input of port 1), S22 (reflection coefficient, input of port 2), S12 (transmission coefficient, from port 2 to port 1), S21 (transmission coefficient, from port 1 to port 2), and then the insertion loss and standing wave ratio can be calculated according to the scattering parameters to solve the fitness.
[0069] In this embodiment, the performance of the initial microstrip gain equalizer is evaluated through a series of calculation steps. First, the input impedance is calculated according to the equalizer configuration parameters, which reflects the response characteristics of the circuit to the input signal. Next, the scattering matrix scattering parameters of the notch unit are derived using the input impedance to describe the reflection and transmission characteristics of the signal in the unit. Subsequently, based on the scattering parameters, the insertion loss and standing wave ratio of each frequency point are calculated. The insertion loss represents the energy loss when the signal passes through the equalizer, while the standing wave ratio reflects the degree of signal reflection. Finally, the adaptability of the initial equalizer parameter configuration scheme is comprehensively evaluated through these indicators, which effectively improves the design accuracy of the equalizer, ensures the transmission efficiency of the signal at different frequencies, reduces signal distortion, and enhances the overall performance of the system.
[0070] In one embodiment, a first fitness corresponding to each initial equalizer parameter configuration scheme is calculated based on the insertion loss and standing wave ratio corresponding to each frequency point, including: obtaining a target frequency point to be calculated and an expected value of the insertion loss corresponding to the target frequency point; obtaining a fitness corresponding to each target frequency point based on the target frequency point to be calculated, the expected value of the insertion loss corresponding to the target frequency point, and the insertion loss and standing wave ratio corresponding to each frequency point associated with the initial microstrip gain equalizer; obtaining a first fitness corresponding to each initial equalizer parameter configuration scheme based on the fitness corresponding to each target frequency point.
[0071] The target frequency refers to the frequency that is closely related to the design and test process of the equalizer, for example, each frequency within the frequency range of 0.6-4GHz. The target frequency to be calculated and the expected value of the insertion loss corresponding to the target frequency can be obtained according to the solution target.
[0072] In the field of equalizer design, the setting of solution goals provides clear performance standards and optimization directions for the design. By setting specific frequency ranges and insertion loss expectations, designers can more effectively evaluate and adjust the performance of the equalizer to ensure that it meets specific application requirements, thereby improving the overall performance and reliability of the system.
[0073] For example, the solution goal is to achieve a positive slope of the equalizer in the frequency range of 0.6-4GHz, and the amplitude-frequency characteristic balancing amount is [-6, -2]dB. Among them, the frequency range of 0.6-4GHz is the range of the target frequency point, and the amplitude-frequency characteristic balancing amount of [-6, -2]dB is the expected value of the insertion loss corresponding to each target frequency point.
[0074] In this embodiment, the performance of the initial microstrip gain equalizer is evaluated by setting the target frequency and its corresponding expected insertion loss. First, determine the target frequency range to be calculated and the expected value of its insertion loss. Then, combine the insertion loss and standing wave ratio of the initial equalizer at each frequency to calculate the fitness of each target frequency, reflecting its deviation from the expected value. Finally, the first fitness of each initial equalizer parameter configuration scheme is obtained by combining the fitness of each target frequency. This scheme provides a clear performance standard and optimization direction for the design by solving the setting of the target, effectively optimizes the design of the equalizer, ensures the desired amplitude-frequency characteristics within the specified frequency range, and improves the stability and quality of signal transmission.
[0075] In one embodiment, the first equalizer configuration parameters include a unit type number of a notch unit, a resistance value of the notch unit, and a line length and a line width of each microstrip line in the notch unit; the input impedance of each initial microstrip gain equalizer is obtained according to each first equalizer configuration parameter, including: determining the total line length of the notch unit according to the line length of each microstrip line in the notch unit; determining the transmission line characteristic impedance corresponding to the notch unit according to the line width of each microstrip line in the notch unit; and obtaining the input impedance of each initial microstrip gain equalizer according to an impedance calculation rule corresponding to the unit type number of the notch unit, the resistance value of the notch unit, the total line length of the notch unit, and the transmission line characteristic impedance corresponding to the notch unit.
[0076] Among them, the line length of each microstrip line can be directly added to determine the total line length of the notch unit, and the line width of each microstrip line can also determine the transmission line characteristic impedance of the entire notch unit.
[0077] For example, a resistor is connected in series on a microstrip stub, and its input impedance is:
[0078]
[0079] The function of the RLC resonant network can be realized. The characteristic impedance of the transmission line is, is the total length of the notch unit.
[0080] In this embodiment, the input impedance of the initial microstrip gain equalizer is systematically calculated by analyzing the first equalizer configuration parameters. First, the total line length of the notch unit and the corresponding transmission line characteristic impedance are determined based on the unit type number of the notch unit, the line length and line width of each microstrip line. Then, the input impedance of the equalizer is derived by combining the total line length and characteristic impedance using the resistance value and calculation rules of the notch unit. This process ensures that the equalizer can accurately reflect its electrical characteristics during the design phase, thereby optimizing signal transmission performance. By accurately calculating the input impedance, designers can effectively reduce signal distortion, improve the frequency response and stability of the system, and ultimately achieve more efficient signal processing and transmission.
[0081] In one embodiment, based on the first fitness corresponding to each initial equalizer parameter configuration scheme, the initial equalizer parameter configuration scheme is updated for a preset update round to obtain target equalizer parameter configuration schemes for multiple microstrip gain equalizers, including: based on the first fitness corresponding to each initial equalizer parameter configuration scheme, multiple first equalizer parameter configuration schemes are selected from the initial equalizer parameter configuration scheme; the multiple first equalizer parameter configuration schemes are cross-mutated to obtain multiple second equalizer parameter configuration schemes; the current update round is obtained, if the current update round is less than the preset update round, the second equalizer parameter configuration scheme is used as the initial equalizer parameter configuration scheme for the next update round, until the current update round reaches the preset update round, and the multiple second equalizer parameter configuration schemes are used as multiple target equalizer parameter configuration schemes.
[0082] Among them, selecting multiple first equalizer parameter configuration schemes in the initial equalizer parameter configuration scheme refers to the selection process of the parent individual, and the first equalizer parameter configuration scheme is the parameter configuration scheme corresponding to the selected parent individual. Similarly, the second equalizer parameter configuration scheme is the configuration scheme obtained after crossover and mutation.
[0083] For example, the parent individuals are selected first, and then the chromosomes of the selected parent individuals are crossed and mutated. After the genetic algorithm is iterated, the last batch of individuals can be directly optimized, and then the optimal individual is found, and the parameters of each branch closest to the target equalizer curve are determined. Among them, the last batch is the target equalizer parameter configuration scheme.
[0084] In this embodiment, a genetic algorithm is used to iteratively optimize the initial equalizer parameter configuration scheme to obtain multiple target equalizer parameter configuration schemes; first, multiple first equalizer parameter configuration schemes are selected as parent individuals according to the fitness of each initial equalizer parameter configuration scheme; then, the parameters of these parent individuals are crossover and mutation processed to generate multiple second equalizer parameter configuration schemes; by setting a preset update round, the iterative update is continuously performed until the preset round is reached, and finally multiple target equalizer parameter configuration schemes are obtained; it is ensured that in each round, high-quality parameter configuration schemes can be retained and optimized, so as to gradually approach the target equalization curve; through the iterative optimization of the genetic algorithm, the designer can effectively explore the parameter space, find the optimal configuration, and significantly improve the performance and adaptability of the equalizer, ensuring that it can meet specific signal processing requirements in practical applications.
[0085] In one embodiment, based on the fitness corresponding to each initial equalizer parameter configuration scheme, multiple first equalizer parameter configuration schemes are selected from the initial equalizer parameter configuration schemes, including: constructing a selection probability corresponding to each initial equalizer parameter configuration scheme according to the first fitness corresponding to each initial equalizer parameter configuration scheme; converting each selection probability to obtain a cumulative probability corresponding to each selection probability; obtaining a pre-generated random probability, matching the random probability with the cumulative probability, and obtaining multiple first equalizer parameter configuration schemes that meet the cumulative probability.
[0086] Among them, the selection probability is negatively correlated with the first fitness. For example, since in the fitness function The smaller the population, the higher the fitness. We get
[0087] ,
[0088] By normalizing F by the inverse of the fitness value, we can get the probability of individual selection with a total of 1.
[0089] Exemplarily, the roulette wheel selection algorithm needs to calculate the selection probability of each individual based on the first fitness. According to the principle of the roulette wheel algorithm, the cumulative probability array is obtained for the selection probability array, and then a random probability array is generated. By comparing the random probability array with the cumulative probability array, the parent individual can be selected according to probability.
[0090] In this embodiment, a plurality of first equalizer parameter configuration schemes are selected from the initial equalizer parameter configuration schemes through a roulette wheel selection algorithm. First, a selection probability is constructed according to the first fitness of each initial equalizer parameter configuration scheme, and the individual selection probability with a sum of 1 is obtained by calculating the inverse of the first fitness and normalizing it; then, a cumulative probability array is generated and matched with the pre-generated random probability, and a plurality of first equalizer parameter configuration schemes that meet the cumulative probability are selected according to the matching results; this process ensures that individuals with higher fitness have a greater probability of being selected, thereby retaining high-quality parameter configuration schemes in each round; through this selection mechanism, the overall adaptability of the population can be effectively improved, the transmission and optimization of excellent genes can be promoted, and ultimately the performance of the equalizer can be improved and the design can be refined.
[0091] In one embodiment, a plurality of first equalizer parameter configuration schemes are cross-mutated to obtain a plurality of second equalizer parameter configuration schemes, including: crossing a plurality of first equalizer parameter configuration schemes according to a preset cross-over probability to obtain a first equalizer parameter configuration scheme after crossing; generating a mutated parameter according to a preset mutation probability, and replacing the parameters at preset positions in the first equalizer parameter configuration scheme after crossing with the mutated parameter to obtain a plurality of second equalizer parameter configuration schemes.
[0092] Among them, the first equalizer parameter configuration scheme after crossover is the configuration scheme corresponding to the chromosome of the individual after crossover, and the second equalizer parameter configuration scheme is the configuration scheme corresponding to the chromosome of the individual after mutation.
[0093] For example, the crossover operation is to select two individuals as parents and generate new offspring by crossing their chromosomes and genes; the algorithm defines the mutation probability to traverse the chromosomes and genes of the offspring and randomly generate new parameter values according to the crossover probability to replace the original parameters to complete the gene mutation process.
[0094] In this embodiment, first, according to a preset crossover probability, two individuals are randomly selected as parents from multiple first equalizer parameter configuration schemes, and their chromosomes and genes are crossed to generate a first equalizer parameter configuration scheme after crossover; then, according to a preset mutation probability, the scheme after crossover is mutated, and mutation parameters are randomly generated and the parameters at preset positions are replaced, thereby obtaining multiple second equalizer parameter configuration schemes; the crossover operation promotes the combination of excellent genes and enhances the diversity of the population, while the mutation operation introduces new gene variants and further enriches the possibility of parameter configuration; through this combination of crossover and mutation, the parameter space can be effectively explored, the adaptability and performance of the equalizer can be improved, and its effectiveness and stability in complex signal processing environments can be ensured, and ultimately a better design goal can be achieved.
[0095] In one embodiment, a microstrip gain equalizer includes at least one notch unit, each first equalizer parameter configuration scheme includes at least one sub-equalizer parameter configuration scheme; the preset crossover probability includes a first crossover probability and a second crossover probability, and multiple first equalizer parameter configuration schemes are crossed according to the preset crossover probability to obtain a first equalizer parameter configuration scheme after crossing, including: determining each first sub-equalizer parameter configuration scheme from each first equalizer parameter configuration scheme according to the first crossover probability, crossing each first sub-equalizer parameter configuration scheme to obtain a first sub-equalizer parameter configuration scheme after crossing; determining each second sub-equalizer parameter configuration scheme other than the first sub-equalizer parameter configuration scheme from each first equalizer parameter configuration scheme according to the second crossover probability; crossing the first sub-equalizer parameter configuration scheme after crossing with the second sub-equalizer parameter configuration scheme to obtain the first equalizer parameter configuration scheme after crossing.
[0096] The parameter configuration schemes of each sub-equalizer are used to characterize the parameter configuration of each notch unit, corresponding to different notch units in an equalizer.
[0097] Among them, the first crossover probability is the chromosome crossover probability, and the second crossover probability is the gene crossover probability. The settings of the two crossover probabilities can be dynamically adjusted according to actual conditions.
[0098] For example, the crossover operation includes chromosome crossover and gene crossover. We control the crossover process by defining the crossover probability. The algorithm randomly selects two individuals as parents, and assigns the chromosomes of the selected parents to the offspring by traversing the chromosome encoding crossover. In each crossover process, there will be a chromosome in the parent that is not selected. In order to achieve diversity, by defining the gene crossover probability, genes are selected from the unselected chromosome and crossed to the selected chromosome according to this probability, completing the offspring crossover process.
[0099] In this embodiment, by setting a first crossover probability and a second crossover probability, a plurality of first equalizer parameter configuration schemes are subjected to hierarchical crossover processing to generate a first equalizer parameter configuration scheme after crossover; first, according to the first crossover probability, a first sub-equalizer parameter configuration scheme is selected from each of the first equalizer parameter configuration schemes for crossover to generate a first sub-equalizer parameter configuration scheme after crossover; then, according to the second crossover probability, a second sub-equalizer parameter configuration scheme other than the first sub-equalizer parameter configuration scheme is selected from each scheme, and the second sub-equalizer parameter configuration scheme is crossovered with the first sub-equalizer parameter configuration scheme after crossover to obtain the final first equalizer parameter configuration scheme after crossover; this scheme enhances the diversity and adaptability of parameter configuration through dual crossover operations of chromosomes and genes, can more effectively explore the equalizer design space, and improve the performance and flexibility of the notch unit.
[0100] In one embodiment, the initial equalizer parameter configuration scheme is updated for a preset update round to obtain target equalizer parameter configuration schemes for multiple microstrip gain equalizers, including: according to the first fitness corresponding to each initial equalizer parameter configuration scheme, the initial equalizer parameter configuration scheme with a first fitness less than a preset threshold is screened from the initial equalizer parameter configuration scheme; the initial equalizer parameter configuration scheme with a first fitness less than the preset threshold is added to the target equalizer parameter configuration scheme to obtain an updated target equalizer parameter configuration scheme.
[0101] The initial equalizer parameter configuration scheme refers to the configuration scheme corresponding to the first generation of individuals obtained after initialization, and the target equalizer parameter configuration scheme refers to the configuration scheme of the individuals after the last round of iterations.
[0102] For example, through the principle of elite retention, after a round of evolution, there are currently a parent population and a child population. The child population will not completely replace the parent population, but the individuals with high fitness in the parent population will replace the individuals with poor fitness in the child population, so that the individuals with high fitness in the parent population can be retained.
[0103] In this embodiment, the initial equalizer parameter configuration scheme is iteratively optimized through preset update rounds to generate target equalizer parameter configuration schemes for multiple microstrip gain equalizers; first, according to the fitness of each initial equalizer parameter configuration scheme, the initial generation equalizer parameter configuration scheme with a fitness lower than the preset threshold is screened out; then, these initial generation schemes are added to the target equalizer parameter configuration scheme to form an updated target configuration scheme; by implementing the elite retention strategy, it is ensured that the parent individuals with higher fitness are retained during the evolution process, while the offspring individuals replace the parent individuals with lower fitness. This method effectively improves the overall adaptability of the population, avoids the loss of excellent genes, promotes the optimization of the equalizer design, and finally realizes a microstrip gain equalizer configuration scheme with higher performance and stability.
[0104] In one embodiment, after the step of using each second equalizer configuration parameter contained in the target equalizer parameter configuration scheme corresponding to the minimum second fitness as the equalizer configuration parameter of the microstrip gain equalizer, the method also includes: configuring the microstrip gain equalizer according to the equalizer configuration parameters of the microstrip gain equalizer; and simulating the configured microstrip gain equalizer to obtain a simulation result.
[0105] The simulation process includes but is not limited to the simulation of circuit models, three-dimensional models and electromagnetic field simulation. The simulation results are used to characterize the amplitude-frequency characteristics of the configured microstrip gain equalizer. The simulation results show that the equalization amount designed by the genetic algorithm is basically consistent with that of the commercial software, and the return loss is close to that of ADS. Therefore, the equalizer design based on the genetic algorithm is feasible.
[0106] In this embodiment, a microstrip gain equalizer is configured based on the extracted parameters, and then a multi-dimensional simulation is performed to obtain detailed simulation results. The simulation process covers circuit models, three-dimensional models, and electromagnetic field simulations, aiming to characterize the amplitude-frequency characteristics of the equalizer after configuration; this method greatly improves the design efficiency by optimizing the design parameters, so that the equalizer performance can be consistent in theory and practical applications, thereby enhancing the practicality and market competitiveness of the microstrip gain equalizer.
[0107] In another embodiment, Figure 2 As shown, a method for determining parameters of a microstrip gain equalizer is provided, comprising the following steps:
[0108] S201, obtaining an initial equalizer parameter configuration scheme for a microstrip gain equalizer.
[0109] S202, determining the total length of the notch unit according to the length of each microstrip line in the notch unit.
[0110] S203, determining the transmission line characteristic impedance corresponding to the notch unit according to the line width of each microstrip line in the notch unit.
[0111] S204, obtaining the input impedance of each initial microstrip gain equalizer according to the impedance calculation rule corresponding to the unit type number of the notch unit, the resistance value of the notch unit, the total line length of the notch unit and the transmission line characteristic impedance corresponding to the notch unit.
[0112] S205, calculating the scattering parameters of the scattering matrix corresponding to the notch units in each initial microstrip gain equalizer according to the input impedance.
[0113] S206, calculating the insertion loss and standing wave ratio corresponding to each frequency point associated with the initial microstrip gain equalizer according to the scattering parameters.
[0114] S207, obtaining the fitness corresponding to each target frequency point according to the target frequency point to be calculated, the expected value of the insertion loss corresponding to the target frequency point, and the insertion loss and the standing wave ratio corresponding to each frequency point associated with the initial microstrip gain equalizer.
[0115] S208, obtaining the fitness corresponding to each initial equalizer parameter configuration scheme according to the fitness corresponding to each target frequency point, so as to obtain the first fitness corresponding to each initial equalizer parameter configuration scheme.
[0116] S209, based on the first fitness, updating the initial equalizer parameter configuration scheme to obtain a target equalizer parameter configuration scheme, and determining the equalizer configuration parameters of the microstrip gain equalizer according to the second fitness corresponding to the target equalizer parameter configuration scheme.
[0117] It should be noted that the specific definitions of the above steps can refer to the specific definitions of the method for determining parameters of a microstrip gain equalizer mentioned above, which will not be repeated here.
[0118] Some passive components in microwave devices, such as power dividers, isolators, couplers, filters, etc., have relatively complete theoretical foundations and calculation methods, but equalizers are special devices for different indicators and environments, so it is difficult to design them using general theories and calculation methods.
[0119] It is this particularity that causes each equalizer design to correspond to a separate requirement. Few equalizers can meet the requirements of multiple working environments. The adjustability and adaptability of the equalizer have become a key goal and direction in this field. Therefore, the choice of equalizers based on microstrip structures has the characteristics of miniaturization, simple structure, and easy integration. The lack of theory can be made up by studying the automatic design method of equalizers.
[0120] Based on this, the embodiment of the present application provides a method for determining parameters of a microstrip gain equalizer, also known as a method for designing a microstrip gain equalizer based on a genetic algorithm. The microstrip equalizer belongs to the field of microwave passive circuit technology, specifically, a technical method for designing a microstrip gain equalizer using a genetic algorithm. Figures 3 to 8 , a method for determining parameters of a microstrip gain equalizer is described in detail with a specific embodiment. It is worth noting that the following description is only an exemplary description and not a specific limitation to the application.
[0121] The parameter determination method of the microstrip gain equalizer provided in the present application can include four types of notch units of the microstrip gain equalizer circuit to be designed, namely: the type of open microstrip line, the type of series microstrip line, the type of open microstrip line with series resistor, and the type composed of series resistor, open microstrip line and series microstrip line. In addition, it is also equipped with a microstrip equivalent circuit simulation program for calculating the transmission characteristics of the cascaded microstrip line structure automatically initialized and generated. By changing the length, width and resistance value of the microstrip line, a new transmission characteristic calculation is performed to optimize the structure and find the result that meets the design calculation conditions.
[0122] The parameter determination method of the microstrip gain equalizer provided in this application can automatically design an equalizer circuit that meets the requirements by selecting a specific circuit structure and a target equalization curve according to the equalization requirements of the required radio frequency link. This can be achieved specifically through the following technical solutions:
[0123] By drawing on the theory of evolution by natural selection, the genetic algorithm simulates the problem to be solved into a biological evolution process, generates the next generation of solutions through operations such as replication, crossover, and mutation, and gradually eliminates solutions with poor fitness (larger fitness function values) and increases solutions with better fitness (smaller fitness function values). After N generations of evolution, the solution with the best fitness is generated. Based on the design process of the genetic algorithm and the characteristics of the equalizer, the equalizer evolution process is described as follows: Figure 3 It should be noted that the smaller the fitness function value of the present application is, the better the fitness of the individual is; conversely, the larger the fitness function value of the present application is, the worse the fitness of the individual is.
[0124] The method for determining parameters of a microstrip gain equalizer provided in the present application may include the following steps:
[0125] Step 1: According to the encoding method of the genetic algorithm and the composition of the equalizer, the required population, individuals, chromosomes, and genetic factors are constructed.
[0126] In equalizer design, an equalizer can be regarded as an individual in a population, each notch unit of the equalizer cascade can be regarded as the chromosome of the individual, and the line width, line length and series resistance value of the microstrip line in the cascaded notch unit can be regarded as a genetic factor. In equalizer design, it can be achieved by cascading multiple notches. The transfer matrix of the notch network is:
[0127] =
[0128] in:
[0129]
[0130] From the conversion relationship between the transfer matrix and the scattering matrix, we can get:
[0131] =
[0132] Thus, the circuit is calculated and :
[0133]
[0134]
[0135] From this, the insertion loss of the entire notch unit can be obtained:
[0136]
[0137] In the design requirements, the equalizer usually uses multiple notch units in cascade to achieve the requirements of wide bandwidth and low standing wave ratio. The ABCD matrix of the cascade network is:
[0138]
[0139] The insertion loss and return loss of the entire notch unit can be derived through transmission line theory and microwave network theory.
[0140] Then we can define several chromosomes in the notch unit of the equalizer, and the individuals in the population will be expressed by these four chromosomes. The individuals in the population can be expressed by the following genetic coding method:
[0141]
[0142] According to transmission line theory, the input impedance of an ideal short-circuited or open-circuited transmission line is:
[0143] (Short circuit)
[0144] (open circuit)
[0145] In the formula is the transmission line characteristic impedance, is the propagation constant, is the length of the transmission line. From the formula, we can see that the input impedance of an open or short-circuited transmission line is a pure imaginary number, and it exhibits capacitive, inductive, series resonance, and parallel resonance characteristics as the length changes. At the same time, a resistor is connected in series on a microstrip stub, and its input impedance is:
[0146]
[0147] The function of the RLC resonant network can be realized.
[0148] In this way, the scattering parameters can be calculated based on the input impedance of each branch, including S11 (reflection coefficient, input of port 1), S22 (reflection coefficient, input of port 2), S12 (transmission coefficient, from port 2 to port 1), and S21 (transmission coefficient, from port 1 to port 2).
[0149] Step 2: Calculate the fitness function value of the population
[0150] Here it is necessary to evaluate the fitness value of each individual in the population and select individuals based on the size of their fitness, which can be understood as the process of natural selection.
[0151] In the equalizer, the insertion loss and return loss of the equalizer need to be considered, so the fitness evaluation function is defined as follows:
[0152]
[0153] In the formula is the calculated insertion loss for each frequency point, The expected insertion loss for each frequency point is is the input standing wave ratio, is the output standing wave ratio. By calculating f, we can get the cumulative error of each frequency point of the equalizer network. The smaller the cumulative error, the closer it is to the design target, the smaller the fitness function value, and the higher the degree of adaptability; the larger the cumulative error, the further it deviates from the design target, the larger the fitness function value, and the lower the degree of adaptability.
[0154] Step 3: Choose Roulette
[0155] In nature, individuals with higher fitness are more likely to survive, so we need to use the roulette wheel selection method. Individuals with higher fitness are more likely to be selected.
[0156] The roulette wheel selection algorithm needs to calculate the selection probability of each individual based on the fitness; since the smaller f is in the fitness function, the better the individual's fitness is, this application obtains the inverse sum of the population fitness , and then normalizing F by the inverse of the fitness value can get the probability of individual selection with a total of 1.
[0157] According to the principle of roulette algorithm, the cumulative probability array is calculated for the selection probability array, and then a random probability array is generated. By comparing the random probability array with the cumulative probability array, the parent individual can be selected according to probability.
[0158] Step 4: Cross
[0159] The crossover operation is to select two individuals as parents and generate new offspring by crossing their chromosomes and genes. The crossover operation includes chromosome crossing and gene crossing. We control the crossover process by defining the crossover probability. The algorithm randomly selects two individuals as parents, and assigns the chromosome of the selected parent to the offspring by traversing the chromosome encoding crossover. Therefore, the chromosome crossover probability is 0.5. In each crossover process, one chromosome in the parent will not be selected. In order to achieve diversity, by defining the gene crossover probability, according to this probability, a gene is selected from the unselected chromosome to cross to the selected chromosome, completing the offspring crossover process.
[0160] Step 5: Mutation
[0161] The algorithm defines the mutation probability to traverse the chromosomes and genes of the offspring and randomly generates new parameter values according to the crossover probability to replace the original parameters to complete the gene mutation process.
[0162] Step 6: Elite Retention
[0163] The purpose of elite retention is to ensure that after a round of evolution, there are currently parent populations and offspring populations. The offspring population will not completely replace the parent population, but will replace the less adaptable individuals in the offspring population with the more adaptable individuals in the parent population, so that the more adaptable individuals in the parent population can be retained.
[0164] Step 7: Population migration
[0165] In genetic algorithms, a single population often falls into a local optimal solution. By setting up multiple populations and evolving them independently, we can avoid the local optimal solution. During the evolution of multiple populations, genetic diversity can be introduced by migrating individuals between populations at certain evolutionary generations. In the equalizer algorithm, we select the best individuals from each population and migrate them according to the migration probability.
[0166] After iteration of the genetic algorithm, the parameters of each branch closest to the target equilibrium curve can be directly optimized.
[0167] In the process of fitness calculation, it is necessary to solve the target to limit the range of frequency points, ensure the rationality of the initialized parameters, solve within the target, and ensure the availability of the equalizer.
[0168] For example, the solution goal is to achieve a positive slope of the equalizer in the frequency range of 0.6-4GHz with an amplitude-frequency characteristic equalization amount of [-6,-2]dB. The algorithm setting parameters are shown in the following table:
[0169]
[0170] The convergence accuracy of 0.2 means that when the fitness function value is less than 0.2 or reaches N iterations, the iteration is stopped and the individual with the smallest fitness function value is selected from the last batch of individuals as the optimal individual.
[0171] In addition, in the process of using the fitness function to calculate the fitness, not only the endpoints of the 0.6-4GHz frequency range are calculated, but the calculation density needs to be set. For example, the frequency range can be divided, and the fitness of 100 frequency points can be calculated, and then the final fitness can be obtained by weighted summation.
[0172] In one embodiment, the optimization results obtained after the algorithm is iterated are shown in the following table:
[0173]
[0174] Create the corresponding circuit model in ADS (Advanced Design System) Figure 4 As shown in the figure, the corresponding three-dimensional model is established in HFSS (High-Frequency Structure Simulator) as shown in the figure. Figure 5 As shown in the figure, the genetic algorithm, ADS, HFSS, and CST (CST Studio Suite) simulations are compared. Figure 6 , Figure 7 and Figure 8 As shown. Among them, ADS is an electronic design automation software, mainly used for the design and simulation of radio frequency (RF) and microwave circuits, and is often used in the fields of radio frequency circuits, antenna design and signal integrity analysis. HFSS is an electromagnetic field simulation software, specially used for electromagnetic simulation of high-frequency structures, and is widely used in electromagnetic simulation of antenna design, filters, waveguides and other high-frequency circuits. CST is an electromagnetic field simulation software that provides a variety of electromagnetic simulation tools.
[0175] Through Figure 6 , Figure 7 and Figure 8 Through analysis, it can be seen that under the verification of 2.5-dimensional and 3-dimensional commercial simulation software, the equalization amount designed by the genetic algorithm is basically consistent with that of the commercial software, and the return loss is relatively close to ADS. Therefore, the equalizer design based on the genetic algorithm is feasible.
[0176] The advantages of the parameter determination method of the microstrip gain equalizer provided in this application are:
[0177] (1) Design based on genetic algorithms can screen out the best individuals and avoid repeated debugging and simulation work; (2) After using Matlab to perform numerical calculations to obtain the best individuals, field simulation is performed instead of directly performing field simulation, which significantly improves efficiency and allows the optimal structural parameters to be obtained in a very short time; (3) The operation is simple and the design value does not require a mastery of design theory. It only requires providing the required equalizer target parameters to quickly obtain the optimal parameters through program calculation; (4) It is applicable to the design of various equalizers and is not limited to the individuals defined in this design. As long as the individual and chromosome definitions are changed, other forms of equalizers can be obtained as quickly as possible.
[0178] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0179] Based on the same inventive concept, the embodiment of the present application also provides a device for determining parameters of a microstrip gain equalizer for implementing the method for determining parameters of a microstrip gain equalizer involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the device for determining parameters of one or more microstrip gain equalizers provided below can refer to the limitations of the method for determining parameters of a microstrip gain equalizer above, and will not be repeated here.
[0180] In one embodiment, Fig. 9 As shown, a device for determining parameters of a microstrip gain equalizer is provided, comprising: a first fitness calculation module 901, a target equalizer parameter configuration scheme determination module 902, a second fitness calculation module 903, and an equalizer configuration parameter determination module 904, wherein:
[0181] A first fitness calculation module 901 is used to obtain an initial equalizer parameter configuration scheme of the microstrip gain equalizer, and obtain a first fitness corresponding to each initial equalizer parameter configuration scheme according to each first equalizer configuration parameter included in the initial equalizer parameter configuration scheme;
[0182] A target equalizer parameter configuration scheme determining module 902 is used to update the initial equalizer parameter configuration schemes for a preset update round based on the first fitness corresponding to each initial equalizer parameter configuration scheme, so as to obtain target equalizer parameter configuration schemes for multiple microstrip gain equalizers;
[0183] A second fitness calculation module 903, configured to obtain a second fitness corresponding to each target equalizer parameter configuration scheme according to each second equalizer configuration parameter included in each target equalizer parameter configuration scheme;
[0184] The equalizer configuration parameter determination module 904 is used to use each second equalizer configuration parameter included in the target equalizer parameter configuration scheme corresponding to the minimum second fitness as the equalizer configuration parameter of the microstrip gain equalizer.
[0185] In one embodiment, the device is used to: obtain the input impedance of each initial microstrip gain equalizer according to each first equalizer configuration parameter; the initial microstrip gain equalizer is a gain equalizer that can be obtained by implementing the initial equalizer parameter configuration scheme; calculate the scattering parameters of the scattering matrix corresponding to the notch unit in each initial microstrip gain equalizer according to the input impedance; calculate the insertion loss and standing wave ratio corresponding to each frequency point associated with the initial microstrip gain equalizer according to the scattering parameters; and calculate the first fitness corresponding to each initial equalizer parameter configuration scheme according to the insertion loss and standing wave ratio corresponding to each frequency point.
[0186] In one embodiment, the device is used to: obtain the target frequency to be calculated and the expected value of the insertion loss corresponding to the target frequency; obtain the fitness corresponding to each target frequency according to the target frequency to be calculated, the expected value of the insertion loss corresponding to the target frequency, and the insertion loss and standing wave ratio corresponding to each frequency associated with the initial microstrip gain equalizer; obtain the first fitness corresponding to each initial equalizer parameter configuration scheme according to the fitness corresponding to each target frequency.
[0187] In one embodiment, the device is used to: obtain the input impedance of each initial microstrip gain equalizer according to each first equalizer configuration parameter, including: determining the total line length of the notch unit according to the line length of each microstrip line in the notch unit; determining the transmission line characteristic impedance corresponding to the notch unit according to the line width of each microstrip line in the notch unit; according to the impedance calculation rule corresponding to the unit type number of the notch unit, according to the resistance value of the notch unit, the total line length of the notch unit and the transmission line characteristic impedance corresponding to the notch unit, obtaining the input impedance of each initial microstrip gain equalizer.
[0188] In one embodiment, the device is used to: select multiple first equalizer parameter configuration schemes from the initial equalizer parameter configuration schemes based on the first fitness corresponding to each initial equalizer parameter configuration scheme; perform cross-mutation processing on the multiple first equalizer parameter configuration schemes to obtain multiple second equalizer parameter configuration schemes; obtain the current update round, if the current update round is less than the preset update round, use the second equalizer parameter configuration scheme as the initial equalizer parameter configuration scheme for the next update round, until the current update round reaches the preset update round, and use the multiple second equalizer parameter configuration schemes as multiple target equalizer parameter configuration schemes.
[0189] In one embodiment, the device is used to: construct a selection probability corresponding to each initial equalizer parameter configuration scheme based on the first fitness corresponding to each initial equalizer parameter configuration scheme; the selection probability is negatively correlated with the fitness; convert each selection probability to obtain a cumulative probability corresponding to each selection probability; obtain a pre-generated random probability, match the random probability with the cumulative probability, and obtain multiple first equalizer parameter configuration schemes that meet the cumulative probability.
[0190] In one embodiment, the device is used to: cross multiple first equalizer parameter configuration schemes according to a preset crossover probability to obtain a first equalizer parameter configuration scheme after crossing; generate mutation parameters according to a preset mutation probability, and replace the parameters at preset positions in the first equalizer parameter configuration scheme after crossing with the mutation parameters to obtain multiple second equalizer parameter configuration schemes.
[0191] In one embodiment, the device is used for: the preset crossover probability includes a first crossover probability and a second crossover probability, and multiple first equalizer parameter configuration schemes are crossed according to the preset crossover probability to obtain a first equalizer parameter configuration scheme after crossing, including: determining each first sub-equalizer parameter configuration scheme from each first equalizer parameter configuration scheme according to the first crossover probability, crossing each first sub-equalizer parameter configuration scheme to obtain the first sub-equalizer parameter configuration scheme after crossing; determining each second sub-equalizer parameter configuration scheme other than the first sub-equalizer parameter configuration scheme from each first equalizer parameter configuration scheme according to the second crossover probability, crossing the first sub-equalizer parameter configuration scheme after crossing with the second sub-equalizer parameter configuration scheme to obtain the first equalizer parameter configuration scheme after crossing.
[0192] In one embodiment, the device is used to: screen the initial equalizer parameter configuration schemes according to the first fitness corresponding to each initial equalizer parameter configuration scheme to obtain a first-generation equalizer parameter configuration scheme whose first fitness is less than a preset threshold from the initial equalizer parameter configuration schemes; add the first-generation equalizer parameter configuration scheme whose first fitness is less than the preset threshold to the target equalizer parameter configuration scheme to obtain an updated target equalizer parameter configuration scheme.
[0193] In one embodiment, the device is used to: configure a microstrip gain equalizer according to the equalizer configuration parameters of the microstrip gain equalizer; simulate the configured microstrip gain equalizer to obtain simulation results; and the simulation results are used to characterize the amplitude-frequency characteristics of the configured microstrip gain equalizer.
[0194] Each module in the above-mentioned device for determining parameters of a microstrip gain equalizer can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0195] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG10. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a parameter determination method of a microstrip gain equalizer is implemented.
[0196] Those skilled in the art will understand that the structure shown in FIG. 10 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0197] In one embodiment, a computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps in the above method embodiments are implemented.
[0198] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0199] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0200] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0201] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0202] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for determining parameters of a microstrip gain equalizer, characterized in that: The method comprises: Acquire an initial equalizer parameter configuration scheme of the microstrip gain equalizer, and obtain first fitness corresponding to each initial equalizer parameter configuration scheme according to each first equalizer configuration parameter included in the initial equalizer parameter configuration scheme; Based on the first fitness corresponding to each of the initial equalizer parameter configuration schemes, the initial equalizer parameter configuration schemes are updated for a preset update round to obtain target equalizer parameter configuration schemes for a plurality of the microstrip gain equalizers; According to each second equalizer configuration parameter included in each target equalizer parameter configuration scheme, obtaining a second fitness corresponding to each of the target equalizer parameter configuration schemes; The second equalizer configuration parameters included in the target equalizer parameter configuration scheme corresponding to the minimum second fitness are used as the equalizer configuration parameters of the microstrip gain equalizer.
2. The method according to claim 1, characterized in that: The obtaining, according to each first equalizer configuration parameter included in the initial equalizer parameter configuration scheme, a first fitness corresponding to each initial equalizer parameter configuration scheme comprises: The input impedance of each initial microstrip gain equalizer is obtained according to each of the first equalizer configuration parameters; the initial microstrip gain equalizer is a gain equalizer that can be obtained by implementing the initial equalizer parameter configuration scheme; Calculating the scattering parameters of the scattering matrix corresponding to the notch unit in each of the initial microstrip gain equalizers according to the input impedance; The insertion loss and standing wave ratio corresponding to each frequency point associated with the initial microstrip gain equalizer are calculated according to the scattering parameters; The first fitness corresponding to each of the initial equalizer parameter configuration schemes is obtained by calculating the insertion loss and the standing wave ratio corresponding to each of the frequency points.
3. The method according to claim 2, characterized in that The first fitness corresponding to each initial equalizer parameter configuration scheme is obtained by calculating according to the insertion loss and standing wave ratio corresponding to each frequency point, including: Obtaining a target frequency point to be calculated and an expected value of insertion loss corresponding to the target frequency point; Obtaining the fitness corresponding to each of the target frequencies according to the target frequency to be calculated, the expected value of the insertion loss corresponding to the target frequency, and the insertion loss and standing wave ratio corresponding to each of the frequencies associated with the initial microstrip gain equalizer; According to the fitness corresponding to each of the target frequency points, a first fitness corresponding to each of the initial equalizer parameter configuration schemes is obtained.
4. The method according to claim 2, characterized in that: The first equalizer configuration parameters include a unit type number of the notch unit, a resistance value of the notch unit, and a line length and a line width of each microstrip line in the notch unit; The step of obtaining the input impedance of each initial microstrip gain equalizer according to each of the first equalizer configuration parameters comprises: Determining the total length of the notch unit according to the length of each microstrip line in the notch unit; Determining the transmission line characteristic impedance corresponding to the notch unit according to the line width of each microstrip line in the notch unit; According to the impedance calculation rule corresponding to the unit type number of the notch unit, according to the resistance value of the notch unit, the total line length of the notch unit and the transmission line characteristic impedance corresponding to the notch unit, the input impedance of each of the initial microstrip gain equalizers is obtained.
5. The method according to claim 1, characterized in that The updating of the initial equalizer parameter configuration schemes for a preset update round based on the first fitness corresponding to each of the initial equalizer parameter configuration schemes to obtain a plurality of target equalizer parameter configuration schemes for the microstrip gain equalizers includes: Selecting a plurality of first equalizer parameter configuration schemes from the initial equalizer parameter configuration schemes based on the first fitness corresponding to each of the initial equalizer parameter configuration schemes; Performing cross-mutation processing on the plurality of first equalizer parameter configuration schemes to obtain a plurality of second equalizer parameter configuration schemes; Get the current update round. If the current update round is less than the preset update round, use the second equalizer parameter configuration scheme as the initial equalizer parameter configuration scheme for the next update round until the current update round reaches the preset update round, and use multiple second equalizer parameter configuration schemes as multiple target equalizer parameter configuration schemes.
6. The method according to claim 5, characterized in that The selecting a plurality of first equalizer parameter configuration schemes from the initial equalizer parameter configuration schemes based on the first fitness corresponding to each of the initial equalizer parameter configuration schemes comprises: According to the first fitness corresponding to each of the initial equalizer parameter configuration schemes, constructing a selection probability corresponding to each of the initial equalizer parameter configuration schemes; the selection probability is negatively correlated with the fitness; Convert each of the selection probabilities to obtain a cumulative probability corresponding to each of the selection probabilities; A pre-generated random probability is obtained, and the random probability is matched with the cumulative probability to obtain the plurality of first equalizer parameter configuration schemes that conform to the cumulative probability.
7. The method according to claim 5, characterized in that The performing cross-mutation processing on the plurality of first equalizer parameter configuration schemes to obtain a plurality of second equalizer parameter configuration schemes includes: Crossing the plurality of first equalizer parameter configuration schemes according to a preset crossover probability to obtain a first equalizer parameter configuration scheme after crossing; Generate mutation parameters according to a preset mutation probability, and use the mutation parameters to replace the parameters at preset positions in the first equalizer parameter configuration scheme after the crossover, so as to obtain the multiple second equalizer parameter configuration schemes.
8. The method according to claim 7, characterized in that The microstrip gain equalizer includes at least one notch unit, and each of the first equalizer parameter configuration schemes includes at least one sub-equalizer parameter configuration scheme; each of the sub-equalizer parameter configuration schemes is used to characterize the parameter configuration of each of the notch units; The preset crossover probability includes a first crossover probability and a second crossover probability, and the method of crossovering the plurality of first equalizer parameter configuration schemes according to the preset crossover probability to obtain a first equalizer parameter configuration scheme after crossover includes: Determine each first sub-equalizer parameter configuration scheme from each first equalizer parameter configuration scheme according to the first crossover probability, cross the first sub-equalizer parameter configuration schemes to obtain a crossover first sub-equalizer parameter configuration scheme; Determine, from each of the first equalizer parameter configuration schemes according to the second crossover probability, each second sub-equalizer parameter configuration scheme other than the first sub-equalizer parameter configuration scheme; The crossed first sub-equalizer parameter configuration scheme is crossed with the second sub-equalizer parameter configuration scheme to obtain the crossed first equalizer parameter configuration scheme.
9. The method according to claim 1, characterized in that: The updating of the initial equalizer parameter configuration scheme for a preset update round to obtain a plurality of target equalizer parameter configuration schemes for the microstrip gain equalizers includes: According to the first fitness corresponding to each of the initial equalizer parameter configuration schemes, a first-generation equalizer parameter configuration scheme having a first fitness less than a preset threshold is obtained from the initial equalizer parameter configuration schemes; The initial generation equalizer parameter configuration scheme whose first fitness is less than a preset threshold is added to the target equalizer parameter configuration scheme to obtain an updated target equalizer parameter configuration scheme.
10. The method according to claim 1, characterized in that After the step of using each second equalizer configuration parameter included in the target equalizer parameter configuration scheme corresponding to the minimum second fitness as the equalizer configuration parameter of the microstrip gain equalizer, the method further includes: Configuring the microstrip gain equalizer according to the equalizer configuration parameters of the microstrip gain equalizer; The configured microstrip gain equalizer is simulated to obtain a simulation result; the simulation result is used to characterize the amplitude-frequency characteristics of the configured microstrip gain equalizer.
11. A device for determining parameters of a microstrip gain equalizer, characterized in that: The device comprises: A first fitness calculation module is used to obtain an initial equalizer parameter configuration scheme of the microstrip gain equalizer, and obtain a first fitness corresponding to each initial equalizer parameter configuration scheme according to each first equalizer configuration parameter included in the initial equalizer parameter configuration scheme; A target equalizer parameter configuration scheme determination module is used to update the initial equalizer parameter configuration scheme for a preset update round based on the first fitness corresponding to each of the initial equalizer parameter configuration schemes to obtain target equalizer parameter configuration schemes for multiple microstrip gain equalizers; A second fitness calculation module, configured to obtain, according to each second equalizer configuration parameter included in each target equalizer parameter configuration scheme, a second fitness corresponding to each target equalizer parameter configuration scheme; The equalizer configuration parameter determination module is used to use each second equalizer configuration parameter included in the target equalizer parameter configuration scheme corresponding to the minimum second fitness as the equalizer configuration parameter of the microstrip gain equalizer.
12. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 10 are implemented.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.
14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.
Citation Information
Patent Citations
Equalizer parameter setting method, audio system, equipment and readable storage medium
CN118508903A
Calculating differential scattering parameters
US20050240361A1
Cited By
Optimization method and system for microstrip converter and interface, and storage medium
CN120012622A