Self-detection method, radio frequency system, radio frequency device and storage medium

By designing a self-detection method in the RF system, controlling the on-state of the test channel and the directional coupler, and using a programmable gain amplifier and power detector for RF power calibration, the problem of large RF power calibration error in the prior art is solved, and high-precision power self-calibration and standing wave alarm are achieved.

CN120200688APending Publication Date: 2025-06-24HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311787398.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-22
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

The prior art has large errors when calibrating RF power, and it is difficult for RF systems to achieve high-precision power self-calibration and standing wave alarms.

Method used

A self-detection method is designed to control the test channel to conduct and disconnect the directional coupler from the power detector during the RF signal output by the RF link, and the RF power calibration is performed using a programmable gain amplifier, power detector and digital logic control circuit, and the reverse input signal is input through the test port of the detection link to determine the input and output relationship model of the power detector and the coupling degree information of the directional coupler.

Benefits of technology

It realizes high-precision radio frequency power self-calibration, reduces errors, improves calibration accuracy, and has a standing wave alarm function, which can monitor and handle standing wave phenomena in real time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120200688A_ABST
    Figure CN120200688A_ABST
Patent Text Reader

Abstract

The invention discloses a self-detection method, a radio frequency system, a radio frequency device and a storage medium, and belongs to the technical field of radio frequency. In the process that the radio frequency link outputs the radio frequency signal, the test channel is controlled to be conducted, and the directional coupler is controlled to be disconnected from the power detector, so that radio frequency power calibration is carried out through the programmable gain amplifier, the power detector and the digital logic control circuit; or, the test channel is controlled to be disconnected, and the directional coupler and the power detector are controlled to be connected, so that standing wave alarm processing is carried out. By controlling the connection and disconnection of the test channel and the directional coupler with the power detector, the purposes of power calibration in a power-on or transmitting power gap, real-time echo monitoring and standing wave alarm can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of radio frequency technology, and in particular, to a self-detection method, a radio frequency system, a radio frequency device, and a storage medium. Background Art

[0002] In practical applications, due to the influence of factors such as the on-chip system process, operating voltage, and environmental temperature, the radio frequency power of the radio frequency system will be unstable. In order to maintain the stability of the radio frequency power, it is necessary to calibrate the radio frequency power of the radio frequency system.

[0003] In the traditional solution, the method for calibrating the radio frequency power is generally as follows: a coupler structure is configured on the radio frequency system, the radio frequency power is sampled through the coupler structure when the radio frequency signal is output, and then the actual radio frequency power is deduced by calculating the combined sampled radio frequency power and the coupling loss of the coupler structure, and finally the calibration is performed based on the actual radio frequency power.

[0004] However, the accuracy of this calibration method depends seriously on the accuracy of the coupling loss of the coupler structure, and the error is large. Summary of the Invention

[0005] The main object of the present invention is to provide a self-detection method, a radio frequency system, a radio frequency device, and a storage medium, aiming to solve the technical problem of large error in calibrating the radio frequency power.

[0006] To achieve the above object, the present invention provides a self-detection method, which is applied to a radio frequency system. The radio frequency system includes a radio frequency link and a detection link. The radio frequency link includes a programmable gain amplifier, a balun coil, and a radio frequency channel connected in sequence. The detection link includes a digital logic control circuit, a power detector, a test channel, and a directional coupler connected in sequence. Among them, the output end of the digital logic control circuit is connected to the programmable gain amplifier, the test channel is connected in parallel with the radio frequency channel to the output end of the balun coil, the directional coupler is coupled to the balun coil, and the output end of the directional coupler is connected to the power detector. The method includes: during the process of the radio frequency link outputting a radio frequency signal, controlling the test channel to conduct, and controlling the directional coupler to be disconnected from the power detector, so as to perform radio frequency power calibration through the programmable gain amplifier, the power detector, and the digital logic control circuit; or, controlling the test channel to be disconnected, and controlling the directional coupler to be connected to the power detector, so as to perform standing wave alarm processing.

[0007] Optionally, performing radio frequency power calibration includes: the power detector detects the power of the radio frequency signal transmitted through the test channel, and transmits the detected radio frequency power to the digital logic control circuit; the digital logic control circuit sends a control instruction to the programmable gain amplifier according to the detected radio frequency power, and the control instruction is an instruction for calibrating the radio frequency power output by the radio frequency link.

[0008] Optionally, the detection link further includes a temperature detector connected to the digital logic control circuit for detecting the ambient temperature; the digital logic control circuit sends a control instruction to the programmable gain amplifier according to the detected radio frequency power, including: the digital logic control circuit determines whether the ambient temperature exceeds a temperature threshold; in the case where the ambient temperature exceeds the temperature threshold, the digital logic control circuit sends a control instruction to the programmable gain amplifier according to the detected radio frequency power.

[0009] Optionally, the balun coil includes a balun primary coil and a balun secondary coil. The balun primary coil is connected to the programmable gain amplifier, and the balun secondary coil is connected to the radio frequency channel and the test channel. The directional coupler is coupled to the balun secondary coil for standing wave warning processing, including: the directional coupler detects a standing wave signal and transmits the standing wave signal to the power detector to obtain the standing wave power through the power detector; determines the actual standing wave power according to the standing wave power, the coupling degree information of the directional coupler, and the input-output relationship model of the power detector, and performs a standing wave warning according to the actual standing wave power, where the coupling degree information of the directional coupler is used to indicate the coupling loss of the directional coupler.

[0010] Optionally, the test channel includes a first switch, a second switch, and a test port. One end of the first switch is connected to the balun secondary coil, the other end of the first switch is connected to the test port, one end of the second switch is connected to the power detector, and the other end of the second switch is connected to the connection port between the first switch and the test port. The method further includes: controlling the first switch to be off, the second switch to be on, and controlling the directional coupler to be disconnected from the power detector; inputting a first test signal through the test port, and the power detector performs power detection on the signal transmitted through the test port and the second switch to obtain a first detection result; determines the input-output relationship model of the power detector according to the first test signal and the first detection result.

[0011] Optionally, the second switch is a single-pole double-throw switch. One end of the second switch is connected to the power detector, and the other end of the second switch is connected to the directional coupler or the connection port between the first switch and the test port. The method further includes: controlling the first switch to be on and controlling the directional coupler to be connected to the power detector; inputting a second test signal through the test port, and the power detector detects the signal transmitted through the test port, the first switch, and the directional coupler to obtain a second detection result; determines the coupling loss of the directional coupler according to the second test signal, the second detection result, and the input-output relationship model of the power detector to obtain the coupling degree information of the directional coupler.

