Radio frequency circuit, electronic device, reception level adjustment method and apparatus

By introducing a differential comparator module into the radio frequency circuit, the received level is adjusted in real time, which solves the problem of received level offset caused by temperature changes, ensures the accuracy of antenna switching and communication channels, and improves communication quality.

CN122247359APending Publication Date: 2026-06-19VIVO MOBILE COMM CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
VIVO MOBILE COMM CO LTD
Filing Date
2026-03-04
Publication Date
2026-06-19

Smart Images

  • Figure CN122247359A_ABST
    Figure CN122247359A_ABST
Patent Text Reader

Abstract

This application discloses a radio frequency (RF) circuit, electronic device, receiving level adjustment method, and apparatus. The RF circuit includes: an RF transceiver, a first signal processing module, a differential comparator module, and a low-noise amplifier. The RF transceiver includes: a first receiving port and a first functional port. The first receiving port is connected to the output of the low-noise amplifier via the differential comparator module, and the input of the low-noise amplifier is connected to an antenna module via the first signal processing module. The first functional port is connected to the output of the differential comparator module, the first input of the differential comparator module is connected to the output of the low-noise amplifier, and the second input of the differential comparator module is connected to the antenna module via the first signal processing module. The first functional port is used to detect the voltage offset output by the differential comparator module, where the voltage offset is the voltage offset between the signal processed by the low-noise amplifier and the signal not processed by the low-noise amplifier.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of antenna technology, specifically relating to a radio frequency circuit, electronic equipment, receiving level adjustment method and device. Background Technology

[0002] Communication quality depends on network signal strength, which in turn depends on factors such as base station coverage distance, uplink transmit power, downlink receive sensitivity, accuracy of received signal level, and the number of antennas on the electronic device. Regarding transmit power, electronic devices need to maximize transmit power while meeting 3GPP standards. For receive sensitivity, lower sensitivity results in more accurate information reception. As for received signal level, it plays a crucial role in scenarios such as switching transmit and receive paths on different antennas, base station resource scheduling, and cell handover. To obtain more accurate received signal levels, the receive path in the RF circuitry is typically calibrated before the electronic device leaves the factory to obtain the insertion loss and gain status of the receive path. This allows for precise control of the electronic device's transmit power and antenna path, reducing network congestion and enabling base stations to allocate resources more efficiently.

[0003] The current RF circuit's receiving path mainly includes: the RF transceiver's receiving port, a low-noise amplifier (LNA), and signal processing devices (such as duplexers and couplers). The signal processing devices can be connected to the physical antenna. The calibration of the receiving path primarily involves measuring the first power transmitted to the physical antenna and the second power transmitted through the aforementioned receiving path to the RF transceiver's receiving port. Based on these first and second powers, the received level is obtained, along with the insertion loss and gain status of the receiving path. While electronic equipment calibration is typically performed under constant temperature conditions in factories, real-world applications often experience significant temperature variations. The LNA, located outside the transceiver in the RF circuit, experiences gain or noise figure changes with temperature variations, leading to a shift in the received level. This can result in inaccurate antenna switching and communication channel prediction, ultimately impacting the communication experience. Summary of the Invention

[0004] The purpose of this application is to provide a radio frequency circuit, electronic device, receiving level adjustment method and apparatus that can solve the problem that the receiving level offset of the current radio frequency circuit affects the communication quality.

[0005] In a first aspect, embodiments of this application provide a radio frequency circuit, including: a radio frequency transceiver, a first signal processing module, a differential comparator module, and a low-noise amplifier; wherein,

[0006] The radio frequency transceiver includes: a first receiving port and a first functional port;

[0007] The first receiving port is connected to the output of the low-noise amplifier through the differential comparator module, and the input of the low-noise amplifier is connected to the antenna module through the first signal processing module.

[0008] The first functional port is connected to the output terminal of the differential comparator module, the first input terminal of the differential comparator module is connected to the output terminal of the low-noise amplifier, and the second input terminal of the differential comparator module is connected to the antenna module through the first signal processing module; wherein, the first functional port is used to detect the voltage offset output by the differential comparator module, and the voltage offset is the voltage offset between the signal received by the first input terminal after processing by the low-noise amplifier and the signal received by the second input terminal without processing by the low-noise amplifier.

[0009] Secondly, embodiments of this application provide an electronic device, including the radio frequency circuit described above.

[0010] Thirdly, embodiments of this application provide a method for adjusting the received level, applied to the electronic device described above, the method comprising:

[0011] When the antenna module receives a radio frequency signal, the voltage offset output by the differential comparator module detected by the first functional port of the radio frequency transceiver is obtained.

[0012] Based on the voltage offset, determine whether to adjust the receive level of the first receive port of the RF transceiver.

[0013] Fourthly, embodiments of this application provide a receiving level adjustment device, applied to the electronic device described above, comprising:

[0014] The acquisition module is used to acquire the voltage offset output by the differential comparison module detected by the first functional port of the radio frequency transceiver when the antenna module receives radio frequency signals.

[0015] The processing module is used to determine whether to adjust the receiving level of the first receiving port of the RF transceiver based on the voltage offset.

[0016] Fifthly, embodiments of this application provide an electronic device including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the receive level adjustment method as described in the third aspect.

[0017] In a sixth aspect, embodiments of this application provide a readable storage medium storing a program or instructions that, when executed by a processor, implement the steps of the receive level adjustment method as described in the third aspect.

[0018] In a seventh aspect, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the steps of the receive level adjustment method as described in the third aspect.

