Link detection method and system for testing system

By measuring the return loss at the rotation angle in the test system, the transmission stability of the wireless device link is determined, which solves the problem of difficulty in detecting faults when observing naked eyes, and improves the accuracy of link detection and the reliability of test results.

CN116016260BActive Publication Date: 2024-12-24GENERAL TEST SYST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211623065.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-16
Publication Date
2024-12-24
Estimated Expiration
2042-12-16

AI Technical Summary

Technical Problem

In the prior art, it is difficult to accurately detect link failures in the test system through naked eyes, which affects the accuracy of testing of communication wireless devices.

Method used

When the turntable is rotated to a preset or continuous rotation state, the upper computer is used to send test commands to the test instrument, measure the return loss, and calculate the transmission stability based on the return loss of different rotation angles, and determine the transmission stability results of the link .

Benefits of technology

It improves the accuracy of link detection, can detect faults that cannot be observed by the naked eye, and ensures the reliability of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116016260B_ABST
    Figure CN116016260B_ABST
Patent Text Reader

Abstract

The present application provides a link detection method and system for a test system, wherein the test system is used to perform wireless performance testing on a wireless device, and the method is applied to the detection system; the detection system includes a host computer, a turntable, a target device, a test instrument, and a link under test; the target device is arranged on the turntable; one end of the link under test is connected to the target device, and the other end is connected to the test instrument; the method includes: when the turntable rotates to a preset rotation angle or is in a continuous rotation state, the host computer sends a test instruction to the test instrument, so that the test instrument measures the return loss of the target device at the current rotation angle through the link under test; the current rotation angle is a preset rotation angle or any rotation angle in a continuous rotation state; the host computer determines the transmission stability result of the link under test according to the return loss corresponding to different current rotation angles. Through this method, it is beneficial to improve the accuracy of link detection in the test system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of testing technology, and in particular to a link detection method and system for a testing system. Background Art

[0002] The wireless performance of communication wireless equipment needs to be tested through a specific test system. When using the test system to test the communication wireless equipment, it is necessary to transmit the test signal for the communication wireless equipment through the communication link in the test system. The communication link includes RF cables and RF connectors. If the cables in the test system are damaged or the connectors are poorly connected, it will affect the accurate transmission of the test signal, thereby affecting the accuracy of the test of the communication wireless equipment, resulting in inaccurate test results for the communication wireless equipment. It can be seen that it is very important to detect the links in the test system to determine whether there are any faults in the links.

[0003] In the prior art, workers usually use naked eye observation to detect whether there is a fault in a link in a test system. However, some faults are difficult to observe with naked eyes, making it impossible to accurately detect whether a link has a fault. Summary of the invention

[0004] In view of this, an object of the present application is to provide a link detection method and system for a test system, so as to improve the accuracy of link detection in the test system.

[0005] In a first aspect, an embodiment of the present application provides a link detection method of a test system, wherein the test system is used to perform a wireless performance test on a wireless device, and the method is applied to the detection system; the detection system includes a host computer, a turntable, a target device, a test instrument, and a link under test; the target device is arranged on the turntable; one end of the link under test is connected to the target device, and the other end is connected to the test instrument; the method includes:

[0006] When the turntable rotates to a preset rotation angle or is in a continuous rotation state, the host computer sends a test instruction to the test instrument, so that the test instrument measures the return loss of the target device at the current rotation angle through the link under test; the current rotation angle is the preset rotation angle or any rotation angle in the continuous rotation state;

[0007] The host computer determines the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles.

[0008] In combination with the first aspect, the embodiment of the present application provides a first possible implementation of the first aspect, wherein when the turntable rotates to a preset rotation angle or is in a continuous rotation state, before the host computer sends a test instruction to the test instrument, the method further includes:

[0009] The host computer sends a first rotation instruction to the turntable to rotate the turntable to a preset rotation angle;

[0010] or,

[0011] The host computer sends a second rotation instruction to the turntable to keep the turntable in a continuous rotation state.

[0012] In combination with the first aspect, an embodiment of the present application provides a second possible implementation of the first aspect, wherein the target device is a radio frequency terminal; the host computer determines the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles, including:

[0013] The host computer calculates the variance of the return loss corresponding to each different current rotation angle;

[0014] When the variance is less than a first preset value, determining the transmission stability result of the measured link as transmission stable;

[0015] When the variance is greater than or equal to the first preset value, the transmission stability result of the measured link is determined as transmission instability.

[0016] In combination with the second possible implementation of the first aspect, an embodiment of the present application provides a third possible implementation of the first aspect, wherein the host computer determines the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles, including:

[0017] The host computer calculates the first difference between the return loss corresponding to the current rotation angle and the reference value for each different current rotation angle, so as to obtain the first difference corresponding to each current rotation angle;

[0018] The host computer determines whether there is a target first difference in the first difference; wherein the target first difference is greater than or equal to a second preset value;

[0019] When at least one of the target first difference values ​​exists in the first difference values, determining the transmission stability result of the measured link as unstable transmission;

[0020] When the target first difference does not exist in the first difference, the transmission stability result of the measured link is determined as transmission stability.