[0012] In addition, the present invention further provides a radio frequency system. The radio frequency system includes a radio frequency link, a detection link, and a control component. The radio frequency link includes a programmable gain amplifier, a balun coil, and a radio frequency channel connected in sequence. The detection link includes a digital logic control circuit, a power detector, a test channel, and a directional coupler connected in sequence. Among them, the control component is connected to the test channel, the output end of the digital logic control circuit is connected to the programmable gain amplifier, the test channel and the radio frequency channel are connected in parallel to the output end of the balun coil, the directional coupler is coupled to the balun coil, and the output end of the directional coupler is connected to the power detector. Among them, the control component is used to control the test channel to conduct and control the directional coupler to disconnect from the power detector during the process of the radio frequency link outputting a radio frequency signal, so as to perform radio frequency power calibration through the programmable gain amplifier, the power detector, and the digital logic control circuit; or, the control component is further used to control the test channel to disconnect and control the directional coupler to conduct with the power detector to perform standing wave warning processing.

[0013] Optionally, performing radio frequency power calibration includes: the power detector is used to detect the power of the radio frequency signal transmitted through the test channel and transmit the detected radio frequency power to the digital logic control circuit; the digital logic control circuit is used to send a control instruction to the programmable gain amplifier according to the detected radio frequency power, and the control instruction is an instruction for calibrating the radio frequency power output by the radio frequency link.

[0014] Optionally, the detection link further includes a temperature detector. The temperature detector is connected to the digital logic control circuit and is used to detect the ambient temperature. Among them, the digital logic control circuit is further used to determine whether the ambient temperature exceeds a temperature threshold, and when the ambient temperature exceeds the temperature threshold, send a control instruction to the programmable gain amplifier according to the detected radio frequency power.

[0015] Optionally, the balun coil includes a balun primary coil and a balun secondary coil. The balun primary coil is connected to the programmable gain amplifier, the balun secondary coil is connected to the radio frequency channel and the test channel, and the directional coupler is coupled to the balun secondary coil. Performing standing wave warning processing includes: the directional coupler is used to detect the standing wave signal and transmit the standing wave signal to the power detector to obtain the standing wave power through the power detector; the control component is further used to determine the actual standing wave power according to the standing wave power, the coupling degree information of the directional coupler, and the input-output relationship model of the power detector, and perform standing wave warning according to the actual standing wave power, where the coupling degree information of the directional coupler is used to indicate the coupling loss of the directional coupler.

[0016] Optionally, the test channel includes a first switch, a second switch, and a test port. One end of the first switch is connected to the balun secondary coil, the other end of the first switch is connected to the test port, one end of the second switch is connected to the power detector, and the other end of the second switch is connected to the connection port between the first switch and the test port. The control component is respectively connected to the first switch and the second switch. The control component is further configured to control the first switch to be turned off, the second switch to be turned on, and the directional coupler to be disconnected from the power detector. The test port is used for inputting a first test signal. The power detector is further configured to perform power detection on the signal transmitted through the test port and the second switch to obtain a first detection result. The control component is further configured to determine the input-output relationship model of the power detector according to the first test signal and the first detection result.

[0017] Optionally, the second switch is a single-pole double-throw switch. One end of the second switch is connected to the power detector, and the other end of the second switch is connected to the directional coupler or the connection port between the first switch and the test port. The control component is further configured to control the first switch to be turned on and the directional coupler to be connected to the power detector. The test port is further used for inputting a second test signal. The power detector is further configured to detect the signal transmitted through the test port, the first switch, and the directional coupler to obtain a second detection result. The control component is further configured to determine the coupling loss of the directional coupler according to the second test signal, the second detection result, and the input-output relationship model of the power detector to obtain the coupling degree information of the directional coupler.

[0018] In addition, the present invention further provides a radio frequency device, and the radio frequency device is configured with a radio frequency system as shown in the above embodiment.

[0019] In addition, the present invention further provides a storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the self-detection method as described in the above embodiment are implemented.

[0020] As described above, in the self-detection method of the present application, during the process of the radio frequency link outputting a radio frequency signal, the test channel is controlled to be turned on, and the directional coupler is controlled to be disconnected from the power detector, so as to perform radio frequency power calibration through the programmable gain amplifier, the power detector, and the digital logic control circuit; or, the test channel is controlled to be turned off, and the directional coupler is controlled to be connected to the power detector, so as to perform standing wave warning processing. By controlling the on and off of the test channel and the directional coupler and the power detector, it is possible to achieve power calibration during power-on or transmission power gaps, and real-time echo monitoring for the purpose of standing wave warning. Description of the Drawings

[0021] Figure 1 It is a schematic structural diagram of a radio frequency system related to the embodiment solution of the present invention;

[0022] Figure 2 Schematic structural diagram of another radio frequency system involved in the solution of the embodiment of the present invention;

[0023] Figure 3 Schematic structural diagram of another radio frequency system involved in the solution of the embodiment of the present invention;

[0024] Figure 4 Schematic structural diagram of another radio frequency system involved in the solution of the embodiment of the present invention;

[0025] Figure 5 Schematic structural diagram of a radio frequency device provided by an embodiment of the present application;

[0026] Figure 6 Schematic flow chart of a self-detection method provided by an embodiment of the present invention;

[0027] Figure 7 Schematic flow chart showing another self-detection method;

[0028] Figure 8 Schematic flow chart showing another self-detection method;

[0029] Figure 9 Schematic flow chart of a method for obtaining an input-output relationship model of a power detector;

[0030] Figure 10 Schematic flow chart of a method for obtaining coupling degree information of a directional coupler.

[0031] The realization of the purpose of the present application, functional features and advantages will be further described in conjunction with the embodiments with reference to the accompanying drawings. Through the above-mentioned accompanying drawings, the clear embodiments of the present application have been shown, and there will be more detailed descriptions hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. Detailed implementation manners

[0032] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0033] When the radio frequency system is working, the power of the radio frequency signal output by it (hereinafter simply referred to as radio frequency power) has a particularly obvious impact on the signal propagation distance. Often, a 1 dB radio frequency power error will cause the signal propagation distance to differ by several meters. In order to ensure the stability of the signal propagation distance, it is necessary to maintain the stability of the radio frequency power. However, due to the influence of factors such as the on-chip system process level, voltage fluctuation, and environmental temperature fluctuation, the radio frequency power of the radio frequency system will show unstable phenomena. In response to this phenomenon, generally, the method of calibrating the radio frequency power is adopted to solve it.

[0034] In one example, the method for self-calibrating radio frequency power is as follows: coupling the radio frequency signal through a coupler structure, then collecting the power based on the coupled signal, and finally performing operations on the collected radio frequency power to obtain the actual radio frequency power. The problem with this method is that the error is relatively large.

[0035] In another example, the method for self-calibrating radio frequency power is as follows: when the radio frequency system outputs a radio frequency signal, using the receiving channel to receive the intermediate frequency signal, then processing the intermediate frequency signal through the backend processor to obtain the radio frequency power, and finally performing calibration based on the processed radio frequency power. This method requires the use of backend processor resources, resulting in relatively high resource consumption and low accuracy.

[0036] From the above two examples, it can be seen that the current power self-calibration scheme has problems of large error and low accuracy.

[0037] In addition, when a radio frequency signal enters a load from a transmission line (such as a coaxial cable) or an antenna system, if the impedance of the load does not match the characteristic impedance of the transmission line or the antenna, a part of the signal will be reflected back to form a reflected wave. Among them, interference between the reflected wave and the forward wave will result in a standing wave phenomenon. The standing wave will cause reflection and overlap of energy, resulting in loss of the radio frequency signal, affecting the transmission effect of the radio frequency signal and the transmission efficiency of the radio frequency power. Therefore, the standing wave is an undesirable phenomenon in the radio frequency system. Currently, generally before the radio frequency device (such as a system-on-chip) leaves the factory, the standing wave condition of the radio frequency device will be detected, and the defective chips with unsatisfactory standing wave conditions will be removed.

[0038] In one example, a spectrum analyzer and a network analyzer can be used for calibration or standing wave detection on the production line. However, using a spectrum analyzer and a network analyzer for test calibration or standing wave detection on the production line is costly.

[0039] The current radio frequency system has a relatively single function and does not simultaneously have the functions of high-precision power self-calibration and standing wave warning. To solve this technical problem, the technical solution of this application proposes a radio frequency system and a self-detection method that can be fully integrated on the radio frequency device and simultaneously have the functions of high-precision power self-calibration and standing wave warning.

[0040] The content involved in the technical solution of this application will be described below. To calibrate the radio frequency power, it is first necessary to test the circuit of the radio frequency system. In practice, circuit testing is not easy because many internal node signals of the circuit are difficult to control and observe externally. Especially when testing the circuit integrated on a system-on-chip (such as a radio frequency device), since the circuits integrated on the system-on-chip are more complex and diverse, it is more difficult to test the circuit of the system-on-chip. To solve this problem, a built-in self-test technology has been proposed currently. Some special structures are implanted into the system-on-chip during the design stage so that testing can be carried out after the design is completed. These special structures are testable structures. By adding testable structures, the internal signals of the system-on-chip can be exposed to the outside, thus solving the problem that internal signals are difficult to control and observe externally.

[0041] The technical solution of this application utilizes the built-in self-test technology. A detection link is designed in the radio frequency system. The detection link is a testable structure. By controlling the detection link, the radio frequency signal can be directly detected to obtain the radio frequency power, and self-calibration is carried out based on this. It ensures that the detected radio frequency power is more accurate and avoids introducing errors when collecting the radio frequency power. It improves the accuracy of calibrating the radio frequency power.

[0042] In addition, when performing standing wave detection, the standing wave signal can be collected by using the directional coupler in the detection link, and the standing wave power can be obtained through the power detector. Since the standing wave signal is affected by the coupling loss of the directional coupler during the collection process, and the standing wave power is affected by the response characteristics of the power detector itself, therefore, it is necessary to perform an operation on the standing wave power to obtain the actual standing wave power, and finally perform a standing wave alarm according to the actual standing wave power. Among them, in this solution, the response characteristics (i.e., the input-output relationship model) of the power detector are directly determined in a very simple way by reversely inputting signals through the test port of the detection link, and the coupling degree information (coupling loss) of the directional coupler is accurately determined by reversely inputting signals through the test port of the detection link. On this basis, the accuracy of the actual standing wave power obtained by performing an operation on the standing wave power is ensured. This is also the reason for realizing high-precision standing wave monitoring.

[0043] Please refer to Figures 1 to 4 , Figure 1 which is a schematic structural diagram of a radio frequency system involved in the solution of the embodiment of the present invention, Figure 2 which is a schematic structural diagram of another radio frequency system involved in the solution of the embodiment of the present invention, Figure 3 which is a schematic structural diagram of another radio frequency system involved in the solution of the embodiment of the present invention, Figure 4 which is a schematic structural diagram of another radio frequency system involved in the solution of the embodiment of the present invention.

[0044] As shown in Figure 1As shown, the radio frequency system includes a radio frequency link, a detection link, and a control component (not shown in the figure). Among them, the radio frequency link includes a programmable gain amplifier (PGA), a balun coil, and a radio frequency channel connected in sequence.

[0045] In one embodiment, the balun coil includes a balun primary coil and a balun secondary coil. Among them, the balun primary coil is connected to the programmable gain amplifier (PGA), the balun secondary coil is connected to the radio frequency channel and the test channel in the detection link, and the test channel of the detection link and the radio frequency channel of the radio frequency link are connected in parallel at the output end of the balun secondary coil.

[0046] In one embodiment, the radio frequency system can be single-channel or multi-channel. Figure 1 As shown in, there are N radio frequency channels TXOUT1, TXOUT2, TXOUT3, TXOUT4,..., TXOUTn-1, TXOUTN, where N≥1. Among them, Figure 2 Four radio frequency channels and one test channel are exemplarily shown.

[0047] In the embodiment of the present application, the radio frequency channel includes a radio frequency switch, and the conduction or cutoff of the radio frequency channel is controlled through the radio frequency switch. It should be noted that Figure 1 and Figure 2 The form of the radio frequency channel shown is only an exemplary display and does not constitute a limitation on the form of the radio frequency channel in the present application.

[0048] In one embodiment, as Figure 2 shown, the radio frequency link may further include a signal source. Among them, the signal source is connected to the programmable gain amplifier (PGA) and is used to output signals.

[0049] In another embodiment, as Figure 2 shown, the radio frequency link further includes a power amplifier (PA). The power amplifier (PA) is located between the programmable gain amplifier (PGA) and the balun coil. Among them, the output end of the power amplifier (PA) is connected to the balun primary coil. When the radio frequency link outputs a radio frequency signal, the power amplifier (PA) can amplify the radio frequency signal and then transmit it to the balun coil.

