CN113078963A - Chip transmitting power calibration method and device - Google Patents

Chip transmitting power calibration method and device Download PDF

Info

Publication number
CN113078963A
CN113078963A CN202110310568.3A CN202110310568A CN113078963A CN 113078963 A CN113078963 A CN 113078963A CN 202110310568 A CN202110310568 A CN 202110310568A CN 113078963 A CN113078963 A CN 113078963A
Authority
CN
China
Prior art keywords
chip
radio frequency
frequency gain
power
gain
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.)
Granted
Application number
CN202110310568.3A
Other languages
Chinese (zh)
Other versions
CN113078963B (en
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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202110310568.3A priority Critical patent/CN113078963B/en
Publication of CN113078963A publication Critical patent/CN113078963A/en
Application granted granted Critical
Publication of CN113078963B publication Critical patent/CN113078963B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/11Monitoring; Testing of transmitters for calibration

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Transmitters (AREA)

Abstract

The application discloses a method and a device for calibrating chip transmitting power. The method for calibrating the transmitting power of the chip comprises the following steps: determining a first transmission power of a first kind of chip for transmitting a single tone signal, wherein the first transmission power is an average transmission power of the first kind of chip for transmitting the single tone signal; acquiring second transmitting power of a chip for transmitting the single-tone signal, wherein the chip belongs to one of the first kind of chips; determining an adjustment amount of a first radio frequency gain of a chip based on the first transmission power and the second transmission power, wherein the first radio frequency gain is used for the chip to send a modulation signal; and adjusting the first radio frequency gain of the chip based on the adjustment amount of the first radio frequency gain of the chip. By the calibration method, the transmitting power of the chip for transmitting the modulation signal approaches to the average transmitting power of the chip for transmitting the modulation signal, so that the fluctuation between the transmitting powers of the chips for transmitting the modulation signal in the chip is reduced.

Description

Chip transmitting power calibration method and device
Technical Field
The present application relates to the field of communications, and in particular, to a method and an apparatus for calibrating chip transmit power.
Background
The terminal equipment receives signals and transmits signals, and both the signals depend on a wireless communication chip in the terminal equipment. Therefore, the quality of the signal received/transmitted by the terminal device is affected by the transmission power of the wireless communication chip being too high or too low. The transmission power of a wireless communication chip is generally affected by factors such as manufacturing process and circuit instability, and for the same kind of wireless communication chips, the transmission power of each wireless communication chip also has a large difference, which leads to poor consistency of products (i.e., terminal devices) using the wireless communication chips. For example, the wireless communication chip a1 and the wireless communication chip a2 are the same chip produced by the same factory production line, but there is a difference between the quality of the received/transmitted signal of the handset a1 (using the wireless communication chip a01) and the quality of the received/transmitted signal of the handset a2 (using the wireless communication chip a02) during the communication process.
It can be seen that how to reduce the power fluctuation of the chip is an urgent problem to be solved.
Disclosure of Invention
The method can lead the transmitting power of the chip for transmitting the modulation signal to approach the average transmitting power of the chip for transmitting the modulation signal, thereby reducing the fluctuation between the transmitting powers of the chips for transmitting the modulation signal.
In a first aspect, the present application provides a method for calibrating chip transmit power, including:
determining a first transmission power of a first kind of chip for transmitting a single tone signal, wherein the first transmission power is an average transmission power of the first kind of chip for transmitting the single tone signal; acquiring second transmitting power of a chip for transmitting the single-tone signal, wherein the chip belongs to one of the first kind of chips; determining an adjustment amount of a first radio frequency gain of the chip based on the first transmission power and the second transmission power, wherein the first radio frequency gain is used for the chip to send a modulation signal; and adjusting the first radio frequency gain of the chip based on the adjustment quantity of the first radio frequency gain of the chip.
By adopting the method, the terminal equipment can determine the adjustment quantity of the radio frequency gain when the chip transmits the modulation signal through the transmitting power of the chip transmitting the single-tone signal and the average transmitting power of the chip transmitting the single-tone signal, so that the transmitting power of the chip transmitting the modulation signal approaches to the average transmitting power of the chip transmitting the modulation signal, and the fluctuation of the transmitting power of each chip transmitting the modulation signal in the chip is reduced.
In one possible implementation, the control chip transmits a single-tone signal based on a preset frequency and a second radio frequency gain corresponding to the preset frequency; detecting a second transmitting power of the chip for transmitting the single-tone signal, and storing the second transmitting power in a memory of the chip; and acquiring second transmitting power of the chip for transmitting the single-tone signal from the memory of the chip.
In one possible implementation, an adjustment amount of the second radio frequency gain is determined based on the first transmission power and the second transmission power; and determining the adjustment quantity of the second radio frequency gain as the adjustment quantity of the first radio frequency gain of the chip.
In one possible implementation, a first power difference between the first transmit power and the second transmit power is determined; and determining the adjustment amount of the second radio frequency gain based on the first power difference.
In one possible implementation, if the second transmit power is less than the first transmit power, the control chip transmits a single tone signal based on a third rf gain, the third rf gain being greater than the second rf gain; detecting a third transmit power of the chip when transmitting the single tone signal based on a third radio frequency gain; and if the difference value between the third transmission power and the first transmission power is smaller than or equal to the first threshold value, determining the difference value between the third radio frequency gain and the second radio frequency gain as the adjustment amount of the second radio frequency gain.
In one possible implementation, if the second transmit power is greater than the first transmit power, the control chip transmits a single tone signal based on a fourth rf gain, which is less than the second rf gain; detecting a fourth transmission power of the chip when transmitting the single-tone signal based on the fourth radio frequency gain; and if the difference value between the fourth transmission power and the first transmission power is smaller than or equal to the first threshold value, determining the difference value between the fourth radio frequency gain and the second radio frequency gain as the adjustment amount of the second radio frequency gain.
In a second aspect, the present application provides another chip transmit power calibration method, including:
the method comprises the steps that terminal equipment obtains first transmission power of a chip in the terminal equipment for transmitting a modulation signal by using a first radio frequency gain in a first channel; the terminal equipment detects second transmitting power of the chip when a second channel transmits a modulation signal by using a first radio frequency gain; the terminal equipment adjusts the first radio frequency gain based on the first transmitting power and the second transmitting power; and the terminal equipment transmits a modulation signal in the second channel based on the adjusted first radio frequency gain.
By adopting the method, the terminal equipment can adjust the radio frequency gain of the terminal equipment for transmitting the modulation signal through the second channel by detecting the difference between the transmission power of the second channel for transmitting the modulation signal currently and the target transmission power (namely the first transmission power), so that the transmission power for transmitting the modulation signal through the second channel approaches to the target transmission power (namely the first transmission power), thereby reducing the fluctuation between the transmission powers for transmitting the modulation signals through different channels in the chip and improving the stability of the signal quality of the terminal equipment using the chip.
In one possible implementation, the terminal device determines a first power difference between the first transmit power and the second transmit power; the terminal equipment determines the adjustment quantity of the first radio frequency gain based on the first power difference value; and the terminal equipment adjusts the first radio frequency gain based on the adjustment quantity of the first radio frequency gain.
In one possible implementation, if the second transmit power is less than the first transmit power, the control chip transmits the modulation signal based on a second rf gain, which is greater than the first rf gain; detecting third transmitting power of the chip when the chip transmits the modulation signal based on the second radio frequency gain; and if the difference value between the first transmission power and the third transmission power is less than or equal to the first threshold value, adjusting the first radio frequency gain according to the second radio frequency gain.
In one possible implementation, if the second transmit power is greater than the first transmit power, the control chip transmits the modulation signal based on a third rf gain, which is less than the first rf gain; detecting fourth transmission power of the chip when the chip transmits the modulation signal based on the third radio frequency gain; and if the difference value between the fourth transmission power and the first transmission power is less than or equal to the first threshold value, adjusting the first radio frequency gain according to the third radio frequency gain.
In a third aspect, the present application provides a chip transmit power calibration apparatus, including:
the processing unit is used for determining first transmission power of a first kind of chip transmission single-tone signal, wherein the first transmission power is average transmission power of the first kind of chip transmission single-tone signal;
the receiving and transmitting unit is used for obtaining second transmitting power of a chip for transmitting a single-tone signal, wherein the chip belongs to one of the first kind of chips;
the processing unit is further configured to determine an adjustment amount of a first radio frequency gain of the chip based on the first transmit power and the second transmit power, where the first radio frequency gain is used for the chip to send a modulation signal;
the processing unit is further configured to adjust the first radio frequency gain of the chip based on the adjustment amount of the first radio frequency gain of the chip.
In one possible implementation, the processing unit is further configured to: controlling the chip to transmit a single-tone signal based on a preset frequency and a second radio frequency gain corresponding to the preset frequency; detecting a second transmitting power of the chip for transmitting the single-tone signal, and storing the second transmitting power in a memory of the chip; the transceiver unit is specifically configured to: and acquiring second transmitting power of the chip for transmitting the single-tone signal from the memory of the chip.
In a possible implementation, the processing unit is specifically configured to: determining an adjustment amount of the second radio frequency gain based on the first transmit power and the second transmit power; and determining the adjustment quantity of the second radio frequency gain as the adjustment quantity of the first radio frequency gain of the chip.
In a possible implementation, the processing unit is specifically configured to: determining a first power difference between the first transmit power and the second transmit power; and determining the adjustment amount of the second radio frequency gain based on the first power difference value.
In a possible implementation, the processing unit is specifically configured to: if the second transmission power is less than the first transmission power, controlling the chip to transmit a single-tone signal based on a third radio frequency gain, wherein the third radio frequency gain is greater than the second radio frequency gain; detecting a third transmit power at which the chip transmits a single tone signal based on the third radio frequency gain; and if the difference between the third transmission power and the first transmission power is smaller than or equal to a first threshold, determining that the difference between the third radio frequency gain and the second radio frequency gain is an adjustment amount of a second radio frequency gain.
In a possible implementation, the processing unit is specifically configured to: if the second transmission power is larger than the first transmission power, controlling the chip to transmit a single-tone signal based on a fourth radio frequency gain, wherein the fourth radio frequency gain is smaller than the second radio frequency gain; detecting a fourth transmit power at which the chip transmits a single tone signal based on the fourth radio frequency gain; and if the difference between the fourth transmission power and the first transmission power is smaller than or equal to a first threshold, determining that the difference between the fourth radio frequency gain and the second radio frequency gain is an adjustment amount of the second radio frequency gain.
In a fourth aspect, the present application provides a device for calibrating chip transmission power, including:
the receiving and sending unit is used for acquiring first transmission power of a chip in the terminal equipment for transmitting a modulation signal by using a first radio frequency gain in a first channel;
the processing unit is used for detecting second transmitting power of the chip when a second channel transmits a modulation signal by using the first radio frequency gain;
the processing unit is further configured to adjust the first radio frequency gain based on the first transmit power and the second transmit power;
the processing unit is further configured to transmit a modulation signal in the second channel based on the adjusted first radio frequency gain.
In one possible implementation, the processing unit is specifically configured to: determining a first power difference between the first transmit power and the second transmit power; determining an adjustment amount of the first radio frequency gain based on the first power difference value; and adjusting the first radio frequency gain based on the adjustment amount of the first radio frequency gain.
In one possible implementation, the processing unit is specifically configured to: if the second transmission power is smaller than the first transmission power, controlling the chip to transmit a modulation signal based on a second radio frequency gain, wherein the second radio frequency gain is larger than the first radio frequency gain; detecting a third transmission power of the chip when the chip transmits a modulation signal based on the second radio frequency gain; and if the difference value between the third transmitting power and the first transmitting power is smaller than or equal to a first threshold value, adjusting the first radio frequency gain according to the second radio frequency gain.
In one possible implementation, the processing unit is specifically configured to: if the second transmission power is larger than the first transmission power, controlling the chip to transmit a modulation signal based on a third radio frequency gain, wherein the third radio frequency gain is smaller than the first radio frequency gain; detecting a fourth transmit power of the chip when transmitting a modulated signal based on the third radio frequency gain; if the difference between the fourth transmit power and the first transmit power is less than or equal to a first threshold, adjusting the first RF gain according to the third RF gain.
In a fifth aspect, the present application provides a terminal device, including: a memory for storing a computer program; a processor for invoking a computer program for performing the method of any of the above first or second aspects.
In a sixth aspect, the present application provides a computer-readable storage medium for storing computer software instructions for the terminal device, which includes a program for executing the method according to any one of the first aspect or the second aspect.
Drawings
Fig. 1 is a schematic diagram of a chip transmit power provided herein;
fig. 2 is an application scenario of a chip transmit power calibration method provided in the present application;
fig. 3 is a schematic flowchart of a method for calibrating a chip transmit power according to the present application;
FIG. 4 is a schematic flow chart illustrating another method for calibrating the transmit power of a chip according to the present disclosure;
fig. 5 is a schematic diagram of an internal circuit of a chip according to the present disclosure;
fig. 6 is a schematic structural diagram of a chip transmit power calibration apparatus provided in the present application;
fig. 7 is a schematic structural diagram of a terminal device provided in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the accompanying drawings.
The terms "first" and "second," and the like in the description, claims, and drawings of the present application are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," 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 operations or elements is not limited to those listed but may alternatively include other operations or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In the present application, "at least one" means one or more, "a plurality" means two or more, "at least two" means two or three and three or more, "and/or" for describing the correspondence of the corresponding objects, indicating that three relationships may exist, for example, "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the preceding and following corresponding pair is in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
The chip transmit power calibration method in the present application can be applied to a terminal device, and it should be understood that the terminal device mentioned in the present application can also be referred to as a terminal, a user equipment, an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a user agent, or a user equipment. The terminal device in the embodiment of the present application may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and the like.
To facilitate an understanding of the embodiments disclosed herein, some concepts related to the present application will first be explained. The description of these concepts includes, but is not limited to, the following.
Single tone signal: a sine signal of a single frequency or a cosine signal of a single frequency.
Modulation signal: in order to meet different user requirements, signals obtained by carrying out spectrum shifting on baseband signals in different modulation modes are adopted. For example, the spectrum of the baseband signal is moved to a higher carrier frequency by modulation, so that the size of the radiation antenna can be greatly reduced, and higher radiation efficiency can be obtained; the plurality of baseband signals are respectively moved to different carrier frequencies through modulation, so that multiplexing of channels can be realized, and the utilization rate of the channels is improved.
Fluctuation of transmission power: the difference between the transmit power of a chip and the average transmit power of that type of chip. Since the difference between the transmitting power of the chip transmitting the single-tone signal (P1) and the transmitting power of the chip transmitting the modulation signal (P2) is a fixed value, it can be understood that the fluctuation of the transmitting power of the chip transmitting the single-tone signal can be approximately equal to the fluctuation of the transmitting power of the chip transmitting the modulation signal.
For example, referring to fig. 1, fig. 1 is a schematic diagram of the transmission power of each chip in the class a chip, wherein the horizontal axis represents the number of each chip in the class a chip, point 10 represents that the transmission power of each chip when transmitting a single tone signal is P1,
Figure BDA0002989404150000071
average transmitting power when transmitting single tone signals for the A-type chip; point 11 represents the transmit power P2 at which the respective chip transmits the modulated signal,
Figure BDA0002989404150000072
average transmitting power when transmitting a modulation signal for the A-type chip; since the difference between P1 and P2 (noted as Δ P) is the same for each chip, the difference between P1 and P2 is also Δ P, and the difference between P1 and P1 for each chip is equivalent to the difference between P2 and P2, i.e., the fluctuation of the transmit power when a chip transmits a single tone signal can be approximately equivalent to the fluctuation of the transmit power when the chip transmits a modulated signal.
Referring to fig. 2, fig. 2 is an application scenario of the chip transmit power calibration method provided in the present application according to the foregoing feature description. Wherein, the terminal device 21 and the chip 22 are connected through communication, so that the terminal device 21 can control the chip 22 to transmit single tone signal. It should be understood that the terminal device 21 may control the chip 22 to emit the tone signal as a link in an Automatic Test Equipment (ATE) phase.
For a better understanding of the solution provided by the present application, reference will now be made to the present application in conjunction with the accompanying drawings.
Referring to fig. 3, fig. 3 is a schematic flowchart of a chip transmit power calibration method provided in the present application. The execution subject of the method shown in fig. 3 may be a terminal device, or the execution subject may be a chip in the terminal device. Fig. 3 illustrates an execution subject of the method by taking the terminal device as an example. As shown in fig. 3, the chip transmit power calibration method includes S301-S304.
S301, determining a first transmit power of the first type chip for transmitting the single tone signal, wherein the first transmit power is an average transmit power of the first type chip for transmitting the single tone signal.
In the stage of ATE, aiming at each chip in the first type of chip, the terminal equipment controls the chip to transmit a single-tone signal based on a preset frequency and a second radio frequency gain corresponding to the preset frequency, and detects second transmission power when the chip transmits the single-tone signal. And then, the terminal equipment obtains the average transmitting power of the first type of chip according to the second transmitting power, and records the average transmitting power as the first transmitting power.
The preset frequency is determined based on the working frequency band of the chip, and can be adjusted correspondingly according to a specific application scenario, which is not specifically limited in the present application. Exemplarily, two working frequency bands in which the chip a is deployed behind a User Equipment (UE) are: a 2.4G band and a 5G band. In this case, the terminal device for chip tone test may determine a first preset frequency (e.g., 2442MHz) in the 2.4G band, where the first preset frequency is used to detect the transmission power of the chip a when transmitting a tone signal in the 2.4G band; and, the terminal device determines a second preset frequency (e.g. 5500MHz) in the 5G frequency band, where the second preset frequency is used to detect the transmission power of the chip a when transmitting the monophonic signal in the 5G frequency band.
S302, second transmitting power of the chip for transmitting the single-tone signal is obtained, and the chip belongs to one of the first kind of chips.
In the ATE stage, for each chip, the terminal device controls the chip to transmit a single-tone signal based on a preset frequency and a second rf gain corresponding to the preset frequency, and after detecting a second transmission power when the chip transmits the single-tone signal, the terminal device may store the second transmission power in a memory (e.g., a chip Efuse) of the chip. In this case, the terminal device may obtain the second transmit power of the chip transmitting the single-tone signal from the memory of the chip to be calibrated.
For example, a first category of chips includes: in the stage of ATE, the terminal device performs transmit power detection of a single tone signal on each chip in the first kind of chips, that is, controls each chip to transmit the single tone signal at a frequency of 2442MHz with a radio frequency gain d. Taking chip a1 as an example, the terminal device detects that the transmitting power of chip a1 is P1The terminal device records the P1In its own storage space, so as to obtain the storage space available according to the P1The average transmit power of the first type of chip is calculated to transmit a single tone signal at a frequency of 2442MHz with a radio frequency gain d. And apply the P1In the Efuse of the memory and chip a 1. Further, when the terminal device needs to adjust the first rf gain of the chip a1, the terminal device can read the second transmission power P stored in the Efuse of the chip a11
And S303, determining an adjustment amount of a first radio frequency gain of the chip based on the first transmission power and the second transmission power, wherein the first radio frequency gain is used for the chip to send the modulation signal.
The fluctuation of the transmitting power when the chip transmits the single-tone signal can be approximately equal to the fluctuation of the transmitting power when the chip transmits the modulation signal, so that the fluctuation of the transmitting power when the chip transmits the single-tone signal is reduced, namely the fluctuation of the transmitting power when the chip transmits the modulation signal can be considered to be reduced, and the adjustment amount of the first radio frequency gain when the chip transmits the modulation signal can be determined according to the adjustment amount of the second radio frequency gain when the chip transmits the single-tone signal.
In one possible implementation, the terminal device determines an adjustment amount of the second rf gain based on the first transmit power and the second transmit power, and determines the adjustment amount of the second rf gain as an adjustment amount of the first rf gain of the chip.
Specifically, the terminal device determines the adjustment amount of the second radio frequency gain based on the first transmission power and the second transmission power, which includes the following two ways:
in a first mode
The terminal device determines a first power difference between the first transmit power and the second transmit power, and further, the terminal device may determine an adjustment amount for the second rf gain based on the first power difference.
It is understood that there is a direct relationship between the radio frequency gain and the transmit power. Illustratively, referring to table 1, table 1 is a second radio frequency gain table for transmitting a single tone signal at 2442 MHz.
TABLE 1
Figure BDA0002989404150000101
The difference between the second rf gain transmission powers corresponding to adjacent index values is 0.5dB, for example, at 2442MHz, the chip transmits a single tone signal with d0 as the second rf gain, the second transmission power for detecting the chip is P0, the chip transmits a single tone signal with d1 as the second rf gain, the second transmission power for detecting the chip is P1, the chip transmits a single tone signal with d2 as the second rf gain, the second transmission power for detecting the chip is P2, the difference between P2 and P1 is 0.5dB, and the difference between P1 and P0 is 0.5 dB.
In this case, the terminal device obtains the second transmission power when the chip transmits the single-tone signal according to the preset second radio frequency gain (e.g. d0) at 2442MHz, obtains the first transmission power (which can be understood as the average power approximately, that is, the target transmission power when the chip transmits the single-tone signal according to the second radio frequency gain d0), calculates the first power difference between the first transmission power and the second transmission power, and divides the first power difference by the difference between the second radio frequency gain transmission powers corresponding to the adjacent index values, so as to determine the adjustment amount of the second radio frequency gain. For example, if the first power difference obtained by the terminal device according to the second rf gain d0 is 3dB, and the difference between the second rf gain transmission powers corresponding to adjacent index values is 0.5dB, it is determined that the second rf gain is adjusted by 6 index values (i.e., the second rf gain is adjusted to d6), and at this time, the adjustment amount of the second rf gain is understood to be the rf gain difference between d6 and d0 in table 1. Similarly, when the first power difference obtained by the terminal device according to the second rf gain d6 is-3 dB, and the difference between the second rf gain transmission powers corresponding to adjacent index values is 0.5dB, it is determined that the second rf gain is adjusted down by 6 index values (i.e., the second rf gain is adjusted down to d0), and at this time, the adjustment amount of the second rf gain may be understood as the rf gain difference between d0 and d6 in table 1.
Mode two
The terminal equipment compares the second transmission power with the first transmission power, and if the second transmission power is smaller than the first transmission power, the control chip transmits a single-tone signal based on a third radio frequency gain, wherein the third radio frequency gain is larger than the second radio frequency gain. Further, the terminal device detecting chip determines a third transmit power when transmitting the single tone signal based on the third rf gain, and determines that a difference between the third rf gain and the second rf gain is an adjustment amount of the second rf gain if the difference between the third transmit power and the first transmit power is less than or equal to the first threshold.
If the second transmission power is larger than the first transmission power, the control chip transmits a single-tone signal based on a fourth radio frequency gain, wherein the fourth radio frequency gain is smaller than the second radio frequency gain; detecting a fourth transmission power of the chip when transmitting the single-tone signal based on the fourth radio frequency gain; and if the difference value between the fourth transmission power and the first transmission power is smaller than or equal to the first threshold value, determining the difference value between the fourth radio frequency gain and the second radio frequency gain as the adjustment amount of the second radio frequency gain.
The first threshold is a maximum value of the allowed chip transmission power fluctuation set by a developer, and a specific numerical value of the first threshold may be set according to a specific application scenario, which is not specifically limited by the present scheme.
Illustratively, the second transmission power is the transmission power of the chip when the chip transmits the single-tone signal at 2442MHz with the second rf gain d3, the first transmission power is the transmission power of the chip type corresponding to the chip when the chip transmits the single-tone signal at 2442MHz with the second rf gain d3, and the first threshold is 0.1 dB. In such a case, the terminal device obtains the second transmission power and the first transmission power, and if the second transmission power is smaller than the first transmission power, the terminal device adjusts the second rf gain according to table 1 (d 4 and d5 may be sequentially upward), and detects the third transmission power corresponding to the second rf gain (i.e., the third rf gain) after each adjustment until it is detected that the difference between the third transmission power and the first transmission power is smaller than or equal to the first threshold. If the difference between the third transmit power and the first transmit power when the tone signal is transmitted with the second rf gain d5 after being adjusted up (i.e. the third rf gain) is detected to be less than or equal to the first threshold, the difference between the third rf gain d5 and the second rf gain d3 is calculated, and the difference between d5 and d3 is determined as the adjustment amount of the second rf gain.
In another example, the second transmit power is the transmit power of the chip when transmitting the single-tone signal at 2442MHz with the second rf gain d3, the first transmit power is the transmit power of the chip when transmitting the single-tone signal at 2442MHz with the second rf gain d3, and the first threshold is 0.1 dB. In such a case, the terminal device obtains the second transmission power and the first transmission power, if the second transmission power is greater than the first transmission power, the terminal device down-adjusts the second rf gain according to table 1 (d 2 and d1 may be sequentially downward), and detects the fourth transmission power corresponding to the second rf gain (i.e., the fourth rf gain) after each down-adjustment until it is detected that a difference between the first transmission power and the fourth transmission power is less than or equal to the first threshold. If it is detected that the difference between the fourth transmit power and the first transmit power when the tone signal is transmitted at the down-regulated second rf gain (i.e., fourth rf gain) d1 is less than or equal to the first threshold, the difference between the fourth rf gain d1 and the second rf gain d3 is calculated, and the difference between d1 and d3 is determined as the adjustment amount of the second rf gain.
S304, adjusting the first radio frequency gain of the chip based on the adjustment amount of the first radio frequency gain of the chip.
The terminal equipment determines the adjustment quantity of the second radio frequency gain of the transmitting single-tone signal as the adjustment quantity of the first radio frequency gain of the transmitting modulation signal, and adjusts the first radio frequency gain of the chip according to the adjustment quantity of the first radio frequency gain. That is, when the adjustment amount of the second rf gain is the up-adjustment Δ d, the adjustment amount of the first rf gain is the up-adjustment Δ d, and the terminal device may store the adjustment amount Δ d of the first rf gain (or referred to as the adjustment amount Δ d of the second rf gain) in the chip, or update the first rf gain corresponding to the preset frequency in the chip according to the adjustment amount Δ d of the first rf gain. For example, if a first rf gain D corresponding to a 2442MHz transmission modulation signal in a 2.4G operating frequency band is stored in the chip, the terminal device may update the first rf gain to D + Δ D according to the adjustment amount Δ D of the first rf gain.
In a specific application scenario, please refer to table 2, where table 2 is a first rf gain table of the chip transmitting the modulation signal at 2442MHz, and table 1 is a second rf gain table of the chip transmitting the single tone signal at 2442 MHz. The second rf gain of the chip at the predetermined frequency is D6 corresponding to index 6 in table 1, and the first rf gain at the predetermined frequency is D9 corresponding to index 9 in table 2. If the chip calculates the second rf gain at the predetermined frequency by the second rf gain d6, the second rf gain is adjusted down by 6 index values in table 1 (i.e., the second rf gain is adjusted down to d 0). In this case, if the predetermined rf gain of the chip at the predetermined frequency is D9, the index values are adjusted downward by 6 in table 2 (i.e., the second rf gain is adjusted downward to D3).
TABLE 2
Figure BDA0002989404150000131
Therefore, the terminal equipment for testing the chip in the ATE stage can quickly determine the adjustment amount of the radio frequency gain when the chip transmits the modulation signal by sending the single tone signal through the chip, so that the fluctuation of the transmitting power of the chip for transmitting the modulation signal is reduced.
For the same chip, because different channels (or frequencies) of different frequency bands correspond to different circuit parameters, when the chip operates in different channels (or frequencies) of the same frequency band, the transmission power of the chip may also have differences, thereby affecting the quality of the received/transmitted signals of a product (i.e., a terminal device) using the chip. For example, there are two operating bands for chip a: the antenna comprises a 2.4G frequency band and a 5G frequency band, wherein the 2.4G frequency band comprises 14 channels, and the 5G frequency band comprises 25 channels. For the working of the chip a and the 2.4G frequency band, there is a difference between the transmission power of the chip a transmitting the modulation signal with the first rf gain in the first channel and the transmission power of the chip a transmitting the modulation signal with the first rf gain in the seventh channel. In the ATE stage, in order to improve the volatility of the terminal device in reducing the transmission power of the chip of the type to which the chip a belongs, the step of adjusting the first radio frequency gain of the chip a in the 2.4G frequency band by the terminal device for chip testing means that: the terminal device adjusts a first rf gain of a certain channel (e.g., a 7 th channel, which is a middle channel of a 2.4G frequency band) of the chip a in the 2.4G frequency band. It can be seen that, if the chip a is deployed in another terminal device and then operates in other channels of the 2.4G frequency band (for example, channels other than the 7 th channel in the 2.4G frequency band), the transmission power of the chip a for transmitting the modulation signal still fluctuates (i.e., fluctuation of the transmission power corresponding to different channels of the chip). Therefore, the transmission power fluctuation of the chip for transmitting the modulation signal by adopting different channels can affect the stability of the quality of the transmission signal of the terminal device which deploys the chip, and how to reduce the transmission power fluctuation of the chip channel for transmitting the modulation signal is an urgent problem to be solved.
Referring to fig. 4, fig. 4 is a schematic flow chart of another chip transmit power calibration method provided in the present application. The execution subject of the method shown in fig. 4 may be a chip, or the execution subject may be a terminal device in which the chip is deployed. Fig. 4 illustrates an execution subject of the method by using the terminal device deploying the chip as an example. As shown in fig. 4, the chip transmit power calibration method includes S401-S404.
S401, the terminal device obtains first transmission power of a chip in the terminal device, wherein the chip uses a first radio frequency gain to transmit a modulation signal in a first channel.
The terminal device may obtain, from a memory of the chip, a target transmission power (i.e., a first transmission power) of the chip using the first radio frequency gain in the first channel. It can be understood that, in an application scenario, before the chip is deployed in the terminal device (or when the chip is tested), the first transmit power of the chip when the chip transmits the modulation signal using the first rf gain in the first channel is obtained, and the first transmit power is stored in the memory of the chip as the target transmit power.
The terminal device may further obtain, through a calibration circuit inside the chip, a first transmit power of the chip for transmitting the modulation signal using the first radio frequency gain in the first channel, that is, the first transmit power may be understood as a target transmit power for transmitting the modulation signal using the chip. In an application scenario, please refer to fig. 5, fig. 5 is a schematic diagram of an internal circuit of a chip, wherein the internal circuit of the chip includes: digital Front End (DFE), Digital-to-analog converter (DAC), mixer (mixer), Power Amplifier (PA), Transmit/Receive switch (T/R SW), Low Noise Amplifier (LNA), analog-to-Digital converter (ADC), and Local Oscillator (LO). In fig. 5, a path 51 is a signal transmission path for transmitting a signal by using the chip, in the path 51, the signal is initiated by the DFE, flows through the DAC, mixer, PA and T/R SW, and is further transmitted by an Antenna interface (ANT); path 52 is a signal receive path for receiving signals with the chip, in which path 52 signals flow from the ANT, through the LNA, mixer and ADC, and finally into the DFE. The calibration circuit of the chip may be as shown by path 53 in fig. 5, where path 53 is a loop back path, and the chip may receive its own transmitted signal.
In this case, the chip may transmit (or receive) the chip through its own loop back path, transmit the modulated signal through the first channel using the first rf gain, and detect the transmission power (i.e., the first transmission power) when the chip transmits the modulated signal through the first channel using the first rf gain.
S402, the terminal device detects a second transmitting power of the chip when the chip transmits the modulation signal by using the first radio frequency gain in the second channel.
When the terminal device detects that the first channel is not available, a second channel is determined from other channels, so that the terminal device can send a modulation signal in the second channel through the chip, and second transmitting power of the chip when sending the modulation signal in the second channel is detected.
For example, the operating frequency of the chip is 2.4G frequency band, the first channel is an intermediate channel (i.e., 7 th channel), and when the terminal device detects that the intermediate channel (i.e., 7 th channel) is congested, the terminal device determines any available channel (which can be understood as a non-congested channel) as the second channel from other channels (other channels except for the 7 th channel among 14 channels included in the 2.4G frequency band) included in the 2.4G frequency band. Further, the terminal device transmits (or receives) a modulated signal transmitted by the chip through the second channel using the first rf gain based on the loop back path of the chip, and detects a transmission power (i.e., a second transmission power) when the chip transmits the modulated signal through the second channel using the first rf gain.
And S403, the terminal device adjusts the first radio frequency gain based on the first transmission power and the second transmission power.
Specifically, the terminal device adjusting the first radio frequency gain based on the first transmission power and the second transmission power may include the following two scenarios:
in a first mode
The terminal device determines a first power difference between the first transmit power and the second transmit power, and further, the terminal device may determine an adjustment amount of the first rf gain based on the first power difference, and adjust the first rf gain based on the adjustment amount of the first rf gain.
It can be understood that there is a direct ratio between the rf gain and the transmission power, for example, please refer to table 2, where table 2 is a first rf gain table of the chip transmitting the modulation signal at 2442 MHz. Wherein, the difference between the first rf gain transmission powers corresponding to the adjacent index values is D ', for example, the difference between the transmission power of the modulation signal transmitted by the chip using D1 and the transmission power of the modulation signal transmitted by the chip using D0 is D'.
In this case, after the terminal device determines the first transmission power and the second transmission power, the terminal device subtracts the second transmission power from the first transmission power to obtain a first power difference. Further, the terminal device may calculate an adjustment amount of the first rf gain by dividing the first power difference by d', and adjust the first rf gain according to the adjustment amount of the first rf gain. For example. When the first power difference is P', the adjustment amount Δ D of the first rf gain can be determined by equation (1):
Figure BDA0002989404150000161
further, the terminal device may update the first radio frequency gain D to D + Δ D.
Mode two
And if the terminal equipment detects that the second transmission power is smaller than the first transmission power, controlling the chip to transmit a modulation signal based on a second radio frequency gain in a second channel, wherein the second radio frequency gain is larger than the first radio frequency gain. Further, the terminal device detects a third transmission power when the chip transmits the modulation signal based on a second radio frequency gain, and if a difference value between the third transmission power and the first transmission power is smaller than or equal to a first threshold value, the terminal device adjusts the first radio frequency gain according to the second radio frequency gain.
And if the terminal equipment detects that the second transmission power is greater than the first transmission power, controlling the chip to transmit a modulation signal based on a third radio frequency gain on a second channel, wherein the third radio frequency gain is smaller than the first radio frequency gain. Further, the terminal device detects fourth transmission power of the chip when the chip transmits the modulation signal based on the third radio frequency gain in the second channel, and adjusts the first radio frequency gain according to the third radio frequency gain if a difference value between the fourth transmission power and the first transmission power is smaller than or equal to the first threshold.
The first threshold is a maximum value of the transmission power fluctuation of different channels of the chip, which is set by a developer, and a specific numerical value of the first threshold may be set according to a specific application scenario, which is not specifically limited by the present scheme.
Illustratively, the second transmission power is a transmission power of the chip when the chip transmits the modulation signal at the first radio frequency gain D3 on the second channel (currently available channel), the first transmission power is a transmission power of the chip when the chip transmits the modulation signal at the first radio frequency gain D3 on the second channel (target channel) (target transmission power), and the first threshold is 0.1 dB. In such a case, the terminal device obtains the second transmission power and the first transmission power, and if the second transmission power is smaller than the first transmission power, the terminal device adjusts the first rf gain up according to table 2 (which may be D4, D5 sequentially up), and detects the third transmission power corresponding to the first rf gain (i.e., the second rf gain) after each adjustment until it is detected that the difference between the third transmission power and the first transmission power is smaller than or equal to the first threshold. If the difference between the third transmit power and the first transmit power when the modulated signal is transmitted with the first rf gain D5 after being adjusted up (i.e., the second rf gain) is detected to be less than or equal to the first threshold, the first rf gain is adjusted according to the second rf gain, i.e., the first rf gain is updated to D5 (i.e., the second rf gain).
In another example, the second transmit power is a transmit power of the chip when the chip transmits the modulated signal at the first radio frequency gain D3 on the second channel (currently available channel), the first transmit power is a transmit power of the chip (target transmit power) when the chip transmits the modulated signal at the first radio frequency gain D3 on the second channel (target channel), and the first threshold is 0.1 dB. In such a case, the terminal device obtains the second transmission power and the first transmission power, if the second transmission power is greater than the first transmission power, the terminal device down-regulates the first rf gain according to table 2 (D2 and D1 may be sequentially downward), and detects the fourth transmission power corresponding to the first rf gain (i.e., the third rf gain) after each down-regulation until it is detected that a difference between the first transmission power and the fourth transmission power is less than or equal to the first threshold. If it is detected that the difference between the fourth transmit power and the first transmit power when the modulated signal is transmitted with the down-adjusted first rf gain (i.e., the third rf gain) D1 is less than or equal to the first threshold, the first rf gain is adjusted according to the third rf gain, i.e., the first rf gain is updated to D1 (i.e., the third rf gain).
S404, the terminal equipment transmits a modulation signal in a second channel based on the adjusted first radio frequency gain.
The terminal device deploying the chip is based on the calibration circuit of the chip, and after adjusting the first radio frequency gain of the chip for transmitting the modulation signal in the current channel (i.e. the second channel), the signal transmission path (e.g. path 51 in fig. 5) through the chip transmits the modulation signal in the current channel (i.e. the second channel) based on the adjusted first radio frequency gain.
Therefore, by adopting the method, the transmitting power of the terminal equipment when the chip transmits the modulation signal in any channel is approximately the same (namely approaches to the target transmitting power), thereby reducing the transmitting power fluctuation of the chip when the chip transmits the modulation signal in different channels.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a chip transmit power calibration apparatus provided in an embodiment of the present invention, where the chip transmit power calibration apparatus includes:
a processing unit 601, configured to determine a first transmit power of a first class chip transmit tone signal, where the first transmit power is an average transmit power of the first class chip transmit tone signal;
a transceiver unit 602, configured to obtain a second transmit power of a chip transmitting a single tone signal, where the chip belongs to one of the first kind of chips;
the processing unit 601 is further configured to determine an adjustment amount of a first radio frequency gain of the chip based on the first transmit power and the second transmit power, where the first radio frequency gain is used for the chip to send a modulation signal;
the processing unit 601 is further configured to adjust the first rf gain of the chip based on the adjustment amount of the first rf gain of the chip.
In one possible implementation, the processing unit 601 is further configured to control the chip to transmit a single tone signal based on a preset frequency and a second radio frequency gain corresponding to the preset frequency; detecting a second transmitting power of the chip for transmitting the single-tone signal, and storing the second transmitting power in a memory of the chip; the transceiver unit 602 is specifically configured to obtain a second transmit power of the chip for transmitting the single tone signal from the memory of the chip.
In a possible implementation, the processing unit 601 is specifically configured to determine an adjustment amount of the second radio frequency gain based on the first transmit power and the second transmit power; and determining the adjustment quantity of the second radio frequency gain as the adjustment quantity of the first radio frequency gain of the chip.
In one possible implementation, the processing unit 601 is specifically configured to determine a first power difference between the first transmit power and the second transmit power; and determining the adjustment amount of the second radio frequency gain based on the first power difference value.
In a possible implementation, the processing unit 601 is specifically configured to control the chip to transmit a single tone signal based on a third rf gain if the second transmit power is less than the first transmit power, where the third rf gain is greater than the second rf gain; detecting a third transmit power at which the chip transmits a single tone signal based on the third radio frequency gain; and if the difference between the third transmission power and the first transmission power is smaller than or equal to a first threshold, determining that the difference between the third radio frequency gain and the second radio frequency gain is an adjustment amount of a second radio frequency gain.
In a possible implementation, the processing unit 601 is specifically configured to control the chip to transmit a single tone signal based on a fourth rf gain if the second transmit power is greater than the first transmit power, where the fourth rf gain is smaller than the second rf gain; detecting a fourth transmit power at which the chip transmits a single tone signal based on the fourth radio frequency gain; and if the difference between the fourth transmission power and the first transmission power is smaller than or equal to a first threshold, determining that the difference between the fourth radio frequency gain and the second radio frequency gain is an adjustment amount of the second radio frequency gain.
When the chip transmission power calibration device is deployed in terminal equipment, the device comprises:
a transceiving unit 602, configured to obtain a first transmit power of a chip in a terminal device transmitting a modulation signal using a first radio frequency gain in a first channel;
a processing unit 601, configured to detect a second transmit power of the chip when the chip transmits the modulated signal using the first rf gain in the second channel;
the processing unit 601 is further configured to adjust a first radio frequency gain based on the first transmit power and the second transmit power;
the transceiver 602 is further configured to transmit a modulation signal in a second channel based on the adjusted first rf gain.
In one possible implementation, the processing unit 601 is specifically configured to determine a first power difference between a first transmit power and a second transmit power; determining an adjustment amount of a first radio frequency gain based on the first power difference value; and adjusting the first radio frequency gain based on the adjustment amount of the first radio frequency gain.
In a possible implementation, the processing unit 601 is specifically configured to transmit the modulation signal based on a second rf gain if the second transmit power is smaller than the first transmit power, where the second rf gain is greater than the first rf gain; detecting third transmitting power of the chip when the chip transmits the modulation signal based on the second radio frequency gain; and if the difference value between the first transmission power and the third transmission power is less than or equal to the first threshold value, adjusting the first radio frequency gain according to the second radio frequency gain.
In a possible implementation, the processing unit 601 is specifically configured to transmit the modulation signal based on a third rf gain if the second transmit power is greater than the first transmit power, where the third rf gain is smaller than the first rf gain; detecting fourth transmission power of the chip when the chip transmits the modulation signal based on the third radio frequency gain; and if the difference value between the fourth transmission power and the first transmission power is less than or equal to the first threshold value, adjusting the first radio frequency gain according to the third radio frequency gain.
It should be noted that the functions of each unit module of the chip transmit power calibration apparatus described in the embodiment of the present invention may be specifically implemented according to the method in the method embodiment described in fig. 3 or fig. 4, and the specific implementation process may refer to the description related to the method embodiment of fig. 3 or fig. 4, which is not described herein again.
Please refer to fig. 7, fig. 7 is a schematic structural diagram of a terminal device according to the present application. The terminal device 70 described in the present application includes: the processor 701, the memory 702, the processor 701 and the memory 702 are connected by one or more communication buses.
The Processor 701 may be a Central Processing Unit (CPU), and may also be other general purpose processors, Digital Signal Processors (DSP), Application Specific Integrated Circuits (ASIC), Field-Programmable Gate arrays (FPGA) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and so on. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The processor 701 is configured to support the user equipment to perform the corresponding functions of the terminal equipment in the method described in fig. 3 or fig. 4.
The memory 702 may include read-only memory and random access memory, and provides computer programs and data to the processor 701. A portion of the memory 702 may also include non-volatile random access memory. Wherein:
in one embodiment, the processor 701, when calling the computer program, is configured to perform:
determining a first transmit power of a first class chip transmit tone signal, the first transmit power being an average transmit power of the first class chip transmit tone signal; acquiring second transmitting power of a chip for transmitting a single-tone signal, wherein the chip belongs to one of the first kind of chips; determining an adjustment amount of a first radio frequency gain of the chip based on the first transmission power and the second transmission power, wherein the first radio frequency gain is used for the chip to send a modulation signal; and adjusting the first radio frequency gain of the chip based on the adjustment amount of the first radio frequency gain of the chip.
In one possible implementation, the processor 701 is further configured to control the chip to transmit a single-tone signal based on a preset frequency and a second radio frequency gain corresponding to the preset frequency; detecting a second transmitting power of the chip for transmitting the single-tone signal, and storing the second transmitting power in a memory of the chip; and acquiring second transmitting power of the chip for transmitting the single-tone signal from the memory of the chip.
In one possible implementation, the processor 701 is specifically configured to determine an adjustment amount of the second rf gain based on the first transmit power and the second transmit power; and determining the adjustment quantity of the second radio frequency gain as the adjustment quantity of the first radio frequency gain of the chip.
In one possible implementation, the processor 701 is specifically configured to determine a first power difference between the first transmit power and the second transmit power; and determining the adjustment amount of the second radio frequency gain based on the first power difference value.
In one possible implementation, the processor 701 is specifically configured to control the chip to transmit a single tone signal based on a third rf gain if the second transmit power is less than the first transmit power, where the third rf gain is greater than the second rf gain; detecting a third transmit power at which the chip transmits a single tone signal based on the third radio frequency gain; and if the difference between the third transmission power and the first transmission power is smaller than or equal to a first threshold, determining that the difference between the third radio frequency gain and the second radio frequency gain is an adjustment amount of a second radio frequency gain.
In one possible implementation, the processor 701 is specifically configured to control the chip to transmit a single-tone signal based on a fourth rf gain if the second transmit power is greater than the first transmit power, where the fourth rf gain is smaller than the second rf gain; detecting a fourth transmit power at which the chip transmits a single tone signal based on the fourth radio frequency gain; and if the difference between the fourth transmission power and the first transmission power is smaller than or equal to a first threshold, determining that the difference between the fourth radio frequency gain and the second radio frequency gain is an adjustment amount of the second radio frequency gain.
In a specific implementation, the processor 701 and the memory 702 described in the embodiment of the present invention may execute the implementation manner described in the method embodiment shown in fig. 3 provided in the embodiment of the present invention, and may also execute the implementation method of the chip transmission power calibration apparatus described in fig. 6 provided in the embodiment of the present invention, which is not described herein again.
In another embodiment, when the chip transmission power calibration apparatus is deployed in a terminal device, the processor 701 is configured to execute, when invoking the computer program: acquiring first transmission power of a chip in terminal equipment for transmitting a modulation signal by using a first radio frequency gain in a first channel; detecting a second transmission power of the chip when the chip transmits a modulation signal by using the first radio frequency gain in a second channel; adjusting a first radio frequency gain based on the first transmit power and the second transmit power; and transmitting the modulation signal in the second channel based on the adjusted first radio frequency gain.
In one possible implementation, the processor 701 is specifically configured to determine a first power difference between the first transmit power and the second transmit power; determining an adjustment amount of a first radio frequency gain based on the first power difference value; and adjusting the first radio frequency gain based on the adjustment amount of the first radio frequency gain.
In one possible implementation, the processor 701 is specifically configured to transmit the modulation signal based on a second rf gain if the second transmit power is smaller than the first transmit power, where the second rf gain is greater than the first rf gain; detecting third transmitting power of the chip when the chip transmits the modulation signal based on the second radio frequency gain; and if the difference value between the first transmission power and the third transmission power is less than or equal to the first threshold value, adjusting the first radio frequency gain according to the second radio frequency gain.
In one possible implementation, the processor 701 is specifically configured to transmit the modulation signal based on a third rf gain if the second transmit power is greater than the first transmit power, where the third rf gain is smaller than the first rf gain; detecting fourth transmission power of the chip when the chip transmits the modulation signal based on the third radio frequency gain; and if the difference value between the fourth transmission power and the first transmission power is less than or equal to the first threshold value, adjusting the first radio frequency gain according to the third radio frequency gain.
In specific implementation, the processor 701 and the memory 702 described in the embodiment of the present invention may execute the implementation manner described in the method embodiment shown in fig. 4 provided in the embodiment of the present invention, and may also execute the implementation method of the chip transmission power calibration apparatus described in fig. 6 provided in the embodiment of the present invention, which is not described herein again.
The present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program may be used to implement the chip transmit power calibration method described in the embodiment corresponding to fig. 3 or fig. 4 in the present application, which is not described herein again.
The computer readable storage medium may be an internal storage unit of the terminal device according to any of the foregoing embodiments, for example, a hard disk or a memory of the device. The computer-readable storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the device. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the terminal device. The computer-readable storage medium is used for storing the computer program and other programs and data required by the terminal device. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
It will be understood by those skilled in the art that all or part of the processes in the methods of the embodiments described above may be implemented by a computer program, which may be stored in a readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (14)

1. A method for calibrating chip transmit power, the method comprising:
determining a first transmit power of a first class chip transmit tone signal, the first transmit power being an average transmit power of the first class chip transmit tone signal;
acquiring second transmitting power of a chip for transmitting a single-tone signal, wherein the chip belongs to one of the first kind of chips;
determining an adjustment amount of a first radio frequency gain of the chip based on the first transmission power and the second transmission power, wherein the first radio frequency gain is used for the chip to send a modulation signal;
and adjusting the first radio frequency gain of the chip based on the adjustment amount of the first radio frequency gain of the chip.
2. The method of claim 1, further comprising:
controlling the chip to transmit a single-tone signal based on a preset frequency and a second radio frequency gain corresponding to the preset frequency;
detecting a second transmitting power of the chip for transmitting the single-tone signal, and storing the second transmitting power in a memory of the chip;
the obtaining of the second transmission power of the chip transmitting single-tone signals comprises:
and acquiring second transmitting power of the chip for transmitting the single-tone signal from the memory of the chip.
3. The method of claim 2, wherein the determining an adjustment amount for a first rf gain of the chip based on the first transmit power and the second transmit power comprises:
determining an adjustment amount of the second radio frequency gain based on the first transmit power and the second transmit power;
and determining the adjustment quantity of the second radio frequency gain as the adjustment quantity of the first radio frequency gain of the chip.
4. The method of claim 3, wherein the determining the adjustment amount of the second RF gain based on the first transmit power and the second transmit power comprises:
determining a first power difference between the first transmit power and the second transmit power;
and determining the adjustment amount of the second radio frequency gain based on the first power difference value.
5. The method of claim 3, wherein the determining the adjustment amount of the second RF gain based on the first transmit power and the second transmit power comprises:
if the second transmission power is less than the first transmission power, controlling the chip to transmit a single-tone signal based on a third radio frequency gain, wherein the third radio frequency gain is greater than the second radio frequency gain;
detecting a third transmit power at which the chip transmits a single tone signal based on the third radio frequency gain;
and if the difference between the third transmission power and the first transmission power is smaller than or equal to a first threshold, determining that the difference between the third radio frequency gain and the second radio frequency gain is an adjustment amount of a second radio frequency gain.
6. The method of claim 3, wherein the determining the adjustment amount of the second RF gain based on the first transmit power and the second transmit power comprises:
if the second transmission power is larger than the first transmission power, controlling the chip to transmit a single-tone signal based on a fourth radio frequency gain, wherein the fourth radio frequency gain is smaller than the second radio frequency gain;
detecting a fourth transmit power at which the chip transmits a single tone signal based on the fourth radio frequency gain;
and if the difference between the fourth transmission power and the first transmission power is smaller than or equal to a first threshold, determining that the difference between the fourth radio frequency gain and the second radio frequency gain is an adjustment amount of the second radio frequency gain.
7. An apparatus for calibrating chip transmit power, the apparatus comprising:
the processing unit is used for determining first transmission power of a first kind of chip transmission single-tone signal, wherein the first transmission power is average transmission power of the first kind of chip transmission single-tone signal;
the receiving and transmitting unit is used for obtaining second transmitting power of a chip for transmitting a single-tone signal, wherein the chip belongs to one of the first kind of chips;
the processing unit is further configured to determine an adjustment amount of a first radio frequency gain of the chip based on the first transmit power and the second transmit power, where the first radio frequency gain is used for the chip to send a modulation signal;
the processing unit is further configured to adjust the first radio frequency gain of the chip based on the adjustment amount of the first radio frequency gain of the chip.
8. The apparatus of claim 7, wherein the processing unit is further configured to:
controlling the chip to transmit a single-tone signal based on a preset frequency and a second radio frequency gain corresponding to the preset frequency;
detecting a second transmitting power of the chip for transmitting the single-tone signal, and storing the second transmitting power in a memory of the chip;
the transceiver unit is specifically configured to: and acquiring second transmitting power of the chip for transmitting the single-tone signal from the memory of the chip.
9. The apparatus according to claim 8, wherein the processing unit is specifically configured to:
determining an adjustment amount of the second radio frequency gain based on the first transmit power and the second transmit power;
and determining the adjustment quantity of the second radio frequency gain as the adjustment quantity of the first radio frequency gain of the chip.
10. The apparatus according to claim 9, wherein the processing unit is specifically configured to:
determining a first power difference between the first transmit power and the second transmit power;
and determining the adjustment amount of the second radio frequency gain based on the first power difference value.
11. The apparatus according to claim 9, wherein the processing unit is specifically configured to:
if the second transmission power is less than the first transmission power, controlling the chip to transmit a single-tone signal based on a third radio frequency gain, wherein the third radio frequency gain is greater than the second radio frequency gain;
detecting a third transmit power at which the chip transmits a single tone signal based on the third radio frequency gain;
and if the difference between the third transmission power and the first transmission power is smaller than or equal to a first threshold, determining that the difference between the third radio frequency gain and the second radio frequency gain is an adjustment amount of a second radio frequency gain.
12. The apparatus according to claim 9, wherein the processing unit is specifically configured to:
if the second transmission power is larger than the first transmission power, controlling the chip to transmit a single-tone signal based on a fourth radio frequency gain, wherein the fourth radio frequency gain is smaller than the second radio frequency gain;
detecting a fourth transmit power at which the chip transmits a single tone signal based on the fourth radio frequency gain;
and if the difference between the fourth transmission power and the first transmission power is smaller than or equal to a first threshold, determining that the difference between the fourth radio frequency gain and the second radio frequency gain is an adjustment amount of the second radio frequency gain.
13. A terminal device, characterized in that it comprises a processor and a memory, said processor and said memory being interconnected, wherein said memory is adapted to store a computer program comprising program instructions, said processor being configured to invoke said program instructions to perform the method according to any one of claims 1-6.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the method according to any one of claims 1-6.
CN202110310568.3A 2021-03-23 2021-03-23 Chip transmitting power calibration method and device Active CN113078963B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110310568.3A CN113078963B (en) 2021-03-23 2021-03-23 Chip transmitting power calibration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110310568.3A CN113078963B (en) 2021-03-23 2021-03-23 Chip transmitting power calibration method and device

Publications (2)

Publication Number Publication Date
CN113078963A true CN113078963A (en) 2021-07-06
CN113078963B CN113078963B (en) 2022-06-21

Family

ID=76613585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110310568.3A Active CN113078963B (en) 2021-03-23 2021-03-23 Chip transmitting power calibration method and device

Country Status (1)

Country Link
CN (1) CN113078963B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116366183A (en) * 2023-05-31 2023-06-30 高拓讯达(北京)微电子股份有限公司 Method and device for calibrating chip transmitting power, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409911A (en) * 2008-11-21 2009-04-15 闻泰集团有限公司 PHS mobile phone and emission power control method thereof
US20120264378A1 (en) * 2011-04-15 2012-10-18 Qualcomm Incorporated Methods and apparatus for power amplifier calibration

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409911A (en) * 2008-11-21 2009-04-15 闻泰集团有限公司 PHS mobile phone and emission power control method thereof
US20120264378A1 (en) * 2011-04-15 2012-10-18 Qualcomm Incorporated Methods and apparatus for power amplifier calibration

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116366183A (en) * 2023-05-31 2023-06-30 高拓讯达(北京)微电子股份有限公司 Method and device for calibrating chip transmitting power, electronic equipment and storage medium
CN116366183B (en) * 2023-05-31 2023-08-15 高拓讯达(北京)微电子股份有限公司 Method and device for calibrating chip transmitting power, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113078963B (en) 2022-06-21

Similar Documents

Publication Publication Date Title
US8046024B2 (en) Multi-radio platform with WiMax and bluetooth radio modules and method
KR20210020462A (en) Electronic device for adjusting transmission power based on sar and method for operating thereof
US11191034B2 (en) Electronic device for backing off transmission power based on SAR and operation method thereof
EP3282811B1 (en) Transmission power adjustment method and apparatus
US20140155051A1 (en) Jurisdiction based parameter setting for wireless transceivers
US11172464B2 (en) Communication method and related apparatus
US11076448B2 (en) Apparatus and method for selecting uplink based on communication state
US8989810B2 (en) Methods performed by wireless communications devices to alleviate self-interference
US11917590B2 (en) Terminal and control method to optimize transmission/reception beam width in wireless communication system
CN109347508B (en) Mobile terminal and power detection method
KR20200040073A (en) Method for mitigating interference between cells in dynamic time division duplex environment and electronic device thereof
KR101528495B1 (en) An apparatus of matching impedance in dual standby portable terminal and a method thereof
KR20210130063A (en) Electronic device and method for setting an antenna path of a transmittion signal in the electronic device
WO2021189388A1 (en) Wireless communication device and antenna switching method therefor
CN113078963B (en) Chip transmitting power calibration method and device
CN109565294B (en) Coexistence of radio modules in electronic devices
US20120244854A1 (en) Mobile Communication Terminal and Communication Method Thereof
US20230217376A1 (en) Method for reporting and controlling power, and terminal, base station and communication system
EP4207609A1 (en) Short-range communication apparatus, chip, and control method
US10181832B1 (en) Multimode transmit power control loop, electronic device, and method of adjusting a detected operating level of amplified power output
CN114374968A (en) Terminal capability reporting method, device and equipment
KR20210012810A (en) An optimal antenna setting method in multiple connection environment and electronic device using it
KR20210020456A (en) Electronic device for adjusting antenna setting and method for operating thereof
US20230337146A1 (en) Wi-fi power-adjusting method and device thereof
CN114885343B (en) Communication method and device and storage medium

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
GR01 Patent grant
GR01 Patent grant