CN114679228A - Output power calibration method, device, terminal, storage medium and product - Google Patents

Output power calibration method, device, terminal, storage medium and product Download PDF

Info

Publication number
CN114679228A
CN114679228A CN202210369239.0A CN202210369239A CN114679228A CN 114679228 A CN114679228 A CN 114679228A CN 202210369239 A CN202210369239 A CN 202210369239A CN 114679228 A CN114679228 A CN 114679228A
Authority
CN
China
Prior art keywords
output power
agc value
terminal
agc
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210369239.0A
Other languages
Chinese (zh)
Inventor
冯红旗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210369239.0A priority Critical patent/CN114679228A/en
Publication of CN114679228A publication Critical patent/CN114679228A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/11Monitoring; Testing of transmitters for calibration
    • H04B17/13Monitoring; Testing of transmitters for calibration of power amplifiers, e.g. gain or non-linearity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/21Monitoring; Testing of receivers for calibration; for correcting measurements

Abstract

The application discloses a calibration method, a calibration device, a calibration terminal, a calibration storage medium and a calibration product of output power, and belongs to the technical field of wireless communication. The method comprises the following steps: the initial AGC value is used for calibrating the output power, and the first AGC value is used for driving a radio frequency transceiver chip RFIC of the terminal to generate the output power; determining a second AGC value based on the first AGC value and the maximum output power, wherein the second AGC value is an AGC value meeting the maximum power requirement of the terminal; calibrating an output power of the RFIC based on the second AGC value. According to the method and the device, the second AGC value can meet the maximum power requirement of the terminal, so that the accuracy of calibrating the output power of the RFIC based on the second AGC value is higher, and the accuracy of calibrating the output power is also improved.

Description