[0050] In the embodiment of the present application, as Figure 1 shown, the detection link includes a digital logic control circuit BISTL (Built In Self Test Logic), a power detector LOG_PD, a test channel, and a directional coupler connected in sequence.

[0051] Among them, the output end of the digital logic control circuit BISTL is connected to the programmable gain amplifier (PGA), the directional coupler is coupled to the balun coil, and the output end of the directional coupler is connected to the power detector.

[0052] In one implementation, as Figure 2 shown, the test channel includes a test switch. When the test switch is off, the test channel is off; when the test switch is on, the test channel is on. Optionally, the control component is connected to the test switch of the test channel for controlling the test switch to be on or off.

[0053] In the embodiment of the present application, when the radio frequency link transmits a radio frequency signal, the control component controls the test switch to be on, that is, the test channel is on, so that the radio frequency signal can be input into the power detector LOG_PD to realize direct detection of the radio frequency signal.

[0054] In one implementation, as Figure 3 shown, the test channel includes a first switch S1, a second switch S2, and a test port TEST. One end of the first switch S1 is connected to the secondary coil of the balun, the other end of the first switch S1 is connected to the TEST port, one end of the second switch S2 is connected to the power detector LOG_PD, and the other end of the second switch S2 is connected to the connection port between the first switch S1 and the TEST port. The control component is respectively connected to the first switch S1 and the second switch S2.

[0055] Among them, the control component can turn on both the first switch S1 and the second switch S2 to realize the conduction of the test channel. In addition, the control component can control the first switch S1 and / or the second switch S2 to be off to realize the disconnection of the test channel.

[0056] Optionally, the TEST port can be connected to a load or a test signal source. Among them, when the first switch S1 is on and the TEST port is connected to the load, the TEST port is used to output a radio frequency signal to the load. When the TEST port is connected to the signal source, the TEST port is used to reversely input a test signal, and the test signal can be a first test signal or a second test signal.

[0057] In one embodiment, as Figure 2 shown, the detection link further includes an analog-to-digital converter ADC (Analog to digital converter), where the analog-to-digital converter ADC is disposed between the digital logic control circuit BISTL and the power detector LOG_PD.

[0058] In one embodiment, as Figure 2 shown, the detection link further includes a temperature detector TS (Temperature sensor), where the temperature detector TS is, for example, a temperature sensor, and the temperature detector TS is connected to the input end of the digital logic control circuit BISTL for detecting the ambient temperature.

[0059] In one embodiment, the directional coupler can couple the signal (i.e., the standing wave signal) incoming from the RF channel side and transmit it to the power detector.

[0060] In one implementation, as Figures 1 to 4 shown, the output end of the directional coupler is connected to the power detector through a coupling switch. Wherein, when the coupling switch is turned on, the directional coupler and the power detector are turned on; when the coupling switch is turned off, the directional coupler and the power detector are turned off. Optionally, the control component is connected to the coupling switch for controlling the coupling switch to be turned on or off.

[0061] It should be noted that in the circuit structure as Figures 1 to 3 shown, when the control component controls, at the same time point, only one of the second switch S2 and the coupling switch can be turned on, that is, only one path of signal can enter the power detector LOG_PD.

[0062] In another implementation, as Figure 4 shown, the second switch S2 is a single-pole double-throw switch. One end of the second switch S2 is connected to the power detector, and the other end of the second switch S2 is connected to the directional coupler or the connection port between the first switch and the test port.

[0063] When the second switch S2 is switched to the side of the directional coupler, the directional coupler and the power detector are turned on. When the second switch S2 is switched to the connection port between the first switch and the test port, the test port and the power detector are turned on or the first switch S1 and the power detector are turned on.

[0064] In the embodiments of the present application, the control component can be respectively connected to the second switch S2 and the first switch S1 to control the first switch S1 and the second switch S2 to be turned off or on.

[0065] In one embodiment, the control component is further connected to the power detector and can obtain the standing wave power detected by the power detector. And, the control component can also call the pre-stored coupling degree information of the directional coupler and the pre-stored input-output relationship model of the power detector, perform arithmetic processing on the standing wave power to obtain the actual standing wave power, and finally perform standing wave alarm according to the actual standing wave power.

[0066] Alternatively, the control component can obtain the first detection result detected by the power detector and determine the input-output relationship model of the power detector according to the first test signal and the first detection result.

[0067] Alternatively, the control component can obtain the second detection result detected by the power detector, and determine the coupling loss of the directional coupler according to the second test signal, the second detection result and the input-output relationship model of the power detector to obtain the coupling degree information of the directional coupler.

[0068] Based on the above embodiments, as Figure 5 shown, it is a schematic structural diagram of a radio frequency device provided by an embodiment of the present application. As Figure 5 shown, the radio frequency device is configured with the radio frequency system shown in the above embodiments.

[0069] Next, a self-detection method provided by an embodiment of the present application will be described with reference to the accompanying drawings. As Figure 6 shown, Figure 6 is a schematic flowchart of a self-detection method provided by an embodiment of the present invention. This method is applied to the radio frequency system described above, and this method includes steps 601 to 603.

[0070] Step 601, during the process of the control component outputting a radio frequency signal on the radio frequency link, control the test channel to conduct and control the directional coupler and the power detector to disconnect.

[0071] Step 602, the power detector performs power detection on the radio frequency signal transmitted through the test channel, and transmits the detected radio frequency power to the digital logic control circuit.

[0072] Step 603, the digital logic control circuit sends a control instruction to the programmable gain amplifier according to the detected radio frequency power, and the control instruction is an instruction for calibrating the radio frequency power output by the radio frequency link.

[0073] Among them, the control instruction is an instruction for calibrating the radio frequency power output by the radio frequency link.

[0074] Please refer to Figure 4 , Figure 4 The lines with arrows in represent the signal paths. Next, it will be described in conjunction with Figure 4 and Figure 6 .

[0075] When the radio frequency system is working normally, the radio frequency link will output a radio frequency signal, and the signal path is as shown in the ① path shown in Figure 4 . Among them, the signal source outputs a signal, the radio frequency signal is subjected to power adjustment or power calibration through the PGA, and then transmitted to the PA. After being amplified by the PA, it passes through the balun coil and is finally transmitted to multiple radio frequency channels.

[0076] Among them, when transmitting a radio frequency signal, the test channel is in a conducting state, corresponding to Figure 4 , that is, the control component controls both the first switch S1 and the second switch S2 to conduct. In this way, when the radio frequency signal is output, the radio frequency signals output by any radio frequency channel and the test channel are the same.

