Radio frequency line loss calibration method, device, electronic equipment and storage medium

By obtaining multiple RF line loss values ​​and performing related calculations, the inherent wire loss is offset, and different RF lines are established using matrix switch switching, which solves the problem of low RF line loss calibration accuracy in RF power test, and achieves higher calibration accuracy and reliability.

CN113726449BActive Publication Date: 2025-01-07ZTE CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010396646.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-12
Publication Date
2025-01-07
Estimated Expiration
2040-05-12

AI Technical Summary

Technical Problem

In the prior art, in RF power testing, RF line loss calibration accuracy is low and is susceptible to instability of personnel operation and environmental hardware, resulting in errors, especially in mass equipment production, which may cause failures and defective products.

Method used

By obtaining multiple RF line loss values ​​and performing related calculations, the inherent wire loss is offset, and one of them is determined to be the RF line loss value to improve calibration accuracy. The method includes the use of multiple RF connection lines and a spectrum meter for interleaving calibration, the use of matrix switch switching to establish different RF lines, ensuring the independence and accuracy of calibration operations.

Benefits of technology

It effectively improves the calibration accuracy of RF line loss, reduces errors, ensures the reliability of RF line loss values, avoids faults and defective products caused by errors, and improves the normal use rate of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113726449B_ABST
    Figure CN113726449B_ABST
Patent Text Reader

Abstract

The present application relates to a radio frequency line loss calibration method, device, electronic device and storage medium. The embodiments of the present application include: obtaining a first line loss value, a second line loss value, a third line loss value and a fourth line loss value; performing relevant calculations on the first line loss value, the second line loss value, the third line loss value and the fourth line loss value to offset the inherent line loss; according to the calculation result, determining that at least one of the first line loss value, the second line loss value, the third line loss value and the fourth line loss value is a radio frequency line loss value. Through the embodiments of the present application, it is possible to offset the inherent line loss of the measurement environment through calculation, thereby providing a basis for judging the reliability of each line loss value, thereby effectively improving the calibration accuracy of the radio frequency line loss.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to, but are not limited to, the field of wireless communication technology, and in particular, to a radio frequency line loss calibration method, device, electronic device, and storage medium. Background Art

[0002] RF power testing first requires that the RF line loss of the test environment itself be calibrated. During the calibration of the RF line loss of the test environment itself, errors caused by various human operations and unstable environment hardware will be introduced.

[0003] At present, the method for controlling the accuracy of environmental calibration errors is mainly for engineers to conduct sampling tests on the RF line loss of the test environment itself, and then set the upper and lower limits of the RF line loss based on empirical values. However, this method has relatively low control over the calibration error accuracy of the RF line loss. Summary of the invention

[0004] The embodiments of the present application provide a radio frequency line loss calibration method, device, electronic device and storage medium, which can improve the calibration accuracy of radio frequency line loss.

[0005] In a first aspect, an embodiment of the present application provides a radio frequency line loss calibration method, comprising:

[0006] Obtain a first line loss value, a second line loss value, a third line loss value, and a fourth line loss value; wherein the first line loss value is a line loss value obtained by calibrating the first RF connection line to the first spectrum analyzer, and the second line loss value is a line loss value obtained by calibrating the second RF connection line to the first spectrum analyzer; the third line loss value is obtained by calibrating the first RF connection line to the second spectrum analyzer, and the fourth line loss value is obtained by calibrating the second RF connection line to the second spectrum analyzer;

[0007] performing correlation calculation on the first line loss value, the second line loss value, the third line loss value and the fourth line loss value to offset the inherent line loss;

[0008] According to the calculation result, at least one of the first line loss value, the second line loss value, the third line loss value and the fourth line loss value is determined to be a radio frequency line loss value.

[0009] In a second aspect, an embodiment of the present application provides a radio frequency line loss calibration device, including:

[0010] a first radio frequency connection circuit, a second radio frequency connection circuit, a third radio frequency connection circuit and a fourth radio frequency connection circuit;

[0011] a first spectrum analyzer, the first spectrum analyzer being used to obtain a first line loss value by calibrating the first radio frequency connection line, and the first spectrum analyzer being used to obtain a second line loss value by calibrating the second radio frequency connection line;

[0012] a second spectrum analyzer, the second spectrum analyzer being used to obtain a third line loss value by calibrating the third radio frequency connection line, and the second spectrum analyzer being used to obtain a fourth line loss value by calibrating the fourth radio frequency connection line;

[0013] A calculation module, wherein the calculation module is connected to the first spectrum analyzer and the second spectrum analyzer respectively, and the calculation module is used to perform relevant calculations on the first line loss value, the second line loss value, the third line loss value and the fourth line loss value to offset the inherent line loss, and according to the calculation result, determine that at least one of the first line loss value, the second line loss value, the third line loss value and the fourth line loss value is a radio frequency line loss value.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the following is achieved:

[0015] The RF line loss calibration method as described in the first aspect.

[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to:

[0017] Execute the RF line loss calibration method described in the first aspect.

[0018] The embodiment of the present application includes: obtaining a first line loss value, a second line loss value, a third line loss value, and a fourth line loss value; performing relevant calculations on the first line loss value, the second line loss value, the third line loss value, and the fourth line loss value to offset the inherent line loss; and determining, based on the calculation results, that at least one of the first line loss value, the second line loss value, the third line loss value, and the fourth line loss value is a radio frequency line loss value. Through the embodiment of the present application, the inherent line loss of the measurement environment can be offset by calculation, thereby providing a basis for determining the reliability of each line loss value, thereby effectively improving the calibration accuracy of the radio frequency line loss.

[0019] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0021] Figure 1 It is a structural schematic diagram of a radio frequency line loss calibration device provided in an embodiment of the present application;

[0022] Figure 2 is a structural schematic diagram of a radio frequency line loss calibration device provided in another embodiment of the present application;

[0023] Figure 3 is a structural schematic diagram of a radio frequency line loss calibration device provided in another embodiment of the present application;

[0024] Figure 4 is a structural schematic diagram of a radio frequency line loss calibration device provided in another embodiment of the present application;

[0025] Figure 5 It is a flowchart of a radio frequency line loss calibration method provided in an embodiment of the present application;

[0026] Figure 6 is a flow chart of a radio frequency line loss calibration method provided by another embodiment of the present application;

[0027] Figure 7 is a flow chart of a radio frequency line loss calibration method provided in another embodiment of the present application;

[0028] Figure 8 is a flow chart of a radio frequency line loss calibration method provided by another embodiment of the present application;

[0029] Fig. 9 is a flow chart of a radio frequency line loss calibration method provided by another embodiment of the present application;

[0030] Fig.10 is a flow chart of a radio frequency line loss calibration method provided by another embodiment of the present application;

[0031] Fig.11 is a flow chart of a radio frequency line loss calibration method provided in another embodiment of the present application;

[0032] Fig.12 is a flow chart of a radio frequency line loss calibration method provided in another embodiment of the present application;

[0033] Fig.13 is a flow chart of a radio frequency line loss calibration method provided in another embodiment of the present application;

[0034] Fig.14 is a structural schematic diagram of a radio frequency line loss calibration device provided in another embodiment of the present application;

[0035] Fig.15 is a structural schematic diagram of a radio frequency line loss calibration device provided in another embodiment of the present application;

[0036] Fig.16is a structural schematic diagram of a radio frequency line loss calibration device provided in another embodiment of the present application;

[0037] Fig.17 is a structural schematic diagram of a radio frequency line loss calibration device provided in another embodiment of the present application;

[0038] Fig.18 is a structural schematic diagram of a radio frequency line loss calibration device provided in another embodiment of the present application;

[0039] Fig.19 It is a structural schematic diagram of a radio frequency line loss calibration device provided in another embodiment of the present application. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0041] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flow chart. The terms "first", "second", "third", "fourth", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0042] RF power testing first requires that the RF line loss of the test environment itself be calibrated. The calibration process of the RF line loss of the test environment itself will introduce errors caused by various human operations, unstable environmental hardware, etc. If such errors exist in a certain process of batch equipment production (such as 5G low-frequency AAU equipment), it may cause batch failures, or even defective products leaking to the outside field, affecting the normal use of the equipment.

[0043] At present, the method for controlling the accuracy of environmental calibration errors is mainly for engineers to conduct sampling tests on the RF line loss of the test environment itself, and then set the upper and lower limits of the RF line loss based on empirical values. However, this method has relatively low control over the calibration error accuracy of the RF line loss.

[0044] Based on this, the embodiments of the present application provide a radio frequency line loss calibration method, device, electronic device, and storage medium, which can improve the calibration accuracy of radio frequency line loss.

[0045] On the first aspect, an embodiment of the present application provides a radio frequency line loss calibration method, which is applied to a radio frequency line loss calibration device. By calibrating and calculating the radio frequency line loss, the inherent line loss of the measurement environment can be offset, thereby providing a basis for judging the reliability of each line loss value, thereby effectively improving the calibration accuracy of the radio frequency line loss.

[0046] In some embodiments, reference Figures 1 to 4 , is a schematic diagram of the structure of the RF line loss calibration device. The device includes: a calibration signal source 100, a first RF connection circuit, a second RF connection circuit, a third RF connection circuit, a fourth RF connection circuit, a first spectrum analyzer 400, and a second spectrum analyzer 500.

