Radio frequency circuit, communication terminal, and control method of communication terminal

CN122801976APending Publication Date: 2026-09-22ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611017981.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-09
Publication Date
2026-09-22

AI Technical Summary

Technical Problem

[0005]本申请实施例提供一种射频电路、通信终端及通信终端的控制方法,以解决相关技术中无法对目标射频指标进行实时动态调整而影响通信性能的问题

Benefits of technology

[0005]本申请实施例提供一种射频电路、通信终端及通信终端的控制方法,以解决相关技术中无法对目标射频指标进行实时动态调整而影响通信性能的问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122801976A_ABST
    Figure CN122801976A_ABST
Patent Text Reader

Abstract

The application discloses a kind of radio frequency circuits, communication terminal and the control method of communication terminal, belong to communication terminal technical field.The radio frequency circuit provided by the present application comprises: transmitting circuit, baseband processing circuit and closed loop control circuit;Transmitting circuit includes radio frequency transceiver integrated circuit and radio frequency front end;Baseband processing circuit is connected with closed loop control circuit, and closed loop control circuit is connected with radio frequency front end;Baseband processing circuit is used for: obtaining the measured value of target radio frequency index, compares measured value with the preset value of target radio frequency index and then outputs deviation amount signal;Target radio frequency index is selected from multiple radio frequency indexes corresponding to the current working scene radio frequency index;Closed loop control circuit is used for: according to deviation amount signal generation control signal, and by outputting control signal to radio frequency front end, adjust the working parameter or hardware state of radio frequency front end, to reduce the deviation between the measured value and the preset value of target radio frequency index.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication terminal technology, specifically relating to a radio frequency circuit, a communication terminal, and a control method for the communication terminal. Background Technology

[0002] Currently, with the development of communication technology, the requirements for radio frequency transmission indicators of communication terminals are increasing, and the adaptive control capability under different communication scenarios has become the key to improving user experience.

[0003] In the existing communication terminal's transmission link, the baseband chip sends digital signals to the radio frequency chip, which then performs digital-to-analog conversion, modulation, and up-conversion before being amplified and transmitted by the radio frequency front-end.

[0004] However, related technologies suffer from the inability to dynamically adjust target radio frequency (RF) parameters in real time, thus affecting communication performance. For example, due to the fixed nature of the RF front-end hardware circuitry, communication terminals cannot dynamically optimize target RF parameters in real-world communication scenarios such as weak signals and network congestion, passively sacrificing communication performance. Summary of the Invention

[0005] This application provides a radio frequency circuit, a communication terminal, and a control method for the communication terminal to solve the problem in related technologies where the target radio frequency indicators cannot be dynamically adjusted in real time, thus affecting communication performance.

[0006] In a first aspect, embodiments of this application provide a radio frequency circuit, including: a transmitting circuit, a baseband processing circuit, and a closed-loop control circuit; the transmitting circuit includes a radio frequency transceiver integrated circuit and a radio frequency front end; the radio frequency transceiver integrated circuit is connected to the radio frequency front end and the baseband processing circuit respectively; the baseband processing circuit is connected to the closed-loop control circuit, and the closed-loop control circuit is connected to the radio frequency front end; The baseband processing circuit is used to: acquire the measured value of the target RF indicator, compare the measured value with the preset value of the target RF indicator, and output a deviation signal; the target RF indicator is the RF indicator selected from multiple RF indicators that corresponds to the current working scenario; the deviation signal is used to reflect the deviation between the measured value and the preset value; The closed-loop control circuit is used to generate a control signal based on the deviation signal, and to adjust the operating parameters or hardware status of the RF front-end by outputting the control signal to the RF front-end, so as to reduce the deviation between the measured value and the preset value of the target RF index.

[0007] Secondly, embodiments of this application provide a communication terminal, including the radio frequency circuit described in the first aspect.

[0008] Thirdly, embodiments of this application provide a control method for a communication terminal, including: Obtain the measured values ​​of the target RF indicator; the target RF indicator is the RF indicator selected from multiple RF indicators that corresponds to the current working scenario; The measured value is compared with the preset value of the target RF indicator to generate a deviation signal; the deviation signal is used to reflect the deviation between the measured value and the preset value of the target RF indicator. A control signal is generated based on the deviation signal, and the operating parameters or hardware status of the RF front end are adjusted according to the control signal to reduce the deviation between the measured value and the preset value of the target RF index.

[0009] In this embodiment, the radio frequency (RF) circuit includes a transmitting circuit, a baseband processing circuit, and a closed-loop control circuit. The transmitting circuit includes an RF transceiver integrated circuit and an RF front-end. The RF transceiver integrated circuit is connected to both the RF front-end and the baseband processing circuit. The baseband processing circuit is connected to the closed-loop control circuit, which in turn is connected to the RF front-end. The baseband processing circuit is used to: acquire the measured value of the target RF indicator, compare the measured value with a preset value of the target RF indicator, and output a deviation signal. The target RF indicator is a RF indicator selected from multiple RF indicators that corresponds to the current working scenario. The deviation signal is used to reflect the deviation between the measured value and the preset value. The closed-loop control circuit is used to: generate a control signal based on the deviation signal, and adjust the operating parameters or hardware state of the RF front-end by outputting the control signal to the RF front-end, thereby reducing the deviation between the measured value and the preset value of the target RF indicator. In this way, the measured value of the target RF indicator is obtained by the baseband processing circuit and compared with the preset value of the target RF indicator. The deviation signal is then output. The closed-loop control circuit generates a control signal based on the deviation signal to adjust the working parameters or hardware status of the RF front end, so as to reduce the deviation between the measured value and the preset value of the target RF indicator. This achieves closed-loop feedback control of the target RF indicator, thereby optimizing the target RF indicator in real time and improving communication performance. Attached Figure Description

[0010] Figure 1 A schematic diagram of a radio frequency circuit provided in some embodiments of this application; Figure 2 A schematic diagram of a radio frequency circuit provided in some embodiments of this application; Figure 3 A schematic diagram of a radio frequency circuit provided in some embodiments of this application; Figure 4 A schematic diagram of a radio frequency circuit provided in some embodiments of this application; Figure 5 A schematic diagram of a radio frequency circuit provided in some embodiments of this application; Figure 6 A schematic diagram of a radio frequency circuit provided in some embodiments of this application; Figure 7A schematic diagram of a radio frequency circuit provided in some embodiments of this application; Figure 8 A schematic diagram of a radio frequency circuit provided in some embodiments of this application; Figure 9 A schematic diagram of a communication terminal provided in some embodiments of this application; Figure 10 A schematic flowchart illustrating a control method for a communication terminal provided in some embodiments of this application; Figure 11 A schematic flowchart illustrating a control method for a communication terminal provided in some embodiments of this application; Figure 12 This is a schematic flowchart illustrating a control method for a communication terminal provided in some embodiments of this application.

[0011] Explanation of reference numerals in the attached figures: 10-RF circuit; 100-Transmitting circuit; 110-RF transceiver integrated circuit; 111-RF chip; TX-Transmitter; FBRX-Feedback receiver; 120-RF front end; 121-First adjustable matching network; 122-Power amplifier; 123-Second adjustable matching network; 130-Coupled; 140-Antenna; 200-Adjustable attenuation network; 300-Baseband processing circuit; 301-Baseband chip; 310-Digital processing module; 320-Scene recognition module; 330-Indicator processing module; 331-First indicator processing module; 332-Second indicator processing module; 333-Third indicator processing module; 334-Fourth indicator processing module; 340-Neighbor cell handover control module; 350-Scoring module; 360-Dynamic matching table storage module; 400-Closed-loop control circuit; 410-PID controller; 500-Scene selection module; 90-Communication terminal. Detailed Implementation

[0012] 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.

[0013] 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.

[0014] The terminology used in the implementation section of this application is only for explaining specific embodiments of this application and is not intended to limit this application. The terminology involved in the embodiments of this application is explained below.

[0015] A communication terminal is a user device with wireless communication capabilities, enabling it to access mobile communication networks and transmit data or voice. Communication terminals include, but are not limited to, mobile phones, tablets, MBB (Mobile Broadband) modules, data cards, portable routers, IoT communication modules, etc. Internally, a communication terminal contains radio frequency (RF) circuitry to perform functions such as baseband signal to RF signal conversion, power amplification, signal filtering, and antenna radiation to achieve wireless communication with the base station. The RF circuitry has signaling mode and calibration mode. Signaling mode refers to the terminal's operating mode in a real network environment where it interacts with the base station using standard protocols. In signaling mode, the terminal transmits, receives, and synchronizes with the network according to the 3GPP protocol stack, simulating communication behavior in actual user scenarios. Calibration mode refers to the operating mode during the terminal's debugging phase, where non-signaling test equipment is used to measure and compensate RF parameters such as transmit power, receive gain, and IQ modulation accuracy. In this mode, the terminal does not perform complete protocol stack interaction; instead, the test instrument directly controls the terminal's RF chip to transmit specific signals to complete the writing of basic calibration data.

[0016] Radio frequency (RF) circuits refer to circuit systems integrated within communication terminals used to perform functions such as RF signal transmission and reception, amplification, filtering, modulation and demodulation, and power detection. For example, an RF circuit includes a transmitting circuit, a baseband processing circuit, and a closed-loop control circuit. The transmitting circuit converts the digital baseband signal output from the baseband processing circuit into an RF signal and radiates it outwards via an antenna. The baseband processing circuit processes and analyzes the digital baseband signal, including calculating measured values ​​of RF parameters, identifying the current operating scenario, and comparing the deviation between measured values ​​and preset values. The closed-loop control circuit generates a control signal based on the deviation signal output from the baseband processing circuit and adjusts the operating parameters or hardware state of the transmitting circuit by outputting the control signal to the transmitting circuit. RF circuits may also include an adjustable attenuation network. This adjustable attenuation network is located in the power detection path and adjusts its attenuation value according to the control signal output from the closed-loop control circuit to regulate the signal power entering the feedback receiver of the RF transceiver integrated circuit.

[0017] Transmitting circuit: This refers to the circuit part of the radio frequency (RF) circuit used to modulate the baseband signal onto the RF carrier, amplify the power, and then transmit it via the antenna. The transmitting circuit includes an RF transceiver integrated circuit, an RF front-end, a coupler, and an antenna connected in sequence.

[0018] Radio frequency (RF) transceiver integrated circuits (ICCs) are ICs that integrate functions such as RF signal reception, transmission, modulation, demodulation, frequency synthesis, and power detection. For example, an RF transceiver IC can be packaged as a standalone RF chip, which contains an FBRX (Feedback Receiver) receiving path to receive feedback signals from the power detection path. After down-conversion, demodulation, and sampling by an ADC (Analog-to-Digital Converter), a digital baseband signal is generated and output to the baseband processing circuit.

[0019] The radio frequency (RF) front-end refers to the RF signal processing circuitry between the RF transceiver integrated circuit (IC) and the antenna, used for power amplification, filtering, and impedance matching of the transmitted signal. For example, the RF front-end may include a first adjustable matching network, a power amplifier, and a second adjustable matching network connected in sequence. The power amplifier linearly amplifies the low-power RF signal output from the IC to the target transmit power to meet communication coverage requirements. The first adjustable matching network is the input matching network, connected between the output of the IC and the input of the power amplifier, used for impedance matching and filtering of the RF signal before it enters the power amplifier, compensating for performance degradation caused by differences in the IC wafer. The second adjustable matching network is the output matching network, connected between the output of the power amplifier and the input of the coupler, used for impedance matching and filtering of the high-power RF signal output from the power amplifier, compensating for nonlinear distortion introduced during power amplifier amplification.