[0077] In this case, the radio frequency signal can be finally transmitted to the power detector LOG_PD through the first switch S1 and the second switch S1. Thus, the radio frequency power monitored by the power detector LOG_PD is the radio frequency power when the radio frequency system is operating normally. Then, the power detector LOG_PD transmits the detected radio frequency power to the on-chip digital logic control circuit BISTL, and the digital logic control circuit BISTL performs power calibration control.

[0078] Since the power detector LOG_PD directly detects the radio frequency signal, the accuracy of the detected radio frequency power is higher. When performing power calibration subsequently, the calibration accuracy is higher.

[0079] In one implementation, the digital logic control circuit BISTL can obtain the target radio frequency power, then compare the difference between the detected radio frequency power and the target radio frequency power, generate a control word based on this difference, and the control word is used to control the programmable gain amplifier PGA to adjust the power of the radio frequency signal so that the difference between the detected radio frequency power and the target radio frequency power is minimized. Among them, the digital logic control circuit BISTL can generate a control instruction based on the control word, and then send the control instruction to the programmable gain amplifier PGA.

[0080] In the self-detection method provided by the embodiments of the present application, in the self-calibration mode, by controlling the test channel in the detection link to conduct and controlling the directional coupler to disconnect from the power detector, the power detector can directly monitor the radio frequency signal transmitted by the radio frequency channel, and what is monitored is what is obtained. Thus, the power of the radio frequency signal can be directly detected, improving the accuracy of the detected radio frequency power. On this basis, the radio frequency power output by the radio frequency link is calibrated, and the calibration accuracy is higher. Compared with the traditional scheme, data errors are avoided during the process of detecting the radio frequency power. Therefore, the self-detection method provided by the present application can achieve high-precision self-calibration of radio frequency power.

[0081] The technical solution of the present application utilizes the power detection of the radio frequency signal during the process of the radio frequency link outputting the radio frequency signal, and the subsequent processing process after the radio frequency power is detected is completed during the working gap of the radio frequency link. That is to say, the self-detection process in the solution of the present application is completed during the power-on of the radio frequency system or the gap when the radio frequency signal is output, and does not require additional occupation of the working time of the radio frequency system.

[0082] In practical applications, since real-time power calibration will increase the power consumption of the radio frequency system. Therefore, the present application additionally provides a calibration-on-demand scheme to reduce the power consumption as much as possible under the condition of ensuring the stability of the radio frequency power.

[0083] In practical applications, it has been found that when the RF power is abnormal, the temperature of the RF device (or RF system) often rises. Based on this, in the embodiments of the present application, the ambient temperature is used as a condition for triggering power calibration. When the ambient temperature meets the power calibration condition, the detection link enters the power calibration mode. When the ambient temperature does not meet the power calibration condition, the detection link enters the low-power mode. As Figure 7 shown, Figure 7 FIG. shows a schematic flow diagram of another self-detection method, which includes steps 701 to 704.

[0084] Step 701, during the process of the control component outputting an RF signal on the RF link, control the test channel to conduct and control the directional coupler and the power detector to disconnect.

[0085] Step 702, the power detector performs power detection on the RF signal transmitted through the test channel, and transmits the detected RF power to the digital logic control circuit.

[0086] Step 703, the digital logic control circuit determines whether the ambient temperature exceeds the temperature threshold.

[0087] Step 704, in the case where the ambient temperature exceeds the temperature threshold, the digital logic control circuit sends a control instruction to the programmable gain amplifier according to the detected RF power.

[0088] In the embodiments of the present application, as Figure 2 shown, a temperature detector TS is also designed on the detection link. The temperature detector TS can detect the ambient temperature, and the ambient temperature can be, for example, the ambient temperature of the RF device or the ambient temperature of the RF system. Then the temperature detector TS can transmit the ambient temperature to the digital logic control circuit BISTL, and the digital logic control circuit BISTL makes a temperature judgment.

[0089] In some cases, the temperature detector detects the ambient temperature in real time and transmits the ambient temperature to the digital logic control circuit in real time. Correspondingly, the digital logic control circuit needs to make a real-time temperature judgment.

[0090] In other cases, the temperature detector detects the ambient temperature in real time and transmits the ambient temperature to the digital logic control circuit BISTL in real time. The digital logic control circuit BISTL can make a temperature judgment periodically.

[0091] When the ambient temperature exceeds the temperature threshold, it indicates that there may be an abnormality in the RF power of the RF system. In this case, the detection link enters the power calibration mode, that is, the digital logic control circuit BISTL calibrates the RF power received from the power detector. In one implementation, the digital logic control circuit BISTL can compare the difference between the detected RF power and the target RF power, generate a control instruction based on this difference, and send the control instruction to the programmable gain amplifier PGA.

[0092] It should be noted that when the ambient temperature is lower than the temperature threshold, the digital logic control circuit BISTL still receives the detected RF power transmitted by the power detector. However, since the detection link is in the low-power mode, the digital logic control circuit BISTL will not send a control instruction to the programmable gain amplifier.

[0093] In another embodiment of the present application, when the ambient temperature is lower than the temperature threshold, the digital logic control circuit BISTL still receives the detected RF power transmitted by the power detector, and compares the detected RF power with the target RF power. When the difference between the two is greater than the preset threshold, the detection link will enter the self-calibration mode from the low-power mode, and the digital logic control circuit BISTL will generate a control instruction based on the difference between the detected RF power and the target RF power, and send the control instruction to the programmable gain amplifier.

[0094] In the embodiments of the present application, self-calibration is performed when the ambient temperature is high, and self-calibration is not performed when the ambient temperature is low. On the one hand, it ensures the stability of the RF power of the RF system, and on the other hand, it reduces the power consumption of the RF system and improves the performance of the RF system.

[0095] Based on the above embodiments, the embodiments of the present application further provide a self-detection method capable of implementing the standing wave alarm function. As Figure 8 shown, Figure 8 Fig. shows a schematic flow diagram of another self-detection method, which includes steps 801 to 803.

[0096] Step 801, the control component controls the test channel to be disconnected and controls the directional coupler to be conducted with the power detector.

[0097] Step 802, the directional coupler detects the standing wave signal and transmits the standing wave signal to the power detector to obtain the standing wave power through the power detector.

[0098] Step 803, determine the actual standing wave power according to the standing wave power, the coupling degree information of the directional coupler, and the input-output relationship model of the power detector, and perform a standing wave alarm according to the actual standing wave power.

[0099] Among them, the coupling degree information of the directional coupler is used to indicate the coupling loss of the directional coupler.

[0100] In the embodiments of the present application, when standing wave detection is required, the control component can control the detection link to enter the standing wave alarm mode, so as to implement the standing wave alarm function.