[0047] The first spectrum analyzer 400 is connected to the calibration signal source 100 through the first RF connection line and the second RF connection line respectively, and the second spectrum analyzer 500 is connected to the calibration signal source 100 through the third RF connection line and the fourth RF connection line respectively.

[0048] In some embodiments, after the calibration signal source 100 is output, it is sent to the first spectrum analyzer 400 through the first RF connection line and the second RF connection line, or sent to the second spectrum analyzer 500 through the third RF connection line and the fourth RF connection line. Therefore, the first spectrum analyzer 400 and the second spectrum analyzer 500 can calibrate the RF signals sent by different RF lines to obtain the line loss value. By setting the first RF connection line, the second RF connection line, the third RF connection line, and the fourth RF connection line, the corresponding line loss values ​​can be obtained in sequence, so as to determine whether there is a problem in the calibration process of the line loss value according to the independent line loss value, thereby effectively improving the calibration accuracy of the line loss value.

[0049] It is worth noting that the first RF connection line, the second RF connection line, the third RF connection line and the fourth RF connection line are lines for transmitting RF signals. It is understandable that the RF lines can be implemented in a variety of connection modes. For example, referring to Figure 1 , a first direct RF line 200 is used to connect the calibration signal source 100 and the first spectrum analyzer 400 to realize a first RF connection line. After the first RF connection line is completed, refer to Figure 2 , disconnect the first direct RF line 200 and the calibration signal source 100, and use the second direct RF line 300 to connect the calibration signal source 100 and the first spectrum analyzer 400 to realize the second RF connection line. After completing the second RF connection line, refer to Figure 3 , disconnect the second direct RF line 300 from the calibration signal source 100, and use the first direct RF line 200 to connect the calibration signal source 100 and the second spectrum analyzer 500 to achieve the third RF connection line. After completing the fourth RF connection line, refer to Figure 4, disconnect the first direct RF line 200 from the calibration signal source 100, and connect the second direct RF line 300 to the calibration signal source 100 and the second spectrum analyzer 500 to realize a fourth RF connection line. Or switch through the RF switch to form four RF lines.

[0050] In some embodiments, reference Figure 5 , is a flow chart of a radio frequency line loss calibration method provided in an embodiment of the present application. The method comprises:

[0051] S100, obtaining a first line loss value, a second line loss value, a third line loss value, and a fourth line loss value; wherein the first line loss value is obtained by connecting the first RF connection line to the first spectrum analyzer for calibration, and the second line loss value is obtained by connecting the second RF connection line to the first spectrum analyzer for calibration; the third line loss value is obtained by connecting the first RF connection line to the second spectrum analyzer for calibration, and the fourth line loss value is obtained by connecting the second RF connection line to the second spectrum analyzer for calibration;

[0052] S200, performing correlation calculation on the first line loss value, the second line loss value, the third line loss value and the fourth line loss value to offset the inherent line loss;

[0053] S300. Determine, according to the calculation result, at least one of the first line loss value, the second line loss value, the third line loss value, and the fourth line loss value as a radio frequency line loss value.

[0054] The first RF connection line, the second RF connection line, the third RF connection line and the fourth RF connection line are used to transmit the RF signal from the calibration signal source to different spectrum analyzers, and the spectrum analyzers calibrate the received RF signals to obtain multiple line loss values. Among them, the RF line and the spectrum analyzer constitute the test environment for RF line loss. By performing relevant calculations on the above multiple line loss values, the inherent line loss of the RF line and the spectrum analyzer can be offset, that is, the inherent line loss of the test environment can be offset. Since the calculation process offsets the inherent line loss of the test environment, if the calculation result meets the requirements, the calibration accuracy of the RF line loss meets the requirements; if the calculation result does not meet the requirements, the calibration process is abnormal, thereby providing a basis for judging the reliability of each line loss value. If the calculation result meets the requirements, it is finally determined that one of the line loss values ​​is the RF line loss value, thereby effectively improving the calibration accuracy of the RF line loss.

[0055] To facilitate description of the solution of this embodiment, four line loss values ​​obtained by calibration are taken as an example, namely a first line loss value 1A, a second line loss value 2A, a third line loss value 1B and a fourth line loss value 2B.

[0056] The first line loss value 1A is obtained by connecting the first RF connection line to the first spectrum analyzer for calibration;

[0057] The second line loss value 2A is obtained by connecting the second RF connection line to the first spectrum analyzer for calibration;

[0058] The third line loss value 1B is obtained by connecting the third RF connection line to the second spectrum analyzer for calibration;

[0059] The fourth line loss value 2B is obtained by connecting the fourth RF connection line to the second spectrum analyzer for calibration.

[0060] In some embodiments, reference Figure 6 , step S100 includes:

[0061] S110, using a matrix switch to establish a first radio frequency connection line, and obtaining a first line loss value obtained by calibration of a first spectrum analyzer;

[0062] S120, using the matrix switch to establish a second radio frequency connection line, and obtaining a second line loss value obtained by calibration of the first spectrum analyzer;

[0063] S130, using the matrix switch to establish a third radio frequency connection line, and obtaining a third line loss value obtained by calibration of the second spectrum analyzer;

[0064] S140: Use the matrix switch to establish a fourth radio frequency connection line, and obtain a fourth line loss value obtained by calibration of the second spectrum analyzer.

[0065] In some embodiments, a matrix switch is a switch having one or more input ports and one or more output ports, and switching of different RF lines is achieved through various interconnections between the multiple input ports and the multiple output ports. The matrix switch is used for switching, and a first RF connection line, a second RF connection line, a third RF connection line, and a fourth RF connection line are established respectively, and a first line loss value 1A obtained by calibration of the first spectrum analyzer, a second line loss value 2A obtained by calibration of the first spectrum analyzer, a third line loss value 1B obtained by calibration of the second spectrum analyzer, and a fourth line loss value 2B obtained by calibration of the second spectrum analyzer are obtained respectively.

[0066] It is understandable that the matrix switch is only one of the implementation methods. The matrix switch can also be replaced by other wiring methods or switches, such as using two RF lines for four wirings to establish four RF paths; for example, a single-pole double-throw switch, a multi-pole multi-throw switch, a cascade switch, a tree switch or a rotary conversion switch can be used instead of the matrix switch.

[0067] In some embodiments, a first RF connection line is provided between the calibration signal source and the matrix switch, a second RF connection line is provided between the calibration signal source and the matrix switch, a third RF connection line is provided between the matrix switch and the first spectrum analyzer, and a fourth RF connection line is provided between the matrix switch and the second spectrum analyzer. The first RF connection line and the third RF connection line are connected through the matrix switch to establish a first RF connection line, the second RF connection line and the third RF connection line are connected to establish a second RF connection line, the first RF connection line and the fourth RF connection line are connected to establish a third RF connection line, and the second RF connection line and the fourth RF connection line are connected to establish a fourth RF connection line. For specific examples, please refer to the following description. The switching of different RF lines can be achieved through the matrix switch, making the switching of RF lines simple.

[0068] In some embodiments, step S100 further includes:

[0069] The first line loss value, the second line loss value, the third line loss value and the fourth line loss value are calibrated in a preset order, so that any line loss value among the first line loss value, the second line loss value, the third line loss value and the fourth line loss value is calibrated in an independent calibration operation process.

[0070] In some embodiments, the calibration operation processes corresponding to the first line loss value, the second line loss value, the third line loss value, and the fourth line loss value need to be independent to ensure that the random errors in the first line loss value, the second line loss value, the third line loss value, and the fourth line loss value are independent, so that the random errors in the first line loss value, the second line loss value, the third line loss value, and the fourth line loss value will not be offset in the subsequent calculation. For example, if the calibration is performed in the order of the first line loss value 1A, the third line loss value 1B, the second line loss value 2A, and the fourth line loss value 2B, then in the process of calibrating the first line loss value 1A and the third line loss value 1B, the RF line may not be reconnected, but the software controls the matrix switch to switch internally. Then, the random errors of the two line loss values ​​(the first line loss value 1A and the third line loss value 1B) obtained by calibrating the first RF connection line and the third RF connection line are not independent (the two line loss calibration processes only have the same connection operation), and the random errors of the two line loss values ​​that are not independent may be offset in the subsequent calculation, thereby affecting the calibration accuracy of the line loss value. Therefore, the four calibration operation processes need to be independent.

[0071] In some embodiments, a preset sequence can be used to ensure that the four calibration operations are independent.

[0072] The preset sequences include:

[0073] The first line loss value 1A, the second line loss value 2A, the third line loss value 1B, the fourth line loss value 2B; or

[0074] The first line loss value 1A, the fourth line loss value 2B, the third line loss value 1B, the second line loss value 2A; or,

[0075] The second line loss value 2A, the first line loss value 1A, the fourth line loss value 2B, the third line loss value 1B; or,

[0076] The second line loss value 2A, the third line loss value 1B, the fourth line loss value 2B, the first line loss value 1A; or,

[0077] The third line loss value 1B, the second line loss value 2A, the first line loss value 1A, the fourth line loss value 2B; or,

[0078] The third line loss value 1B, the fourth line loss value 2B, the first line loss value 1A, the second line loss value 2A; or,

[0079] The fourth line loss value is 2B, the first line loss value is 1A, the second line loss value is 2A, and the third line loss value is 1B; or,

[0080] The fourth line loss value is 2B, the third line loss value is 1B, the second line loss value is 2A, and the first line loss value is 1A.