[0019] Eighthly, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the steps of the receive level adjustment method as described in the third aspect.

[0020] In this embodiment, a differential comparator module is set in the receiving path of the radio frequency circuit. One input of the differential comparator module is the signal received from the antenna module without low-noise amplifier processing, and the other input is the signal received from the antenna module after low-noise amplifier processing. Thus, the voltage offset output by the differential comparator module is the voltage offset between the signal received from the antenna module without low-noise amplifier processing and the signal received after low-noise amplifier processing. In this way, the voltage offset output by the differential comparator module can be used to determine whether the received level offset is caused by the low-noise amplifier. This allows for real-time adjustment of the received level during antenna operation, ensuring accurate antenna switching of electronic devices and accurate prediction of communication channels, thereby ensuring communication quality and solving the problem of received level offset affecting communication quality in current radio frequency circuits. Attached Figure Description

[0021] Figure 1 This is one of the schematic diagrams of the radio frequency circuit in an embodiment of this application;

[0022] Figure 2 This is a second schematic diagram of the radio frequency circuit according to an embodiment of this application;

[0023] Figure 3 This is a flowchart of the received level adjustment method according to an embodiment of this application;

[0024] Figure 4 This is a block diagram of the receiving level adjustment device according to an embodiment of this application;

[0025] Figure 5 This is a block diagram of an electronic device according to an embodiment of this application;

[0026] Figure 6 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0027] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0028] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0029] like Figure 1 As shown, this application provides a radio frequency circuit, including: a radio frequency transceiver 10, a first signal processing module 20, a differential comparator module 30, and a low-noise amplifier 40; wherein,

[0030] The radio frequency transceiver 10 includes: a first receiving port RX1 and a first functional port Vdet;

[0031] The first receiving port RX1 is connected to the output of the low noise amplifier 40 through the differential comparator module 30, and the input of the low noise amplifier 40 is connected to the antenna module 50 through the first signal processing module 20.

[0032] The first functional port Vdet is connected to the output terminal of the differential comparator module 30, the first input terminal of the differential comparator module 30 is connected to the output terminal of the low noise amplifier 40, and the second input terminal of the differential comparator module 30 is connected to the antenna module 50 through the first signal processing module 20. The first functional port Vdet is used to detect the voltage offset output by the differential comparator module 30. The voltage offset is the voltage offset between the signal received by the first input terminal after processing by the low noise amplifier 40 and the signal received by the second input terminal without processing by the low noise amplifier 40.

[0033] Optionally, the first signal processing module 20 can be used for signal transmission and reception isolation to achieve bidirectional communication, and / or the first signal processing module 20 can also be used for signal splitting or energy extraction, etc., but the embodiments of this application are not limited thereto.

[0034] In this embodiment, a differential comparator module 30 is provided in the receiving path of the radio frequency circuit. The first input terminal of the differential comparator module 30 is connected to the output terminal of the low-noise amplifier 40. The input terminal of the low-noise amplifier 40 is connected to the antenna module 50 through the first signal processing module 20. That is, one input of the differential comparator module 30 is the signal received from the antenna module 50 after processing by the low-noise amplifier 40. The second input terminal of the differential comparator module 30 is connected to the antenna module 50 through the first signal processing module 20. That is, the other input of the differential comparator module 30 is the signal received from the antenna module 50 before processing by the low-noise amplifier 40. The signal processed by the acoustic amplifier 40 is such that the voltage offset output by the differential comparator module 30 is the voltage offset between the signal received by the antenna module 50 before passing through the low-noise amplifier 40 and the signal after passing through the low-noise amplifier 40. In this way, the voltage offset output by the differential comparator module 30 can be used to determine whether the low-noise amplifier 40 has caused the received level offset. This allows for real-time adjustment of the received level during antenna operation, ensuring accurate antenna switching of electronic devices and accurate prediction of communication channels, thereby ensuring communication quality and solving the problem of received level offset affecting communication quality in current radio frequency circuits.

[0035] Optionally, the differential comparison module 30 includes: a differential amplification unit 31 and a first coupler 32; wherein,

[0036] The first receiving port RX1 is connected to the output of the low-noise amplifier 40 via the first coupler 32;

[0037] The first functional port Vdet is connected to the output of the differential amplifier unit 31. The first input of the differential amplifier unit 31 is connected to the output of the low noise amplifier 40 through the first coupler 32. The second input of the differential amplifier unit 31 is connected to the antenna module 50 through the first signal processing module 20.

[0038] For example, the first coupler 32 may include a through path and a coupling path, wherein the first receiving port RX1 is connected to the output of the low noise amplifier 40 through the through path of the first coupler 32, and the first input of the differential amplifier unit 31 is connected to the coupling path of the first coupler 32.

[0039] Specifically, the first coupler 32 includes a first terminal, a second terminal, a third terminal, and a fourth terminal; wherein the first terminal of the first coupler 32 is connected to the first receiving port RX1, the second terminal of the first coupler is connected to the output terminal of the low-noise amplifier 40, the third terminal of the first coupler is connected to the first input terminal of the differential amplifier unit 31, and the fourth terminal of the first coupler is connected to a load (e.g., grounded through a 50-ohm resistor). Optionally, the path between the first and second terminals of the first coupler 32 can be called a straight-through path, and the path between the third and fourth terminals of the first coupler 32 can be called a coupling path.

