Standing wave ratio calibration method, system, device, computer device and storage medium

By combining a matrix switch with a calibration load in the standing wave detection system, the reflected and feedback power are obtained, the channel calibration coefficient is determined, and the standing wave ratio is calibrated, thus solving the problem of inaccurate standing wave detection results and achieving higher accuracy.

CN117835270BActive Publication Date: 2026-11-27COMBA TELECOM SYST CHINA LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311650044.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-04
Publication Date
2026-11-27
Estimated Expiration
2043-12-04

AI Technical Summary

Technical Problem

In existing standing wave detection technologies, the standing wave detection results are inaccurate, mainly because the combination of duplexer and circulator makes it impossible to accurately calculate the standing wave ratio.

Method used

By using a matrix switch to connect the target channel of the target device to the calibration load, the reflected power and feedback power are obtained. Based on these powers, the channel calibration coefficient is determined, and the standing wave ratio is calibrated under preset conditions.

Benefits of technology

This improves the accuracy of VSWR detection results and ensures that the VSWR at each frequency point can be accurately calibrated when the target channel is connected to the calibration load.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117835270B_ABST
    Figure CN117835270B_ABST
Patent Text Reader

Abstract

The application relates to a standing wave ratio calibration method, system, device, computer equipment and storage medium. The method comprises the following steps: controlling the matrix switch to connect a target channel of a target device with a calibration load, and acquiring reflection power and feedback power of the target channel; determining a channel calibration coefficient of the target channel according to the reflection power and the feedback power; and performing standing wave ratio calibration on the target channel according to the calibration load when the channel calibration coefficient meets a preset condition. The method can calibrate the standing wave ratio of each frequency point of the target channel, and improve the accuracy of the standing wave detection result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and in particular to a standing wave ratio (VSWR) calibration method, system, apparatus, computer equipment, and storage medium. Background Technology

[0002] In the field of wireless communication, in order to quickly determine base station faults and antenna feeder faults, the base station needs to have the standing wave ratio (SWR) detection function of the antenna feeder system. The SWR is detected at the antenna feeder port, and the reflection coefficient is calculated based on the forward output power of the system and the reflected power of the antenna feeder port. Then, the SWR is obtained, which can reflect the status of the base station's external connection.

[0003] In the prior art, in order to reduce the number of external interface connections on the hardware circuit board and reduce the complexity of hardware design, a duplexer and a circulator are usually set in the standing wave detection system. The result of standing wave detection is jointly determined by the duplexer, the circulator and the antenna feed system. Calculating the standing wave ratio according to the traditional method can easily lead to inaccurate standing wave detection results.

[0004] Therefore, current standing wave detection technologies suffer from inaccurate standing wave detection results. Summary of the Invention

[0005] Therefore, it is necessary to provide a standing wave ratio calibration method, system, device, computer equipment, computer-readable storage medium, and computer program product that can improve the accuracy of standing wave ratio detection results in response to the above-mentioned technical problems.

[0006] Firstly, this application provides a standing wave ratio (SWR) calibration method. Applied to a controller connected to a matrix switch, the input terminal of the matrix switch is connected to a target device, and the output terminal is connected to a calibration load; the method includes:

[0007] The matrix switch is controlled to connect the target channel of the target device to the calibration load, and the reflected power and feedback power of the target channel are obtained.

[0008] Based on the reflected power and the feedback power, the channel calibration coefficient of the target channel is determined;

[0009] If the channel calibration coefficient meets the preset conditions, the target channel is calibrated by VSWR according to the calibration load.

[0010] In one embodiment, the calibration load is at least three; controlling the matrix switch to connect the target channel of the target device to the calibration load, and obtaining the reflected power and feedback power of the target channel, includes:

[0011] The matrix switch is controlled to connect the target channel to the target load in the calibration load;

[0012] The target channel is controlled to output a preset waveform to obtain the reflected power and feedback power corresponding to the target load.

[0013] In one embodiment, both the reflected power and the feedback power correspond to at least one frequency point; determining the channel calibration coefficient of the target channel based on the reflected power and the feedback power includes:

[0014] Based on the reflected power and the feedback power, determine the frequency point reflection coefficient corresponding to each frequency point;

[0015] Based on the median of the frequency point reflection coefficients, the channel reflection coefficient corresponding to the target load is obtained;

[0016] The channel calibration coefficient of the target channel is determined based on the channel reflection coefficient corresponding to each calibration load.

[0017] In one embodiment, after determining the channel calibration coefficient of the target channel based on the reflected power and the feedback power, the method further includes:

[0018] Determine the standing wave ratio (SWR) curve corresponding to the channel calibration coefficient, and determine the target curve from the SWR curve;

[0019] If the derivative corresponding to the target curve does not have a singularity or zero, the channel calibration coefficient is determined to meet the preset condition.

[0020] In one embodiment, determining the VSWR curve corresponding to the channel calibration coefficient includes:

[0021] Multiple simulated reflection coefficients are obtained, and the simulated standing wave ratio corresponding to each simulated reflection coefficient is determined based on the channel calibration coefficient.

[0022] The relationship curve between the simulated reflection coefficient and the simulated standing wave ratio is determined as the standing wave ratio curve corresponding to the channel calibration coefficient.

[0023] In one embodiment, the step of calibrating the VSWR of the target channel according to the calibration load includes:

[0024] When the target channel is connected to the calibration load, determine the frequency calibration coefficients corresponding to each frequency point of the target channel;

[0025] Based on the frequency calibration coefficient corresponding to the target frequency of the target channel, the reflection coefficient of the target frequency to be calibrated is calibrated to obtain the calibrated VSWR of the target frequency.

[0026] Secondly, this application also provides a standing wave ratio (VSWR) calibration system. The system includes a controller and a matrix switch, the controller being connected to the matrix switch, the input terminal of the matrix switch being connected to a target device, and the output terminal being connected to a calibration load.

[0027] The matrix switch is used to connect the target channel of the target device to the calibration load;

[0028] The controller is configured to acquire the reflected power and feedback power of the target channel, determine the channel calibration coefficient of the target channel based on the reflected power and feedback power, and perform VSWR calibration on the target channel according to the calibration load if the channel calibration coefficient meets preset conditions.

[0029] Thirdly, this application also provides a standing wave ratio (SWR) calibration device. Applied to a controller, the controller is connected to a matrix switch, the input terminal of the matrix switch is connected to a target device, and the output terminal is connected to a calibration load; the device includes:

[0030] The acquisition module is used to control the matrix switch to connect the target channel of the target device to the calibration load, and acquire the reflected power and feedback power of the target channel;

