Search

CN-122029745-A - Radio frequency circuit, power adjusting method and electronic equipment

CN122029745ACN 122029745 ACN122029745 ACN 122029745ACN-122029745-A

Abstract

The application discloses a radio frequency circuit, a power adjusting method and electronic equipment, relates to the field of communication, and is used for preventing the input power of a PA from exceeding the input power threshold of the PA when the power of a radio frequency feedback path of the electronic equipment is detected abnormally. The radio frequency circuit comprises a modem, an RFIC, a PA, an antenna port, a radio frequency feedback path and an ADC, wherein the modem is used for controlling the RFIC to traverse each output power gear to obtain the calibration value of the output power of the PA, which corresponds to each output power gear, determining the maximum output power gear of the RFIC according to the calibration value of the output power of the PA, detecting whether the power detection of the radio frequency feedback path is normal or not, and controlling the output power gear of the RFIC to be smaller than or equal to the maximum output power gear if the power detection of the radio frequency feedback path is abnormal.

Inventors

  • WANG XINLIN
  • LIU WENKUI
  • ZHANG HONGYUE

Assignees

  • 荣耀终端股份有限公司

Dates

Publication Date
20260512
Application Date
20250212
Priority Date
20240412

Claims (15)

  1. The radio frequency circuit is characterized by comprising a modem, a radio frequency integrated circuit RFIC, a power amplifier PA, an antenna port, a radio frequency feedback path and an analog-to-digital converter ADC, wherein the output end of the modem is connected with the input end of the RFIC, the output end of the RFIC is connected with the input end of the PA, the output end of the PA is connected with the antenna port, a wire between the PA and the antenna port is electromagnetically coupled with the radio frequency feedback path, the first end of the radio frequency feedback path is grounded, the second end of the radio frequency feedback path is connected with the input end of the ADC, the output end of the ADC is connected with the input end of the modem and used for carrying out power detection on the output power of the PA, and the modem is used for: Controlling the RFIC to traverse each output power gear, and acquiring calibration values of the output power of the PA, which correspond to each output power gear respectively, wherein the output power gears correspond to the output power of the RFIC one by one; Determining a maximum output power gear of the RFIC according to a calibration value of the output power of the PA, wherein the calibration value of the output power of the PA corresponding to the maximum output power gear is smaller than or equal to an output power threshold of the PA, and the output power threshold of the PA is equal to the input power threshold of the PA plus the gain of the PA; Detecting whether the power detection of the radio frequency feedback path is normal; And if the power detection of the radio frequency feedback path is abnormal, and the output power of the PA detected by the radio frequency feedback path is smaller than the calibration value of the output power of the PA corresponding to the current output power gear, controlling the output power gear of the RFIC to be smaller than or equal to the maximum output power gear.
  2. The radio frequency circuit of claim 1, wherein the detecting whether the power detection of the radio frequency feedback path is normal comprises: If the standard value of the output power of the PA corresponding to the current output power gear of the RFIC and the output power of the PA detected through the radio frequency feedback path are larger than a preset power difference, detecting that the power of the radio frequency feedback path is abnormal, otherwise, detecting that the power of the radio frequency feedback path is normal.
  3. The radio frequency circuit according to claim 1 or2, wherein the controlling the RFIC to traverse each output power stage and obtain a calibration value of the output power of the PA corresponding to each output power stage, respectively, comprises: and controlling the RFIC to traverse each output power gear under different environmental temperatures and different frequency points, and acquiring calibration values of the output power of the PA, which correspond to each output power gear respectively under different environmental temperatures and different frequency points.
  4. A radio frequency circuit according to claim 3, wherein said determining the maximum output power level of the RFIC from the calibrated value of the output power of the PA comprises: and determining the maximum output power gear of the RFIC under different environmental temperatures and different frequency points according to the calibration values of the output power of the PA under different environmental temperatures and different frequency points, wherein the calibration values correspond to the output power gears respectively.
  5. The rf circuit of claim 4, wherein controlling the output power stage of the RFIC to be less than or equal to the maximum output power stage if the power of the rf feedback path detects an anomaly and the output power of the PA detected by the rf feedback path is less than a calibrated value of the output power of the PA corresponding to the current output power stage comprises: And if the power detection of the radio frequency feedback path is abnormal, and the output power of the PA detected by the radio frequency feedback path is smaller than the calibration value of the output power of the PA corresponding to the current output power gear, controlling the output power gear of the RFIC to be smaller than or equal to the maximum output power gear under the current environment temperature and frequency point.
  6. The radio frequency circuit of any of claims 1-5, wherein the modem is further configured to: And updating the output power of the PA detected by the radio frequency feedback path according to the difference between the output power of the PA detected by the radio frequency feedback path and the calibration value of the output power of the PA corresponding to the current output power gear.
  7. A power conditioning method applied to the radio frequency circuit of any of claims 1-6, the method comprising: Controlling a radio frequency integrated circuit RFIC to traverse each output power gear, and acquiring calibration values of output power of a power amplifier PA corresponding to each output power gear, wherein the output power gears correspond to the output power of the RFIC one by one; Determining a maximum output power gear of the RFIC according to a calibration value of the output power of the PA, wherein the calibration value of the output power of the PA corresponding to the maximum output power gear is smaller than or equal to an output power threshold of the PA, and the output power threshold of the PA is equal to the input power threshold of the PA plus the gain of the PA; detecting whether the power detection of the radio frequency feedback path is normal; And if the power detection of the radio frequency feedback path is abnormal, and the output power of the PA detected by the radio frequency feedback path is smaller than the calibration value of the output power of the PA corresponding to the current output power gear, controlling the output power gear of the RFIC to be smaller than or equal to the maximum output power gear.
  8. The method of claim 7, wherein said detecting whether the power detection of the radio frequency feedback path is normal comprises: If the standard value of the output power of the PA corresponding to the current output power gear of the RFIC and the output power of the PA detected through the radio frequency feedback path are larger than a preset power difference, detecting that the power of the radio frequency feedback path is abnormal, otherwise, detecting that the power of the radio frequency feedback path is normal.
  9. The method according to claim 7 or 8, wherein the controlling the RFIC to traverse each output power stage and obtain a calibration value of the output power of the PA corresponding to each output power stage, respectively, comprises: and controlling the RFIC to traverse each output power gear under different environmental temperatures and different frequency points, and acquiring calibration values of the output power of the PA, which correspond to each output power gear respectively under different environmental temperatures and different frequency points.
  10. The method of claim 9, wherein the determining the maximum output power level of the RFIC from the calibrated value of the output power of the PA comprises: and determining the maximum output power gear of the RFIC under different environmental temperatures and different frequency points according to the calibration values of the output power of the PA under different environmental temperatures and different frequency points, wherein the calibration values correspond to the output power gears respectively.
  11. The method according to claim 10, wherein controlling the output power level of the RFIC to be less than or equal to the maximum output power level if the power of the rf feedback path detects an anomaly and the output power of the PA detected by the rf feedback path is less than a calibrated value of the output power of the PA corresponding to the current output power level comprises: And if the power detection of the radio frequency feedback path is abnormal, and the output power of the PA detected by the radio frequency feedback path is smaller than the calibration value of the output power of the PA corresponding to the current output power gear, controlling the output power gear of the RFIC to be smaller than or equal to the maximum output power gear under the current environment temperature and frequency point.
  12. The method according to any one of claims 7-11, further comprising: And updating the output power of the PA detected by the radio frequency feedback path according to the difference between the output power of the PA detected by the radio frequency feedback path and the calibration value of the output power of the PA corresponding to the current output power gear.
  13. An electronic device comprising an antenna and a radio frequency circuit as claimed in any one of claims 1-6, said radio frequency circuit being connected to said antenna.
  14. A computer readable storage medium storing instructions which, when executed on an electronic device, cause the electronic device to perform the method of any of claims 7-12.
  15. A computer program product comprising instructions which, when executed on an electronic device, cause the electronic device to perform the method of any of claims 7-12.