[0021] In combination with the first aspect, an embodiment of the present application provides a fourth possible implementation of the first aspect, wherein when the turntable rotates to a preset rotation angle or is in a continuous rotation state, the host computer sends a test instruction to the test instrument so that the test instrument measures the return loss of the target device at the current rotation angle through the link under test, including:

[0022] Before testing the wireless device through the test system, when the turntable rotates to a preset rotation angle or is in a continuous rotation state, the host computer sends a test instruction to the test instrument, so that the test instrument measures the first return loss of the target device at the current rotation angle through the link under test;

[0023] During the process of testing the wireless device by the test system, or after the wireless device is tested by the test system, when the turntable rotates to a preset rotation angle or is in a continuous rotation state, the host computer sends a test instruction to the test instrument, so that the test instrument measures the second return loss of the target device at the current rotation angle through the link under test;

[0024] The host computer determines the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles, including:

[0025] The host computer calculates a second difference between a first target return loss and a second target return loss; wherein the first target return loss is determined according to the first return loss, and the second target return loss is determined according to the second return loss;

[0026] When the second difference is greater than or equal to a third preset value, determining the transmission stability result of the measured link as transmission instability;

[0027] When the second difference is less than the third preset value, the transmission stability result of the measured link is determined as transmission stable.

[0028] In combination with the fourth possible implementation of the first aspect, an embodiment of the present application provides a fifth possible implementation of the first aspect, wherein the target device is the wireless device; the first target return loss is the maximum value of the first return losses, and the second target return loss is the minimum value of the second return losses; or, the first target return loss is the minimum value of the first return losses, and the second target return loss is the maximum value of the second return losses.

[0029] In combination with the third possible implementation of the first aspect, the embodiment of the present application provides a sixth possible implementation of the first aspect, wherein, when the transmission stability of the measured link is unstable transmission, the method further includes:

[0030] The host computer determines, according to the target first difference, a current rotation angle corresponding to the target first difference, and uses the current rotation angle as the first rotation angle;

[0031] The host computer sends a third rotation instruction including the first rotation angle to the turntable;

[0032] After receiving the third rotation instruction, the turntable rotates to the first rotation angle, so that maintenance personnel can check the tested link when the turntable is at the first rotation angle.

[0033] In combination with the fourth possible implementation of the first aspect, the embodiment of the present application provides a seventh possible implementation of the first aspect, wherein, when the transmission stability of the measured link is unstable transmission, the method further includes:

[0034] The host computer calculates an average value of the first return loss according to the first return losses corresponding to different current rotation angles to obtain a first average return loss; and the host computer calculates an average value of the second return loss according to the second return losses corresponding to different current rotation angles to obtain a second average return loss;

[0035] The host computer calculates, for each of the first return losses, a third difference between the first return loss and the first average return loss, to obtain the third difference corresponding to each of the first return losses; and, the host computer calculates, for each of the second return losses, a fourth difference between the second return loss and the second average return loss, to obtain the fourth difference corresponding to each of the second return losses;

[0036] The host computer determines the maximum value of the third difference and the fourth difference as the target difference, so as to determine the current rotation angle corresponding to the return loss corresponding to the target difference as the second rotation angle;

[0037] The host computer sends a fourth rotation instruction including the second rotation angle to the turntable;

[0038] After receiving the fourth rotation instruction, the turntable rotates to the second rotation angle, so that maintenance personnel can check the tested link when the turntable is at the second rotation angle.

[0039] In combination with the first aspect, an embodiment of the present application provides an eighth possible implementation of the first aspect, wherein the detection system also includes a multi-channel RF switch, which is respectively connected to the link under test, the target device and one or more of the wireless devices.

[0040] In a second aspect, an embodiment of the present application further provides a link detection system of a test system, the test system being used to perform a wireless performance test on a wireless device, the detection system comprising: a host computer, a turntable, a target device, a test instrument, and a link under test; the target device is arranged on the turntable; one end of the link under test is connected to the target device, and the other end is connected to the test instrument;

[0041] The host computer is used to send a test instruction to the test instrument when the turntable rotates to a preset rotation angle or is in a continuous rotation state, so that the test instrument measures the return loss of the target device at the current rotation angle through the link under test; the current rotation angle is the preset rotation angle or any rotation angle in the continuous rotation state; and according to the return loss corresponding to different current rotation angles, determine the transmission stability result of the link under test.

[0042] In combination with the second aspect, an embodiment of the present application provides a first possible implementation of the second aspect, wherein the host computer is used to send a test instruction to the test instrument when the turntable rotates to a preset rotation angle or is in a continuous rotation state, and is also used to:

[0043] Sending a first rotation instruction to the turntable to rotate the turntable to a preset rotation angle;

[0044] Alternatively, a second rotation instruction is sent to the turntable to keep the turntable in a continuous rotation state.

[0045] In combination with the second aspect, an embodiment of the present application provides a second possible implementation of the second aspect, wherein the target device is a radio frequency terminal; when the host computer is used to determine the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles, it is specifically used to:

[0046] Calculate the variance of the return loss corresponding to each different current rotation angle; when the variance is less than a first preset value, determine the transmission stability result of the measured link as transmission stable; when the variance is greater than or equal to the first preset value, determine the transmission stability result of the measured link as transmission unstable.