[0101] In the standing wave alarm mode, the control component controls the test channel to be disconnected and controls the directional coupler and the power detector to be turned on.

[0102] Specifically, corresponding to Figure 2 the radio frequency system shown, the control component can control the test switch to be disconnected. Corresponding to Figure 3 the radio frequency system shown, the control component can control the first switch S1 to be closed and the second switch S2 to be disconnected, and at the same time control the coupling switch to be turned on. Corresponding to Figure 4 the situation shown, the control component can control the first switch S1 to be closed and the second switch S2 to be switched to the side of the directional coupler.

[0103] When the radio frequency system is working normally, the radio frequency signal is output from the radio frequency channel. At this time, a part of the signal may be reflected back, resulting in a standing wave phenomenon. In this case, as Figure 3 or Figure 4 shown, the directional coupler can couple the signal transmitted from the radio frequency channel (i.e., the standing wave signal) and transmit the coupled signal to the power detector through the second switch. In this case, the detection link enters the standing wave monitoring mode. In the standing wave monitoring mode, the signal path of the standing wave signal is as shown by the ④th path shown in Figure 4 .

[0104] It can be seen that the standing wave signal passes through the directional coupler. Correspondingly, there will be loss when the directional coupler performs coupling. Therefore, compensation is required for this loss.

[0105] In the embodiments of the present application, the control component can call the pre-detected coupling degree information of the directional coupler and the input-output relationship model of the power detector, and then convert the standing wave power to obtain the actual standing wave power.

[0106] Among them, when the actual standing wave power is greater than or equal to the standing wave threshold, a standing wave alarm is issued. When the actual standing wave power is less than the standing wave threshold, no standing wave alarm is issued.

[0107] It should be noted that in the embodiments of the present application, by reversely inputting the first test signal through the TEST port in the detection link, the characteristics of the power detector can be calibrated in a very simple manner, that is, the input-output relationship model of the power detector can be obtained. In addition, by reversely inputting the second test signal through the TEST port in the detection link, the coupling loss of the directional coupler can be accurately determined. The specific implementation process will be described below.

[0108] It should be noted that in the embodiments of the present application, in the standing wave alarm mode, the control component only needs to control the detection link and does not need to control the radio frequency link. That is to say, this process is insensitive to the radio frequency link and does not affect the normal operation of the radio frequency link, achieving the purpose of real-time standing wave detection when the radio frequency link is working. In addition, in the standing wave alarm mode, the digital logic control circuit BISTL in the detection link is in the off state. In one implementation, it can be the control component that controls the digital logic control circuit BISTL to be in the off state.

[0109] In the embodiments of the present application, the coupling loss of the precise directional coupler and the input-output relationship model of the power detector lay the foundation for the standing wave alarm. On this basis, the actual standing wave power is calculated from the standing wave power, and then the standing wave alarm is performed based on the actual standing wave power.

[0110] The process of obtaining the input-output relationship model of the power detector provided in the embodiments of the present application will be described below. Among them, as Figure 3 shown in the radio frequency system, the test channel includes a first switch, a second switch, and a test port. One end of the first switch is connected to the secondary coil of the balun, the other end of the first switch is connected to the test port, one end of the second switch is connected to the power detector, and the other end of the second switch is connected to the connection port between the first switch and the test port. On this basis, as Figure 9 shown, Figure 9 shows a schematic flow chart of a method for obtaining the input-output relationship model of the power detector. The method includes steps 901 to 903.

[0111] Step 901, the control component controls the first switch to disconnect, controls the second switch to conduct, and controls the directional coupler to disconnect from the power detector.

[0112] Step 902, input the first test signal through the test port, and the power detector performs power detection on the signal transmitted through the test port and the second switch to obtain the first detection result.

[0113] Step 903, the control component determines the input-output relationship model of the power detector according to the first test signal and the first detection result.

[0114] The following combinesFigure 3 and Figure 4 is described. For Figure 3 the shown radio frequency system, the control component can control the first switch S1 to disconnect, and the second switch S2 to conduct, and at the same time control the directional coupler and the power detector to disconnect. For Figure 4 the shown radio frequency system, the control component can control the first switch S1 to disconnect, and the second switch S2 to be switched to the connection port between the first switch and the test port. Then, a first test signal is input through the test port. Among them, the signal path of the first test signal is as Figure 4 shown by the second path in

[0115] and directly enters the power detector through the second switch S2. The power detector detects the transmitted signal to obtain a detection result, marked as the first detection result.

[0116] Among them, the actual power of the first test signal is known. For example, the actual power of the first test signal is Y. The detected power detected by the power detector is Z, and there is a difference between Z and Y. By seeking the correlation relationship between Z and Y, the input-output relationship model of the power detector can be obtained. Among them, Z and Y are only used for reference and do not have substantial physical meanings. m-1 Y m where m is an integer greater than 1. Correspondingly, the first detection results corresponding to each input are respectively represented as Z1, Z2, Z3, Z4,..., Z m-1 Z m In this way, m groups of input-output corresponding relationships can be obtained, such as (Y1, Z1), (Y2, Z2), (Y3, Z3),.... Using these m groups of data, the characteristic curve of the power detector, that is, the input-output relationship model, can be obtained.

[0117] Based on the above content, it can be known that in the embodiments of the present application, by controlling the detection link, the accurate input-output relationship model of the power detector can be obtained in a very simple manner, laying a foundation for subsequent standing wave warning.

[0118] It should be noted that in some cases, the process of obtaining the input-output relationship model of the power detector can be completed before the radio frequency system leaves the factory, and the input-output relationship model of the power detector is stored in the storage component for subsequent call.

[0119] In other cases, during the use of the power detector, some characteristic changes may occur. In such cases, the reliability of the input-output relationship model pre-stored at the time of factory shipment will deteriorate. Therefore, during the use of the RF system after factory shipment, the RF system can be periodically triggered to execute the steps disclosed in step 901 to step 903 above, so as to obtain the latest input-output relationship model of the power detector, and use the latest input-output relationship model of the power detector to overwrite the original model.

[0120] The process of obtaining the coupling degree information of the directional coupler provided in the embodiments of the present application will be described below. Among them, as Figure 4 shown in the RF system, the second switch is a single-pole double-throw switch. One end of the second switch is connected to the power detector, and the other end of the second switch is connected to the directional coupler or the connection port between the first switch and the test port. As Figure 10 shown, Figure 10 shows a schematic flow chart of a method for obtaining the coupling degree information of a directional coupler. The method includes step 1001 to step 1003.