[0031] The determination module is used to determine the channel calibration coefficient of the target channel based on the reflected power and the feedback power;

[0032] The calibration module is used to calibrate the VSWR of the target channel according to the calibration load, provided that the channel calibration coefficient meets the preset conditions.

[0033] Fourthly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0034] The matrix switch is controlled to connect the target channel of the target device to the calibration load, and the reflected power and feedback power of the target channel are obtained.

[0035] Based on the reflected power and the feedback power, the channel calibration coefficient of the target channel is determined;

[0036] If the channel calibration coefficient meets the preset conditions, the target channel is calibrated by VSWR according to the calibration load.

[0037] Fifthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0038] The matrix switch is controlled to connect the target channel of the target device to the calibration load, and the reflected power and feedback power of the target channel are obtained.

[0039] Based on the reflected power and the feedback power, the channel calibration coefficient of the target channel is determined;

[0040] If the channel calibration coefficient meets the preset conditions, the target channel is calibrated by VSWR according to the calibration load.

[0041] Sixthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0042] The matrix switch is controlled to connect the target channel of the target device to the calibration load, and the reflected power and feedback power of the target channel are obtained.

[0043] Based on the reflected power and the feedback power, the channel calibration coefficient of the target channel is determined;

[0044] If the channel calibration coefficient meets the preset conditions, the target channel is calibrated by VSWR according to the calibration load.

[0045] The aforementioned standing wave ratio (SWR) calibration method, system, apparatus, computer equipment, storage medium, and computer program products connect the target channel of the target device to the calibration load via a control matrix switch to obtain the reflected power and feedback power of the target channel. Based on the reflected power and feedback power, the channel calibration coefficient of the target channel is determined. If the channel calibration coefficient meets preset conditions, the SWR of the target channel is calibrated according to the calibration load. Furthermore, with the target channel connected to the calibration load, the channel calibration coefficient corresponding to the median of the reflection coefficient at each frequency point of the target channel can be determined. If the channel calibration coefficient is verified, the SWR of each frequency point of the target channel is calibrated using the calibration load, thereby improving the accuracy of the SWR detection results. Attached Figure Description

[0046] Figure 1 This is a schematic diagram of a standing wave detection system in one embodiment;

[0047] Figure 2 This is a schematic diagram of a VSWR calibration system in one embodiment;

[0048] Figure 3 This is a flowchart illustrating a standing wave ratio (VSWR) calibration method in one embodiment.

[0049] Figure 4This is a flowchart illustrating a method for measuring the standing wave at the antenna feed port using a calibration method in one embodiment.

[0050] Figure 5 This is a flowchart illustrating the VSWR calibration method in another embodiment;

[0051] Figure 6 This is a structural block diagram of a standing wave ratio calibration device in one embodiment;

[0052] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0053] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0054] Figure 1 A schematic diagram of a standing wave (SWR) detection system is provided. Traditional SWR detection systems connect a circulator and a duplexer to the antenna feed port. The reflection coefficient is calculated based on the detected feedback and reflected power. The SWR at the feed port is then determined based on the reflection coefficient, and a warning is issued when the SWR exceeds a specified threshold, prompting relevant protective measures for the base station. To achieve miniaturization of the module, the hardware structure of the traditional SWR detection system needs to be optimized to reduce the number of external connections. According to... Figure 1 Since the duplexer is an independent device, to reduce RF wiring, the reflection channel needs to be placed at the duplexer input, i.e., the circulator output. However, if the circulator output is directly selected, the reflected power is smaller than the forward power, which can easily lead to inaccurate acquisition of the reflected power. Therefore, the reflection channel is placed at the circulator input. In this case, the reflected signal is transmitted from the antenna feeder to the circulator input, and the theoretical loss is only the circulator insertion loss. However, due to the isolation of the circulator, the power of the forward signal to the circulator input is greatly reduced, so the reflected signal can be intercepted at the circulator input. Therefore, the VSWR detected by the optimized VSWR detection system is jointly determined by the circulator, duplexer, and antenna feeder load. It cannot be simply calculated using a formula, and the VSWR needs to be calibrated.

[0055] Figure 2 A schematic diagram of a VSWR calibration system is provided. According to... Figure 2The VSWR calibration system may include a controller 102 and a matrix switch 104. When VSWR calibration of a target device 106 is required, the controller 102 is connected to both the matrix switch 104 and the target device 106. For the N antenna feed ports Port1, Port2, ..., PortN of the target device 106, the matrix switch 104 can be configured to have N input terminals and M (M≥3) output terminals. The N antenna feed ports of the target device 106 are connected to the N input terminals of the matrix switch 104, and M calibration loads Load1, Load2, ..., LoadM are connected to the M output terminals of the matrix switch 104, preferably M=3. VSWR calibration of the target device 106 can then be performed through the controller 102. The controller can be a terminal or a server.

[0056] In one embodiment, such as Figure 3 As shown, a standing wave ratio (SWR) calibration method is provided, which can be applied to... Figure 2 Taking the controller in the example, the following steps are included:

[0057] Step S210: Control the matrix switch to connect the target channel of the target device to the calibration load, and obtain the reflected power and feedback power of the target channel.

[0058] The target device can be any device that requires standing wave detection, including but not limited to base stations. The target channel can be the over-the-air transmission channel on the target device.

[0059] The matrix switch can be a switch that connects a specified channel of the target device to a specified load among multiple calibration loads. The calibration load can be various conventional load elements.

[0060] The feedback power can be the power of the forward wave in the target channel. The reflected power can be the power of the reverse wave in the target channel.

[0061] In practice, the controller can control the matrix switch to connect the target channel of the target device to each of at least one calibration load. When the target channel is connected to a calibration load, the controller controls the target device to output a CW (Continuous Wave) signal through the target channel and measures the reflected power and feedback power of the CW signal at each frequency point of the target channel.

[0062] In practical applications, M is set to 3, such as Figure 2As shown, three calibration loads, Load1, Load2, and Load3, are connected to the three output terminals of the matrix switch. First, the antenna port Port1 is connected to Load1, controlling Port1 to output a CW signal. At each frequency point of Port1, the reflected power and feedback power of the CW signal are measured, and the measured reflected power and feedback power at each frequency point are stored in RAM (Random Access Memory). Then, Port1 can be connected to Load2 and Load3 respectively, and the reflected power and feedback power at each frequency point are measured using the same method as Load1, and stored in RAM. Assuming the number of frequency points of Port1 is F, then RAM stores M×F pairs of reflected power and feedback power corresponding to Port1.