[0047] In combination with the second possible implementation of the second aspect, an embodiment of the present application provides a third possible implementation of the second aspect, wherein the host computer, when used to determine the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles, is specifically used to:

[0048] For the return loss corresponding to each different current rotation angle, calculate the first difference between the return loss corresponding to the current rotation angle and the reference value to obtain the first difference corresponding to each current rotation angle; determine whether there is a target first difference in the first difference; wherein the target first difference is greater than or equal to a second preset value; when there is at least one target first difference in the first difference, determine the transmission stability result of the link under test as unstable transmission; when the target first difference does not exist in the first difference, determine the transmission stability result of the link under test as stable transmission.

[0049] In combination with the second aspect, an embodiment of the present application provides a fourth possible implementation of the second aspect, wherein the host computer, when the turntable is rotated to a preset rotation angle or is in a continuous rotation state, sends a test instruction to the test instrument, specifically for:

[0050] Before the wireless device is tested by the test system, when the turntable is rotated to a preset rotation angle or is in a continuous rotation state, a test instruction is sent to the test meter, so that the test meter measures the first return loss of the target device at the current rotation angle through the link under test; and during the process of testing the wireless device by the test system, or after the wireless device is tested by the test system, when the turntable is rotated to a preset rotation angle or is in a continuous rotation state, a test instruction is sent to the test meter, so that the test meter measures the second return loss of the target device at the current rotation angle through the link under test;

[0051] When the host computer is used to determine the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles, it is specifically used to:

[0052] Calculate a second difference between a first target return loss and a second target return loss; wherein the first target return loss is determined based on the first return loss, and the second target return loss is determined based on the second return loss; when the second difference is greater than or equal to a third preset value, determine the transmission stability result of the measured link as unstable transmission; when the second difference is less than the third preset value, determine the transmission stability result of the measured link as stable transmission.

[0053] In combination with the fourth possible implementation of the second aspect, an embodiment of the present application provides a fifth possible implementation of the second aspect, wherein the target device is the wireless device; the first target return loss is the maximum value of the first return losses, and the second target return loss is the minimum value of the second return losses; or, the first target return loss is the minimum value of the first return losses, and the second target return loss is the maximum value of the second return losses.

[0054] In combination with the third possible implementation of the second aspect, the embodiment of the present application provides a sixth possible implementation of the second aspect, wherein, when the transmission stability of the measured link is unstable transmission, the host computer is further used to:

[0055] sending a third rotation instruction including the first rotation angle to the turntable;

[0056] The turntable is used to rotate to the first rotation angle after receiving the third rotation instruction, so that maintenance personnel can check the tested link when the turntable is at the first rotation angle.

[0057] In combination with the fourth possible implementation of the second aspect, the embodiment of the present application provides a seventh possible implementation of the second aspect, wherein, when the transmission stability of the measured link is unstable transmission, the host computer is further used to:

[0058] Calculating an average value of the first return loss according to the first return losses corresponding to the different current rotation angles to obtain a first average return loss; and, the host computer calculating an average value of the second return loss according to the second return losses corresponding to the different current rotation angles to obtain a second average return loss;

[0059] For each of the first return losses, a third difference between the first return loss and the first average return loss is calculated to obtain the third difference corresponding to each of the first return losses; and, for each of the second return losses, the host computer calculates a fourth difference between the second return loss and the second average return loss to obtain the fourth difference corresponding to each of the second return losses;

[0060] Determine the maximum value between the third difference and the fourth difference as the target difference, and determine the current rotation angle corresponding to the return loss corresponding to the target difference as the second rotation angle;

[0061] sending a fourth rotation instruction including the second rotation angle to the turntable;

[0062] The turntable is used to rotate to the second rotation angle after receiving the fourth rotation instruction, so that maintenance personnel can check the tested link when the turntable is at the second rotation angle.

[0063] In combination with the second aspect, an embodiment of the present application provides an eighth possible implementation of the second aspect, wherein the detection system also includes a multi-channel RF switch, and the multi-channel RF switch is respectively connected to the link under test, the target device and one or more of the wireless devices.

[0064] The embodiment of the present application provides a link detection method and system for a test system. When the turntable rotates to a preset rotation angle or is in a continuous rotation state, the host computer sends a test instruction to the test instrument, so that the test instrument measures the return loss of the target device at the current rotation angle through the tested link; the current rotation angle is a preset rotation angle or any rotation angle in a continuous rotation state; the host computer determines the transmission stability result of the tested link according to the return loss corresponding to different current rotation angles. Compared with the method of observation by naked eyes, the method of the present application can detect faults that cannot be observed by naked eyes, which is conducive to improving the accuracy of link detection.

[0065] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0067] Figure 1 A flow chart of a link detection method of a test system provided in an embodiment of the present application is shown;

[0068] Figure 2 A schematic diagram of the structure of a test system provided in an embodiment of the present application is shown;

[0069] Figure 3 A schematic diagram showing the structure of a link detection system of a test system provided in an embodiment of the present application is shown;

[0070] Figure 4 A structural schematic diagram of a link detection system of another test system provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0071] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0072] Considering that in the prior art, staff usually detect whether there is a fault in the link of the test system by naked eye observation, which leads to the problem that it is impossible to accurately detect whether the link is faulty. Based on this, the embodiment of the present application provides a link detection method and system for a test system, which is described below through embodiments.