[0040] In this embodiment, the signal output from the low-noise amplifier 40 is transmitted through the first coupler 32 to the first receiving port RX1 for receiving signal processing via a direct path, and through the coupling path to the differential amplifier unit 31 for voltage offset comparison to determine whether the receiving level detected by the first receiving port of the RF transceiver needs to be adjusted. This ensures accurate antenna switching of electronic devices and accurate prediction of communication channels, thereby ensuring communication quality.

[0041] In this embodiment, the first input terminal of the differential amplifier unit 31 is connected to the output terminal of the low-noise amplifier 40 through the first coupler 32. The input terminal of the low-noise amplifier 40 is connected to the antenna module 50 through the first signal processing module 20. That is, one input of the differential amplifier unit 31 is the signal received from the antenna module 50 after being processed by the low-noise amplifier 40. The second input terminal of the differential amplifier unit 31 is connected to the antenna module 50 through the first signal processing module 20. That is, the other input of the differential amplifier unit 31 is the signal received from the antenna module 50 without being processed by the low-noise amplifier 40. The voltage offset output by the differential comparator module 30 is the voltage offset between the signal received from the antenna module 50 before processing by the low-noise amplifier 40 and the signal processed by the low-noise amplifier 40. This allows the voltage offset output by the differential amplifier unit 31 to determine whether the low-noise amplifier 40 caused the received level offset. This enables real-time adjustment of the received level during antenna operation, ensuring accurate antenna switching of electronic devices and accurate prediction of communication channels, thereby ensuring communication quality and solving the problem of received level offset affecting communication quality in current radio frequency circuits.

[0042] Optionally, the differential amplifier unit 31 includes: a differential amplifier 311, a first detector 312, and a second detector 313; wherein,

[0043] The first functional port Vdet is connected to the output of the differential amplifier 311. The first input of the differential amplifier 311 is connected to the output of the low noise amplifier 40 in sequence through the first detector 312 and the first coupler 32. The second input of the differential amplifier 311 is connected to the antenna module 50 in sequence through the second detector 313 and the first signal processing module 20.

[0044] For example, the first detector 312 and the second detector 313 can convert the power signal into a level signal. That is, the first detector 312 can convert the power signal received from the antenna module 50 and processed by the low-noise amplifier 40 into a level signal and input it to the first input terminal of the differential amplifier 311. That is, the first input terminal of the differential amplifier 311 receives the voltage value of the signal processed by the low-noise amplifier 40. The second detector 313 can convert the power signal received from the antenna module 50 without processing by the low-noise amplifier 40 into a level signal and input it to the second input terminal of the differential amplifier 311. That is, the second input terminal of the differential amplifier 311 receives the voltage value of the signal without processing by the low-noise amplifier 40.

[0045] In this embodiment, one input of the differential amplifier 311 is the voltage value of the signal processed by the low-noise amplifier 40 received from the antenna module 50, and the other input is the voltage value of the signal not processed by the low-noise amplifier 40 received from the antenna module 50. The differential amplifier 311 outputs a differential amplification result, which is the difference between the voltage value of the signal not processed by the low-noise amplifier 40 and the voltage value of the signal processed by the low-noise amplifier 40. The output differential amplification result (i.e., the amplified voltage offset) can be used to determine whether the low-noise amplifier 40 caused the received level offset. This allows for real-time adjustment of the received level during antenna operation, ensuring accurate antenna switching of electronic devices and accurate prediction of communication channels, thereby guaranteeing communication quality and solving the problem of received level offset affecting communication quality in current radio frequency circuits.

[0046] Optionally, the radio frequency circuit further includes: a second switching unit 70;

[0047] The radio frequency transceiver 10 also includes: a transmit port TX and a second function port FBRX;

[0048] The second switching unit 70 includes: a first terminal RF1, a second terminal RF2, and a third terminal RF0; the second switching unit 70 is capable of switching between a third state and a fourth state; wherein, in the third state, the first terminal RF1 and the third terminal RF0 are connected; in the fourth state, the second terminal RF2 and the third terminal RF0 are connected.

[0049] The transmit port TX is connected to the antenna module 50 through the first signal processing module 20;

[0050] The second input terminal of the differential comparator module 30 is connected to the first terminal RF1, the second functional port FBRX is connected to the second terminal RF2, and the third terminal RF0 is connected to the antenna module 50 through the first signal processing module 20.

[0051] For example, the transmit port TX and the first receive port RX1 of the RF transceiver 10 can be connected to the antenna module 50 through the first signal processing module 20. For example, the first signal processing module 20 can isolate the transmission and reception of signals to achieve bidirectional communication, and can also split the signal or extract energy to ensure that the RF transmission and reception are synchronous or asynchronous.

[0052] Optionally, the first signal processing module 20 includes: a duplexer 21 and a second coupler 22; wherein,

[0053] The transmit port TX and the input terminal of the low-noise amplifier 40 are both connected to the antenna module 50 in sequence through the duplexer 21 and the second coupler 22;

[0054] The third terminal RF0 is connected to the antenna module 50 through the second coupler 22.

[0055] For example, the duplexer 21 can be used to isolate the transmission and reception of signals to achieve bidirectional communication.

[0056] For another example, the second coupler 22 may include a through path and a coupling path, wherein the transmit port TX is connected to the antenna module 50 through the through path of the second coupler 22, and the third terminal RF0 of the second switching unit 70 is connected to the coupling path of the second coupler 22 (that is, the first functional port Vdet and the second functional port FBRX are both connected to the second coupler 22 through the coupling path of the second switching unit 70).