[0121] Step 1001, control the first switch to conduct and control the directional coupler to conduct with the power detector.

[0122] Step 1002, input a second test signal through the test port. The power detector detects the signal transmitted through the test port, the first switch, and the directional coupler, and obtains a second detection result.

[0123] Step 1003, determine the coupling loss of the directional coupler according to the second test signal, the second detection result, and the input-output relationship model of the power detector, and obtain the coupling degree information of the directional coupler.

[0124] The following will be described in conjunction with Figure 4 In the embodiments of the present application, the control component can control the first switch S1 to conduct, the second switch S2 to be switched to the directional coupler, and then input a second test signal through the test port. Among them, the signal path of the second test signal is as Figure 4 shown in the third path shown in. The second test signal is transmitted to the balun secondary coil via the test port and the first switch S1. By using the integrated design of the directional coupler and the balun secondary coil, the second test signal can be coupled. The directional coupler can transmit the coupled signal to the power detector through the second switch S2, and the power detector detects the transmitted signal to obtain a detection result, which is marked as the second detection result.

[0125] Among them, the actual power of the second test signal is known. For example, the actual power of the second test signal is H, and the detected power detected by the power detector is G (the second detection result).

[0126] Since there will be coupling loss when the second test signal is coupled via the directional coupler, the power of the signal coupled through the directional coupler is no longer the same as the actual power of the second test signal, and the difference between the two is the coupling loss of the directional coupler. In the embodiments of the present application, the control component can determine the power H' of the signal input to the power detector according to the second detection result G and the input-output relationship model of the power detector, and then calculate the actual power of the second test signal as the difference between H and the power H' of the signal input to the power detector, so as to obtain the coupling loss of the directional coupler. Herein, H, G, and H' are only used for reference and do not have substantial physical meanings.

[0127] In some cases, the second test signal refers to a type of signal rather than a single signal. By inputting the second test signal multiple times and calculating the coupling loss of the directional coupler each time, the accurate coupling loss of the directional coupler can be obtained.

[0128] Based on the above, it can be seen that in the embodiments of the present application, by controlling the detection link and combining the input-output relationship model of the power detector, the coupling degree information of the directional coupler can be clearly obtained, laying a foundation for an accurate standing wave warning mode.

[0129] It should be noted that in some cases, the process of obtaining the coupling degree information of the directional coupler can be completed before the radio frequency system leaves the factory, and the coupling degree information of the directional coupler is stored in the storage component for subsequent calling.

[0130] In other cases, since some characteristic changes may occur during the use of the directional coupler, the reliability of the pre-stored coupling degree information at the time of leaving the factory will deteriorate. Therefore, during the use of the radio frequency system after leaving the factory, the radio frequency system can be periodically triggered to execute the steps disclosed in step 1001 to step 1003 above to obtain the latest coupling degree information of the directional coupler, and use the latest coupling degree information of the directional coupler to overwrite the original coupling degree information.

[0131] In the self-detection method provided by the embodiments of the present application, by controlling the conduction or cutoff of the first switch and the second switch in the detection link, different signals can be transmitted to the power detector to facilitate the detection by the power detector. Therefore, it can be achieved that in the self-calibration mode, the RF signal monitored by the power detector is consistent with the RF signal actually output by the RF link, that is, what is monitored is what is obtained. Based on this, self-calibration is performed, improving the accuracy of self-calibration. Further, the input-output relationship model of the power detector is determined directly in a very simple manner by reversely inputting the first test signal through the test port. And, by reversely inputting the second test signal through the test port, the coupling degree information of the directional coupler is accurately measured. Based on the accurate input-output relationship model of the power detector and the coupling degree information of the directional coupler, then the standing wave power detected by the power detector is calculated to obtain the actual standing wave power, and finally standing wave alarm is performed. These three are the reasons why the RF system can achieve high-precision power self-calibration and standing wave alarm.

[0132] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are sequentially shown according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limitation, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed 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 executed alternately or alternately with at least a part of other steps or steps or stages in other steps.

[0133] Based on the above embodiments, the embodiments of the present application further provide a storage medium, on which a computer program (or computer-executable instructions) is stored. When the computer program is executed by one or more processors, the processor is caused to execute the steps of the self-detection method in the foregoing embodiments.

[0134] The embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, causes the computer to execute the steps of the self-detection method.

[0135] It should be noted that in this text, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such a process, method, article or system. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or system including that element.

[0136] Any reference to memory, storage, database, or other media used in this application may include non-volatile and / or volatile memory. Non-volatile memory may include ROM (Read-Only Memory), PROM (Programmable Read-only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-only Memory), or flash memory. Volatile memory may include RAM (Random Access Memory), which serves as an external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as SRAM (Static Random Access Memory), DRAM (Dynamic Random Access Memory), SDRAM (Synchronous Dynamic Random Access Memory), double data rate DDR SDRAM (Double Data Rate Synchronous Dynamic Random Access memory), ESDRAM (Enhanced Synchronous Dynamic Random Access memory), SLDRAM (Sync Link Dynamic Random Access Memory), RDRAM (Rambus Dynamic Random Access Memory), DRDRAM (Direct Rambus Dynamic Random Access Memory).

[0137] The above-described embodiments merely represent several implementation manners of this application. Their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of this application. It should be noted that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can still be made, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be subject to the appended claims.

Claims

1. A self-detection method, characterized in that, Applied to a radio frequency system, the radio frequency system includes a radio frequency link and a detection link. The radio frequency link includes a programmable gain amplifier, a balun coil, and a radio frequency channel connected in sequence. The detection link includes a digital logic control circuit, a power detector, a test channel, and a directional coupler connected in sequence. Wherein, the output end of the digital logic control circuit is connected to the programmable gain amplifier. The test channel and the radio frequency channel are connected in parallel to the output end of the balun coil. The directional coupler is coupled to the balun coil. The output end of the directional coupler is connected to the power detector. The method includes: During the process of the radio frequency link outputting a radio frequency signal, controlling the test channel to conduct, and controlling the directional coupler to be disconnected from the power detector, so as to perform radio frequency power calibration through the programmable gain amplifier, the power detector, and the digital logic control circuit; Or, controlling the test channel to be disconnected, and controlling the directional coupler to be connected to the power detector, so as to perform standing wave warning processing.

2. The method according to claim 1, wherein The performing of radio frequency power calibration includes: The power detector detects the power of the radio frequency signal transmitted through the test channel, and transmits the detected radio frequency power to the digital logic control circuit; The digital logic control circuit sends a control instruction to the programmable gain amplifier according to the detected radio frequency power, and the control instruction is an instruction for calibrating the radio frequency power output by the radio frequency link.