[0020] A coupler is a passive device used to extract a portion of the radio frequency signal energy from the main transmission path. It couples a certain proportion of the transmitted signal power from the main transmission path for acquisition and measurement by the power detection path. For example, a coupler can be a bidirectional coupler, used to simultaneously acquire the forward transmitted power and the reverse reflected power of the main transmission path. The terminal can calculate the Voltage Standing Wave Ratio (VSWR) based on the ratio of the reverse reflected power to the forward transmitted power, serving as a basis for determining the antenna matching status and adjusting the transmitted power.

[0021] Antenna: refers to a transducer used to convert guided waves output by radio frequency circuits into electromagnetic waves that propagate in free space, and to receive electromagnetic waves in space and convert them back into guided waves. It is used to realize the radiation and reception conversion between radio frequency signals and electromagnetic waves in space.

[0022] Baseband processing circuitry refers to the circuitry used for protocol processing, encoding / decoding, modulation / demodulation, and RF performance analysis and calculation of digital baseband signals. For example, a baseband processing circuit can be packaged as a standalone baseband chip, containing a Digital Signal Processor (DSP) module. This DSP can process digital baseband signals from RF transceiver integrated circuits using algorithms such as Fast Fourier Transform (FFT), reconstructing the transmitted signal spectrum model and calculating measured values ​​of RF performance indicators such as Error Vector Magnitude (EVM), transmit power, TX IRR (Image Rejection Ratio), harmonics, and spurious emissions.

[0023] Closed-loop control circuit: This refers to a circuit used to automatically adjust the target radio frequency parameters by generating a control quantity according to a preset control algorithm based on the deviation between the feedback signal and the preset value. For example, a closed-loop control circuit can be a PID (Proportion Integration Differentiation) controller, used to determine the control signal based on the linear combination of the proportional, integral, and derivative components of the deviation signal output by the baseband processing circuit.

[0024] Target RF metrics: These are RF metrics selected from multiple RF metrics that correspond to the current operating scenario and have the most significant and decisive impact on the terminal's communication performance under that scenario. These multiple RF metrics include, but are not limited to: EVM (Electronic Performance Monitor), maximum transmit power, harmonics, spurious emissions, TX IRR (Transmit Response Rate), ACLR (Adjacent Channel Leakage Ratio), BLER (Block Error Rate), etc. In the current operating scenario, which is a high-throughput data service scenario with good signal strength (e.g., RSRP greater than -90dBm, transmit power less than 18dBm), EVM is the most influential and decisive RF metric for the terminal's communication performance under that scenario, because a good EVM is crucial for ensuring high throughput under high-order modulation methods. In a weak signal communication scenario (e.g., RSRP less than -100dBm, transmit power greater than 19dBm), maximum transmit power or harmonic distortion (HTD) is the most influential and decisive RF indicator for terminal communication performance. This is because increasing maximum transmit power is the primary means to ensure uninterrupted connection under weak signal conditions, while HTD restricts the linearity of the power amplifier at high power output. In a network congestion or handover scenario (e.g., more than 30 users in the same sector with multiple consecutive access failures), maximum transmit power and BLER are the most influential and decisive RF indicators for terminal communication performance. This is because increasing transmit power and reducing block error rate are key to overcoming network congestion limitations and ensuring reliable data transmission. In calibration mode, TX IRR is the most influential and decisive RF indicator for terminal communication performance. This is because the calibration accuracy of TX IRR directly affects the compensation effect of amplitude and phase imbalance between the I / Q signals, thus determining the calibration limit of the EVM.

[0025] The radio frequency circuit, communication terminal, and control method of the communication terminal provided in the embodiments of this application are described in detail below with reference to the accompanying drawings.

[0026] In some embodiments of this application, such as Figure 1As shown, this application embodiment provides a radio frequency circuit 10, which may include: a transmitting circuit 100, a baseband processing circuit 300, and a closed-loop control circuit 400; the transmitting circuit 100 includes a radio frequency transceiver integrated circuit 110 and a radio frequency front end 120; the radio frequency transceiver integrated circuit 110 is connected to the radio frequency front end 120 and the baseband processing circuit 300 respectively; the baseband processing circuit 300 is connected to the closed-loop control circuit 400, and the closed-loop control circuit 400 is connected to the radio frequency front end 120; The baseband processing circuit 300 can be used to: acquire the measured value of the target RF indicator, compare the measured value with the preset value of the target RF indicator, and output a deviation signal; the target RF indicator is the RF indicator selected from multiple RF indicators that corresponds to the current working scenario; the deviation signal is used to reflect the deviation between the measured value and the preset value of the target RF indicator. The closed-loop control circuit 400 can be used to generate a control signal based on the deviation signal, and adjust the operating parameters or hardware status of the RF front-end 120 by outputting the control signal to the RF front-end 120, so as to reduce the deviation between the measured value and the preset value of the target RF index.

[0027] Among these, the target radio frequency (RF) index is the most influential and decisive RF index for the terminal's communication performance in the current working scenario. The target RF index can be determined by selecting the RF index corresponding to the current working scenario from among multiple RF indices.

[0028] The baseband processing circuit 300 obtains the measured values ​​of the target radio frequency indicators. Specifically, it can receive the transmitted signal fed back from the power detection path through the FBRX receiving path inside the radio frequency transceiver integrated circuit 110, convert it into a digital baseband signal after down-conversion, demodulation and ADC sampling, and then calculate it based on the digital baseband signal.

[0029] The control signal output by the closed-loop control circuit 400 to the radio frequency front-end 120 can be a voltage control signal or a digital control word based on the MIPI (Mobile Industry Processor Interface) protocol, depending on the type of controlled device in the radio frequency front-end 120.

[0030] The closed-loop control circuit 400 generates a control signal based on the deviation signal. Specifically, it can employ a PID control algorithm, calculating the control quantity based on a linear combination of the proportional, integral, and derivative components of the deviation signal. The proportional term can quickly respond to the current deviation, with a large adjustment force when the deviation is large; the integral term can eliminate persistent small deviations, bringing the static error to zero; the derivative term can predict trends based on the rate of change of the deviation, suppressing oscillations and increasing system stability.

[0031] In this way, the baseband processing circuit 300 obtains the measured value of the target RF indicator and compares it with the preset value of the target RF indicator, and outputs the deviation signal. The closed-loop control circuit 400 generates a control signal based on the deviation signal to adjust the working parameters or hardware status of the RF front end, so as to reduce the deviation between the measured value and the preset value of the target RF indicator, realize the closed-loop feedback control of the target RF indicator, thereby optimizing the target RF indicator in real time and improving communication performance.

[0032] In some embodiments of this application, in order to incorporate the two most important matching networks on the main transmission path into a closed-loop feedback control loop to achieve real-time adjustment and optimization of the amplitude-frequency characteristics of the transmitted signal, such as... Figure 2 As shown, the transmitting circuit 100 also includes a coupler 130 and an antenna 140; the radio frequency front end 120 is connected to the antenna 140 through the coupler 130. The radio frequency front-end 120 may include a first adjustable matching network 121, a power amplifier 122, and a second adjustable matching network 123 connected in sequence; the output terminal of the radio frequency transceiver integrated circuit 110 is connected to the input terminal of the power amplifier 122 through the first adjustable matching network 121; the output terminal of the power amplifier 122 is connected to the input terminal of the coupler 130 through the second adjustable matching network 123.

[0033] Coupler 130 can be a bidirectional coupler, with its coupling end used to couple a portion of the RF signal on the main transmit path to the power detection path, and its isolation end used to collect the reflected power. The terminal can calculate the VSWR based on the ratio of the reflected power to the forward transmit power, serving as an auxiliary basis for judging the impedance matching status of the antenna port. For example, when the VSWR is greater than 4:1, the terminal can terminate the maximum power boost control to protect the power amplifier from damage under high VSWR conditions.

[0034] Thus, in the case where the RF front-end 120 includes a first adjustable matching network 121, a power amplifier 122, and a second adjustable matching network 123 connected in sequence, the first adjustable matching network 121 is placed between the RF transceiver integrated circuit 110 and the power amplifier 122 to compensate for the performance degradation caused by the wafer difference of the RF transceiver integrated circuit, and the second adjustable matching network 123 is placed between the power amplifier 122 and the coupler 130 to compensate for the nonlinear distortion introduced during the power amplifier amplification process. Both of these adjustable matching networks are incorporated into the closed-loop feedback control loop to achieve real-time adjustment of the impedance matching and filtering characteristics of the main transmission path.

[0035] In practical applications, when the RF front-end 120 includes a first adjustable matching network 121, a power amplifier 122, and a second adjustable matching network 123 connected in sequence, the operating parameters of the RF front-end 120 can be adjusted, including but not limited to at least one of the following: adjusting the drive current of the power amplifier 122, adjusting the bias voltage of the power amplifier 122, or adjusting the gain state of the power amplifier 122, etc. This application does not impose specific limitations on this.

[0036] In practical applications, when the RF front-end 120 includes a first adjustable matching network 121, a power amplifier 122, and a second adjustable matching network 123 connected in sequence, adjusting the hardware state of the RF front-end 120 may include, but is not limited to, at least one of the following: adjusting the impedance of the first adjustable matching network 121, adjusting the impedance of the second adjustable matching network 123, or adjusting the filtering characteristics of the first adjustable matching network 121 and the second adjustable matching network 123 (e.g., adjusting the filter center frequency or bandwidth), etc. This application does not impose specific limitations on this.

[0037] For example, in some embodiments of this application, in order to achieve independent real-time control of the matching networks on the input side and the output side of the power amplifier, such as... Figure 2 As shown, the first output terminal of the closed-loop control circuit 400 is connected to the control terminal of the first adjustable matching network 121, and the second output terminal of the closed-loop control circuit 400 is connected to the control terminal of the second adjustable matching network 123. The control signals include a first control signal and a second control signal; the closed-loop control circuit 400 is specifically used to: in signaling mode, adjust the impedance of the first adjustable matching network 121 by outputting the first control signal to the first adjustable matching network 121, and adjust the impedance of the second adjustable matching network 123 by outputting the second control signal to the second adjustable matching network 123.

[0038] The first control signal and the second control signal can be independent of each other and have different signal values, so as to make differentiated adjustments according to the different requirements of the power amplifier input matching and output matching.

[0039] The first adjustable matching network 121 performs source pull impedance matching and filtering on the RF signal before it enters the power amplifier 122, ensuring that the signal output from the RF transceiver integrated circuit 110 enters the power amplifier 122 with minimal reflection and optimal linearity, while compensating for performance degradation caused by wafer differences in the RF transceiver integrated circuit. The second adjustable matching network 123 performs load pull impedance matching and filtering on the high-power RF signal output from the power amplifier 122, enabling the power amplifier 122 to output maximum linear power to the load, while improving power linearity within the passband and reducing out-of-band harmonics and spurious signals. The second adjustable matching network 123 is positioned between the power amplifier 122 and the coupler 130, ensuring that its amplitude / phase adjustment for the transmitted signal is included in the feedback control loop, so that the closed-loop control circuit 400's regulation of the second adjustable matching network 123 is directly reflected in the signal sampled by the power detection path.