[0057] Specifically, the second coupler 22 includes a first end, a second end, a third end, and a fourth end; wherein the first end of the second coupler 22 is connected to the duplexer 21, the second end of the second coupler 22 is connected to the antenna module 50, the third end of the second coupler 22 is connected to the third terminal RF0 of the second switching unit 70, and the fourth end of the second coupler 22 is connected to a load (e.g., grounded through a 50-ohm resistor). Optionally, the path between the first and second ends of the second coupler 22 can be called a straight-through path, and the path between the third and fourth ends of the second coupler 22 can be called a coupled path. The second coupler 22 can perform signal splitting or energy extraction.

[0058] Optionally, when calibrating the TX path of the RF circuit, the second switching unit 70 can be switched to the fourth state, i.e., the second terminal RF2 and the third terminal RF0 are turned on. The RF signal emitted from the transmit port TX is transmitted through the second coupler 22, one path is transmitted through the antenna module 50, and the other path is fed back to the second functional port FBRX through the second switching unit 70. In this way, by comparing the transmit power of the antenna module 50 and the feedback power detected by the second functional port FBRX, TX path calibration is achieved, and the correspondence between the transmit power of the antenna module 50 and the feedback power detected by the second functional port FBRX can be stored in a non-volatile (NV) memory.

[0059] Optionally, during RX path calibration of the RF circuit, the second switching unit 70 can be switched to a third state, i.e., the first terminal RF1 and the third terminal RF0 are turned on. For example, an instrument can be used to send a downlink signal with a power of DL power 1 to the antenna module 50 according to multiple calibration channels CH1~CHn. This downlink signal with a power of DL power 1 passes through the first signal processing module 20 (optionally, through the second coupler 22 and duplexer 21 in sequence), the low noise amplifier 40, and the first coupler 32 into the first receiving port RX1, and is finally detected by the receiver inside the RF transceiver 10, which detects a received signal with a power of RX power. The other path of this downlink signal with a power of DL power 1 passes through the third terminal RF0 and the first terminal RF1 of the second switching unit 70 in sequence into the differential comparator module 30 (optionally, through the second detector 313 into the second input terminal of the differential amplifier 311). Among them, the downlink signal with output power of DL power2 after being amplified by the low noise amplifier 40 has one path flowing into the first receiving port RX1 through the first coupler 32, and another path flowing into the first input terminal of the differential amplifier 311 through the first coupler 32. The differential amplifier 311 amplifies the difference between the two signals and outputs them to the first functional port Vdet of the radio frequency transceiver 10. That is, the first functional port Vdet detects the voltage offset between the voltage value of the signal processed by the low noise amplifier 40 and the voltage value of the signal not processed by the low noise amplifier 40.

[0060] Optionally, the insertion loss relationship between each calibration channel CH1~CHn and each gain level G1+GiLNA~Gn+GiLNA of the low noise amplifier 40 (i.e., LNA) is stored in the NV inside the RF transceiver 10, as shown in Table 1 below.

[0061] Table 1

[0062]

[0063] If the gain and noise figure of the low-noise amplifier 40 change with temperature, the power value of the downlink signal with power DL power2 after amplification by the low-noise amplifier 40 will change accordingly, and the voltage offset output by the differential amplifier 311 will also change.

[0064] For example: According to the calculation formula RX power = DL power 1 - offset - Gain, where offset represents the power offset corresponding to the voltage offset detected by the first functional port Vdet of RF transceiver 10. If, during calibration, the instrument's transmitted power DL power 1 is -70, then Gain = G0 + G iLNA If the power RXpower detected by the RF transceiver 10 is 10, and the power RXpower detected by the RF transceiver 10 is -50, then the power offset corresponding to the voltage offset detected by the first functional port Vdet of the RF transceiver 10 is offset = -30, that is, offset = DL power 1 - RX power – Gain = -70 - (-50) - 10 = -30.

[0065] The power DLpower 1 transmitted by the instrument is accurate and known, at -70dBm. If the gain and noise figure of the low-noise amplifier 40 change with temperature, for example, if the actual gain Gain = G0 + GiLNA becomes 9, then the actual detected power RX power = -70 - (-30) -9 = -49. If the system then operates at the preset gain Gain = G0 + GiLNA = 10, the level fed back to the instrument will be DL power 1' = RX power + offset + Gain = -49 + (-30) + 10 = -69 > DL power 1, meaning the actual level will be higher.

[0066] Therefore, as the gain changes, the loss corresponding to Table 1 above also changes. When the voltage offset detected by the first functional port Vdet of the RF transceiver 10 determines that the actual loss is inconsistent with the loss shown in Table 1 above, the system adjusts the received level accordingly. For example, in order to correct the detected power RX power to -50, the LNA gain inside the RF transceiver 10 can be adjusted. This application embodiment is not limited to this.

[0067] In the above embodiments, the changes in LNA device parameters can be fed back in real time through the FBRX feedback path of the RF transceiver 10 (i.e., the path between the second functional port FBRX and the antenna module 50) and the external LNA receiving path (i.e., the path between the first functional port Vdet and the antenna module 50). This enables dynamic adjustment of the receiving level under different temperature conditions, ensuring more accurate switching of the antenna path and improving the user's communication experience.

[0068] Optionally, the radio frequency circuit further includes: a delay module 60;

[0069] The radio frequency transceiver 10 further includes: a second receiving port RX2;

[0070] The second receiving port RX2 is connected to the antenna module 50;

[0071] The first receiving port RX1 is connected to the output of the low noise amplifier 40 through the delay module 60; wherein, when the antenna module 50 receives the radio frequency signal, the delay module 60 is used to control the first receiving port RX1 to receive the radio frequency signal with a first delay compared to the second receiving port RX2.

[0072] For example, when the RF transceiver 10 has multiple receiving ports, such as a first receiving port RX1 and a second receiving port RX2 (of course, the number of receiving ports of the RF transceiver 10 in this embodiment is not limited to this), RX parameter calibration is usually performed simultaneously on multiple RX paths. The RX1 and RX2 test sockets of the electronic device are respectively connected to the corresponding ports of the calibration instrument, and the instrument transmits power from multiple ports simultaneously to calibrate the RX1 and RX2 paths at the same time. If the isolation between the RX1 and RX2 ports of the RF transceiver 10 is insufficient, it may cause one received signal to leak into another received path. For example, the received signal in the RX1 path may leak into the RX2 path, or the received signal in the RX2 path may leak into the RX1 path, causing the received signal strength detected by the RF transceiver 10 to be inaccurate, which in turn causes the RX1 and RX2 levels to deviate from the center value.

[0073] In this embodiment, a delay module 60 is provided between the first receiving port RX1 and the output of the low-noise amplifier 40 to control the first receiving port RX1 to receive the radio frequency signal with a first delay compared to the second receiving port RX2. This controls the received signal of the first receiving port RX1 to arrive at the radio frequency transceiver 10 after the received signal of the second receiving port RX2, thus avoiding interference with the received signal strength of the first receiving port RX1 at the receiving port of the radio frequency transceiver 10.

[0074] Optionally, the delay module 60 includes: a first switching unit 61 and a delay unit 62; wherein,

[0075] The first switching unit 61 includes: a first terminal R1, a second terminal R2, a third terminal R3, and a fourth terminal R4;

[0076] The delay unit 62 is connected between the first terminal R1 and the third terminal R3, the second terminal R2 is connected to the first receiving port RX1, and the fourth terminal R4 is connected to the output terminal of the low noise amplifier 40.

[0077] The first switching unit 61 is capable of switching between a first state and a second state; in the first state, the first terminal R1 is connected to the fourth terminal R4, and the second terminal R2 is connected to the third terminal R3; in the second state, the second terminal R2 is connected to the fourth terminal R4, and the first terminal R1 is disconnected from the third terminal R3.

[0078] When the antenna module 50 receives radio frequency signals, the first switching unit 61 first switches to the first state, and then switches to the second state after the first duration.

[0079] For example, the delay unit 62 can also be called a delay circuit, specifically including but not limited to the following forms: LC delay circuit, microstrip line delay, etc., and this application embodiment is not limited thereto. The function of the delay unit 62 is to delay the arrival of the received signal from the first receiving port RX1 after the arrival of the received signal from the second receiving port RX2 at the RF transceiver 10, thereby preventing the received signal from the second receiving port RX2 from interfering with the received signal strength of the first receiving port RX1 at the receiving port of the RF transceiver 10. The first time that the received signal from the first receiving port RX1 arrives at the RF transceiver 10 after the arrival of the received signal from the second receiving port RX2 can be designed based on the actual application scenario and the specific parameters in the selected delay circuit, and this application embodiment does not impose specific limitations.

[0080] In this embodiment, when the antenna module 50 receives radio frequency signals, the first switching unit 61 first switches to the first state, that is, the first terminal R1 is connected to the fourth terminal R4, and the second terminal R2 is connected to the third terminal R3. At this time, the signal output from the output terminal of the low noise amplifier 40 passes through the fourth terminal R4, the first terminal R1, the delay unit 62, the third terminal R3, the second terminal R2, and then to the first receiving port RX1. That is, the signal output from the output terminal of the low noise amplifier 40 passes through the delay unit 62 and then to the first receiving port RX1, thereby realizing that the received signal of the first receiving port RX1 arrives at the radio frequency transceiver 10 after the received signal of the second receiving port RX2.

[0081] In this embodiment, the RX parameter calibration is divided into the following two stages:

[0082] Phase 1: The first switching unit 61 is in the first state, that is, the first terminal R1 and the fourth terminal R4 are connected, the second terminal R2 and the third terminal R3 are connected, and the receiving path of the first receiving port RX1 includes: low noise amplifier 40 → first coupler 32 → fourth terminal R4 → first terminal R1 → delay unit 62 → third terminal R3 → second terminal R2 → first receiving port RX1. For example, the instrument simultaneously transmits downlink signals with a power of DL power to the antennas of the first receiving port RX1 and the second receiving port RX2. The first signal processing module 20 (e.g., the second coupler 22) detects the downlink signal with a power of DL power 1, and the first coupler 32 detects the downlink signal with a power of DL power 2. The downlink signals with power of DL power 1 and power of DL power 2 flow into the two input terminals of the differential amplifier 311 through the detectors, respectively. The differential amplifier 311 amplifies the difference between the two signals and outputs them to the first functional port Vdet of the RF transceiver 10. The NV in the RF transceiver 10 stores the correspondence between the voltage offset detected by the first functional port Vdet and the received signal strength detected by the first receiving port RX1.

[0083] Since there is a delay unit 62 in the receiving path of the first receiving port RX1 in stage one, the received signal of the first receiving port RX1 will arrive at the radio frequency transceiver 10 after the received signal of the second receiving port RX2, thus avoiding interference of the received signal strength of the first receiving port RX1 at the receiving port of the radio frequency transceiver 10 with the received signal of the second receiving port RX2.

[0084] Phase Two: The first switching unit 61 is in the second state, i.e., the second terminal R2 is connected to the fourth terminal R4, and the first terminal R1 is disconnected from the third terminal R3. The receiving path of the first receiving port RX1 includes: low-noise amplifier 40 → first coupler 32 → fourth terminal R4 → second terminal R2 → first receiving port RX1. Since there is no delay unit 62 in the receiving path of the first receiving port RX1 in Phase Two, for example, if the instrument simultaneously transmits a downlink signal with power DLpower to the antennas of the first receiving port RX1 and the second receiving port RX2, after the first receiving port RX1 detects the downlink signal with power DLPower 2, it can compensate for the receiving level of the first receiving port RX1 by comparing the voltage offset detected by the first functional port Vdet detected in Phase One with the detected received signal strength of the first receiving port RX1 based on the difference.

[0085] In this embodiment, by adding a delay module 60 (i.e., the first switching unit 61 and the delay unit 62) to the back end of the low-noise amplifier 40 in the receiving path of the first receiving port RX1, the problem of mutual interference of RX signals caused by insufficient isolation of multiple RX ports of the radio frequency transceiver 10, which in turn causes the receiving level to shift, is improved.

[0086] Optionally, the radio frequency circuit further includes: a second switching unit 70;

[0087] The radio frequency transceiver 10 also includes: a transmit port TX and a second function port FBRX;

[0088] The second switching unit 70 includes: a first terminal RF1, a second terminal RF2, and a third terminal RF0; the second switching unit 70 is capable of switching between a third state and a fourth state; wherein, in the third state, the first terminal RF1 and the third terminal RF0 are connected; in the fourth state, the second terminal RF2 and the third terminal RF0 are connected.

[0089] The transmit port TX is connected to the antenna module 50 through the first signal processing module 20;

[0090] The second input terminal of the differential comparator module 30 is connected to the first terminal RF1, the second functional port FBRX is connected to the second terminal RF2, and the third terminal RF0 is connected to the antenna module 50 through the first signal processing module 20.

[0091] For example, the transmit port TX and the first receive port RX1 of the RF transceiver 10 can be connected to the antenna module 50 through the first signal processing module 20. For example, the first signal processing module 20 can isolate the transmission and reception of signals to achieve bidirectional communication, and can also split the signal or extract energy to ensure that the RF transmission and reception are synchronous or asynchronous.

[0092] Optionally, the first signal processing module 20 includes: a duplexer 21 and a second coupler 22; wherein,

[0093] The input terminal of the low-noise amplifier 40 and the transmit port TX are connected to the antenna module 50 in sequence through the duplexer 21 and the second coupler 22.

[0094] The third terminal RF0 is connected to the antenna module 50 through the second coupler 22.

[0095] For example, duplexer 21 can be used to isolate the transmission and reception of signals to achieve bidirectional communication.

[0096] For another example, the second coupler 22 may include a through path and a coupling path, wherein the transmit port TX is connected to the antenna module 50 through the through path of the second coupler 22, and the third terminal RF0 of the second switching unit 70 is connected to the coupling path of the second coupler 22 (that is, the first functional port Vdet and the second functional port FBRX are both connected to the second coupler 22 through the coupling path of the second switching unit 70).

[0097] Specifically, the second coupler 22 includes a first end, a second end, a third end, and a fourth end. The first end of the second coupler 22 is connected to the duplexer 21, the second end of the second coupler 22 is connected to the antenna module 50, the third end of the second coupler 22 is connected to the third end RF0 of the second switching unit 70, and the fourth end of the second coupler 22 is connected to a load (e.g., grounded through a 50-ohm resistor). Optionally, the path between the first and second ends of the second coupler 22 can be called a straight-through path, and the path between the third and fourth ends of the second coupler 22 can be called a coupled path. The second coupler 22 can perform signal splitting or energy extraction.

[0098] Optionally, the antenna module 50 may include a first antenna element 51 and a second antenna element 52, which can be connected to the first signal processing module 20 and the second receiving port RX2 via a third switching unit 100. The third switching unit 100 can switch between different conduction states to achieve different transmit / receive signal operating states for the first antenna element 51 and / or the second antenna element 52.

[0099] Optionally, the radio frequency circuit may further include a first power amplifier module 80, and the transmit port TX can be connected to the first signal processing module 20 through the first power amplifier module 80. The first power amplifier module 80 may be a power amplifier (PA).

[0100] Optionally, the radio frequency circuit may further include a second power amplifier module 90, through which the second receiving port RX2 can be connected to the antenna module 50. The second power amplifier module 90 may be a low-noise amplifier.

[0101] This application provides an electronic device, including the radio frequency circuit described above.

[0102] It should be noted that the electronic devices in the embodiments of this application can implement the various embodiments of the above-described radio frequency circuits and achieve the same technical effects. To avoid repetition, they will not be described again here.

[0103] The receiving level adjustment method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0104] like Figure 3 As shown, this application provides a method for adjusting the received level, applied to the electronic device described above. The method includes the following steps:

[0105] Step 31: When the antenna module receives the radio frequency signal, obtain the voltage offset output by the differential comparator module detected by the first functional port of the radio frequency transceiver;

[0106] Step 32: Based on the voltage offset, determine whether to adjust the receiving level of the first receiving port of the RF transceiver.

[0107] In this embodiment, the voltage offset is used to determine whether the received level shift is caused by the low-noise amplifier 40 of the RF transceiver 10 at different temperatures. Alternatively, the voltage offset can be understood as compensating for the received level shift caused by the low-noise amplifier 40 outside the RF transceiver 10 at different temperatures. The specific method for obtaining the voltage offset can be found in the above-described embodiment of the RF circuit, and will not be repeated here.

[0108] In this embodiment, when the antenna module receives radio frequency signals, the voltage offset of the differential comparator output detected by the first functional port of the radio frequency transceiver is obtained; based on the voltage offset, it is determined whether to adjust the receiving level of the first receiving port of the radio frequency transceiver. In this way, by adjusting the receiving level in real time under different temperatures, the accuracy of the receiving level of the electronic device can be improved, thus optimizing the internet browsing experience.

[0109] Optionally, determining whether to adjust the receive power of the first receive port of the RF transceiver based on the voltage offset includes:

[0110] If the difference between the power offset corresponding to the voltage offset and the pre-configured gain value is greater than a first threshold, it is determined that the receive level of the first receive port of the RF transceiver should be adjusted.

[0111] If the difference between the power offset corresponding to the voltage offset and the pre-configured gain value is less than or equal to a first threshold, it is determined that the receive level of the first receive port of the RF transceiver will not be adjusted.

[0112] For example, the pre-configured gain value can be found in Table 1 above, representing the difference between the transmitted signal power and the power RX detected by the RF transceiver 10, or path loss. Based on the above... Figure 1and Figure 2 In the illustrated RF circuit, since the differential comparator module 30 converts the power offset between the signal without low-noise amplifier processing and the signal with low-noise amplifier processing into a voltage offset, it is necessary to convert the voltage offset detected by the RF transceiver 10 into a corresponding power offset for comparison with a pre-configured gain value. Optionally, the pre-configured gain value can also be converted into a corresponding voltage value for comparison with the voltage offset detected by the RF transceiver 10, etc., but this embodiment is not limited thereto.

[0113] Specifically, when the difference between the power offset corresponding to the voltage offset and the pre-configured gain value is greater than a first threshold, it indicates that the actual received level deviates significantly from the received level calculated according to the pre-configured gain value, thus requiring calibration of the received level. When the difference between the power offset corresponding to the voltage offset and the pre-configured gain value is less than or equal to the first threshold, it indicates that the actual received level does not deviate from the received level calculated according to the pre-configured gain value or has a small deviation, thus requiring no calibration of the received level. For example, to calibrate the received level, the gain of the LNA inside the RF transceiver 10 can be adjusted, etc., but this embodiment is not limited to this.

[0114] It should be noted that, in the embodiments of this application, adjusting the receiving level may also refer to adjusting the receiving power RX power of the first receiving port RX1.

[0115] The receiving level adjustment method provided in this application can be executed by a receiving level adjustment device. This application uses the receiving level adjustment method as an example to illustrate the receiving level adjustment method provided in this application.

[0116] like Figure 4 As shown, this application embodiment provides a receiving level adjustment device 400, applied to the electronic device described above, comprising:

[0117] The acquisition module 410 is used to acquire the voltage offset output by the differential comparison module detected by the first functional port of the radio frequency transceiver when the antenna module receives radio frequency signals.

[0118] The processing module 420 is used to determine whether to adjust the received level detected by the first receiving port of the radio frequency transceiver based on the voltage offset.

[0119] Optionally, the processing module 420 includes:

[0120] The first processing unit is configured to determine, when the difference between the power offset corresponding to the voltage offset and the pre-configured gain value is greater than a first threshold, to adjust the receiving level of the first receiving port of the radio frequency transceiver.

[0121] The second processing unit is configured to determine, when the difference between the power offset corresponding to the voltage offset and the pre-configured gain value is less than or equal to a first threshold, not to adjust the receiving level of the first receiving port of the RF transceiver.

[0122] In this embodiment, when the antenna module receives radio frequency signals, the voltage offset of the differential comparator output detected by the first functional port of the radio frequency transceiver is obtained; based on the voltage offset, it is determined whether to adjust the receiving level of the first receiving port of the radio frequency transceiver. In this way, by adjusting the receiving level in real time under different temperatures, the accuracy of the receiving level of the electronic device can be improved, thus optimizing the internet browsing experience.

[0123] The receiving level adjustment device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the specific type of device.

[0124] The receiving level adjustment device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.

[0125] The receiving level adjustment device provided in this application embodiment can achieve... Figures 1 to 3The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0126] Optionally, such as Figure 5 As shown, this application embodiment also provides an electronic device 500, including a processor 501 and a memory 502. The memory 502 stores a program or instructions that can run on the processor 501. When the program or instructions are executed by the processor 501, they implement the various steps of the above-described receiver level adjustment method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0127] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0128] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0129] The electronic device 600 includes, but is not limited to, components such as: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, and processor 610.

[0130] Those skilled in the art will understand that the electronic device 600 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 610 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 6 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0131] The processor 610 is used for:

[0132] When the antenna module receives a radio frequency signal, the voltage offset output by the differential comparator module detected by the first functional port of the radio frequency transceiver is obtained.

[0133] Based on the voltage offset, determine whether to adjust the receive level of the first receive port of the RF transceiver.

[0134] Optionally, the processor 610 is also used for:

[0135] If the difference between the power offset corresponding to the voltage offset and the pre-configured gain value is greater than a first threshold, it is determined that the receive level of the first receive port of the RF transceiver should be adjusted.

[0136] If the difference between the power offset corresponding to the voltage offset and the pre-configured gain value is less than or equal to a first threshold, it is determined that the receive level of the first receive port of the RF transceiver will not be adjusted.

[0137] In this embodiment, when the antenna module receives radio frequency signals, the voltage offset of the differential comparator output detected by the first functional port of the radio frequency transceiver is obtained; based on the voltage offset, it is determined whether to adjust the receiving level of the first receiving port of the radio frequency transceiver. In this way, by adjusting the receiving level in real time under different temperatures, the accuracy of the receiving level of the electronic device can be improved, thus optimizing the internet browsing experience.

[0138] It should be understood that, in this embodiment, the input unit 604 may include a graphics processing unit (GPU) 6041 and a microphone 6042. The GPU 6041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 607 includes at least one of a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0139] The memory 609 can be used to store software programs and various data. The memory 609 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 609 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 609 in this embodiment includes, but is not limited to, these and any other suitable types of memory.

[0140] Processor 610 may include one or more processing units; optionally, processor 610 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 610.

[0141] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described receiving level adjustment method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0142] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0143] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described receiving level adjustment method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0144] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0145] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described receiving level adjustment method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0146] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0147] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0148] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. Radio frequency circuit, characterized in that include: The system includes an RF transceiver, a first signal processing module, a differential comparator module, and a low-noise amplifier; among which, The radio frequency transceiver includes: a first receiving port and a first functional port; The first receiving port is connected to the output of the low-noise amplifier through the differential comparator module, and the input of the low-noise amplifier is connected to the antenna module through the first signal processing module. The first functional port is connected to the output terminal of the differential comparator module, the first input terminal of the differential comparator module is connected to the output terminal of the low-noise amplifier, and the second input terminal of the differential comparator module is connected to the antenna module through the first signal processing module; wherein, the first functional port is used to detect the voltage offset output by the differential comparator module, and the voltage offset is the voltage offset between the signal received by the first input terminal after processing by the low-noise amplifier and the signal received by the second input terminal without processing by the low-noise amplifier.

2. The radio frequency circuit of claim 1, wherein, The differential comparison module includes: a differential amplifier unit and a first coupler; wherein... The first receiving port is connected to the output of the low-noise amplifier via the first coupler; The first functional port is connected to the output of the differential amplifier unit, the first input of the differential amplifier unit is connected to the output of the low noise amplifier through the first coupler, and the second input of the differential amplifier unit is connected to the antenna module through the first signal processing module.

3. The radio frequency circuit according to claim 2, characterized in that, The differential amplification unit includes: a differential amplifier, a first detector, and a second detector; wherein... The first functional port is connected to the output of the differential amplifier. The first input of the differential amplifier is connected to the output of the low-noise amplifier in sequence through the first detector and the first coupler. The second input of the differential amplifier is connected to the antenna module in sequence through the second detector and the first signal processing module.

4. The radio frequency circuit according to claim 1, characterized in that, Also includes: Delay module; The radio frequency transceiver further includes: a second receiving port; The second receiving port is connected to the antenna module; The first receiving port is connected to the output of the low-noise amplifier through the delay module; wherein, when the antenna module receives the radio frequency signal, the delay module is used to control the first receiving port to receive the radio frequency signal with a first delay compared to the second receiving port.

5. The radio frequency circuit according to claim 4, characterized in that, The delay module includes: a first switching unit and a delay unit; wherein... The first switching unit includes: a first terminal, a second terminal, a third terminal, and a fourth terminal; The delay unit is connected between the first end and the third end, the second end is connected to the first receiving port, and the fourth end is connected to the output end of the low noise amplifier; wherein, the first switching unit can switch between a first state and a second state; in the first state, the first end and the fourth end are connected, and the second end and the third end are connected; in the second state, the second end and the fourth end are connected, and the first end and the third end are disconnected; When the antenna module receives radio frequency signals, the first switching unit first switches to the first state, and then switches to the second state after the first time period.

6. The radio frequency circuit according to any one of claims 1 to 5, characterized in that, Also includes: Second switching unit; The radio frequency transceiver also includes: a transmit port and a second function port; The second switching unit includes a first terminal, a second terminal, and a third terminal; the second switching unit is capable of switching between a third state and a fourth state; wherein, in the third state, the first terminal and the third terminal are connected; and in the fourth state, the second terminal and the third terminal are connected. The transmitting port is connected to the antenna module through the first signal processing module; The second input terminal of the differential comparison module is connected to the first terminal, the second functional port is connected to the second terminal, and the third terminal is connected to the antenna module through the first signal processing module.

7. The radio frequency circuit according to claim 6, characterized in that, The first signal processing module includes: a duplexer and a second coupler; wherein, The input terminal of the low-noise amplifier and the transmit port are both connected to the antenna module in sequence through the duplexer and the second coupler; The third end is connected to the antenna module via the second coupler.

8. An electronic device, characterized in that, Includes the radio frequency circuit as described in any one of claims 1 to 7.

9. A method for adjusting the received level, characterized in that, Applied to the electronic device of claim 8, the method includes: When the antenna module receives a radio frequency signal, the voltage offset output by the differential comparator module detected by the first functional port of the radio frequency transceiver is obtained. Based on the voltage offset, determine whether to adjust the receive level of the first receive port of the RF transceiver.

10. The receiving level adjustment method according to claim 9, characterized in that, The step of determining whether to adjust the receive level of the first receiving port of the RF transceiver based on the voltage offset includes: If the difference between the power offset corresponding to the voltage offset and the pre-configured gain value is greater than a first threshold, it is determined that the receive level of the first receive port of the RF transceiver should be adjusted. If the difference between the power offset corresponding to the voltage offset and the pre-configured gain value is less than or equal to the first threshold, it is determined that the receive level of the first receive port of the RF transceiver will not be adjusted.