Description

Radio frequency circuit, power adjusting method and electronic equipment The present application claims priority from the chinese patent application filed on 12 months 4, 2024, filed on the national intellectual property office with application number 202410447505.6 entitled "a radio frequency circuit, power adjustment method, and electronic device", the entire contents of which are incorporated herein by reference. Technical Field The present application relates to the field of communications, and in particular, to a radio frequency circuit, a power adjustment method, and an electronic device. Background In an electronic device comprising a modem, a radio frequency integrated circuit (radio frequency integrated circuit, RFIC), a Power Amplifier (PA) and an antenna port connected in sequence, the electronic device further comprises a radio frequency feedback path electromagnetically coupled to a wire between the PA and the antenna port. The radio frequency feedback path performs real-time power detection on the output power of the PA and sends a feedback signal to the modem, and the modem adjusts the output power gear of the RFIC according to the feedback signal, thereby adjusting the output power of the RFIC and adjusting the output power of the PA to the antenna port. For example, if the feedback signal indicates that the output power of the PA is higher than the target output power, the modem decreases the output power of the RFIC, thereby decreasing the output power of the RFIC and decreasing the output power of the PA. If the feedback signal indicates that the output power of the PA is below the target output power, the modem increases the output power gear of the RFIC, thereby increasing the output power of the RFIC and increasing the output power of the PA. By this negative feedback mechanism, the output power of the PA can be stabilized at the target output power. However, when the power detection of the rf feedback path is abnormal, for example, the output power of the PA detected by the rf feedback path is lower than the actual output power, the feedback signal output by the rf feedback path to the modem is also lower, and the modem increases the output power gear of the RFIC according to the feedback signal, so as to increase the output power of the RFIC, so that the PA input power is likely to exceed the PA input power threshold. Disclosure of Invention The embodiment of the application provides a radio frequency circuit, a power adjusting method and electronic equipment, which are used for preventing the input power of a PA from exceeding the input power threshold of the PA when the power detection of a radio frequency feedback path of the electronic equipment is abnormal. In order to achieve the above purpose, the embodiment of the present application adopts the following technical scheme: According to a first aspect, a radio frequency circuit is provided, which comprises a modem, an RFIC, a PA, an antenna port, a radio frequency feedback path and an analog-to-digital converter (analog digital converter, ADC), wherein the output end of the modem is connected with the input end of the RFIC, the output end of the RFIC is connected with the input end of the PA, the output end of the PA is connected with the antenna port, a conducting wire between the PA and the antenna port is electromagnetically coupled with the radio frequency feedback path, the first end of the radio frequency feedback path is grounded, the second end of the radio frequency feedback path is connected with the input end of the ADC, the output end of the ADC is connected with the input end of the modem and used for carrying out power detection on the output power of the PA, the modem is used for controlling the RFIC to traverse all output power levels respectively corresponding to all the output power levels, the output power levels of the PA are in one-to-one correspondence with the output power of the RFIC, the maximum output power level of the RFIC is determined according to the calibration value of the output power of the PA, the maximum output power level of the RFIC is smaller than or equal to the output power threshold of the PA, the output power threshold of the PA corresponding to the maximum output power level of the PA is added, the power threshold of the maximum output power level of the PA is detected, the maximum output power level threshold of the power level of the RFIC is equal to the maximum power level of the PA is determined, and the power level is detected, and the power level is equal to the power level threshold, and the output power level is corresponding to the power level. According to the power adjustment method provided by the embodiment of the application, for a single electronic device, the maximum output power gear of the RFIC is adaptively determined by controlling the RFIC to traverse each output power gear and acquiring the calibration value of the output power of the PA corresponding to each ou