[0040] In practical applications, adjustable matching networks can be implemented in various forms. For example, one approach is a switch array module composed of multiple capacitors, inductors, and CMOS switches. By switching the capacitor array or inductor taps using digital control words, 5 to 10 or more matching states can be adjusted, achieving step-by-step adjustment of the matching state. Another approach is a MEMS (Micro-Electro-Mechanical System) adjustable matching network module, composed of MEMS switches, adjustable capacitors, and adjustable inductors. The MEMS variable capacitor can achieve continuous capacitance adjustment by changing the electrode spacing through electrostatic drive, and the MEMS switch taps can change the effective number of turns of the inductor coil to achieve inductance adjustment, allowing for a large number of matching state values ​​and achieving high-resolution adjustment. Correspondingly, the control signals output by the closed-loop control circuit 400 are divided into two types: one is a digital control word based on the MIPI interface, corresponding to the control and adjustment of a simple capacitor and inductor array module; the other is an analog voltage control signal, corresponding to the continuous adjustment of the MEMS adjustable matching network device.

[0041] In this way, by setting a first adjustable matching network 121 and a second adjustable matching network 123 on the input and output sides of the power amplifier 122 respectively, and by having the closed-loop control circuit 400 independently output the first control signal and the second control signal to adjust the impedance state of the two respectively, fine and differentiated real-time control of the impedance matching and filtering characteristics of the main transmission path can be achieved in the signaling mode, thereby providing optimal matching conditions for key radio frequency indicators such as EVM, harmonics, and maximum transmit power under different frequency bands and power levels.

[0042] For example, in other embodiments, the fourth output terminal of the closed-loop control circuit can be connected to the control terminal of the power amplifier, and the control signal can also include a fourth control signal; the closed-loop control circuit can be used to: in signaling mode, by outputting a fourth control signal to the power amplifier, adjust at least one of the drive current, bias voltage and gain state of the power amplifier to reduce the deviation between the measured value and the preset value of the target RF index, thereby realizing closed-loop feedback control of the target RF index, thereby optimizing the target RF index in real time and improving communication performance.

[0043] In some embodiments of this application, in order to establish a feedback signal link from the main transmission path to the baseband processing circuit, and to realize real-time acquisition and measurement of the transmitted signal, such as... Figure 2 As shown, the transmitting circuit 100 also includes a coupler 130. The coupling end of the coupler 130 is connected to the feedback receiving end (such as the FBRX receiving port) of the RF transceiver integrated circuit 110 through a power detection path. The RF transceiver integrated circuit 110 is used to: acquire the transmitted signal fed back from the power detection path, generate a digital baseband signal based on the transmitted signal, and output the digital baseband signal to the baseband processing circuit 300. Specifically, the FBRX receiving path inside the RF transceiver integrated circuit 110 sequentially performs low-noise amplification, down-conversion, demodulation, and ADC sampling on the high-frequency feedback signal input from the power detection path, converts it into a digital baseband signal, and then transmits it to the baseband processing circuit 300 through the IQ data line.

[0044] The baseband processing circuit 300 is used to: calculate the measured values ​​of the target RF indicators based on the digital baseband signal, and output a deviation signal after comparing the measured values ​​with the preset values ​​of the target RF indicators. Specifically, the DSP module inside the baseband processing circuit 300 performs spectrum analysis and calculation on the digital baseband signal sampled by the ADC, generates a wideband spectrum diagram using high-resolution FFT transformation, and calculates the measured values ​​of target RF indicators such as EVM, transmit power, TX IRR, harmonics, and spurious emissions in real time.

[0045] The power detection path is a feedback signal transmission path between the coupling end of the coupler 130 and the feedback receiving end of the RF transceiver integrated circuit 110. It is responsible for transmitting part of the RF signal coupled from the main transmission path to the RF transceiver integrated circuit 110 for sampling processing.

[0046] The radio frequency transceiver integrated circuit 110 generates a digital baseband signal based on the feedback transmission signal. Specifically, this involves: first, amplifying the input signal using a low-noise amplifier in the FBRX receiving path; then, down-converting it to zero intermediate frequency or low intermediate frequency using a mixer; separating the I / Q baseband signals using a demodulator; and finally, converting it into a digital domain signal using an ADC. During this process, the gain of the FBRX receiving path (i.e., FBRX gain) can be configured by the baseband processing circuit 300 through the control interface of the radio frequency transceiver integrated circuit 110 to adapt to feedback signals of different power levels.

[0047] In this way, the coupling end of the coupler 130 is connected to the feedback receiving end of the RF transceiver integrated circuit 110 through the power detection path, establishing a sampling feedback link from the main transmit signal to the baseband processing circuit. This enables real-time acquisition of the amplitude-frequency characteristics of the transmit signal and sends it to the baseband processing circuit for calculation and analysis of the target RF parameters, providing a precise measurement data basis for closed-loop control.

[0048] In some embodiments of this application, in order to improve the frequency band adaptability and measurement accuracy of the power detection path, such as Figure 3 As shown, the transmitting circuit 100 also includes a coupler 130, the coupling end of which is connected to the feedback receiving end of the radio frequency transceiver integrated circuit 110 through a power detection path. The radio frequency circuit 10 also includes an adjustable attenuation network 200 disposed on the power detection path; the third output terminal of the closed-loop control circuit 400 is connected to the control terminal of the adjustable attenuation network 200. The closed-loop control circuit 400 is also used to: generate a third control signal based on the deviation signal in calibration mode, and adjust the attenuation value of the adjustable attenuation network 200 by outputting the third control signal to the adjustable attenuation network 200, so as to reduce the deviation between the measured value and the preset value of the target RF index.

[0049] The adjustable attenuation network 200 is set on the power detection path, specifically connected between the coupling end of the coupler 130 and the feedback receiving end of the RF transceiver integrated circuit 110. It is used to adjust the attenuation of the feedback signal according to the attenuation control signal output by the closed-loop control circuit 400, so that the signal power entering the feedback receiving end of the RF transceiver integrated circuit 110 is within a preset dynamic range, avoiding saturation of the receiving path due to excessive signal or insufficient sampling accuracy of the ADC due to insufficient signal.

[0050] Another important function of the adjustable attenuation network 200 is to subdivide the entire operating frequency band into different bands and set attenuation values ​​for each, thereby adapting and adjusting different attenuation amounts for different bands across the entire bandwidth. This improves the dynamic range and linearity of the signal entering the power detection circuit (i.e., the FBRX receiver amplifier) ​​of the RF transceiver integrated circuit 110, and enhances the sampling accuracy of the FBRX path. Taking the NR band as an example, the high-frequency n77 band and the low-frequency n28 band require different optimal attenuation values ​​due to differences in path loss and coupling coefficient.

[0051] In practical applications, the adjustable attenuation network 200 can be implemented in various forms. For example, one approach consists of multiple resistor arrays and switch arrays, using digital control words to select different resistor segments to achieve step-by-step adjustment of the attenuation value. Another approach uses a voltage-controlled variable resistor device, which uses voltage or current signals to control its resistance value, thereby changing the attenuation and achieving precise and continuous adjustment of the RF signal strength.

[0052] In calibration mode, the TX IRR (Transmission Torque Reduction) index is used as the target RF index. There is a strong correlation between TX IRR calibration and the EVM (Electronic Performance Mode) index: during TX IRR calibration, if the FBRX gain setting is inappropriate or the signal power entering the FBRX receiver port is insufficient, it will cause a deviation in the feedback link's detection of the image interference signal, thus affecting the compensation accuracy of the gain and phase imbalance of the I / Q signals. Therefore, adding an adjustable attenuation network 200 to the power detection path combines attenuation adjustment and FBRX gain adjustment, allowing for more flexible adjustment of the signal magnitude entering the FBRX receiver port, quickly finding the optimal combination of attenuation and FBRX gain parameters, ensuring the accuracy of TX IRR measurement, and optimally compensating for phase and amplitude distortion introduced by the mixer and IQ modulation. After calibration, the calibration results for each frequency band are stored in non-volatile memory (NV) in multiple array formats of {power, voltage, APC, attenuation, FBRX gain}, serving as basic calibration data for use during signaling operations. APC (Automatic Power Control) is the codeword value used by the terminal to control the transmission power.

[0053] In this way, by outputting a third control signal from the closed-loop control circuit 400 to the adjustable attenuation network 200 in calibration mode, the attenuation value of the adjustable attenuation network 200 is adjusted to reduce the deviation between the measured TX IRR value and the preset value. The adjustable attenuation network 200 is placed in the feedback control loop of "coupler → FBRX sampling → baseband analysis and processing → PID algorithm → adjustable attenuation network → coupler", so as to realize the accurate measurement and iterative optimization of TX IRR and EVM indicators in calibration, and store the optimal attenuation value as basic calibration data.

[0054] In some embodiments of this application, in order to achieve flexible selection and targeted closed-loop control of different target radio frequency indicators under the current working scenario, such as Figure 4 As shown, the baseband processing circuit 300 may include: a digital processing module 310, a scene recognition module 320, and multiple index processing modules 330 connected in sequence; wherein, different index processing modules process different radio frequency indexes, and radio frequency indexes are indices for transmitted signals; The digital processing module 310 is used to: receive digital baseband signals from the radio frequency transceiver integrated circuit 110, determine the measured values ​​of multiple radio frequency indicators corresponding to multiple indicator processing modules 330 based on the digital baseband signals, and output the measured values ​​of radio frequency indicators corresponding to any one of the indicator processing modules 330 to any one of the indicator processing modules 330. The scene recognition module 320 is used to: determine the target radio frequency index based on the current working scene; and select the target radio frequency index processing module from multiple index processing modules based on the target radio frequency index. The target RF index processing module is used to: acquire the measured value of the target RF index from the digital processing module 310, compare the measured value with the preset value of the target RF index, and output the deviation signal.

[0055] The digital processing module 310 determines the measured values ​​of multiple radio frequency indicators based on the digital baseband signal. Specifically, it can be done as follows: perform high-resolution FFT transformation on the I / Q digital baseband signal after ADC sampling to generate a wideband spectrum; set appropriate RBW (Resolution Bandwidth) and VBW (Video Bandwidth) and use high dynamic range FFT to detect weak signal components; perform EVM calculation on the signal within the main carrier frequency band; perform integral operation on the spurious signal in the specified out-of-band observation frequency band to obtain spurious indicators; search for abnormal peak signals in the full frequency band to obtain harmonic indicators; and use FFT spectrum analysis to obtain TX IRR indicators.

[0056] The specific method by which the scene recognition module 320 determines the target radio frequency indicator based on the current working scenario can be as follows: In signaling mode, based on the network environment parameters such as the RSRP (Reference Signal Receiving Power), transmit power, serving cell and neighbor cell information, and number of users in the same sector currently reported by the terminal, combined with the current service type of the terminal (such as high-throughput data service or weak signal call service), the current working scenario is comprehensively judged, and then the indicator that has the most influence and decisive effect on communication performance in the current scenario is selected from multiple candidate radio frequency indicators as the target radio frequency indicator.

[0057] In this way, by setting up a digital processing module 310, a scene recognition module 320 and multiple indicator processing modules 330 in the baseband processing circuit 300, the digital processing module 310 uniformly calculates the measured values ​​of multiple indicators and distributes them to each indicator processing module. The scene recognition module 320 flexibly selects the target radio frequency indicator and the corresponding indicator processing module according to the current working scenario, so as to realize the targeted closed-loop control of different target radio frequency indicators under different scenarios and meet the adaptive optimization needs of the terminal under various working scenarios.

