Antenna tuner S parameter compression method and device
By dividing the S-parameters of the antenna tuner into multiple subsets and selecting one of them to form a compressed S-parameter set, the problem of large storage resource usage and low computational efficiency caused by too many S-parameter combinations in the existing technology is solved. Effective resource saving and impedance matching maintenance are achieved.
Patent Information
- Application Number
- CN202210521478.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-13
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-05-13
AI Technical Summary
There are thousands of S-parameter value combinations in existing antenna tuners, which results in large storage resource usage and slow convergence of the calculation module's algorithm for finding the optimal S-parameter, affecting the impedance matching.
By dividing the values of the N parameters of the S parameters into multiple subsets, and selecting one S parameter from each subset to form a compressed S parameter set, the storage resource usage is reduced and the improvement effect of impedance matching is maintained.
The number of S parameters is effectively compressed, with little performance loss, saving storage space and improving calculation efficiency.
Smart Images

Figure CN114978205B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method and device for compressing S parameters of an antenna tuner. Background Art
[0002] When wireless communication equipment is disturbed, the impedance characteristics of the antenna will change. As a result, the impedance matching between the antenna and the power amplifier will decrease, causing a large number of signals to fail to be sent to the antenna normally. To solve this problem, an antenna tuner is usually added to the front end of the antenna to compensate for the antenna impedance by setting the S parameters of the antenna tuner, thereby improving the impedance matching with the power amplifier.
[0003] However, there are often thousands of combinations of S parameter values in an antenna tuner, and storing all S parameter value combinations and corresponding control words requires a large amount of storage resources. Summary of the invention
[0004] The embodiment of the present application provides a method and device for compressing S parameters of an antenna tuner. Various aspects involved in the embodiment of the present application are introduced below.
[0005] In a first aspect, a method for compressing S parameters of an antenna tuner is provided, wherein the S parameters of the antenna tuner include N parameters associated with a cost function, and the cost function is used to measure the degree of improvement of the S parameters of the antenna tuner on impedance matching. The compression method includes: forming a first set of S parameters from the S parameters of the antenna tuner; dividing the first set into multiple subsets based on the values of the N parameters of the S parameters; selecting an S parameter from each subset of the multiple subsets to form a second set of S parameters, and the S parameters in the second set are S parameters obtained by compressing the S parameters in the first set.
[0006] In a second aspect, a compression device for an S parameter of an antenna tuner is provided, wherein the S parameter of the antenna tuner includes N parameters associated with a cost function, and the cost function is used to measure the degree of improvement of the S parameter of the antenna tuner on impedance matching. The compression device includes: a construction module, used to construct the S parameter of the antenna tuner into a first set of S parameters; a division module, used to divide the first set into multiple subsets based on the values of the N parameters of the S parameter; and a selection module, used to select an S parameter from each subset of the multiple subsets to form a second set of S parameters, and the S parameters in the second set are S parameters obtained after compressing the S parameters in the first set.
[0007] According to a third aspect, a device is provided, including a memory and a processor, wherein an executable code is stored in the memory, and the processor is configured to execute the executable code, so as to implement the method described in the first aspect.
[0008] According to a fourth aspect, a computer-readable storage medium is provided, on which a program is stored. When the program is executed by a processor, the method described in the first aspect can be implemented.
[0009] According to a fifth aspect, a computer program product is provided, comprising an executable code, which, when executed, can implement the method described in the first aspect.
[0010] In the embodiment of the present application, the set of S parameters is divided into multiple subsets based on the values of N parameters associated with the cost function in the S parameters. Since the values of the N parameters in each subset are relatively close, the degree of improvement of the antenna matching degree by the S parameters in each subset is similar. The present application selects one S parameter from each subset to form a compressed S parameter set, which can not only effectively compress the number of S parameters, but also has little performance loss. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 A schematic diagram of a radio frequency signal transmission path.
[0012] Figure 2 A schematic flow chart of a method for compressing S parameters of an antenna tuner provided in an embodiment of the present application.
[0013] Figure 3 For an example, the S parameter is calculated according to |S 21 |Comparison of the value distribution before and after compression.
[0014] Figure 4 For an example, the S parameter is calculated according to ∠S 22 Comparison chart of the number of value distributions before and after compression.
[0015] Figure 5 This is a comparison of the curves of RTG before and after compression under various reflection coefficients in an example.
[0016] Figure 6 A schematic diagram of the structure of an S-parameter compression device for an antenna tuner provided in an embodiment of the present application.
[0017] Figure 7 A schematic diagram of the structure of another device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0019] Wireless communication devices communicate via radio frequency signals, which are usually amplified by a power amplifier (PA) before being transmitted by an antenna. Figure 1 A schematic diagram of a possible radio frequency signal transmission path.
[0020] See also Figure 1 , the RF input signal 101 is amplified by the power amplifier 102 and sent out through the antenna 106. Ideally, the power amplifier 102 and the antenna 106 are ideally matched close to 50 ohms, and the RF input signal 101 can be smoothly transmitted from the power amplifier 102 to the antenna 106 and transmitted. However, when the wireless communication device is disturbed, the impedance characteristics of the antenna 106 will change. For example, the wireless communication device may be a mobile phone, and when a person's hand is held at certain positions on the antenna, the impedance characteristics of the antenna will change. At this time, the reflection coefficient of the antenna 106 is very large, and the impedance of the antenna 106 and the power amplifier 102 is no longer perfectly matched. Therefore, a large number of signals cannot be transmitted to the antenna normally, thereby reducing the communication quality.
[0021] In order to improve the communication quality, an antenna tuner 104 is usually added to the front end of the antenna 106 to compensate for the impedance of the antenna 106 , thereby improving the impedance matching with the power amplifier 102 .
[0022] For ease of understanding, before introducing the working process of the antenna tuner to improve impedance matching, the relevant concepts of the antenna tuner are briefly introduced.
[0023] The antenna tuner is an impedance matching network connected between the power amplifier and the antenna. The antenna tuner consists of a series of adjustable inductors, capacitors, switches and other devices. Through the combination of internal devices, the antenna tuner can achieve different impedances. According to the impedance matching of the power amplifier and the antenna, the antenna tuner adjusts the internal devices to work in the corresponding impedance state, so that the impedance of the antenna tuner and the antenna matches the impedance of the power amplifier, so that the antenna can achieve the maximum radiation power under various working conditions.
[0024] Each device combination inside the antenna tuner corresponds to a set of S parameters. S parameters, also known as scattering parameters, are network parameters based on the relationship between incident waves and reflected waves, and are suitable for microwave circuit analysis. Taking a two-port network as an example, the meaning of each S parameter is explained. As shown in the following formula, a two-port network has four S parameters. 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, the input return loss. S22 is the output reflection coefficient, that is, the output return loss.
[0025]
[0026] Here N represents the number of combinations of tunable components within the antenna tuner.
[0027] When the input reflection coefficient and the output reflection coefficient are both zero, that is:
[0028]
[0029] At this time, the antenna tuner corresponds to a straight-through state, that is, it has no effect on the matching state of the antenna. When the S parameter changes, the matching state of the antenna will change. Generally, wireless communication devices optimize the radiation efficiency of the antenna by selecting appropriate S parameters.
[0030] Combine the following Figure 1 , the working process of the antenna tuner in wireless communication equipment is introduced.
[0031] The matching characteristics of the current antenna can be calculated by the signal collected by the coupler 103. For example, the matching characteristic can be the standing wave ratio. When the standing wave ratio is equal to 1, it means that the high-frequency energy is completely radiated by the antenna at this time, and there is no energy reflection loss; when the standing wave ratio is infinite, it means total reflection, and the energy is not radiated at all. For another example, the matching characteristic can be the reflection coefficient. The reflection coefficient is the ratio of the reflected voltage to the incident voltage. The smaller the ratio, the more energy the antenna radiates. The coupler 103 sends the calculation result to the calculation module 105.
[0032] The calculation module 105 can calculate the optimal S parameters of the antenna tuner according to the input matching characteristics and generate corresponding control words. Generally speaking, the system will store all combinations of the S parameters of the antenna tuner and their corresponding control words in advance. For example, all combinations of scattering parameters of the impedance matching network and their corresponding control words can be stored in the memory of the impedance matching network, or the above information can be stored in the memory of the wireless communication device. The calculation module 105 calculates the input matching characteristics with each group of S parameters in turn, finds the optimal S parameters, and sends the control words corresponding to the group of parameters to the antenna tuner.
[0033] The antenna tuner 104 controls the internal components corresponding to the input control word to work in combination, so as to achieve optimal impedance matching among the power amplifier 102 , the antenna tuner 104 and the antenna 106 .
[0034] However, there are thousands of combinations of components in the impedance matching network, and storing the corresponding S parameter combinations and control words will inevitably take up a lot of storage resources. In addition, the number of S parameter combinations is too large, and the algorithm for finding the optimal S parameter in the calculation module converges slowly.
[0035] In order to solve the above problems, the embodiment of the present application proposes a method and device for compressing the S parameters of an antenna tuner. Based on the values of N parameters associated with the cost function in the S parameters, the set of S parameters is divided into multiple subsets. Since the values of the N parameters in each subset are relatively close, the degree of improvement of the antenna matching degree by the S parameters in each subset is similar. The present application selects an S parameter from each subset to form a compressed S parameter set, which can not only effectively compress the number of S parameters, but also has a small performance loss.
[0036] Figure 2 It is a schematic flow chart of a method 200 for compressing S parameters of an antenna tuner provided in an embodiment of the present application.
[0037] The method 200 for compressing the S-parameters of an antenna tuner includes steps S210 , S220 , and S230 .
[0038] At S210 , S parameters of the antenna tuner are formed into a first set of S parameters.
[0039] The antenna tuner is used to compensate the impedance of the antenna to achieve impedance matching. Each antenna tuner contains a combination of multiple capacitors, inductors and switches, and each device combination corresponds to a set of S parameters. The first set of S parameters can be a combination of all S parameters of an antenna tuner. The first set can be in multiple forms, such as a data table, a mathematical set or a data file.
[0040] At S220, based on the values of N parameters of the S parameter, the first set is divided into a plurality of subsets.
[0041] The N parameters are parameters associated with the cost function in the S parameters of the antenna tuner, that is, the N parameters are N independent variables related to the S parameters in the cost function. The cost function is used to evaluate the degree of improvement of the S parameters of the antenna tuner on the impedance matching. Further, the parameters related to the cost function in the S parameters are variables in the S parameters that are more useful for improving the impedance matching.
[0042] Based on the values of the N parameters of the S parameters, the first set is divided into multiple subsets. Each subset contains S parameters with similar values of the N parameters. The values of the N parameters in each subset are similar, that is, the degree of improvement of the impedance by the S parameters in each subset is similar.
[0043] The N parameters may include one parameter or multiple parameters, and the specific number is determined by the type of the selected cost function. For example, the cost function may be a relative conversion gain function, and the corresponding number of parameters is two.
[0044] If the N parameters include a parameter, the first set is divided into multiple subsets according to the value of the parameter, and the value of the parameter of each group of S parameters in each subset is similar. There are many ways of division. For example, the value range of the parameter in each subset can be set, and the first set is divided according to the value range. For another example, the S parameters with similar values of the parameter can be aggregated together in a sorting manner, and then evenly divided into multiple subsets.
[0045] If the N parameters include two parameters, namely the first parameter and the second parameter, the first set is divided into a plurality of subsets based on the values of the N parameters of the S parameter, and the first set can be first divided into K blocks based on the value of the first parameter, and then each of the K blocks is divided twice based on the value of the second parameter to obtain the plurality of subsets.
[0046] It should be noted that there is no specific order between the first parameter and the second parameter. The method of dividing into multiple subsets can first divide the first set into K blocks based on the value of the first parameter, and then divide each of the K blocks twice based on the value of the second parameter to obtain the multiple subsets; or the first set can be divided into K blocks based on the value of the second parameter, and then each of the K blocks can be divided twice based on the value of the first parameter to obtain the multiple subsets.
[0047] As an implementation manner, all S parameters in the first set may be sorted according to the value of the first parameter to obtain a third set, and then the third set may be divided into a plurality of subsets according to the positions of the elements in the third set.
[0048] In addition, there are many ways to divide into multiple subsets. For example, the third set can be evenly divided into multiple subsets, each of which contains X S parameters. For another example, the third set can be divided into multiple subsets of different lengths according to the variation range of the first parameter, and the number of S parameters in each subset is X. i As an example, in the part where the first parameter changes greatly, the number of S parameters in the subset can be reduced to avoid the loss of some useful data after the S parameters are compressed; in the part where the first parameter changes very little, the number of S parameters in the subset can be increased to avoid the existence of some redundant data with similar effects after the S parameters are compressed.
[0049] As an implementation method, the value of the second parameter can be divided into M grids. Take the phase of the output reflection coefficient as an example for explanation. The value range of the output reflection coefficient phase is 0 to 2π, so 0 to 2π can be evenly divided into M grids, or uneven division can be performed according to the distribution of the second parameter values included in the S parameters in the first set.
[0050] According to the correspondence between the value of the second parameter included in the S parameter and the above grid, each of the K blocks is divided twice to obtain multiple subsets. Among them, the grid corresponding to the second parameter of the S parameter in each subset is the same. That is to say, taking the grid as an average division as an example, the interval length of the range of the second parameter of the S parameter in each subset is 2π / M.
[0051] It should be noted that this solution does not impose any specific restrictions on the division method, as long as the value requirements of the N parameters of the S parameters in the above multiple subsets can be achieved.
[0052] In S230 , an S parameter is selected from each of the multiple subsets to form a second set of S parameters, where the S parameters in the second set are S parameters obtained by compressing the S parameters in the first set.
[0053] Through steps S210 and S220, the values of the N parameters contained in the S parameters in each of the multiple subsets are similar. It can be seen from the cost function that the S parameters in each of the multiple subsets have similar improvement effects on the antenna matching degree. Therefore, an S parameter is selected from each of the multiple subsets to form a second set of S parameters, which can not only achieve compression of the S parameters, but also ensure the performance of the antenna tuner. The elements in the second set are the S parameters obtained by compressing the S parameters in the first set.
[0054] There are many ways to select an S parameter from each of the multiple subsets. For example, an S parameter can be selected from each of the multiple subsets based on the value of any one of the N parameters to form a second set of S parameters. As an example, an S parameter containing the maximum, minimum, or intermediate value of the first parameter in each of the multiple subsets can be selected as an element of the second set. As another example, an S parameter containing the maximum, minimum, or intermediate value of the second parameter in each of the multiple subsets can be selected as an element of the second set.
[0055] The compression process of the embodiment of the present application is described in detail below by taking the cost function as the relative conversion gain RTG, the first parameter as the modulus of the forward transmission coefficient, and the second parameter as the phase of the output reflection coefficient as an example.
[0056] The larger the value of the relative conversion gain function, the greater the corresponding S parameter's help in compensating and alleviating antenna mismatch. The calculation method of RTG is as follows:
[0057]
[0058] In the above formula, Γ L is the antenna port reflection coefficient. As an example, Γ LIt can be calculated from the path information collected by the coupler.
[0059] Through analysis, we found that:
[0060] S 22 =|S 22 |·exp(j·∠S 22 )
[0061]
[0062] Therefore, when the antenna port reflection coefficient Γ is obtained L When the RTG is affected, only the modulus of S21 and the phase of S22 affect it. That is to say, the parameters associated with the cost function in the S parameter include two, namely the modulus of S21 and the phase of S22. In other words, based on the relative conversion gain function, the variables in the S parameter that are more useful for improving the antenna matching are the modulus of S21 and the phase of S22.
[0063] For the above cost function, the compression method of the S parameters of the antenna tuner is as follows:
[0064] Step 1: Collect all S parameters of the antenna tuner to form the first set S = {S1,…,S N Wherein, N represents the number of combinations of components inside the antenna tuner, each combination of which corresponds to a set of S parameters, so the number of S parameters is also N.
[0065] Step 2: Based on the first parameter |S 21 | sorts the elements of the first set. For example, according to the first parameter |S 21 The values of | are sorted from large to small to form the third set T = {S p ,…,S q}.
[0066] Step 3: Divide the third set T into K sub-blocks, T = {{S p ,…,S i}1…,{S j ,…,S q} K}. Where T1={(S p )1,…,(S i ) a}, p~i is the initial number of S parameters, 1~a is the element number in T1 sub-block; T K ={(S j )1,…,(S q ) b}, j~q are the initial numbers of S parameters, 1~b are T K The element number in the sub-block. The length of each of the K sub-blocks is Li .
[0067] Through this step, the S parameter in each sub-block is made |S 21 |The values are similar. In addition, the length of each block L i Can be the same, or can be based on |S 21 | changes. For example, when |S 21 When the change range of | is large, choose a smaller L i , when |S 21 When the change of | is small, choose a larger L i In this way, the number of |S in each block can be minimized. 21 |, so that after S parameter compression, the system loses less accuracy.
[0068] Step 4: The second parameter S22 phase ranges from 0 to 2π, and the phase is evenly divided into M grids. The S22 phase set in, Respectively represent the angle range of each grid in the M grids.
[0069] Step 5: Replace the ∠S of the S parameters in the sub-blocks in the third set T one by one 22 Compare with the grid in ψ to determine the ∠S of each S parameter in the sub-block 22 The occupied grid numbers form a grid number set (where repeated grid numbers are recorded only once). Each sub-block corresponds to a grid number set. For example, T K The grid number set V corresponding to the sub-block k ={i,j,…} k , where i, j are numbers from 0 to M-1, and i≠j. The S parameters contained in the grid i constitute one subset of the multiple subsets, and the S parameters contained in the grid j constitute another subset of the multiple subsets.
[0070] Step 6: According to the numbers of the S parameters contained in each grid (ie, each subset), select an S parameter number from each grid one by one to form a number set of the S parameters after compression of the sub-block.
[0071] For example, for T K The grid number set V corresponding to the sub-block k ={i,j,…} k After executing step 6, we get v k ={i k ,j k ,…}. Among them, v k T K The set of element numbers that make up the compressed S parameter set within the sub-block.
[0072] Select an S parameter number from each grid to form a compressed S parameter set, that is, select an S parameter from each subset of multiple subsets to form a compressed S parameter set. There are many ways to select. For example, you can select according to |S 21 | can also be selected according to ∠S 22 For example, you can select the maximum, minimum, or middle value of any of the two parameters. As an example, you can select the first number among the multiple element numbers corresponding to each grid. Since the set T is based on |S 21 The values of | are sorted from large to small, so the S parameter corresponding to the first number is |S in the subset. 21 |The S parameter with the largest value. As another example, the last number among the multiple element numbers corresponding to each grid can be selected. Similarly, the S parameter corresponding to this number is the S parameter in the subset |S 21 |The S parameter with the smallest value.
[0073] Step 7: According to the number of the selected S parameter, extract the corresponding S parameter from the set T to form a compressed S parameter set S compress =T F .
[0074] However, the subset v k i k ,j k The number of the S parameters included is T K The element numbers in the sub-blocks (corresponding to the element numbers 1~a, 1~b, etc. in step 3). Since the element numbers of each sub-block start from 1, the numbers of different sub-blocks overlap. For example, v1 and v k The number 1 is included in all of them. Therefore, it is necessary to convert the numbers in multiple sub-blocks into the corresponding numbers in the set T. By adding the length of all sub-blocks before the sub-block to the number of each sub-block, the number of the elements in the sub-block in the set T can be obtained. In other words, the compressed S parameter number set F = {F1,…,F K},in L0 = 0. Set v i and set F i The numbers in the table correspond to the same S parameters, and the set v i The numbers in are the element numbers in the sub-block, and the set F i The numbers in are the element numbers in the third set T. Therefore, according to the numbers in set F, the corresponding S parameters can be directly extracted from set T to form the compressed S parameter set T F .
[0075] Through the above steps, the S-parameters with similar values of |S 21 | and ∠S 22 can be aggregated into multiple subsets, that is, the S-parameters with similar improvement effects on impedance matching in the antenna tuner are aggregated into multiple subsets. Therefore, selecting one S-parameter from multiple subsets to form a compressed S-parameter set can not only greatly compress the number of S-parameters, effectively save memory space, but also relatively completely retain the impedance matching performance of the antenna tuner.
[0076] In addition, according to the above steps, the total number of S-parameters If the values of K and M are very large during the compression process of S-parameters, the performance loss of the compressed S-parameters is very small, but the storage space cannot be effectively saved; on the contrary, if the values of K and M are very small, although a large amount of storage space is saved, the performance loss of the compressed S-parameters is too large, and the performance of the antenna tuner is greatly reduced, and even a good impedance matching function cannot be achieved. Therefore, the numerical selection of K, L i and M is a balance between performance and compression ratio. Through a large number of simulation analyses, when the general value rules of K, L i and M satisfy 16 ≤ K < N and 12 ≤ M < 36, a better balance between performance and compression ratio can be achieved.
[0077] Figure 3 to Figure 4 Taking the total number of S-parameters as 500 as an example, a comparison chart of S-parameters before and after compression is given when K = 16 and M = 21.
[0078] Figure 3 In [the figure], the abscissa represents the number of S-parameters, and the ordinate represents the value of |S 21 | (the modulus of the forward transmission coefficient). The elements in the T set in the figure represent the distribution of the S-parameters before compression according to the value of |S 21 |, and the elements of the T F set are the distribution of the compressed S-parameters according to the value of |S 21 |.
[0079] Figure 4 In [the figure], the abscissa represents the number of S-parameters, and the ordinate represents the value of ∠S 22 (the phase of the output reflection coefficient). The elements in the T set in the figure represent the distribution of the S-parameters before compression according to the value of ∠S 22 , and the elements of the T F set are the distribution of the compressed S-parameters according to the value of ∠S 22 .
[0080] It can be seen from the figure that the number of the compressed S-parameters is significantly reduced.
[0081] Figure 5The reflection coefficient Γ is given by L The comparison curves of RTG before and after compression when the modulus and phase of are different. L When the phase is 3rad, from top to bottom, it is Γ L The RTG comparison curve with a modulus of 0.8 to 0.3. As can be seen from the figure, although the compression ratio is very high, the RTG curves before and after compression have a high degree of overlap, so the loss of RTG is very small.
[0082] Combination Figures 3 to 5 According to the solution provided in this application, the number of S parameters after compression is only about 15% of the number before compression, but the accuracy loss of RTG is less than 0.1dB.
[0083] Combination of the above Figures 2 to 5 The method embodiment of the present application is described in detail. Figure 6 , describes the device embodiment of the present application in detail. It should be understood that the description of the device embodiment corresponds to the description of the method embodiment, so the parts not described in detail can refer to the previous method embodiment.
[0084] Figure 6 A schematic diagram of the structure of a device for compressing the S parameters of an antenna tuner provided in an embodiment of the present application. The S parameters of the antenna tuner include N parameters associated with a cost function, and the cost function is used to measure the degree of improvement of the S parameters of the antenna tuner on impedance matching. The device 600 for compressing the S parameters of the antenna tuner may include a composition module 610, a division module 620, and a selection module 630, wherein:
[0085] A forming module 610, configured to form a first set of S parameters from the S parameters of the antenna tuner;
[0086] A division module 620, configured to divide the first set into a plurality of subsets based on the values of N parameters of the S parameter;
[0087] The selection module 630 is used to select an S parameter from each subset of the multiple subsets to form a second set of S parameters, where the S parameters in the second set are S parameters obtained by compressing the S parameters in the first set.
[0088] Optionally, the N parameters include a first parameter and a second parameter, and based on the values of the N parameters of the S parameter, the first set is divided into multiple subsets, including: based on the value of the first parameter, the first set is divided into K blocks; based on the value of the second parameter, each of the K blocks is divided twice to obtain multiple subsets.
[0089] Optionally, the cost function is a relative conversion gain function, the first parameter is the modulus of the forward transmission coefficient, and based on the value of the first parameter, the first set is divided into K blocks, including: sorting the S parameters in the first set according to the value of the first parameter to obtain a third set; dividing the S parameters in the third set into blocks to form K blocks.
[0090] Optionally, dividing the S parameters in the third set into blocks to form K blocks includes: dividing the S parameters in the third set into blocks to form K blocks based on the variation range of the value of the first parameter.
[0091] Optionally, the cost function is a relative conversion gain function, the second parameter is the phase of the output reflection coefficient, and based on the value of the second parameter, each of the K blocks is divided twice to obtain multiple subsets, including: dividing the value of the second parameter into M grids; based on the correspondence between the second parameter and the grid, each of the K blocks is divided twice to obtain multiple subsets; wherein the grid corresponding to the second parameter of the S parameter in each of the multiple subsets is the same.
[0092] Optionally, selecting an S parameter from each of the multiple subsets to form a second set of S parameters includes: based on the value of any one of the N parameters, selecting an S parameter from each of the multiple subsets to form a second set of S parameters.
[0093] Figure 7 A schematic diagram of the structure of another device provided in an embodiment of the present application. Figure 7 The device 700 shown may include a memory 710 and a processor 720. The memory 710 may be used to store executable codes. The processor 720 may be used to execute the executable codes stored in the memory 710 to implement the steps in the various methods described above.
[0094] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrations. The available media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, digital video discs (DVD)), or semiconductor media (eg, solid state disks (SSD)).
[0095] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments of the present application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0096] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0097] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0098] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0099] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for compressing S parameters of an antenna tuner, characterized in that: The S parameters of the antenna tuner include N parameters associated with a cost function, and the cost function is used to measure the degree of improvement of the S parameters of the antenna tuner on impedance matching. The method comprises: Constructing the S parameters of the antenna tuner into a first set of S parameters; Based on the values of the N parameters of the S parameter, the first set is divided into multiple subsets, the value difference between any two groups of the N parameters in the first subset is less than a predetermined threshold, and the first subset is any subset of the multiple subsets; An S parameter is selected from each of the multiple subsets to form a second set of S parameters, where the S parameters in the second set are S parameters obtained by compressing the S parameters in the first set.
2. The method according to claim 1, characterized in that The N parameters include a first parameter and a second parameter, and the values of the N parameters based on the S parameters divide the first set into a plurality of subsets, including: Based on the value of the first parameter, divide the first set into K blocks; Based on the value of the second parameter, each of the K blocks is divided twice to obtain the multiple subsets.
3. The method according to claim 2, characterized in that The cost function is a relative conversion gain function, the first parameter is a modulus of a forward transmission coefficient, and the first set is divided into K blocks based on the value of the first parameter, including: Sort the S parameters in the first set according to the values of the first parameter to obtain a third set; The S parameters in the third set are divided into blocks to form the K blocks.
4. The method according to claim 3, characterized in that Dividing the S parameters in the third set into blocks to form the K blocks includes: Based on the variation range of the value of the first parameter, the S parameters in the third set are divided into blocks to form the K blocks.
5. The method according to claim 2, characterized in that: The cost function is a relative conversion gain function, the second parameter is a phase of an output reflection coefficient, and based on the value of the second parameter, each of the K blocks is divided twice to obtain the multiple subsets, including: Dividing the values of the second parameter into M grids; Based on the corresponding relationship between the second parameter and the grid, each of the K blocks is divided twice to obtain the multiple subsets; The grids corresponding to the second parameters of the S parameters in each subset of the multiple subsets are the same.
6. The method according to claim 1, characterized in that Selecting an S parameter from each of the plurality of subsets to form a second set of S parameters comprises: Based on the value of any one of the N parameters, one S parameter is selected from each of the multiple subsets to form a second set of S parameters.
7. A device for compressing S parameters of an antenna tuner, characterized in that: The S parameters of the antenna tuner include N parameters associated with a cost function, and the cost function is used to measure the degree of improvement of the S parameters of the antenna tuner on impedance matching. The device comprises: A forming module, configured to form a first set of S parameters from the S parameters of the antenna tuner; A division module, configured to divide the first set into a plurality of subsets based on the values of the N parameters of the S parameter, wherein the value difference between any two groups of the N parameters in the first subset is less than a predetermined threshold, and the first subset is any subset of the plurality of subsets; The selection module is used to select an S parameter from each subset of the multiple subsets to form a second set of S parameters, where the S parameters in the second set are S parameters obtained by compressing the S parameters in the first set.
8. The device according to claim 7, characterized in that The N parameters include a first parameter and a second parameter, and the division module is specifically used for: Based on the value of the first parameter, divide the first set into K blocks; Based on the value of the second parameter, each of the K blocks is divided twice to obtain the multiple subsets.
9. A communication device, characterized in that: The device includes a memory and a processor, wherein the memory stores executable codes, and the processor is configured to execute the executable codes to implement the method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: A program is stored thereon, and the program enables a computer to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Antenna tuning device and tuning method thereof
CN108461918A
Tuning full integration circuit and tuning method, terminal and storage medium
CN109194342A
