A method for quickly determining the radius of the reflection circle of a filter
By reading the complex S parameters of the RF filter in the Smith circle diagram and calculating the maximum European distance, the problem of low calculation efficiency of reflection circle radius in the RF filter design is solved, and efficient reflection circle radius determination is achieved, suitable for frequency Scene with a large number of points.
Patent Information
- Application Number
- CN202211299999.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-24
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2042-10-24
AI Technical Summary
In RF filter design, existing algorithms are used to calculate the radius of the reflective circle inefficient, especially when there are many frequency points, it is necessary to calculate the distance between any two frequency points, resulting in the calculation of the order of O(n^2) The number of times seriously affects the efficiency of the design program.
By reading the complex S parameters of each frequency point in the Smith circle diagram, and by iterative processing, the maximum Euclidean distance between the frequency points is calculated as the diameter of the reflective circle, and half of it is taken as the radius of the reflective circle, reducing the calculation complexity to O(n ) order of magnitude.
It realizes the rapid and accurate determination of the reflective circle radius under the large number of frequency points, significantly improving the calculation efficiency and accurate results.
Smart Images

Figure CN115508690B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of radio frequency communication filtering, and in particular to a method for quickly determining a reflection circle radius of a filter. Background Art
[0002] RF filter is a key component in wireless RF communication, used to filter out signals in unnecessary frequency bands and retain only signals in the required frequency band. Surface acoustic wave (SAW) filter is a special chip made by photolithography on a piezoelectric substrate. It works on the piezoelectric principle and can be applied to the high-performance requirements of consumer electronics such as mobile phones. Therefore, its performance needs to be confirmed and guaranteed with high quality. An important indicator of the filter is reflection. Generally, the Smith chart is used to view the reflection. The smaller the radius of the reflection circle, the better. In the process of using the program to automatically optimize the filter design, the program needs to be able to automatically calculate the radius of the reflection circle. The general algorithm needs to calculate the distance between any two frequency points. For a curve with n frequency points, the number of calculations required is O(n^2). For example, if there are 75 frequency points on the S curve, then 75*75, that is, 5625 times, must be calculated. When the number of frequency points is more, the calculation efficiency of the design program will be seriously affected. Summary of the invention
[0003] The purpose of the present invention is to provide a method for quickly determining the radius of a reflection circle of a filter, wherein the determination process is simpler and more efficient, and the method is particularly suitable for working conditions with more frequency points.
[0004] In order to achieve the above object, the technical solution adopted by the present invention is:
[0005] The present invention provides a method for quickly determining the radius of a reflection circle of a filter, which is used to check the reflection state of the filter in a Smith chart. The Smith chart has an S curve with n frequency points, which is input into the Smith chart in a standard form after simulation input or front-end actual measurement, and the complex S parameters of each frequency point are read. Then, the maximum Euclidean distance between the frequency points is determined as the reflection circle diameter through iterative processing of each frequency point, and half of the reflection circle diameter is taken as the final determined reflection circle radius.
[0006] For the above technical solution, the applicant has further optimization measures.
[0007] Optionally, the process of reading the complex S parameters of each frequency point is to read a single component Snn of the S parameter of each frequency point on the S curve and convert the single component Snn into a complex format.
[0008] Furthermore, the process of reading the complex S parameters at each frequency point is to read the input reflection parameter S11 and the output reflection parameter S22 of the S parameters at each frequency point on the S curve.
[0009] Optionally, the process of calculating and determining the maximum Euclidean distance between frequency points as the reflection circle radius by iterative processing of each frequency point is as follows:
[0010] Step 1: Initialize the distance variable d1=0, initialize the starting frequency point to f1, and preset the iteration number threshold to m;
[0011] Step 2: Take the starting frequency point f1 as the starting point to calculate the Euclidean distances to the remaining frequency points in the complex plane and compare them. The maximum value of the Euclidean distance obtained after comparison is recorded as d2, and the corresponding frequency point with the maximum Euclidean distance between it and the starting frequency point f1 is recorded as f2;
[0012] Step 3: Compare d2 with d1 to determine whether d2 is greater than d1 and whether the number of iterations is less than m;
[0013] Step 4: If the result of step 3 is "yes", assign f1=f2 and d1=d2, that is, update the starting frequency and distance variables, and repeat steps 2 and 3. If the result of step 3 is "no", output d2 / 2 as the radius of the reflection circle.
[0014] Furthermore, in step 1, an iteration number i is set during initialization, and the iteration number i is initialized to 0. In step 4, the iteration number i is incremented by 1 each time steps 2 and 3 are repeated.
[0015] Furthermore, the iteration number threshold m is a natural number between 3 and 10.
[0016] Furthermore, the iteration number threshold m is 3 or 4 or 5.
[0017] Optionally, when the reflection circle radius Rm is finally determined, the two end frequency points with the maximum Euclidean distance as the reflection circle diameter are respectively recorded as P1 and P2, the midpoint P3 of P1 and P2 is taken, and the distance L from P3 to the origin is calculated, where 0≤L≤1, and the reflection circle radius Rm is normalized according to the distance L to obtain the normalized reflection circle normalized radius Rn=Rm*(1-L).
[0018] Due to the application of the above technical solution, the present invention has the following advantages compared with the prior art:
[0019] The method for quickly determining the reflection circle radius of a filter of the present invention reads the complex S parameter and then performs iterative processing calculation to quickly obtain the reflection circle radius. The entire method flow only requires O(n) order of magnitude distance calculation and comparison for processing data of n frequency points. As the number of points increases, the efficiency advantage will gradually become more prominent, the processing efficiency is high, and the results are accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Hereinafter, some specific embodiments of the present invention will be described in detail in an exemplary and non-limiting manner with reference to the accompanying drawings. The same reference numerals in the accompanying drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. In the accompanying drawings:
[0021] Figure 1 is a flowchart of a method for quickly determining a reflection circle radius of a filter according to an embodiment of the present invention;
[0022] Figure 2 is a schematic diagram of a method according to one embodiment of the present invention being executed on a Smith chart;
[0023] Figure 3 This is a flowchart of obtaining the normalized radius of a reflection circle according to a method for quickly determining the radius of a reflection circle by a filter according to an embodiment of the present invention;
[0024] Figure 4 is a schematic diagram of a method for obtaining a normalized radius of a reflection circle according to an embodiment of the present invention being executed on a Smith chart;
[0025] Figure 5 It is a normalized reflection circle diagram obtained from the Smith chart according to an embodiment of the present invention. DETAILED DESCRIPTION
[0026] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] In the description of the present invention, it should be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction. Therefore, they cannot be understood as limitations on the present invention.
[0028] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0029] The present embodiment provides a method for quickly determining the radius of a reflection circle of a filter, which is used to view the reflection state of the filter in a Smith chart. The Smith chart has an S curve with n frequency points, which is input into the Smith chart in a standard form after simulation input or front-end actual measurement. The complex S parameters of each frequency point are read, and then the maximum Euclidean distance between the frequency points is determined as the reflection circle diameter through iterative processing of each frequency point. Half of the reflection circle diameter is taken as the final determined reflection circle radius.
[0030] The process of reading the complex S parameters of each frequency point is to read the single component Snn of the S parameter of each frequency point on the S curve and convert the single component Snn into a complex format. The process of reading the complex S parameters of each frequency point is to read the input reflection parameter S11 and the output reflection parameter S22 of the S parameter of each frequency point on the S curve.
[0031] S parameter is a scattering parameter that characterizes the transmission characteristics of RF signals and is an important parameter in microwave transmission. Among them, S12 is the reverse transmission coefficient, that is, isolation. S21 is the forward transmission coefficient, that is, gain. S11 is the input reflection coefficient, that is, input return loss, and S22 is the output reflection coefficient, that is, output return loss.
[0032] like Figure 1 As shown, the Smith chart has an S curve with n frequency points, which is input into the Smith chart in a standard form after simulation input or front-end measurement, and the complex S parameters of each frequency point are read. The process of calculating and determining the maximum Euclidean distance between frequency points as the reflection circle radius through iterative processing of each frequency point is as follows:
[0033] Step 1: Initialize the distance variable d1=0, initialize the starting frequency point to f1, and preset the iteration number threshold to m. The iteration number threshold m can be set to a natural number between 3 and 10. In this embodiment, the iteration number threshold m is set to 5;
[0034] Step 2: Take the starting frequency point f1 as the starting point to calculate the Euclidean distances to the remaining frequency points in the complex plane and compare them. The maximum value of the Euclidean distance obtained after comparison is recorded as d2, and the corresponding frequency point with the maximum Euclidean distance between it and the starting frequency point f1 is recorded as f2. Figure 2 As shown, the S curve of this embodiment is between 1.805 GHz and 1.880 GHz, with a frequency point at intervals of 1 MHz, and a total of 75 frequency points;
[0035] Step 3: Compare d2 with d1 to determine whether d2 is greater than d1 and whether the number of iterations is less than m;
[0036] Step 4: If the result of step 3 is "yes", assign f1=f2 and d1=d2, that is, update the starting frequency and distance variables, and repeat steps 2 and 3. If the result of step 3 is "no", output d2 / 2 as the radius of the reflection circle.
[0037] Finally, this algorithm only needs to execute 75*5, or 375 times, to determine the radius of the reflection circle.
[0038] Furthermore, in step 1, an iteration number i is set during initialization, and the iteration number i is initialized to 0. In step 4, the iteration number i is incremented by 1 each time step 2 and step 3 are repeated once.
[0039] The obtained reflection circle radius can be further normalized, such as Figure 3 and Figure 4 As shown in the figure, when the reflection circle radius Rm is finally determined, the two end frequency points that determine the maximum Euclidean distance as the reflection circle diameter are recorded as P1 and P2 respectively, the midpoint P3 of P1 and P2 is taken, and the distance L from P3 to the origin is calculated, where 0≤L≤1, and the reflection circle radius Rm is normalized according to the distance L to obtain the normalized reflection circle normalized radius Rn=Rm*(1-L). The obtained normalized reflection circle is as follows Figure 5 As shown, it can be used as a unified evaluation standard for filter performance and accurately reflect the filter performance.
[0040] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with this technology to understand the contents of the present invention and implement them accordingly. They cannot be used to limit the protection scope of the present invention. Any equivalent changes or modifications made according to the spirit of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for quickly determining the radius of a reflection circle of a filter, used to view the reflection state of the filter in a Smith chart, characterized in that: The Smith chart has an S curve with n frequency points. The curve is input into the Smith chart in a standard form after simulation input or front-end actual measurement. The complex S parameters of each frequency point are read. Then, the maximum Euclidean distance between the frequency points is determined as the reflection circle diameter by iterative processing of each frequency point. Half of the reflection circle diameter is taken as the final reflection circle radius. The process of calculating and determining the maximum Euclidean distance between frequency points as the reflection circle radius through iterative processing of each frequency point is as follows: Step 1: Initialize the distance variable d1=0, initialize the starting frequency point to f1, and preset the iteration number threshold to m; Step 2: Take the starting frequency point f1 as the starting point to calculate the Euclidean distances to the remaining frequency points in the complex plane and compare them. The maximum value of the Euclidean distance obtained after comparison is recorded as d2, and the corresponding frequency point with the maximum Euclidean distance between it and the starting frequency point f1 is recorded as f2; Step 3: Compare d2 with d1 to determine whether d2 is greater than d1 and whether the number of iterations is less than m; Step 4: If the result of step 3 is "yes", assign f1=f2 and d1=d2, that is, update the starting frequency and distance variables, and repeat steps 2 and 3. If the result of step 3 is "no", output d2 / 2 as the radius of the reflection circle.
2. The method for quickly determining the reflection circle radius of a filter according to claim 1, characterized in that: The process of reading the complex S parameters of each frequency point is to read the single component Snn of the S parameter of each frequency point on the S curve and convert the single component Snn into a complex format. The single component Snn is the input reflection parameter S11 and the output reflection parameter S22.
3. The method for quickly determining the reflection circle radius of a filter according to claim 1, characterized in that: In step 1, the number of iterations i is also set during initialization, and the number of iterations i is initialized to 0. In step 4, the number of iterations i is incremented by 1 each time step 2 and step 3 are repeated once.
4. The method for quickly determining the reflection circle radius of a filter according to claim 1, characterized in that: The iteration number threshold m is a natural number between 3 and 10.
5. The method for quickly determining the reflection circle radius of a filter according to claim 1, characterized in that: The iteration number threshold m is 3, 4 or 5.
6. The method for quickly determining the reflection circle radius of a filter according to any one of claims 1 to 5, characterized in that: When the reflection circle radius Rm is finally determined, the two end frequency points with the maximum Euclidean distance as the reflection circle diameter are recorded as P1 and P2 respectively, the midpoint P3 of P1 and P2 is taken, and the distance L from P3 to the origin is calculated, where 0≤L≤1. The reflection circle radius Rm is normalized according to the distance L to obtain the normalized reflection circle normalized radius Rn=Rm*(1-L).
Citation Information
Patent Citations
Measurement method for microwave cavity filter no load Q valueby single terminal port
CN101387667A
Method of optimizing input impedance of surface acoustic wave filter
IN201634025862A