3. The self-detection method according to claim 2, wherein The detection link further includes a temperature detector, and the temperature detector is connected to the digital logic control circuit for detecting the ambient temperature; The digital logic control circuit sending a control instruction to the programmable gain amplifier according to the detected radio frequency power includes: The digital logic control circuit determines whether the ambient temperature exceeds a temperature threshold; When the ambient temperature exceeds the temperature threshold, the digital logic control circuit sends the control instruction to the programmable gain amplifier according to the detected radio frequency power.

4. The self-detection method according to claim 1, characterized in that, The balun coil includes a balun primary coil and a balun secondary coil. The balun primary coil is connected to the programmable gain amplifier. The balun secondary coil is connected to the radio frequency channel and the test channel. The directional coupler is coupled to the balun secondary coil. The performing of standing wave warning processing includes: The directional coupler detects a standing wave signal and transmits the standing wave signal to the power detector, so as to obtain the standing wave power through the power detector; Determine the actual standing wave power according to the standing wave power, the coupling degree information of the directional coupler, and the input-output relationship model of the power detector, and perform standing wave warning according to the actual standing wave power, wherein the coupling degree information of the directional coupler is used to indicate the coupling loss of the directional coupler.

5. The self-detection method according to claim 4, wherein The test channel includes a first switch, a second switch, and a test port. One end of the first switch is connected to the balun secondary coil, the other end of the first switch is connected to the test port, one end of the second switch is connected to the power detector, and the other end of the second switch is connected to the connection port between the first switch and the test port. The method further includes: Controlling the first switch to be off, the second switch to be on, and controlling the directional coupler to be disconnected from the power detector; Inputting a first test signal through the test port, and the power detector performs power detection on the signal transmitted through the test port and the second switch to obtain a first detection result; Determining the input-output relationship model of the power detector according to the first test signal and the first detection result.

6. The self-detection method according to claim 5, wherein, The second switch is a single-pole double-throw switch. One end of the second switch is connected to the power detector, and the other end of the second switch is connected to the directional coupler or the connection port between the first switch and the test port. The method further includes: Controlling the first switch to be on and controlling the directional coupler to be connected to the power detector; Inputting a second test signal through the test port, and the power detector detects the signal transmitted through the test port, the first switch, and the directional coupler to obtain a second detection result; Determining the coupling loss of the directional coupler according to the second test signal, the second detection result, and the input-output relationship model of the power detector to obtain the coupling degree information of the directional coupler.

7. A radio frequency system, characterized in that, The RF system includes an RF link, a detection link, and a control component. The RF link includes a programmable gain amplifier, a balun coil, and an RF channel connected in sequence. The detection link includes a digital logic control circuit, a power detector, a test channel, and a directional coupler connected in sequence. The control component is connected to the test channel, the output end of the digital logic control circuit is connected to the programmable gain amplifier, the test channel and the RF channel are connected in parallel to the output end of the balun coil, the directional coupler is coupled to the balun coil, and the output end of the directional coupler is connected to the power detector, where The control component is configured to control the test channel to be on and control the directional coupler to be disconnected from the power detector during the process of the RF link outputting an RF signal, so as to perform RF power calibration through the programmable gain amplifier, the power detector, and the digital logic control circuit; Alternatively, the control component is further configured to control the test channel to be off and control the directional coupler to be connected to the power detector to perform standing wave warning processing.

8. The RF system according to claim 7, characterized in that, The performing of RF power calibration includes: The power detector is configured to perform power detection on the RF signal transmitted through the test channel and transmit the detected RF power to the digital logic control circuit; The digital logic control circuit is configured to send a control instruction to the programmable gain amplifier according to the detected radio frequency power, and the control instruction is an instruction for calibrating the radio frequency power output by the radio frequency link.

9. The RF system according to claim 8, wherein The detection link further includes a temperature detector, which is connected to the digital logic control circuit and is configured to detect the ambient temperature. Wherein, the digital logic control circuit is further configured to determine whether the ambient temperature exceeds a temperature threshold, and in the case where the ambient temperature exceeds the temperature threshold, send the control instruction to the programmable gain amplifier according to the detected radio frequency power.

10. The RF system according to claim 7, wherein The balun coil includes a balun primary coil and a balun secondary coil. The balun primary coil is connected to the programmable gain amplifier. The balun secondary coil is connected to the radio frequency channel and the test channel. The directional coupler is coupled to the balun secondary coil. The processing for standing wave warning includes: The directional coupler is configured to detect a standing wave signal and transmit the standing wave signal to the power detector to obtain the standing wave power through the power detector; The control component is further configured to determine the actual standing wave power according to the standing wave power, the coupling degree information of the directional coupler, and the input-output relationship model of the power detector, and perform a standing wave warning according to the actual standing wave power. Wherein, the coupling degree information of the directional coupler is used to indicate the coupling loss of the directional coupler.

11. The radio frequency system according to claim 10, characterized in that, The test channel includes a first switch, a second switch, and a test port. One end of the first switch is connected to the balun secondary coil, the other end of the first switch is connected to the test port, one end of the second switch is connected to the power detector, and the other end of the second switch is connected to the connection port between the first switch and the test port. The control component is respectively connected to the first switch and the second switch. Wherein, the control component is further configured to control the first switch to be turned off, the second switch to be turned on, and control the directional coupler to be disconnected from the power detector; The test port is configured to input a first test signal; The power detector is further configured to perform power detection on the signal transmitted through the test port and the second switch to obtain a first detection result; The control component is further configured to determine the input-output relationship model of the power detector according to the first test signal and the first detection result.

12. The radio frequency system according to claim 11, wherein The second switch is a single-pole double-throw switch. One end of the second switch is connected to the power detector, and the other end of the second switch is connected to the directional coupler or the connection port between the first switch and the test port. Wherein, the control component is further configured to control the first switch to be turned on and control the directional coupler to be turned on with the power detector; The test port is further configured to input a second test signal; The power detector is further configured to detect the signal transmitted through the test port, the first switch, and the directional coupler to obtain a second detection result; The control component is further configured to determine the coupling loss of the directional coupler according to the second test signal, the second detection result, and the input-output relationship model of the power detector, so as to obtain the coupling degree information of the directional coupler.

13. A radio frequency device, characterized in that, The radio frequency device is configured with the radio frequency system according to any one of claims 7 to 12.

14. A storage medium, characterized in that, The computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the self-detection method according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Radio frequency processing board card and test system

    CN120614059A