[0063] Step S220: Determine the channel calibration coefficient of the target channel based on the reflected power and the feedback power.

[0064] Among them, the channel calibration coefficient can be the calibration coefficient of the target channel.

[0065] In practice, when the target channel is connected to a calibration load and the reflected power and feedback power corresponding to each frequency point of the target channel are obtained, the controller can determine the reflection coefficient corresponding to each frequency point based on the reflected power and feedback power, and determine the median value of the reflection coefficients corresponding to each frequency point as the channel reflection coefficient of the target channel. The target channel is then connected to each calibration load respectively, and the channel calibration coefficient of the target channel can be calculated based on the channel reflection coefficients corresponding to each calibration load.

[0066] In practical applications, such as Figure 2 As shown, the controller can first read the F pairs of reflected power and feedback power corresponding to the calibration load Load1 from RAM, and calculate F reflection coefficients S54 according to S54 = reflected power (dB) - feedback power (dB). The median value of the F reflection coefficients is determined as the channel reflection coefficient S54_1 corresponding to Load1. The same method is used to calculate the channel reflection coefficient S54_2 corresponding to Load2 and the channel reflection coefficient S54_3 corresponding to Load3. Based on S54_1, S54_2, and S54_3, the channel calibration coefficients AA, BB, and C of the antenna feed port Port1 can be determined.

[0067] Step S230: If the channel calibration coefficient meets the preset conditions, perform VSWR calibration on the target channel according to the calibration load.

[0068] The preset condition can be that there are no singularities or zeros in the derivative of a specified curve segment in the VSWR curve corresponding to the channel calibration coefficient. The VSWR curve can be the relationship curve between the reflection coefficient and the VSWR.

[0069] In practice, the controller can determine the mapping relationship between the reflection coefficient and the standing wave ratio (SWR) based on the channel calibration coefficient to obtain the SWR curve. Based on the preset SWR range, the controller determines the target curve within the SWR curve. The controller then performs differentiation within the target curve range. If there are no singularities or zeros in the obtained derivative, the SWR curve is determined to meet the preset conditions. In this case, the current calibration load can be used to calibrate the target channel's SWR. Otherwise, if there are singularities and / or zeros in the derivative, the SWR curve is determined to not meet the preset conditions. In this case, the current calibration load cannot be used to calibrate the target channel's SWR.

[0070] In practical applications, several simulated reflection coefficients S54' arranged in ascending order can be determined. The standing wave ratio (SWR) can be obtained through simulation based on the simulated reflection coefficients S54' and the channel calibration coefficients AA, BB, and C. The specific formula is as follows:

[0071] T=(C–AA+BB*S54') / (1–C*AA+C*BB*S54')

[0072] SWR=(1+|T|) / (1–|T|)

[0073] Where T represents the calibrated reflection coefficient, and SWR represents the simulated standing wave ratio.

[0074] Plot the relationship curve between S54' and SWR with S54' as the x-axis and SWR as the y-axis to obtain the VSWR curve. Select a target curve segment from the VSWR curve where SWR∈(0,10] and determine whether the derivative of the target curve has a singularity or a zero. If there is no singularity or zero in the derivative, the target channel can be calibrated using the current calibration load. Otherwise, if there is a singularity and / or a zero in the derivative, the target channel cannot be calibrated using the current calibration load. In this case, the calibration load can be adjusted and the above process can be repeated to determine whether the target channel can be calibrated using the adjusted calibration load.

[0075] The above-described VSWR calibration method connects the target channel of the target device to the calibration load by controlling a matrix switch, obtains the reflected power and feedback power of the target channel, determines the channel calibration coefficient of the target channel based on the reflected power and feedback power, and performs VSWR calibration on the target channel according to the calibration load if the channel calibration coefficient meets the preset conditions. Alternatively, with the target channel connected to the calibration load, a channel calibration coefficient corresponding to the median of the reflection coefficient at each frequency point of the target channel can be determined. If the channel calibration coefficient is verified, the VSWR of each frequency point of the target channel can be calibrated using this calibration load, thereby improving the accuracy of the VSWR detection results.

[0076] In one embodiment, there are at least three calibration loads; step S210 may specifically include: controlling the matrix switch to connect the target channel to the target load in the calibration load; controlling the target channel to output a preset waveform to obtain the reflected power and feedback power corresponding to the target load.

[0077] The target load can be any one of the calibration loads.

[0078] The preset waveform can be a constant amplitude wave.

[0079] In practice, a target load can be determined from at least three calibration loads. The controller controls the matrix switch to connect the target channel to the target load and controls the target device to output a constant amplitude wave through the target channel. The reflected power and feedback power at each frequency point of the target channel are measured and used as the reflected power and feedback power corresponding to the current target load. Then, another target load can be determined from the calibration loads, and the above process is repeated to determine the reflected power and feedback power corresponding to that target load, until the reflected power and feedback power corresponding to each calibration load are determined.

[0080] In this embodiment, the target channel is connected to the target load in the calibration load by controlling the matrix switch, and the target channel outputs a preset waveform to obtain the reflected power and feedback power corresponding to the target load. The reflected power and feedback power of each frequency band of the target channel can be measured, and the calibration coefficient of the entire channel can be determined accordingly, thereby improving the reliability of VSWR calibration.

[0081] In one embodiment, both the reflected power and the feedback power correspond to at least one frequency point; step S220 may specifically include: determining the frequency point reflection coefficient corresponding to each frequency point based on the reflected power and the feedback power; obtaining the channel reflection coefficient corresponding to the target load based on the median of the frequency point reflection coefficients; and determining the channel calibration coefficient of the target channel based on the channel reflection coefficients corresponding to each calibration load.

[0082] Among them, the frequency point reflection coefficient can be the reflection coefficient corresponding to the frequency point within the channel.

[0083] Among them, the channel reflection coefficient can be a reflection coefficient that is common to all frequency points within the channel.

[0084] Among them, the channel calibration coefficient can be a calibration coefficient that is universal for all frequency points within the channel.

[0085] In practice, when the current target channel is connected to the current target load, the controller can obtain the reflected power and feedback power corresponding to each frequency point, obtain the frequency point reflection coefficient based on the reflected power and feedback power, and determine the median value of the frequency point reflection coefficients corresponding to each frequency point as the channel reflection coefficient corresponding to the current target channel and the current target load. The current target channel is connected to other calibration loads to obtain the channel reflection coefficients corresponding to the current target channel and all calibration loads. Based on the channel reflection coefficients corresponding to all calibration loads, the channel calibration coefficient of the current target channel can be determined.