[0081] It is worth noting here that after the above-mentioned preset sequence is designed, it is added to the calibration control program of the computing module and / or the control program of the matrix switch, and the calibration process and / or the matrix switch are switched according to the above-mentioned preset sequence through the software program, for example, the first line loss value 1A, the second line loss value 2A, the third line loss value 1B, and the fourth line loss value 2B (first use the first spectrum analyzer to calibrate the first direct-connected RF line in sequence, then calibrate the second direct-connected RF line, and then use the second spectrum analyzer to calibrate the first direct-connected RF line, and then calibrate the second direct-connected RF line). According to this staggered order, the independence of the operations of the four line loss calibrations is ensured (each calibration requires reconnection of the RF line), thereby ensuring the independence of the random errors of each measurement, so that the random errors will not be offset in subsequent calculations, and only the inherent line losses of the measurement environment are offset.

[0082] Taking the preset sequence of the first line loss value 1A, the second line loss value 2A, the third line loss value 1B, and the fourth line loss value 2B as an example, the switching process of the calibration line is explained: refer to Fig.14 During the first calibration, one end of the first RF connection line 800 is connected to the calibration signal source 100, and the other end is connected to the first RF input terminal 710. The first RF output terminal 730 is connected to the first spectrum analyzer 400 through the third RF connection line 1000, and then the first RF input terminal 710 and the first RF output terminal 730 are connected through the internal switching of the matrix switch 700 to realize the first RF connection line, and the first line loss value 1A is obtained by calibration and uploaded to the calculation module 600. Fig.15During the second calibration, one end of the second RF connection line 900 is connected to the calibration signal source 100, and the other end is connected to the second RF input terminal 720. The first RF output terminal 730 is connected to the first spectrum analyzer 400 through the third RF connection line 1000, and then the second RF input terminal 720 and the first RF output terminal 730 are connected through the internal switching of the matrix switch 700 to realize the second RF connection line, and the second line loss value 2A is obtained by calibration and uploaded to the calculation module 600. Fig.16 During the third calibration, one end of the first RF connection line 800 is connected to the calibration signal source 100, and the other end is connected to the first RF input terminal 710; the second RF output terminal 740 is connected to the second spectrum analyzer 500 through the fourth RF connection line 1100, and then the first RF input terminal 710 and the second RF output terminal 740 are connected through the internal switching of the matrix switch 700 to realize the third RF connection line, and the third line loss value 1B is obtained by calibration and uploaded to the calculation module 600. Fig.17 During the fourth calibration, one end of the second RF connection line 900 is connected to the calibration signal source 100, and the other end is connected to the second RF input terminal 720; the second RF output terminal 740 is connected to the second spectrum analyzer 500 through the fourth RF connection line 1100, and then the second RF input terminal 720 and the second RF output terminal 740 are connected through the internal switching of the matrix switch 700 to realize the fourth RF connection line, and the fourth line loss value 2B is obtained by calibration and uploaded to the calculation module 600. The calculation module 600 determines whether the order of the obtained line loss values ​​is the first line loss value 1A, the second line loss value 2A, the third line loss value 1B, and the fourth line loss value 2B. If so, step S200 is executed to perform relevant calculations on the first line loss value 1A, the second line loss value 2A, the third line loss value 1B, and the fourth line loss value 2B, so as to achieve the effect of ensuring the independence of the four calibration operation processes.

[0083] For other preset sequences, the switching process of the calibration line is similar and will not be described here.

[0084] In some embodiments, reference Figure 7 , step S200 includes:

[0085] S210, calculating a difference between the first line loss value and the third line loss value to obtain a first difference;

[0086] S220, calculating a difference between the second line loss value and the fourth line loss value to obtain a second difference;

[0087] S230: Calculate the difference between the first difference and the second difference to obtain a third difference.

[0088] The difference between the first line loss value 1A and the third line loss value 1B is calculated to obtain the first difference delta1, delta1=1A-1B, delta1 represents the difference in line loss values ​​when the calibration signal source is connected to the first spectrum analyzer and the second spectrum analyzer. The difference between the second line loss value 2A and the fourth line loss value 2B is calculated to obtain the second difference delta2, delta2=2A-2B, delta2 represents the difference in line loss values ​​when the calibration signal source is connected to the first spectrum analyzer and the second spectrum analyzer. The difference between the first difference delta1 and the second difference delta2 is calculated to obtain the third difference delta3, delta3=delta2-delta1, delta3 represents whether the errors of the calibration signal source in the two spectrum analyzers are consistent, the purpose of which is to indirectly determine whether the line loss value calibration process of the RF line is normal by whether the errors of the two spectrum analyzers are consistent. According to the calculation of the first difference delta1, the second difference delta2 and the third difference delta3, it can be known that the first difference delta1 and the second difference delta2 are equivalent to the difference in line loss values ​​measured by different spectrum analyzers, and the third difference delta3 is equivalent to judging whether there is a difference between the first difference delta1 and the second difference delta2. After calculating the difference generated by the spectrum analyzer, and then calculating whether the errors of the calibration signal source in the two spectrum analyzers are consistent, a two-step calculation is used to judge whether the line loss value calibration is normal, thereby improving the accuracy of the line loss value calibration.

[0089] In some embodiments, the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B are defined as follows:

[0090] 1A=SA+△SA(1)+LA+△LA(1)+RF1+△RF1(1)+L1+△L1(1) (1)

[0091] 2A=SA+△SA(2)+LA+△LA(2)+RF1+△RF1(2)+L2+△L2(1) (2)

[0092] 1B=SB+△SB(1)+LB+△LB(1)+RF2+△RF2(1)+L1+△L1(2) (3)

[0093] 2B=SB+△SB(2)+LB+△LB(2)+RF2+△RF2(2)+L2+△L2(2) (4)

[0094] Wherein, SA is the systematic error of the first spectrum analyzer, △SA(1) and △SA(2) are the random errors of the first spectrum analyzer when the first RF connecting line and the second RF connecting line are connected to the first spectrum analyzer, SB is the systematic error of the second spectrum analyzer, △SB(1) and △SB(2) are the random errors of the second spectrum analyzer when the first RF connecting line and the second RF connecting line are connected to the second spectrum analyzer, LA is the systematic error of the third RF connecting line, △LA(1) and △LA(2) are the random errors of the third RF connecting line when the first RF connecting line and the second RF connecting line are connected to the first spectrum analyzer, LB is the systematic error of the fourth RF connecting line, △LB(1) and △LB(2) are the random errors of the fourth RF connecting line when the first RF connecting line and the second RF connecting line are connected to the second spectrum analyzer, RF1 is the systematic error of the first switch RFin1 in the matrix switch, △RF1(1), △ RF1(2) is the random error of the first switch RFin1 when the first RF connecting line and the second RF connecting line are connected to the first spectrum analyzer, RF2 is the systematic error of the second switch RFin2 in the matrix switch, △RF2(1) and △RF2(2) are the random errors of the second switch RFin1 when the first RF connecting line and the second RF connecting line are connected to the second spectrum analyzer, L1 is the systematic error of the first RF connecting line, L2 is the systematic error of the second RF connecting line, △L1(1) is the random error of the first RF connecting line when the first RF connecting line is connected to the first spectrum analyzer, △L2(1) is the random error of the second RF connecting line when the second RF connecting line is connected to the first spectrum analyzer, △L1(2) is the random error of the first RF connecting line when the first RF connecting line is connected to the second spectrum analyzer, and △L2(2) is the random error of the second RF connecting line when the second RF connecting line is connected to the second spectrum analyzer.

[0095] The matrix switch includes a first switch RFin1 and a second switch RFin2. The first switch RFin1 is used to switch the first RF connection line and the second RF connection line to be connected to the first spectrum analyzer through the third RF connection line, and calibrate to obtain a first line loss value 1A and a second line loss value 2A. The second switch RFin2 is used to switch the first RF connection line and the second RF connection line to be connected to the second spectrum analyzer through the fourth RF connection line, and calibrate to obtain a third line loss value 1B and a fourth line loss value 2B.

[0096] It can be understood that if the RF line only includes the first RF connection line and the second RF connection line, and does not include the matrix switch, the third RF connection line and the fourth RF connection line, then formulas (1) to (4) do not include LA, LB, △LA, △LB, RF1, RF2, △RF1 and △RF2 components.

[0097] According to formulas (1) to (4), we can get:

[0098] delta1=1A-1B=SA-SB+△SA(1)-△SB(1)+LA-LB+△LA(1)-△LB(1)+RF1-RF2+△RF1(1)-△RF2(1)+△L1(1)-△L1(2) (5)

[0099] delta2=2A-2B=SA-SB+△SA(2)-△SB(2)+LA-LB+△LA(2)-△LB(2)+RF1-RF2+△RF1(2)-△RF2(2)+△L2(1)-△L2(2) (6)

[0100] According to formulas (5) and (6), we can get:

[0101] delta3=delta2-delta1=[△SA(1)-△SB(1)]-[△SA(2)-△SB(2)]+[△LA(1)-△LB(1)]-[△LA(2) -△LB(2)]+[△RF1(1)-△RF2(1)]-[△RF1(2)-△RF2(2)]+[△L1(1)-△L1(2)]-[△L2(1)-△L2(2)] (7)