[0073] Embodiment 1:

[0074] To facilitate understanding of this embodiment, a link detection method of a test system disclosed in an embodiment of the present application is first introduced in detail. The test system is used to perform wireless performance testing on a wireless device, and the method is applied to the detection system; the detection system includes a host computer, a turntable, a target device, a test instrument, and a link under test; at least part of the link under test is set in the turntable; the target device is set on the turntable; one end of the link under test located in the turntable is connected to the target device, and the other end is connected to the test instrument. Figure 1 A flow chart of a link detection method of a test system provided in an embodiment of the present application is shown. Figure 1 As shown, the following steps are included:

[0075] S101: When the turntable rotates to a preset rotation angle or is in a continuous rotation state, the host computer sends a test instruction to the test instrument so that the test instrument measures the return loss of the target device at the current rotation angle through the link under test; the current rotation angle is a preset rotation angle or any rotation angle in the continuous rotation state.

[0076] Figure 2 A schematic diagram of the structure of a test system provided in an embodiment of the present application is shown. Figure 2 As shown, the test system at least includes a turntable, a wireless device, a link, an antenna, and a test instrument. In the test system, the wireless device is set on the turntable, and at least part of the link is set in the turntable; one end of the link in the turntable is connected to the wireless device, and the other end is connected to the test instrument; one end of the test instrument is connected to the link, and the other end is connected to the antenna.

[0077] The test system is mainly used to test the wireless performance of wireless devices. Specifically, during the test, the turntable needs to be rotated frequently to change the relative angle between the wireless device and the antenna. The link of the test system includes at least an RF cable and an RF connector. Since the turntable needs to be rotated frequently when the test system performs the test, the RF cable (i.e., the cable) moves and bends accordingly, which can easily lead to link failures caused by cable fatigue or loose connectors. Link failures may not be easy to detect, but may affect the test accuracy and cause inaccurate test results.

[0078] Figure 3 A schematic diagram of the structure of a link detection system of a test system provided in an embodiment of the present application is shown. In this embodiment, a host computer is connected to a test instrument for communication. The turntable in the detection system is the same component as the turntable in the test system, the link in the test system is the link under test in the detection system, and the test instrument in the test system is the test instrument in the detection system.

[0079] In this embodiment, when the turntable rotates to a preset rotation angle or is in a continuous rotation state, the turntable drives the link under test to rotate to a preset rotation angle or is in a continuous rotation state.

[0080] In a possible implementation manner, when the turntable rotates to a preset rotation angle or is in a continuous rotation state during step S101, before the host computer sends a test instruction to the test instrument, the following steps may be specifically performed:

[0081] The host computer sends a first rotation instruction to the turntable to rotate the turntable to a preset rotation angle.

[0082] Specifically, the host computer is connected to the turntable in communication, and the first rotation instruction includes a preset rotation angle. After the turntable receives the first rotation instruction sent by the host computer, it controls itself to rotate to the preset rotation angle. When the turntable rotates to the preset rotation angle, the turntable maintains the preset rotation angle unchanged, and the host computer sends a test instruction to the test instrument.

[0083] After receiving the test instruction, the test instrument measures the return loss of the target device at the preset rotation angle (i.e., the current rotation angle) through the link under test. Specifically, the test instrument sends a test signal to the target device through the link under test, and receives a reflected signal returned by the target device through the link under test. The test instrument calculates the ratio of the incident wave of the test signal to the reflected wave of the reflected signal, and uses the ratio as the return loss (i.e., S11).

[0084] The test instrument sends the return loss corresponding to the preset rotation angle to the host computer, and the host computer records the mapping relationship between the preset rotation angle and the return loss.

[0085] Next, the host computer sends a first rotation instruction including a preset rotation angle to the turntable, so that the turntable rotates to the preset rotation angle. The preset rotation angle included in the first rotation instruction sent by the host computer to the turntable at different times has different angles. Therefore, the host computer records the return loss corresponding to each preset rotation angle of the turntable.

[0086] Alternatively, in another possible implementation, when the turntable rotates to a preset rotation angle or is in a continuous rotation state in step S101, before the host computer sends a test instruction to the test instrument, the following steps may be specifically performed:

[0087] The host computer sends a second rotation instruction to the turntable to keep the turntable in a continuous rotation state.

[0088] In this embodiment, when the turntable is in a continuous rotation state, the host computer sends a test instruction to the test instrument, and the test instrument measures the return loss of the target device at the current rotation angle (that is, the rotation angle of the turntable at the current moment, which may be any rotation angle in the continuous rotation state) through the tested link. The test instrument sends the return loss corresponding to the current rotation angle to the host computer, and the host computer records the mapping relationship between the current rotation angle and the return loss.

[0089] Next, the host computer sends a test command to the test instrument, and the test instrument measures the return loss of the target device at the current rotation angle corresponding to this moment (that is, the rotation angle of the turntable at this moment, which may be any rotation angle in the continuous rotation state, and may be different from the current rotation angle corresponding to the previous moment) through the link under test. Among them, the host computer sends test commands to the test instrument at different times, so that the test instrument measures the return loss of the target device at different current rotation angles through the link under test. Therefore, the host computer records the return losses corresponding to multiple rotation angles of the turntable in the continuous rotation state.

[0090] In this embodiment, the test instrument is an instrument capable of testing S parameters (scattering parameters), and specifically, the test instrument is a vector network analyzer. The target device includes a radio frequency terminal (i.e., a radio frequency connector) and a wireless device. The wireless device is a wireless device in the test system. The resistance of the radio frequency terminal can be 50 ohms.

[0091] S102: The host computer determines the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles.

[0092] In this embodiment, when the turntable rotates to a preset rotation angle, the host computer records the return losses corresponding to the turntable at multiple different preset rotation angles, and the current rotation angle at this time is the preset rotation angle. When the turntable is in a continuous rotation state, the host computer records the return losses corresponding to the multiple rotation angles of the turntable in the continuous rotation state, and the current rotation angle at this time is any rotation angle in the continuous rotation state.

[0093] In one possible implementation, Figure 4 FIG. 1 is a schematic diagram showing the structure of a link detection system of another test system provided in an embodiment of the present application. Figure 4 As shown, when the target device is a radio frequency terminal; when the host computer determines the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles in step S102, the following steps S1021-S1023 can be specifically performed:

[0094] S1021: The host computer calculates the variance of the return loss corresponding to each different current rotation angle.

[0095] In this embodiment, each current rotation angle corresponds to a return loss. There are multiple current rotation angles, and the angles of any two current rotation angles are different, so there are multiple return losses. According to all the return losses, the variance of all the return losses is calculated.

[0096] S1022: When the variance is less than the first preset value, determine the transmission stability result of the measured link as transmission stable.

[0097] When the variance is less than the first preset value, it indicates that the transmission of the measured link is relatively stable. At this time, the transmission stability result of the measured link is transmission stability.

[0098] S1023: When the variance is greater than or equal to the first preset value, determine the transmission stability result of the measured link as transmission unstable.

[0099] When the variance is greater than or equal to the first preset value, it indicates that the transmission of the measured link is unstable. At this time, the transmission stability result of the measured link is unstable transmission.

[0100] Alternatively, in another possible implementation, when the target device is a radio frequency terminal; when the host computer determines the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles in step S102, the following steps S1024-S1027 may be specifically performed:

[0101] S1024: The host computer calculates the first difference between the return loss corresponding to each different current rotation angle and the reference value to obtain the first difference corresponding to each current rotation angle.

[0102] For each return loss, a first difference between the return loss and a reference value is calculated to obtain a first difference corresponding to each return loss (ie, each current rotation angle).

[0103] S1025: The host computer determines whether there is a target first difference in the first difference; wherein the target first difference is greater than or equal to a second preset value.

[0104] For each first difference, the host computer determines whether the first difference is greater than a second preset value, and if the first difference is greater than the second preset value, the first difference is used as the target first difference. For example, the second preset value may be 0.1 dB.

[0105] S1026: When there is at least one target first difference value in the first differences, determine the transmission stability result of the measured link as transmission unstable.

[0106] If there is at least one target first difference value in the first differences, it means that the transmission of the measured link is unstable. At this time, the transmission stability result of the measured link is unstable transmission.

[0107] S1027: When the target first difference does not exist in the first difference, the transmission stability result of the measured link is determined as transmission stable.

[0108] If the target first difference does not exist in the first difference, it means that the transmission of the measured link is stable. At this time, the transmission stability result of the measured link is transmission stable.

[0109] In a possible implementation, the target device is a wireless device in a test system; when the turntable rotates to a preset rotation angle or is in a continuous rotation state during step S101, the host computer sends a test instruction to the test instrument so that the test instrument measures the return loss of the target device at the current rotation angle through the link under test, and the following steps can be specifically performed:

[0110] Before testing the wireless device through the test system, when the turntable rotates to a preset rotation angle or is in a continuous rotation state, the host computer sends a test instruction to the test instrument, so that the test instrument measures the first return loss of the target device at the current rotation angle through the link under test;

[0111] During the process of testing the wireless device by the test system, or after the wireless device is tested by the test system, when the turntable rotates to a preset rotation angle or is in a continuous rotation state, the host computer sends a test instruction to the test instrument, so that the test instrument measures the second return loss of the target device at the current rotation angle through the link under test;

[0112] In this embodiment, before using the test system to test the wireless device, the test instrument first measures the first return loss of the wireless device at the current rotation angle through the link under test. In this embodiment, when the turntable rotates to each different preset rotation angle, or rotates to any rotation angle in the continuous rotation state, when the turntable rotates to each current rotation angle, the host computer sends a test instruction to the test instrument once, so there are multiple current rotation angles, and each current rotation angle corresponds to a first return loss.

[0113] Similarly, during or after the wireless device is tested using the test system, the test instrument measures the second return loss of the wireless device at the current rotation angle through the link under test. There are multiple current rotation angles, and each current rotation angle corresponds to a second return loss.

[0114] When the host computer determines the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles in step S102, the following steps S1028-S10210 may be specifically performed:

[0115] S1028: The host computer calculates a second difference between the first target return loss and the second target return loss; wherein the first target return loss is determined based on the first return loss, and the second target return loss is determined based on the second return loss.

[0116] In this embodiment, there are multiple first return losses and multiple second return losses. The maximum value is selected from all the first return losses as the first target return loss. The minimum value is selected from all the second return losses as the second target return loss. At this time, the second difference between the first target return loss and the second target return loss is calculated.

[0117] Alternatively, a minimum value is selected from all first return losses as the first target return loss. A maximum value is selected from all second return losses as the second target return loss. At this time, a second difference between the first target return loss and the second target return loss is calculated.

[0118] S1029: When the second difference is greater than or equal to a third preset value, the transmission stability result of the measured link is determined as transmission unstable.

[0119] Specifically, when the absolute value of the second difference is greater than or equal to a third preset value, the transmission stability result of the measured link is determined as transmission unstable.

[0120] S10210: When the second difference is less than the third preset value, the transmission stability result of the measured link is determined as transmission stable.

[0121] When the absolute value of the second difference is less than the third preset value, the transmission stability result of the measured link is determined to be transmission stable.

[0122] The test instrument tests the voltage of the test signal and the reflected signal respectively to obtain the amplitude and phase of the two signals, and then calculates the ratio to obtain the S parameter (the S parameter is a complex number). Therefore, the third preset value can be the amplitude difference, specifically 0.2 dB; or the third preset value can also be the phase difference, specifically 5°.

[0123] In a possible implementation manner, when the target device is a radio frequency terminal and the transmission stability of the link under test is unstable transmission, the following steps S1031-S1033 may be specifically performed:

[0124] S1031: The host computer determines a current rotation angle corresponding to the target first difference according to the target first difference, and uses the current rotation angle as the first rotation angle.

[0125] In this embodiment, each first difference corresponds to a return loss, and each return loss corresponds to a current rotation angle. Therefore, the host computer determines the current rotation angle corresponding to the target first difference according to the target first difference, and uses the current rotation angle as the first rotation angle.

[0126] Among them, since the target first difference is greater than the second preset value, it means that when the turntable rotates to the first rotation angle, the transmission of the measured link is unstable.

[0127] S1032: The host computer sends a third rotation instruction including the first rotation angle to the turntable.

[0128] S1033: After receiving the third rotation instruction, the turntable rotates to the first rotation angle, so that the maintenance personnel can check the link under test when the turntable is at the first rotation angle.

[0129] At this time, the host computer sends the third rotation instruction including the first rotation angle to the turntable, so that the turntable rotates to the first rotation angle and remains stationary. When the turntable is at the first rotation angle, the maintenance personnel can manually check the link under test. In this way, the maintenance personnel can more accurately and quickly determine the fault of the link under test.

[0130] In a possible implementation manner, when the target device is a wireless device in a test system and the transmission stability of the link under test is unstable transmission, the following steps S1041-S1045 may be specifically performed:

[0131] S1041: The host computer calculates the average value of the first return loss according to the first return losses corresponding to the different current rotation angles to obtain a first average return loss; and the host computer calculates the average value of the second return loss according to the second return losses corresponding to the different current rotation angles to obtain a second average return loss.

[0132] In this embodiment, there are multiple first return losses, and the average value of all first return losses is calculated to obtain a first average return loss. There are multiple second return losses, and the average value of all second return losses is calculated to obtain a second average return loss.

[0133] S1042: The upper computer calculates, for each first return loss, a third difference between the first return loss and the first average return loss, to obtain a third difference corresponding to each first return loss; and the upper computer calculates, for each second return loss, a fourth difference between the second return loss and the second average return loss, to obtain a fourth difference corresponding to each second return loss.

[0134] S1043: The host computer determines the maximum value of the third difference and the fourth difference as the target difference, so as to determine the current rotation angle corresponding to the return loss corresponding to the target difference as the second rotation angle.

[0135] The maximum value is selected from all the third differences and all the fourth differences as the target difference. When the target difference is one of the third differences, the return loss corresponding to the target difference is the first return loss corresponding to the third difference. Similarly, if the target difference is one of the fourth differences, the return loss corresponding to the target difference is the second return loss corresponding to the fourth difference.

[0136] In this embodiment, each return loss (including the first return loss and the second return loss) corresponds to a respective current rotation angle. The host computer determines the current rotation angle corresponding to the return loss corresponding to the target difference as the second rotation angle.

[0137] S1044: The host computer sends a fourth rotation instruction including the second rotation angle to the turntable.

[0138] S1045: After receiving the fourth rotation instruction, the turntable rotates to the second rotation angle, so that the maintenance personnel can check the link under test when the turntable is at the second rotation angle.

[0139] After receiving the fourth rotation instruction including the second rotation angle sent by the host computer, the turntable controls itself to rotate to the second rotation angle, so that maintenance personnel can manually check the link under test when the turntable is at the second rotation angle.

[0140] In a possible implementation, the detection system further includes a multi-channel radio frequency switch, and the multi-channel radio frequency switch is respectively connected to the link under test, the target device, and one or more wireless devices.

[0141] By using a multi-channel RF switch, there is no need to frequently install and remove the target device in the test system. In addition, when the test time is long, it may be necessary to detect the link during the test to ensure the reliability of the test results. Therefore, by setting up a multi-channel RF switch, the link can be detected at any time.

[0142] Embodiment 2:

[0143] Based on the same technical concept, the embodiment of the present application also provides a link detection system of a test system, wherein the test system is used to perform a wireless performance test on a wireless device, such as Figure 3 As shown, the system includes: a host computer, a turntable, a target device, a test instrument, and a link under test; the target device is arranged on the turntable; one end of the link under test is connected to the target device, and the other end is connected to the test instrument;

[0144] The host computer is used to send a test instruction to the test instrument when the turntable rotates to a preset rotation angle or is in a continuous rotation state, so that the test instrument measures the return loss of the target device at the current rotation angle through the link under test; the current rotation angle is the preset rotation angle or any rotation angle in the continuous rotation state; and according to the return loss corresponding to different current rotation angles, determine the transmission stability result of the link under test.

[0145] Optionally, when the turntable rotates to a preset rotation angle or is in a continuous rotation state, before sending a test instruction to the test instrument, the host computer is further used to:

[0146] Sending a first rotation instruction to the turntable to rotate the turntable to a preset rotation angle;

[0147] Alternatively, a second rotation instruction is sent to the turntable to keep the turntable in a continuous rotation state.

[0148] Optionally, the target device is a radio frequency terminal; when the host computer is used to determine the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles, it is specifically used to:

[0149] Calculate the variance of the return loss corresponding to each different current rotation angle; when the variance is less than a first preset value, determine the transmission stability result of the measured link as transmission stable; when the variance is greater than or equal to the first preset value, determine the transmission stability result of the measured link as transmission unstable.

[0150] Optionally, when the host computer is used to determine the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles, it is specifically used to:

[0151] For the return loss corresponding to each different current rotation angle, calculate the first difference between the return loss corresponding to the current rotation angle and the reference value to obtain the first difference corresponding to each current rotation angle; determine whether there is a target first difference in the first difference; wherein the target first difference is greater than or equal to a second preset value; when there is at least one target first difference in the first difference, determine the transmission stability result of the link under test as unstable transmission; when the target first difference does not exist in the first difference, determine the transmission stability result of the link under test as stable transmission.

[0152] Optionally, when the turntable is rotated to a preset rotation angle or is in a continuous rotation state, the host computer is used to send a test instruction to the test instrument, specifically for:

[0153] During the process of testing the wireless device through the test system, or before the wireless device is tested through the test system, when the turntable rotates to a preset rotation angle or is in a continuous rotation state, a test instruction is sent to the test meter, so that the test meter measures the first return loss of the target device at the current rotation angle through the link under test; and after the wireless device is tested through the test system, when the turntable rotates to a preset rotation angle or is in a continuous rotation state, a test instruction is sent to the test meter, so that the test meter measures the second return loss of the target device at the current rotation angle through the link under test;

[0154] When the host computer is used to determine the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles, it is specifically used to:

[0155] Calculate a second difference between a first target return loss and a second target return loss; wherein the first target return loss is determined based on the first return loss, and the second target return loss is determined based on the second return loss; when the second difference is greater than or equal to a third preset value, determine the transmission stability result of the measured link as unstable transmission; when the second difference is less than the third preset value, determine the transmission stability result of the measured link as stable transmission.

[0156] Optionally, the target device is the wireless device; the first target return loss is the maximum value of the first return losses, and the second target return loss is the minimum value of the second return losses; or, the first target return loss is the minimum value of the first return losses, and the second target return loss is the maximum value of the second return losses.

[0157] Optionally, when the transmission stability of the measured link is unstable transmission, the host computer is further used to:

[0158] sending a third rotation instruction including the first rotation angle to the turntable;

[0159] The turntable is used to rotate to the first rotation angle after receiving the third rotation instruction, so that maintenance personnel can check the tested link when the turntable is at the first rotation angle.

[0160] Optionally, when the transmission stability of the measured link is unstable transmission, the host computer is further used to:

[0161] Calculating an average value of the first return loss according to the first return losses corresponding to the different current rotation angles to obtain a first average return loss; and, the host computer calculating an average value of the second return loss according to the second return losses corresponding to the different current rotation angles to obtain a second average return loss;

[0162] For each of the first return losses, a third difference between the first return loss and the first average return loss is calculated to obtain the third difference corresponding to each of the first return losses; and, for each of the second return losses, the host computer calculates a fourth difference between the second return loss and the second average return loss to obtain the fourth difference corresponding to each of the second return losses;

[0163] Determine the maximum value between the third difference and the fourth difference as the target difference, and determine the current rotation angle corresponding to the return loss corresponding to the target difference as the second rotation angle;

[0164] sending a fourth rotation instruction including the second rotation angle to the turntable;

[0165] The turntable is used to rotate to the second rotation angle after receiving the fourth rotation instruction, so that maintenance personnel can check the tested link when the turntable is at the second rotation angle.

[0166] Optionally, the detection system further includes a multi-channel radio frequency switch, wherein the multi-channel radio frequency switch is respectively connected to the link under test, the target device and one or more of the wireless devices.

[0167] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the detection system described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0168] In the several embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0169] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0170] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0171] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0172] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A link detection method of a test system, wherein the test system is used to perform a wireless performance test on a wireless device, characterized in that: The method is applied to a detection system; the detection system comprises a host computer, a turntable, a target device, a test instrument, and a link under test; The target device is disposed on the turntable; One end of the link under test is connected to the target device, and the other end is connected to the test instrument; the method comprises: When the turntable rotates to a preset rotation angle or is in a continuous rotation state, the host computer sends a test instruction to the test instrument, so that the test instrument measures the return loss of the target device at the current rotation angle through the link under test; the current rotation angle is the preset rotation angle or any rotation angle in the continuous rotation state; The host computer determines the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles; The host computer determines the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles, including: The host computer calculates the first difference between the return loss corresponding to the current rotation angle and the reference value for each different current rotation angle, so as to obtain the first difference corresponding to each current rotation angle; The host computer determines whether there is a target first difference in the first difference; wherein the target first difference is greater than or equal to a second preset value; When at least one of the target first difference values ​​exists in the first difference values, determining the transmission stability result of the measured link as transmission instability; When the target first difference does not exist in the first difference, determining the transmission stability result of the measured link as transmission stability; or, When the turntable rotates to a preset rotation angle or is in a continuous rotation state, the host computer sends a test instruction to the test instrument so that the test instrument measures the return loss of the target device at the current rotation angle through the link under test, including: Before testing the wireless device through the test system, when the turntable rotates to a preset rotation angle or is in a continuous rotation state, the host computer sends a test instruction to the test instrument, so that the test instrument measures the first return loss of the target device at the current rotation angle through the link under test; During the process of testing the wireless device by the test system, or after the wireless device is tested by the test system, when the turntable rotates to a preset rotation angle or is in a continuous rotation state, the host computer sends a test instruction to the test instrument, so that the test instrument measures the second return loss of the target device at the current rotation angle through the link under test; The host computer determines the transmission stability result of the measured link according to the return loss corresponding to different current rotation angles, including: The host computer calculates a second difference between a first target return loss and a second target return loss; wherein the first target return loss is determined according to the first return loss, and the second target return loss is determined according to the second return loss; When the second difference is greater than or equal to a third preset value, determining the transmission stability result of the measured link as transmission instability; When the second difference is less than the third preset value, the transmission stability result of the measured link is determined as transmission stable.

2. The method according to claim 1, characterized in that: When the turntable rotates to a preset rotation angle or is in a continuous rotation state, before the host computer sends a test instruction to the test instrument, the method further includes: The host computer sends a first rotation instruction to the turntable to rotate the turntable to a preset rotation angle; or, The host computer sends a second rotation instruction to the turntable to keep the turntable in a continuous rotation state.

3. The method according to claim 1, characterized in that: The target device is a radio frequency terminal.

4. The method according to claim 1, characterized in that: The target device is the wireless device; the first target return loss is the maximum value of the first return losses, and the second target return loss is the minimum value of the second return losses; or, the first target return loss is the minimum value of the first return losses, and the second target return loss is the maximum value of the second return losses.

5. The method according to claim 1, characterized in that: When the transmission stability of the measured link is unstable transmission, the method further includes: The host computer determines, according to the target first difference, a current rotation angle corresponding to the target first difference, and uses the current rotation angle as the first rotation angle; The host computer sends a third rotation instruction including the first rotation angle to the turntable; After receiving the third rotation instruction, the turntable rotates to the first rotation angle, so that maintenance personnel can check the link under test when the turntable is at the first rotation angle.

6. The method according to claim 1, characterized in that: When the transmission stability of the measured link is unstable transmission, the method further includes: The host computer calculates an average value of the first return loss according to the first return losses corresponding to different current rotation angles to obtain a first average return loss; and the host computer calculates an average value of the second return loss according to the second return losses corresponding to different current rotation angles to obtain a second average return loss; The host computer calculates, for each of the first return losses, a third difference between the first return loss and the first average return loss, to obtain the third difference corresponding to each of the first return losses; and, the host computer calculates, for each of the second return losses, a fourth difference between the second return loss and the second average return loss, to obtain the fourth difference corresponding to each of the second return losses; The host computer determines the maximum value of the third difference and the fourth difference as the target difference, so as to determine the current rotation angle corresponding to the return loss corresponding to the target difference as the second rotation angle; The host computer sends a fourth rotation instruction including the second rotation angle to the turntable; After receiving the fourth rotation instruction, the turntable rotates to the second rotation angle, so that maintenance personnel can check the tested link when the turntable is at the second rotation angle.

7. The method according to claim 1, characterized in that: The detection system further includes a multi-channel radio frequency switch, which is respectively connected to the link under test, the target device and one or more of the wireless devices.

8. A link detection system of a test system, the test system being used to perform a wireless performance test on a wireless device, characterized in that: The link detection system is applied to the link detection method as described in any one of claims 1 to 7; the detection system comprises: a host computer, a turntable, a target device, a test instrument, and a link under test; the target device is arranged on the turntable; one end of the link under test is connected to the target device, and the other end is connected to the test instrument; The host computer is used to send a test instruction to the test instrument when the turntable rotates to a preset rotation angle or is in a continuous rotation state, so that the test instrument measures the return loss of the target device at the current rotation angle through the link under test; the current rotation angle is the preset rotation angle or any rotation angle in the continuous rotation state; and according to the return loss corresponding to different current rotation angles, determine the transmission stability result of the link under test.