[0086] In practical applications, the process of determining the channel calibration coefficient based on the channel reflection coefficient may include: setting the load values ​​of the calibration load as VSWR_1, VSWR_2, and VSWR_3, and obtaining the reflection coefficients τ1, τ2, and τ3 of the channel calibration coefficient C.

[0087] τ1=(VSWR_1–1) / (VSWR_1+1)

[0088] τ2=(VSWR_2–1) / (VSWR_2+1)

[0089] τ3=(VSWR_3–1) / (VSWR_3+1)

[0090] Let the dB (decibels) representation of the channel reflection coefficients corresponding to the calibration load be S54_db1, S54_db2, and S54_db3, respectively. Then the values ​​of the channel reflection coefficients S54_1, S54_2, and S54_3 are:

[0091] S54_1 = 10^(S54_db1 / 20)

[0092] S54_2 = 10^(S54_db2 / 20)

[0093] S54_3 = 10^(S54_db3 / 20)

[0094] The coefficients A and B of the channel calibration coefficient C are determined based on the channel reflection coefficients corresponding to all calibration loads.

[0095] A = S54_1 – S54_2

[0096] B = S54_1 – S54_3

[0097] Therefore, the channel calibration coefficient C can be obtained, and the specific formula is as follows:

[0098] C=τs=(A*(τ3–τ1)–B*(τ2–τ1)) / (A*(τ3–τ1)*τ2–B*(τ2–τ1)*τ3)

[0099] The reflection coefficients τ1', τ2', and τ3' of the channel calibration coefficients AA and BB are calculated using the following formula:

[0100] τ1'=(τ1–τs) / (1–τ1*τs)

[0101] τ2'=(τ2–τs) / (1–τ2*τs)

[0102] τ3'=(τ3–τs) / (1–τ3*τs)

[0103] Where τs equals the channel calibration coefficient C. Based on this, the channel calibration coefficients AA and BB can be obtained, with the specific formula as follows:

[0104] AA=(τ1'*S54_2–τ2'*S54_1) / A

[0105] BB=(τ1'–τ2') / A.

[0106] In this embodiment, the frequency reflection coefficients corresponding to each frequency point are determined based on the reflected power and the feedback power. The channel reflection coefficient corresponding to the target load is obtained based on the median of the frequency reflection coefficients. The channel calibration coefficient of the target channel is determined based on the channel reflection coefficients corresponding to each calibration load. The median can be determined from the reflection coefficients corresponding to each frequency point as the universal reflection coefficient for the entire channel. The calibration coefficient is determined based on this reflection coefficient, which improves the efficiency of standing wave detection.

[0107] In one embodiment, after step S220 above, the method may further include: determining the VSWR curve corresponding to the channel calibration coefficient, determining the target curve from the VSWR curve, and determining that the channel calibration coefficient meets the preset conditions if the derivative corresponding to the target curve does not have a singularity or zero.

[0108] The VSWR curve can be the relationship curve between the calibration coefficient and the VSWR. The target curve can be a VSWR curve with the ordinate within a preset VSWR range.

[0109] In practice, the controller can acquire multiple simulated reflection coefficients arranged in ascending order, determine the simulated standing wave ratio (SWR) corresponding to each simulated reflection coefficient based on the channel calibration coefficient, and define the relationship curve between the simulated reflection coefficient and the simulated SWR as the SWR curve. A segment of the SWR curve with the ordinate within the preset SWR range is taken as the target curve. The derivative is calculated within the target curve range. If there are no singularities or zeros in the obtained derivative, it is determined that the channel calibration coefficient meets the preset conditions, and the target channel can be calibrated using the current calibration load. Otherwise, if there are singularities and / or zeros in the obtained derivative, it is determined that the channel calibration coefficient does not meet the preset conditions, and the target channel cannot be calibrated using the current calibration load.

[0110] In practical applications, a VSWR range of (0, 10] can be preset. A segment of the VSWR curve with a ordinate VSWR belonging to (0, 10] is selected as the target curve. The domain of the target curve is (x1, x2]. The derivative of the target curve within its domain is calculated, and the presence of singularities or zeros is determined. If no singularities or zeros exist, the target channel can be calibrated using the current calibration load. Otherwise, if singularities and / or zeros exist, the target channel cannot be calibrated using the current calibration load. The center difference can be calculated using the center difference formula, specifically:

[0111] f'(x0)≈(f(x0+h)-f(x0-h)) / (2h)

[0112] Where h is the splitting interval, and x0 is the simulated reflection coefficient within the domain interval (x1, x2]. Based on the calculated center difference and splitting interval, the approximate derivative f'(x0) of the target curve can be calculated.

[0113] In this embodiment, by determining the VSWR curve corresponding to the channel calibration coefficient, the target curve is determined from the VSWR curve. If the derivative of the target curve does not have a singularity or zero, it is determined that the channel calibration coefficient meets the preset conditions. This allows for a quick determination of whether the target channel can be calibrated with VSWR based on the current calibration load, thereby improving the efficiency of VSWR calibration.

[0114] In one embodiment, the step of determining the standing wave ratio curve corresponding to the channel calibration coefficient may specifically include: obtaining multiple simulated reflection coefficients, determining the simulated standing wave ratio corresponding to each simulated reflection coefficient based on the channel calibration coefficient, and determining the relationship curve between the simulated reflection coefficient and the simulated standing wave ratio as the standing wave ratio curve corresponding to the channel calibration coefficient.

[0115] The simulated reflection coefficient can be multiple reflection coefficients arranged in ascending order.

[0116] The simulated standing wave ratio can be the standing wave ratio calculated based on the simulated reflection coefficient and the channel calibration coefficient.

[0117] In practice, the controller can acquire multiple simulated reflection coefficients arranged in ascending order. Based on the channel calibration coefficient of the target channel, it determines the simulated standing wave ratio corresponding to each simulated reflection coefficient. With the simulated reflection coefficient as the abscissa and the simulated standing wave ratio as the ordinate, it plots the relationship curve between the simulated reflection coefficient and the simulated standing wave ratio to obtain the standing wave ratio curve.

[0118] In practical applications, the controller can simulate and generate multiple simulated reflection coefficients S54' arranged in ascending order. The simulated standing wave ratio corresponding to each simulated reflection coefficient is calculated according to the following formula:

[0119] T=(C–AA+BB*S54') / (1–C*AA+C*BB*S54')

[0120] SWR=(1+|T|) / (1–|T|)