[0102] It can be seen from formula (7) that all system errors (inherent line loss) are eventually offset, and delta3 is only related to the random error in the calibration process. It is understandable that in the case of an ideal test system, all random errors can be ignored, so theoretically delta3 is equal to 0, and delta3 is generally allowed to have a small range of errors, that is, the first preset range of -0.3dB to 0.3dB. However, in actual testing, the test system cannot guarantee that each calibration process is ideal, and there will always be some abnormal (large) random errors. Any large random error will cause delta3 to exceed the first preset range of -0.3dB to 0.3dB. Therefore, by judging whether delta3 exceeds the first preset range, it can provide a basis for judging the reliability of each line loss value, thereby effectively improving the calibration accuracy of the RF line loss.

[0103] In some embodiments, it is understood that the related calculations of the first line loss value 1A, the second line loss value 2A, the third line loss value 1B, and the fourth line loss value 2B may be, but are not limited to, addition, subtraction, multiplication, division, square, square root, weighting, etc., in order to offset the inherent line loss so that the calculation result is only related to the random error in the calibration process. For example, the related operation may use a subtraction operation to obtain the third difference delta3, in order to offset the inherent line loss so that the third difference delta3 is only related to the random error in the calibration process. Therefore, the calculation method of the third difference delta3 is not limited to the above-mentioned calculation method, as long as it can offset the inherent line loss. For example: when calculating the first difference delta1 and the second difference delta2, the first difference delta1 can be defined as 1A-2A, and the second difference delta2 as 1B-2B. Then the third difference delta3=delta1-delta2=(1A-2A)-(1B-2B)=(1A-1B)-(2A-2B)=[△SA(1)-△SB(1)]-[△SA(2)-△SB(2)]+[△LA(1)-△LB(1)]-[△LA(2)-△LB(2)]+[△RF1(1)-△RF2(1)]-[△RF1(2)-△RF2(2)]+[△L1(1)-△L1(2)]-[△L2(1)-△L2(2)]. It can be seen that the calculation result is the same as the above calculation result. This calculation method differs from the above calculation method only in the calculation formulas of the first difference delta1 and the second difference delta2, but has no effect on the calculation formula of the third difference delta3.

[0104] In some embodiments, reference Figure 8 , step S210 includes:

[0105] S211, calculating the difference between the first line loss value and the third line loss value;

[0106] S212, determining whether the difference between the first line loss value and the third line loss value is within a second preset range, if so, executing S213, otherwise, stopping the calculation or recalculating;

[0107] S213: Determine a difference between the first line loss value and the third line loss value as a first difference.

[0108] The difference between the first line loss value 1A and the third line loss value 1B is calculated to determine whether the difference between the first line loss value 1A and the third line loss value 1B is within the second preset range. If it is within the second preset range, the calculation process is normal, and the difference between the first line loss value 1A and the third line loss value 1B is determined to be the first difference delta1. If it is not within the second preset range, the calculation process may be abnormal, and the calculation needs to be stopped or recalculated. If necessary, the test needs to be stopped or the line loss value needs to be retested.

[0109] Determine whether the difference between the first line loss value 1A and the third line loss value 1B is within the second preset range. If the difference between the first line loss value 1A and the third line loss value 1B is not within the second preset range, it proves that the first line loss value 1A and the third line loss value 1B measured by different spectrum analyzers are obviously abnormal, and directly check the connection between the spectrum analyzer and the calibration signal source. If the first line loss value 1A and the third line loss value 1B are within the second preset range, it proves that the line loss values ​​measured by different spectrum analyzers are within the allowable error range, and no obvious abnormality occurs. Therefore, by determining whether the difference between the first line loss value 1A and the third line loss value 1B is within the second preset range, obvious abnormalities can be eliminated, making the line loss value calibration more accurate.

[0110] In some embodiments, reference Fig. 9 , step S220 includes:

[0111] S221, calculating the difference between the second line loss value and the fourth line loss value;

[0112] S222, determining whether the difference between the second line loss value and the fourth line loss value is within a third preset range, if so, executing S223, otherwise, stopping the test or retesting;

[0113] S223. Determine the difference between the second line loss value and the fourth line loss value as a second difference.

[0114] The difference between the second line loss value 2A and the fourth line loss value 2B is calculated, and it is determined whether the difference between the second line loss value 2A and the fourth line loss value 2B is within a third preset range. If it is within the third preset range, the calculation process is normal, and the difference between the second line loss value 2A and the fourth line loss value 2B is determined to be the second difference delta2. If it is not within the third preset range, the calculation process may be abnormal, and the calculation needs to be stopped or recalculated. If necessary, the test needs to be stopped or the line loss value needs to be retested.

[0115] Determine whether the difference between the second line loss value 2A and the fourth line loss value 2B is within the third preset range. If the difference between the second line loss value 2A and the fourth line loss value 2B is not within the third preset range, it proves that the second line loss value 2A and the fourth line loss value 2B measured by different spectrum analyzers are obviously abnormal, and there is no need to calibrate the line loss value. Directly check the connection between the spectrum analyzer and the calibration signal source. If the difference between the second line loss value 2A and the fourth line loss value 2B is within the third preset range, it proves that the measured second line loss value 2A and the fourth line loss value 2B meet the allowable error range, and the next step of calculation can be performed. Therefore, by determining whether the difference between the second line loss value 2A and the fourth line loss value 2B is within the third preset range, obvious abnormal situations can be eliminated, thereby improving the calibration accuracy of the line loss value.

[0116] In some embodiments, the second preset range and the third preset range are both -0.5 dB to 0.5 dB. It is understandable that the second preset range and the third preset range can be adjusted according to actual requirements, and the second preset range and the third preset range can be equal or unequal.

[0117] In some embodiments, reference Fig.10 , step S300 includes:

[0118] S310, determining whether the third difference is within the first preset range, if so, executing S320; otherwise, stopping the test or retesting;

[0119] S320: Determine at least one of the first line loss value, the second line loss value, the third line loss value, and the fourth line loss value as a radio frequency line loss value.

[0120] It is determined whether the third difference delta3 is within the first preset range. If it is within the first preset range, at least one of the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B is determined to be a radio frequency line loss value. That is, if the third difference delta3 is within the third preset range, the calibration accuracy of the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B meets the requirements, and the calibration process is normal; if the third difference delta3 is not within the third preset range, a large error occurs during the calibration process, and the test needs to be stopped or retested.

[0121] It is worth explaining here that, since the most likely problem in the actual test is the RF line (wiring problem), if the third difference delta3 is not within the third preset range, when retesting is required, priority should be given to checking the RF line (wiring problem) to shorten the inspection time of the staff and improve inspection efficiency.

[0122] In some embodiments, the first preset range is -0.3 dB to 0.3 dB. It is understandable that the first preset range can be adjusted according to actual requirements.

[0123] In some embodiments, reference Fig.11 , before step S200, further comprising:

[0124] S400, determining whether the first line loss value, the second line loss value, the third line loss value and the fourth line loss value are all within a fourth preset range; if so, executing S500, otherwise, stopping the test or retesting;

[0125] S500, performing correlation calculation on a first line loss value, a second line loss value, a third line loss value, and a fourth line loss value.

[0126] Determine whether the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B are all within the fourth preset range. If they are all within the fourth preset range, it is preliminarily determined that the calibration process of the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B is normal, and relevant calculations are performed on the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B; if one line loss value (for example, the first line loss value 1A) is not within the fourth preset range, it is preliminarily determined that the calibration process of the first line loss value 1A is obviously abnormal, and it is necessary to stop the test or retest the first line loss value 1A.

[0127] In some embodiments, reference Fig.12 , the RF line loss calibration method also includes:

[0128] S600, using the first line loss value and the fourth line loss value to perform a radio frequency power test on the device to be tested, to obtain a first test power;

[0129] S700, using the second line loss value and the third line loss value to perform a radio frequency power test on the device to be tested, to obtain a second test power;

[0130] S800, comparing the first test power and the second test power;

[0131] S900. Determine the calibration accuracy of the first line loss value, the second line loss value, the third line loss value, and the fourth line loss value according to the comparison result.

[0132] In some embodiments, the device under test has a first RF channel and a second RF channel. In step S600, the RF power test of the device under test is performed using the first line loss value and the fourth line loss value, specifically, the first RF channel and the first spectrum analyzer of the device under test are respectively connected by the first RF connection line, and the second RF channel and the second spectrum analyzer of the device under test are respectively connected by the fourth RF connection line, and the RF power test is performed. At this time, the sum of the powers obtained by the first spectrum analyzer and the second spectrum analyzer is the first test power. In step S700, the RF power test of the device under test is performed using the second line loss value and the third line loss value, specifically, the first RF channel and the first spectrum analyzer of the device under test are respectively connected by the second RF connection line, and the second RF channel and the second spectrum analyzer of the device under test are respectively connected by the third RF connection line, and the RF power test is performed. At this time, the sum of the powers obtained by the first spectrum analyzer and the second spectrum analyzer is the second test power. It can be seen from formulas (1) to (4) that the sum of the first line loss value 1A and the fourth line loss value 2B, and the sum of the second line loss value 2A and the third line loss value 1B are equal. If the first line loss value 1A and the fourth line loss value 2B are used to perform an RF power test on the device under test, and the second line loss value 2A and the third line loss value 1B are used to perform an RF power test, the two test powers (the first test power and the second test power) obtained are theoretically equal. In this embodiment, the RF power test of the device under test is performed by cross-calling four line loss values. By comparing the two test powers, the calibration accuracy of the first line loss value 1A, the second line loss value 2A, the third line loss value 1B, and the fourth line loss value 2B can be further determined. That is, if the two test powers are equal, the calibration accuracy of the line loss value meets the requirements.

