Source port power data calibration method and system based on multiple intervals
Through the source port power data calibration method of multi-interval segments, the calibration data inaccuracy caused by nonlinear power of the signal source port is solved. The interval segment division and fitting technology are used to improve the accuracy of the calibration data.
Patent Information
- Application Number
- CN202411164009.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-11-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When a vector network analyzer performs power measurement, the power of the signal source port is affected by other factors and often presents a nonlinear curve. Directly substituting the linear fit curve to calculate results in inaccurate calibration data.
The source port power data calibration method based on multi-interval segments is adopted, and the receiver power value is updated to improve the accuracy of calibration data through interval segment division and interval curve fitting. The specific steps include: obtaining test data of preset frequency and voltage values, updating the table, fitting the interval curve in the smallest interval according to the frequency and power values set by the user, and solving the calibration voltage value.
The accuracy of calibration data is improved through interval curve fitting, ensuring accurate calibration of source port power, and is suitable for calibration of nonlinear source port power.
Smart Images

Figure CN118962557A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of source port power data calibration, and in particular to a source port power data calibration method and system based on multiple interval segments. Background Art
[0002] When the vector network analyzer is measuring power, it is necessary to calibrate the power of the signal source port, and the power of the signal source port is represented by the voltage of a voltage-controlled attenuator in hardware. At present, when using it, the signal source port power set by the user is generally substituted into a linear fitting curve to calculate the corresponding voltage value, and then the voltage value is applied to the voltage-controlled attenuator, and the hardware can output the corresponding power value, thereby completing the calibration of the signal source port power.
[0003] However, in actual use, the power at the signal source port is often affected by other factors, causing it to present a nonlinear curve. Directly substituting the power at the signal source port into a linear fitting curve for calculation will result in inaccurate calibration data. Summary of the invention
[0004] The purpose of the present invention is to provide a source port power data calibration method and system based on multiple interval segments. The source port power data calibration method mainly divides the source port power value into interval segments, performs interval curve fitting in different interval segments, and improves the accuracy of the calibration data through interval curve fitting.
[0005] In order to solve the above technical problems, the present invention adopts the following solutions:
[0006] A method for calibrating source port power data based on multiple intervals, the method specifically comprising the following steps:
[0007] S1: Obtain a first table obtained by performing a calibration test according to a plurality of preset frequency values, wherein the first table is used to record a fixed error between a first source port power value and a first receiver power value obtained by performing a calibration test at the preset frequency value;
[0008] S2: obtaining a second table obtained by performing actual tests according to a plurality of preset frequency values and preset voltage values, wherein the second table is used to record a second receiver power value obtained by performing actual tests according to a preset frequency value and a preset voltage value;
[0009] S3: updating the second receiver power value in the second table according to the fixed error in the first table, and using the updated second table as a third table, the third table being used to record the corresponding second source port power value obtained at a preset frequency value and a preset voltage value;
[0010] S4: Obtain the current preset frequency value and the current preset source port power value set by the current user, substitute the current preset frequency value and the current preset source port power value into the corresponding minimum interval segment in the third table, and obtain the corresponding current calibration voltage value through interval curve fitting.
[0011] Further, in S3, the specific process of updating the second receiver power value in the second table according to the fixed error in the first table is:
[0012] Each fixed error in the first table corresponds to a preset frequency value, and each second receiver power value in the second table corresponds to a preset frequency value and a preset voltage value;
[0013] A corresponding fixed error is added to each second receiver power value according to the same preset frequency value to obtain a corresponding second source port power value, that is, the second receiver power value in the second table is updated.
[0014] Furthermore, the third table takes the second source port power values of the same preset frequency value as one column, and sorts the second source port power values in each column in order of the size of the preset voltage value.
[0015] Furthermore, the S4 specifically includes the following steps:
[0016] S41: Obtaining a current preset frequency value and a current preset source port power value set by a current user;
[0017] S42: searching for a frequency value in the third table according to the current preset frequency value, and finding a second source port power value corresponding to the current preset frequency value and a preset voltage value corresponding to each second source port power value;
[0018] S43: determining whether the second source port power value corresponding to the current preset frequency value meets the power validity condition according to the current preset source port power value, and if so, proceeding to step S44;
[0019] S44: searching for an interval in the third table according to the current preset source port power value, and finding a current minimum interval containing the current preset source port power value, wherein the minimum interval is composed of two similar second source port power values, and the value between the two similar second source port power values is the smallest;
[0020] S45: performing interval curve fitting according to the two second source port power values in the current minimum interval and their corresponding preset voltage values to obtain a fitting curve, and substituting the current preset source port power value into the fitting curve to solve for the corresponding current calibration voltage value.
[0021] Further, in S43, the power effectiveness condition is:
[0022] The current preset source port power value is less than or equal to the maximum second source port power value and the current preset source port power value is greater than or equal to the minimum second source port power value.
[0023] Further, in S45, the process of performing interval curve fitting according to the two second source port power values in the current minimum interval and their corresponding preset voltage values is:
[0024] Compare the preset voltage values corresponding to the two second source port power values, record the larger preset voltage value as Vmax, and record its corresponding second source port power value as Pmax; record the smaller preset voltage value as Vmin, and record its corresponding second source port power value as Pmin;
[0025] Then, fitting is performed according to Vmax, Vmin, Pmax, and Pmin in the current minimum interval, and the fitting formula is: V=Vmin+(Vmax-Vmin)*((P-Pmin) / (Pmax-Pmin)), where V represents the calibration voltage value and P represents the preset source port power value.
[0026] Furthermore, in S1, the process of obtaining the first table by performing calibration test according to a plurality of preset frequency values is specifically as follows:
[0027] During the calibration test, frequency stepping is used to obtain several preset frequency values, and the first source port power value and the first receiver power value corresponding to the preset frequency values are obtained in turn, and the difference between the first source port power value and the first receiver power value corresponding to the same preset frequency value is used as a fixed error.
[0028] Furthermore, in S2, the process of obtaining the second table by actual testing according to a plurality of preset frequency values and preset voltage values is specifically as follows:
[0029] In the actual test process, the frequency and voltage are stepped to obtain several preset frequency values and several preset voltage values respectively. The preset frequency values and preset voltage values are combined in pairs, so that each preset frequency value is actually tested with each preset voltage value to obtain several second receiver power values.
[0030] A source port power data calibration system based on multiple intervals, comprising:
[0031] A first table obtaining module: used to obtain a first table obtained by performing a calibration test according to a plurality of preset frequency values, wherein the first table is used to record a fixed error between a first source port power value and a first receiver power value obtained by performing a calibration test at the preset frequency value;
[0032] A second table obtaining module: used to obtain a second table obtained by performing actual tests according to a plurality of preset frequency values and preset voltage values, wherein the second table is used to record a second receiver power value obtained by performing actual tests according to a preset frequency value and a preset voltage value;
[0033] A third table obtaining module: used to update the second receiver power value in the second table according to the fixed error in the first table, and the updated second table is used as the third table, and the third table is used to record the corresponding second source port power value obtained at a preset frequency value and a preset voltage value;
[0034] Interval calibration module: used to obtain the current preset frequency value and the current preset source port power value set by the current user, substitute the current preset frequency value and the current preset source port power value into the corresponding minimum interval segment in the third table, and obtain the corresponding current calibration voltage value through interval curve fitting.
[0035] Furthermore, the interval segment calibration module also includes the following submodules:
[0036] Data acquisition module: used to obtain the current preset frequency value and the current preset source port power value set by the current user;
[0037] A frequency value search module: used to search for a frequency value in a third table according to a current preset frequency value, and find a second source port power value corresponding to the current preset frequency value and a preset voltage value corresponding to each second source port power value;
[0038] A power validity judgment module: determines whether the second source port power value corresponding to the current preset frequency value meets the power validity condition according to the current preset source port power value;
[0039] An interval segment search module is used to search for interval segments in the third table according to the current preset source port power value, and find the current minimum interval segment containing the current preset source port power value, wherein the minimum interval segment is composed of two similar second source port power values, and the value between the two similar second source port power values is the smallest;
[0040] Curve fitting module: used to perform interval curve fitting according to the two second source port power values in the current minimum interval segment and their corresponding preset voltage values to obtain a fitting curve, and substitute the current preset source port power value into the fitting curve to solve and obtain the corresponding current calibration voltage value.
[0041] Beneficial effects of the present invention:
[0042] The present invention provides a source port power data calibration method and system based on multiple intervals. The source port power data calibration method mainly divides the source port power value into intervals, performs interval curve fitting in different intervals, and improves the accuracy of calibration data through interval curve fitting. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a flowchart of a source port power data calibration method based on multiple intervals in Example 1 of the present invention.
[0044] Figure 2 It is a partial schematic diagram of the first table in Example 1 of the present invention.
[0045] Figure 3 It is a partial schematic diagram of the second table in Example 1 of the present invention.
[0046] Figure 4 It is a partial schematic diagram of the third table in Example 1 of the present invention.
[0047] Figure 5 It is a partial schematic diagram of the final calibration data table in Example 1 of the present invention. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present invention and its application or use. 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.
[0049] The relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
[0050] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0051] Additionally, descriptions of well-known structures, functions, and configurations may be omitted for clarity and conciseness.One of ordinary skill in the art will recognize that various changes and modifications may be made to the examples described herein without departing from the spirit and scope of the present disclosure.
[0052] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.
[0053] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0054] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments:
[0055] Example 1
[0056] like Figure 1 As shown, the present invention provides a source port power data calibration method based on multiple intervals, and the method specifically includes the following steps:
[0057] S1: Obtain a first table obtained by performing a calibration test according to a plurality of preset frequency values, wherein the first table is used to record a fixed error between a first source port power value and a first receiver power value obtained by performing a calibration test at the preset frequency value;
[0058] S2: obtaining a second table obtained by performing actual tests according to a plurality of preset frequency values and preset voltage values, wherein the second table is used to record a second receiver power value obtained by performing actual tests according to a preset frequency value and a preset voltage value;
[0059] S3: updating the second receiver power value in the second table according to the fixed error in the first table, and using the updated second table as a third table, the third table being used to record the corresponding second source port power value obtained at a preset frequency value and a preset voltage value;
[0060] S4: Obtain the current preset frequency value and the current preset source port power value set by the current user, substitute the current preset frequency value and the current preset source port power value into the corresponding minimum interval segment in the third table, and obtain the corresponding current calibration voltage value through interval curve fitting.
[0061] Preferably, in S3, the specific process of updating the second receiver power value in the second table according to the fixed error in the first table is:
[0062] Each fixed error in the first table corresponds to a preset frequency value, and each second receiver power value in the second table corresponds to a preset frequency value and a preset voltage value;
[0063] A corresponding fixed error is added to each second receiver power value according to the same preset frequency value to obtain a corresponding second source port power value, that is, the second receiver power value in the second table is updated.
[0064] Preferably, the third table takes the second source port power values of the same preset frequency value as one column, and sorts the second source port power values in each column in order of the size of the preset voltage value.
[0065] Preferably, the S4 specifically includes the following steps:
[0066] S41: Obtaining a current preset frequency value and a current preset source port power value set by a current user;
[0067] S42: searching for a frequency value in the third table according to the current preset frequency value, and finding a second source port power value corresponding to the current preset frequency value and a preset voltage value corresponding to each second source port power value;
[0068] S43: determining whether the second source port power value corresponding to the current preset frequency value meets the power validity condition according to the current preset source port power value, and if so, proceeding to step S44;
[0069] S44: searching for an interval in the third table according to the current preset source port power value, and finding a current minimum interval containing the current preset source port power value, wherein the minimum interval is composed of two similar second source port power values, and the value between the two similar second source port power values is the smallest;
[0070] S45: performing interval curve fitting according to the two second source port power values in the current minimum interval and their corresponding preset voltage values to obtain a fitting curve, and substituting the current preset source port power value into the fitting curve to solve for the corresponding current calibration voltage value.
[0071] Preferably, in S43, the power effectiveness condition is:
[0072] The current preset source port power value is less than or equal to the maximum second source port power value and the current preset source port power value is greater than or equal to the minimum second source port power value.
[0073] Preferably, in S45, the process of performing interval curve fitting according to the two second source port power values in the current minimum interval and their corresponding preset voltage values is:
[0074] Compare the preset voltage values corresponding to the two second source port power values, record the larger preset voltage value as Vmax, and record its corresponding second source port power value as Pmax; record the smaller preset voltage value as Vmin, and record its corresponding second source port power value as Pmin;
[0075] Then, fitting is performed according to Vmax, Vmin, Pmax, and Pmin in the current minimum interval, and the fitting formula is: V=Vmin+(Vmax-Vmin)*((P-Pmin) / (Pmax-Pmin)), where V represents the calibration voltage value and P represents the preset source port power value.
[0076] Preferably, in S1, the process of obtaining the first table by performing calibration test according to several preset frequency values is specifically as follows:
[0077] During the calibration test, frequency stepping is used to obtain several preset frequency values, and the first source port power value and the first receiver power value corresponding to the preset frequency values are obtained in turn, and the difference between the first source port power value and the first receiver power value corresponding to the same preset frequency value is used as a fixed error.
[0078] Preferably, in S2, the process of obtaining the second table by actual testing according to a plurality of preset frequency values and preset voltage values is specifically as follows:
[0079] In the actual test process, the frequency and voltage are stepped to obtain several preset frequency values and several preset voltage values respectively. The preset frequency values and preset voltage values are combined in pairs, so that each preset frequency value is actually tested with each preset voltage value to obtain several second receiver power values.
[0080] Based on the above principles, the present invention is further described:
[0081] Because, when currently in use, the signal source port power set by the user is generally substituted into a linear fitting curve to calculate the corresponding voltage value, and then the voltage value is applied to the voltage-controlled attenuator, and the hardware can output the corresponding power value, thereby completing the calibration of the signal source port power.
[0082] However, in actual use, the power at the signal source port is often affected by other factors, causing it to present a nonlinear curve. Directly substituting the power at the signal source port into a linear fitting curve for calculation will result in inaccurate calibration data.
[0083] Therefore, the present invention adopts multiple intervals for curve fitting, and according to the division of intervals, the fitting curve in each interval can be made more accurate, thereby improving the accuracy of voltage value calibration. In addition, in order to ensure that the fitting curve in the interval effectively calibrates the voltage value, the interval mainly adopts the minimum interval containing the preset source port power value, and then the interval fitting curve is performed through the minimum interval to obtain a multi-segment fitting curve for calibration, and the calibration data can be calibrated in sections.
[0084] In this embodiment, since, when the receiver is not calibrated, there is a certain error between the current receiver power value displayed by the receiver and the current source port power value of the source port, it is first necessary to perform an error analysis on the error between the receiver power value and the source port power value. Specifically, the present invention pre-sets multiple preset frequency values in a frequency stepping manner, and performs calibration tests in sequence on the simulation software based on the multiple preset frequency values. The receiver power values and source port power values corresponding to the multiple preset frequency values, that is, the first source port power value and the first receiver power value, can be obtained. Then, the difference between the first source port power value and the first receiver power value corresponding to the same preset frequency value is used as a fixed error, and a first table can be formed, which is sorted in order according to the preset frequency values, such as Figure 2 As shown, in Figure 2 The first column is the preset frequency value, the second column is the first source port power value, the third column is the first receiver power value, and the fourth column is the fixed error between the first source port power value in the second column and the first receiver power value in the third column in the same row.
[0085] Next, the receiver is actually tested with a preset frequency value. Before the test, multiple preset voltage values need to be set in advance, and the preset frequency values and preset voltage values are combined in pairs. The actual test is performed according to the current preset frequency value and the current preset voltage value, and the second receiver power value in different combinations can be obtained. In addition, the preset frequency values and the preset voltage values are sorted in order, such as Figure 3 As shown, in Figure 3 In the table, the first column is a preset voltage value, the first row is a preset frequency value, each row and each column are crossed, and the second receiver power value corresponding to the current preset frequency value and the current preset voltage value is recorded in the table at the intersection.
[0086] Then, according to the fixed error between the receiver and the source port, the fixed error corresponding to the same preset frequency value is added to the second receiver power value to obtain the corresponding second source port power value. Specifically, the preset frequency corresponding to the fixed error can be used to calculate the power value of the second source port. Figure 3 The corresponding column number is found in , and the second receiver power value in the column number is added to the fixed error, so that the added second source port power value is located in the table corresponding to the second receiver power value, and the second table is updated. The updated second table is used as the third table, such as Figure 4 As shown, the first column is the preset voltage value, the first row is the preset frequency value, each row and each column are crossed, and the table at the intersection records the second source port power value corresponding to the current preset frequency value and the current preset voltage value. The source port power value can be obtained based on the receiver power value through the pre-obtained fixed error, which is more accurate.
[0087] Finally, in this embodiment, when the current preset frequency value and the current preset source port power value set by the current user are obtained, the corresponding interval curve fitting can be performed in the third table according to the current preset frequency value and the current preset source port power value, and the corresponding current calibration voltage value can be obtained by solving the fitting curve.
[0088] If the current preset frequency value set by the current user is 10M and the current preset source port power value is 2dB, then according to the current preset frequency value and the current preset source port power value Figure 4 The specific process of fitting the corresponding interval curve in the third table is as follows:
[0089] The first step is to search for the frequency value in the first row of the third table with the current preset frequency value, and find a column of tables whose preset frequency value is the same as the current preset frequency value 10M, that is, the second column; the second step is to search in the second column to determine whether the current preset source port power value 2dB meets the power validity condition, that is, to determine whether the current preset source port power value can be reached under the current preset frequency value. Figure 4 It can be seen that the source port power value can reach 2dB under the preset frequency value 10M, then it is determined that the current preset source port power value meets the power validity condition; the third step, after the current preset source port power value meets the power validity condition, the interval segment is searched in the second column table to find the current minimum interval segment containing the current preset source port power value. The current minimum interval segment is composed of two similar second source port power values 2.1454dB and the second source port power value 1.8583dB; the fourth step is based on the two second source port power values in the current minimum interval segment and The corresponding preset voltage values are fitted with an interval curve, where Vmax = -0.25, Pmax = 2.1454, Vmin = -0.3, and Pmin = 1.8583. The current calibration voltage value V = Vmin + (Vmax - Vmin) * ((P-Pmin) / (Pmax - Pmin)) = -2.7533, to achieve calibration of the voltage value. Applying the current calibration voltage value of -2.7533 to the voltage-controlled attenuator can ensure the power value output of the source port, that is, to achieve calibration of the source port power data.
[0090] In another embodiment, a multi-segment interval curve fitting can be performed according to the third table to obtain a final calibration data table, such as Figure 5 As shown, in Figure 5In the table, the first column is the preset frequency value, the first line is the preset source port power value, and each row and column are crossed. The table at the intersection records the current calibration voltage value corresponding to the current preset frequency value and the current preset source port power value. Specifically, when in use, the final calibration data table can be searched according to the current preset frequency value and the current preset source port power value set by the user to find the calibration voltage value corresponding to the current preset frequency value and the current preset source port power value. For example: if the current preset frequency value is 10M and the current preset source port power value is 2dB, the calibration voltage value -2.7533 calibrated to the corresponding preset frequency value 10M and the corresponding preset source port power value 2dB can be directly found in the final calibration data table; if the current preset frequency value is 10M and the current preset source port power value is 1.5dB, the voltage value of the preset source port power value 2dB and the preset source port power value 1dB corresponding to the preset frequency value 10M can also be selected to fit the first equation.
[0091] Example 2
[0092] A source port power data calibration system based on multiple intervals, comprising:
[0093] A first table obtaining module: used to obtain a first table obtained by performing a calibration test according to a plurality of preset frequency values, wherein the first table is used to record a fixed error between a first source port power value and a first receiver power value obtained by performing a calibration test at the preset frequency value;
[0094] A second table obtaining module: used to obtain a second table obtained by performing actual tests according to a plurality of preset frequency values and preset voltage values, wherein the second table is used to record a second receiver power value obtained by performing actual tests according to a preset frequency value and a preset voltage value;
[0095] A third table obtaining module: used to update the second receiver power value in the second table according to the fixed error in the first table, and the updated second table is used as the third table, and the third table is used to record the corresponding second source port power value obtained at a preset frequency value and a preset voltage value;
[0096] Interval calibration module: used to obtain the current preset frequency value and the current preset source port power value set by the current user, substitute the current preset frequency value and the current preset source port power value into the corresponding minimum interval segment in the third table, and obtain the corresponding current calibration voltage value through interval curve fitting.
[0097] Preferably, the interval segment calibration module also includes the following submodules:
[0098] Data acquisition module: used to obtain the current preset frequency value and the current preset source port power value set by the current user;
[0099] A frequency value search module: used to search for a frequency value in a third table according to a current preset frequency value, and find a second source port power value corresponding to the current preset frequency value and a preset voltage value corresponding to each second source port power value;
[0100] A power validity judgment module: determines whether the second source port power value corresponding to the current preset frequency value meets the power validity condition according to the current preset source port power value;
[0101] An interval segment search module is used to search for interval segments in the third table according to the current preset source port power value, and find the current minimum interval segment containing the current preset source port power value, wherein the minimum interval segment is composed of two similar second source port power values, and the value between the two similar second source port power values is the smallest;
[0102] Curve fitting module: used to perform interval curve fitting according to the two second source port power values in the current minimum interval segment and their corresponding preset voltage values to obtain a fitting curve, and substitute the current preset source port power value into the fitting curve to solve and obtain the corresponding current calibration voltage value.
[0103] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. According to the technical essence of the present invention, within the spirit and principles of the present invention, any simple modification, equivalent replacement and improvement made to the above embodiment still falls within the protection scope of the technical solution of the present invention.
Claims
1. A source port power data calibration method based on multiple intervals, characterized in that: The method specifically comprises the following steps: S1: obtaining a first table obtained by performing a calibration test according to a plurality of preset frequency values, wherein the first table is used to record a fixed error between a first source port power value and a first receiver power value obtained by performing a calibration test at the preset frequency value; S2: obtaining a second table obtained by performing actual tests according to a plurality of preset frequency values and preset voltage values, wherein the second table is used to record a second receiver power value obtained by performing actual tests according to a preset frequency value and a preset voltage value; S3: updating the second receiver power value in the second table according to the fixed error in the first table, and using the updated second table as a third table, the third table being used to record the corresponding second source port power value obtained at a preset frequency value and a preset voltage value; S4: Obtain the current preset frequency value and the current preset source port power value set by the current user, substitute the current preset frequency value and the current preset source port power value into the corresponding minimum interval segment in the third table, and obtain the corresponding current calibration voltage value through interval curve fitting.
2. A method for calibrating source port power data based on multiple intervals according to claim 1, characterized in that: In S3, the specific process of updating the second receiver power value in the second table according to the fixed error in the first table is: Each fixed error in the first table corresponds to a preset frequency value, and each second receiver power value in the second table corresponds to a preset frequency value and a preset voltage value; A corresponding fixed error is added to each second receiver power value according to the same preset frequency value to obtain a corresponding second source port power value, that is, the second receiver power value in the second table is updated.
3. A method for calibrating source port power data based on multiple intervals according to claim 1, characterized in that: The third table takes the second source port power values of the same preset frequency value as one column, and sorts the second source port power values in each column in the order of the preset voltage value.
4. A method for calibrating source port power data based on multiple intervals according to claim 1, characterized in that: The S4 specifically includes the following steps: S41: Obtaining a current preset frequency value and a current preset source port power value set by a current user; S42: searching for a frequency value in the third table according to the current preset frequency value, and finding a second source port power value corresponding to the current preset frequency value and a preset voltage value corresponding to each second source port power value; S43: determining whether the second source port power value corresponding to the current preset frequency value meets the power validity condition according to the current preset source port power value, and if so, proceeding to step S44; S44: searching for an interval in the third table according to the current preset source port power value, and finding a current minimum interval containing the current preset source port power value, wherein the minimum interval is composed of two similar second source port power values, and the value between the two similar second source port power values is the smallest; S45: performing interval curve fitting according to the two second source port power values in the current minimum interval and their corresponding preset voltage values to obtain a fitting curve, and substituting the current preset source port power value into the fitting curve to solve for the corresponding current calibration voltage value.
5. A method for calibrating source port power data based on multiple intervals according to claim 4, characterized in that: In S43, the power validity condition is: The current preset source port power value is less than or equal to the maximum second source port power value and the current preset source port power value is greater than or equal to the minimum second source port power value.
6. A method for calibrating source port power data based on multiple intervals according to claim 4, characterized in that: In S45, the process of performing interval curve fitting according to the two second source port power values in the current minimum interval and their corresponding preset voltage values is as follows: Compare the preset voltage values corresponding to the two second source port power values, record the larger preset voltage value as Vmax, and record its corresponding second source port power value as Pmax; record the smaller preset voltage value as Vmin, and record its corresponding second source port power value as Pmin; Then, fitting is performed according to Vmax, Vmin, Pmax, and Pmin in the current minimum interval, and the fitting formula is: V=Vmin+(Vmax-Vmin)*((P-Pmin) / (Pmax-Pmin)), where V represents the calibration voltage value and P represents the preset source port power value.
7. A method for calibrating source port power data based on multiple intervals according to claim 1, characterized in that: In S1, the process of obtaining the first table by performing calibration test according to a plurality of preset frequency values is specifically as follows: During the calibration test, frequency stepping is used to obtain several preset frequency values, and the first source port power value and the first receiver power value corresponding to the preset frequency values are obtained in turn, and the difference between the first source port power value and the first receiver power value corresponding to the same preset frequency value is used as a fixed error.
8. The method for calibrating source port power data based on multiple intervals according to claim 1, characterized in that: In S2, the process of obtaining the second table by actual testing according to a plurality of preset frequency values and preset voltage values is specifically as follows: In the actual test process, the frequency and voltage are stepped to obtain several preset frequency values and several preset voltage values respectively. The preset frequency values and preset voltage values are combined in pairs, so that each preset frequency value is actually tested with each preset voltage value to obtain several second receiver power values.
9. A source port power data calibration system based on multiple intervals, characterized in that: include: A first table obtaining module: used to obtain a first table obtained by performing a calibration test according to a plurality of preset frequency values, wherein the first table is used to record a fixed error between a first source port power value and a first receiver power value obtained by performing a calibration test at the preset frequency value; A second table obtaining module: used to obtain a second table obtained by performing actual tests according to a plurality of preset frequency values and preset voltage values, wherein the second table is used to record a second receiver power value obtained by performing actual tests according to a preset frequency value and a preset voltage value; A third table obtaining module: used to update the second receiver power value in the second table according to the fixed error in the first table, and the updated second table is used as the third table, and the third table is used to record the corresponding second source port power value obtained at a preset frequency value and a preset voltage value; Interval calibration module: used to obtain the current preset frequency value and the current preset source port power value set by the current user, substitute the current preset frequency value and the current preset source port power value into the corresponding minimum interval segment in the third table, and obtain the corresponding current calibration voltage value through interval curve fitting.
10. A source port power data calibration system based on multiple intervals according to claim 9, characterized in that: The interval calibration module also includes Includes the following submodules: Data acquisition module: used to obtain the current preset frequency value and the current preset source port power value set by the current user; A frequency value search module: used to search for a frequency value in a third table according to a current preset frequency value, and find a second source port power value corresponding to the current preset frequency value and a preset voltage value corresponding to each second source port power value; A power validity judgment module: determines whether the second source port power value corresponding to the current preset frequency value meets the power validity condition according to the current preset source port power value; An interval segment search module is used to search for interval segments in the third table according to the current preset source port power value, and find the current minimum interval segment containing the current preset source port power value, wherein the minimum interval segment is composed of two similar second source port power values, and the value between the two similar second source port power values is the smallest; Curve fitting module: used to perform interval curve fitting according to the two second source port power values in the current minimum interval segment and their corresponding preset voltage values to obtain a fitting curve, and substitute the current preset source port power value into the fitting curve to solve and obtain the corresponding current calibration voltage value.
Citation Information
Patent Citations
Method and device for rapidly calibrating luminous power
CN102610996A
Automatic calibration method and apparatus for receiver's amplitude-frequency response
CN106506101A
Flow sensor calibration method and system
CN106969812A
Network analyzer source power calibration method introducing matching correction
CN107300682A
Transmitting power calibration method and device suitable for multiple frequency points and multiple power points
CN110896330A