[0058] In some embodiments of this application, in order to specifically classify the types of radio frequency indicators processed by each indicator processing module, such as Figure 5 As shown, the multiple indicator processing modules 330 may include: a first indicator processing module 331, a second indicator processing module 332, a third indicator processing module 333, and a fourth indicator processing module 334; The first index processing module 331 is used to process the error vector amplitude index of the transmitted signal; the second index processing module 332 is used to process the maximum transmit power index of the transmitted signal; the third index processing module 333 is used to process the harmonic index and spurious index of the transmitted signal; and the fourth index processing module 334 is used to process the image rejection ratio index of the transmitted signal.

[0059] For example, the first index processing module 331 processes the EVM index of the transmitted signal. Specifically, it demodulates, determines the symbol, and calculates the error vector of the I / Q digital baseband signal output by the digital processing module 310 to obtain the current measured EVM value and compares it with the preset EVM value to output the EVM deviation. The second index processing module 332 processes the maximum transmit power index of the transmitted signal. Specifically, it calculates the current measured transmit power value based on the transmit signal spectrum amplitude information output by the digital processing module 310 and compares it with the preset maximum transmit power value to output the power deviation. The third index processing module 333 processes the harmonic and spurious indexes of the transmitted signal. Specifically, based on the broadband spectrum diagram output by the digital processing module 310, it integrates the signals at the second and third harmonic frequencies of the main carrier and the signals in the specified out-of-band observation frequency band to obtain the measured values ​​of harmonics and spuriouss, and compares them with the preset values ​​to output the deviation. The fourth index processing module 334 is used to process the TX IRR index of the transmitted signal. Specifically, based on the I / Q digital baseband signal output by the digital processing module 310, it extracts the amplitude and phase imbalance of the I / Q channels, calculates the measured image rejection ratio, compares it with the preset TX IRR value, and outputs the deviation.

[0060] Among them, the first indicator processing module 331 to the fourth indicator processing module 334 are all functional units implemented by the DSP processor through software algorithms inside the baseband processing circuit 300, and each module can be independently selected and activated by the scene recognition module 320.

[0061] Although the BLER index is not listed separately in the above four modules, it can be used as an auxiliary observation for the second index processing module 332 or the neighbor cell handover control module 340 for control decisions in handover scenarios.

[0062] In this way, by setting up four indicator processing modules corresponding to four different RF indicator types, namely EVM, maximum transmit power, harmonics / spurious emissions, and TX IRR, complete hardware / software functional support is provided for the flexible selection of target RF indicators under different working scenarios, which makes it easy for the scene recognition module 320 to quickly call the corresponding indicator processing module according to the current working scenario.

[0063] In some embodiments of this application, in order to specifically implement the target radio frequency index selection strategy corresponding to different signal strength scenarios under signaling mode, the scene recognition module 320 is specifically used for: In signaling mode, the measured values ​​of the received power and transmitted power of the reference signal are obtained, and the current working scenario is determined based on the measured values ​​of the received power and transmitted power of the reference signal. The current working scenario includes either a first type of working scenario or a second type of working scenario. The measured value of the received power of the reference signal corresponding to the first type of working scenario is greater than the measured value of the received power of the reference signal corresponding to the second type of working scenario, and the measured value of the transmitted power corresponding to the first type of working scenario is less than the measured value of the transmitted power corresponding to the second type of working scenario. When the current working scenario is the first type of working scenario, the first indicator processing module 331 is determined as the target radio frequency indicator processing module, and the error vector amplitude indicator is used as the target radio frequency indicator; when the current working scenario is the second type of working scenario, at least one of the second indicator processing module 332 and the third indicator processing module 333 is used as the target radio frequency indicator processing module, and at least one of the maximum transmit power indicator, harmonic indicator and spurious indicator is used as the target radio frequency indicator.

[0064] The first type of working scenario is a medium-strong signal scenario (the signal quality is good, and the terminal can meet the communication requirements with a low transmission power), and the second type of working scenario is a weak signal scenario (the signal quality is poor, and the terminal needs to maintain the connection with a high transmission power).

[0065] For example, the scene recognition module 320 determines the working scene according to the following criteria: when RSRP is greater than -90dBm and transmit power is less than 18dBm, it is determined to be the first type of working scene (medium-strong signal area); when RSRP is less than -100dBm and transmit power is greater than 19dBm, it is determined to be the second type of working scene (weak signal area); when RSRP is less than -105dBm and transmit power is greater than 21dBm, it is determined to be the extremely weak signal area. At this time, the goal is to maximize the transmit power, and a VSWR constraint condition is introduced. When VSWR is greater than 4:1, the maximum power increase control is terminated.

[0066] In the current working scenario, which is the first type of working scenario, the first indicator processing module 331 is determined as the target RF indicator processing module, with the EVM indicator as the target RF indicator. This is because in medium-strong signal scenarios, the terminal usually uses high-order modulation methods (such as 256QAM) for high-throughput data transmission. EVM is a key factor that determines the modulation accuracy and demodulation bit error rate. Optimizing the EVM to the target value (e.g., 2%) is the core to ensuring throughput.

[0067] In the case of the current working scenario being the second type of working scenario, at least one of the second indicator processing module 332 and the third indicator processing module 333 is used as the target radio frequency indicator processing module, with at least one of the maximum transmit power indicator, harmonic indicator, and spurious indicator as the target radio frequency indicator. This is because in weak signal scenarios, the terminal needs to maintain the connection at maximum transmit power. At this time, the nonlinear distortion of the power amplifier is aggravated, and harmonic and spurious indicators may become bottlenecks limiting further improvement of the maximum transmit power. Therefore, the maximum transmit power and harmonic / spurious indicators are used as key observation indicators to ensure that the harmonic indicator meets regulatory requirements while improving the transmit power.

[0068] Furthermore, the scene recognition module 320 can also support scene recognition and control mechanism expansion. For example, for scenarios with weak signal areas in suburban or mountainous regions and few candidate cells (RSRP less than -115dBm, transmit power greater than 24dBm), the maximum transmit power is used as the target RF indicator. PID closed-loop control is initiated to adjust the operating parameters or hardware status of the RF front-end, increasing the transmit power by 2-3dB to ensure the terminal can stably complete uploads at a low rate. For different scenarios, multiple RF indicators can be prioritized according to key and auxiliary observations, achieving priority management of multiple indicators.

[0069] When the current working scenario is in a different signal strength range (e.g., RSRP is between -100dBm and -90dBm), the scene recognition module 320 can determine that it is in a normal working state and will not start the closed-loop control function. The terminal will work according to the basic calibration parameters.

[0070] In this way, by pre-setting the working scenario determination logic based on RSRP and transmit power threshold in the scene recognition module 320, EVM is automatically selected as the target RF indicator in the first type of working scenario and closed-loop control is performed by the first indicator processing module 331. In the second type of working scenario, the maximum transmit power and / or harmonics / spurious emissions are automatically selected as the target RF indicators and closed-loop control is performed by the second indicator processing module 332 and / or the third indicator processing module 333. This realizes the automatic adaptation and switching of the target RF indicator when the signal strength changes, so that the closed-loop control always focuses on the most decisive indicator in the current scenario.

[0071] In some embodiments of this application, in order to provide targeted closed-loop control in network congestion or handover scenarios, such as Figure 5As shown, the baseband processing circuit 300 may further include a neighbor cell handover control module 340; the neighbor cell handover control module 340 is used to: in signaling mode, determine whether the handover conditions are met based on the total number of users in the same sector of the current serving cell, the signal strength of the neighbor cells, and the number of users in the neighbor cells; when the handover conditions are met, perform cell handover, and use the second indicator processing module 332 as the target radio frequency indicator processing module, with the maximum transmit power indicator as the target radio frequency indicator.

[0072] For example, the specific criteria used by the neighbor cell handover control module 340 to determine whether the handover conditions are met are as follows: when the RSRP is greater than -90dBm, the transmit power is less than 20dBm, the terminal fails to access the network five times consecutively, the total number of users in the same sector of the current serving cell is greater than 30, and there exists a neighbor cell 1 whose RSRP differs from that of the current serving cell by less than 10dB and whose number of users is less than 10, the handover conditions are deemed met. During handover, the neighbor cell handover control module 340 prioritizes selecting neighbor cell base stations with an azimuth angle greater than 90 degrees from the original serving cell base station as the target cell to reduce interference between different cells.

[0073] In practical applications, after cell handover is performed when handover conditions are met, the maximum transmit power and BLER can be used together as target radio frequency indicators. For example, after handover to a new serving cell, the terminal initiates the neighbor cell handover control module 340 to execute a PID closed-loop control process for the new serving cell, modifies the communication strategy, reduces the MCS (Modulation and Coding Scheme) and modulation order, uses the maximum transmit power and BLER as target radio frequency indicators, sets appropriate PID adjustment values, adjusts the first adjustable matching network 121 and the second adjustable matching network 123, and increases the transmit power to adapt to the new serving cell.

[0074] Among them, BLER, as an auxiliary observation, is used together with the maximum transmit power indicator to evaluate the communication quality after handover. Specifically, BLER (Block Error Rate) refers to the error rate of data block transmission, used to characterize the reliability of data transmission. The lower the BLER value, the more reliable the data transmission. In handover scenarios, even if the transmit power is increased, if the BLER remains high, it indicates that the link quality of the new serving cell is still not up to standard, and the adjustable matching network needs to be adjusted until the BLER converges to a preset value (e.g., less than 5%).

[0075] In this way, by setting a neighbor cell handover control module 340 in the baseband processing circuit 300, when the current cell user congestion causes continuous access failure, the cell handover is automatically triggered. After the handover, the maximum transmit power index and BLER are used as closed-loop control objects. While effectively avoiding congested sectors, the transmit power is increased and the block error rate is reduced through PID closed-loop control, ensuring that the terminal can still communicate reliably in network congestion scenarios.

[0076] In some embodiments of this application, in order to achieve precise closed-loop adjustment of the TX IRR and generate basic calibration data in calibration mode, such as Figure 6 As shown, the scene recognition module 320 is specifically used to: in calibration mode, determine the fourth index processing module 334 as the target radio frequency index processing module, and use the image rejection ratio index as the target radio frequency index. The baseband processing circuit 300 is also used to: in calibration mode, after the attenuation value of the adjustable attenuation network 200 has been adjusted, store the adjusted attenuation value as the calibration result.

[0077] For example, the complete closed-loop control process in calibration mode is as follows: After the communication terminal enters calibration mode, it initializes calibration parameters, sets the initial values ​​of FBRX gain and PID adjustment, and adjusts the attenuation of the adjustable attenuation network 200 according to the initial PID value; the power detection path collects the feedback signal on the main transmission path; the RF transceiver integrated circuit 110 performs down-conversion, demodulation, and ADC conversion on the feedback signal; the digital processing module 310 performs spectrum analysis and calculation on the digital baseband signal sampled by the ADC to obtain the current measured TX IRR value; the fourth index processing module 334 compares the measured TX IRR value with the preset target TXIRR value and outputs the deviation signal; the closed-loop control circuit 400 generates a third control signal based on the deviation signal to adjust the attenuation value of the adjustable attenuation network 200, iterating repeatedly until the TX IRR meets the target. During the iteration process, the baseband processing circuit 300 can also simultaneously adjust the FBRX gain through the control interface of the RF transceiver integrated circuit 110, combining the attenuation value adjustment with the FBRX gain adjustment to quickly find the optimal combination of attenuation value and FBRX gain for a specific frequency band.

[0078] After calibration, the baseband processing circuit 300 stores the calibration results of each frequency band in NV in multiple array formats of {power, voltage, APC, attenuation value, FBRX gain}, which serve as basic calibration data for use by signaling during operation.

[0079] In this way, by using the scene recognition module 320 to identify the fourth index processing module 334 as the target index processing module and TX IRR as the target RF index in calibration mode, the closed-loop control circuit 400 iteratively adjusts the attenuation value of the adjustable attenuation network 200 according to the TX IRR deviation signal. At the same time, the baseband processing circuit 300 synchronously iteratively adjusts the FBRX gain, thereby achieving coordinated optimization of the attenuation value and FBRX gain during the TX IRR calibration process. This ensures the accuracy of the baseband signal measurement, and the phase and amplitude distortion introduced by the mixer and IQ modulation are optimally compensated. The adjusted target operating parameters are then stored as basic calibration data.

[0080] In some embodiments of this application, in order to comprehensively evaluate multiple indicators to assist in scene identification and control decisions, such as Figure 7 As shown, the baseband processing circuit 300 may also include a scoring module 350, which is connected to the digital processing module 310 and the scene recognition module 320 respectively. The scoring module 350 is used to: acquire the measured values ​​of multiple radio frequency indicators from the digital processing module 310; perform normalized weighted calculation on the measured values ​​of multiple radio frequency indicators according to preset weight coefficients to generate a comprehensive score; The scene recognition module 320 is also used to: determine the current working scene and target radio frequency indicators based on the comprehensive score.

[0081] The scoring module 350 performs normalized weighted calculations on the measured values ​​of multiple radio frequency indicators according to preset weight coefficients, and the following evaluation function can be used: ; Wherein, Score is the overall score. is the positive weighting coefficient for the maximum transmit power, and MaxPwr is the measured value of the maximum transmit power index. Here, represents the penalty weighting coefficient for EVM, where EVM is the measured value of the error vector magnitude index. The penalty weighting coefficient for reflected power. This is the measured value of the reflected power index (which can be measured by a two-way coupler). The penalty weighting coefficient for harmonics, The measured value of the harmonic index is... is the penalty weighting coefficient for BLER, where BLER is the measured value of the block error rate index.

[0082] The scoring module 350 can dynamically adjust the values ​​of the aforementioned weighting coefficients for different working scenarios, ensuring that the most important indicator in the current scenario dominates the overall score. For example, increasing the weighting coefficient in a weak signal scenario... And reduce other weights so that the score mainly reflects the quality of the maximum transmit power; increase the weights in medium-strong signal scenarios. This allows the score to primarily reflect the quality of the EVM; it also increases performance in network congestion scenarios. This makes the score primarily reflect the quality of BLER; in antenna mismatch scenarios (VSWR>4:1), increasing... The Score primarily reflects the level of reflected power. The scene recognition module 320 comprehensively determines the current working scene and selects the target radio frequency indicator based on the overall score of the Score and the weighted scores of each indicator.

[0083] In this way, by setting the scoring module 350 to normalize and weight the measured values ​​of multiple radio frequency indicators according to preset weight coefficients to generate a comprehensive score, the scene recognition module 320 uses the comprehensive score to assist in determining the current working scene and target radio frequency indicators, realizing the comprehensive evaluation of multiple indicators and the dual verification of scene recognition, thereby improving the accuracy of scene determination and the rationality of control decisions.

[0084] In some embodiments of this application, in order to improve the control efficiency when the terminal repeatedly enters the same scenario, such as Figure 7 As shown, the baseband processing circuit 300 also includes a dynamic matching table storage module 360, which is connected to the closed-loop control circuit 400. The dynamic matching table storage module 360 ​​is used to store target working parameters that have been adjusted by the closed-loop control circuit 400 to meet preset conditions under different working scenarios. The baseband processing circuit 300 is also used to: when the scene recognition module 320 recognizes a specific working scene stored in the dynamic matching table storage module again, call the target working parameters that have been adjusted by the closed-loop control circuit 400 to meet the preset conditions under the specific working scene from the dynamic matching table storage module, and use them as the initial working parameters of the RF front-end 120.

[0085] The target operating parameters stored in the dynamic matching table storage module 360 ​​include, but are not limited to: the target impedance of the first adjustable matching network 121, the target impedance of the second adjustable matching network 123, the target attenuation value of the adjustable attenuation network 200, and PID control parameters. After each closed-loop control is completed, if the controlled indicators meet the preset conditions, the baseband processing circuit 300 writes the current operating scenario and its corresponding target operating parameters into the dynamic matching table storage module 360.

[0086] Among them, the dynamic matching table storage module 360 ​​supports continuous updates and learning: when the terminal finds a better combination of working parameters through closed-loop control in a certain scenario, the new parameters are updated to the dynamic matching table storage module 360 ​​to replace the original parameters; when the terminal enters the same scenario at different times (such as commuting through the same weak signal area every day), it can directly call the target working parameters stored in the dynamic matching table storage module 360, without having to start iterating from the default state again, which significantly shortens the control convergence time.

[0087] In this way, by setting up a dynamic matching table storage module 360 ​​to store the target working parameters that have reached the preset conditions under closed-loop control in different working scenarios, when a specific working scenario that has been stored is identified again, the optimal parameters stored in that scenario are directly called as the initial working parameters of the radio frequency front-end 120. By taking advantage of the regional repetition and time regularity of the terminal's working scenarios, the number of repeated iterations is reduced, the control convergence time is shortened, and the control efficiency is improved when the terminal repeatedly enters the same scenario.

[0088] In some embodiments of this application, in order to selectively output the deviation signals from multiple index processing modules to the closed-loop control circuit, such as... Figure 8 As shown, taking multiple indicator processing modules including a first indicator processing module 331, a second indicator processing module 332, and a third indicator processing module 333 as an example, the radio frequency circuit 10 also includes a scene selection module 500. The multiple indicator processing modules are connected to the closed-loop control circuit 400 through the scene selection module 500. The scene selection module 500 is used to output the deviation signal to the closed-loop control circuit 400.

[0089] The scene selection module 500 can be connected to the scene recognition module 320, receive a gating control signal from the scene recognition module 320, select a corresponding index processing module from multiple index processing modules 330 according to the gating control signal, and transmit the deviation signal output by the index processing module to the closed-loop control circuit 400. The scene selection module 500 can be implemented using a multiplexer (MUX) or a similar circuit with signal gating function.

[0090] When the scene recognition module 320 selects the target radio frequency index processing module, it sends a corresponding gating signal to the scene selection module 500. The scene selection module 500 connects the signal path between the target index processing module and the closed-loop control circuit 400 according to the gating signal, and blocks the signal output of other unselected index processing modules.

[0091] In this way, by setting a scene selection module 500 between multiple index processing modules 330 and the closed-loop control circuit 400, the scene selection module 500 selects the deviation signal corresponding to the target radio frequency index from multiple deviation signals according to the gating signal of the scene recognition module 320 and outputs it to the closed-loop control circuit 400, thereby realizing flexible gating and isolation of signal paths and avoiding control conflicts caused by the simultaneous input of deviation signals from multiple index processing modules to the closed-loop control circuit 400.

[0092] In some embodiments of this application, in order to provide a precise closed-loop control algorithm implementation, such as... Figure 8 As shown, the closed-loop control circuit can be a PID controller 410. The PID controller 410 is used to determine the control signal based on the linear combination of the proportional component, integral component and derivative component of the deviation signal.

[0093] The control algorithm of the PID controller 410 can be expressed as follows: ; u(t) is the control signal output value, e(t) is the deviation signal (the difference between the preset value and the measured value of the target RF index), Kp is the proportional coefficient, Ki is the integral coefficient, and Kd is the derivative coefficient.

[0094] The values ​​of the three coefficients Kp, Ki, and Kd can be configured and optimized according to the current working scenario, the type of target radio frequency indicator, and the characteristics of the terminal hardware.

[0095] Among them, the proportional term It is used to quickly respond to the current deviation. The larger the deviation, the greater the adjustment force, but the accuracy is low. It only determines the basic adjustment amount based on the current deviation.

[0096] Among them, the integral term Used to eliminate persistent small deviations. For example, when the average EVM value is consistently 0.2% lower than the target value, the proportional term can no longer meet the requirements for small-precision adjustments, and the integral term gradually accumulates this small deviation and outputs a stable compensation amount until the error returns to zero.

[0097] Among them, differential terms It is used to predict future trends based on the rate of change of deviation, suppress oscillations, and increase system stability. For example, when baseband sampling detects that the EVM is decreasing rapidly, the differential term outputs a large adjustment to prevent the signal quality from deteriorating too quickly.

[0098] The control signal output by the PID controller 410 is subjected to amplitude limiting processing to restrict u(t) to a value range allowed by the adjustable matching network control terminal. For example, the control word value range or the voltage control signal swing range. Then it is converted into a control signal form that can be recognized by the corresponding controlled device (such as MIPI digital control word or analog voltage signal).

[0099] In this way, by setting the closed-loop control circuit as a PID controller 410, the proportional term quickly responds to the deviation, the integral term eliminates the static error, and the derivative term predicts the change trend to suppress oscillation. This enables precise closed-loop control of the deviation between the measured value and the preset value of the target RF index, achieving efficient, stable, and fast-converging real-time adjustment of the RF front-end operating parameters.

[0100] Furthermore, based on a concept similar to the circuit embodiments described above, this application also provides a communication terminal.

[0101] like Figure 9 As shown in the figure, this application embodiment also provides a communication terminal 90, including: radio frequency circuit 10.

[0102] The radio frequency circuit 10 can be any of the radio frequency circuits provided in the above embodiments.

[0103] It should be noted that the communication terminal provided in this application includes the radio frequency circuit provided in any of the above embodiments, and can achieve the same function and the same technical effect as the radio frequency circuit provided in any of the above embodiments. To avoid repetition, it will not be described again here.

[0104] Furthermore, based on a concept similar to the communication terminal provided in the above embodiments, this application also provides a control method for a communication terminal.

[0105] like Figure 10 As shown, in some embodiments of this application, the control method for the communication terminal provided in this application may include: Step 1010: Obtain the measured value of the target RF indicator; the target RF indicator is the RF indicator selected from multiple RF indicators that corresponds to the current working scenario; Step 1020: After comparing the measured value with the preset value of the target RF indicator, a deviation signal is generated; the deviation signal is used to reflect the deviation between the measured value and the preset value of the target RF indicator. Step 1030: Generate a control signal based on the deviation signal, and adjust the operating parameters or hardware status of the RF front end according to the control signal to reduce the deviation between the measured value and the preset value of the target RF index.

[0106] Specifically, obtaining the measured value of the target RF index in step 1010 may include: acquiring a portion of the transmitted signal on the main transmit path through the power detection path; the RF transceiver integrated circuit sequentially performing down-conversion, demodulation, and ADC sampling on the acquired feedback signal to generate a digital baseband signal; and the baseband processing circuit calculating the measured value of the target RF index based on the digital baseband signal using signal processing algorithms such as FFT transformation and spectrum analysis.

[0107] In step 1030, a control signal is generated based on the deviation signal. Specifically, a PID control algorithm can be used, which calculates the control signal based on a linear combination of the proportional, integral, and derivative components of the deviation signal. The control signal can be a digital control word transmitted through the MIPI interface or an analog voltage control signal, depending on the type of controlled device in the RF front-end.

[0108] In step 1030, adjusting the operating parameters or hardware status of the RF front-end can specifically include: adjusting the impedance of the first adjustable matching network, adjusting the impedance of the second adjustable matching network, adjusting the drive current, bias voltage, or gain status of the power amplifier, etc. These adjustments can be performed in real-time in signaling mode, ensuring that the operating status of the RF front-end continuously adapts to the current network environment and communication requirements.

[0109] In this way, by obtaining the measured value of the target RF indicator and comparing it with the preset value of the target RF indicator, a deviation signal is generated. Based on the deviation signal, a control signal is generated to adjust the working parameters or hardware status of the RF front end, so as to reduce the deviation between the measured value and the preset value of the target RF indicator, realize closed-loop feedback control of the target RF indicator, thereby optimizing the target RF indicator in real time and improving communication performance.

[0110] In some embodiments of this application, in order to achieve independent real-time control of the matching networks on the input and output sides of the power amplifier, the control signal includes a first control signal and a second control signal; in step 1030 above, adjusting the operating parameters or hardware state of the RF front end according to the control signal may include: In signaling mode, the impedance of the first adjustable matching network in the RF front end is adjusted according to the first control signal, and the impedance of the second adjustable matching network in the RF front end is adjusted according to the second control signal.

[0111] The first control signal and the second control signal can be independent of each other, having different signal values ​​or different control words, so as to differentiate the adjustment of the first adjustable matching network and the second adjustable matching network respectively. The first adjustable matching network is used to perform source pull impedance matching on the RF signal before it enters the power amplifier, compensating for wafer differences in the RF transceiver integrated circuit; the second adjustable matching network is used to perform load pull impedance matching on the high-power RF signal output by the power amplifier, compensating for the nonlinear distortion introduced by the power amplifier.

[0112] The impedance adjustment of the first and second adjustable matching networks can be achieved by switching the state of the internal capacitor array, inductor array or MEMS adjustable device, with each control signal corresponding to a specific impedance.

[0113] In this way, by outputting a first control signal to the first adjustable matching network to adjust its impedance and outputting a second control signal to the second adjustable matching network to adjust its impedance in signaling mode, independent and differentiated real-time control of the first and second adjustable matching networks can be achieved, providing optimal matching conditions for different target RF indicators such as EVM, maximum transmit power, and harmonics.

[0114] In some embodiments of this application, in order to obtain the measured values ​​of the target radio frequency indicators, step 1010 above includes obtaining the measured values ​​of the target radio frequency indicators, which includes: Acquire the transmit signal fed back from the power detection path; Based on the transmitted signal, a digital baseband signal is generated; Calculate the measured values ​​of the target radio frequency indicators based on the digital baseband signal.

[0115] Specifically, acquiring the transmit signal fed back from the power detection path involves collecting a portion of the radio frequency signal on the main transmit path through the coupling end of the coupler and transmitting it to the feedback receiver (such as the FBRX port) of the radio frequency transceiver integrated circuit via the power detection path.

[0116] Specifically, the digital baseband signal is generated based on the transmitted signal. The FBRX receiving path inside the RF transceiver integrated circuit performs low-noise amplification, down-conversion, demodulation, and ADC sampling on the input feedback signal in sequence, converts it into a digital baseband signal, and then transmits it to the baseband processing circuit through the IQ data line.

[0117] Specifically, the measured values ​​of the target RF indicators are calculated based on the digital baseband signal. The DSP module inside the baseband processing circuit performs FFT transformation and spectrum analysis on the digital baseband signal, reconstructs the transmitted signal spectrum model, and calculates the measured values ​​of target RF indicators such as EVM, transmit power, TX IRR, harmonics, and spurious emissions.

[0118] In this way, the feedback signal on the main transmission path is collected through the power detection path, converted into a digital baseband signal by the radio frequency transceiver integrated circuit, and then the baseband processing circuit calculates the measured value of the target radio frequency index, providing an accurate measurement data source for closed-loop control.

[0119] In some embodiments of this application, in order to achieve closed-loop adjustment of TX IRR and generate basic calibration data in calibration mode, the control method of the communication terminal provided in the embodiments of this application may further include: In calibration mode, the image rejection ratio is used as the target RF indicator; a third control signal is generated based on the deviation signal; the attenuation value of the adjustable attenuation network is adjusted according to the third control signal to reduce the deviation between the measured value and the preset value of the target RF indicator. After the attenuation value of the adjustable attenuation network is adjusted, the adjusted attenuation value is stored as the calibration result.

[0120] In calibration mode, the terminal is in a non-signaling state, and the test instrument controls the terminal's RF chip to transmit specific test signals. The adjustable attenuation network on the power detection path subdivides the entire frequency band into different bands, each with its own attenuation value, improving the dynamic range and linearity of the signal entering the FBRX port.

[0121] Among them, adjusting the attenuation value of the adjustable attenuation network and adjusting the FBRX gain can be done simultaneously. By combining the adjustment of the attenuation value and the adjustment of the FBRX gain, the optimal combination of attenuation value and FBRX gain for a specific frequency band can be found quickly, ensuring the accuracy of TX IRR measurement.

[0122] Once calibration is complete, the stored calibration results include multiple array formats such as {power, voltage, APC, attenuation value, FBRX gain}, which are stored in NV as basic calibration data for use by signaling.

[0123] In this way, by using TX IRR as the target RF index in calibration mode, generating a third control signal based on the deviation signal to adjust the attenuation value of the adjustable attenuation network, and storing the optimal attenuation value as the calibration result, the frequency band adaptability of the power detection path and the accuracy of TX IRR calibration are optimized, providing accurate basic calibration data for signaling operation mode.

[0124] In some embodiments of this application, in order to achieve automatic adaptation of target radio frequency indicators corresponding to different signal strength scenarios in signaling mode, the control method of the communication terminal provided in the embodiments of this application may further include the following before obtaining the measured value of the target radio frequency indicator: In signaling mode, the measured values ​​of the received power and transmitted power of the reference signal are obtained, and the current working scenario is determined based on the measured values ​​of the received power and transmitted power of the reference signal. In the case that the current working scenario is the first type of working scenario, the error vector amplitude index is used as the target radio frequency index; In the case that the current working scenario is the second type of working scenario, at least one of the maximum transmit power index, harmonic index and spurious index shall be used as the target radio frequency index. The current working scenario includes either the first type of working scenario or the second type of working scenario. The measured value of the reference signal received power corresponding to the first type of working scenario is greater than the measured value of the reference signal received power corresponding to the second type of working scenario, and the measured value of the transmit power corresponding to the first type of working scenario is less than the measured value of the transmit power corresponding to the second type of working scenario.

[0125] For example, when RSRP is greater than -90dBm and transmit power is less than 18dBm, it is determined to be a Class I operating scenario (medium-strong signal scenario), and when RSRP is less than -100dBm and transmit power is greater than 19dBm, it is determined to be a Class II operating scenario (weak signal scenario).

[0126] Specifically, when RSRP is less than -105dBm and transmit power is greater than 21dBm, it is determined to be an extremely weak signal scenario. At this time, the goal is to maximize the transmit power, and the ratio of reverse reflected power to forward transmit power is measured as a constraint condition. When VSWR is greater than 4:1, the maximum power boosting control is terminated.

[0127] When the terminal is in other signal strength ranges, it switches to normal working state and does not start closed-loop control.

[0128] In this way, by acquiring the measured values ​​of RSRP and transmit power in signaling mode and determining the current working scenario accordingly, EVM is automatically selected as the target RF indicator in the first type of working scenario, and maximum transmit power and / or harmonics / spurious emissions are automatically selected as the target RF indicator in the second type of working scenario. This enables automatic adaptation and switching of the target RF indicator when the signal strength changes, so that the closed-loop control always focuses on the indicator that needs to be optimized most in the current scenario.

[0129] In some embodiments of this application, in order to trigger closed-loop control based on maximum transmit power in network congestion scenarios, the control method for the communication terminal provided in the embodiments of this application may further include the following before obtaining the measured value of the target radio frequency index: In signaling mode, the handover conditions are determined based on the total number of users in the same sector of the current serving cell, the signal strength of neighboring cells, and the number of users in neighboring cells. When the handover conditions are met, cell handover is performed, and the maximum transmit power index is used as the target radio frequency index.

[0130] For example, the handover criteria are as follows: RSRP greater than -90dBm, transmit power less than 20dBm, terminal fails to access the network five times consecutively, the total number of users in the same sector of the current serving cell is greater than 30, and the difference between the RSRP of neighboring cell 1 and the RSRP of the current serving cell is less than 10dB and the number of users in neighboring cell 1 is less than 10. When selecting a target cell, priority is given to neighboring cell base stations with an azimuth angle greater than 90 degrees from the original serving cell base station to reduce interference between different cells.

[0131] After switching to the new serving cell, the terminal modulates its communication strategy, reducing the MCS and modulation order, prioritizing maximum power and BLER as the most important parameters, setting PID adjustment parameters, and regulating the adjustable matching network. The target BLER value can be set to, for example, less than 5%.

[0132] In this way, by detecting network congestion in signaling mode and performing cell handover when handover conditions are met, closed-loop control is performed using the maximum transmit power index as the target radio frequency index, effectively avoiding congested sectors and ensuring communication reliability after handover by increasing transmit power and reducing block error rate.

[0133] In some embodiments of this application, in order to assist in determining the target radio frequency index through comprehensive evaluation of multiple indicators, the control method of the communication terminal provided in this application may further include the following before obtaining the measured value of the target radio frequency index: Obtain measured values ​​of multiple radio frequency (RF) indicators; normalize and weight the measured values ​​of multiple RF indicators according to preset weight coefficients to generate a comprehensive score; determine the target RF indicator based on the comprehensive score.

[0134] Specifically, the measured values ​​of multiple radio frequency indicators are normalized and weighted according to preset weight coefficients, and the evaluation function can be used as follows: ; The meanings of the symbols are as described above. For different work scenarios, the weighting coefficients can be dynamically adjusted to ensure that the most important metric in the current scenario dominates the score.

[0135] Specifically, the target radio frequency index is determined based on the comprehensive score. Specifically, when the comprehensive score is lower than a preset threshold, it is determined that the current communication quality needs to be optimized. Based on the contribution of each individual index to the score, the index with the largest contribution (i.e. the largest negative impact on the comprehensive score) is selected as the target radio frequency index for priority control.

[0136] In this way, by obtaining the measured values ​​of multiple radio frequency indicators and performing normalized weighted calculations according to preset weight coefficients to generate a comprehensive score, the target radio frequency indicator is determined based on the comprehensive score, realizing comprehensive evaluation and priority ranking of multiple indicators, and improving the accuracy of target radio frequency indicator selection.

[0137] In some embodiments of this application, in order to improve the efficiency of repeated adjustments under the same scenario, after adjusting the operating parameters or hardware state of the radio frequency front end according to the control signal, the control method of the communication terminal provided in the embodiments of this application may further include: Store target working parameters that have been adjusted to meet preset conditions under different working scenarios; When a specific working scenario that has been stored is identified again, the target working parameters that have been adjusted to meet the preset conditions under the specific working scenario are called up as the initial working parameters of the RF front end.

[0138] In this way, by storing the target operating parameters that have reached the preset conditions under closed-loop control in different working scenarios, and directly calling the pre-stored parameters as the initial operating parameters of the RF front end when the same scenario is identified again, the number of iterations is reduced by utilizing the repetitiveness of the terminal's working scenarios, thereby improving control efficiency.

[0139] In practical applications, the communication terminal can adjust the attenuation value of the adjustable attenuation network in calibration mode to achieve a closed-loop control process that optimizes the target RF performance. After calibration, the communication terminal can adjust the operating parameters or hardware status of the RF front end in signaling mode to achieve a closed-loop control process that optimizes the target RF performance.

[0140] In a specific example, considering the scenario where a communication terminal performs closed-loop control in calibration mode with the image rejection ratio (TX IRR) as the target RF metric, such as... Figure 11 As shown, the control method for the communication terminal includes the following steps: In calibration mode, initialize calibration parameters; set the gain value of FBRX and the initial value of PID; adjust the attenuation value of the adjustable attenuation network according to the initial value of PID; measure the transmit signal fed back by the power detection path; analyze and process the measurement results; calculate the measured value of the image rejection ratio index; calculate the deviation between the measured value of the image rejection ratio index and the preset value; determine whether the deviation meets the preset conditions; if the deviation does not meet the preset conditions, determine the adjustment amount through the PID algorithm, and continue to adjust the attenuation value of the adjustable attenuation network until the deviation meets the preset conditions.

[0141] The initial calibration parameters include setting the current calibration frequency band, power level, and desired target TX IRR value. The initial FBRX gain value is set to the default value based on the current frequency band and power level.

[0142] Among them, the analysis and processing of measurement results refers to the process by which the RF transceiver integrated circuit performs down-conversion, demodulation and ADC sampling on the feedback signal, and then the DSP module of the baseband processing circuit performs FFT spectrum analysis on the digital baseband signal to extract the amplitude and phase imbalance of the I / Q channels.

[0143] The process involves calculating the deviation between the measured TX IRR value and the preset value. If the deviation does not meet the preset condition (e.g., the deviation is greater than the tolerance threshold), the adjustment amount is calculated using a PID algorithm, generating a third control signal to adjust the attenuation value of the adjustable attenuation network. Simultaneously, the baseband processing circuit adjusts the FBRX gain synchronously through the control interface of the RF transceiver integrated circuit, entering the next cycle. This process iterates repeatedly until the measured TX IRR value converges to near the preset value.

[0144] During the iteration process, the adjustment of FBRX gain and the adjustment of the attenuation value of the adjustable attenuation network are carried out in tandem. The purpose of combining the two is to adjust the signal size entering the FBRX receiving port more flexibly and quickly find the optimal combination of attenuation value and FBRX gain parameters.

[0145] The deviation meeting the preset condition means that the difference between the measured TX IRR value and the preset value is within the allowable error range (e.g., ±0.5dB). After the standard is met, the {power, voltage, APC, attenuation value, FBRX gain} of the current frequency band is stored in NV, and calibration for the next frequency band or power level continues.

[0146] In this way, by using the TX IRR index as the target RF index in calibration mode, and employing PID closed-loop control to iteratively adjust the attenuation value of the adjustable attenuation network and synchronously iteratively adjust the FBRX gain until the TX IRR reaches the target and the optimal calibration parameters are stored, the gain adjustment capability and frequency band adaptability of the power detection path are significantly improved, providing the best signal conditions for accurate TX IRR measurement and IQ imbalance compensation.

[0147] In another specific example, such as Figure 12 As shown, for the case where a communication terminal performs closed-loop control in signaling mode with error vector amplitude or harmonic index as the target radio frequency index, the control method for the communication terminal includes the following steps: In signaling mode, the system retrieves basic calibration data; sets the initial value of the PID controller; adjusts the impedance of the first and second adjustable matching networks based on the initial PID value; activates the digital processing module to identify the current network environment and determine the current working scenario; if the current working scenario is the first type of working scenario, the system activates the first index processing module to analyze and process the measurement results, calculates the deviation between the measured value and the preset value of the error vector amplitude index, determines whether the deviation meets the preset conditions, and if the deviation does not meet the preset conditions, determines the adjustment amount through the PID algorithm and continues to adjust the impedance of the first and second adjustable matching networks until the deviation meets the preset conditions; if the current working scenario is the second type of working scenario, the system activates the third index processing module to analyze and process the measurement results, calculates the deviation between the measured value and the preset value of the harmonic index, determines whether the deviation meets the preset conditions, and if the deviation does not meet the preset conditions, determines the adjustment amount through the PID algorithm and continues to adjust the impedance of the first and second adjustable matching networks until the deviation meets the preset conditions.

[0148] Calling basic calibration data refers to reading the basic calibration parameters of each frequency band stored in the calibration phase from NV, including power, voltage, APC, adjustable attenuator attenuation value, FBRX gain, etc., as the initial configuration for signaling operation.

[0149] Setting the initial values ​​for the PID controller involves setting the initial values ​​for the three coefficients Kp, Ki, and Kd based on the current operating frequency band and operating scenario, and clearing the integral accumulation term. The initial PID values ​​can be determined based on the basic calibration data and preset scenario parameters.

[0150] Identifying the current network environment includes obtaining parameters such as the current measured RSRP value, measured transmit power value, serving cell and neighboring cell information, and the number of users in the same sector through modem reporting. Determining the current working scenario is based on the above network environment parameters, and is determined to be either the first type of working scenario (medium-strong signal scenario) or the second type of working scenario (weak signal scenario) according to preset RSRP and transmit power thresholds.

[0151] In the first operating scenario, the target RF parameter is EVM. The first parameter processing module calculates the measured EVM value and compares it with a preset EVM value (e.g., 2%) to output the deviation. The PID controller generates a control signal based on the deviation to adjust the impedance of the first and second adjustable matching networks, causing the EVM to converge to the preset value. In the second operating scenario, the target RF parameter is harmonics. The third parameter processing module calculates the measured harmonic values ​​and compares them with a preset harmonic value (e.g., -45dBc) to output the deviation. The PID controller generates a control signal based on the deviation to adjust the impedance of the first and second adjustable matching networks, causing the harmonics to converge to the preset value.

[0152] In the second type of working scenario, the maximum transmit power can also be used as an auxiliary measurement to ensure that the maximum transmit power is increased by 2-3dB while suppressing harmonics, so as to meet the coverage requirements under weak signal conditions.

[0153] The impedance adjustment of the adjustable matching network involves a PID controller converting the calculated control quantity into a corresponding control signal (digital control word or analog voltage) and applying it to the control terminal of the adjustable matching network. Impedance changes are achieved by altering the connection states of the internal capacitor and inductor arrays. After each adjustment, the system returns to the power detection stage for further measurement and calculation, forming a closed-loop iteration until the deviation meets the preset conditions.

[0154] The deviation meeting the preset conditions means that the measured EVM value is stable within the preset value ±0.1% allowable range, or the measured harmonic value reaches below the preset value, and the results of multiple consecutive samplings are stable and no longer diverge. After the special working state ends, the terminal restores the basic calibration parameters, terminates the PID closed-loop control function, and the mobile phone returns to the normal working state.

[0155] In this way, by flexibly selecting EVM or harmonics as the target RF indicator according to the identified current working scenario in signaling mode, the corresponding indicator processing module calculates the deviation, and the PID controller generates control signals based on the deviation to iteratively adjust the impedance of the first and second adjustable matching networks until the target RF indicator converges to the preset value. This achieves real-time closed-loop control and optimization of key RF indicators for different scenarios in signaling work, enabling the terminal to obtain targeted communication performance improvements in various existing network scenarios such as weak signals and medium-strong signals.

[0156] In some embodiments of this application, the scene recognition and closed-loop control mechanism under the above signaling mode is not limited to signal strength or network congestion scenarios, but can also be extended to terminal security compliance scenarios. For example, the judgment and analysis control of SAR (Specific Absorption Rate) working scenarios. SAR is used to measure the electromagnetic power absorbed by a unit mass of tissue when a human body is exposed to a radio frequency electromagnetic field, and it is a compliance indicator that communication terminals must meet. When the terminal detects a person approaching (such as in a head-and-hand model, body-worn, or handheld close-range mode), it needs to reduce the transmission power to meet the SAR limit requirements. However, power backoff may lead to weakened uplink coverage and reduced communication quality, which is contradictory. In the above scenario, the terminal can also use the "power detection → scene recognition → indicator analysis and judgment → PID closed-loop control" mode of this application for extended regulation. Specifically, the terminal can use built-in proximity sensors, acceleration sensors, or antenna impedance change detection, combined with the current transmission power and frequency band information, to have the scene recognition module 320 identify the current situation as a SAR working scenario. In this scenario, the maximum permissible transmit power corresponding to the SAR safety limit is used as the target RF indicator, while EVM or BLER is used as an auxiliary observation. The baseband processing circuit 300 calculates the current measured transmit power value based on the transmit signal collected by the power detection path, compares the measured transmit power value with the target maximum transmit power corresponding to the SAR limit, and outputs a deviation signal to the closed-loop control circuit 400. The closed-loop control circuit 400 generates a control signal based on the deviation signal, adjusts the impedance of the first adjustable matching network 121 and / or the second adjustable matching network 123, or adjusts the drive current of the power amplifier 122, so that the transmit power is as close as possible to the upper limit value while meeting SAR compliance requirements, and at the same time, the EVM and BLER indicators do not deteriorate significantly.

[0157] In addition, closed-loop control in SAR scenarios can also be combined with the dynamic matching table storage module 360 ​​to store the optimal matching state and power configuration found by closed-loop control under different proximity states (such as left head, right head, front of body, and back of body) and corresponding frequency bands into the dynamic matching table. When the terminal enters the same proximity state again, it can be quickly called up, reducing the time of repeated iterations.

[0158] It should be noted that any application that adopts the basic technical mode of "power detection → scene recognition → index analysis and judgment → PID closed-loop control" in this application to expand the scenarios and implement closed-loop control for other special scenarios under the signaling working mode (including but not limited to frequency modulation control under high temperature scenarios, power compensation control under low voltage scenarios, and EVM optimization control under different MCS levels) falls within the scope of the technical solution of this application.

[0159] 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 method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0160] The processor is the processor in the communication terminal 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.

[0161] 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 method embodiments and achieve the same technical effects. To avoid repetition, it will not be described again here.

[0162] 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.

[0163] 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.

[0164] 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. A radio frequency circuit, characterized in that, include: The system comprises a transmitting circuit (100), a baseband processing circuit (300), and a closed-loop control circuit (400); the transmitting circuit (100) includes a radio frequency transceiver integrated circuit (110) and a radio frequency front-end (120); the radio frequency transceiver integrated circuit (110) is connected to the radio frequency front-end (120) and the baseband processing circuit (300) respectively; the baseband processing circuit (300) is connected to the closed-loop control circuit (400), and the closed-loop control circuit (400) is connected to the radio frequency front-end (120); The baseband processing circuit (300) is used to: acquire the measured value of the target radio frequency indicator, compare the measured value with the preset value of the target radio frequency indicator, and output a deviation signal; the target radio frequency indicator is a radio frequency indicator selected from multiple radio frequency indicators that corresponds to the current working scenario; the deviation signal is used to reflect the deviation between the measured value and the preset value of the target radio frequency indicator. The closed-loop control circuit (400) is used to: generate a control signal based on the deviation signal, and adjust the operating parameters or hardware status of the radio frequency front-end (120) by outputting the control signal to the radio frequency front-end (120) to reduce the deviation between the measured value and the preset value of the target radio frequency index.

2. The radio frequency circuit according to claim 1, characterized in that, The transmitting circuit (100) further includes a coupler (130) and an antenna (140); the radio frequency front end (120) is connected to the antenna (140) through the coupler (130); The radio frequency front end (120) includes a first adjustable matching network (121), a power amplifier (122), and a second adjustable matching network (123) connected in sequence; the output terminal of the radio frequency transceiver integrated circuit (110) is connected to the input terminal of the power amplifier (122) through the first adjustable matching network (121); the output terminal of the power amplifier (122) is connected to the input terminal of the coupler (130) through the second adjustable matching network (123).

3. The radio frequency circuit according to claim 2, characterized in that, The first output terminal of the closed-loop control circuit (400) is connected to the control terminal of the first adjustable matching network (121), and the second output terminal of the closed-loop control circuit (400) is connected to the control terminal of the second adjustable matching network (123). The control signal includes a first control signal and a second control signal; the closed-loop control circuit (400) is specifically used to: in signaling mode, adjust the impedance of the first adjustable matching network (121) by outputting the first control signal to the first adjustable matching network (121), and adjust the impedance of the second adjustable matching network (123) by outputting the second control signal to the second adjustable matching network (123).

4. The radio frequency circuit according to claim 1, characterized in that, The transmitting circuit (100) also includes a coupler (130), the coupling end of which is connected to the feedback receiving end of the radio frequency transceiver integrated circuit (110) through a power detection path; The radio frequency transceiver integrated circuit (110) is used to: acquire the transmission signal fed back from the power detection path, generate a digital baseband signal according to the transmission signal, and output the digital baseband signal to the baseband processing circuit (300); The baseband processing circuit (300) is used to: calculate the measured value of the target radio frequency index based on the digital baseband signal, and output the deviation signal after comparing the measured value with the preset value of the target radio frequency index.

5. The radio frequency circuit according to claim 1, characterized in that, The transmitting circuit (100) also includes a coupler (130), the coupling end of which is connected to the feedback receiving end of the radio frequency transceiver integrated circuit (110) through a power detection path; The radio frequency circuit also includes an adjustable attenuation network (200) disposed on the power detection path; the third output terminal of the closed-loop control circuit (400) is connected to the control terminal of the adjustable attenuation network (200); The closed-loop control circuit (400) is also used to: generate a third control signal according to the deviation signal in calibration mode, and adjust the attenuation value of the adjustable attenuation network (200) by outputting the third control signal to the adjustable attenuation network (200) to reduce the deviation between the measured value and the preset value of the target radio frequency index.

6. The radio frequency circuit according to any one of claims 1-5, characterized in that, The baseband processing circuit (300) includes: a digital processing module (310), a scene recognition module (320), and multiple index processing modules (330) connected in sequence; wherein, different index processing modules process different radio frequency indexes, and the radio frequency indexes are indices for the transmitted signal; The digital processing module (310) is used to: receive a digital baseband signal from the radio frequency transceiver integrated circuit (110), determine the measured values ​​of multiple radio frequency indicators corresponding to the multiple indicator processing modules (330) based on the digital baseband signal, and output the measured values ​​of the radio frequency indicators corresponding to the indicator processing module (330) to any one of the indicator processing modules (330). The scene recognition module (320) is used to: determine the target radio frequency index according to the current working scene; and select the target radio frequency index processing module from the plurality of index processing modules to process the target radio frequency index according to the target radio frequency index. The target radio frequency index processing module is used to: obtain the measured value of the target radio frequency index from the digital processing module (310), compare the measured value with the preset value of the target radio frequency index, and output the deviation signal.

7. The radio frequency circuit according to claim 6, characterized in that, The plurality of indicator processing modules (330) include: a first indicator processing module (331), a second indicator processing module (332), a third indicator processing module (333), and a fourth indicator processing module (334). The first index processing module (331) is used to process the error vector amplitude index of the transmitted signal; the second index processing module (332) is used to process the maximum transmit power index of the transmitted signal; the third index processing module (333) is used to process the harmonic index and spurious index of the transmitted signal; and the fourth index processing module (334) is used to process the image rejection ratio index of the transmitted signal.

8. The radio frequency circuit according to claim 7, characterized in that, The scene recognition module (320) is specifically used for: In signaling mode, the measured values ​​of the received power and transmitted power of the reference signal are obtained, and the current working scenario is determined based on the measured values ​​of the received power and transmitted power of the reference signal. The current working scenario includes either a first type of working scenario or a second type of working scenario. The measured value of the received power of the reference signal corresponding to the first type of working scenario is greater than the measured value of the received power of the reference signal corresponding to the second type of working scenario, and the measured value of the transmitted power corresponding to the first type of working scenario is less than the measured value of the transmitted power corresponding to the second type of working scenario. When the current working scenario is the first type of working scenario, the first indicator processing module (331) is determined as the target radio frequency indicator processing module, and the error vector amplitude indicator is used as the target radio frequency indicator; when the current working scenario is the second type of working scenario, at least one of the second indicator processing module (332) and the third indicator processing module (333) is used as the target radio frequency indicator processing module, and at least one of the maximum transmit power indicator, harmonic indicator and spurious indicator is used as the target radio frequency indicator.

9. The radio frequency circuit according to claim 7, characterized in that, The baseband processing circuit (300) further includes a neighbor cell handover control module (340); the neighbor cell handover control module (340) is used to: in signaling mode, determine whether the handover conditions are met based on the total number of users in the same sector of the current serving cell, the signal strength of the neighbor cell and the number of users in the neighbor cell; when the handover conditions are met, perform cell handover, and use the second index processing module (332) as the target radio frequency index processing module, with the maximum transmit power index as the target radio frequency index.

10. The radio frequency circuit according to claim 7, characterized in that, The scene recognition module (320) is specifically used to: in calibration mode, determine the fourth index processing module (334) as the target radio frequency index processing module, and use the image rejection ratio index as the target radio frequency index; The baseband processing circuit (300) is also used to: in calibration mode, after the attenuation value of the adjustable attenuation network (200) is adjusted, store the adjusted attenuation value as the calibration result.

11. The radio frequency circuit according to claim 6, characterized in that, The baseband processing circuit (300) further includes a scoring module (350), which is connected to the digital processing module (310) and the scene recognition module (320) respectively. The scoring module (350) is used to: obtain the measured values ​​of multiple radio frequency indicators from the digital processing module (310); perform normalized weighted calculation on the measured values ​​of the multiple radio frequency indicators according to preset weight coefficients to generate a comprehensive score; The scene recognition module (320) is also used to: determine the current working scene and target radio frequency indicators based on the comprehensive score.

12. The radio frequency circuit according to claim 6, characterized in that, The baseband processing circuit (300) further includes a dynamic matching table storage module (360), which is connected to the closed-loop control circuit (400). The dynamic matching table storage module (360) is used to store target working parameters that have been adjusted by the closed-loop control circuit (400) to meet preset conditions under different working scenarios. The baseband processing circuit (300) is also used to: when the scene recognition module (320) recognizes a specific working scene stored in the dynamic matching table storage module again, call the target working parameters of the specific working scene that have been adjusted by the closed-loop control circuit (400) to meet the preset conditions from the dynamic matching table storage module, and use them as the initial working parameters of the radio frequency front end (120).

13. The radio frequency circuit according to claim 6, characterized in that, The radio frequency circuit also includes a scene selection module (500), and the plurality of index processing modules (330) are connected to the closed-loop control circuit (400) through the scene selection module (500); the scene selection module (500) is used to output the deviation signal to the closed-loop control circuit (400).

14. The radio frequency circuit according to any one of claims 1-5, characterized in that, The closed-loop control circuit (400) is a PID controller (410), which is used to determine the control signal based on the linear combination of the proportional component, integral component and derivative component of the deviation signal.

15. A communication terminal, characterized in that, include: The radio frequency circuit as described in any one of claims 1-14.

16. A control method for a communication terminal, characterized in that, include: Obtain the measured value of the target radio frequency indicator; the target radio frequency indicator is the radio frequency indicator selected from multiple radio frequency indicators that corresponds to the current working scenario; The measured value is compared with the preset value of the target radio frequency indicator to generate a deviation signal; the deviation signal is used to reflect the deviation between the measured value and the preset value of the target radio frequency indicator. A control signal is generated based on the deviation signal, and the operating parameters or hardware status of the RF front end are adjusted according to the control signal to reduce the deviation between the measured value and the preset value of the target RF index.

17. The method according to claim 16, characterized in that, The control signal includes a first control signal and a second control signal; adjusting the operating parameters or hardware status of the RF front end according to the control signal includes: In signaling mode, the impedance of the first adjustable matching network in the RF front end is adjusted according to the first control signal, and the impedance of the second adjustable matching network in the RF front end is adjusted according to the second control signal.

18. The method according to claim 16, characterized in that, The method further includes: In calibration mode, the image rejection ratio is used as the target RF metric. A third control signal is generated based on the deviation signal; the attenuation value of the adjustable attenuation network is adjusted based on the third control signal to reduce the deviation between the measured value and the preset value of the target radio frequency index. After the attenuation value of the adjustable attenuation network is adjusted, the adjusted attenuation value is stored as the calibration result.

19. The method according to claim 16, characterized in that, Before obtaining the measured values ​​of the target radio frequency indicators, the method further includes: In signaling mode, the measured values ​​of the received power and transmitted power of the reference signal are obtained, and the current working scenario is determined based on the measured values ​​of the received power and transmitted power of the reference signal. In the case that the current working scenario is the first type of working scenario, the error vector amplitude index is used as the target radio frequency index; In the case that the current working scenario is the second type of working scenario, at least one of the maximum transmit power index, harmonic index and spurious index shall be used as the target radio frequency index. The current working scenario includes either the first type of working scenario or the second type of working scenario. The measured value of the reference signal received power corresponding to the first type of working scenario is greater than the measured value of the reference signal received power corresponding to the second type of working scenario, and the measured value of the transmit power corresponding to the first type of working scenario is less than the measured value of the transmit power corresponding to the second type of working scenario.

20. The method according to claim 16, characterized in that, Before obtaining the measured values ​​of the target radio frequency indicators, the method further includes: In signaling mode, the handover conditions are determined based on the total number of users in the same sector of the current serving cell, the signal strength of neighboring cells, and the number of users in neighboring cells. When the handover conditions are met, cell handover is performed, and the maximum transmit power index is used as the target radio frequency index.

21. The method according to claim 16, characterized in that, Before obtaining the measured values ​​of the target radio frequency indicators, the method further includes: Obtain measured values ​​of multiple radio frequency (RF) indicators; perform normalized weighted calculation on the measured values ​​of the multiple RF indicators according to preset weight coefficients to generate a comprehensive score; determine the target RF indicator based on the comprehensive score.

22. The method according to claim 16, characterized in that, After adjusting the operating parameters or hardware status of the RF front end according to the control signal, the method further includes: Store target working parameters that have been adjusted to meet preset conditions under different working scenarios; When a stored specific working scenario is identified again, the target working parameters that have been adjusted to meet the preset conditions under the specific working scenario are called as the initial working parameters of the radio frequency front end.