[0133] In some embodiments, the first RF channel and the second RF channel are both RF channels of any of the following devices: AAU device (Active Antenna Unit), RRU device (Remote Radio Unit), and AFU device (Antenna Filter Unit), etc.

[0134] The above-mentioned device under test is usually provided with multiple RF channels for transmitting multiple RF signals, so the calibration accuracy of the RF line loss is required to be higher. Taking the device under test as an AAU device as an example, multiple tooling boards (or other signal connectors) are connected one-to-one with multiple RF channels of the AAU device. The RF signal is transmitted to the RF line through the tooling board, and then transmitted to the spectrum analyzer through the RF line. The spectrum analyzer measures the RF line loss based on the received RF signal. It can be understood that this embodiment only takes two RF channels as an example for explanation. If multiple RF channels need to be set, multiple tooling boards are set accordingly, and the multiple RF channels are respectively connected to the first spectrum analyzer and the second spectrum analyzer to calibrate and calculate the RF line loss. The calibration and calculation process is the same as the process when setting two RF channels, and will not be repeated here.

[0135] In some embodiments, there are multiple RF channels, and two tooling boards are used to connect two RF channels respectively. After measuring the line loss values ​​between the two RF channels and the spectrum analyzers by two spectrum analyzers, the line loss values ​​are calibrated. After calibrating the two RF channels, the two tooling boards are moved to connect the other two RF channels to calibrate the line loss values ​​between the other two RF channels and the two spectrum analyzers. Therefore, two RF channels are tested in parallel by means of two tooling boards and two spectrum analyzers, thereby improving the test efficiency. In other embodiments, there are multiple RF channels, and multiple tooling boards and spectrum analyzers are correspondingly set. Multiple spectrum analyzers are started at the same time, and the line loss value from each RF channel to the spectrum analyzer is calibrated at the same time, thereby improving the calibration efficiency of the line loss value.

[0136] In some embodiments, the radio frequency signal is set with a frequency point, referring to Fig.13 , the RF line loss calibration method also includes:

[0137] S1000, executing steps S100 to S300 for the radio frequency signals at each frequency point, respectively, to obtain a plurality of third difference values ​​corresponding to the respective frequency points; wherein the third difference values ​​are obtained by respectively testing the radio frequency signals at the current frequency point transmitted from the first radio frequency channel and the second radio frequency channel by the first spectrum analyzer and the second spectrum analyzer, and are calculated by executing steps S100 to S300;

[0138] S1100, sending a plurality of third difference values ​​to a printing device for printing.

[0139] Different frequencies are set by software, and the device under test transmits the RF signals of these different frequencies in turn. The RF signals of these different frequencies are transmitted by the calibration signal source, and the third difference at each frequency is obtained by executing steps S100 to S300 to obtain multiple third difference values. The software sends the multiple third difference values ​​to the printing device for printing. The printing result is as follows:

[0140] [11:40:02] Spectrum analyzer error: frequency point 2550.00MHz error: 0.03db threshold [0, 0.30];

[0141] [11:40:02] Spectrum analyzer error: frequency point 2560.00MHz error: 0.00db threshold [0, 0.30];

[0142] [11:40:02] Spectrum analyzer error: frequency point 2570.00MHz error: 0.02db threshold [0, 0.30];

[0143] [11:40:02] Spectrum analyzer error: frequency point 2580.00MHz error: 0.01db threshold [0, 0.30];

[0144] [11:40:02] Spectrum analyzer error: frequency point 2590.00MHz error: 0.03db threshold [0, 0.30];

[0145] [11:40:02] Spectrum analyzer error: frequency point 2600.00MHz error: 0.00db threshold [0, 0.30].

[0146] Among them, 11:40:02 is the printing time, the frequency point is the frequency point of the radio frequency signal emitted by the device under test, the error is the third difference under the corresponding frequency point, and the threshold is the absolute value (0 to 0.3dB) of the first preset range (-0.3dB to 0.3dB).

[0147] In some embodiments, the printing device can be implemented by a printer. In addition, the plurality of third differences can also be sent to a display device for display. The display device can be implemented by a display screen.

[0148] The third difference at different frequency points is printed or displayed to facilitate staff to check and timely grasp the line loss value error during the calibration process.

[0149] According to the above printing results, it can be known that the third difference value of the frequency point 2550.00MHz-2600.00MHz is all within the first preset range. Therefore, the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B measured within the frequency point meet the accuracy requirements of the line loss value. Therefore, the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B measured within the frequency point can be used as the line loss value for calculating the RF power.

[0150] If the third difference at a certain frequency point exceeds the threshold [0, 0.30], the text "calibration failed" can be added after the message to remind the staff to check the test environment in time. As mentioned above, checking the RF line (wiring problem) can be given priority.

[0151] In some embodiments, the RF line loss calibration method can be implemented using an industrial computer, or it can be implemented using other devices with data processing functions such as controllers and processors, and the implementation scheme of the present invention is not specifically limited. Taking the implementation of the RF line loss calibration method using an industrial computer as an example, the principles of the above-mentioned related calculations are implemented in the background test software of the industrial computer using python programming (or other programming methods, such as java, C or C++), and the software prompts the staff to perform calibration operations. During the RF line loss calibration process, the software prompts the staff whether the calibration is successful or failed (or only prompts that the calibration failed), so that the staff can check the calibration environment in time to ensure that the RF line loss calibration accuracy meets the requirements.

[0152] In a third aspect, the present application provides a radio frequency line loss calibration device. Figures 14 to 17 , is a schematic diagram of the structure of a radio frequency line loss calibration device provided in an embodiment of the present application. The device includes:

[0153] a first radio frequency connection circuit, a second radio frequency connection circuit, a third radio frequency connection circuit, and a fourth radio frequency connection circuit;

[0154] A first spectrum analyzer 400, the first spectrum analyzer 400 is used to obtain a first line loss value 1A through calibration of a first radio frequency connection line, and the first spectrum analyzer 400 is also used to obtain a second line loss value 2A through calibration of a second radio frequency connection line;

[0155] A second spectrum analyzer 500, the second spectrum analyzer 500 is used to obtain a third line loss value 1B by calibrating the third radio frequency connection line, and the second spectrum analyzer 500 is also used to obtain a fourth line loss value 2B by calibrating the fourth radio frequency connection line;

[0156] The calculation module 600 is connected to the first spectrum analyzer 400 and the second spectrum analyzer 500 respectively. The calculation module 600 is used to perform relevant calculations on the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B to offset the inherent line loss, and according to the calculation results, determine that at least one of the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B is the RF line loss value.

[0157] The first spectrum analyzer 400 tests the first line loss value 1A and the second line loss value 2A, and the second spectrum analyzer 500 tests the third line loss value 1B and the fourth line loss value 2B. Then, the calculation module 600 can obtain the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B by connecting with the first spectrum analyzer 400 and the second spectrum analyzer 500, and perform relevant calculations on the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B to eliminate the inherent line loss and calibrate the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B, thereby improving the calibration accuracy of the line loss value.

[0158] In some embodiments, the functions of the calculation module 600 can be implemented by an industrial computer, or by a controller, processor, or other device with data processing functions, which is not specifically limited in the implementation scheme of the present invention. Taking the implementation of the calculation module 600 by an industrial computer as an example, the principles of the above-mentioned related calculations are implemented in the background test software of the industrial computer using python programming (or other programming methods, such as java, C, or C++), and the staff is prompted to perform calibration operations through the software. During the RF line loss calibration process, the staff is prompted by the software to indicate whether the calibration is successful or failed (or only to indicate that the calibration failed), so that the staff can check the calibration environment in time to ensure that the RF line loss calibration accuracy meets the requirements.

[0159] In some embodiments, the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B need to be obtained in a preset order, and the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B are all calibrated in an independent calibration operation process. The preset order includes:

[0160] The first line loss value 1A, the second line loss value 2A, the third line loss value 1B, the fourth line loss value 2B; or,

[0161] The first line loss value 1A, the fourth line loss value 2B, the third line loss value 1B, the second line loss value 2A; or,

[0162] The second line loss value 2A, the first line loss value 1A, the fourth line loss value 2B, the third line loss value 1B; or,

[0163] The second line loss value 2A, the third line loss value 1B, the fourth line loss value 2B, the first line loss value 1A; or,

[0164] The third line loss value 1B, the second line loss value 2A, the first line loss value 1A, the fourth line loss value 2B; or,

[0165] The third line loss value 1B, the fourth line loss value 2B, the first line loss value 1A, the second line loss value 2A; or,

[0166] The fourth line loss value is 2B, the first line loss value is 1A, the second line loss value is 2A, and the third line loss value is 1B; or,

[0167] The fourth line loss value is 2B, the third line loss value is 1B, the second line loss value is 2A, and the first line loss value is 1A.

[0168] It is worth noting here that after the above-mentioned preset sequence is designed, it is added to the calibration control program of the calculation module and / or the control program of the matrix switch, and the calibration process and / or the matrix switch are switched according to the above-mentioned preset sequence through the software program, for example, the first line loss value 1A, the second line loss value 2A, the third line loss value 1B, and the fourth line loss value 2B (first use the first spectrum analyzer 400 to calibrate the first direct-connected RF line 200 in sequence, and then calibrate the second direct-connected RF line 300, and then use the second spectrum analyzer 500 to calibrate the first direct-connected RF line 200 in sequence, and then calibrate the second direct-connected RF line 300). According to this staggered order, the independence of the operations of the four line loss calibrations is ensured (each calibration requires reconnection of the RF line), thereby ensuring that the random errors of each measurement are independent and will not be offset in the process of related calculations. Only the inherent line loss of the measurement environment is offset.

[0169] Taking the preset sequence of the first line loss value 1A, the second line loss value 2A, the third line loss value 1B, and the fourth line loss value 2B as an example, the switching process of the calibration line is described as follows: Figures 1 to 4 The first line loss value 1A, the second line loss value 2A, the third line loss value 1B, and the fourth line loss value 2B are calibrated in sequence. Specifically, take the first direct RF line 200, such as Figure 1 As shown, one end of the first direct RF line 200 is connected to the calibration signal source 100, and the other end is connected to the first spectrum analyzer 400, to establish a first RF connection line, and calibrate to obtain a first line loss value 1A. Remove the first direct RF line 200 and take the second direct RF line 300, as shown in FIG. Figure 2 As shown, one end of the second direct RF line 300 is connected to the calibration signal source 100, and the other end is connected to the first spectrum analyzer 400 to establish a second RF connection line, and calibrate to obtain a second line loss value 2A. Remove the second direct RF line 300, as shown in FIG. Figure 3 As shown, one end of the first direct RF line 200 is connected to the calibration signal source 100, and the other end is connected to the second spectrum analyzer 500, to establish a third RF connection line, and calibrate to obtain a third line loss value 1B. Remove the first direct RF line 200, as shown in FIG. Figure 4 As shown, one end of the second direct RF line 300 is connected to the calibration signal source 100, and the other end is connected to the second spectrum analyzer 500, so as to establish a fourth RF connection line, and calibrate to obtain a fourth line loss value 2B.

[0170] In some embodiments, reference Figures 14 to 17 , the RF line loss calibration device also includes:

[0171] The matrix switch 700 includes:

[0172] A first RF input terminal 710, used for connecting to a calibration signal source 100;

[0173] The second RF input terminal 720 is used to connect to the calibration signal source 100;

[0174] The first RF output terminal 730 is used to connect to the first spectrum analyzer 400;

[0175] The second RF output terminal 740 is used to connect to the second spectrum analyzer 500;

[0176] The matrix switch 700 is used to establish a first radio frequency connection line, a second radio frequency connection line, a third radio frequency connection line and a fourth radio frequency connection line through switching.

[0177] The first RF connection line, the second RF connection line, the third RF connection line and the fourth RF connection line are established by switching through the matrix switch 700 to prevent unnecessary errors caused by manual switching of RF lines. Therefore, the matrix switch 700 is used for switching, which is easy to operate and ensures calculation accuracy.

[0178] The matrix switch 700 is only one implementation method. The matrix switch 700 may also be replaced by other wiring methods or switches, such as two RF lines interlacedly connected between the RF channel and the spectrum analyzer to establish four RF paths; for example, a single-pole double-throw switch, a multi-pole multi-throw switch, a cascade switch, a tree switch or a rotary conversion switch may be used to replace the matrix switch 700.

[0179] refer to Figures 14 to 17 In some embodiments, a first RF connection line 800 is connected between the calibration signal source 100 and the matrix switch 700, a second RF connection line 900 is connected between the calibration signal source 100 and the matrix switch 700, a third RF connection line 1000 is connected between the matrix switch 700 and the first spectrum analyzer 400, and a fourth RF connection line 1100 is connected between the matrix switch 700 and the second spectrum analyzer 500. The matrix switch 700 controls the first RF connection line 800 and the third RF connection line 1000 to form a first RF connection line, the second RF connection line 900 and the third RF connection line 1000 to form a second RF connection line, the second RF connection line 900 and the third RF connection line 1000 to form a third RF connection line, and the second RF connection line 900 and the fourth RF connection line 1100 to form a fourth RF connection line. Therefore, the operation of the first RF connection line, the second RF connection line, the third RF connection line, and the fourth RF connection line is simple and easy to implement through the matrix switch 700.

[0180] The first RF connection line is a RF line formed by connecting the first RF input terminal 710 with the first RF connection line 800, and connecting the first RF output terminal 730 with the first spectrum analyzer 400 through the third RF connection line 1000;

[0181] The second RF connection line is a RF line formed by connecting the second RF input terminal 720 with the second RF connection line 900, and connecting the first RF output terminal 730 with the first spectrum analyzer 400 through the third RF connection line 1000;

[0182] The third RF connection line is a RF line formed by connecting the first RF connection line 800 to the first RF input terminal 710 and connecting the second RF output terminal 740 to the second spectrum analyzer 500 through a fourth RF connection line 1100;

[0183] The fourth RF connection line is a RF line formed by connecting the second RF connection line 900 to the second RF input terminal 720 , and connecting the second RF output terminal 740 to the second spectrum analyzer 500 through the fourth RF connection line 1100 .

[0184] Reference below Figures 14 to 18 , the scheme of this embodiment is described in detail with a specific embodiment. It is worth noting that the following description is only an exemplary description, and is not a specific limitation to this embodiment.

[0185] Reference Fig.14 When calibration starts for the first time, one end of the first RF connection line 800 is connected to the calibration signal source 100, and the other end is connected to the first RF input terminal 710. The first RF output terminal 730 is connected to the first spectrum analyzer 400 through the third RF connection line 1000. Then, the first RF input terminal 710 and the first RF output terminal 730 are connected through the internal switching of the matrix switch 700 to realize the first RF connection line, and the first line loss value 1A is obtained by calibration. Fig.15 During the second calibration, one end of the second RF connection line 900 is connected to the calibration signal source 100, and the other end is connected to the second RF input terminal 720. The first RF output terminal 730 is connected to the first spectrum analyzer 400 through the third RF connection line 1000, and then the second RF input terminal 720 and the first RF output terminal 730 are connected through the internal switching of the matrix switch 700 to realize the second RF connection line, and the second line loss value 2A is obtained by calibration. Fig.16 During the third calibration, one end of the first RF connection line 800 is connected to the calibration signal source 100, and the other end is connected to the first RF input terminal 710; the second RF output terminal 740 is connected to the second spectrum analyzer 500 through the fourth RF connection line 1100, and then the first RF input terminal 710 and the second RF output terminal 740 are connected through the internal switching of the matrix switch 700 to realize the third RF connection line, and the third line loss value 1B is obtained by calibration. Fig.17During the fourth calibration, one end of the second RF connection line 900 is connected to the calibration signal source 100, and the other end is connected to the second RF input terminal 720; the second RF output terminal 740 is connected to the second spectrum analyzer 500 through the fourth RF connection line 1100, and then the second RF input terminal 720 and the second RF output terminal 740 are connected through the internal switching of the matrix switch 700 to realize the fourth RF connection line, and the fourth line loss value 2B is calibrated. Therefore, the calculation module 600 connects the first spectrum analyzer 400 and the second spectrum analyzer 500 to obtain the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B, and calibrates the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B, thereby improving the calibration accuracy of the line loss value.

[0186] The first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B are defined as follows:

[0187] 1A=SA+△SA(1)+LA+△LA(1)+RF1+△RF1(1)+L1+△L1(1) (1)

[0188] 2A=SA+△SA(2)+LA+△LA(2)+RF1+△RF1(2)+L2+△L2(1) (2)

[0189] 1B=SB+△SB(1)+LB+△LB(1)+RF2+△RF2(1)+L1+△L1(2) (3)

[0190] 2B=SB+△SB(2)+LB+△LB(2)+RF2+△RF2(2)+L2+△L2(2) (4)

[0191] Wherein, SA is the systematic error of the first spectrum analyzer, △SA(1) and △SA(2) are the random errors of the first spectrum analyzer when the first RF connecting line and the second RF connecting line are connected to the first spectrum analyzer, SB is the systematic error of the second spectrum analyzer, △SB(1) and △SB(2) are the random errors of the second spectrum analyzer when the first RF connecting line and the second RF connecting line are connected to the second spectrum analyzer, LA is the systematic error of the third RF connecting line, △LA(1) and △LA(2) are the random errors of the third RF connecting line when the first RF connecting line and the second RF connecting line are connected to the first spectrum analyzer, LB is the systematic error of the fourth RF connecting line, △LB(1) and △LB(2) are the random errors of the fourth RF connecting line when the first RF connecting line and the second RF connecting line are connected to the second spectrum analyzer, RF1 is the systematic error of the first switch RFin1 in the matrix switch, △RF1(1), △ RF1(2) is the random error of the first switch RFin1 when the first RF connecting line and the second RF connecting line are connected to the first spectrum analyzer, RF2 is the systematic error of the second switch RFin2 in the matrix switch, △RF2(1) and △RF2(2) are the random errors of the second switch RFin1 when the first RF connecting line and the second RF connecting line are connected to the second spectrum analyzer, L1 is the systematic error of the first RF connecting line, L2 is the systematic error of the second RF connecting line, △L1(1) is the random error of the first RF connecting line when the first RF connecting line is connected to the first spectrum analyzer, △L2(1) is the random error of the second RF connecting line when the second RF connecting line is connected to the first spectrum analyzer, △L1(2) is the random error of the first RF connecting line when the first RF connecting line is connected to the second spectrum analyzer, and △L2(2) is the random error of the second RF connecting line when the second RF connecting line is connected to the second spectrum analyzer.

[0192] The matrix switch includes a first switch RFin1 and a second switch RFin2. The first switch RFin1 is used to switch the first RF connection line, the second RF connection line is connected to the first spectrum analyzer through the third RF connection line, and the first line loss value 1A and the second line loss value 2A are calibrated. The second switch RFin2 is used to switch the first RF connection line, the second RF connection line is connected to the second spectrum analyzer through the fourth RF connection line, and the third line loss value 1B and the fourth line loss value 2B are calibrated.

[0193] It is understandable that if the RF line loss calibration device does not include the matrix switch, the third RF connecting line and the fourth RF connecting line, the LA, LB, ΔLA, ΔLB, RF1, RF2, ΔRF1 and ΔRF2 components are not included in formulas (1) to (4).

[0194] According to formulas (1) to (4), we can get:

[0195] delta1=1A-1B=SA-SB+△SA(1)-△SB(1)+LA-LB+△LA(1)-△LB(1)+RF1-RF2+△RF1(1)-△RF2(1)+△L1(1)-△L1(2) (5)

[0196] delta2=2A-2B=SA-SB+△SA(2)-△SB(2)+LA-LB+△LA(2)-△LB(2)+RF1-RF2+△RF1(2)-△RF2(2)+△L2(1)-△L2(2) (6)

[0197] According to formulas (5) and (6), we can get:

[0198] delta3=delta2-delta1=[△SA(1)-△SB(1)]-[△SA(2)-△SB(2)]+[△LA(1)-△LB(1)]-[△LA(2) -△LB(2)]+[△RF1(1)-△RF2(1)]-[△RF1(2)-△RF2(2)]+[△L1(1)-△L1(2)]-[△L2(1)-△L2(2)] (7)

[0199] It can be seen from formula (7) that all system errors (inherent line loss) are eventually offset, and delta3 is only related to the random error in the calibration process. It is understandable that in the case of an ideal test system, all random errors can be ignored, so theoretically delta3 is equal to 0, and delta3 is generally allowed to have a small range of errors, that is, the first preset range of -0.3dB to 0.3dB. However, in actual testing, the test system cannot guarantee that each calibration process is ideal, and there will always be some abnormal (large) random errors. Any large random error will cause delta3 to exceed the first preset range of -0.3dB to 0.3dB. Therefore, by judging whether delta3 exceeds the first preset range, it can provide a basis for judging the reliability of each line loss value, thereby effectively improving the calibration accuracy of the RF line loss.

[0200] In some embodiments, it is understood that the related calculations of the first line loss value 1A, the second line loss value 2A, the third line loss value 1B, and the fourth line loss value 2B may be, but are not limited to, addition, subtraction, multiplication, division, square, square root, weighting, etc., in order to offset the inherent line loss so that the calculation result is only related to the random error in the calibration process. For example, the related operation may use a subtraction operation to obtain the third difference delta3, in order to offset the inherent line loss so that the third difference delta3 is only related to the random error in the calibration process. Therefore, the calculation method of the third difference delta3 is not limited to the above-mentioned calculation method, as long as it can offset the inherent line loss. For example: when calculating the first difference delta1 and the second difference delta2, the first difference delta1 can be defined as 1A-2A, and the second difference delta2 as 1B-2B. Then the third difference delta3=delta1-delta2=(1A-2A)-(1B-2B)=(1A-1B)-(2A-2B)=[△SA(1)-△SB(1)]-[△SA(2)-△SB(2)]+[△LA(1)-△LB(1)]-[△LA(2)-△LB(2)]+[△RF1(1)-△RF2(1)]-[△RF1(2)-△RF2(2)]+[△L1(1)-△L1(2)]-[△L2(1)-△L2(2)]. It can be seen that the calculation result is the same as the above calculation result. This calculation method differs from the above calculation method only in the calculation formulas of the first difference delta1 and the second difference delta2, but has no effect on the calculation formula of the third difference delta3.

[0201] In some embodiments, reference Fig.18 The device also includes: a device under test 1200, the radio frequency signal of the device under test 1200 is output through the radio frequency channel, and the device under test 1200 is provided with multiple radio frequency channels, so as to output the radio frequency signal through the multiple radio frequency channels.

[0202] In some embodiments, reference Fig.19, the device under test 1200 has a first RF channel 1210 and a second RF channel 1220. The first RF connection line is used to connect the first RF channel 1210 of the device under test 1200 and the first spectrum analyzer 400, and the fourth RF connection line is used to connect the second RF channel 1220 of the device under test 1200 and the second spectrum analyzer 500, respectively, to perform a RF power test. At this time, the sum of the powers tested by the first spectrum analyzer 400 and the second spectrum analyzer 500 is the first test power. The second RF connection line is used to connect the first RF channel 1210 of the device under test 1200 and the first spectrum analyzer 400, respectively, and the third RF connection line is used to connect the second RF channel 1220 of the device under test 1200 and the second spectrum analyzer 500, respectively. Perform a RF power test. At this time, the sum of the powers tested by the first spectrum analyzer 400 and the second spectrum analyzer 500 is the second test power. It can be seen from formulas (1) to (4) that the sum of the first line loss value 1A and the fourth line loss value 2B, and the sum of the second line loss value 2A and the third line loss value 1B are equal. If the first line loss value 1A and the fourth line loss value 2B are used to perform an RF power test on the device under test, and the second line loss value 2A and the third line loss value 1B are used to perform an RF power test, the two test powers (the first test power and the second test power) obtained are theoretically equal. In this embodiment, the RF power test of the device under test is performed by cross-calling four line loss values. By comparing the two test powers, the calibration accuracy of the first line loss value 1A, the second line loss value 2A, the third line loss value 1B, and the fourth line loss value 2B can be further determined. That is, if the two test powers are equal, the calibration accuracy of the line loss value meets the requirements.

[0203] In some embodiments, the first RF channel 1210 and the second RF channel 1220 are signal sources output through the RF channels of any of the following devices: AAU device, RRU device, AFU device, etc.

[0204] Among them, the AAU device is an active antenna unit device, the RRU device is a remote radio frequency unit device, and the AFU device is an antenna filter unit device. The above-mentioned device under test is usually provided with multiple radio frequency channels for transmitting multiple radio frequency signals, so the calibration accuracy of the radio frequency line loss is required to be higher. Taking the device under test 1200 as an AAU device as an example, multiple tooling boards (or other signal connectors) are connected to multiple radio frequency channels of the AAU device one by one, and the radio frequency signal is transmitted to the radio frequency line through the tooling board, and then transmitted to the spectrum analyzer through the radio frequency line. The spectrum analyzer measures the radio frequency line loss according to the received radio frequency signal. It can be understood that this embodiment only takes two radio frequency channels as an example for explanation. If multiple radio frequency channels need to be set, multiple tooling boards are set accordingly, and the multiple radio frequency channels are respectively connected to the first spectrum analyzer and the second spectrum analyzer to calibrate and calculate the radio frequency line loss. The calibration and calculation process is the same as the process when setting two radio frequency channels, and will not be repeated here. In some embodiments, the RF signal is output by a RF channel on the device under test 1200, wherein multiple RF channels are provided on the device under test 1200, and when performing RF line loss calibration, only one RF channel needs to be used to output a calibration signal source. When performing RF line loss calibration, multiple RF channels can be connected simultaneously to achieve multiple line loss value measurements.

[0205] In some embodiments, there are multiple RF channels, and two tooling boards are used to connect two RF channels respectively. After measuring the line loss values ​​between the two RF channels and the spectrum analyzers by two spectrum analyzers, the line loss values ​​are calibrated. After calibrating the two RF channels, the two tooling boards are moved to connect the other two RF channels to calibrate the line loss values ​​between the other two RF channels and the two spectrum analyzers. Therefore, two RF channels are tested in parallel by means of two tooling boards and two spectrum analyzers, thereby improving the test efficiency. In other embodiments, there are multiple RF channels, and multiple tooling boards and spectrum analyzers are correspondingly set. Multiple spectrum analyzers are started at the same time, and the line loss value from each RF channel to the spectrum analyzer is calibrated at the same time, thereby improving the calibration efficiency of the line loss value.

[0206] In some embodiments, the device under test 1200 may also be other devices with radio frequency transmission function, such as a mobile phone, a walkie-talkie, etc.

[0207] In some embodiments, the device under test 1200 transmits these radio frequency signals of different frequencies in sequence, and transmits these radio frequency signals of different frequencies through the calibration signal source. The calculation module 600 obtains the third difference at each frequency point respectively to obtain multiple third difference values. The calculation module 600 sends the multiple third difference values ​​to the printing device for printing. The printing result is as follows:

[0208] [11:40:02] Spectrum analyzer error: frequency point 2550.00MHz error: 0.03db threshold [0, 0.30];

[0209] [11:40:02] Spectrum analyzer error: frequency point 2560.00MHz error: 0.00db threshold [0, 0.30];

[0210] [11:40:02] Spectrum analyzer error: frequency point 2570.00MHz error: 0.02db threshold [0, 0.30];

[0211] [11:40:02] Spectrum analyzer error: frequency point 2580.00MHz error: 0.01db threshold [0, 0.30];

[0212] [11:40:02] Spectrum analyzer error: frequency point 2590.00MHz error: 0.03db threshold [0, 0.30];

[0213] [11:40:02] Spectrum analyzer error: frequency point 2600.00MHz error: 0.00db threshold [0, 0.30].

[0214] Among them, 11:40:02 is the printing time, the frequency point is the frequency point of the radio frequency signal emitted by the device under test, the error is the third difference under the corresponding frequency point, and the threshold is the absolute value (0 to 0.3dB) of the first preset range (-0.3dB to 0.3dB).

[0215] In some embodiments, the printing device can be implemented by a printer. In addition, the plurality of third differences can also be sent to a display device for display. The display device can be implemented by a display screen.

[0216] The third difference at different frequency points is printed or displayed to facilitate staff to check and timely grasp the line loss value error during the calibration process.

[0217] According to the above printing results, it can be known that the third difference value of the frequency point 2550.00MHz-2600.00MHz is all within the first preset range. Therefore, the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B measured within the frequency point meet the accuracy requirements of the line loss value. Therefore, the first line loss value 1A, the second line loss value 2A, the third line loss value 1B and the fourth line loss value 2B measured within the frequency point can be used as the line loss value for calculating the RF power.

[0218] In a fourth aspect, the present application provides an electronic device, which may be an industrial computer, or a notebook computer, a tablet computer, a handheld computer, a super mobile personal computer, a netbook, or other device with data processing function, which is not specifically limited in the present embodiment.

[0219] The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following is achieved:

[0220] The RF line loss calibration method as described in the first aspect above.

[0221] For example, steps S100 to S300, S110 to S140, S210 to S230, S211 to S213, S221 to S223, S310 to S320, S400 to S500, S600 to S900 or S1000 to S1100 of the RF line loss calibration method described in the first aspect above may be performed.

[0222] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to:

[0223] Execute the RF line loss calibration method described in the first aspect.

[0224] For example, steps S100 to S300, S110 to S140, S210 to S230, S211 to S213, S221 to S223, S310 to S320, S400 to S500, S600 to S900 or S1000 to S1100 of the RF line loss calibration method described in the first aspect above may be performed.

[0225] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0226] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0227] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions without violating the spirit of the present application. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present application.

Claims

1. A radio frequency line loss calibration method, characterized in that: include: Obtain a first line loss value, a second line loss value, a third line loss value, and a fourth line loss value; wherein the first line loss value is a line loss value obtained by calibrating the first RF connection line to the first spectrum analyzer, the second line loss value is a line loss value obtained by calibrating the second RF connection line to the first spectrum analyzer; the third line loss value is a line loss value obtained by calibrating the third RF connection line to the second spectrum analyzer, and the fourth line loss value is a line loss value obtained by calibrating the fourth RF connection line to the second spectrum analyzer; performing correlation calculation on the first line loss value, the second line loss value, the third line loss value and the fourth line loss value to offset the inherent line loss; According to the calculation result, determining at least one of the first line loss value, the second line loss value, the third line loss value, and the fourth line loss value as a radio frequency line loss value; The performing correlation calculation on the first line loss value, the second line loss value, the third line loss value and the fourth line loss value includes: Calculating a difference between the first line loss value and the third line loss value to obtain a first difference; Calculating a difference between the second line loss value and the fourth line loss value to obtain a second difference; The difference between the first difference and the second difference is calculated to obtain a third difference.

2. The radio frequency line loss calibration method according to claim 1, characterized in that: The obtaining of the first line loss value, the second line loss value, the third line loss value and the fourth line loss value comprises: Using a matrix switch to establish a first radio frequency connection line, and obtaining a first line loss value obtained by calibration of the first spectrum analyzer; Using a matrix switch to establish a second radio frequency connection line, and obtaining a second line loss value obtained by calibration of the first spectrum analyzer; Using the matrix switch to establish a third radio frequency connection line, and obtaining a third line loss value obtained by calibration of the second spectrum analyzer; A fourth radio frequency connection line is established by switching using the matrix switch, and a fourth line loss value obtained by calibration of the second spectrum analyzer is obtained.

3. The RF line loss calibration method according to claim 2, characterized in that: The obtaining of the first line loss value, the second line loss value, the third line loss value and the fourth line loss value further includes: The first line loss value, the second line loss value, the third line loss value and the fourth line loss value are obtained in a preset order, so that any one of the first line loss value, the second line loss value, the third line loss value and the fourth line loss value is calibrated in an independent calibration operation process.

4. The radio frequency line loss calibration method according to claim 1, characterized in that: The step of determining, according to the calculation result, at least one of the first line loss value, the second line loss value, the third line loss value, and the fourth line loss value as a radio frequency line loss value comprises: Determine whether the third difference is within a first preset range; If so, at least one of the first line loss value, the second line loss value, the third line loss value and the fourth line loss value is determined to be a radio frequency line loss value.

5. The radio frequency line loss calibration method according to claim 4, characterized in that: The first preset range is -0.3dB to 0.3dB.

6. The radio frequency line loss calibration method according to claim 1, characterized in that: The calculating the difference between the first line loss value and the third line loss value to obtain a first difference includes: Calculating a difference between the first line loss value and the third line loss value; Determine whether the difference between the first line loss value and the third line loss value is within a second preset range; If yes, determining the difference between the first line loss value and the third line loss value as a first difference; The calculating the difference between the second line loss value and the fourth line loss value to obtain a second difference includes: Calculating a difference between the second line loss value and the fourth line loss value; Determining whether a difference between the second line loss value and the fourth line loss value is within a third preset range; If so, the difference between the second line loss value and the fourth line loss value is determined to be a second difference.

7. The radio frequency line loss calibration method according to claim 1, 2, 3, 4, 5 or 6, characterized in that: Before the correlation calculation is performed on the first line loss value, the second line loss value, the third line loss value and the fourth line loss value, the method further includes: Determining whether the first line loss value, the second line loss value, the third line loss value, and the fourth line loss value are all within a fourth preset range; If so, the correlation calculation of the first line loss value, the second line loss value, the third line loss value and the fourth line loss value is performed.

8. The radio frequency line loss calibration method according to claim 1, characterized in that: Also includes: Performing a radio frequency power test on the device under test using the first line loss value and the fourth line loss value to obtain a first test power; Performing a radio frequency power test on the device under test using the second line loss value and the third line loss value to obtain a second test power; comparing the first test power and the second test power; According to the comparison result, the calibration accuracy of the first line loss value, the second line loss value, the third line loss value and the fourth line loss value is determined.

9. The radio frequency line loss calibration method according to claim 8, characterized in that: The device to be tested is one of the following: AAU device, RRU device, AFU device.

10. A radio frequency line loss calibration device, characterized in that: include: a first radio frequency connection circuit, a second radio frequency connection circuit, a third radio frequency connection circuit and a fourth radio frequency connection circuit; a first spectrum analyzer, the first spectrum analyzer being used to obtain a first line loss value by calibrating the first radio frequency connection line, and the first spectrum analyzer being used to obtain a second line loss value by calibrating the second radio frequency connection line; a second spectrum analyzer, the second spectrum analyzer being used to obtain a third line loss value by calibrating the third radio frequency connection line, and the second spectrum analyzer being used to obtain a fourth line loss value by calibrating the fourth radio frequency connection line; A calculation module, wherein the calculation module is connected to the first spectrum analyzer and the second spectrum analyzer respectively, and the calculation module is used to perform relevant calculations on the first line loss value, the second line loss value, the third line loss value and the fourth line loss value to offset the inherent line loss, and according to the calculation result, determine that at least one of the first line loss value, the second line loss value, the third line loss value and the fourth line loss value is a radio frequency line loss value.

11. The radio frequency line loss calibration device according to claim 10, characterized in that: Also includes: A first radio frequency connection line, a second radio frequency connection line, a third radio frequency connection line, a fourth radio frequency connection line and a matrix switch; The matrix switch comprises: a first radio frequency input terminal, a second radio frequency input terminal, a first radio frequency output terminal and a second radio frequency output terminal; The matrix switch is used to establish the first radio frequency connection line, the second radio frequency connection line, the third radio frequency connection line and the fourth radio frequency connection line through switching; The first RF connection line is a RF line formed by connecting the first RF connection line to the first RF input terminal, and connecting the first RF output terminal to the first spectrum analyzer through the third RF connection line; The second RF connection line is a RF line formed by connecting the second RF connection line to the second RF input terminal, and connecting the first RF output terminal to the first spectrum analyzer through the third RF connection line; The third RF connection line is a RF line formed by connecting the first RF connection line to the first RF input terminal, and connecting the second RF output terminal to the second spectrum analyzer through the fourth RF connection line; The fourth RF connection line is a RF line formed by connecting the second RF connection line to the second RF input terminal, and connecting the second RF output terminal to the second spectrum analyzer through the fourth RF connection line.

12. An electronic device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the following is achieved: A radio frequency line loss calibration method as claimed in any one of claims 1 to 9.

13. A computer-readable storage medium storing computer-executable instructions for: Execute the radio frequency line loss calibration method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Method and system for measuring attenuation of radio frequency cable

    CN109709402A