Output power calibration method, device, terminal, storage medium and product
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a method, an apparatus, a terminal, a storage medium, and a product for calibrating output power.
Background
In order to meet the requirements of users, Radio Frequency Integrated Circuits (RFICs) of the terminal may transmit data to the outside at different output powers; while RFIC has an Automatic Gain Control (AGC) function, different AGC values will cause RFIC to produce different output powers. Therefore, the output power of the terminal needs to be calibrated to learn the corresponding relationship between the AGC value and the output power, so as to subsequently control the RFIC to generate the corresponding output power by setting the AGC value, and further transmit data to the outside based on the output power.
In the related art, the terminal is written with an initial AGC value before shipping, and the initial AGC value is obtained by testing the terminal. When the terminal calibrates the output power, the terminal calibrates the output power of the RFIC directly based on the initial AGC value.
Since the initial AGC value is obtained by the test terminal, but the loss of the RFIC of each terminal is different, the initial AGC value obtained by the test terminal does not meet the power requirement of the current terminal, which results in low accuracy of calibrating the output power of the RFIC based on the initial AGC value.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal, a storage medium and a product for calibrating output power, which can improve the accuracy of output power calibration. The technical scheme is as follows:
in one aspect, a method for calibrating output power is provided, where the method includes:
acquiring the maximum output power and a first Automatic Gain Control (AGC) value of a terminal, wherein the first AGC value is an initial AGC value during output power calibration and is used for driving a radio frequency transceiver chip (RFIC) of the terminal to generate output power;
determining a second AGC value based on the first AGC value and the maximum output power, wherein the second AGC value is an AGC value meeting the maximum power requirement of the terminal;
calibrating an output power of the RFIC based on the second AGC value.
In another aspect, an apparatus for calibrating output power is provided, the apparatus comprising:
the terminal comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring the maximum output power and a first Automatic Gain Control (AGC) value of the terminal, the first AGC value is an initial AGC value during output power calibration, and the first AGC value is used for driving a radio frequency transceiver chip (RFIC) of the terminal to generate output power;
a first determining module, configured to determine a second AGC value based on the first AGC value and the maximum output power, where the second AGC value is an AGC value that meets a maximum power requirement of the terminal;
a second determining module to calibrate an output power of the RFIC based on the second AGC value.
In another aspect, a terminal is provided, which includes a processor and a memory, where at least one program code is stored in the memory, and the at least one program code is loaded into and executed by the processor to implement the calibration method for output power described above.
In another aspect, a computer readable storage medium is provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement the calibration method for output power described above.
In another aspect, a computer program product is provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement the calibration method for output power described above.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
in the embodiment of the application, after the initial AGC value for output power calibration is obtained, that is, the first AGC value is obtained, the output power is not directly calibrated based on the initial AGC value, but a second AGC value meeting the maximum power requirement of the terminal is determined based on the maximum output power of the terminal and the first AGC value, and since the second AGC value can meet the maximum power requirement of the terminal, the accuracy of calibrating the output power of the RFIC based on the second AGC value is higher, that is, the accuracy of output power calibration is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
Fig. 1 is a schematic diagram of an implementation environment of a calibration method for output power according to an embodiment of the present application;
fig. 2 is a flowchart of a calibration method for output power according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a calibration method for output power according to an embodiment of the present application;
fig. 4 is a flowchart of a calibration method for output power according to an embodiment of the present application;
fig. 5 is a flowchart of a calibration method for output power according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an apparatus for calibrating output power according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions and advantages of the present application more clear, the following describes the embodiments of the present application in further detail.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
It should be noted that information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data for analysis, stored data, presented data, etc.), and signals referred to in this application are authorized by the user or sufficiently authorized by various parties, and the collection, use, and processing of the relevant data is required to comply with relevant laws and regulations and standards in relevant countries and regions. For example, the maximum output power of the terminal and the first AGC value, etc. referred to in this application are obtained with sufficient authorization.
Fig. 1 is a schematic diagram of an implementation environment of a calibration method for output power according to an embodiment of the present application, and referring to fig. 1, the implementation environment includes: the terminal 10 and the network device 20, the terminal 10 is in a cell managed by the network device 20, and bidirectional communication can be performed between the terminal 10 and the network device 20. When the terminal 10 transmits data to the network device 20, it is necessary to determine the output power and transmit data to the network device 20 based on the output power.
The terminal 10 includes an RFIC and a Power Amplifier (PA), where the RFIC is connected in series with the PA, the RFIC is used to generate output Power, and the PA is used to amplify the output Power generated by the RFIC; also, in order to improve the stability of the output power generated by the RFIC, the RFIC has an AGC function, and different AGC values cause the RFIC to generate different output powers. Therefore, the terminal 10 needs to calibrate the output power of the RFIC to learn the corresponding relationship between the AGC value and the output power, so as to subsequently control the RFIC to generate the corresponding output power by setting the AGC value, and further transmit data to the outside based on the output power.
The terminal 10 may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems having wireless communication capabilities, as well as various forms of User Equipment (UE), Mobile Stations (MS), and the like. For convenience of description, in the embodiment of the present application, the above-mentioned devices are collectively referred to as a terminal 10. In the embodiment of the present application, "UE" is used in some places to represent "terminal 10".
The network device 20 is a device for providing a wireless communication service to the terminal 10. The network device 20 may include various forms of macro base stations, micro base stations, relay stations, access points, and the like. In systems using different Radio access technologies, names of devices having a base station function may be different, for example, in a 5G Radio over the air (NR) system, the system is called a 5G base station (gnnodeb or gNB). The name "base station" may change as communication technology evolves. For convenience of description, in the embodiment of the present application, the above-mentioned devices providing the terminal 10 with the wireless communication service are collectively referred to as the network device 20.
The technical solution described in the embodiment of the present application may be applicable to a Long Term Evolution (LTE) system, a 5G NR system, and a subsequent Evolution system of the 5G NR system or other communication systems, which is not limited in the embodiment of the present application.
Fig. 2 shows a flowchart of a calibration method for output power according to an exemplary embodiment of the present application. The present embodiment is performed by a terminal. The method comprises the following steps:
step 201: the method comprises the steps of obtaining the maximum output power and a first automatic gain control AGC value of a terminal, wherein the first AGC value is an initial AGC value during output power calibration, and the first AGC value is used for driving a radio frequency transceiver chip RFIC of the terminal to generate output power.
Step 202: and determining a second AGC value based on the first AGC value and the maximum output power, wherein the second AGC value is the AGC value meeting the maximum power requirement of the terminal.
Step 203: based on the second AGC value, the output power of the RFIC is calibrated.
In one possible implementation, determining the second AGC value based on the first AGC value and the maximum output power includes:
based on the first AGC value and the maximum output power, checking the first AGC value, and checking whether the first AGC value meets the maximum power requirement of the terminal or not;
determining the first AGC value as a second AGC value under the condition that the first AGC value is verified;
and under the condition that the first AGC is not checked, increasing the first AGC value to obtain a second AGC value.
In another possible implementation, the checking the first AGC value based on the first AGC value and the maximum output power includes:
determining a first output power based on the first AGC value, the first output power being an output power generated by the RFIC when the RFIC is driven based on the first AGC value;
when the first output power is larger than or equal to the second output power, the first AGC value is determined to pass verification, and the second output power is the sum of the maximum output power and a first threshold value;
and determining that the first AGC value is not checked in the case that the first output power is smaller than the second output power.
In another possible implementation, increasing the first AGC value to obtain the second AGC value includes:
increasing the first AGC value by a second threshold value to obtain a fourth AGC value;
based on the fourth AGC value and the maximum output power, checking the fourth AGC value, and checking whether the fourth AGC value meets the maximum power requirement of the terminal or not;
determining the fourth AGC value as a second AGC value under the condition that the fourth AGC value is verified;
and in the case that the fourth AGC value is not verified, increasing the fourth AGC value by a second threshold value until the second AGC value which is verified to be passed is obtained.
In another possible implementation manner, if the first AGC value is determined by the terminal, the obtaining process of the first AGC value includes:
acquiring a fifth AGC value and a third output power, wherein the fifth AGC value is an AGC value predicted based on the maximum output power, and the third output power is the output power generated by the RFIC when the RFIC is driven based on the fifth AGC value;
determining a fifth AGC value as the first AGC value when the third output power is greater than or equal to a fourth output power, wherein the fourth output power is obtained by increasing the maximum output power by a unit power value;
and under the condition that the third output power is smaller than the fourth output power, increasing the fifth AGC value to obtain the first AGC value.
In another possible implementation manner, if the first AGC value is determined by other terminals, the obtaining process of the first AGC value includes:
determining the type of the terminal;
sending an acquisition request to network equipment, wherein the acquisition request carries a type, the acquisition request is used for requesting the network equipment to acquire a first AGC value matched with the type, and the first AGC value stored in the network equipment is sent by other terminals;
and receiving a first AGC value sent by the network equipment.
In the embodiment of the application, after the initial AGC value for output power calibration is obtained, that is, the first AGC value is obtained, the output power is not directly calibrated based on the initial AGC value, but a second AGC value meeting the maximum power requirement of the terminal is determined based on the maximum output power of the terminal and the first AGC value, and since the second AGC value can meet the maximum power requirement of the terminal, the accuracy of calibrating the output power of the RFIC based on the second AGC value is higher, that is, the accuracy of output power calibration is improved.
Fig. 3 shows a flowchart of a calibration method for output power according to an exemplary embodiment of the present application. In the embodiment of the present application, before calibrating the output power, an initial AGC value, that is, a first AGC value, during output power calibration needs to be obtained through a test first, and the first AGC value may be obtained through a test of a current terminal or may be obtained through a test of other terminals. In this embodiment, a description is given by taking the first AGC value as an example obtained by the current terminal test, that is, how the terminal obtains the first AGC value is mainly described in this embodiment. The method comprises the following steps:
step 301: the terminal acquires the maximum output power.
The terminal supports output power of multiple frequency bands, where the maximum output power is a maximum output power corresponding to the multiple frequency bands, or the maximum output power is a maximum output power corresponding to a target frequency band in the multiple frequency bands. In a possible implementation, the maximum output power is stored in the terminal when the maximum output power is the maximum output power corresponding to the multiple frequency bands; correspondingly, the step of acquiring the maximum output power by the terminal includes: the terminal directly acquires the stored maximum output power.
In another possible implementation manner, the maximum output power is not stored in the terminal, that is, the terminal does not know the maximum output power of itself, and at this time, the terminal needs to obtain the maximum output power by means of the network device; correspondingly, the step of acquiring the maximum output power by the terminal includes: the terminal sends a first acquisition request to the network equipment, wherein the first acquisition request carries the identifier of the terminal and is used for requesting the network equipment to return the maximum output power of the terminal; and the network equipment receives the first acquisition request and sends the maximum output power to the terminal.
It should be noted that different types of terminals correspond to different maximum output powers; correspondingly, the first obtaining request also carries the type of the terminal, and the network device obtains the maximum output power corresponding to the type and sends the maximum output power corresponding to the type to the terminal.
The step of acquiring the maximum output power by the terminal under the condition that the maximum output power is the maximum output power corresponding to a target frequency band in the multiple frequency bands includes: and the terminal determines a target frequency band and acquires the maximum output power corresponding to the target frequency band. The target frequency band is a frequency band to be subjected to output power calibration, and the maximum output power corresponding to the target frequency band is the maximum value of the target frequency band. For example, if the target frequency band is 10-23dBm, the maximum output power Pmax corresponding to the target frequency band is 23 dBm. For example, referring to fig. 4, the maximum output power Pmax of the target frequency band of the terminal is set to 23 dBm.
In this embodiment of the application, the terminal supports the output powers of multiple frequency bands, where the maximum output power is the maximum output power corresponding to the target frequency band in the multiple frequency bands, the terminal may obtain the first AGC value corresponding to each frequency band according to steps 301-305, and then calibrate the output power of the RFIC based on the first AGC value corresponding to each frequency band, thereby implementing the segmented accurate calibration.
Step 302: the terminal acquires the fifth AGC value and the third output power.
The fifth AGC value is an AGC value predicted based on the maximum output power, and the third output power is an output power generated by the RFIC when the RFIC is driven based on the fifth AGC value. In the case where the PA is included in the terminal, the PA is connected in series after the RFIC, and the third output power is a power in which the output power generated by the RFIC is amplified by the PA when the RFIC is driven based on the fifth AGC value.
Different maximum output power corresponds to different fifth AGC values, but the loss of RFICs of different terminals is different, so that the maximum output power and the fifth AGC value do not have a fixed corresponding relation, but the maximum output power is larger, and the fifth AGC value is larger; accordingly, the operator can set the fifth AGC value based on the maximum output power empirically. Correspondingly, the step of acquiring the fifth AGC value by the terminal includes: the terminal displays a configuration interface, the configuration interface displays an input box corresponding to the maximum output power and the fifth AGC value, and an operator can input the fifth AGC value in the input box; the terminal acquires the fifth AGC value input in the input box. For example, if the fifth AGC value is 50, the fifth AGC value n of RFIC is set to 50 according to the maximum output power, with reference to fig. 4.
Step 303: the terminal determines whether the third output power is greater than or equal to a fourth output power, which is an output power obtained by increasing the maximum output power by a unit power value.
If the unit power value is 1dB, the fourth output power P is the third output power +1dB, that is, if n is 50, the actual output power P is calibrated to be greater than or equal to Pmax, and the margin of 1dB is met, that is, if n is 50, the actual output power P is calibrated to be greater than or equal to Pmax + 1; if P is larger than or equal to Pmax +1, executing step 304; in case P < Pmax +1, step 305 is executed.
It should be noted that, in the related art, the margin is often set to 3dB, that is, the condition is determined whether the output power P satisfies P ≧ Pmax + 3; due to the fluctuation of the output power caused by the difference of the terminals, if the judged condition is that whether the output power P meets P ≧ Pmax +3, the actual P may be higher, and there is a risk of burning the PA or RFIC of the terminal in the calibration process. In the embodiment of the application, because only 1dB of margin is set, compared with the scheme in the related art, the power is reduced by 2dB, so that the risk of burning out the PA or the RFIC due to overhigh power is greatly reduced.
Step 304: in case that the third output power is greater than or equal to the fourth output power, the terminal determines the fifth AGC value as the first AGC value.
The first AGC value is an initial AGC value at the time of output power calibration. When the third output power is greater than or equal to the fourth output power, the RFIC generates the third output power that can satisfy the maximum output power requirement of the terminal, that is, the fifth AGC value, when the RFIC is driven based on the fifth AGC value
The fifth AGC value is determined as the first AGC value, i.e. the fifth AGC value is subsequently used to calibrate the output power of the RFIC.
Step 305: and under the condition that the third output power is smaller than the fourth output power, the terminal increases the fifth AGC value to obtain the first AGC value.
When the third output power is lower than the fourth output power, it is described that when the RFIC is driven based on the fifth AGC value, the third output power generated by the RFIC cannot meet the maximum output power requirement of the terminal, that is, the fifth AGC value is set too small, and at this time, the fifth AGC value needs to be increased to obtain the first AGC value.
In a possible implementation manner, the terminal increases the fifth AGC value by a third threshold to obtain a sixth AGC value, determines a fifth output power based on the sixth AGC value, where the fifth output power is an output power generated by the RFIC when the RFIC is driven based on the sixth AGC value, and determines whether the fifth output power is greater than or equal to the fourth output power; determining the sixth AGC value as the first AGC value in case the fifth output power is greater than or equal to the fourth output power; and under the condition that the fifth output power is less than the fourth output power, increasing the sixth AGC value by a third threshold value until a first AGC value of which the corresponding output power is greater than or equal to the fourth output power is obtained.
In a possible implementation manner, the third threshold is set in advance, and the third threshold may be set and changed as needed, and in this embodiment, the third threshold is not specifically limited. For example, the third threshold is 1, i.e., 1 is added to the fifth AGC value to obtain the first AGC value.
In another possible implementation manner, the third threshold may be determined according to a difference between the fourth output power and the third output power; correspondingly, the step of the terminal determining the third threshold includes: the terminal determines a difference between the fourth output power and the third output power, and determines a third threshold value matching the difference. For example, each difference corresponds to a third threshold or a range of differences corresponds to a third threshold; correspondingly, the step of the terminal determining the third threshold matched with the difference value includes: the terminal determines a third threshold corresponding to the difference value from the corresponding relation between the difference value and the third threshold based on the difference value; or the terminal determines a difference range in which the difference value is located, and determines a third threshold corresponding to the difference range from the corresponding relationship between the difference range and the third threshold based on the difference range.
It should be noted that, the above steps 301-305 are a process of obtaining the first AGC value by the terminal test, and each terminal does not need to perform a test once, but only needs to perform a test process once by one terminal, after obtaining the first AGC value, the first AGC value is shared with other terminals, and then the other terminals calibrate their own output power of the RFIC based on the first AGC value. The terminal may send the first AGC value to the network device, and the first AGC value is written into another terminal by the network device, or the network device stores the first AGC value, and obtains the first AGC value from the network device when the other terminal calibrates the output power of the RFIC.
In the embodiment of the present application, when determining the first AGC value, it is determined whether the third output power is greater than or equal to the fourth output power, and the fourth output power is an output power obtained by increasing the maximum output power by a unit power value, and since the unit power value is 1dB, only setting a margin of 1dB is achieved, and compared with 3dB set by a scheme in the related art, the margin is reduced by 2dB, so that a risk that the PA is burned or the RFIC is burned due to over-high power is greatly reduced.
Fig. 5 shows a flowchart of a calibration method for output power according to an exemplary embodiment of the present application. In the embodiment of the present application, an example in which the terminal calibrates the output power of the RFIC based on the first AGC value is described. The method comprises the following steps:
step 501: the terminal acquires the maximum output power.
The step of acquiring the maximum output power by the terminal is the same as step 301, and is not described herein again.
Step 502: the terminal acquires a first AGC value, wherein the first AGC value is an initial AGC value during output power verification.
The first AGC value is determined by the current terminal or other terminals during the testing phase. If the first AGC value is determined by the current terminal in the test stage, the first AGC value is stored in the terminal after being determined; the stored first AGC value is directly obtained in this step. If the first AGC value is determined by other terminals in the test stage, the other terminals send the first AGC value to the network equipment; accordingly, the current terminal obtains the first AGC value from the network device.
In one possible implementation, different terminal types correspond to different first AGC values; correspondingly, the step of acquiring the first AGC value by the terminal includes: the terminal determines the type of the terminal and acquires a first AGC value matched with the type. After testing the first AGC value corresponding to each type, the multiple types of other terminals send the types of the other terminals and the corresponding first AGC values to the network device, that is, the network device stores the corresponding relationship between the types and the first AGC values. Correspondingly, the step that the terminal determines the type of the terminal and obtains the first AGC value matched with the type comprises the following steps: determining the type of the terminal, and sending a second acquisition request to the network equipment, wherein the second acquisition request carries the type of the terminal, and the second acquisition request is used for requesting to acquire a first AGC value matched with the type; the network equipment receives the second acquisition request, acquires a first AGC value corresponding to the type from the corresponding relation between the type and the first AGC value based on the type, and sends the first AGC value to the terminal, and the terminal receives the first AGC value sent by the network equipment.
In the embodiment of the application, different terminal types correspond to different first AGC values, so that the accuracy of the obtained first AGC value can be improved, the risk that PA or RFIC is burnt due to the fact that the actual output power is too high due to the fact that the first AGC value is too large is reduced, and the problem that the calibration efficiency is low due to the fact that the first AGC value is too small and the second AGC value meeting the conditions can be found by adjusting the first AGC value for multiple times is solved.
In another possible implementation, different maximum output powers correspond to different first AGC values; correspondingly, the step of acquiring the first AGC value by the terminal includes: and the terminal acquires a first AGC value corresponding to the maximum output power. The network equipment stores the corresponding relation between the maximum output power and a first AGC value; correspondingly, the step of acquiring the first AGC value corresponding to the maximum output power by the terminal includes: the terminal sends a third acquisition request to the network equipment, wherein the third acquisition request carries the maximum output power and is used for requesting the network equipment to acquire a first AGC value corresponding to the maximum output power; the network device receives the third obtaining request, obtains the first AGC value corresponding to the maximum output power from the corresponding relation between the maximum output power and the first AGC value, and sends the first AGC value to the terminal, and the terminal receives the first AGC value sent by the network device.
In the embodiment of the application, different maximum output powers correspond to different first AGC values, so that the corresponding first AGC value is found based on the maximum output power, and the accuracy of the determined first AGC value is improved.
Step 503: the terminal checks the first AGC value based on the first AGC value and the maximum output power, and the checking is used for checking whether the first AGC value meets the maximum power requirement of the terminal.
This step can be realized by the following steps (1) to (3), including:
(1) the terminal determines a first output power based on the first AGC value.
The first output power is an output power generated by the RFIC of the terminal when the RFIC is driven based on the first AGC value. When the PA is included in the terminal and is connected in series with the RFIC, the first output power is a power obtained by amplifying the output power generated by the RFIC by the PA when the RFIC is driven based on the first AGC value.
(2) And the terminal determines that the first AGC value is checked to be passed under the condition that the first output power is greater than or equal to the second output power.
The second output power is the sum of the maximum output power and a first threshold. When the first output power is greater than or equal to the second output power, it is explained that the RFIC of the terminal is driven based on the first AGC value, the output power generated by the RFIC can satisfy the maximum power requirement of the terminal.
The first threshold value can be set and changed as required; in the embodiment of the present application, the first threshold is not particularly limited; for example, the first threshold value is 0 or 1, etc.
(3) And in the case that the first output power is smaller than the second output power, the terminal determines that the first AGC value is not checked.
When the first output power is lower than the second output power, it is described that when the RFIC of the terminal is driven based on the first AGC value, the output power generated by the RFIC cannot meet the maximum power requirement of the terminal, that is, the maximum output power of the terminal is insufficient, and the RFIC does not meet the normative requirement.
It should be noted that, in the case that the first AGC value is verified, step 504 is executed; in the event that the first AGC value is not validated, step 505 is performed.
Step 504: in case that the first AGC value is verified, the terminal determines the first AGC value as the second AGC value.
When the first AGC value is verified, it is explained that when the RFIC of the terminal is driven based on the first AGC value, the output power generated by the RFIC can satisfy the maximum power requirement of the terminal, and therefore, the first AGC value can be used as the initial AGC value in power calibration.
Step 505: and under the condition that the first AGC value is not checked, the terminal increases the first AGC value to obtain a second AGC value.
When the first output power is lower than the second output power, it is described that when the RFIC of the terminal is driven based on the first AGC value, the output power generated by the RFIC cannot meet the maximum power requirement of the terminal, that is, the maximum output power of the terminal is insufficient, which does not meet the regulatory requirement. Although there is no fixed correspondence between the AGC value and the output power, it is shown that the larger the AGC value is, the larger the output power is; therefore, in order to meet the maximum power requirement of the terminal, the first AGC value needs to be increased to find an AGC value meeting the maximum power requirement of the terminal.
In a possible implementation manner, the step of increasing the first AGC value by the terminal and obtaining the second AGC value may be implemented by the following steps (1) to (4), including:
(1) and the terminal increases the first AGC value by a second threshold value to obtain a fourth AGC value.
In a possible implementation manner, the second threshold is set in advance, and the second threshold may be set and changed as needed, and in this embodiment, the second threshold is not specifically limited. For example, the third threshold is 1, i.e., 1 is added to the first AGC value to obtain the fourth AGC value.
In another possible implementation manner, the second threshold may be determined according to a difference between the second output power and the first output power; correspondingly, the step of the terminal determining the second threshold includes: the terminal determines a difference between the second output power and the first output power, and determines a second threshold value matching the difference. For example, each difference corresponds to a second threshold or a range of differences corresponds to a second threshold; correspondingly, the step of the terminal determining the second threshold matched with the difference value comprises the following steps: the terminal determines a second threshold corresponding to the difference value from the corresponding relation between the difference value and the second threshold based on the difference value; or the terminal determines a difference range in which the difference value is located, and determines a second threshold corresponding to the difference range from the corresponding relationship between the difference range and the second threshold based on the difference range.
(2) And the terminal checks the fourth AGC value based on the fourth AGC value and the maximum output power, wherein the check is used for checking whether the fourth AGC value meets the maximum power requirement of the terminal.
The process of the terminal verifying the fourth AGC value based on the fourth AGC value and the maximum output power is similar to the process of the terminal verifying the first AGC value based on the first AGC value and the maximum output power, and is not repeated here.
(3) In case that the verification passes for the fourth AGC value, the terminal determines the fourth AGC value as the second AGC value.
(4) And in the case that the fourth AGC value is not verified, the terminal increases the fourth AGC value by a second threshold value until a second AGC value which is verified to be passed is obtained.
Step 506: the terminal calibrates an output power of the terminal based on the second AGC value.
This step can be realized by the following steps (1) to (3), including:
(1) the terminal determines a plurality of third AGC values based on the second AGC value.
And the terminal performs multiple degressive actions on the second AGC value based on the preset adjustment amplitude to obtain multiple third AGC values. For example, if the preset adjustment amplitude is 1, the terminal subtracts 1 from the second AGC value to obtain a third AGC value, subtracts 2 from the second AGC value to obtain a third AGC value again, subtracts 3 from the second AGC value to obtain a third AGC value again, and so on, to obtain a plurality of third AGC values. For example, the second AGC value is 50, and the plurality of third AGC values are 49, 48, 47, … … 1, respectively.
(2) The terminal determines a plurality of sixth output powers based on the plurality of third AGC values.
Each sixth output power corresponds to a third AGC value, and the sixth output power is an output power generated by the RFIC when the RFIC is driven based on the third AGC value. In a case where the terminal includes a PA connected in series after the RFIC, the sixth output power is a power at which the output power generated by the RFIC is amplified by the PA when the RFIC is driven based on the third AGC value.
The step of determining the plurality of sixth output powers by the terminal based on the plurality of third AGC values is similar to the step of determining the first output power by the terminal based on the first AGC value, and is not repeated herein.
(3) And the terminal stores the corresponding relation between the plurality of third AGC values and the plurality of sixth output powers.
And the terminal stores the corresponding relation between the plurality of third AGC values and the plurality of sixth output powers so as to transmit data outwards based on the corresponding relation. For example, when the terminal needs to transmit data to the outside based on a certain sixth output power, the terminal acquires a third AGC value corresponding to the sixth output power from a corresponding relationship between the third AGC value and the sixth output power based on the sixth output power, drives the RFIC to generate the sixth output power based on the third AGC value, and transmits data to the outside based on the sixth output power.
The terminal determines a seventh output power based on the second AGC value, and the seventh output power is an output power generated by the RFIC when the RFIC is driven based on the second AGC value. In a case where the terminal includes a PA connected in series after the RFIC, the seventh output power is a power at which the output power generated by the RFIC is amplified by the PA when the RFIC is driven based on the second AGC value. The terminal also stores the second AGC value and the seventh output power in the correspondence.
For example, with continued reference to fig. 4, the terminal sequentially decreases from the second AGC value by 1 to 0, records the corresponding output power, writes the obtained AGC value and its corresponding output power into the terminal, and subsequently uses the first AGC value to calibrate other terminals of the same model.
It should be noted that, after the terminal determines the second AGC value, the terminal may also share the second AGC value with other terminals, and then the other terminals calibrate their RFICs output power based on the second AGC value. The terminal may send the second AGC value to the network device, and the second AGC value is written into another terminal by the network device, or the network device stores the second AGC value, and obtains the second AGC value from the network device when the other terminal calibrates the output power of the RFIC. The other terminals may be terminals of the same type as the current terminal, and the same type refers to terminals of the same model.
In the embodiment of the application, after the initial AGC value for output power calibration is obtained, that is, the first AGC value is obtained, the output power is not directly calibrated based on the initial AGC value, but a second AGC value meeting the maximum power requirement of the terminal is determined based on the maximum output power of the terminal and the first AGC value, and since the second AGC value can meet the maximum power requirement of the terminal, the accuracy of calibrating the output power of the RFIC based on the second AGC value is higher, that is, the accuracy of output power calibration is improved.
Fig. 6 is a calibration apparatus for output power according to an embodiment of the present application, and referring to fig. 6, the apparatus includes:
an obtaining module 601, configured to obtain a maximum output power and a first automatic gain control AGC value of a terminal, where the first AGC value is an initial AGC value used for performing output power calibration, and the first AGC value is used for driving a radio frequency transceiver chip RFIC of the terminal to generate output power;
a first determining module 602, configured to determine a second AGC value based on the first AGC value and the maximum output power, where the second AGC value is an AGC value that meets a maximum power requirement of the terminal;
a second determining module 603 for calibrating the output power of the RFIC based on the second AGC value.
In one possible implementation, the first determining module 602 includes:
the checking unit is used for checking the first AGC value based on the first AGC value and the maximum output power, and checking whether the first AGC value meets the maximum power requirement of the terminal or not;
a first determining unit configured to determine the first AGC value as a second AGC value in a case where the first AGC value is verified;
and the first increasing unit is used for increasing the first AGC value under the condition that the first AGC is not checked to obtain a second AGC value.
In another possible implementation manner, the checking unit is configured to determine a first output power based on the first AGC value, where the first output power is an output power generated by the RFIC when the RFIC is driven based on the first AGC value; when the first output power is larger than or equal to the second output power, the first AGC value is determined to pass verification, and the second output power is the sum of the maximum output power and a first threshold value; and determining that the first AGC value is not checked in the case that the first output power is smaller than the second output power.
In another possible implementation manner, the first increasing unit is configured to increase the first AGC value by a second threshold to obtain a fourth AGC value; based on the fourth AGC value and the maximum output power, checking the fourth AGC value, and checking whether the fourth AGC value meets the maximum power requirement of the terminal or not; determining the fourth AGC value as the second AGC value under the condition that the fourth AGC value is verified; and in the case that the fourth AGC value is not verified, increasing the fourth AGC value by a second threshold value until the second AGC value which is verified to be passed is obtained.
In another possible implementation manner, if the first AGC value is determined by the terminal, the obtaining module 601 includes:
a first obtaining unit for obtaining a fifth AGC value and a third output power, the fifth AGC value being an AGC value predicted based on a maximum output power, the third output power being an output power generated by the RFIC when the RFIC is driven based on the fifth AGC value;
a second determining unit configured to determine a fifth AGC value as the first AGC value when the third output power is greater than or equal to a fourth output power, the fourth output power being an output power obtained by increasing the maximum output power by a unit power value;
and the second increasing unit is used for increasing the fifth AGC value under the condition that the third output power is smaller than the fourth output power to obtain the first AGC value.
In another possible implementation manner, if the first AGC value is determined by other terminals, the obtaining module 601 includes:
a third determining unit, configured to determine a type of the terminal;
the device comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending an acquisition request to network equipment, the acquisition request carries a type, the acquisition request is used for requesting the network equipment to acquire a first AGC value matched with the type, and the first AGC value stored in the network equipment is sent by other terminals;
and the receiving unit is used for receiving the first AGC value sent by the network equipment.
In the embodiment of the application, after the initial AGC value for output power calibration is obtained, that is, the first AGC value is obtained, the output power is not directly calibrated based on the initial AGC value, but a second AGC value meeting the maximum power requirement of the terminal is determined based on the maximum output power of the terminal and the first AGC value, and since the second AGC value can meet the maximum power requirement of the terminal, the accuracy of calibrating the output power of the RFIC based on the second AGC value is higher, that is, the accuracy of output power calibration is improved.
Referring to fig. 7, a block diagram of a terminal 700 according to an exemplary embodiment of the present application is shown. The terminal 700 may be a smart phone, a tablet computer, or the like having a function of controlling other devices. The terminal 700 in the present application may include one or more of the following components: a processor 710, a memory 720.
Processor 710 may include one or more processing cores. The processor 710 connects various parts within the overall terminal 700 using various interfaces and lines, performs various functions of the terminal 700 and processes data by operating or executing a program code, a program, a code set, or a program code set stored in the memory 720 and calling data stored in the memory 720. Alternatively, the processor 710 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 710 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Neural-Network Processing Unit (NPU), a modem, and the like. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the NPU is used for realizing an Artificial Intelligence (AI) function; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 710, but may be implemented by a single chip.
The Memory 720 may include a Random Access Memory (RAM) or a Read-Only Memory (ROM). Optionally, the memory 720 includes a non-transitory computer-readable medium. The memory 720 may be used to store program code, programs, code sets, or program code sets. The memory 720 may include a stored program area and a stored data area, wherein the stored program area may store program codes for implementing an operating system, program codes for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), program codes for implementing the calibration method embodiments of the respective output powers described above, and the like; the storage data area may store data (such as audio data, a phonebook) created according to the use of the terminal 700, and the like.
In addition, those skilled in the art will appreciate that the configuration of terminal 700 depicted in the above-described figures is not meant to be limiting with respect to terminal 700, and that terminal 700 may include more or less components than those shown, or some components may be combined, or a different arrangement of components. For example, the terminal 700 further includes a microphone, a speaker, a radio frequency circuit, an input unit, a sensor, an audio circuit, a Wireless Fidelity (Wi-Fi) module, a power supply, a bluetooth module, and other components, which are not described herein again.
In an embodiment of the present application, a computer-readable medium is further provided, where at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement the calibration method for output power in the foregoing embodiments.
In an embodiment of the present application, a computer program product is further provided, where the computer program product stores at least one program code, and the at least one program code is loaded and executed by a processor to implement the calibration method for output power in the foregoing embodiment.
In some embodiments, the computer program according to the embodiments of the present application may be deployed to be executed on one computer device or on multiple computer devices located at one site, or may be executed on multiple computer devices distributed at multiple sites and interconnected by a communication network, and the multiple computer devices distributed at the multiple sites and interconnected by the communication network may constitute a block chain system.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for facilitating the understanding of the technical solutions of the present application by those skilled in the art, and is not intended to limit the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method for calibrating output power, the method comprising:
acquiring the maximum output power and a first Automatic Gain Control (AGC) value of a terminal, wherein the first AGC value is an initial AGC value during output power calibration and is used for driving a radio frequency transceiver chip (RFIC) of the terminal to generate output power;
determining a second AGC value based on the first AGC value and the maximum output power, wherein the second AGC value is an AGC value meeting the maximum power requirement of the terminal;
calibrating an output power of the RFIC based on the second AGC value.
2. The method of claim 1, wherein determining a second AGC value based on the first AGC value and the maximum output power comprises:
checking the first AGC value based on the first AGC value and the maximum output power, wherein the checking is used for checking whether the first AGC value meets the maximum power requirement of the terminal;
determining the first AGC value as the second AGC value if the first AGC value is verified;
and under the condition that the first AGC check is not passed, increasing the first AGC value to obtain the second AGC value.
3. The method of claim 2, wherein checking the first AGC value based on the first AGC value and the maximum output power comprises:
determining a first output power based on the first AGC value, the first output power being an output power generated by the RFIC when the RFIC is driven based on the first AGC value;
determining that the first AGC value is verified under the condition that the first output power is greater than or equal to a second output power, wherein the second output power is the sum of the maximum output power and a first threshold value;
determining that checking the first AGC value fails if the first output power is less than the second output power.
4. The method of claim 2, wherein increasing the first AGC value to obtain the second AGC value comprises:
increasing the first AGC value by a second threshold value to obtain a fourth AGC value;
checking the fourth AGC value based on the fourth AGC value and the maximum output power, wherein the checking is used for checking whether the fourth AGC value meets the maximum power requirement of the terminal;
determining a fourth AGC value as the second AGC value if the fourth AGC value is verified;
and in the case that the fourth AGC value is not verified, increasing the fourth AGC value by the second threshold value until a verified second AGC value is obtained.
5. The method of any of claims 1-4, wherein the first AGC value is determined by the terminal, and wherein the obtaining of the first AGC value comprises:
acquiring a fifth AGC value and a third output power, wherein the fifth AGC value is an AGC value predicted based on the maximum output power, and the third output power is an output power generated by the RFIC when the RFIC is driven based on the fifth AGC value;
determining the fifth AGC value as the first AGC value when the third output power is greater than or equal to a fourth output power, wherein the fourth output power is the output power obtained by increasing the maximum output power by a unit power value;
and increasing the fifth AGC value to obtain the first AGC value under the condition that the third output power is smaller than the fourth output power.
6. The method of any of claims 1-4, wherein the first AGC value is determined by other terminals, and wherein the obtaining of the first AGC value comprises:
determining the type of the terminal;
sending an acquisition request to network equipment, wherein the acquisition request carries the type, and the acquisition request is used for requesting the network equipment to acquire the first AGC value matched with the type, and the first AGC value stored in the network equipment is sent by the other terminals;
and receiving the first AGC value sent by the network equipment.
7. An apparatus for calibrating output power, the apparatus comprising:
the terminal comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring the maximum output power and a first Automatic Gain Control (AGC) value of the terminal, the first AGC value is an initial AGC value during output power calibration, and the first AGC value is used for driving a radio frequency transceiver chip (RFIC) of the terminal to generate output power;
a first determining module, configured to determine a second AGC value based on the first AGC value and the maximum output power, where the second AGC value is an AGC value that meets a maximum power requirement of the terminal;
a second determination module to calibrate an output power of the RFIC based on the second AGC value.
8. A terminal, characterized in that it comprises a processor and a memory, in which at least one program code is stored, which is loaded and executed by the processor to implement the calibration method of output power according to any one of claims 1 to 6.
9. A computer-readable storage medium, having stored therein at least one program code, the at least one program code being loaded into and executed by a processor, to implement the method of calibration of output power according to any one of claims 1 to 6.
10. A computer program product having at least one program code stored therein, the at least one program code being loaded and executed by a processor to implement a method of calibrating output power as claimed in any one of claims 1 to 6.
CN202210369239.0A 2022-04-08 2022-04-08 Output power calibration method, device, terminal, storage medium and product Pending CN114679228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210369239.0A CN114679228A (en) 2022-04-08 2022-04-08 Output power calibration method, device, terminal, storage medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210369239.0A CN114679228A (en) 2022-04-08 2022-04-08 Output power calibration method, device, terminal, storage medium and product

Publications (1)

Publication Number Publication Date
CN114679228A true CN114679228A (en) 2022-06-28

Family

ID=82078271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210369239.0A Pending CN114679228A (en) 2022-04-08 2022-04-08 Output power calibration method, device, terminal, storage medium and product

Country Status (1)

Country Link
CN (1) CN114679228A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977090A (en) * 2010-10-27 2011-02-16 中兴通讯股份有限公司 Radio-frequency calibration method and device of mobile terminal
CN103036623A (en) * 2011-09-30 2013-04-10 重庆重邮信科通信技术有限公司 Mobile terminal power control test calibrating method and mobile terminal
CN106922014A (en) * 2015-12-28 2017-07-04 联芯科技有限公司 One kind production calibration first table generating method, system and mobile terminal
CN114520672A (en) * 2022-02-21 2022-05-20 Oppo广东移动通信有限公司 Power calibration method for maximum power fluctuation, terminal device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977090A (en) * 2010-10-27 2011-02-16 中兴通讯股份有限公司 Radio-frequency calibration method and device of mobile terminal
CN103036623A (en) * 2011-09-30 2013-04-10 重庆重邮信科通信技术有限公司 Mobile terminal power control test calibrating method and mobile terminal
CN106922014A (en) * 2015-12-28 2017-07-04 联芯科技有限公司 One kind production calibration first table generating method, system and mobile terminal
CN114520672A (en) * 2022-02-21 2022-05-20 Oppo广东移动通信有限公司 Power calibration method for maximum power fluctuation, terminal device and storage medium

Similar Documents

Publication Publication Date Title
EP1057353B1 (en) Method and apparatus for configuring mobile telephones
CN101569221B (en) Method and apparatus for providing system selection using dynamic parameters
US20100120395A1 (en) Emergency call code information acquiring system
CN106211167A (en) A kind of terminal, pseudo-base station recognition methods and system
EP3319357B1 (en) Signal transmission method and apparatus
CN108650671B (en) Method, device, mobile terminal, storage medium and system for establishing Bluetooth connection
CN112822762A (en) Radio frequency output power configuration method and device, electronic chip and electronic equipment
US20070026793A1 (en) Method and system for audio repeating among portable communication devices
CN111800820A (en) Method for side link relay processing and user equipment
CN107222269B (en) GSM APC (global system for mobile communications) quick and accurate calibration implementation method based on saturated PA (power amplifier)
CN114679228A (en) Output power calibration method, device, terminal, storage medium and product
KR101450180B1 (en) Apparatus and method for transmission power control of home bts
US20070270195A1 (en) Roaming function test system and method
CN113766406B (en) Earphone testing method, system and device
CN106899965B (en) Configuration method of transmission power, terminal, base station and baseband chip
CN113078963B (en) Chip transmitting power calibration method and device
CN109121169B (en) System information sending method, system information receiving method, base station and mobile communication terminal
CN111918317B (en) AP control method and device, wireless controller and storage medium
CN107592628B (en) Method, Bluetooth gateway and system for switching working modes
CN112256335B (en) Method and device for loading drive file, storage medium and electronic equipment
CN108337715A (en) Wireless network connecting method, device, terminal device and storage medium
US20120244854A1 (en) Mobile Communication Terminal and Communication Method Thereof
CN114205378A (en) Network distribution method and device of Internet of things equipment, storage medium and electronic device
CN114040490A (en) Method and product for determining maximum transmission power of transmitter in multi-transmitter scenario
CN112740739B (en) Interference processing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination