CN117318846A - Power scaling method, wireless communication device, and storage medium - Google Patents

Power scaling method, wireless communication device, and storage medium Download PDF

Info

Publication number
CN117318846A
CN117318846A CN202210706857.XA CN202210706857A CN117318846A CN 117318846 A CN117318846 A CN 117318846A CN 202210706857 A CN202210706857 A CN 202210706857A CN 117318846 A CN117318846 A CN 117318846A
Authority
CN
China
Prior art keywords
drain current
target
adjustable gain
value
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210706857.XA
Other languages
Chinese (zh)
Inventor
黎辉勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202210706857.XA priority Critical patent/CN117318846A/en
Priority to PCT/CN2023/074916 priority patent/WO2023246114A1/en
Publication of CN117318846A publication Critical patent/CN117318846A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/02Transmitters
    • H04B1/04Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/11Monitoring; Testing of transmitters for calibration
    • H04B17/13Monitoring; Testing of transmitters for calibration of power amplifiers, e.g. gain or non-linearity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/02Transmitters
    • H04B1/04Circuits
    • H04B2001/0408Circuits with power amplifiers
    • H04B2001/0416Circuits with power amplifiers having gain or transmission power control
    • 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

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

Abstract

The embodiment of the invention provides a power scaling method, wireless communication equipment and a storage medium, and belongs to the field of power control. The method comprises the following steps: obtaining the current drain current of the power amplifier and obtaining the target drain current, wherein the target drain current is matched with the target output power to be calibrated of the power amplifier; according to the current drain current and the target drain current, adjusting the adjustable gain of the radio frequency link, so that the drain current of the power amplifier changes along with the adjustment of the adjustable gain, and the changed drain current is matched with the target drain current; and determining the fixed gain of the radio frequency link according to the target output power and the regulated adjustable gain. According to the technical scheme, an external radio frequency instrument is not required, measurement errors caused by environmental factors can be eliminated, and the environmental requirements of power calibration are reduced.

Description

Power scaling method, wireless communication device, and storage medium
Technical Field
The present invention relates to the field of power control technologies, and in particular, to a power scaling method, a wireless communication device, and a storage medium.
Background
In wireless communication systems, power control techniques are of great importance. The transmitting power of the wireless communication device directly affects the using effect of the wireless communication device, for example, the communication coverage area is reduced due to too small power of the wireless communication device, for example, the wireless communication device consumes excessive power and interferes with communication of adjacent cells due to too large power of the wireless communication device, and the service life of the wireless communication device is shortened. Therefore, the wireless communication device must be transmit power scaled before shipment. However, current wireless communication device power calibration methods are basically conventional meter calibration methods, and a spectrometer or a power meter is required to calibrate the transmission power of the wireless communication device and write relevant calibration parameters. The power calibration method has higher requirements on the environment and needs to be externally added with a radio frequency instrument, and the problems of inaccurate line loss, instrument center deviation, large wiring error, unstable complex clamps and the like are easily introduced.
Disclosure of Invention
The embodiment of the invention provides a power calibration method, wireless communication equipment and a storage medium, which aim to greatly reduce the environmental requirement of power calibration, do not need to be externally connected with a radio frequency instrument, and can eliminate measurement errors caused by factors such as the radio frequency instrument, line loss, a clamp and the like.
In a first aspect, an embodiment of the present invention provides a power scaling method, including:
obtaining the current drain current of a power amplifier and obtaining a target drain current, wherein the target drain current is matched with target output power to be calibrated of the power amplifier;
according to the current drain current and the target drain current, adjusting the adjustable gain of the radio frequency link, so that the drain current of the power amplifier changes along with the adjustment of the adjustable gain, and the changed drain current is matched with the target drain current;
and determining the fixed gain of the radio frequency link according to the target output power and the adjusted adjustable gain.
In a second aspect, an embodiment of the present invention further provides a wireless communication device, where the wireless communication device includes a power amplifier, a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for implementing a connection communication between the processor and the memory, where the computer program when executed by the processor implements the steps of any one of the power scaling methods provided in the embodiments of the present invention.
In a third aspect, embodiments of the present invention further provide a storage medium for computer readable storage, where the storage medium stores one or more programs, where the one or more programs are executable by one or more processors to implement the steps of any one of the power scaling methods as provided by the embodiments of the present invention.
The embodiment of the invention provides a power calibration method, wireless communication equipment and a storage medium, wherein the embodiment of the invention obtains the current drain current of a power amplifier and obtains a target drain current, wherein the target drain current is matched with target output power to be calibrated of the power amplifier; according to the current drain current and the target drain current, adjusting the adjustable gain of the radio frequency link, so that the drain current of the power amplifier changes along with the adjustment of the adjustable gain, and the changed drain current is matched with the target drain current; and determining the fixed gain of the radio frequency link according to the target output power and the regulated adjustable gain. According to the embodiment of the invention, the output power of the power amplifier is indirectly detected through the drain current of the power amplifier, so that the fixed gain of the radio frequency link is calculated to realize power calibration, an external radio frequency instrument is not required, the dependence of the current power calibration method on environmental factors such as the radio frequency instrument, line loss, a clamp and the like is relieved, and the measurement error introduced by the current power calibration method is eliminated. Therefore, the requirements on the power calibration environment are low, the stability is good, the production control process is very beneficial, and meanwhile, the production cost can be reduced due to the fact that a radio frequency instrument is omitted.
Drawings
FIG. 1 is a schematic flow chart of steps of a power scaling method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a power amplifier according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a base station according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating sub-steps of the power scaling method of FIG. 1;
FIG. 5 is a flowchart illustrating steps of another power scaling method according to an embodiment of the present invention;
fig. 6 is another schematic structural diagram of a base station according to an embodiment of the present invention;
fig. 7 is a schematic block diagram of a wireless communication device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
It is to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification 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.
The embodiment of the invention provides a power scaling method, wireless communication equipment and a storage medium. The power scaling method can be applied to wireless communication equipment provided with a power amplifier, and the wireless communication equipment can be electronic equipment such as mobile phones, tablet computers, notebook computers, desktop computers, personal digital assistants, wearable equipment and the like. The wireless communication device may also be a base station, such as all base stations including power amplifiers of active antenna units (Active Antenna Unit, AAU) and remote radio units (Radio Remote Unit, RRU).
In the field of power control of wireless communication devices, conventional meter calibration methods require calibrating the transmit power of the wireless communication device with a spectrometer or a power meter and writing relevant calibration parameters. However, this conventional method introduces many environmental errors such as inaccurate line loss, offset of the instrument center, large wiring error, unstable complicated jigs, etc., which result in problems of high retest rate. Meanwhile, the current 5G AAU base station is evolving towards a single-board antenna integrated very simple model, which uses a radio frequency interface-free for the traditional meter calibration method. Therefore, how to implement the base station power calibration method without radio frequency instruments and with low environmental requirements becomes a problem to be solved.
Based on the above, the embodiment of the invention provides a power scaling method of a radio-frequency-free instrument with low requirements on scaling environment. The method overcomes the defect of high requirement on the calibration environment of the traditional instrument calibration method, solves the problem that the integrated extremely simple type transmitting power calibration of the 5G AAU single board antenna is not used for the traditional instrument calibration method due to the fact that a radio frequency interface is not used, and meanwhile, the production cost can be reduced due to the fact that a radio frequency instrument is omitted.
The embodiment of the invention can be applied to the production test process of the wireless communication equipment, and the power transmitting port of the wireless communication equipment is connected with a matched load or an antenna when the method is applied, so that the radiation safety is ensured. The wireless communication device itself must have the capability of detecting the drain current of the power amplifier, for example, a current detection circuit is disposed on the drain side of the power amplifier to collect the drain current of the power amplifier. Because the power amplification efficiency is related to the type of the power amplifier and the working static state, drain voltage, output power, working temperature and output characteristic of the power amplifier tube, the power amplifier used in a laboratory and the power amplifier used for production calibration must be ensured to be of the same power amplifier type, the same working static point (the power amplifier tube is adjusted to be at the same target static point by adjusting the grid voltage in advance), the same drain voltage, the same drain current (the same output power when other parameters are the same, the same drain current and the same output power), the working temperature in an error of +/-5 ℃, and the same manufacturer (the type and manufacturing process of the power amplifier tube directly determine the output characteristic curve between the drain current and the drain voltage).
In the following, some embodiments of the present invention will be described in detail by taking an example that the power scaling method is applied to a base station with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict. Similarly, the power scaling method can be applied to other wireless communication devices.
Referring to fig. 1, fig. 1 is a schematic flow chart of steps of a power scaling method according to an embodiment of the invention.
As shown in fig. 1, the power scaling method includes steps S101 to S103.
Step S101, obtaining the current drain current of the power amplifier and obtaining a target drain current, wherein the target drain current is matched with the target output power to be calibrated of the power amplifier.
The corresponding relation between the output power of the power amplifier and the drain current of the power amplifier is needed to be obtained in advance in a laboratory by using a radio frequency instrument. For example, the output power of the power amplifier corresponding to the drain currents is obtained in a laboratory, and then a linear regression method or a polynomial regression method is used to obtain a relation curve or formula between the drain currents and the output power of the power amplifier.
It should be noted that, the target output power to be calibrated is determined according to the use effect of the base station in the external field, and the target drain current of the power amplifier is detected when the output power of the power amplifier is the target output power. Thus, a matching target drain current can be determined based on the target output power to be calibrated.
Illustratively, as shown in fig. 2, the power amplifier 10 includes a power amplifier tube and a circulator, and a power supply supplies power to the power amplifier tube through a current detection circuit for detecting a drain voltage U and a drain current I of the power amplifier 10. The power amplifier output power P satisfies the following formula:
P=10*log 10 (U*I*μ)+10*log 10 D
wherein I represents drain current, U represents drain voltage of the power amplifier, μ represents power amplifier efficiency, D represents loss factor of the circulator, and 10×log10D represents insertion loss of the circulator. Wherein, the insertion loss of the circulator is 10 log 10 D is fixed; the drain voltage U can be set directly during the power scaling process; for the same power amplifier, the power amplifier efficiency mu is fixed under the same condition. Therefore, as long as the drain current I of the power amplifier is detected to reach the target drain current, it can be predicted that the output power P has reached the target output power.
In an embodiment, the target output power to be calibrated is determined by: detecting output power of the plurality of power amplifiers when the drain current reaches a target current value, and obtaining output power of the plurality of power amplifiers; sequencing the output power of the power amplifiers, and selecting a plurality of candidate output powers from the plurality of output powers according to sequencing results; and averaging the plurality of candidate output powers to obtain the target output power to be calibrated of the power amplifier. It should be noted that the multiple power amplifiers may be the same type of power amplifier product, and the multiple candidate output powers may be selected according to a preset range or a preset number. The output power of the plurality of power amplifiers when the drain current reaches the target current value is sequenced and selected, and the selected plurality of candidate output powers are averaged to obtain the target output power, so that the representativeness of the target output power can be ensured, and the accuracy of the subsequent power scaling is improved.
As shown in fig. 3, the signal source 40 outputs a transmission signal to the power amplifier 10, and a channel between the signal source 40 and the power amplifier 10 is a radio frequency link. After the transmitting signal reaches the power amplifier 10 through the radio frequency link, the power amplifier 10 outputs the transmitting signal to the load 30 through the power meter 20, the power supply 50 is used for supplying power, the ammeter 60 is used for monitoring the drain current of the power amplifier 10, and the voltmeter 70 is used for monitoring the drain voltage of the power amplifier 10. The signal source 40 adjusts the output of the signal source from small to large so that the drain current I of the power amplifier reaches the target drain current I n At this time, the actual output power P of the power amplifier can be read by the power meter 20. Based on the test result, n power amplifiers under the same model are tested to obtain the actual output power P of the n power amplifiers 0 ~P n-1 N is equal to or greater than 20. The actual output power P of n power amplifiers 0 ~P n-1 Sorting from small to large, taking 80% of data in the middle of sorting result and taking average output power P aver ,P aver Namely the power amplifier and the target drain current I n Corresponding target output power P n
In an embodiment, the present drain current includes a first drain current and a second drain current, wherein the first drain current is a drain current of a power amplifier detected at a first adjustable gain of the radio frequency link; the second drain current is the drain current of the power amplifier detected under the second adjustable gain of the radio frequency link; the second adjustable gain may be determined based on the first adjustable gain, e.g., the second adjustable gain is the sum of the first adjustable gain and a preset gain, e.g., 2dB or-2 dB.
In an embodiment, obtaining the present drain current of the power amplifier includes: acquiring a first adjustable gain, and setting the adjustable gain of the radio frequency link as the first adjustable gain so as to acquire a first drain current of a power amplifier under the first adjustable gain; and determining a second adjustable gain according to the first adjustable gain, and setting the adjustable gain of the radio frequency link as the second adjustable gain so as to acquire a second drain current of the power amplifier under the second adjustable gain. The second drain current or the first drain current may be used as the current drain current of the power amplifier. The accuracy of the subsequent power scaling is advantageously improved by collecting the first drain current and the second drain current.
Illustratively, the adjustable gain ATT of the radio frequency link TX The preset adjustable range of (A) is [ ATT ] MIN ,ATT MAX ]The preset adjustable range can be determined according to the working performance of the radio frequency link; setting the first adjustable gain of the radio frequency link to ATT TX1 =(ATT MIN +ATT MAX ) 2; reading the first adjustable gain ATT TX1 The first drain current of the lower power amplifier is denoted as AD 1 The method comprises the steps of carrying out a first treatment on the surface of the Setting the second adjustable gain of the radio frequency link to ATT TX2 =ATT TX1 +2dB, wherein the 2dB is a preset gain, and the preset gain can be set according to actual conditions; reading the second adjustable gain ATT TX2 The second drain current of the lower power amplifier is denoted as AD 2 The second drain current AD 2 As the current drain.
Step S102, according to the current drain current and the target drain current, the adjustable gain of the radio frequency link is adjusted, so that the drain current of the power amplifier changes along with the adjustment of the adjustable gain, and the changed drain current is matched with the target drain current.
It should be noted that, in the power scaling process, it is required to determine whether the output power of the power amplifier has reached the target output power according to the detected current drain current. For example, when the current difference between the current drain current and the target drain current of the power amplifier is less than or equal to the preset current difference, it can be determined that the current drain current and the target drain current are matched, and the output power of the power amplifier is the target output power.
It should be noted that the number of adjustments to the adjustable gain of the radio frequency link may be one or more. By adjusting the adjustable gain of the radio frequency link, the drain current of the power amplifier can be changed along with the adjustment of the adjustable gain, and the current difference between the changed drain current and the target drain current is more and more close to zero, so that the changed drain current is matched with the target drain current, and the power calibration can be performed at the moment.
In one embodiment, as shown in fig. 4, step S102 includes: substep S1021 to substep S1022.
Substep S1021, determining a target adjustable gain of the radio frequency link according to the current drain current and the target drain current.
It should be noted that, before adjusting the adjustable gain of the radio frequency link, the target adjustable gain of the radio frequency link may be determined according to the current drain current and the target drain current. The target adjustable gain of the radio frequency link may be determined in a variety of ways, including a linear method and a closed loop control method, such as a step method, a PID (Proportion Integral Differential, proportional-integral-derivative) method, a dichotomy method, and the like.
In one embodiment, after determining the target adjustable gain of the RF link, the target adjustable gain ATT is determined TXX Whether or not it is greater than a preset maximum adjustable gain ATT MAX The method comprises the steps of carrying out a first treatment on the surface of the If the target is adjustable gain ATT TXX ATT greater than a preset maximum adjustable gain MAX Judging that the closed loop fails, and exiting the step of determining the target adjustable gain; if the target is adjustable gain ATT TXX Less than or equal to a preset maximum adjustable gain ATT MAX The next sub-step is performed.
And step S1022, adjusting the adjustable gain of the radio frequency link according to the target adjustable gain.
In one embodiment, the method for adjusting the adjustable gain of the radio frequency link according to the target adjustable gain is as follows: the adjustable gain of the radio frequency link is set to the target adjustable gain. In another embodiment, the adjustable gain of the radio frequency link is adjusted according to the target adjustable gain by: and correcting the target adjustable gain according to preset parameters, and setting the adjustable gain of the radio frequency link as the corrected target adjustable gain.
The following describes an embodiment of determining a target adjustable gain of a radio frequency link based on a present drain current and a target drain current, using a linear method as an example:
in one embodiment, determining a target adjustable gain of the radio frequency link based on the present drain current and the target drain current comprises: acquiring a first relation parameter according to the first adjustable gain, the first drain current, the second adjustable gain and the second drain current, wherein the first relation parameter is used for representing a linear relation between the adjustable gain and the drain current; and determining a target adjustable gain of the radio frequency link according to the first relation parameter and the target drain current. The current drain current includes a first drain current obtained under a first adjustable gain of the power amplifier or a second drain current obtained under a second adjustable gain of the power amplifier. It should be noted that, according to the linear relation between the adjustable gain and the drain current, the target adjustable gain corresponding to the target drain current can be accurately determined.
The method for acquiring the first relation parameter comprises the following steps: calculating a first difference between the first adjustable gain and the second adjustable gain, and calculating a second difference between the first drain current and the second drain current; determining a first slope between the adjustable gain and the drain current according to the first difference and the second difference; obtaining a first intercept according to the first slope, the second drain current and the second adjustable gain; the first slope and the first intercept are used as first relation parameters. It should be noted that the first difference value and the second difference value may be absolute values, that is, the first difference value may be an absolute value of a difference value between the first adjustable gain and the second adjustable gain, the second difference value may be an absolute value of a difference value between the first drain current and the second drain current, and the first slope and the first intercept as the first relationship parameter may be positive values or negative values.
Exemplary, first Adjustable gain ATT TX1 And a second adjustable gain ATT TX2 The first difference between them is ATT TX2 -ATT TX1 First drain current AD 1 And a second drain current AD 2 The second difference between them is AD 2 -AD 1 . Thus, the first slope k= (ATT TX2 -ATT TX1 )/(AD 2 -AD 1 ) First intercept b=att TX2 -k*AD 2
It should be noted that if the adjustable gain of the radio frequency link is to be adjusted multiple times, after the first slope and the first intercept are calculated, it is determined whether the first slope k is zero, and the first drain current AD is determined 1 And a second drain current AD 2 Whether or not they are equal; if the first slope k=0, or the second drain current AD is determined 2 Equal to the first drain current AD 1 And discarding the k and b parameters obtained by the calculation, and adopting the k and b parameters obtained by the last adjustment.
Wherein determining a target adjustable gain of the radio frequency link according to the first relationship parameter and the target drain current comprises: determining a third adjustable gain of the radio frequency link according to the first relation parameter and the target drain current; setting the adjustable gain of the radio frequency link as a third adjustable gain, and detecting a third drain current of the power amplifier under the third adjustable gain; and when the difference value between the third drain current and the target drain current is smaller than or equal to a preset difference value, taking the third adjustable gain as the target adjustable gain of the radio frequency link. The difference between the third drain current and the target drain current may be an absolute value, and the preset difference may be set according to an actual situation. For example, when the absolute value of the difference between the third drain current and the target drain current is less than or equal to the preset difference, it is determined that the third drain current matches the target drain current.
Exemplary, the target drain current is AD G The third adjustable gain of the radio frequency link is ATT TX3 =k*AD G +b; setting the adjustable gain of the radio frequency link to be a third adjustable gain ATT TX3 And detect a third adjustable gain ATT TX3 Third drain current AD of lower power amplifier X The method comprises the steps of carrying out a first treatment on the surface of the Calculating a third drain current AD X And target drain current AD G Difference Δad=ad between them X -AD G The method comprises the steps of carrying out a first treatment on the surface of the At the third drain current AD X And target drain current AD G The absolute value DeltaAD of the difference between them is less than or equal to the preset difference E AD If so, it is determined that the current approach is successful, i.e. the third drain current AD X And target drain current AD G Is matched with the third adjustable gain ATT TX3 I.e. the target adjustable gain ATT of the radio frequency link TXX
In one embodiment, determining a third adjustable gain of the radio frequency link based on the first relationship parameter and the target drain current comprises: calculating a fourth adjustable gain of the radio frequency link according to the first relation parameter and the target drain current; calculating a gain difference between the fourth adjustable gain and the second adjustable gain; when the gain difference is smaller than or equal to a preset maximum adjustable step, determining the fourth adjustable gain as a third adjustable gain; and determining the sum of the second adjustable gain and the maximum adjustable step as a third adjustable gain when the gain difference is greater than the maximum adjustable step. Wherein the maximum adjustable step can be set according to the actual situation, and the fourth adjustable gain ATT TX4 The calculation mode of (a) can be ATT TX4 =k*AD G +b。
Exemplary, the maximum adjustable STEP is STEP MAX If the gain difference ATT between the fourth adjustable gain and the second adjustable gain TX4 -ATT TX2 ≤STEP MAX Make the third adjustable gain ATT TX3 =ATT TX4 . If the gain difference ATT between the fourth adjustable gain and the second adjustable gain TX4 -ATT TX2 >STEP MAX Make the third adjustable gain ATT TX3 =ATT TX2 +STEP MAX
The method further includes, after detecting the third drain current of the power amplifier at the third adjustable gain: and when the difference between the third drain current and the target drain current is larger than the preset difference, taking the second adjustable gain as a new first adjustable gain and the third adjustable gain as a new second adjustable gain, taking the second drain current as a new first drain current and taking the third drain current as a new second drain current, and executing the step of acquiring the first relation parameter according to the first adjustable gain, the first drain current, the second adjustable gain and the second drain current.
In an embodiment, the power amplifier temperature PA is read by a temperature detection device T If the power amplifier temperature PA T Is not within a preset temperature range [ T ] MIN ,T MAX ]And if so, judging that the power amplifier is over-temperature, and exiting the step of determining the target adjustable gain. The preset temperature range is a working temperature range of the power amplifier allowed in the calibration process.
In an embodiment, after detecting the third drain current of the power amplifier under the third adjustable gain, the method further includes: when the difference between the third drain current and the target drain current is larger than the preset difference, the value of the first adjustable gain is the value of the second adjustable gain, the value of the second adjustable gain is the value of the third adjustable gain, the value of the first drain current is the value of the second drain current, the value of the second drain current is the value of the third drain current, and the step of obtaining the first relation parameter according to the first adjustable gain, the first drain current, the second adjustable gain and the second drain current is performed in a returning mode.
Exemplary, the preset difference is E AD If the difference delta AD is preset>E AD The first adjustable gain ATT TX1 =second adjustable gain ATT TX2 Second adjustable gain ATT TX2 =third adjustable gain ATT TXX The method comprises the steps of carrying out a first treatment on the surface of the And let the first drain current AD 1 =second drain current AD 2 Second drain current AD 2 =third drain current AD X And returns to perform the calculation of the slope k= (ATT) TX2 -ATT TX1 )/(AD 2 -AD 1 );b=ATT TX2 -k*AD 2 Is carried out by a method comprising the steps of.
In an embodiment, the maximum number of cycles is set back to perform the step of obtaining the first relation parameter based on the first adjustable gain, the first drain current, the second adjustable gain and the second drain current. When the number of loops returned to the execution is determined to be greater than or equal to the maximum number of loops, it is determined that the closed loop fails, and the step of determining the target adjustable gain is exited. By controlling the number of cycles, infinite cycles are avoided.
Step S103, according to the target output power and the adjusted adjustable gain, the fixed gain of the radio frequency link is determined.
When the changed drain current is determined to be matched with the target drain current, the output power of the power amplifier reaches the target output power, and at the moment, the fixed gain of the radio frequency link can be determined according to the target output power and the adjusted adjustable gain, so that the power calibration can be accurately realized. The output power of the power amplifier is indirectly detected through the drain current of the power amplifier to reach the target output power, so that the fixed gain of the radio frequency link can be calculated according to the target output power and the regulated adjustable gain to realize power calibration, an external radio frequency instrument is not needed, the dependence of the current power calibration method on environmental factors such as the radio frequency instrument, line loss, a clamp and the like is relieved, and the measurement error introduced by the current power calibration method is eliminated.
In one embodiment, the radio frequency link comprises a transmit link; determining a fixed gain of the radio frequency link based on the target output power and the adjusted adjustable gain, comprising: acquiring the transmitting digital power of a transmitting link corresponding to the target output power; acquiring a filter gain corresponding to a transmission signal frequency of a transmission link; and calculating the fixed gain of the transmitting link according to the target output power, the transmitting digital power, the filter gain and the adjusted adjustable gain. The fixed gain of the transmitting link can be called as the output fixed gain of the transmitting link, and it is to be noted that the fixed gain of the transmitting link is calculated in the above manner to realize power calibration, no external radio frequency instrument is needed, the requirement on the power calibration environment is low, the stability is good, the production control process is very facilitated, and meanwhile, the production cost can be reduced because the radio frequency instrument is omitted.
Illustratively, the fixed gain of the transmit chain is calculated using the following formula:
GAIN TX =P+GAIN filter -TSSI-ATT TXX
wherein GAIN TX Representing the fixed gain of the transmit chain, P representing the target output power, TSSI representing the transmit digital power of the transmit chain, ATT TXX GAIN represents the adjusted adjustable GAIN (the adjustable GAIN of the transmit chain) filter Representing the filter gain (the gain of the filter at the frequency of the transmitted signal). Wherein the transmission digital power TSSI and the adjustable gain ATT of the transmission link TXX Can be read directly from inside the base station. GAIN filter The output power P can be previously tested using a vector network (vector network analyzer) and indirectly predicted by detecting the power amplifier drain current.
In an embodiment, the radio frequency link further comprises a feedback link; acquiring feedback digital power of a feedback link corresponding to the target output power; acquiring an adjustable gain of a preset feedback link; and calculating the fixed gain of the feedback link according to the feedback digital power, the target output power, the filter gain and the adjustable gain of the feedback link. The fixed gain of the feedback link can be called as the feedback fixed gain of the feedback link, and it is to be noted that the fixed gain of the feedback link is calculated by the above method to realize power calibration, no external radio frequency instrument is needed, the requirement on the power calibration environment is low, the stability is good, the production control process is facilitated, and the production cost can be further reduced.
Illustratively, the fixed gain of the feedback link is calculated using the following formula:
GAIN FB =FBSSI-(P+GAIN filter )-ATT FB
wherein GAIN FB Representing the fixed gain of the feedback link, FBSSI representing the feedback digital power, ATT FB Represents the adjustable GAIN of the feedback link, P represents the target output power, GAIN filter Representing the filter gain. Feedback digital power FBSSI, feedback link adjustable gain ATT FB Can be read directly from inside the base station.
It will be appreciated that the manner of determining the fixed gain of the radio frequency link may be different for other wireless communication devices than the base station, for example, the parameters for calculating the fixed gain of the transmit link or for calculating the fixed gain of the feedback link may be different, which is not particularly limited in this embodiment.
In an embodiment, power scaling at a plurality of transmit signal frequencies is required, i.e. a fixed gain of the radio frequency link at a plurality of transmit signal frequencies is determined, the transmit signal frequencies being in one-to-one correspondence with the fixed gain of the radio frequency link. Thus, the fixed gain of the transmit chain and the fixed gain of the feedback chain may each be a respective gain for each transmit signal frequency.
Exemplary, the frequency range of the RF signal is [ f 0 ,f n-1 ]. Setting the transmitting signal of the radio frequency link as the frequency f when the adjustable gain of the radio frequency link is adjusted according to the current drain current and the target drain current 0 To obtain the frequency f of the transmitted signal 0 Fixed GAIN of a lower radio frequency link 0 The method comprises the steps of carrying out a first treatment on the surface of the Resetting the transmitting signal of the radio frequency link to a frequency f 1 To obtain the frequency f of the transmitted signal 1 Fixed GAIN of a lower radio frequency link 1 The method comprises the steps of carrying out a first treatment on the surface of the … …; finally, setting the transmitting signal of the radio frequency link as the frequency f n-1 To obtain the frequency f of the transmitted signal n-1 Fixed GAIN of a lower radio frequency link n-1
According to the power scaling method provided by the embodiment, the current drain current of the power amplifier is obtained, and the target drain current is obtained, wherein the target drain current is matched with the target output power to be scaled of the power amplifier; according to the current drain current and the target drain current, adjusting the adjustable gain of the radio frequency link, so that the drain current of the power amplifier changes along with the adjustment of the adjustable gain, and the changed drain current is matched with the target drain current; and determining the fixed gain of the radio frequency link according to the target output power and the regulated adjustable gain. According to the embodiment of the invention, the output power of the power amplifier is indirectly detected through the drain current of the power amplifier, so that the fixed gain of the radio frequency link is calculated to realize power calibration, an external radio frequency instrument is not required, the dependence of the current power calibration method on environmental factors such as the radio frequency instrument, line loss, a clamp and the like is relieved, and the measurement error introduced by the current power calibration method is eliminated. Therefore, the requirements on the power calibration environment are low, the stability is good, the production control process is very beneficial, and meanwhile, the production cost can be reduced due to the fact that a radio frequency instrument is omitted.
In the process of determining the fixed gain of the radio frequency link, the digital power TSSI is transmitted and the gain ATT of the transmission link is adjustable TXX Feedback digital power FBSSI, adjustable gain ATT of feedback link FB All can be directly read from the inside of the base station, so that the calibration error brought by the power calibration method provided by the embodiment of the application mainly comes from P+GAIN filter As can be seen from the following equation:
wherein I represents drain current, U represents drain voltage of the power amplifier, mu represents power amplifier efficiency, and D represents loss factor of the circulator. Δp represents an error due to the power amplifier output power, Δu represents an error due to the drain voltage, Δi represents an error due to the drain current, Δμ represents an error due to the power amplifier efficiency, and Δd represents an error due to the circulator insertion loss. ΔGAIN filter Representing the error introduced by the filter, ΔGAIN TX Represents the error, Δgain, introduced by the fixed GAIN of the transmit chain FB Representing the error of the fixed gain of the feedback link.
In the first aspect, the error caused by the drain voltage U: depending on the voltage measurement accuracy of the electronic load for base station power amplifier drain voltage scaling, the electronic load voltage measurement accuracy is typically 0.025%, giving the power amplifier an error of about 0.001dB. In the second aspect, the error caused by the drain current I: depending on the electronic load current measurement accuracy for base station power amplifier drain current scaling, the electronic load current measurement accuracy is typically 0.1%, giving an error of about 0.004dB to the power amplifier output power. In the third aspect, errors caused by insertion loss of the power amplifier circulator are: the insertion loss is smaller than 0.25dB depending on the consistency of incoming materials of manufacturers, so that the error caused by the batch incoming materials can be ensured to be less than 0.1dB. Fourth, error due to power amplifier efficiency μ: the factors influencing the power amplification are relatively large, but as long as the above conditions are satisfied, it is ensured that the power amplification efficiency has a dispersion of less than 10%. Thereby giving the power amplifier an error of <0.457dB. Therefore, the power scaling method provided by the embodiment of the application has a mass production scaling error of <0.662dB.
The traditional instrument calibration method errors comprise radio frequency instrument errors, line loss errors and wiring errors. Currently, the commonly adopted meter calibration method is a power meter calibration method and a spectrometer calibration method. Ideally, for the power meter scaling method: the power meter error is <0.2dB, the line loss error is derived from the measurement error of the vector network analyzer for calibrating line loss, the wiring error of batch operation is <0.2dB, and the total error is <0.5dB. For the spectrometer calibration method: the spectrometer error is <0.5dB, the line loss error is derived from the uncertainty of <0.1dB of the measurement error of the vector network analyzer for calibrating line loss and the uncertainty of <0.2dB of the attenuator (a high-power attenuator, a tooling plate or a coupler is needed to be used for high-power base station power), the wiring error of batch operation is <0.2dB, and the total error is <1.0dB.
Compared with the calibration error of the traditional meter calibration method, the power calibration method provided by the embodiment of the application is slightly higher than the power meter calibration method and far lower than the frequency spectrograph calibration method, so that the power calibration method can meet the batch test requirement of production. However, the error of environmental factors introduced by the traditional meter calibration method is larger, so that the calibration error in the mass production process is often far larger than that brought by the power calibration method provided by the embodiment of the application. Therefore, in the batch production process, compared with the traditional instrument calibration method, the power calibration method provided by the embodiment of the application has smaller measurement error, eliminates the dependence on environmental factors such as a radio frequency instrument, line loss, a clamp and the like, has low requirements on the power calibration environment, has good stability, and is very beneficial to the production control process.
Referring to fig. 5, fig. 5 is a flowchart illustrating steps of another power scaling method according to an embodiment of the present invention.
As shown in fig. 5, the power scaling method includes steps S201 to S204.
Step S201, obtaining the current drain current of the power amplifier, and obtaining a second relation parameter, where the second relation parameter is used to represent a linear relation between a current value and an AD value of the drain current.
Wherein the current drain current of the power amplifier can be the current AD value A detected by the power amplifier drain detection circuit d The second relation parameter may be a second intercept and a second intercept between the current value and the AD value. The AD value of the drain current is a value obtained by AD conversion of a current value, for example, the AD value of the drain current is a value obtained by AD (analog-digital) conversion of a current signal at the drain of the power amplifier, thereby converting the current value of the analog quantity into a digital value.
In an embodiment, drain current of the power amplifier is set to a first current value and a second current value respectively, so as to detect a first AD value corresponding to the first current value and a second AD value corresponding to the second current value; calculating an AD difference between the first AD value and the second AD value, and calculating a current difference between the first current value and the second current value; determining a second slope between the current value and the AD value according to the AD difference value and the current difference value; obtaining a second intercept according to the second slope, the second AD value and the second current value; the second slope and the second intercept are used as second relation parameters. It should be noted that, according to the linear relation between the current value and the AD value of the drain current, the first AD value corresponding to the first current value and the second AD value corresponding to the second current value can be accurately determined, thereby being beneficial to improving the accuracy of the subsequent power scaling.
The power supply is used for supplying power to the load and the power amplifier, and the power amplifier is turned off when the power supply is turned off, the load is in an open circuit mode, and the power amplifier is turned on when the power supply is turned on, and the load is in a constant current mode, as shown in fig. 6. If the power amplifier is turned off, the gate voltage of the power amplifier tube is cleared, the load is set to be in an open-circuit mode, and a digital signal processing (Digital Signal Processing, DSP) chip can read the AD value A detected by the current detection circuit at the moment 0 . If the power amplifier is started, setting the load as a constant current mode and the drain current as a first current value, wherein the first current value can be the targetTarget current minimum value I min Reading the first AD value A detected by the current detection circuit 1 . Setting the drain current to a preset second current value, wherein the second current value can be a target current maximum value I max Reading the second AD value A detected by the current detection circuit 2 . The AD difference between the first AD value and the second AD value is A 2 -A 1 The current difference between the first current value and the second current value is I max -I min The second slope between the current value and the AD value is w= (a) 2 -A 1 )/(I max -I min ) The second intercept is d=a 2 -w*I max
Step S202, determining a target AD value corresponding to the target current value according to the second relation parameter, taking the target AD value as a target drain current, and matching the target drain current with target output power to be calibrated of the power amplifier.
Wherein the target current value I n With the transmit signal frequency f of the transmit chain n Correspondingly, a target current value corresponding to the current transmitting signal frequency is obtained, and a target AD value corresponding to the target current value is determined according to the second relation parameter, so that a target drain current is obtained.
In one embodiment, a target current value corresponding to a transmission signal frequency of a radio frequency link is obtained; calculating a product value between the target current value and the second slope; and obtaining a target AD value corresponding to the target current value according to the sum of the product value and the second intercept. Illustratively, the target AD value corresponding to the target current value is determined by the following formula: AD (analog to digital) converter G =w*I n +d, where AD G Represents the target AD value, w represents the second slope, I n Representing the frequency of the transmitted signal corresponding to the target current value, d representing the second intercept. The different emission signal frequencies correspond to different target current values, and the corresponding relation between the emission signal frequencies and the target current values can be obtained by comparison in advance through a laboratory.
In an embodiment, obtaining the target AD value corresponding to the target current value according to the sum of the product value and the second intercept includes: obtaining a standard AD value of drain current when the power amplifier is turned off at a standard temperature, and obtaining a third AD value of drain current when the power amplifier is turned off at a current temperature; calculating a target difference between the standard AD value and the third AD value; and calculating the sum of the product value, the second intercept and the target difference value to obtain a target AD value. The standard AD value may be obtained and stored in advance in a laboratory. The target AD value is obtained by calculating the sum of the target difference value, the product value and the second intercept between the corresponding standard AD value and the third AD value at the standard temperature, so that the temperature drift influence can be eliminated, and the accuracy of power calibration can be improved.
Illustratively, the target AD value corresponding to the target current value is determined by the following formula: AD (analog to digital) converter G =w*I n +d+(A d -A 0 ). Wherein AD is G Represents the target AD value, w represents the second slope, I n Represents the target current value, d represents the second intercept, A d Represents the third AD value, A 0 Representing standard AD values. The target difference between the standard AD value and the third AD value is A d -A 0 The target difference value can represent the temperature drift effect brought by the power amplifier drain electrode circuit.
Step 203, according to the current drain current and the target drain current, the adjustable gain of the radio frequency link is adjusted, so that the drain current of the power amplifier changes along with the adjustment of the adjustable gain, and the changed drain current is matched with the target drain current.
The number of times of adjusting the adjustable gain of the radio frequency link may be one or more times, and the current difference between the changed drain current and the target drain current becomes closer to zero through the multiple times of adjusting the adjustable gain of the radio frequency link. Note that the matching of the changed drain current with the target drain current includes: the current difference between the changed drain current and the target drain current is smaller than or equal to a preset current difference. When the changed drain current is matched with the target drain current, the output power of the power amplifier can be determined to reach the target output power, and at the moment, the power calibration can be accurately carried out to obtain the fixed gain of the radio frequency link.
In one embodiment, a target adjustable gain of the radio frequency link is determined based on the present drain current and the target drain current; and adjusting the adjustable gain of the radio frequency link according to the target adjustable gain. The method for determining the target adjustable gain of the radio frequency link can be various, for example, a closed loop control method comprises a stepping method, a PID method, a dichotomy method and the like. After determining the target adjustable gain of the radio frequency link, setting the adjustable gain of the radio frequency link as the target adjustable gain, so that the drain current of the power amplifier under the target adjustable gain is matched with the target drain current.
The following describes an embodiment of determining a target adjustable gain of a radio frequency link based on a present drain current and a target drain current, using the PID method as an example:
in one embodiment, determining a target adjustable gain of the radio frequency link based on the present drain current and the target drain current comprises: calculating an error value between the current drain current and the target drain current; determining an offset parameter of the adjustable gain of the radio frequency link according to the error value and a preset PID formula; and determining the target adjustable gain of the radio frequency link according to the offset parameter. It should be noted that the PID algorithm is a control algorithm combining three links of proportional, integral and differential, and the closed-loop adjustment of the adjustable gain of the radio frequency link is realized by presetting a PID formula, so that the drain current after the change can be accurately controlled to be matched with the target drain current.
The method comprises the steps of obtaining a preset proportional coefficient, a preset integral coefficient and a preset differential coefficient; determining a first offset parameter of the adjustable gain according to a preset proportion coefficient and an error value; determining a second offset parameter of the adjustable gain according to a preset integral coefficient and an error value; determining a third offset parameter of the adjustable gain according to a preset differential coefficient and an error value; and calculating the sum of the first offset parameter, the second offset parameter and the third offset parameter to obtain the offset parameter of the adjustable gain of the radio frequency link.
Exemplary, the preset PID formula isWherein u (K) represents an offset parameter, K P Representing a preset proportionality coefficient, K I Representing a preset integral coefficient, K D Representation ofPreset differential coefficient, e (k) represents error value between present drain current and target drain current,/>Representing an accumulated value of error values obtained by a plurality of adjustments, and according to the accumulated value of error and a preset integral coefficient K I And (2) obtaining a second offset parameter, wherein e (K) -e (K-1) represents the error difference between the error value obtained by current adjustment and the error value obtained by last adjustment, and the second offset parameter is obtained according to the error difference and a preset differential coefficient K I The product of (2) yields a third offset parameter.
Wherein, according to the offset parameter, adjust the adjustable gain of radio frequency link, include: acquiring the current adjustable gain of the radio frequency link corresponding to the current drain current; determining a target adjustable gain of the radio frequency link according to the offset parameter and the current adjustable gain; the adjustable gain of the radio frequency link is set to a target adjustable gain. It should be noted that, the target adjustable gain of the radio frequency link may be obtained by calculating the sum of the offset parameter and the current adjustable gain, and the adjustable gain of the radio frequency link is set to the target adjustable gain, so that the drain current of the power amplifier is matched with the target drain current along with the adjustment of the adjustable gain.
Step S204, according to the target output power and the adjusted adjustable gain, the fixed gain of the radio frequency link is determined.
When the changed drain current is determined to be matched with the target drain current, the output power of the power amplifier reaches the target output power, and at the moment, the fixed gain of the radio frequency link can be determined according to the target output power and the adjusted adjustable gain, so that the power calibration can be accurately realized. The requirements on the power calibration environment are low, the stability is good, the production control process is very beneficial, and meanwhile, the production cost can be reduced due to the fact that a radio frequency instrument is omitted.
Illustratively, as shown in FIG. 6, the adjustable gain of the radio frequency link includes a transmit variable gain of the transmit link and a feedback variable gain of the feedback link, the adjustable gain of the radio frequency link being adjustable by adjusting the transmit variable gain of the transmit link and the feedback variable gain of the feedback linkThe gain is adjusted and the fixed gain of the radio frequency link includes the fixed gain of the transmit link and the fixed gain of the feedback link. Wherein, the formula for calculating the fixed GAIN of the transmitting link is GAIN TX =P+GAIN filter -TSSI-ATT TXX The equation for calculating the fixed GAIN of the feedback link is GAIN FB =FBSSI-(P+GAIN filter )-ATT FB . Wherein GAIN TX Representing the fixed gain of the transmit chain, P representing the target output power, TSSI representing the transmit digital power of the transmit chain, ATT TXX GAIN representing adjustable GAIN of a transmit chain filter Representing the filter GAIN, GAIN FB Representing the fixed gain of the feedback link, FBSSI representing the feedback digital power, ATT FB Representing the adjustable gain of the feedback link.
In one embodiment, the frequency of the transmitted signal corresponds to the fixed gain of the RF link one by one, if a frequency range of the transmitted signal is required 0 ,f n-1 ]The frequency f needs to be calculated if the power of (a) is scaled 0 To f n-1 Fixed gains of the corresponding radio frequency links are obtained. Specifically, f may be calculated by embodiments of the present application 0 After the fixed gain of the corresponding radio frequency link, according to the next frequency f 1 Returning to the corresponding target current value and executing step S202 to obtain f 1 Fixed gain of corresponding radio frequency link up to frequency f n Completing the traversal to obtain a calibration parameter data table, wherein the calibration parameter data table records the frequency f 0 To f n-1 Fixed GAIN of each corresponding radio frequency link 1 To GAIN n-1
According to the power scaling method provided by the embodiment, the current drain current of the power amplifier is obtained, the second relation parameter is obtained, the target AD value corresponding to the target current value is determined according to the second relation parameter, the target AD value is used as the target drain current, and the target drain current is matched with the target output power to be scaled of the power amplifier; according to the current drain current and the target drain current, adjusting the adjustable gain of the radio frequency link, so that the drain current of the power amplifier changes along with the adjustment of the adjustable gain, and the changed drain current is matched with the target drain current; and determining the fixed gain of the radio frequency link according to the target output power and the regulated adjustable gain. According to the embodiment of the invention, the output power of the power amplifier is indirectly detected through the drain current of the power amplifier and the second relation parameter, so that the fixed gain of the radio frequency link is calculated to realize power calibration, an external radio frequency instrument is not required, the dependence of the current power calibration method on environmental factors such as the radio frequency instrument, line loss, a clamp and the like is relieved, and the measurement error introduced by the current power calibration method is eliminated. The requirements on the power calibration environment are low, the stability is good, and the production control process and the control of the production cost are very facilitated.
In an embodiment, a specific implementation of the power scaling method provided in the embodiment of the present application is described by the following steps:
as shown in fig. 6, the radio frequency link of the base station includes a transmit chain and a feedback chain in order to scale the fixed GAIN of the transmit chain TX Fixed GAIN of feedback link FB 。ATT TX Is the adjustable gain of the transmitting link, [ ATT ] MIN ,ATT MAX ]Is ATT TX Is adjustable range of STEP MAX Is the maximum adjustable step of the adjustable gain of the transmit chain, [ T ] MIN ,T MAX ]Is the allowable working temperature range of the power amplifier in the calibration process, E AD Is the maximum allowable error between the final current AD value and the target current AD value, P is the target output power of the power amplifier, GAIN filter Is the filter at frequency f n At gain, TSSI is transmit digital power and FBSSI is feedback digital power. Where power is referred to below, the units are either dBm or dB.
(1) Closing baseband and closing channel power amplifier, setting feedback link adjustable gain ATT FB
(2) Reading AD value A detected by power amplifier drain electrode detection circuit d
(3) Calculating a target current I corresponding to the frequency fn n AD value AD of (2) G =w*I n +d+(A d -A 0 )。((A d -A 0 ) The purpose is to eliminate the temperature drift effect of the current detection circuit), A 0 Is turned off for the power amplifier and is not provided with ATT FB Is detected by a current detection circuitThe AD value reached, w is the second slope between the current value and the AD value, as w= (a) 2 -A 1 )/(I max -I min ) D is the second intercept, e.g. d=a 2 -w*I max
(4) The current approximation implemented below uses a linear method. Setting single-tone signal of frequency fn of base station transmitting link and setting initial adjustable gain ATT of transmitting link TX1 =(ATT MIN +ATT MAX ) And (2) opening a baseband signal, opening a channel power amplifier, and reading a corresponding current AD value to be recorded as: AD1; setting an initial adjustable gain ATT TX2 =ATT TX1 +2dB, the read present current AD value is noted as: AD2.
(5) Calculate the slope k= (ATT TX2 -ATT TX1 )/(AD 2 -AD 1 );b=ATT TX2 -k*AD 2 . If k=0 or AD 2=ad 1, the k, b parameter calculated this time is discarded, and the k, b parameter of the last time is used.
(6) Calculating target adjustable gain ATT TXX =k*AD G +b, if ATT TXX -ATT TX2 >Maximum adjustable STEP MAX ATT then TXX =ATT TX2 +STEP MAX . If the gain ATT is adjustable TXX >ATT MAX And judging that the closed loop fails and exiting. Reading power amplifier temperature PA T If PA T Is not in the range [ T ] MIN ,T MAX ]And judging that the temperature is over-temperature, and exiting.
(7) Setting ATT TXX Reading the current AD value as follows: AD (analog to digital) converter X And the target current AD G Difference Δad=ad X -AD G
(8) If DeltaAD<E AD Judging that the current approaches successfully, otherwise, ATT TX1 =ATT TX2 ,ATT TX2 =ATT TXX ,AD 1 =AD 2 ,AD 2 =AD X Returning to the step (5). Wherein the number of cycles returned is set to avoid infinite cycles.
(9) Calculating the output fixed GAIN GAIN of the frequency fn TX =P+GAIN filter -TSSI-ATT TXX Feedback fixed incrementBeneficial GAIN FB =FBSSI-(P+GAIN filter )-ATT FB
(10) Frequency f n May be plural if the frequency f n And (3) returning to the step (3) if the traversal is not completed, otherwise, closing the power amplifier to finish calibration.
Referring to fig. 7, fig. 7 is a schematic block diagram of a wireless communication device according to an embodiment of the present invention.
As shown in fig. 7, the wireless communication device 300 includes a processor 301 and a memory 302, the processor 301 and the memory 302 being connected by a bus 303, such as an I2C (Inter-integrated Circuit) bus. The wireless communication device 300 also includes a power amplifier 304. The wireless communication device 300 may be all base stations including power amplifiers for active antenna units (Active Antenna Unit, AAU) and remote radio units (Radio Remote Unit, RRU).
In particular, the processor 301 is configured to provide computing and control capabilities to support the operation of the overall wireless communication device 300. The processor 301 may be a central processing unit (Central Processing Unit, CPU), the processor 301 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Specifically, the Memory 302 may be a Flash chip, a Read-Only Memory (ROM) disk, an optical disk, a U-disk, a removable hard disk, or the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is merely a block diagram of a portion of the structure associated with an embodiment of the present invention and is not intended to limit the wireless communication device 300 to which an embodiment of the present invention is applied, and that a particular wireless communication device 300 may include more or fewer components than shown, or may combine some of the components, or may have a different arrangement of components.
The processor is used for running a computer program stored in the memory, and implementing any one of the power scaling methods provided by the embodiment of the invention when the computer program is executed.
In an embodiment, the processor is configured to run a computer program stored in a memory and to implement the following steps when executing the computer program:
obtaining the current drain current of a power amplifier and obtaining a target drain current, wherein the target drain current is matched with target output power to be calibrated of the power amplifier;
according to the current drain current and the target drain current, adjusting the adjustable gain of the radio frequency link, so that the drain current of the power amplifier changes along with the adjustment of the adjustable gain, and the changed drain current is matched with the target drain current;
And determining the fixed gain of the radio frequency link according to the target output power and the adjusted adjustable gain.
In an embodiment, the processor is configured to, when implementing adjusting the adjustable gain of the radio frequency link according to the present drain current and the target drain current, implement:
determining a target adjustable gain of the radio frequency link according to the current drain current and the target drain current;
and adjusting the adjustable gain of the radio frequency link according to the target adjustable gain.
In an embodiment, when implementing obtaining the present drain current of the power amplifier, the processor is configured to implement:
acquiring a first adjustable gain, and setting the adjustable gain of the radio frequency link as the first adjustable gain so as to acquire a first drain current of the power amplifier under the first adjustable gain;
and determining a second adjustable gain according to the first adjustable gain, and setting the adjustable gain of the radio frequency link as the second adjustable gain so as to acquire a second drain current of the power amplifier under the second adjustable gain.
In an embodiment, the processor is configured to, when implementing determining the target adjustable gain of the radio frequency link based on the present drain current and the target drain current, implement:
Acquiring a first relation parameter according to the first adjustable gain, the first drain current, the second adjustable gain and the second drain current, wherein the first relation parameter is used for representing a linear relation between the adjustable gain and the drain current;
and determining a target adjustable gain of the radio frequency link according to the first relation parameter and the target drain current.
In an embodiment, the processor is configured to, when implementing obtaining the first relationship parameter according to the first adjustable gain, the first drain current, the second adjustable gain, and the second drain current, implement:
calculating a first difference between the first adjustable gain and the second adjustable gain, and calculating a second difference between the first drain current and the second drain current;
determining a first slope between the adjustable gain and the drain current according to the first difference and the second difference;
obtaining a first intercept according to the first slope, the second drain current and the second adjustable gain;
the first slope and the first intercept are taken as the first relationship parameters.
In an embodiment, the processor is configured to, when implementing the determining the target adjustable gain of the radio frequency link according to the first relation parameter and the target drain current, implement:
Determining a third adjustable gain of the radio frequency link according to the first relation parameter and the target drain current;
setting the adjustable gain of the radio frequency link as the third adjustable gain, and detecting a third drain current of the power amplifier under the third adjustable gain;
and when the difference value between the third drain current and the target drain current is smaller than or equal to a preset difference value, taking the third adjustable gain as the target adjustable gain of the radio frequency link.
In an embodiment, the processor is further configured to, after implementing detecting the third drain current of the power amplifier at the third adjustable gain:
when the difference between the third drain current and the target drain current is greater than the preset difference, the value of the first adjustable gain is the value of the second adjustable gain, the value of the second adjustable gain is the value of the third adjustable gain, the value of the first drain current is the value of the second drain current, the value of the second drain current is the value of the third drain current, and the step of obtaining the first relation parameter according to the first adjustable gain, the first drain current, the second adjustable gain and the second drain current is performed in a returning mode.
In an embodiment, the processor is configured to determine a third adjustable gain of the radio frequency link according to the first relation parameter and the target drain current, to implement:
calculating a fourth adjustable gain of the radio frequency link according to the first relation parameter and the target drain current;
calculating a gain difference between the fourth adjustable gain and the second adjustable gain;
when the gain difference is smaller than or equal to a preset maximum adjustable step, determining the fourth adjustable gain as the third adjustable gain;
and determining the sum of the second adjustable gain and the maximum adjustable step as the third adjustable gain when the gain difference is greater than the maximum adjustable step.
In an embodiment, the processor is configured to, when implementing determining the target adjustable gain of the radio frequency link based on the present drain current and the target drain current, implement:
calculating an error value between the present drain current and the target drain current;
determining an offset parameter of the adjustable gain of the radio frequency link according to the error value and a preset PID formula;
and determining the target adjustable gain of the radio frequency link according to the offset parameter.
In an embodiment, the processor, when implementing obtaining the target drain current, is configured to implement:
acquiring a second relation parameter, wherein the second relation parameter is used for representing a linear relation between a current value and an AD value of drain current;
and determining a target AD value corresponding to the target current value according to the second relation parameter, and taking the target AD value as the target drain current.
In an embodiment, the processor, when implementing the obtaining the second relationship parameter, is configured to implement:
setting drain current of the power amplifier as a first current value and a second current value respectively to detect a first AD value corresponding to the first current value and a second AD value corresponding to the second current value;
calculating an AD difference between the first AD value and the second AD value, and calculating a current difference between the first current value and the second current value;
determining a second slope between the current value and the AD value according to the AD difference value and the current difference value;
obtaining a second intercept according to the second slope, the second AD value and the second current value;
the second slope and the second intercept are taken as the second relationship parameters.
In an embodiment, when the processor determines, according to the second relation parameter, a target AD value corresponding to the target current value, the processor is configured to implement:
Acquiring a target current value corresponding to the frequency of a transmission signal of the transmission link;
calculating a product value between the target current value and the second slope;
and obtaining a target AD value corresponding to the target current value according to the sum of the product value and the second intercept.
In an embodiment, when implementing obtaining the target AD value corresponding to the target current value according to the sum of the product value and the second intercept, the processor is configured to implement:
obtaining a standard AD value of drain current when the power amplifier is turned off at a standard temperature, and obtaining a third AD value of drain current when the power amplifier is turned off at a current temperature;
calculating a target difference between the standard AD value and the third AD value;
and calculating the sum of the product value, the second intercept and the target difference value to obtain the target AD value.
In an embodiment, the processor further implements:
detecting output power of the plurality of power amplifiers when the drain current reaches a target current value, and obtaining output power of the plurality of power amplifiers;
sequencing the output power of the power amplifiers, and selecting a plurality of candidate output powers from the plurality of output powers according to sequencing results;
And averaging the plurality of candidate output powers to obtain the target output power to be calibrated of the power amplifier.
In an embodiment, the radio frequency link comprises a transmit link; the processor is configured to, when determining a fixed gain of the radio frequency link according to the target output power and the adjusted adjustable gain, implement:
acquiring the transmission digital power of the transmission link corresponding to the target output power;
acquiring a filter gain corresponding to the transmission signal frequency of the transmission link;
and calculating the fixed gain of the transmitting link according to the target output power, the transmitting digital power, the filter gain and the adjusted adjustable gain.
In an embodiment, the radio frequency link further comprises a feedback link; the processor is further configured to implement:
acquiring feedback digital power of the feedback link corresponding to the target output power;
acquiring preset adjustable gain of the feedback link;
and calculating the fixed gain of the feedback link according to the feedback digital power, the target output power, the filter gain and the adjustable gain of the feedback link.
It should be noted that, for convenience and brevity of description, the specific operation of the wireless communication device 300 described above may refer to the corresponding process in the foregoing power scaling method embodiment, which is not repeated herein.
Embodiments of the present invention also provide a storage medium for computer readable storage, where the storage medium stores one or more programs executable by one or more processors to implement the steps of any one of the power scaling methods provided by the embodiments of the present invention.
The storage medium may be an internal storage unit of the wireless communication device according to the foregoing embodiment, for example, a hard disk or a memory of the wireless communication device. The storage medium may also be an external storage device of the wireless communication device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the wireless communication device.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments. While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (18)

1. A method of power scaling comprising:
obtaining the current drain current of a power amplifier and obtaining a target drain current, wherein the target drain current is matched with target output power to be calibrated of the power amplifier;
according to the current drain current and the target drain current, adjusting the adjustable gain of the radio frequency link, so that the drain current of the power amplifier changes along with the adjustment of the adjustable gain, and the changed drain current is matched with the target drain current;
and determining the fixed gain of the radio frequency link according to the target output power and the adjusted adjustable gain.
2. The power scaling method of claim 1 wherein said adjusting the adjustable gain of the radio frequency link based on said present drain current and said target drain current comprises:
determining a target adjustable gain of the radio frequency link according to the current drain current and the target drain current;
and adjusting the adjustable gain of the radio frequency link according to the target adjustable gain.
3. The power scaling method of claim 2 wherein said obtaining the present drain current of the power amplifier comprises:
acquiring a first adjustable gain, and setting the adjustable gain of the radio frequency link as the first adjustable gain so as to acquire a first drain current of the power amplifier under the first adjustable gain;
and determining a second adjustable gain according to the first adjustable gain, and setting the adjustable gain of the radio frequency link as the second adjustable gain so as to acquire a second drain current of the power amplifier under the second adjustable gain.
4. The method of power scaling of claim 3 wherein said determining a target adjustable gain for said radio frequency link based on said present drain current and said target drain current comprises:
Acquiring a first relation parameter according to the first adjustable gain, the first drain current, the second adjustable gain and the second drain current, wherein the first relation parameter is used for representing a linear relation between the adjustable gain and the drain current;
and determining a target adjustable gain of the radio frequency link according to the first relation parameter and the target drain current.
5. The method of power scaling of claim 4 wherein said obtaining a first relationship parameter based on said first adjustable gain, first drain current, second adjustable gain, and second drain current comprises:
calculating a first difference between the first adjustable gain and the second adjustable gain, and calculating a second difference between the first drain current and the second drain current;
determining a first slope between the adjustable gain and the drain current according to the first difference and the second difference;
obtaining a first intercept according to the first slope, the second drain current and the second adjustable gain;
the first slope and the first intercept are taken as the first relationship parameters.
6. The method of power scaling of claim 4 wherein said determining a target adjustable gain for said radio frequency link based on said first relationship parameter and a target drain current comprises:
Determining a third adjustable gain of the radio frequency link according to the first relation parameter and the target drain current;
setting the adjustable gain of the radio frequency link as the third adjustable gain, and detecting a third drain current of the power amplifier under the third adjustable gain;
and when the difference value between the third drain current and the target drain current is smaller than or equal to a preset difference value, taking the third adjustable gain as the target adjustable gain of the radio frequency link.
7. The power scaling method of claim 6, further comprising, after said detecting a third drain current of said power amplifier at said third adjustable gain:
when the difference between the third drain current and the target drain current is greater than the preset difference, the value of the first adjustable gain is the value of the second adjustable gain, the value of the second adjustable gain is the value of the third adjustable gain, the value of the first drain current is the value of the second drain current, the value of the second drain current is the value of the third drain current, and the step of obtaining the first relation parameter according to the first adjustable gain, the first drain current, the second adjustable gain and the second drain current is performed in a returning mode.
8. The method of power scaling of claim 6 wherein said determining a third adjustable gain of said radio frequency link based on said first relationship parameter and a target drain current comprises:
calculating a fourth adjustable gain of the radio frequency link according to the first relation parameter and the target drain current;
calculating a gain difference between the fourth adjustable gain and the second adjustable gain;
when the gain difference is smaller than or equal to a preset maximum adjustable step, determining the fourth adjustable gain as the third adjustable gain;
and determining the sum of the second adjustable gain and the maximum adjustable step as the third adjustable gain when the gain difference is greater than the maximum adjustable step.
9. The method of power scaling of claim 2 wherein said determining a target adjustable gain for said radio frequency link based on said present drain current and said target drain current comprises:
calculating an error value between the present drain current and the target drain current;
determining an offset parameter of the adjustable gain of the radio frequency link according to the error value and a preset PID formula;
And determining the target adjustable gain of the radio frequency link according to the offset parameter.
10. The power scaling method of any one of claims 1-9 wherein the obtaining a target drain current comprises:
acquiring a second relation parameter, wherein the second relation parameter is used for representing a linear relation between a current value and an AD value of drain current;
and determining a target AD value corresponding to the target current value according to the second relation parameter, and taking the target AD value as the target drain current.
11. The power scaling method of claim 10 wherein said obtaining a second relationship parameter comprises:
setting drain current of the power amplifier as a first current value and a second current value respectively to detect a first AD value corresponding to the first current value and a second AD value corresponding to the second current value;
calculating an AD difference between the first AD value and the second AD value, and calculating a current difference between the first current value and the second current value;
determining a second slope between the current value and the AD value according to the AD difference value and the current difference value;
obtaining a second intercept according to the second slope, the second AD value and the second current value;
The second slope and the second intercept are taken as the second relationship parameters.
12. The power scaling method of claim 11 wherein said determining a target AD value corresponding to a target current value based on said second relationship parameter comprises:
acquiring a target current value corresponding to the frequency of a transmitting signal of the radio frequency link;
calculating a product value between the target current value and the second slope;
and obtaining a target AD value corresponding to the target current value according to the sum of the product value and the second intercept.
13. The power scaling method of claim 12 wherein said obtaining a target AD value corresponding to said target current value based on a sum of said product value and said second intercept comprises:
obtaining a standard AD value of drain current when the power amplifier is turned off at a standard temperature, and obtaining a third AD value of drain current when the power amplifier is turned off at a current temperature;
calculating a target difference between the standard AD value and the third AD value;
and calculating the sum of the product value, the second intercept and the target difference value to obtain the target AD value.
14. The power scaling method of any one of claims 1-9, characterized in that the method further comprises:
Detecting output power of the plurality of power amplifiers when the drain current reaches a target current value, and obtaining output power of the plurality of power amplifiers;
sequencing the output power of the power amplifiers, and selecting a plurality of candidate output powers from the plurality of output powers according to sequencing results;
and averaging the plurality of candidate output powers to obtain the target output power to be calibrated of the power amplifier.
15. The power scaling method of any one of claims 1-9, characterized in that the radio frequency link comprises a transmit link; the determining the fixed gain of the radio frequency link according to the target output power and the adjusted adjustable gain comprises the following steps:
acquiring the transmission digital power of the transmission link corresponding to the target output power;
acquiring a filter gain corresponding to the transmission signal frequency of the transmission link;
and calculating the fixed gain of the transmitting link according to the target output power, the transmitting digital power, the filter gain and the adjusted adjustable gain.
16. The power scaling method of claim 15 wherein the radio frequency link further comprises a feedback link; the method further comprises the steps of:
Acquiring feedback digital power of the feedback link corresponding to the target output power;
acquiring preset adjustable gain of the feedback link;
and calculating the fixed gain of the feedback link according to the feedback digital power, the target output power, the filter gain and the adjustable gain of the feedback link.
17. A wireless communication device comprising a power amplifier, a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for enabling a connection communication between the processor and the memory, wherein the computer program, when executed by the processor, implements the steps of the power scaling method of any one of claims 1 to 16.
18. A storage medium for computer readable storage, wherein the storage medium stores one or more programs executable by one or more processors to implement the steps of the power scaling method of any one of claims 1 to 16.
CN202210706857.XA 2022-06-21 2022-06-21 Power scaling method, wireless communication device, and storage medium Pending CN117318846A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210706857.XA CN117318846A (en) 2022-06-21 2022-06-21 Power scaling method, wireless communication device, and storage medium
PCT/CN2023/074916 WO2023246114A1 (en) 2022-06-21 2023-02-08 Power calibration method, wireless communication device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210706857.XA CN117318846A (en) 2022-06-21 2022-06-21 Power scaling method, wireless communication device, and storage medium

Publications (1)

Publication Number Publication Date
CN117318846A true CN117318846A (en) 2023-12-29

Family

ID=89279886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210706857.XA Pending CN117318846A (en) 2022-06-21 2022-06-21 Power scaling method, wireless communication device, and storage medium

Country Status (2)

Country Link
CN (1) CN117318846A (en)
WO (1) WO2023246114A1 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7433658B1 (en) * 2003-09-30 2008-10-07 Marvell International Ltd. System and method for controlling true output power of a transmitter
DE602006020022D1 (en) * 2006-05-12 2011-03-24 St Microelectronics Srl Output power control of a high-frequency amplifier
CN106569117A (en) * 2015-10-08 2017-04-19 中兴通讯股份有限公司 Testing method and testing apparatus, control method and control system
CN108366419A (en) * 2018-01-05 2018-08-03 京信通信系统(中国)有限公司 A kind of output power control method, controller and output power regulator
CN109462382B (en) * 2018-10-26 2022-07-29 京信网络系统股份有限公司 Power amplification system, power measurement and control method, device and base station equipment
CN110113011B (en) * 2019-04-22 2022-12-30 京信网络系统股份有限公司 Radio frequency power amplifier grid voltage calibration system, method and access network equipment
CN111212436B (en) * 2019-12-23 2023-08-25 京信网络系统股份有限公司 Gain calibration method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
WO2023246114A1 (en) 2023-12-28

Similar Documents

Publication Publication Date Title
US9537519B2 (en) Systems and methods for performing power amplifier bias calibration
EP2086269B1 (en) A transmit power controller
US8831529B2 (en) Wireless communications circuitry with temperature compensation
US9019011B2 (en) Method of power amplifier calibration for an envelope tracking system
US9641146B2 (en) Apparatus and method for detecting radio frequency power
US8437793B2 (en) Wireless transmitter calibration using absolute power requests
EP2673880A2 (en) Group delay calibration method for power amplifier envelope tracking
WO2010069203A1 (en) Method and system for power calibrating in multi-carrier system
CN113328763B (en) Carrier power control method and device and radio remote unit
WO2023051241A1 (en) Method and apparatus for calibrating power of gsm radio frequency front end
WO2015131599A1 (en) Dynamic power control method and apparatus
CN111212436B (en) Gain calibration method, device, computer equipment and storage medium
CN109951244B (en) Power measurement and radio frequency receiving gain control method applied to channel simulator
EP3095190B1 (en) Method and apparatus for adjusting peak power capability
US8792579B2 (en) Continuous open loop control to closed loop control transition
CN117318846A (en) Power scaling method, wireless communication device, and storage medium
WO2020114365A1 (en) Transmitter output calibration
TW202135478A (en) Calibration system, radio frequency system,and output power linearization method thereof
US7772922B1 (en) Method and system for testing data signal amplifier having output signal power dependent upon multiple power control parameters
CN113098548B (en) Transmitting link, transmitting link calibration method, device and digital transceiver
CN113466774A (en) System and method for realizing automatic calibration of frequency spectrograph power under condition of adapting to ADC linear characteristic
WO2020134013A1 (en) Power adjustment method and device, array antenna and storage medium
CN114095101B (en) Automatic RF transmit power control for over-the-air testing
CN110380794B (en) Data-driven radio frequency transmission power calibration method and device for wireless communication system
US11924656B2 (en) Automatic RF transmit power control for over the air testing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication