CN112769504A - Transmission power calibration method, electronic device, and storage medium - Google Patents

Transmission power calibration method, electronic device, and storage medium Download PDF

Info

Publication number
CN112769504A
CN112769504A CN202110097054.4A CN202110097054A CN112769504A CN 112769504 A CN112769504 A CN 112769504A CN 202110097054 A CN202110097054 A CN 202110097054A CN 112769504 A CN112769504 A CN 112769504A
Authority
CN
China
Prior art keywords
gain
signal
power
power amplifier
terminal
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
CN202110097054.4A
Other languages
Chinese (zh)
Other versions
CN112769504B (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 CN202110097054.4A priority Critical patent/CN112769504B/en
Publication of CN112769504A publication Critical patent/CN112769504A/en
Application granted granted Critical
Publication of CN112769504B publication Critical patent/CN112769504B/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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application provides a transmission power calibration method, electronic equipment and a storage medium, and relates to the technical field of equipment calibration. The method for calibrating the transmitting power comprises the following steps: firstly, a baseband chip of a terminal to be calibrated sends a gain adjustment parameter received from a first control terminal to a power amplifier of the terminal to be calibrated, so that the power amplifier determines a configuration gain. Then, the power amplifier amplifies the first signal according to the configuration gain to obtain a second signal, and sends the second signal to the first control terminal. And finally, the first control terminal determines the actual gain of the power amplifier according to the second signal, and determines whether to continuously determine a gain adjustment parameter according to the actual gain and the target gain so as to calibrate the terminal to be calibrated. Therefore, the calibration range of the transmitting power is enlarged, and the calibration accuracy is improved.

Description

Transmission power calibration method, electronic device, and storage medium
[ technical field ] A method for producing a semiconductor device
The present application relates to the field of device calibration technologies, and in particular, to a transmission power calibration method, an electronic device, and a storage medium.
[ background of the invention ]
Before transmitting a signal, the mobile terminal needs to adjust the power of the signal to be transmitted, so that the signal transmission power meets the design requirement of the mobile terminal. However, when the mobile terminals are produced in batches, because the performance indexes of the production materials have a consistency problem, it is difficult to ensure that the transmission power of the produced mobile terminals meets the requirements, and therefore, the transmission power of the corresponding mobile terminals needs to be calibrated in the production stage.
At present, when power calibration is performed on a mobile terminal, the output power of a radio frequency chip is mainly adjusted. However, the adjustable range of the output power of the radio frequency chip is small, so that the calibration range is limited, and the calibration accuracy is affected.
[ summary of the invention ]
The embodiment of the application provides a transmission power calibration method, electronic equipment and a storage medium, so that the calibration range of the transmission power is expanded, and the calibration accuracy is improved.
In a first aspect, an embodiment of the present application provides a method for calibrating transmission power, where the method is applied to a first control terminal, and includes: sending a gain adjustment parameter to a baseband chip of a terminal to be calibrated, wherein the gain adjustment parameter is sent to a power amplifier of the terminal to be calibrated by the baseband chip and is used for determining the configuration gain of the power amplifier; receiving a second signal which is output by the power amplifier through power amplification on the first signal under the configuration gain; determining an actual gain of the power amplifier according to the received second signal; if the actual gain is consistent with the target gain, stopping the transmission power calibration of the terminal to be calibrated; otherwise, determining a gain adjustment value according to the actual gain and the target gain, and sending the gain adjustment value as the gain adjustment parameter to the baseband chip to continue to calibrate the transmitting power of the terminal to be calibrated.
In one possible implementation manner, before receiving a second signal that is output by the power amplifier through power amplification of the first signal under the configured gain, the method further includes: sending a first transmission parameter to the baseband chip, wherein the first transmission parameter is used for determining the initial power of an initial signal required to be generated by the baseband chip; and sending a second transmission parameter to a baseband chip of the terminal to be calibrated, wherein the second transmission parameter is sent to a radio frequency chip of the terminal to be calibrated by the baseband chip, and the second transmission parameter is used for determining the first power of a first signal generated by the radio frequency chip according to the initial signal.
In one possible implementation manner, after the second transmission parameter sent to the baseband chip of the terminal to be calibrated is sent to the radio frequency chip of the terminal to be calibrated by the baseband chip, the method further includes: and sending a transmitting instruction to the baseband chip, wherein the transmitting instruction is used for instructing the baseband chip to generate an initial signal according to the determined initial power and output the initial signal to the radio frequency chip, so that the radio frequency chip generates a first signal according to the determined first power and outputs the first signal to the power amplifier when receiving the initial signal.
In one possible implementation manner, determining an actual gain of the power amplifier according to the received second signal includes: performing signal demodulation on the second signal, and determining second power of the second signal; determining an actual gain of the power amplifier based on the second power and the first power of the first signal.
In one possible implementation manner, determining a gain adjustment value according to the actual gain and the target gain includes: according to the formula T ═ G1-G2Determining a gain adjustment value; wherein T is the gain adjustment value; g1Is the target gain; g2Is the actual gain.
In a second aspect, an embodiment of the present application provides a transmit power calibration method, which is applied to a terminal to be calibrated, where the terminal to be calibrated includes a baseband chip and a power amplifier, and the method includes: the baseband chip receives the gain adjustment parameter sent by the first control terminal and sends the gain adjustment parameter to the power amplifier; the power amplifier determines a configuration gain according to the gain adjustment parameter; the power amplifier is used for carrying out power amplification on the first signal according to the configuration gain and generating a second signal; and the power amplifier sends the second signal to the first control terminal, so that the first control terminal determines the actual gain of the power amplifier according to the second signal and determines whether to continue transmitting power calibration according to the actual gain and the target gain.
In one possible implementation manner, the determining, by the power amplifier, a configured gain according to the gain adjustment parameter includes: and the power amplifier adjusts the current gain stored in the internal register according to the gain adjustment parameter so as to obtain the configured gain.
In one possible implementation manner, the terminal to be calibrated further includes a radio frequency chip; before the power amplifier performs power amplification on the first signal according to the configured gain and outputs the second signal, the method further includes: the baseband chip receives a first transmission parameter sent by the first control terminal, and sets an initial power according to the first transmission parameter, wherein the initial power is used for determining the signal power of an initial signal to be generated by the baseband chip; the baseband chip receives a second transmission parameter sent by the first control terminal and sends the second transmission parameter to the radio frequency chip; and the radio frequency chip sets first power according to the second transmission parameter, wherein the first power is used for determining the signal power of a first signal generated by the radio frequency chip according to the initial signal.
In one possible implementation manner, after the radio frequency chip sets the first power according to the second transmission parameter, the method further includes: the baseband chip responds to a received transmitting instruction sent by the first control terminal, generates an initial signal according to the initial power and outputs the initial signal to the radio frequency chip; and the radio frequency chip receives the initial signal, generates a first signal according to the first power and outputs the first signal to the power amplifier.
In a third aspect, an embodiment of the present application provides an electronic device, including: at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, the processor being capable of performing the method of the first aspect when invoked by the processor.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, the processor being capable of performing the method of the second aspect when invoked by the processor.
In a fifth aspect, embodiments of the present application provide a computer-readable storage medium storing computer instructions for causing a computer to perform the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer-readable storage medium storing computer instructions that cause the computer to perform the method according to the second aspect.
In the above technical solution, first, the baseband chip of the terminal to be calibrated sends the gain adjustment parameter received from the first control terminal to the power amplifier of the terminal to be calibrated, so that the power amplifier determines the configured gain. Then, the power amplifier amplifies the first signal according to the configuration gain to obtain a second signal, and sends the second signal to the first control terminal. And finally, the first control terminal determines the actual gain of the power amplifier according to the second signal, and determines whether to continuously determine a gain adjustment parameter according to the actual gain and the target gain so as to calibrate the terminal to be calibrated. Therefore, the calibration range of the transmitting power is enlarged, and the calibration accuracy is improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a scenario of a transmit power calibration method according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a transmit power calibration apparatus according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a method for calibrating transmission power according to an embodiment of the present application;
fig. 4 is a flowchart of another method for calibrating transmission power according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another transmission power calibration apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another transmission power calibration apparatus according to an embodiment of the present application;
fig. 7 is a schematic view of an electronic device according to an embodiment of the present application.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present application, the following detailed descriptions of the embodiments of the present application are provided with reference to the accompanying drawings.
It should be understood that the embodiments described are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
For convenience of understanding, a practical use scenario of the transmit power calibration method provided by the present application is described. As shown in fig. 1, in an actual scenario, a terminal involved in transmit power calibration provided in the embodiment of the present application includes: the terminal to be calibrated and the first control terminal. The first control terminal is used for calibrating the transmitting power of the terminal to be calibrated. The embodiment of the present application does not limit the specific terminal types of the first control terminal and the terminal to be calibrated. In a specific implementation process, the first control terminal may be, for example, a combination of a comprehensive tester and a computer terminal; the terminal to be calibrated can be a mobile phone terminal.
Further, as shown in fig. 2, the terminal to be calibrated may include a baseband chip, a radio frequency chip, a power amplifier, and a switch.
The baseband chip is connected with the radio frequency chip, the radio frequency chip is connected with the power amplifier, and the power amplifier is connected with the switch. The baseband chip can be used for generating an initial signal and outputting the initial signal to the radio frequency chip. The radio frequency chip may be configured to generate a first signal based on the initial signal and output the first signal to the power amplifier. The power amplifier can be used for performing power amplification on the first signal to obtain a second signal of which the transmission power meets the signal transmission requirement of the terminal to be calibrated. The switch may be operable to set the current state to a transmit state to enable the second signal to complete transmission.
Fig. 3 is a flowchart of a transmit power calibration method according to an embodiment of the present disclosure. As shown in fig. 3, the method for calibrating the transmission power may include:
step 101, a first control terminal sends a gain adjustment parameter to a baseband chip of a terminal to be calibrated.
In the embodiment of the present application, a baseband chip of a terminal to be calibrated may provide a Mobile Industry Processor Interface (MIPI). The first control terminal can send the gain adjustment parameter to the baseband chip through the MIPI interface of the baseband chip. The gain adjustment parameter can be used for adjusting the gain of the power amplifier of the terminal to be calibrated, so that the power of the output signal of the power amplifier is changed, and the calibration of the transmitting power of the terminal to be calibrated is further realized. The value of the gain adjustment parameter can be set by the first control terminal according to the actual need in the calibration process. In particular, the gain adjustment parameter may be set to 0, for example, when the calibration is performed for the first time, i.e., the current gain of the power amplifier may be kept unchanged during the first calibration.
And 102, receiving the gain adjustment parameter by a baseband chip of the terminal to be calibrated, and sending the gain adjustment parameter to a power amplifier of the terminal to be calibrated.
And 103, determining the configuration gain by the power amplifier according to the gain adjustment parameter.
In the embodiment of the present application, the power amplifier may include a register therein, and the register may be used to store the gain parameter of the power amplifier. After receiving the gain adjustment parameter, the power amplifier may adjust the gain parameter stored in the register, thereby obtaining the configured gain. The method comprises the steps that under the condition that the transmitting power of a terminal to be calibrated is calibrated for the first time, a gain parameter stored in a register can be the configuration gain of a power amplifier when the terminal to be calibrated leaves a factory; in the nth calibration case, the gain parameter stored in the register may be a configured gain determined by the power amplifier according to the gain adjustment parameter received last time when the calibration was performed last time. Wherein N is an integer greater than 1.
And 104, the power amplifier performs power amplification on the first signal according to the configuration gain to generate a second signal, and sends the second signal to the first control terminal.
Step 105 the first control terminal determines the actual gain of the power amplifier based on the received second signal.
In the embodiment of the application, due to a generation error existing in a material production process or signal interference in a signal transmission process, an actual gain of the power amplifier may deviate from a target gain. Thus, the first control terminal may determine the actual gain of the power amplifier from the second signal after receiving the second signal.
First, the second signal may be signal demodulated to determine a second power of the second signal.
The actual gain of the power amplifier may then be determined based on the second power and the first power of the first signal.
At this time, the first control terminal may determine whether the actual gain is consistent with the target gain. Wherein the target gain refers to a gain that the user desires to achieve.
In one possible implementation, the actual gain is consistent with the target gain, indicating that the actual gain has satisfied the gain that the user desires to achieve. At this time, the calibration of the transmission power of the terminal to be calibrated may be stopped.
In another possible implementation, the actual gain is not consistent with the target gain, which indicates that the actual gain does not satisfy the gain that the user desires to achieve. At this time, the first control terminal may determine a gain adjustment value according to the actual gain and the target gain, and send the gain adjustment value as a gain adjustment parameter to the baseband chip to continue to calibrate the transmission power of the terminal to be calibrated. In this implementation manner, the above steps may be repeated, and the terminal to be calibrated is calibrated for multiple times until the determined actual gain of the power amplifier is equal to the target gain.
When the first control terminal determines the gain adjustment value based on the actual gain and the target gain, the following procedure may be performed.
According to the formula T ═ G1-G2A gain adjustment value is determined. Wherein T is a gain adjustment value, G1To target gain, G2Is the actual gain.
In the embodiment of the application, after the gain calibration of the power amplifier is completed, other components on a signal transmission link of the terminal to be calibrated, such as a baseband chip, a radio frequency chip and the like, can be calibrated, so that the accuracy of the transmission power calibration is further improved. The specific calibration method is the prior art, and details are not described in the embodiments of the present application.
In the embodiment of the application, the gain value of the power amplifier of the terminal to be calibrated can be adjusted through the gain adjustment parameter, so that the signal power of the output signal of the power amplifier is changed, the transmitting power of the terminal to be calibrated is calibrated, and the calibration range of the transmitting power is expanded. In addition, the gain adjustment parameter value can be set for multiple times, so that the gain of the power amplifier is changed for multiple times, and the calibration accuracy is improved through multiple times of calibration.
In another embodiment of the present application, as shown in fig. 4, before the step 104, the following steps may be further included:
and step 1031, the first control terminal sends the first transmission parameter and the second transmission parameter to a baseband chip of the terminal to be calibrated.
In the embodiment of the present application, after receiving the first transmission parameter and the second transmission parameter, the baseband chip may first set a parameter value of its initial power according to the first transmission parameter, so as to determine the signal power of the initial signal to be generated. Secondly, the baseband chip can also send the second transmission parameter to the radio frequency chip.
In this embodiment of the application, after the radio frequency chip receives the second transmission parameter, a parameter value of the first power of the radio frequency chip may be set according to the second transmission parameter, so as to determine the signal power of the first signal generated according to the initial signal after receiving the initial signal transmitted by the baseband chip.
Step 1032, the first control terminal sends a transmission instruction to the baseband chip.
In the embodiment of the application, after the gain adjustment parameters and the transmission parameters of the terminal to be calibrated are configured, the first control terminal may send a transmission instruction to the baseband chip of the terminal to be calibrated, so that the terminal to be calibrated transmits signals according to the configured parameters.
Specifically, the baseband chip may generate an initial signal according to the configured initial power in response to the received transmission instruction, and output the initial signal to the radio frequency chip of the terminal to be calibrated. After the rf chip receives the initial signal, the rf chip may further generate a first signal based on the initial signal according to the configured first power, and output the first signal to the power amplifier of the terminal to be calibrated, so that step 104 may be executed, where the power amplifier performs power amplification on the first signal according to the configured gain to generate a second signal.
In the embodiment of the present application, the execution order of step 1031 and step 101 is not limited.
In a possible implementation manner, step 1031 and step 101 are executed simultaneously, that is, the first control terminal may send the gain adjustment parameter, the first transmission parameter, and the second transmission parameter to the baseband chip of the terminal to be calibrated simultaneously. Then, the baseband chip sends the gain adjustment parameter to the power amplifier, sends the second transmission parameter to the radio frequency chip, and sets the parameter value of the initial power according to the first transmission parameter.
In another possible implementation manner, the first control terminal may first execute step 101, and send the gain adjustment parameter to the baseband chip, and the baseband chip sends the gain adjustment parameter to the power amplifier, and then the power amplifier may determine the configured gain according to the gain adjustment parameter. At this time, the first control terminal performs step 1031 to send the first transmission parameter and the second transmission parameter to the baseband chip of the terminal to be calibrated.
In another possible implementation manner, the first control terminal may further perform step 1031, and after the baseband chip and the radio frequency chip set the initial power and the first power according to the received first transmission parameter and the second transmission parameter, the first control terminal performs step 101 to send the gain adjustment parameter to the baseband chip of the terminal to be calibrated.
In any of the above implementations, the execution order of step 1032 is after any of the above steps 101 and 1031.
In the embodiment of the application, the emission parameters of each part of the terminal to be calibrated can be configured according to the requirement of the actual calibration process, so that the emission power under each emission parameter can be calibrated, and the accuracy of emission power calibration is further improved.
In another embodiment of the present application, for convenience of understanding, a specific implementation process is taken as an example, and the implementation manner of the step 105 is further described.
In the embodiment of the present application, the first control terminal may include, for example, a comprehensive test instrument and a data processing terminal.
Firstly, the comprehensive test instrument can receive a second signal output by a power amplifier of a terminal to be calibrated, and demodulate the second signal to obtain a second power. The integrated test meter may transmit the determined second power to the data processing terminal.
Then, after the data processing terminal receives the second power sent by the comprehensive test instrument, the actual gain of the power amplifier can be determined according to the second power and the first power of the first signal before power amplification.
Further, the data processing terminal can also determine whether to continue calibration according to the magnitude relation between the actual gain and the target gain.
When the determined actual gain is not equal to the target gain, the data processing terminal can determine a new gain adjustment parameter again, and sends the new gain adjustment parameter to the baseband chip, and the baseband chip sends the new gain adjustment parameter to the power amplifier. Furthermore, the power amplifier can adjust the configured gain again according to the new gain adjustment parameter, determine the new configured gain, and perform power amplification on the first signal sent by the radio frequency chip again according to the new configured gain. And the data processing terminal receives the second signal obtained after the power amplification of the first signal again, and determines the actual gain of the power amplifier according to the second signal.
In the embodiment of the present application, the above steps may be repeatedly performed until the actual gain is equal to the target gain. Thus, the accuracy of the transmit power calibration can be improved.
For example, assuming a target gain of 25db for the power amplifier by the user, the configured gain of the power amplifier may be set to 25 db. If the data processing terminal derives an actual gain of the power amplifier of 28db, the power amplifier may be considered to have an error, and the actual gain does not satisfy the target gain desired by the user. At this time, the gain adjustment value may be determined to be-3 according to the formula T-25-28. And then, the data processing terminal sends the new gain adjustment parameter-3 to the power amplifier of the terminal to be calibrated, so that the power amplifier adjusts the current gain according to the-3 and determines that the new configuration gain is 25db-3db, namely 22 db. In the case of a configuration gain of 22db, the second signal is reacquired and a new actual gain is determined. And repeating the steps until the actual gain is 25db, and finishing the transmission power calibration process.
Fig. 5 shows a possible structure diagram of the first control terminal involved in the above-described embodiment, in the case of dividing each functional module by corresponding functions. As shown in fig. 5, the first control terminal 40 may include: a sending module 41, a receiving module 42, a determining module 43 and a processing module 44.
And a sending module 41, configured to send the gain adjustment parameter to a baseband chip of the terminal to be calibrated. The gain adjustment parameter can be sent to a power amplifier of the terminal to be calibrated by the baseband chip, and the gain adjustment parameter is used for determining the configuration gain of the power amplifier.
And the receiving module 42 is configured to receive the second signal, which is output by the power amplifier through power amplification of the first signal under the configured gain.
A determining module 43, configured to determine an actual gain of the power amplifier according to the received second signal.
And the processing module 44 is configured to stop performing the transmit power calibration on the terminal to be calibrated when the actual gain is consistent with the target gain. And when the actual gain is not consistent with the target gain, determining a gain adjustment value according to the actual gain and the target gain, and sending the gain adjustment value as a gain adjustment parameter to the baseband chip by the sending module 41 to continue to calibrate the transmitting power of the terminal to be calibrated.
In a specific implementation process, before the receiving module 42 receives the second signal that is output by the power amplifier performing power amplification on the first signal under the configured gain, the sending module 41 is further configured to send the first transmission parameter and the second transmission parameter to the baseband chip. Wherein the first transmission parameter can be used to determine the initial power of the initial signal that the baseband chip needs to generate. The second transmission parameter may be sent by the baseband chip to the radio frequency chip of the terminal to be calibrated, and the second transmission parameter may be used to determine the first power of the first signal generated by the radio frequency chip according to the initial signal.
After the second transmission parameter sent by the sending module 41 to the baseband chip of the terminal to be calibrated is sent to the radio frequency chip of the terminal to be calibrated by the baseband chip, the sending module 41 is further configured to: and sending a transmitting instruction to the baseband chip. The transmission instruction can be used for instructing the baseband chip to generate an initial signal according to the determined initial power and output the initial signal to the radio frequency chip, so that the radio frequency chip generates a first signal according to the determined first power and outputs the first signal to the power amplifier when receiving the initial signal.
Fig. 6 shows a possible structure diagram of the terminal to be calibrated in the above embodiment, in the case of dividing each functional module according to each function. As shown in fig. 6, the terminal 50 to be calibrated may include: : a receiving module 51, a determining module 52, a generating module 53 and a transmitting module 54.
And the receiving module 51 is configured to receive the gain adjustment parameter sent by the first control terminal, and send the gain adjustment parameter to the power amplifier.
A determining module 52 for determining the configured gain according to the gain adjustment parameter.
A generating module 53, configured to power amplify the first signal according to the configured gain and generate a second signal.
And a sending module 54, configured to send the second signal to the first control terminal.
In a specific implementation process, before the generating module 53 performs power amplification on the first signal according to the configured gain and generates the second signal, the receiving module 51 is further configured to receive the first transmission parameter and the second transmission parameter sent by the first control terminal. The sending module 54 is further configured to send the second transmission parameter to the rf chip. The determining module 52 is further configured to set the initial power according to the first transmission parameter and set the first power according to the second transmission parameter after the receiving module 51 receives the above parameters.
After the determining module 52 sets the first power according to the second transmission parameter, the receiving module 51 is further configured to receive a transmission instruction sent by the first control terminal, and the generating module 53 is further configured to generate an initial signal according to the initial power and output the initial signal to the radio frequency chip after the receiving module receives the transmission instruction, and generate a first signal according to the first power and output the first signal to the power amplifier on the basis of the initial signal.
In the embodiment of the application, the gain value of the power amplifier of the terminal to be calibrated can be adjusted through the gain adjustment parameter, so that the signal power of the output signal of the power amplifier is changed, the transmitting power of the terminal to be calibrated is calibrated, and the calibration range of the transmitting power is expanded. In addition, the gain adjustment parameter value can be set for multiple times, so that the gain of the power amplifier is changed for multiple times, and the calibration accuracy is improved through multiple times of calibration.
Fig. 7 is a schematic diagram of an electronic device according to an embodiment of the present application, where the electronic device may include at least one processor, as shown in fig. 7; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the transmission power calibration method provided by the embodiment of the application.
The electronic device may be a transmission power calibration device, and the embodiment does not limit the specific form of the electronic device.
FIG. 7 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present application. The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 7, the electronic device is in the form of a general purpose computing device. Components of the electronic device may include, but are not limited to: one or more processors 410, a memory 430, a communication interface 420, and a communication bus 440 that connects the various system components (including the memory 430 and the processors 410).
Communication bus 440 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Electronic devices typically include a variety of computer system readable media. Such media may be any available media that is accessible by the electronic device and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 430 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) and/or cache Memory. The electronic device may further include other removable/non-removable, volatile/nonvolatile computer system storage media. Although not shown in FIG. 7, a disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), a Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the communication bus 440 by one or more data media interfaces. Memory 430 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility having a set (at least one) of program modules, including but not limited to an operating system, one or more application programs, other program modules, and program data, may be stored in memory 430, each of which examples or some combination may include an implementation of a network environment. The program modules generally perform the functions and/or methodologies of the embodiments described herein.
The electronic device may also communicate with one or more external devices (e.g., keyboard, pointing device, display, etc.), one or more devices that enable a user to interact with the electronic device, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device to communicate with one or more other computing devices. Such communication may occur via communication interface 420. Furthermore, the electronic device may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) via a Network adapter (not shown in FIG. 7) that may communicate with other modules of the electronic device via the communication bus 440. It should be appreciated that although not shown in FIG. 7, other hardware and/or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape Drives, and data backup storage systems, among others.
The processor 410 executes programs stored in the memory 430 to perform various functional applications and data processing, such as implementing the transmit power calibration method provided by the embodiments of the present application.
An embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the transmit power calibration method provided in the embodiment of the present application.
The computer-readable storage medium described above may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable compact disc Read Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of Network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It should be noted that the terminal according to the embodiments of the present application may include, but is not limited to, a Personal Computer (Personal Computer; hereinafter, referred to as PC), a Personal Digital Assistant (Personal Digital Assistant; hereinafter, referred to as PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a mobile phone, an MP3 player, an MP4 player, and the like.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (12)

1. A method for calibrating transmission power, which is applied to a first control terminal, comprises the following steps:
sending a gain adjustment parameter to a baseband chip of a terminal to be calibrated, wherein the gain adjustment parameter is sent to a power amplifier of the terminal to be calibrated by the baseband chip and is used for determining the configuration gain of the power amplifier;
receiving a second signal which is output by the power amplifier through power amplification on the first signal under the configuration gain;
determining an actual gain of the power amplifier according to the received second signal;
if the actual gain is consistent with the target gain, stopping the transmission power calibration of the terminal to be calibrated; otherwise, determining a gain adjustment value according to the actual gain and the target gain, and sending the gain adjustment value as the gain adjustment parameter to the baseband chip to continue to calibrate the transmitting power of the terminal to be calibrated.
2. The method of claim 1, wherein before receiving the second signal that is output by the power amplifier for power amplification of the first signal at the configured gain, the method further comprises:
sending a first transmission parameter to the baseband chip, wherein the first transmission parameter is used for determining the initial power of an initial signal required to be generated by the baseband chip;
and sending a second transmission parameter to a baseband chip of the terminal to be calibrated, wherein the second transmission parameter is sent to a radio frequency chip of the terminal to be calibrated by the baseband chip, and the second transmission parameter is used for determining the first power of a first signal generated by the radio frequency chip according to the initial signal.
3. The method according to claim 2, wherein after the second transmission parameter sent to the baseband chip of the terminal to be calibrated is sent to the radio frequency chip of the terminal to be calibrated by the baseband chip, the method further comprises:
and sending a transmitting instruction to the baseband chip, wherein the transmitting instruction is used for instructing the baseband chip to generate an initial signal according to the determined initial power and output the initial signal to the radio frequency chip, so that the radio frequency chip generates a first signal according to the determined first power and outputs the first signal to the power amplifier when receiving the initial signal.
4. The method of claim 3, wherein determining the actual gain of the power amplifier based on the received second signal comprises:
performing signal demodulation on the second signal, and determining second power of the second signal;
determining an actual gain of the power amplifier based on the second power and the first power of the first signal.
5. The method of claim 4, wherein determining a gain adjustment value based on the actual gain and a target gain comprises:
according to the formula T ═ G1-G2Determining a gain adjustment value;
wherein T is the gain adjustment value; g1Is the target gain; g2Is the actual gain.
6. A method for calibrating transmission power is applied to a terminal to be calibrated, wherein the terminal to be calibrated comprises a baseband chip and a power amplifier, and the method comprises the following steps:
the baseband chip receives the gain adjustment parameter sent by the first control terminal and sends the gain adjustment parameter to the power amplifier;
the power amplifier determines a configuration gain according to the gain adjustment parameter;
the power amplifier is used for carrying out power amplification on the first signal according to the configuration gain and generating a second signal;
and the power amplifier sends the second signal to the first control terminal, so that the first control terminal determines the actual gain of the power amplifier according to the second signal and determines whether to continue transmitting power calibration according to the actual gain and the target gain.
7. The method of claim 6, wherein the power amplifier determines a configured gain according to the gain adjustment parameter, comprising:
the power amplifier adjusts the gain parameters stored in the internal register according to the gain adjustment parameters, so as to obtain configuration gain; wherein the gain parameter is a configured gain determined by the power amplifier when the transmit power calibration was performed last time.
8. The method according to claim 6, wherein the terminal to be calibrated further comprises a radio frequency chip; before the power amplifier power amplifies the first signal according to the configuration gain and generates the second signal, the method further comprises:
the baseband chip receives a first transmission parameter sent by the first control terminal, and sets an initial power according to the first transmission parameter, wherein the initial power is used for determining the signal power of an initial signal to be generated by the baseband chip;
the baseband chip receives a second transmission parameter sent by the first control terminal and sends the second transmission parameter to the radio frequency chip;
and the radio frequency chip sets first power according to the second transmission parameter, wherein the first power is used for determining the signal power of a first signal generated by the radio frequency chip according to the initial signal.
9. The method of claim 8, wherein after the rf chip sets the first power according to the second transmission parameter, the method further comprises:
the baseband chip responds to a received transmitting instruction sent by the first control terminal, generates an initial signal according to the initial power and outputs the initial signal to the radio frequency chip;
and the radio frequency chip receives the initial signal, generates a first signal on the basis of the initial signal according to the first power and outputs the first signal to the power amplifier.
10. An electronic device, comprising:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 5.
11. An electronic device, characterized in that the electronic device comprises:
the device comprises a baseband chip, a radio frequency chip and a power amplifier;
the baseband chip is connected with the radio frequency chip, and the radio frequency chip is connected with the power amplifier;
the electronic device is capable of performing the method of any of claims 6 to 9.
12. A computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 9.
CN202110097054.4A 2021-01-25 2021-01-25 Transmission power calibration method, electronic device, and storage medium Active CN112769504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110097054.4A CN112769504B (en) 2021-01-25 2021-01-25 Transmission power calibration method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110097054.4A CN112769504B (en) 2021-01-25 2021-01-25 Transmission power calibration method, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN112769504A true CN112769504A (en) 2021-05-07
CN112769504B CN112769504B (en) 2023-04-21

Family

ID=75707133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110097054.4A Active CN112769504B (en) 2021-01-25 2021-01-25 Transmission power calibration method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN112769504B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113708781A (en) * 2021-08-13 2021-11-26 Oppo广东移动通信有限公司 Radio frequency gain control method, device and communication equipment
CN114330175A (en) * 2021-11-18 2022-04-12 北京智芯微电子科技有限公司 Calibration method and device for gain structure and gain structure
CN114448884A (en) * 2022-03-02 2022-05-06 深圳市友华通信技术有限公司 Routing device, power calibration method of routing device and storage medium
CN114520672A (en) * 2022-02-21 2022-05-20 Oppo广东移动通信有限公司 Power calibration method for maximum power fluctuation, terminal device and storage medium
CN115276681A (en) * 2022-07-27 2022-11-01 东集技术股份有限公司 RFID reader-writer system, transmission power closed-loop control method and main controller
CN115372801A (en) * 2022-10-24 2022-11-22 四川恒湾科技有限公司 Calibration method and system for base station radio frequency unit power amplifier

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1627656A (en) * 2003-12-08 2005-06-15 华为技术有限公司 Equipment and method for stabilizing output power in base station
US20090298440A1 (en) * 2008-05-28 2009-12-03 Tomoki Takeya System for calibrating wireless communications devices
US20120149423A1 (en) * 2010-12-12 2012-06-14 Ralf Burdenski Real Time Transmission Power Control
CN105281692A (en) * 2014-06-30 2016-01-27 展讯通信(上海)有限公司 Radio-frequency power amplification control system and mobile terminal
CN112235853A (en) * 2020-10-16 2021-01-15 展讯通信(上海)有限公司 Automatic gain control method, device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1627656A (en) * 2003-12-08 2005-06-15 华为技术有限公司 Equipment and method for stabilizing output power in base station
US20090298440A1 (en) * 2008-05-28 2009-12-03 Tomoki Takeya System for calibrating wireless communications devices
US20120149423A1 (en) * 2010-12-12 2012-06-14 Ralf Burdenski Real Time Transmission Power Control
CN105281692A (en) * 2014-06-30 2016-01-27 展讯通信(上海)有限公司 Radio-frequency power amplification control system and mobile terminal
CN112235853A (en) * 2020-10-16 2021-01-15 展讯通信(上海)有限公司 Automatic gain control method, device, terminal and storage medium

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113708781A (en) * 2021-08-13 2021-11-26 Oppo广东移动通信有限公司 Radio frequency gain control method, device and communication equipment
CN113708781B (en) * 2021-08-13 2023-02-17 Oppo广东移动通信有限公司 Radio frequency gain control method, device and communication equipment
CN114330175A (en) * 2021-11-18 2022-04-12 北京智芯微电子科技有限公司 Calibration method and device for gain structure and gain structure
CN114330175B (en) * 2021-11-18 2023-08-18 北京智芯微电子科技有限公司 Calibration method and device for gain structure and gain structure
CN114520672A (en) * 2022-02-21 2022-05-20 Oppo广东移动通信有限公司 Power calibration method for maximum power fluctuation, terminal device and storage medium
CN114448884A (en) * 2022-03-02 2022-05-06 深圳市友华通信技术有限公司 Routing device, power calibration method of routing device and storage medium
CN114448884B (en) * 2022-03-02 2023-10-20 深圳市友华通信技术有限公司 Routing equipment, power calibration method of routing equipment and storage medium
CN115276681A (en) * 2022-07-27 2022-11-01 东集技术股份有限公司 RFID reader-writer system, transmission power closed-loop control method and main controller
CN115276681B (en) * 2022-07-27 2023-11-24 东集技术股份有限公司 RFID reader-writer system, transmitting power closed-loop control method and main controller
CN115372801A (en) * 2022-10-24 2022-11-22 四川恒湾科技有限公司 Calibration method and system for base station radio frequency unit power amplifier
CN115372801B (en) * 2022-10-24 2023-01-17 四川恒湾科技有限公司 Calibration method and system for base station radio frequency unit power amplifier

Also Published As

Publication number Publication date
CN112769504B (en) 2023-04-21

Similar Documents

Publication Publication Date Title
CN112769504B (en) Transmission power calibration method, electronic device, and storage medium
CN108877770B (en) Method, device and system for testing intelligent voice equipment
CN107896131B (en) Bluetooth signal adjusting method, device, test terminal, system and readable medium
US20130342404A1 (en) Systems and methods for determining antenna impedance
CN108199787B (en) Transmission power adjusting method, device, terminal testing system and electronic terminal
US9629108B2 (en) Apparatus and method for controlling power amplifier bias
WO2021012952A1 (en) Message processing method, device and electronic equipment
CN110602736B (en) Method and device for field intensity prediction and computer equipment
WO2021103219A1 (en) Test apparatus, system and method for satellite receiver
CN108234034A (en) Bluetooth signal method of adjustment, device, test terminal, system and readable medium
EP3367646A1 (en) Method for detecting proximity of object and electronic device using the same
CN108768548B (en) Radio frequency calibration method, device, mobile terminal and computer readable storage medium
CN108199789A (en) Bluetooth signal method of adjustment, device, test terminal, system and readable medium
CN114928574A (en) Information sending method, information sending device, electronic equipment and computer readable medium
CN111313986B (en) Test circuit structure and antenna test method
KR20180130998A (en) Method for calibration and an electronic device thereof
CN111490833A (en) Method, device, system and medium for adjusting transmitting signal of antenna
CN108289146B (en) Electronic device and operation control method thereof
CN108123762B (en) Transmission power testing method, device and system and electronic equipment
JP2001223600A (en) Wireless receiver and its reception level display method
CN113466841B (en) Distance measuring method, device, electronic equipment and storage medium
CN112946526B (en) Electronic device breakpoint detection method and device and electronic equipment
CN113452390B (en) Power compensation method, device, storage medium and electronic equipment
CN112422205B (en) Method and device for calibrating SRS radio frequency transmission channel, electronic equipment and storage medium
CN110995305A (en) Method, device, equipment and storage medium for adjusting specific absorption rate of electromagnetic wave

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