[0121] Where T represents the calibrated reflection coefficient, and SWR represents the simulated standing wave ratio obtained from the simulation.

[0122] Plot the relationship curve between S54' and SWR with S54' as the x-axis and SWR as the y-axis to obtain the VSWR curve. The VSWR curve is calculated based on the channel calibration coefficients AA, BB, and C, and corresponds to the channel calibration coefficients AA, BB, and C.

[0123] In this embodiment, by acquiring multiple simulated reflection coefficients and determining the simulated standing wave ratio (SWR) corresponding to each simulated reflection coefficient based on the channel calibration coefficient, the relationship curve between the simulated reflection coefficient and the simulated SWR is determined as the SWR curve corresponding to the channel calibration coefficient. The SWR curve can be used to determine whether the target channel can be calibrated using the current calibration load, thus improving the efficiency of SWR calibration.

[0124] In one embodiment, step S230 may specifically include: when the target channel is connected to the calibration load, determining the frequency calibration coefficients corresponding to each frequency point of the target channel; calibrating the reflection coefficient to be calibrated of the target frequency point according to the frequency calibration coefficients corresponding to the target frequency point of the target channel, and obtaining the calibrated VSWR of the target frequency point.

[0125] The target frequency can be any frequency among the frequency points of the target channel.

[0126] The frequency calibration coefficient can be a calibration coefficient corresponding to the frequency of the target channel.

[0127] The reflection coefficient to be calibrated can be the reflection coefficient directly calculated from the feedback power and reflection power at the target frequency.

[0128] Among them, the VSWR after calibration can be the VSWR of the target frequency obtained after calibrating the reflection coefficient to be calibrated using the frequency calibration coefficient.

[0129] In practice, assuming the channel calibration coefficients meet preset conditions, the target channel can be calibrated using the current calibration loads to achieve VSWR. The controller can pre-connect the target channel to each calibration load sequentially. For each frequency point of the target channel, the reflected power and feedback power corresponding to each calibration load are measured. Based on the measured reflected power and feedback power, the frequency calibration coefficients are determined, resulting in the set of frequency calibration coefficients {C(f), AA(f), BB(f)} corresponding to each frequency point of the target channel, where f = f0, f1, ..., f F-1 .

[0130] When a signal sent by the target channel is received, the frequency of the signal is taken as the target frequency point f0, and the reflected power and feedback power corresponding to f0 are obtained. The reflection coefficient S54_0 to be calibrated is calculated according to S54_0=10^((reflected power (dB)-feedback power (dB)) / 20).

[0131] Determine whether S54_0 belongs to the domain interval (x1, x2]. If it does, then retrieve the frequency calibration coefficients C(f0), AA(f0), and BB(f0) corresponding to f0 from the set of frequency calibration coefficients, and perform VSWR calibration on S54_0 according to the following formula.

[0132] T(f0)=(C(f0)–AA(f0)+BB(f0)*S54_0) / (1–C(f0)*AA(f0)+C(f0)*BB(f0)*S54_0)

[0133] SWR(f0)=(1+|T(f0)|) / (1–|T(f0)|)

[0134] Where T(f0) represents the calibrated reflection coefficient corresponding to frequency point f0, and SWR(f0) represents the calibrated standing wave ratio corresponding to frequency point f0.

[0135] In this embodiment, by connecting the target channel to the calibration load, the frequency calibration coefficients corresponding to each frequency point of the target channel are determined. Based on the frequency calibration coefficients corresponding to the target frequency points of the target channel, the reflection coefficients to be calibrated at the target frequency points are calibrated to obtain the calibrated standing wave ratio (SWR) of the target frequency points. The SWR of each frequency point of the target channel can be calibrated using the calibration load, thereby improving the accuracy of SWR detection.

[0136] In one embodiment, a method for determining the antenna port VSWR is provided, which may specifically include:

[0137] Measure S54_dbi = reflected power (dB) - feedback power (dB), i = 1, 2, 3, and obtain S54_db1, S54_db2, S54_db3;

[0138] Generate a table containing S54 and frequency point information for the three calibration loads;

[0139] Based on the two tables and calibration formulas above, the calibration coefficients for each frequency point are generated. The specific calculation process is as follows:

[0140] τ1=(VSWR_1–1) / (VSWR_1+1)

[0141] τ2=(VSWR_2–1) / (VSWR_2+1)

[0142] τ3=(VSWR_3–1) / (VSWR_3+1)

[0143] S54_1 = 10^(S54_db1 / 20)

[0144] S54_2 = 10^(S54_db2 / 20)

[0145] S54_3 = 10^(S54_db3 / 20)

[0146] A = S54_1 – S54_2

[0147] B = S54_1 – S54_3

[0148] C=τs=(A*(τ3–τ1)–B*(τ2–τ1)) / (A*(τ3–τ1)*τ2–B*(τ2–τ1)*τ3)

[0149] τ1'=(τ1–τs) / (1–τ1*τs)

[0150] τ2'=(τ2–τs) / (1–τ2*τs)

[0151] τ3'=(τ3–τs) / (1–τ3*τs)

[0152] AA=(τ1'*S54_2–τ2'*S54_1) / A

[0153] BB = (τ1'–τ2') / A;

[0154] Generate a table containing frequency point information and the C, AA, and BB coefficients mentioned above;

[0155] Calculate the reflection coefficient of the antenna port T = (C – AA + BB * S54) / (1 – C * AA + C * BB * S54);

[0156] Calculate the standing wave ratio (SWR) at the antenna port: SWR = (1 + |T|) / (1 – |T|).

[0157] To facilitate a deeper understanding of the embodiments of this application by those skilled in the art, a specific example will be used for illustration below.

[0158] Figure 4 A flowchart illustrating a method for measuring standing wave ratio (SWR) at an antenna feed port using a calibration approach is provided. Assuming the target device has four channels, each requiring calibration with three loads, connectivity between the channels and loads is established by switching the control switch in the PC (terminal) navigation window to the specified channel and load number. Calibration of each channel is then performed sequentially. According to... Figure 4 The method includes the following steps:

[0159] Step S301: Connect all antenna feed ports of the target device to an N×3 matrix switch. For example, if the target device is a 4T4R (4 transmit 4 receive) device, it means that the device has 4 antenna feed ports. Then select a 4×3 matrix switch, and connect the 4 input terminals of the matrix in the switch to the 4 antenna feed ports of the target device respectively.

[0160] Step S302: Connect the three output ports of the matrix switch to three calibration loads respectively. For example, loads with SWR of 1.4, 1.6 and 1.8 can be selected as calibration loads, with a full-band ripple of ±0.05.

[0161] Step S303: Open the ATS (Automatic Test System) software (production test user interface, which can control instruments, meters, equipment, etc.), and select the standing wave calibration option in the navigation window;

[0162] In step S304, after selecting the standing wave calibration option, the ATS production task bar will automatically display Load1 calibration, Load2 calibration, Load3 calibration and automatic calibration. Select Load1 calibration.

[0163] In step S305, after selecting Load1 for calibration, the ATS sends a command to switch the matrix switch to Antenna Feed 1 and Load1, controlling the target device to output a CW signal. After detecting the reflected power and feedback power, the ATS starts frequency sweeping, storing the feedback power and reflected power of each frequency point into the FPGA's RAM. After measuring each frequency point, the slave software reads the RAM data and stores it in the corresponding file. After the ATS receives the slave's completion information, it switches the matrix switch to Antenna Feed 2 and repeats the above process until all antenna feed tests are completed.

[0164] Step S306: After the ATS scans all channels, it outputs calibration data. After the tester confirms that the data is normal, the next calibration step is performed.

[0165] In step S307, after selecting Load2 for calibration, the ATS sends a command to switch the matrix switch to Antenna Feeder 1 and Load2, controlling the target device to output a CW signal. After detecting the reflected and feedback power, the ATS begins frequency sweeping, storing the feedback and reflected power at each frequency point into the FPGA's RAM. After measuring each frequency point, the slave software reads the RAM data and stores it in the corresponding file. Once the ATS receives the completion information from the slave, it switches the matrix switch to Antenna Feeder 2 and repeats the above process until all antenna feeder tests are completed.

[0166] Step S308: After the ATS scans all channels, it outputs calibration data. After the tester confirms that the data is normal, the next calibration step is performed.

[0167] In step S309, after selecting Load3 for calibration, the ATS sends a command to switch the matrix switch to antenna feeder 1 and Load3, controlling the target device to output a CW signal. After detecting the reflected and feedback power, the ATS starts frequency sweeping, storing the feedback and reflected power at each frequency point into the FPGA's RAM. After measuring each frequency point, the slave software reads the RAM data and stores it in the corresponding file. After the ATS receives the slave's completion information, it switches the matrix switch to antenna feeder 2 and repeats the above process until all antenna feeder tests are completed.

[0168] Step S310: After the ATS scans all channels, it outputs calibration data. After the tester confirms that the data is normal, the next calibration step is performed.

[0169] Step S311: After calibration, for each frequency point corresponding to the feedback power and reflected power measured for each antenna feeder channel, calculate S54 (S54 = reflected power (dB) - feedback power (dB)). After sorting the S54 values ​​corresponding to multiple frequency points, take the median value and calculate the channel calibration coefficients AA, BB, and C based on the median value. The specific calculation process is as follows:

[0170] S54_1 = 10^(S54_db1 / 20)

[0171] S54_2 = 10^(S54_db2 / 20)

[0172] S54_3 = 10^(S54_db3 / 20)

[0173] Wherein, S54_1, S54_2, and S54_3 are the median values ​​of S54 corresponding to each calibration load.

[0174] A = S54_1 – S54_2

[0175] B = S54_1 – S54_3

[0176] Where A and B are the coefficients of the channel calibration coefficient C.

[0177] τ1=(VSWR_1–1) / (VSWR_1+1)

[0178] τ2=(VSWR_2–1) / (VSWR_2+1)

[0179] τ3=(VSWR_3–1) / (VSWR_3+1)

[0180] Where VSWR_1, VSWR_2, and VSWR_3 are the load values ​​of each calibration load, respectively. τ1, τ2, and τ3 are the reflection coefficients of the channel calibration coefficient C.

[0181] τ1'=(τ1–τs) / (1–τ1*τs)

[0182] τ2'=(τ2–τs) / (1–τ2*τs)

[0183] τ3'=(τ3–τs) / (1–τ3*τs)

[0184] Where τ1', τ2', and τ3' are the reflection coefficients of channel calibration coefficients AA and BB. τs is equal to the channel calibration coefficient C.

[0185] C=τs=(A*(τ3–τ1)–B*(τ2–τ1)) / (A*(τ3–τ1)*τ2–B*(τ2–τ1)*τ3)

[0186] AA=(τ1'*S54_2–τ2'*S54_1) / A

[0187] BB=(τ1'–τ2') / A

[0188] ATS software can simulate power, generating multiple S54' arrays arranged from smallest to largest. Based on the S54' arrays, the reflection coefficient of the antenna port is calculated, thus obtaining the simulated SWR value. The specific calculation process is as follows:

[0189] T=(C–AA+BB*S54') / (1–C*AA+C*BB*S54')

[0190] SWR=(1+|T|) / (1–|T|)

[0191] Using S54' as the x-axis and SWR as the y-axis, the SWR fitting curve can be obtained.

[0192] Step S312: For the SWR fitted curve, calculate the central difference using the central difference formula. The specific calculation formula is as follows:

[0193] f'(x0)≈(f(x0+h)-f(x0-h)) / (2h)

[0194] Where h is the split interval and x is S54'. Based on the calculated central difference and split interval, the approximate derivative f'(x0) of the SWR fitting curve can be obtained.

[0195] The SWR fitting curve is judged based on the approximate derivative f'(x0) to determine whether it meets the requirements. For example, if SWR∈(0,10] is required, the domain interval (x1,x2] corresponding to SWR∈(0,10] is determined from the SWR fitting curve. It is then judged whether the domain interval is within a reasonable range. If it is not within a reasonable range, the current calibration load cannot be used for VSWR calibration. Otherwise, if it is within a reasonable range, the current calibration load can be used for VSWR calibration. Specifically, the derivative of the SWR fitting curve within the domain interval can be calculated. If there are singularities and / or zeros in the obtained derivative, the current calibration load cannot be used for VSWR calibration. Otherwise, if there are no singularities or zeros in the obtained derivative, the current calibration load can be used for VSWR calibration. In practical applications, SWR∈[1.3,10] can also be required, and the domain interval of the corresponding SWR fitting curve is [x1,x2].

[0196] Step S313: After successful calibration, the slave software calculates the calibration coefficients for each frequency point, obtaining a set of frequency point calibration coefficients {C(f), AA(f), BB(f)}. When the signal frequency f0 is obtained from the target device, the reflected power and feedback power corresponding to f0 are measured. The frequency point calibration coefficients C(f0), AA(f0), and BB(f0) corresponding to f0 are retrieved from the set of frequency point calibration coefficients. According to S54_0 = 10^((target reflected power (dB) - target feedback power (dB)) / 20), the reflection coefficient to be calibrated, S54_0, is obtained. It is determined whether S54_0 is within the defined domain interval (x1, x2]. If it is within this defined domain interval, then according to...

[0197] T(f0)=(C(f0)–AA(f0)+BB(f0)*S54_0) / (1–C(f0)*AA(f0)+C(f0)*BB(f0)*S54_0)

[0198] SWR(f0)=(1+|T(f0)|) / (1–|T(f0)|)

[0199] Calculate the calibrated VSWR(f0); otherwise, if it is not within this domain range, do not update the VSWR.

[0200] The above-described method for measuring the standing wave ratio (SWR) at the antenna feed port using calibration considers multiple factors affecting SWR detection accuracy and performs SWR detection at the antenna feed port after calibration. This method detects the SWR at the RX port (receiving end) of the circulator, reducing the number of external interface connections on the hardware circuit board, simplifying hardware implementation, and lowering design complexity and production costs. Simultaneously, it calibrates for different frequency signal characteristics, and the inherent gain, loss, and leakage of the duplexer and circulator, resulting in a more accurate SWR measurement that reflects the antenna feed port status. Furthermore, it reduces the inconsistency in calibration loop qualitative analysis caused by frequent load changes during the calibration process, thus reducing manpower consumption.

[0201] In one embodiment, such as Figure 5 As shown, a standing wave ratio (SWR) calibration method is provided, which can be applied to... Figure 2 Taking the controller in the example, the following steps are included:

[0202] Step S401: Control the matrix switch to connect the target channel of the target device with the target load in the calibration load, and obtain the reflection power and feedback power of each frequency point of the target channel;

[0203] Step S402: Determine the frequency point reflection coefficient of each frequency point based on the reflection power and feedback power of each frequency point, and obtain the channel reflection coefficient of the target channel based on the median of the frequency point reflection coefficients.

[0204] Step S403: Determine the channel calibration coefficient of the target channel based on the channel reflection coefficient corresponding to each calibration load;

[0205] Step S404: Based on the channel calibration coefficient, determine the simulated standing wave ratio corresponding to multiple simulated reflection coefficients, and determine the relationship curve between the simulated reflection coefficient and the simulated standing wave ratio as the standing wave ratio curve corresponding to the channel calibration coefficient, and determine the target curve from the standing wave ratio curve.

[0206] Step S405: When the derivative corresponding to the target curve in the VSWR curve does not have a singularity or zero, determine the frequency calibration coefficients corresponding to each frequency point of the target channel.

[0207] Step S406: Based on the frequency calibration coefficient corresponding to the target frequency of the target channel, calibrate the reflection coefficient to be calibrated of the target frequency to obtain the calibrated VSWR of the target frequency.

[0208] In practice, the controller can control the matrix switch to connect the target channel of the target device to three calibration loads in sequence, measure the reflected power and feedback power of each frequency point of the target channel, calculate the frequency point reflection coefficient based on the reflected power and feedback power, determine the median value of the frequency point reflection coefficient as the channel reflection coefficient of the target channel, calculate the channel calibration coefficient of the target channel using the channel reflection coefficients corresponding to the three calibration loads, and generate a standing wave ratio (SWR) curve based on the channel calibration coefficient. Select a segment of the SWR curve within a preset range, differentiate it, and if there are no singularities or zeros in the derivative, the SWR of the specified frequency point of the target channel can be calibrated according to the current three calibration loads.

[0209] The above-described VSWR calibration method connects the target channel of the target device to the target load in the calibration load by controlling a matrix switch. It obtains the reflected power and feedback power at each frequency point of the target channel. Based on the reflected power and feedback power at each frequency point, it determines the frequency point reflection coefficient. Based on the median of the frequency point reflection coefficients, it obtains the channel reflection coefficient of the target channel. Based on the channel reflection coefficients corresponding to each calibration load, it determines the channel calibration coefficient of the target channel. Based on the channel calibration coefficient, it determines the simulated VSWR corresponding to multiple simulated reflection coefficients. The relationship curve between the simulated reflection coefficient and the simulated VSWR is determined as the VSWR curve corresponding to the channel calibration coefficient. The target curve is determined from the VSWR curve. The method assumes that the derivative of the target curve in the VSWR curve does not have a singularity or a zero. When determining the frequency calibration coefficients corresponding to each frequency point of the target channel, the reflection coefficients to be calibrated at the target frequency points are calibrated based on the frequency calibration coefficients corresponding to the target frequency points of the target channel, thus obtaining the calibrated VSWR of the target frequency points. Alternatively, when the target channel is connected to at least three calibration loads, the channel calibration coefficients corresponding to the median of the reflection coefficients at each frequency point of the target channel can be determined. If the channel calibration coefficients are verified, the frequency calibration coefficients corresponding to each frequency point of the target channel can be pre-determined using these at least three calibration loads. When the reflection coefficients to be calibrated at the target frequency points of the target channel are obtained, the reflection coefficients to be calibrated are calibrated using the frequency calibration coefficients corresponding to the target frequency points. The calibrated VSWR is then determined using the calibrated reflection coefficients, thereby improving the accuracy of the VSWR detection results.

[0210] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0211] Based on the same inventive concept, embodiments of this application also provide a standing wave ratio (SWR) calibration apparatus and system for implementing the above-described SWR calibration method. The solution provided by this apparatus and system is similar to the implementation described in the above-described method; therefore, specific limitations in one or more SWR calibration apparatus and system embodiments provided below can be found in the limitations of the SWR calibration method described above, and will not be repeated here.

[0212] In one embodiment, a standing wave ratio (SWR) calibration system is provided, the system including a controller and a matrix switch, the controller being connected to the matrix switch, the input of the matrix switch being connected to a target device, and the output being connected to a calibration load;

[0213] The matrix switch is used to connect the target channel of the target device to the calibration load;

[0214] The controller is configured to acquire the reflected power and feedback power of the target channel, determine the channel calibration coefficient of the target channel based on the reflected power and feedback power, and perform VSWR calibration on the target channel according to the calibration load if the channel calibration coefficient meets preset conditions.

[0215] In one embodiment, such as Figure 6 As shown, a VSWR calibration device is provided, applied to a controller. The controller is connected to a matrix switch. The input terminal of the matrix switch is connected to a target device, and the output terminal is connected to a calibration load. The device includes:

[0216] The acquisition module 510 is used to control the matrix switch to connect the target channel of the target device to the calibration load, and acquire the reflected power and feedback power of the target channel;

[0217] The determination module 520 is used to determine the channel calibration coefficient of the target channel based on the reflected power and the feedback power;

[0218] The calibration module 530 is used to perform VSWR calibration on the target channel according to the calibration load, provided that the channel calibration coefficient meets the preset conditions.

[0219] In one embodiment, the acquisition module 510 is further configured to control the matrix switch to connect the target channel to the target load in the calibration load; control the target channel to output a preset waveform, and acquire the reflected power and feedback power corresponding to the target load.

[0220] In one embodiment, the determining module 520 is further configured to determine the frequency point reflection coefficient corresponding to each of the frequency points based on the reflected power and the feedback power; obtain the channel reflection coefficient corresponding to the target load based on the median of the frequency point reflection coefficients; and determine the channel calibration coefficient of the target channel based on the channel reflection coefficient corresponding to each of the calibration loads.

[0221] In one embodiment, the above-mentioned standing wave ratio calibration device further includes:

[0222] The curve determination module is used to determine the standing wave ratio curve corresponding to the channel calibration coefficient, and to determine the target curve from the standing wave ratio curve;

[0223] The coefficient judgment module is used to determine whether the channel calibration coefficient meets the preset conditions when the derivative corresponding to the target curve does not have a singularity or zero.

[0224] In one embodiment, the curve determination module is further configured to acquire multiple simulated reflection coefficients, determine the simulated standing wave ratio corresponding to each simulated reflection coefficient based on the channel calibration coefficient, and determine the relationship curve between the simulated reflection coefficient and the simulated standing wave ratio as the standing wave ratio curve corresponding to the channel calibration coefficient.

[0225] In one embodiment, the calibration module 530 is further configured to, when the target channel is connected to the calibration load, determine the frequency calibration coefficients corresponding to each frequency point of the target channel; and calibrate the reflection coefficient to be calibrated of the target frequency point according to the frequency calibration coefficients corresponding to the target frequency points of the target channel, so as to obtain the calibrated VSWR of the target frequency point.

[0226] The various modules in the aforementioned VSWR calibration device and system can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware within or independently of the processor in a computer device, or stored in software within the memory of the computer device, so that the processor can call and execute the corresponding operations of each module.

[0227] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a standing wave ratio (VSWR) calibration method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0228] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0229] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0230] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0231] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0232] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0233] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0234] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0235] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A standing wave ratio (VSWR) calibration method, characterized in that, The method is applied to a controller connected to a matrix switch, the input of which is connected to a target device, and the output of which is connected to a calibration load; the method includes: The matrix switch is controlled to connect the target channel of the target device to the calibration load, and the reflected power and feedback power of the target channel are obtained. Based on the reflected power and the feedback power, the frequency point reflection coefficient corresponding to each frequency point is determined. Based on the median of the frequency point reflection coefficients, the channel reflection coefficient corresponding to the target load is obtained. Based on the channel reflection coefficients corresponding to each calibration load, the channel calibration coefficient of the target channel is determined. If the channel calibration coefficient meets the preset conditions, the target channel is calibrated by VSWR according to the calibration load.

2. The VSWR calibration method according to claim 1, characterized in that, The calibration load is at least three; controlling the matrix switch to connect the target channel of the target device to the calibration load, and obtaining the reflected power and feedback power of the target channel, includes: The matrix switch is controlled to connect the target channel to the target load in the calibration load; The target channel is controlled to output a preset waveform to obtain the reflected power and feedback power corresponding to the target load.

3. The VSWR calibration method according to claim 2, characterized in that, Both the reflected power and the feedback power correspond to at least one frequency point.

4. The VSWR calibration method according to claim 1, characterized in that, After determining the channel calibration coefficient of the target channel, the process also includes: Determine the standing wave ratio (SWR) curve corresponding to the channel calibration coefficient, and determine the target curve from the SWR curve; If the derivative corresponding to the target curve does not have a singularity or zero, the channel calibration coefficient is determined to meet the preset condition.

5. The VSWR calibration method according to claim 4, characterized in that, Determining the VSWR curve corresponding to the channel calibration coefficient includes: Multiple simulated reflection coefficients are obtained, and the simulated standing wave ratio corresponding to each simulated reflection coefficient is determined based on the channel calibration coefficient. The relationship curve between the simulated reflection coefficient and the simulated standing wave ratio is determined as the standing wave ratio curve corresponding to the channel calibration coefficient.

6. The VSWR calibration method according to claim 1, characterized in that, The step of calibrating the VSWR of the target channel according to the calibration load includes: When the target channel is connected to the calibration load, determine the frequency calibration coefficients corresponding to each frequency point of the target channel; Based on the frequency calibration coefficient corresponding to the target frequency of the target channel, the reflection coefficient of the target frequency to be calibrated is calibrated to obtain the calibrated VSWR of the target frequency.

7. A standing wave ratio (VSWR) calibration system, characterized in that, The system includes a controller and a matrix switch. The controller is connected to the matrix switch. The input terminal of the matrix switch is connected to the target device, and the output terminal is connected to the calibration load. The matrix switch is used to connect the target channel of the target device to the calibration load; The controller is configured to acquire the reflected power and feedback power of the target channel, determine the frequency point reflection coefficient corresponding to each frequency point based on the reflected power and feedback power, obtain the channel reflection coefficient corresponding to the target load based on the median of the frequency point reflection coefficients, determine the channel calibration coefficient of the target channel based on the channel reflection coefficients corresponding to each calibration load, and perform VSWR calibration on the target channel based on the calibration load if the channel calibration coefficients meet preset conditions.

8. A standing wave ratio (VSWR) calibration device, characterized in that, An application is made to a controller, which is connected to a matrix switch. The input terminal of the matrix switch is connected to the target device, and the output terminal is connected to a calibration load. The device includes: The acquisition module is used to control the matrix switch to connect the target channel of the target device to the calibration load, and acquire the reflected power and feedback power of the target channel; The determination module is used to determine the frequency point reflection coefficient corresponding to each frequency point based on the reflected power and the feedback power, obtain the channel reflection coefficient corresponding to the target load based on the median of the frequency point reflection coefficients, and determine the channel calibration coefficient of the target channel based on the channel reflection coefficients corresponding to each calibration load. The calibration module is used to calibrate the VSWR of the target channel according to the calibration load, provided that the channel calibration coefficient meets the preset conditions.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • RFID product standing-wave ratio automatic testing system

    CN105652091A

  • Radio frequency module testing machine calibration device and system

    CN212649479U