WO2023246114A1 - Power calibration method, wireless communication device and storage medium - Google Patents

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

Info

Publication number
WO2023246114A1
WO2023246114A1 PCT/CN2023/074916 CN2023074916W WO2023246114A1 WO 2023246114 A1 WO2023246114 A1 WO 2023246114A1 CN 2023074916 W CN2023074916 W CN 2023074916W WO 2023246114 A1 WO2023246114 A1 WO 2023246114A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
drain current
adjustable gain
value
current
Prior art date
Application number
PCT/CN2023/074916
Other languages
French (fr)
Chinese (zh)
Inventor
黎辉勇
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2023246114A1 publication Critical patent/WO2023246114A1/en

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

Definitions

  • the present disclosure relates to the field of power control technology, and in particular, to a power calibration method, wireless communication device and storage medium.
  • the transmit power of wireless communication equipment directly affects the use effect of wireless communication equipment. For example, if the power of wireless communication equipment is too small, the communication coverage will be reduced. If the power of wireless communication equipment is too high, the wireless communication equipment will consume excessive power and cause interference. communication in the community, and there are problems such as shortening the life of wireless communication equipment. Therefore, wireless communication equipment must undergo transmission power calibration before leaving the factory.
  • the current power calibration method of wireless communication equipment is basically the traditional instrument calibration method, which requires the use of a spectrum analyzer or power meter to calibrate the transmit power of the wireless communication equipment and write the relevant calibration parameters. This power calibration method has high environmental requirements and requires external radio frequency instruments. It is easy to introduce technical problems such as inaccurate line loss, instrument center deviation, large wiring errors, and unstable complex fixtures.
  • the present disclosure provides a power calibration method, wireless communication equipment and storage medium, aiming to solve technical problems such as inaccurate line loss, instrument center deviation, large wiring errors, and unstable complex fixtures.
  • the present disclosure provides a power calibration method, which includes: obtaining the current drain current of a power amplifier, and obtaining a target drain current, wherein the target drain current matches the target output power of the power amplifier to be calibrated; according to the current Drain current and target drain current, adjust the adjustable gain of the radio frequency link, so that the drain current of the power amplifier changes with the adjustment of the adjustable gain, and make the changed drain current consistent with the target drain current Matching; determine the fixed gain of the RF link based on the target output power and the adjusted adjustable gain.
  • the present disclosure also provides a wireless communication device, including a power amplifier, a processor, a memory, a computer program stored on the memory and executable by the processor, and data for realizing connection communication between the processor and the memory.
  • a wireless communication device including a power amplifier, a processor, a memory, a computer program stored on the memory and executable by the processor, and data for realizing connection communication between the processor and the memory.
  • a bus wherein the computer program, when executed by a processor, implements the steps of any power scaling method provided by the present disclosure.
  • the present disclosure also provides a storage medium for computer-readable storage.
  • the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the present disclosure. Provides steps for any of the power scaling methods.
  • Figure 1 is a schematic flow chart of the steps of a power calibration method provided by the present disclosure
  • Figure 2 is a schematic structural diagram of the power amplifier provided by the present disclosure
  • Figure 3 is a schematic structural diagram of a base station provided by the present disclosure.
  • Figure 4 is a schematic flowchart of the sub-steps of the power calibration method in Figure 1;
  • FIG. 5 is a schematic flowchart of the steps of another power calibration method provided by the present disclosure.
  • Figure 6 is another schematic structural diagram of a base station provided by the present disclosure.
  • Figure 7 is a schematic structural block diagram of a wireless communication device provided by the present disclosure.
  • the present disclosure provides a power calibration method, wireless communication equipment and storage medium, aiming to solve technical problems such as inaccurate line loss, instrument center deviation, large wiring errors, and unstable complex fixtures, and significantly reduce the cost of power calibration.
  • Environmental requirements no need for external RF instruments, and can eliminate measurement errors caused by RF instruments, line losses, fixtures and other factors.
  • the present disclosure provides a power calibration method, wireless communication device and storage medium.
  • the power calibration method can be applied to wireless communication devices equipped with power amplifiers.
  • the wireless communication devices can be electronic devices such as mobile phones, tablet computers, notebook computers, desktop computers, personal digital assistants, and wearable devices.
  • the wireless communication device can also be a base station, such as an active antenna unit (Active Antenna Unit, AAU) and a radio remote unit (Radio Remote Unit, RRU), all base stations that include power amplifiers.
  • AAU active antenna unit
  • RRU Radio Remote Unit
  • the present disclosure provides a power calibration method that has low requirements on the calibration environment and does not require radio frequency instruments. It not only overcomes the shortcomings of the traditional instrument calibration method that has high requirements on the calibration environment, but also solves the problem that the 5G AAU single-board antenna integrated minimalist model suffers from the problem of transmit power calibration without a radio frequency interface for the traditional instrument calibration method. At the same time, since the radio frequency instrument is omitted, the production cost can also be reduced.
  • the present disclosure can be applied to the production and testing process of wireless communication equipment.
  • the power transmission port of the wireless communication equipment must be connected to a matching load or antenna to ensure radiation safety.
  • the wireless communication equipment itself must have the ability to detect the drain current of the power amplifier.
  • a current detection circuit is installed on the drain side of the power amplifier to collect the drain current of the power amplifier.
  • the power amplifier efficiency is related to the type of power amplifier and the working static state, drain voltage, output power, operating temperature, and output characteristics of the power amplifier tube, it must be ensured that the power amplifier used in the laboratory and the power amplifier used for production calibration are of the same power amplifier type and the same
  • the working static point the power amplifier tube is adjusted to the same target static point by adjusting the gate voltage in advance
  • the same drain voltage the same drain current (when other parameters are the same, the output power will be the same if the drain current is the same)
  • ⁇ 5°C The operating temperature within the error and the same manufacturer (the type and manufacturing process of the power amplifier tube directly determine the output characteristic curve between its drain current and drain voltage).
  • FIG. 1 is a schematic flow chart of a power calibration method provided by the present disclosure.
  • the target output power to be calibrated is determined based on the use effect of the base station in the 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. Therefore, the matching target drain current can be determined according to the target output power to be calibrated.
  • the power amplifier 10 includes a power amplifier tube and a circulator.
  • the power supply supplies power to the power amplifier tube through a current detection circuit.
  • the current detection circuit is used to detect the drain voltage U and drain current of the power amplifier 10. I.
  • the current drain current includes a first drain current and a second drain current, wherein the first drain current is the drain current of the power amplifier detected at the 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, for example, the second adjustable gain is The sum of the first adjustable gain and the preset gain, and the preset gain is, for example, 2dB or -2dB.
  • obtaining the current drain current of the power amplifier includes: obtaining the first adjustable gain, and setting the adjustable gain of the radio frequency link to the first adjustable gain to obtain the power amplifier under the first adjustable gain. the first drain current; determine the second adjustable gain according to the first adjustable gain, and set the adjustable gain of the radio frequency link to the second adjustable gain to obtain the second adjustable gain of the power amplifier under the second adjustable gain drain current.
  • the second drain current or the first drain current can be used as the current drain current of the power amplifier.
  • step S102 includes: sub-steps S1021 to sub-step S1022.
  • the target adjustable gain of the radio frequency link can be determined based on the current drain current and the target drain current.
  • the target adjustable gain of the radio frequency link can be determined based on the current drain current and the target drain current.
  • linear method and closed-loop control method. Closed-loop control method such as step method, PID (Proportion Integral Differential, proportion-integral-derivative) method, bisection method wait.
  • PID Proportion Integral Differential, proportion-integral-derivative
  • the target adjustable gain ATT TXX is greater than the preset maximum adjustable gain ATT MAX ; if the target adjustable gain ATT TXX is greater than the preset maximum adjustable gain If the gain ATT MAX is determined to be a closed loop failure, exit the step of determining the target adjustable gain; if the target adjustable gain ATT TXX is less than or equal to the preset maximum adjustable gain ATT MAX , execute the next sub-step.
  • the method of obtaining the first relationship parameter includes: calculating the first difference between the first adjustable gain and the second adjustable gain, and calculating the second difference between the first drain current and the second drain current. value; determined based on the first difference and the second difference The first slope between the adjustable gain and the drain current; according to the first slope, the second drain current and the second adjustable gain, the first intercept is obtained; the first slope and the first intercept are used as the first relationship parameter.
  • first difference and the second difference may be absolute values, that is, the first difference may be the absolute value of the difference between the first adjustable gain and the second adjustable gain, and the second difference It may be the absolute value of the difference between the first drain current and the second drain current, and the first slope and the first intercept as the first relationship parameters may be positive values or negative values.
  • the first difference between the first adjustable gain ATT TX1 and the second adjustable gain ATT TX2 is ATT TX2 -ATT TX1
  • determining the target adjustable gain of the radio frequency link based on the first relationship parameter and the target drain current includes: determining the third adjustable gain of the radio frequency link based on the first relationship parameter and the target drain current; The adjustable gain of the circuit is set to the third adjustable gain, and the third drain current of the power amplifier under the third adjustable gain is detected; the difference between the third drain current and the target drain current is less than or equal to the preset When setting the difference value, the third adjustable gain is used as the target adjustable gain of the radio frequency link.
  • the difference between the third drain current and the target drain current can be an absolute value, and the preset difference can be set according to actual conditions. 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.
  • the third adjustable gain ATT TX3 is the target adjustable gain ATT TXX of the radio frequency link.
  • determining the third adjustable gain of the radio frequency link based on the first relationship parameter and the target drain current includes: calculating the fourth adjustable gain of the radio frequency link based on the first relationship parameter and the target drain current.
  • Gain calculate the gain difference between the fourth adjustable gain and the second adjustable gain; when the gain difference is less than or equal to the preset maximum adjustable step, determine the fourth adjustable gain as the third adjustable gain Gain; when the gain difference is greater than the maximum adjustable step, the sum of the second adjustable gain and the maximum adjustable step is determined as the third adjustable gain.
  • the power amplifier temperature PAT is read through the temperature detection device. If the power amplifier temperature PAT is not within the preset temperature range [T MIN , T MAX ], the power amplifier is judged to be over-temperature, and the step of determining the target adjustable gain is exited. .
  • the preset temperature range is the operating temperature range of the power amplifier allowed during the calibration process.
  • the method further includes: When the difference between the 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, and the value of the second adjustable gain is the value of the third adjustable gain. , and let the value of the first drain current be the value of the second drain current, and the value of the second drain current be the value of the third drain current, so as to return to the execution according to the first adjustable gain, the first drain current , the second adjustable gain and the second drain current, the step of obtaining the first relationship parameter.
  • the preset difference value is E AD . If the preset difference value
  • a maximum number of cycles is set to return to the step of obtaining the first relationship parameter based on the first adjustable gain, the first drain current, the second adjustable gain, and the second drain current. It should be noted that when it is determined that the number of loops returned for execution is 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. Avoid infinite loops by controlling the number of loops.
  • Step S103 Determine the fixed gain of the radio frequency link based on the target output power and the adjusted adjustable gain.
  • the radio frequency link can be determined based on the target output power and the adjusted adjustable gain. Fixed gain to accurately achieve power calibration.
  • 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 RF link can be calculated based on the target output power and the adjusted adjustable gain to achieve power calibration without the need for an external RF instrument.
  • the current power calibration method relies on environmental factors such as radio frequency instruments, line losses, and fixtures, eliminating the measurement errors introduced by them.
  • the radio frequency link includes a transmit link; determining the fixed gain of the radio frequency link according to the target output power and the adjusted adjustable gain includes: obtaining the transmit digital power of the transmit link corresponding to the target output power; Obtain the filter gain corresponding to the transmit signal frequency of the transmit link; calculate the fixed gain of the transmit link based on the target output power, transmit digital power, filter gain and adjusted adjustable gain.
  • the fixed gain of the transmitting link can be called the output fixed gain of the transmitting link. It should be noted that the fixed gain of the transmitting link is calculated through the above method to achieve power calibration. No external radio frequency instrument is needed, and the power calibration environment is improved. It has lower requirements and good stability, which is very conducive to the production control process. At the same time, it can reduce production costs by eliminating the need for radio frequency instruments.
  • GAIN TX represents the fixed gain of the transmit link
  • P represents the target output power
  • TSSI represents the transmit digital power of the transmit link
  • ATT TXX represents the adjusted adjustable gain (the adjustable gain of the transmit link)
  • GAIN filter represents Filter gain (the gain of the filter at the frequency of the transmitted signal).
  • the transmit digital power TSSI and the adjustable gain ATT TXX of the transmit link can be read directly from inside the base station.
  • the GAIN filter can be tested in advance using a vector network analyzer, and the output power P is indirectly predicted by detecting the drain current of the power amplifier.
  • GAIN FB represents the fixed gain of the feedback link
  • FBSSI represents the feedback digital power
  • ATT FB represents the feedback chain
  • P represents the target output power
  • GAIN filter represents the filter gain.
  • the feedback digital power FBSSI and the feedback link adjustable gain ATT FB can be read directly from inside the base station.
  • power calibration needs to be performed under multiple transmit signal frequencies, that is, fixed gains of the radio frequency link under multiple transmit signal frequencies need to be determined.
  • the transmit signal frequencies correspond to the fixed gains of the radio frequency links one-to-one. Therefore, both the fixed gain of the transmitting link and the fixed gain of the feedback link can be gains corresponding to each transmitting signal frequency.
  • I represents the drain current
  • U represents the drain voltage of the power amplifier
  • represents the power amplifier efficiency
  • D represents the loss factor of the circulator.
  • ⁇ P represents the error caused by the power amplifier output power
  • ⁇ U represents the error caused by the drain voltage
  • ⁇ I represents the error caused by the drain current
  • represents the error caused by the power amplifier efficiency
  • ⁇ D represents the error caused by the circulator insertion loss.
  • ⁇ GAIN filter represents the error caused by the filter
  • ⁇ GAIN TX represents the error caused by the fixed gain of the transmit link
  • ⁇ GAIN FB represents the error caused by the fixed gain of the feedback link.
  • the error caused by the drain voltage U depends on the voltage measurement accuracy of the electronic load used for base station power amplifier drain voltage calibration.
  • the electronic load voltage measurement accuracy is generally 0.025%, which brings a huge impact on the power amplifier output power.
  • the error is about 0.001dB.
  • the error caused by the drain current I depends on the accuracy of the electronic load current measurement used for base station power amplifier drain current calibration.
  • the accuracy of the electronic load current measurement is generally 0.1%, which brings to the power amplifier output power.
  • the error is about 0.004dB.
  • the third aspect is the error caused by the insertion loss of the power amplifier circulator: it depends on the consistency of the manufacturer's incoming materials. The insertion loss itself is relatively small ⁇ 0.25dB.
  • the fourth aspect is the error caused by the power amplifier efficiency ⁇ : there are many influencing factors, but as long as the above conditions are met, the discreteness of the power amplifier efficiency is less than 10%.
  • the error brought to the output power of the power amplifier is ⁇ 0.457dB. Therefore, the power calibration method provided by the present disclosure has a mass production calibration error of ⁇ 0.662dB.
  • the errors of traditional instrument calibration methods include radio frequency instrument errors, line loss errors, and wiring errors.
  • Currently commonly used instrument calibration methods include power meter calibration and spectrum analyzer calibration. Ideally, for the power meter calibration method: the power meter error is ⁇ 0.2dB, the line loss error comes from the vector network analyzer measurement error of calibrating the line loss ⁇ 0.1dB, the wiring error of batch operation is ⁇ 0.2dB, and the total error is ⁇ 0.5 dB.
  • the spectrum analyzer error is ⁇ 0.5dB
  • the line loss error comes from the vector network analyzer measurement error of calibrating the line loss ⁇ 0.1dB
  • the attenuator larger base station power requires the use of high-power attenuators, tooling boards or Coupler
  • uncertainty ⁇ 0.2dB
  • batch operation wiring error ⁇ 0.2dB
  • total error ⁇ 1.0dB.
  • the power calibration method provided by the present disclosure is slightly higher than the power meter calibration method and much lower than the spectrum analyzer calibration method. Therefore, it can meet the batch testing requirements of production.
  • the errors caused by environmental factors introduced by traditional instrument calibration methods are large, so the calibration errors during mass production are often much larger than the calibration errors caused by the power calibration method provided by the present disclosure. Therefore, in the mass production process, the power calibration method provided by the present disclosure has smaller measurement errors than the traditional instrument calibration method, eliminating the dependence on environmental factors such as radio frequency instruments, line losses, and fixtures, and improving the power calibration environment. It has low requirements and good stability, which is very conducive to the production control process.
  • the power calibration method includes steps S201 to S204.
  • the current drain current of the power amplifier may be the current AD value A d detected by the power amplifier drain detection circuit
  • the second relationship parameter may be the second intercept and the second intercept between the current value and the AD value.
  • the AD value of the drain current is the value obtained by AD conversion of the current value.
  • the AD value of the drain current is the value obtained by AD (analog-digital) conversion of the current signal at the drain of the power amplifier, thereby converting the analog value into The current value is converted into a digital value.
  • the drain current of the power amplifier is set to a first current value and a second current value respectively to detect the first AD value corresponding to the first current value and the second AD value corresponding to the second current value; calculate the The AD difference between the first AD value and the second AD value, and calculate the current difference between the first current value and the second current value; based on the AD difference and the current difference, determine the difference between the current value and the AD value the second slope; according to the second slope, the second AD value and the second current value, the second intercept is obtained; the second slope and the second intercept are used as the second relationship parameter. It should be noted that according to the linear relationship between the current value of the drain current and the AD value, 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, which is beneficial to Improve the accuracy of subsequent power calibration.
  • the power supply is used to supply power to the load and the power amplifier.
  • the power amplifier When the power is turned off, the power amplifier is turned off and the load is in open circuit mode.
  • the power amplifier When the power is turned on, the power amplifier is turned on and the load is in constant current mode. If the power amplifier is turned off, the grid voltage of the power amplifier tube is cleared, and the load is set to open circuit mode, the digital signal processing (DSP) chip can read the AD value A 0 detected by the current detection circuit at this time. If the power amplifier is turned on, set the load to constant current mode, and set the drain current to the first current value.
  • the first current value can be the minimum target current value I min . Read the first AD value A detected by the current detection circuit at this time. 1 .
  • the second current value may be the target current maximum value I max , and read the second AD value A 2 detected by the current detection circuit at this time.
  • 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
  • Step S202 Determine the target AD value corresponding to the target current value according to the second relationship parameter, and use the target AD value as the target drain current.
  • the target drain current matches the target output power of the power amplifier to be calibrated.
  • the target current value I n corresponds to the transmission signal frequency f n of the transmission link
  • the target current value corresponding to the current transmission signal frequency is obtained
  • the target AD value corresponding to the target current value is determined according to the second relationship parameter to obtain the target leakage Extreme current.
  • a target current value corresponding to the transmit signal frequency of the radio frequency link is obtained; a product value between the target current value and the second slope is calculated; and the target current value is obtained based on the sum of the product value and the second intercept.
  • Different transmit signal frequencies correspond to different target current values. The corresponding relationship between the transmit signal frequency and the target current value can be obtained through laboratory comparison in advance.
  • obtaining the target AD value corresponding to the target current value based on the sum of the product value and the second intercept includes: obtaining the standard AD value of the drain current when the power amplifier is turned off at a standard temperature, and obtaining the current temperature Calculate the third AD value of the drain current when the power amplifier is turned off; calculate the target difference between the standard AD value and the third AD value; calculate the sum of the product value, the second intercept and the target difference to obtain the target AD value.
  • the standard AD value can be obtained and saved in advance through the laboratory.
  • the target AD value is obtained by calculating the sum of the target difference, product value, and second intercept between the corresponding standard AD value and the third AD value at the standard temperature, which can eliminate the influence of temperature drift and improve the accuracy of power calibration.
  • AD G represents the target AD value
  • w represents the second slope
  • In represents the target current value
  • d represents the second intercept
  • a d represents the third AD value
  • a 0 represents the standard AD value.
  • the target difference between the standard AD value and the third AD value is A d -A 0 . This target difference can represent the influence of temperature drift caused by the drain circuit of the power amplifier.
  • Step S203 Adjust the adjustable gain of the radio frequency link according to the current drain current and the target drain current, so that the drain current of the power amplifier changes with the adjustment of the adjustable gain, and the changed drain current is equal to target drain current.
  • the number of adjustments to the adjustable gain of the radio frequency link can be one or more times.
  • the difference between the changed drain current and the target drain current will be achieved.
  • the current difference is getting closer and closer to zero.
  • matching the changed drain current with the target drain current includes: the current difference between the changed drain current and the target drain current is less than or equal to the preset current difference.
  • the target adjustable gain of the radio frequency link is determined based on the current drain current and the target drain current; and the adjustable gain of the radio frequency link is adjusted based on the target adjustable gain.
  • the closed-loop control method includes the step method, the PID method, the dichotomy method, etc. After determining the target adjustable gain of the radio frequency link, the adjustable gain of the radio frequency link is set to the target adjustable gain so that the drain current of the power amplifier at the target adjustable gain matches the target drain current.
  • the following uses the PID method as an example to illustrate an implementation method for determining the target adjustable gain of the radio frequency link based on the current drain current and the target drain current.
  • determining the target adjustable gain of the radio frequency link based on the current drain current and the target drain current includes: calculating an error value between the current drain current and the target drain current; Set the PID expression to determine the offset parameter of the adjustable gain of the radio frequency link; according to the offset parameter, determine the target adjustable gain of the radio frequency link.
  • the PID algorithm is a control algorithm that combines proportional, integral and differential links. It realizes the closed-loop adjustment of the adjustable gain of the radio frequency link through the preset PID expression, and can accurately control the changed drain current. matches the target drain current.
  • the preset proportional coefficient, the preset integral coefficient and the preset differential coefficient are obtained; the first offset parameter of the adjustable gain is determined according to the preset proportional coefficient and error value; the adjustable gain is determined according to the preset integral coefficient and error value.
  • the second offset parameter of the gain determine the third offset parameter of the adjustable gain according to the preset differential coefficient and error value; calculate the sum of the first offset parameter, the second offset parameter and the third offset parameter to obtain Offset parameter for the adjustable gain of the RF link.
  • Step S204 Determine the fixed gain of the radio frequency link based on the target output power and the adjusted adjustable gain.
  • the radio frequency link can be determined based on the target output power and the adjusted adjustable gain. Fixed gain to accurately achieve power calibration. It has lower requirements on the power calibration environment and has good stability, which is very beneficial to the production control process. At the same time, it can reduce production costs by eliminating the need for radio frequency instruments.
  • 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 feedback variable gain of the feedback link can adjust the adjustable gain of the radio frequency link.
  • the fixed gain of the radio frequency link includes the fixed gain of the transmitting link and the fixed gain of the feedback link.
  • GAIN TX represents the fixed gain of the transmit link
  • P represents the target output power
  • TSSI represents the transmit digital power of the transmit link
  • ATT TXX represents the adjustable gain of the transmit link
  • GAIN filter represents the filter gain
  • GAIN FB represents feedback.
  • FBSSI represents the feedback digital power
  • ATT FB represents the adjustable gain of the feedback link.
  • the transmission signal frequency corresponds to the fixed gain of the radio frequency link. If power calibration of the transmission signal frequency range [f 0 , f n-1 ] is required, the frequencies f 0 to f n need to be calculated.
  • after calculating the fixed gain of the radio frequency link corresponding to f 0 through the present disclosure according to the target current value corresponding to the next frequency f 1 , return to step S202 to obtain the radio frequency link corresponding to f 1 fixed gain until frequency f n completes the traversal, and a calibration parameter data table is obtained.
  • the calibration parameter data table records the fixed gains GAIN 1 to GAIN n- of the corresponding radio frequency links at frequencies f 0 to f n-1. 1 .
  • the power calibration method obtained in the above embodiments obtains the current drain current of the power amplifier and obtains the second relationship parameter, determines the target AD value corresponding to the target current value according to the second relationship parameter, and uses the target AD value as the target drain. current, where the target drain current matches the target output power of the power amplifier to be calibrated; according to the current drain current and the target drain current, the adjustable gain of the RF link is adjusted so that the drain current of the power amplifier can be adjusted with The gain is adjusted to change, and the changed drain current matches the target drain current; the fixed gain of the RF link is determined based on the target output power and the adjusted adjustable gain.
  • This disclosure indirectly detects the output power of the power amplifier through the drain current of the power amplifier and the second relationship parameter, thereby calculating the fixed gain of the radio frequency link to achieve power calibration without the need for an external radio frequency instrument, eliminating the current power calibration method's burden on the radio frequency instrument. , line loss, fixtures and other environmental factors, eliminating the measurement errors introduced by them. It has low requirements on the power calibration environment and good stability, which is very conducive to the production control process and production cost control.
  • the radio frequency link of the base station includes a transmit link and a feedback link.
  • the purpose is to calibrate the fixed gain GAIN TX of the transmit link and the fixed gain GAIN FB of the feedback link.
  • ATT TX is the adjustable gain of the transmit link
  • [ATT MIN , ATT MAX ] is the adjustable range of ATT TX
  • STEP MAX is the maximum adjustable step of the adjustable gain of the transmit link
  • [T MIN , T MAX ] is the allowable operating temperature range of the power amplifier during 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 gain of the filter at frequency f n
  • TSSI is the transmit digital power
  • FBSSI is the feedback digital power.
  • the following local units involving power are all in dBm or dB.
  • the frequency f n can be multiple. If the frequency f n has not been traversed completely, return to step (3). Otherwise, turn off the power amplifier and complete the calibration.
  • FIG. 7 is a schematic structural block diagram of a wireless communication device provided by the present disclosure.
  • the memory 302 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a USB disk, a mobile hard disk, or the like.
  • ROM read-only memory
  • the memory 302 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a USB disk, a mobile hard disk, or the like.
  • the processor is used to run a computer program stored in the memory, and implement any one of the power scaling methods provided by this disclosure when executing the computer program.
  • the processor is configured to execute a computer program stored in the memory, and when executing the computer program Implement the following steps: obtain the current drain current of the power amplifier and obtain the target drain current, where the target drain current matches the target output power to be calibrated of the power amplifier; based on the current drain current and the target drain current, calculate the radio frequency chain
  • the adjustable gain of the circuit is adjusted so that the drain current of the power amplifier changes with the adjustment of the adjustable gain, and the changed drain current matches the target drain current; according to the target output power and the adjusted adjustable Gain, determines the fixed gain of the RF link.
  • the processor when adjusting the adjustable gain of the radio frequency link based on the current drain current and the target drain current, is configured to: determine the radio frequency based on the current drain current and the target drain current. The target adjustable gain of the link; adjust the adjustable gain of the radio frequency link according to the target adjustable gain.
  • the processor when determining the target adjustable gain of the radio frequency link based on the first relationship parameter and the target drain current, is configured to: determine the radio frequency chain based on the first relationship parameter and the target drain current.
  • the third adjustable gain of the radio frequency link set the adjustable gain of the radio frequency link to the third adjustable gain, and detect the third drain current of the power amplifier under the third adjustable gain; when the third drain current is consistent with the target drain
  • the third adjustable gain is used as the target adjustable gain of the radio frequency link.
  • the processor is further configured to: the difference between the third drain current and the target drain current is greater than a predetermined value.
  • the difference let the value of the first adjustable gain be the value of the second adjustable gain, the value of the second adjustable gain be the value of the third adjustable gain, and let the value of the first drain current be the value of the second
  • the value of the drain current and the value of the second drain current are the value of the third drain current, so as to return to execution according to the first adjustable gain, the first drain current, the second adjustable gain and the second drain current, Steps to obtain first relationship parameters.
  • the processor determines the third adjustable gain of the radio frequency link according to the first relationship parameter and the target drain current, and is used to: calculate the radio frequency chain according to the first relationship parameter and the target drain current.
  • the fourth adjustable gain of the path calculate the gain difference between the fourth adjustable gain and the second adjustable gain; when the gain difference is less than or equal to the preset maximum adjustable step, the fourth adjustable gain It is determined as the third adjustable gain; when the gain difference is greater than the maximum adjustable step, the sum of the second adjustable gain and the maximum adjustable step is determined as the third adjustable gain.
  • the processor when acquiring the target drain current, is configured to: acquire a second relationship parameter, and the second relationship parameter is used to characterize the linear relationship between the current value of the drain current and the AD value; according to The second relationship parameter determines the target AD value corresponding to the target current value, and uses the target AD value as the target drain current.
  • the processor when determining the target AD value corresponding to the target current value according to the second relationship parameter, is configured to: obtain the target current value corresponding to the transmission signal frequency of the transmission link; calculate the target current value and The product value between the second slopes; based on the sum of the product value and the second intercept, the target AD value corresponding to the target current value is obtained.
  • the processor when the processor obtains the target AD value corresponding to the target current value based on the sum of the product value and the second intercept, it is used to: obtain the standard of the drain current when the power amplifier is turned off at a standard temperature. AD value, and obtain the third AD value of the drain current when the power amplifier is turned off at the current temperature; calculate the target difference between the standard AD value and the third AD value; calculate the product value, the second intercept and the target difference and, get the target AD value.
  • the processor also implements: detecting the output power of multiple power amplifiers when the drain current reaches the target current value, and obtaining the output power of the multiple power amplifiers; sorting the output powers of the multiple power amplifiers, and sorting the output power according to the sorting results. Select multiple candidate output powers from multiple output powers; average the multiple candidate output powers to obtain the target output power of the power amplifier to be calibrated.
  • the present disclosure also provides a storage medium for computer-readable storage.
  • the storage medium stores one or more programs.
  • the one or more programs can be executed by one or more processors to implement any of the methods provided by the present disclosure. Steps of term power scaling method.
  • 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).
  • computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical disk storage, magnetic cartridges, tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer.
  • 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 may include any information delivery media .

Abstract

The present disclosure belongs to the field of power control. Provided are a power calibration method, a wireless communication device and a storage medium. The method comprises: acquiring the present drain electrode current of a power amplifier, and acquiring a target drain electrode current, wherein the target drain electrode current matches a target output power, to be calibrated, of the power amplifier; adjusting an adjustable gain of a radio frequency link according to the present drain electrode current and the target drain electrode current, so that the drain electrode current of the power amplifier changes along with the adjustment of the adjustable gain, and the changed drain electrode current matches the target drain electrode current; and determining a fixed gain of the radio frequency link according to the target output power and the adjusted adjustable gain.

Description

功率定标方法、无线通信设备及存储介质Power calibration method, wireless communication equipment and storage medium
相关申请的交叉引用Cross-references to related applications
本公开要求享有2022年06月21日提交的名称为“功率定标方法、无线通信设备及存储介质”的中国专利申请CN202210706857.X的优先权,其全部内容通过引用并入本公开中。This disclosure claims priority to Chinese patent application CN202210706857.
技术领域Technical field
本公开涉及功率控制技术领域,尤其涉及一种功率定标方法、无线通信设备及存储介质。The present disclosure relates to the field of power control technology, and in particular, to a power calibration method, wireless communication device and storage medium.
背景技术Background technique
在无线通信系统中,功率控制技术具有非常重要的意义。无线通信设备的发射功率大小直接影响到无线通信设备的使用效果,如无线通信设备的功率太小会导致通讯覆盖范围缩小,如无线通信设备的功率过大导致无线通信设备过度耗电、干扰临近小区的通信,并出现无线通信设备寿命缩短等问题。因此,无线通信设备在出厂前必须要进行发射功率定标。然而,当前的无线通信设备功率定标方法基本上都是传统的仪表定标法,需要使用频谱仪或功率计去标定无线通信设备的发射功率并写入相关的定标参数。这种功率定标方法对环境要求较高且需要外加射频仪表,容易引入如线损不准、仪表准心偏移、接线误差大、复杂的夹具不稳定等技术问题。In wireless communication systems, power control technology is of very important significance. The transmit power of wireless communication equipment directly affects the use effect of wireless communication equipment. For example, if the power of wireless communication equipment is too small, the communication coverage will be reduced. If the power of wireless communication equipment is too high, the wireless communication equipment will consume excessive power and cause interference. communication in the community, and there are problems such as shortening the life of wireless communication equipment. Therefore, wireless communication equipment must undergo transmission power calibration before leaving the factory. However, the current power calibration method of wireless communication equipment is basically the traditional instrument calibration method, which requires the use of a spectrum analyzer or power meter to calibrate the transmit power of the wireless communication equipment and write the relevant calibration parameters. This power calibration method has high environmental requirements and requires external radio frequency instruments. It is easy to introduce technical problems such as inaccurate line loss, instrument center deviation, large wiring errors, and unstable complex fixtures.
发明内容Contents of the invention
本公开提供一种功率定标方法、无线通信设备及存储介质,旨在解决线损不准、仪表准心偏移、接线误差大、复杂的夹具不稳定等技术问题。The present disclosure provides a power calibration method, wireless communication equipment and storage medium, aiming to solve technical problems such as inaccurate line loss, instrument center deviation, large wiring errors, and unstable complex fixtures.
第一方面,本公开提供一种功率定标方法,包括:获取功放的当前漏极电流,并获取目标漏极电流,其中,目标漏极电流与功放待标定的目标输出功率相匹配;根据当前漏极电流和目标漏极电流,对射频链路的可调增益进行调节,使得功放的漏极电流随可调增益的调节而发生变化,并使变化后的漏极电流与目标漏极电流相匹配;根据目标输出功率和调节后的可调增益,确定射频链路的固定增益。In a first aspect, the present disclosure provides a power calibration method, which includes: obtaining the current drain current of a power amplifier, and obtaining a target drain current, wherein the target drain current matches the target output power of the power amplifier to be calibrated; according to the current Drain current and target drain current, adjust the adjustable gain of the radio frequency link, so that the drain current of the power amplifier changes with the adjustment of the adjustable gain, and make the changed drain current consistent with the target drain current Matching; determine the fixed gain of the RF link based on the target output power and the adjusted adjustable gain.
第二方面,本公开还提供一种无线通信设备,包括功放、处理器、存储器、存储在存储器上并可被处理器执行的计算机程序以及用于实现处理器和存储器之间的连接通信的数据总线,其中所述计算机程序被处理器执行时,实现如本公开提供的任一项功率定标方法的步骤。In a second aspect, the present disclosure also provides a wireless communication device, including a power amplifier, a processor, a memory, a computer program stored on the memory and executable by the processor, and data for realizing connection communication between the processor and the memory. A bus, wherein the computer program, when executed by a processor, implements the steps of any power scaling method provided by the present disclosure.
第三方面,本公开还提供一种存储介质,用于计算机可读存储,存储介质存储有一个或者多个程序,一个或者多个程序可被一个或者多个处理器执行,以实现如本公开提供的任一项功率定标方法的步骤。In a third aspect, the present disclosure also provides a storage medium for computer-readable storage. The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the present disclosure. Provides steps for any of the power scaling methods.
附图说明Description of the drawings
图1为本公开提供的一种功率定标方法的步骤流程示意图;Figure 1 is a schematic flow chart of the steps of a power calibration method provided by the present disclosure;
图2为本公开提供的功放的一结构示意图;Figure 2 is a schematic structural diagram of the power amplifier provided by the present disclosure;
图3为本公开提供的基站的一结构示意图;Figure 3 is a schematic structural diagram of a base station provided by the present disclosure;
图4为图1中的功率定标方法的子步骤流程示意图;Figure 4 is a schematic flowchart of the sub-steps of the power calibration method in Figure 1;
图5为本公开提供的另一种功率定标方法的步骤流程示意图; Figure 5 is a schematic flowchart of the steps of another power calibration method provided by the present disclosure;
图6为本公开提供的基站的另一结构示意图;Figure 6 is another schematic structural diagram of a base station provided by the present disclosure;
图7为本公开提供的一种无线通信设备的结构示意框图。Figure 7 is a schematic structural block diagram of a wireless communication device provided by the present disclosure.
具体实施方式Detailed ways
下面将结合本公开中的附图,对本公开中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in this disclosure will be clearly and completely described below with reference to the accompanying drawings in this disclosure. Obviously, the described embodiments are part of the embodiments of this disclosure, rather than all embodiments. Based on the embodiments in this disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this disclosure.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all contents and operations/steps, nor are they necessarily performed in the order described. For example, some operations/steps can also be decomposed, combined or partially merged, so the actual order of execution may change according to actual conditions.
应当理解,在此本公开说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本公开。如在本公开说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should be understood that the terminology used in the description of the disclosure is for the purpose of describing particular embodiments only and is not intended to limit the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly dictates otherwise.
本公开提供一种功率定标方法、无线通信设备及存储介质,旨在解决线损不准、仪表准心偏移、接线误差大、复杂的夹具不稳定等技术问题,大幅降低功率定标的环境要求,无需外接射频仪表,能够消除由射频仪表、线损、夹具等因素引入的测量误差。The present disclosure provides a power calibration method, wireless communication equipment and storage medium, aiming to solve technical problems such as inaccurate line loss, instrument center deviation, large wiring errors, and unstable complex fixtures, and significantly reduce the cost of power calibration. Environmental requirements, no need for external RF instruments, and can eliminate measurement errors caused by RF instruments, line losses, fixtures and other factors.
本公开提供一种功率定标方法、无线通信设备及存储介质。其中,该功率定标方法可应用于设置有功放的无线通信设备中,该无线通信设备可以为手机、平板电脑、笔记本电脑、台式电脑、个人数字助理和穿戴式设备等电子设备。该无线通信设备还可以为基站,例如有源天线单元(Active Antenna Unit,AAU)和射频拉远单元(Radio Remote Unit,RRU)的所有包含有功放的基站。The present disclosure provides a power calibration method, wireless communication device and storage medium. Among them, the power calibration method can be applied to wireless communication devices equipped with power amplifiers. The wireless communication devices can be electronic devices such as mobile phones, tablet computers, notebook computers, desktop computers, personal digital assistants, and wearable devices. The wireless communication device can also be a base station, such as an active antenna unit (Active Antenna Unit, AAU) and a radio remote unit (Radio Remote Unit, RRU), all base stations that include power amplifiers.
在无线通信设备的功率控制领域,传统的仪表定标法需用频谱仪或功率计去标定无线通信设备的发射功率并写入相关定标参数。然而,这种传统方法会引入许多环境误差从而导致复测率高等问题,环境误差如线损不准、仪表准心偏移、接线误差大、复杂的夹具不稳定等。同时,目前5G AAU基站正朝单板天线一体化的极简机型发展,这种机型将无射频接口用于传统的仪表定标法。因此,如何实现免射频仪表、低环境要求的基站功率定标方法成为了亟需解决的问题。In the field of power control of wireless communication equipment, the traditional instrument calibration method requires a spectrum analyzer or power meter to calibrate the transmit power of the wireless communication equipment and write the relevant calibration parameters. However, this traditional method will introduce many environmental errors, such as inaccurate line loss, instrument center deviation, large wiring errors, and unstable complex fixtures, which will lead to problems such as high retest rates. At the same time, 5G AAU base stations are currently developing towards minimalist models with integrated single-board antennas. This model uses no radio frequency interface for traditional instrument calibration methods. Therefore, how to implement a base station power calibration method that requires no radio frequency instruments and has low environmental requirements has become an urgent problem that needs to be solved.
基于此,本公开提供了一种对定标环境要求低、免射频仪表的功率定标方法。既克服了传统仪表定标法对定标环境要求高的缺点,又解决了5G AAU单板天线一体化极简机型发射功率定标苦于无射频接口用于传统的仪表定标法的问题,同时由于省掉了射频仪表,还可以降低生产成本。Based on this, the present disclosure provides a power calibration method that has low requirements on the calibration environment and does not require radio frequency instruments. It not only overcomes the shortcomings of the traditional instrument calibration method that has high requirements on the calibration environment, but also solves the problem that the 5G AAU single-board antenna integrated minimalist model suffers from the problem of transmit power calibration without a radio frequency interface for the traditional instrument calibration method. At the same time, since the radio frequency instrument is omitted, the production cost can also be reduced.
本公开可应用于无线通信设备的生产测试过程,应用时必须将无线通信设备的功率发射口接匹配负载或天线,保证辐射安全。无线通信设备本身必须具备功放漏极电流的检测能力,例如功放的漏极侧设置有电流检测电路来采集功放的漏极电流。由于功放效率与功放的类型和功放管的工作静态、漏极电压、输出功率、工作温度、输出特性相关,因此,必须确保实验室使用的功放与生产定标的功放为相同的功放类型、相同的工作静态点(预先通过调整栅压将功放管调整在同一目标静态点)、相同的漏极电压、相同的漏极电流(其它参数相同时漏极电流相同则输出功率相同)、±5℃误差内的工作温度、相同的厂家(功放管的类型和制造工艺直接决定了其漏极电流与漏极电压之间的输出特性曲线)。The present disclosure can be applied to the production and testing process of wireless communication equipment. During application, the power transmission port of the wireless communication equipment must be connected to a matching load or antenna to ensure radiation safety. The wireless communication equipment itself must have the ability to detect the drain current of the power amplifier. For example, a current detection circuit is installed on the drain side of the power amplifier to collect the drain current of the power amplifier. Since the power amplifier efficiency is related to the type of power amplifier and the working static state, drain voltage, output power, operating temperature, and output characteristics of the power amplifier tube, it must be ensured that the power amplifier used in the laboratory and the power amplifier used for production calibration are of the same power amplifier type and the same The working static point (the power amplifier tube is adjusted to the same target static point by adjusting the gate voltage in advance), the same drain voltage, the same drain current (when other parameters are the same, the output power will be the same if the drain current is the same), ±5℃ The operating temperature within the error and the same manufacturer (the type and manufacturing process of the power amplifier tube directly determine the output characteristic curve between its drain current and drain voltage).
下面结合附图,以该功率定标方法应用于基站为例,对本公开的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。同理的,该功率定标方法也可应用于其他的无线通信设备。 Some embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings, taking the application of the power calibration method to a base station as an example. The following embodiments and features in the embodiments may be combined with each other without conflict. Similarly, this power calibration method can also be applied to other wireless communication devices.
请参照图1,图1为本公开提供的一种功率定标方法的步骤流程示意图。Please refer to FIG. 1 , which is a schematic flow chart of a power calibration method provided by the present disclosure.
如图1所示,该功率定标方法包括步骤S101至步骤S103。As shown in Figure 1, the power calibration method includes steps S101 to S103.
步骤S101、获取功放的当前漏极电流,并获取目标漏极电流,其中,目标漏极电流与功放待标定的目标输出功率相匹配。Step S101: Obtain the current drain current of the power amplifier and obtain the target drain current, where the target drain current matches the target output power of the power amplifier to be calibrated.
其中,功放的输出功率与功放的漏极电流之间存在对应关系,漏极电流与输出功率之间的对应关系需要使用射频仪表在实验室预先获取。例如,在实验室获取功放在多个漏极电流下对应的功放输出功率,再使用线性回归或多项式回归等方法得到漏极电流和功放输出功率之间的关系曲线或表达式。Among them, there is a corresponding relationship between the output power of the power amplifier and the drain current of the power amplifier. The corresponding relationship between the drain current and the output power needs to be obtained in advance in the laboratory using a radio frequency instrument. For example, obtain the corresponding power amplifier output power under multiple drain currents in the laboratory, and then use linear regression or polynomial regression to obtain the relationship curve or expression between the drain current and the power amplifier output power.
需要说明的是,待标定的目标输出功率是根据基站在外场的使用效果确定的,功放的目标漏极电流是在功放的输出功率为目标输出功率时检测得到的。因此,根据待标定的目标输出功率能确定相匹配的目标漏极电流。It should be noted that the target output power to be calibrated is determined based on the use effect of the base station in the 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. Therefore, the matching target drain current can be determined according to the target output power to be calibrated.
在一示例性实施例中,如图2所示,功放10包括功放管和环形器,电源通过电流检测电路向功放管供电,电流检测电路用于检测功放10的漏极电压U和漏极电流I。功放输出功率P满足以下表达式:
P=10*log10(U*I*μ)+10*log10D
In an exemplary embodiment, as shown in Figure 2, the power amplifier 10 includes a power amplifier tube and a circulator. The power supply supplies power to the power amplifier tube through a current detection circuit. The current detection circuit is used to detect the drain voltage U and drain current of the power amplifier 10. I. The power amplifier output power P satisfies the following expression:
P=10*log 10 (U*I*μ)+10*log 10 D
其中,I表示漏极电流,U表示功放的漏极电压、μ表示功放效率、D表示环形器的损耗因子,10*log10D表示环形器插损。其中,环形器插损10*log10D是固定的;漏极电压U可以在功率定标过程中直接设定;对于同一功放,相同条件下,功放效率μ是固定的。因此只要检测到功放的漏极电流I达到目标漏极电流,即可预知输出功率P已达到目标输出功率。Among them, I represents the drain current, U represents the drain voltage of the power amplifier, μ represents the power amplifier efficiency, D represents the loss factor of the circulator, and 10*log10D represents the circulator insertion loss. Among them, the circulator insertion loss 10*log 10 D is fixed; the drain voltage U can be set directly during the power calibration process; for the same power amplifier, under the same conditions, the power amplifier efficiency μ is fixed. Therefore, as long as it is detected that the drain current I of the power amplifier reaches the target drain current, it can be predicted that the output power P has reached the target output power.
在一实施例中,待标定的目标输出功率的确定方式为:检测多个功放在漏极电流达到目标电流值时的输出功率,得到多个功放的输出功率;对多个功放的输出功率进行排序,并根据排序结果从多个输出功率中选取多个候选输出功率;对多个候选输出功率取平均值,得到功放待标定的目标输出功率。需要说明的是,多个功放可以是同一类型的功放产品,多个候选输出功率可以根据预设范围或预设数量进行选取。对多个功放在漏极电流达到目标电流值时的输出功率进行排序和选取,并对选取出的多个候选输出功率取平均值以获取目标输出功率,能够保证目标输出功率的代表性,有利于提高后续功率定标的准确度。In one embodiment, the target output power to be calibrated is determined by: detecting the output power of multiple power amplifiers when the drain current reaches the target current value, and obtaining the output power of the multiple power amplifiers; Sort, and select multiple candidate output powers from multiple output powers according to the sorting results; average the multiple candidate output powers to obtain the target output power of the power amplifier to be calibrated. It should be noted that multiple power amplifiers can be of the same type of power amplifier product, and multiple candidate output powers can be selected according to a preset range or a preset number. Sort and select the output powers of multiple power amplifiers when their drain current reaches the target current value, and average the selected candidate output powers to obtain the target output power, which can ensure the representativeness of the target output power. It is beneficial to improve the accuracy of subsequent power calibration.
在一示例性实施例中,如图3所示,信号源40向功放10输出发射信号,信号源40与功放10之间的通道即为射频链路。发射信号通过射频链路到达功放10后,功放10通过功率计20向负载30进行发射信号输出,电源50用于供电,电流表60用于监控功放10的漏极电流,电压表70用于监控功放10的漏极电压。信号源40从小到大调整信号源的输出,使得功放的漏极电流I达到目标漏极电流In,此时通过功率计20可以读取功放的实际输出功率P。基于此,测试同一型号下的n个功放,获取到n个功放的实际输出功率P0~Pn-1,n≧20。将n个功放的实际输出功率P0~Pn-1从小到大进行排序,取排序结果中间80%的数据取平均输出功率Paver,Paver即为此类功放与目标漏极电流In对应的目标输出功率PnIn an exemplary embodiment, as shown in FIG. 3 , the signal source 40 outputs a transmission signal to the power amplifier 10 , and the channel between the signal source 40 and the power amplifier 10 is a radio frequency link. After the transmit signal reaches the power amplifier 10 through the radio frequency link, the power amplifier 10 outputs the transmit signal to the load 30 through the power meter 20. The power supply 50 is used for power supply, the ammeter 60 is used to monitor the drain current of the power amplifier 10, and the voltmeter 70 is used to monitor the power amplifier. drain voltage of 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 In . At this time, the actual output power P of the power amplifier can be read through the power meter 20 . Based on this, n power amplifiers of the same model were tested, and the actual output powers P 0 ~ P n-1 of the n power amplifiers were obtained, n≧20. Sort the actual output powers P 0 ~ P n-1 of n power amplifiers from small to large, and take the middle 80% of the sorted results to get the average output power P aver . P aver is the relationship between this type of power amplifier and the target drain current I n The corresponding target output power P n .
在一实施例中,当前漏极电流包括第一漏极电流和第二漏极电流,其中,第一漏极电流为在射频链路的第一可调增益下检测到的功放的漏极电流;第二漏极电流为在射频链路的第二可调增益下检测到的功放的漏极电流;第二可调增益可以是根据第一可调增益确定的,例如第二可调增益为第一可调增益与预设增益之和,预设增益例如为2dB或者-2dB。In one embodiment, the current drain current includes a first drain current and a second drain current, wherein the first drain current is the drain current of the power amplifier detected at the 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, for example, the second adjustable gain is The sum of the first adjustable gain and the preset gain, and the preset gain is, for example, 2dB or -2dB.
在一实施例中,获取功放的当前漏极电流,包括:获取第一可调增益,并将射频链路的可调增益设置为第一可调增益,以获取第一可调增益下的功放的第一漏极电流;根据第一可调增益确定第二可调增益,并将射频链路的可调增益设置为第二可调增益,以获取第二可调增益下的功放的第二漏极电流。其中,第二漏极电流或者第一漏极电流可以作为功放的当前漏极电流。通过采集第一漏极电流和第二漏极电流有利于提高后续功率定标的准确度。 In one embodiment, obtaining the current drain current of the power amplifier includes: obtaining the first adjustable gain, and setting the adjustable gain of the radio frequency link to the first adjustable gain to obtain the power amplifier under the first adjustable gain. the first drain current; determine the second adjustable gain according to the first adjustable gain, and set the adjustable gain of the radio frequency link to the second adjustable gain to obtain the second adjustable gain of the power amplifier under the second adjustable gain drain current. The second drain current or the first drain current can be used as the current drain current of the power amplifier. By collecting the first drain current and the second drain current, it is helpful to improve the accuracy of subsequent power calibration.
在一示例性实施例中,射频链路的可调增益ATTTX的预设可调范围为[ATTMIN,ATTMAX],该预设可调范围可以根据射频链路的工作性能进行确定;设置该射频链路的第一可调增益为ATTTX1=(ATTMIN+ATTMAX)/2;读取该第一可调增益ATTTX1下功放的第一漏极电流记为AD1;设置该射频链路的第二可调增益为ATTTX2=ATTTX1+2dB,其中该2dB为预设增益,预设增益可根据实际情况进行设置;读取该第二可调增益ATTTX2下功放的第二漏极电流记为AD2,该第二漏极电流AD2作为当前漏极电流。In an exemplary embodiment, the preset adjustable range of the adjustable gain ATT TX of the radio frequency link is [ATT MIN , ATT MAX ]. The preset adjustable range can be determined according to the working performance of the radio frequency link; set The first adjustable gain of the radio frequency link is ATT TX1 = (ATT MIN +ATT MAX )/2; read the first drain current of the power amplifier under the first adjustable gain ATT TX1 and record it as AD 1 ; set the radio frequency The second adjustable gain of the link is ATT TX2 = ATT TX1 +2dB, where 2dB is the preset gain. The preset gain can be set according to the actual situation; read the second adjustable gain of the power amplifier under ATT TX2 . The drain current is denoted as AD 2 , and the second drain current AD 2 is used as the current drain current.
步骤S102、根据当前漏极电流和目标漏极电流,对射频链路的可调增益进行调节,使得功放的漏极电流随可调增益的调节而发生变化,并使变化后的漏极电流与目标漏极电流相匹配。Step S102: Adjust the adjustable gain of the radio frequency link according to the current drain current and the target drain current, so that the drain current of the power amplifier changes with the adjustment of the adjustable gain, and the changed drain current is equal to target drain current.
需要说明的是,功率定标过程需要根据检测到的当前漏极电流判断功放输出功率是否已达到目标输出功率。例如,在功放的当前漏极电流与目标漏极电流之间的电流差值小于或等于预设电流差值时,能够确定当前漏极电流与目标漏极电流相匹配,此时功放的输出功率为目标输出功率。It should be noted that the power calibration process needs to determine whether the power amplifier output power has reached the target output power based on 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 matches the target drain current. At this time, the output power of the power amplifier output power for the target.
需要说明的是,对射频链路的可调增益的调节次数可以是一次或者多次。通过对射频链路的可调增益进行调节,会使得功放的漏极电流随可调增益的调节而发生变化,并使得变化后的漏极电流与目标漏极电流之间的电流差值越来越接近于零,从而使得变化后的漏极电流与目标漏极电流相匹配,此时能够进行功率定标。It should be noted that the number of adjustments to the adjustable gain of the radio frequency link may be one or multiple times. By adjusting the adjustable gain of the RF link, the drain current of the power amplifier changes with the adjustment of the adjustable gain, and the current difference between the changed drain current and the target drain current becomes smaller and smaller. The closer it is to zero, so that the changed drain current matches the target drain current, and power calibration can be performed at this time.
在一实施例中,如图4所示,步骤S102包括:子步骤S1021至子步骤S1022。In an embodiment, as shown in Figure 4, step S102 includes: sub-steps S1021 to sub-step S1022.
子步骤S1021、根据当前漏极电流和目标漏极电流,确定射频链路的目标可调增益。Sub-step S1021: Determine the target adjustable gain of the radio frequency link based on the current drain current and the target drain current.
需要说明的是,对射频链路的可调增益进行调节前,可以根据当前漏极电流和目标漏极电流,确定射频链路的目标可调增益。其中,确定射频链路的目标可调增益的方式可以是多种,包括线性法和闭环控制法,闭环控制法比如步进法、PID(Proportion Integral Differential,比例-积分-微分)法、二分法等。It should be noted that before adjusting the adjustable gain of the radio frequency link, the target adjustable gain of the radio frequency link can be determined based on the current drain current and the target drain current. Among them, there can be many ways to determine the target adjustable gain of the radio frequency link, including linear method and closed-loop control method. Closed-loop control method such as step method, PID (Proportion Integral Differential, proportion-integral-derivative) method, bisection method wait.
在一实施例中,确定射频链路的目标可调增益之后,判断目标可调增益ATTTXX是否大于预设的最大可调增益ATTMAX;如果目标可调增益ATTTXX大于预设的最大可调增益ATTMAX则判断为闭环失败,退出确定目标可调增益的步骤;如果目标可调增益ATTTXX小于或等于预设的最大可调增益ATTMAX,则执行下一子步骤。In one embodiment, after determining the target adjustable gain of the radio frequency link, it is determined whether the target adjustable gain ATT TXX is greater than the preset maximum adjustable gain ATT MAX ; if the target adjustable gain ATT TXX is greater than the preset maximum adjustable gain If the gain ATT MAX is determined to be a closed loop failure, exit the step of determining the target adjustable gain; if the target adjustable gain ATT TXX is less than or equal to the preset maximum adjustable gain ATT MAX , execute the next sub-step.
子步骤S1022、根据目标可调增益,对射频链路的可调增益进行调节。Sub-step S1022: Adjust the adjustable gain of the radio frequency link according to the target adjustable gain.
在一实施例中,根据目标可调增益,对射频链路的可调增益进行调节的方式为:将射频链路的可调增益设置为该目标可调增益。在另一实施例中,根据目标可调增益,对射频链路的可调增益进行调节的方式为:根据预设参数对目标可调增益进行修正,并将射频链路的可调增益设置为修正后的目标可调增益。In one embodiment, the method of adjusting the adjustable gain of the radio frequency link according to the target adjustable gain is: setting the adjustable gain of the radio frequency link to the target adjustable gain. In another embodiment, the method of adjusting the adjustable gain of the radio frequency link according to the target adjustable gain is: modifying the target adjustable gain according to the preset parameters, and setting the adjustable gain of the radio frequency link to Corrected target adjustable gain.
以下以线性法为例,说明根据当前漏极电流和目标漏极电流,确定射频链路的目标可调增益的可实施方式。The following uses the linear method as an example to illustrate an implementation method for determining the target adjustable gain of the radio frequency link based on the current drain current and the target drain current.
在一实施例中,根据当前漏极电流和目标漏极电流,确定射频链路的目标可调增益,包括:根据第一可调增益、第一漏极电流、第二可调增益和第二漏极电流,获取第一关系参数,第一关系参数用于表征可调增益与漏极电流之间的线性关系;根据第一关系参数和目标漏极电流,确定射频链路的目标可调增益。其中,当前漏极电流包括第一漏极电流或第二漏极电流,该第一漏极电流是在功放的第一可调增益下获取的,第二漏极电流是在功放的第二可调增益下获取的。需要说明的是,根据可调增益与漏极电流之间的线性关系,能够准确的确定目标漏极电流对应的目标可调增益。In one embodiment, determining the target adjustable gain of the radio frequency link based on the current drain current and the target drain current includes: based on the first adjustable gain, the first drain current, the second adjustable gain and the second Drain current, obtain the first relationship parameter, which is used to characterize the linear relationship between the adjustable gain and the drain current; determine the target adjustable gain of the radio frequency link based on the first relationship parameter and the target drain current . Wherein, the current drain current includes a first drain current or a second drain current. The first drain current is obtained at the first adjustable gain of the power amplifier, and the second drain current is obtained at the second adjustable gain of the power amplifier. Obtained by adjusting the gain. It should be noted that according to the linear relationship between the adjustable gain and the drain current, the target adjustable gain corresponding to the target drain current can be accurately determined.
其中,获取第一关系参数的方式包括:计算第一可调增益与第二可调增益之间的第一差值,并计算第一漏极电流与第二漏极电流之间的第二差值;根据第一差值与第二差值,确定 可调增益与漏极电流之间的第一斜率;根据第一斜率、第二漏极电流和第二可调增益,得到第一截距;将第一斜率和第一截距作为第一关系参数。需要说明的是,第一差值和第二差值可以是绝对值,即第一差值可以是第一可调增益与第二可调增益之间的差值的绝对值,第二差值可以是第一漏极电流与第二漏极电流之间的差值的绝对值,作为第一关系参数的第一斜率和第一截距可以为正值或者负值。Wherein, the method of obtaining the first relationship parameter includes: calculating the first difference between the first adjustable gain and the second adjustable gain, and calculating the second difference between the first drain current and the second drain current. value; determined based on the first difference and the second difference The first slope between the adjustable gain and the drain current; according to the first slope, the second drain current and the second adjustable gain, the first intercept is obtained; the first slope and the first intercept are used as the first relationship parameter. It should be noted that the first difference and the second difference may be absolute values, that is, the first difference may be the absolute value of the difference between the first adjustable gain and the second adjustable gain, and the second difference It may be the absolute value of the difference between the first drain current and the second drain current, and the first slope and the first intercept as the first relationship parameters may be positive values or negative values.
在一示例性实施例中,第一可调增益ATTTX1与第二可调增益ATTTX2之间的第一差值为ATTTX2-ATTTX1,第一漏极电流AD1与第二漏极电流AD2之间的第二差值为AD2-AD1。由此,第一斜率k=(ATTTX2-ATTTX1)/(AD2-AD1),第一截距b=ATTTX2-k*AD2In an exemplary embodiment, the first difference between the first adjustable gain ATT TX1 and the second adjustable gain ATT TX2 is ATT TX2 -ATT TX1 , and the first drain current AD 1 and the second drain current The second difference between AD 2 is AD 2 -AD 1 . Therefore, the first slope k=(ATT TX2 -ATT TX1 )/(AD 2 -AD 1 ), and the first intercept b=ATT TX2 -k*AD 2 .
需要说明的是,如果要对射频链路的可调增益进行多次调节,在计算得到第一斜率和第一截距之后,判断第一斜率k是否为零,以及判断第一漏极电流AD1与第二漏极电流AD2是否相等;若判断第一斜率k=0,或第二漏极电流AD2等于第一漏极电流AD1,则舍弃本次计算得到的k、b参数,而采用上次调节得到的k、b参数。It should be noted that if the adjustable gain of the radio frequency link is to be adjusted multiple times, after calculating the first slope and the first intercept, determine whether the first slope k is zero, and determine the first drain current AD 1 is equal to the second drain current AD 2 ; if it is judged that the first slope k=0, or the second drain current AD 2 is equal to the first drain current AD 1 , then discard the k and b parameters calculated this time, The k and b parameters obtained from the last adjustment are used.
其中,根据第一关系参数和目标漏极电流,确定射频链路的目标可调增益,包括:根据第一关系参数和目标漏极电流,确定射频链路的第三可调增益;将射频链路的可调增益设置为第三可调增益,并检测第三可调增益下的功放的第三漏极电流;在第三漏极电流与目标漏极电流之间的差值小于或等于预设差值时,将第三可调增益作为射频链路的目标可调增益。其中,第三漏极电流与目标漏极电流之间的差值可以是绝对值,预设差值可以根据实际情况进行设置。例如,第三漏极电流与目标漏极电流之间的差值的绝对值小于或等于预设差值时,确定第三漏极电流与目标漏极电流相匹配。Among them, determining the target adjustable gain of the radio frequency link based on the first relationship parameter and the target drain current includes: determining the third adjustable gain of the radio frequency link based on the first relationship parameter and the target drain current; The adjustable gain of the circuit is set to the third adjustable gain, and the third drain current of the power amplifier under the third adjustable gain is detected; the difference between the third drain current and the target drain current is less than or equal to the preset When setting the difference value, the third adjustable gain is used as the target adjustable gain of the radio frequency link. The difference between the third drain current and the target drain current can be an absolute value, and the preset difference can be set according to actual conditions. 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.
在一示例性实施例中,目标漏极电流为ADG,射频链路的第三可调增益为ATTTX3=k*ADG+b;将射频链路的可调增益设置为第三可调增益ATTTX3,并检测第三可调增益ATTTX3下的功放的第三漏极电流ADX;计算第三漏极电流ADX与目标漏极电流ADG之间的差值△AD=ADX-ADG;在第三漏极电流ADX与目标漏极电流ADG之间的差值的绝对值|△AD|小于或等于预设差值EAD时,则判为电流逼近成功,即第三漏极电流ADX与目标漏极电流ADG相匹配,此时该第三可调增益ATTTX3即为射频链路的目标可调增益ATTTXXIn an exemplary embodiment, the target drain current is A G and the third adjustable gain of the radio frequency link is ATT TX3 =k*AD G +b; the adjustable gain of the radio frequency link is set to the third adjustable gain Gain ATT TX3 , and detect the third drain current AD X of the power amplifier under the third adjustable gain ATT TX3 ; calculate the difference between the third drain current AD -AD G ; when the absolute value |△ AD | of the difference between the third drain current AD The third drain current AD X matches the target drain current AD G. At this time, the third adjustable gain ATT TX3 is the target adjustable gain ATT TXX of the radio frequency link.
在一实施例中,根据第一关系参数和目标漏极电流,确定射频链路的第三可调增益,包括:根据第一关系参数和目标漏极电流,计算射频链路的第四可调增益;计算第四可调增益与第二可调增益之间的增益差值;在增益差值小于或等于预设的最大可调步进时,将第四可调增益确定为第三可调增益;在增益差值大于最大可调步进时,将第二可调增益与最大可调步进之和确定为第三可调增益。其中,最大可调步进可以根据实际情况进行设置,第四可调增益ATTTX4的计算方式可以为ATTTX4=k*ADG+b。In one embodiment, determining the third adjustable gain of the radio frequency link based on the first relationship parameter and the target drain current includes: calculating the fourth adjustable gain of the radio frequency link based on the first relationship parameter and the target drain current. Gain; calculate the gain difference between the fourth adjustable gain and the second adjustable gain; when the gain difference is less than or equal to the preset maximum adjustable step, determine the fourth adjustable gain as the third adjustable gain Gain; when the gain difference is greater than the maximum adjustable step, the sum of the second adjustable gain and the maximum adjustable step is determined as the third adjustable gain. Among them, the maximum adjustable step can be set according to the actual situation, and the calculation method of the fourth adjustable gain ATT TX4 can be ATT TX4 =k*AD G +b.
在一示例性实施例中,最大可调步进为STEPMAX,如果第四可调增益与第二可调增益之间的增益差值ATTTX4-ATTTX2≤STEPMAX,则令第三可调增益ATTTX3=ATTTX4。如果第四可调增益与第二可调增益之间的增益差值ATTTX4-ATTTX2>STEPMAX,则令第三可调增益ATTTX3=ATTTX2+STEPMAXIn an exemplary embodiment, the maximum adjustable step is STEP MAX . If the gain difference between the fourth adjustable gain and the second adjustable gain ATT TX4 -ATT TX2 ≤ STEP MAX , then let the third adjustable gain Gain ATT TX3 = ATT TX4 . If the gain difference between the fourth adjustable gain and the second adjustable gain ATT TX4 -ATT TX2 >STEP MAX , then let the third adjustable gain ATT TX3 =ATT TX2 +STEP MAX .
在一示例性实施例中,检测第三可调增益下的功放的第三漏极电流之后,还包括:在第三漏极电流与目标漏极电流之间的差值大于预设差值时,将第二可调增益作为新的第一可调增益以及将第三可调增益作为新的第二可调增益,并将第二漏极电流作为新的第一漏极电流以及将第三漏极电流作为新的第二漏极电流,以执行根据第一可调增益、第一漏极电流、第二可调增益和第二漏极电流,获取第一关系参数的步骤。In an exemplary 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 greater than a preset difference. , the second adjustable gain as the new first adjustable gain and the third adjustable gain as the new second adjustable gain, the second drain current as the new first drain current and the third The drain current is used as a new second drain current to perform the step of obtaining the first relationship parameter according to the first adjustable gain, the first drain current, the second adjustable gain and the second drain current.
在一实施例中,通过温度检测装置读取功放温度PAT,如果功放温度PAT不在预设温度范围[TMIN,TMAX]内,则判断功放超温,退出确定目标可调增益的步骤。其中,该预设温度范围为定标过程中允许的功放工作温度范围。In one embodiment, the power amplifier temperature PAT is read through the temperature detection device. If the power amplifier temperature PAT is not within the preset temperature range [T MIN , T MAX ], the power amplifier is judged to be over-temperature, and the step of determining the target adjustable gain is exited. . The preset temperature range is the operating temperature range of the power amplifier allowed during the calibration process.
在一实施例中,检测第三可调增益下的功放的第三漏极电流之后,还包括:在第三漏极 电流与目标漏极电流之间的差值大于预设差值时,令第一可调增益的数值为第二可调增益的数值、第二可调增益的数值为第三可调增益的数值,并令第一漏极电流的数值为第二漏极电流的数值、第二漏极电流的数值为第三漏极电流的数值,以返回执行根据第一可调增益、第一漏极电流、第二可调增益和第二漏极电流,获取第一关系参数的步骤。In one 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 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, and the value of the second adjustable gain is the value of the third adjustable gain. , and let the value of the first drain current be the value of the second drain current, and the value of the second drain current be the value of the third drain current, so as to return to the execution according to the first adjustable gain, the first drain current , the second adjustable gain and the second drain current, the step of obtaining the first relationship parameter.
在一示例性实施例中,预设差值为EAD,如果预设差值|△AD|>EAD,则令第一可调增益ATTTX1=第二可调增益ATTTX2,第二可调增益ATTTX2=第三可调增益ATTTXX;并令第一漏极电流AD1=第二漏极电流AD2,第二漏极电流AD2=第三漏极电流ADX,并返回执行计算斜率k=(ATTTX2-ATTTX1)/(AD2-AD1);b=ATTTX2-k*AD2的步骤。In an exemplary embodiment, the preset difference value is E AD . If the preset difference value |ΔAD|>E AD , then let the first adjustable gain ATT TX1 = the second adjustable gain ATT TX2 , and the second adjustable gain ATT TX2 . Adjust the gain ATT TX2 = the third adjustable gain ATT TXX ; and let the first drain current AD 1 = the second drain current AD 2 , the second drain current AD 2 = the third drain current AD X , and return to execution Steps to calculate slope k=(ATT TX2 -ATT TX1 )/(AD 2 -AD 1 ); b=ATT TX2 -k*AD 2 .
在一实施例中,设置返回执行根据第一可调增益、第一漏极电流、第二可调增益和第二漏极电流,获取第一关系参数的步骤的最大循环次数。需要说明的是,当确定返回执行的循环次数大于或等于最大循环次数时,判断为闭环失败,退出确定目标可调增益的步骤。通过控制循环次数,避免无限循环。In one embodiment, a maximum number of cycles is set to return to the step of obtaining the first relationship parameter based on the first adjustable gain, the first drain current, the second adjustable gain, and the second drain current. It should be noted that when it is determined that the number of loops returned for execution is 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. Avoid infinite loops by controlling the number of loops.
步骤S103、根据目标输出功率和调节后的可调增益,确定射频链路的固定增益。Step S103: Determine the fixed gain of the radio frequency link based on the target output power and the adjusted adjustable gain.
需要说明的是,确定变化后的漏极电流与目标漏极电流相匹配时,表明功放的输出功率达到目标输出功率,此时能够根据目标输出功率和调节后的可调增益,确定射频链路的固定增益,准确的实现功率定标。通过功放的漏极电流间接检测功放的输出功率达到目标输出功率,从而能够根据目标输出功率和调节后的可调增益计算射频链路的固定增益来实现功率定标,无需外接射频仪表,解除了当前功率定标方法对射频仪表、线损、夹具等环境因素的依赖,消除了由其引入的测量误差。It should be noted that when the changed drain current matches the target drain current, it indicates that the output power of the power amplifier reaches the target output power. At this time, the radio frequency link can be determined based on the target output power and the adjusted adjustable gain. Fixed gain to accurately achieve power calibration. 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 RF link can be calculated based on the target output power and the adjusted adjustable gain to achieve power calibration without the need for an external RF instrument. The current power calibration method relies on environmental factors such as radio frequency instruments, line losses, and fixtures, eliminating the measurement errors introduced by them.
在一实施例中,射频链路包括发射链路;根据目标输出功率和调节后的可调增益,确定射频链路的固定增益,包括:获取目标输出功率对应的发射链路的发射数字功率;获取发射链路的发射信号频率对应的滤波器增益;根据目标输出功率、发射数字功率、滤波器增益和调节后的可调增益,计算发射链路的固定增益。其中,发射链路的固定增益可以称为发射链路的输出固定增益,需要说明的是,通过上述方式计算发射链路的固定增益实现功率定标,无需外接射频仪表,对功率定标环境的要求较低,稳定性好,非常利于生产控制过程,同时由于省掉了射频仪表,能够降低生产成本。In one embodiment, the radio frequency link includes a transmit link; determining the fixed gain of the radio frequency link according to the target output power and the adjusted adjustable gain includes: obtaining the transmit digital power of the transmit link corresponding to the target output power; Obtain the filter gain corresponding to the transmit signal frequency of the transmit link; calculate the fixed gain of the transmit link based on the target output power, transmit digital power, filter gain and adjusted adjustable gain. Among them, the fixed gain of the transmitting link can be called the output fixed gain of the transmitting link. It should be noted that the fixed gain of the transmitting link is calculated through the above method to achieve power calibration. No external radio frequency instrument is needed, and the power calibration environment is improved. It has lower requirements and good stability, which is very conducive to the production control process. At the same time, it can reduce production costs by eliminating the need for radio frequency instruments.
在一示例性实施例中,使用下列表达式计算发射链路的固定增益:
GAINTX=P+GAINfilter-TSSI-ATTTXX
In an exemplary embodiment, the fixed gain of the transmit link is calculated using the following expression:
GAIN TX =P+GAIN filter -TSSI-ATT TXX
其中,GAINTX代表发射链路的固定增益,P代表目标输出功率,TSSI代表发射链路的发射数字功率,ATTTXX代表调节后的可调增益(发射链路的可调增益),GAINfilter代表滤波器增益(滤波器在发射信号频率处的增益)。其中发射数字功率TSSI、发射链路的可调增益ATTTXX可以直接从基站内部读出来。GAINfilter可以预先使用矢网(矢量网络分析仪)测试出来,而输出功率P是通过检测功放漏极电流来间接预知。Among them, GAIN TX represents the fixed gain of the transmit link, P represents the target output power, TSSI represents the transmit digital power of the transmit link, ATT TXX represents the adjusted adjustable gain (the adjustable gain of the transmit link), and GAIN filter represents Filter gain (the gain of the filter at the frequency of the transmitted signal). The transmit digital power TSSI and the adjustable gain ATT TXX of the transmit link can be read directly from inside the base station. The GAIN filter can be tested in advance using a vector network analyzer, and the output power P is indirectly predicted by detecting the drain current of the power amplifier.
在一实施例中,射频链路还包括反馈链路;获取目标输出功率对应的反馈链路的反馈数字功率;获取预先设置的反馈链路的可调增益;根据反馈数字功率、目标输出功率、滤波器增益和反馈链路的可调增益,计算反馈链路的固定增益。其中,反馈链路的固定增益可以称为反馈链路的反馈固定增益,需要说明的是,通过上述方式计算反馈链路的固定增益实现功率定标,无需外接射频仪表,对功率定标环境的要求较低,稳定性好,非常利于生产控制过程,能够进一步降低生产成本。In one embodiment, the radio frequency link also includes a feedback link; obtaining the feedback digital power of the feedback link corresponding to the target output power; obtaining the preset adjustable gain of the feedback link; according to the feedback digital power, target output power, Filter gain and the adjustable gain of the feedback link, calculate the fixed gain of the feedback link. Among them, the fixed gain of the feedback link can be called the feedback fixed gain of the feedback link. It should be noted that the fixed gain of the feedback link is calculated through the above method to achieve power calibration. No external radio frequency instrument is needed, and the power calibration environment is improved. It has lower requirements and good stability, which is very conducive to the production control process and can further reduce production costs.
在一示例性实施例中,使用下列表达式计算反馈链路的固定增益:
GAINFB=FBSSI-(P+GAINfilter)-ATTFB
In an exemplary embodiment, the fixed gain of the feedback link is calculated using the following expression:
GAIN FB =FBSSI-(P+GAIN filter )-ATT FB
其中,GAINFB代表反馈链路的固定增益,FBSSI代表反馈数字功率,ATTFB代表反馈链 路的可调增益,P代表目标输出功率,GAINfilter代表滤波器增益。反馈数字功率FBSSI、反馈链路可调增益ATTFB可以直接从基站内部读出来。Among them, GAIN FB represents the fixed gain of the feedback link, FBSSI represents the feedback digital power, and ATT FB represents the feedback chain The adjustable gain of the path, P represents the target output power, and GAIN filter represents the filter gain. The feedback digital power FBSSI and the feedback link adjustable gain ATT FB can be read directly from inside the base station.
可以理解的是,对于除基站外的其他无线通信设备,确定射频链路的固定增益的方式可以是不同的,例如计算发射链路的固定增益或者计算反馈链路的固定增益的参数不同,本实施例对此不做具体限定。It can be understood that for other wireless communication devices other than base stations, the methods of determining the fixed gain of the radio frequency link may be different. For example, the parameters for calculating the fixed gain of the transmission link or the fixed gain of the feedback link may be different. This article The embodiment does not specifically limit this.
在一实施例中,需要进行多个发射信号频率下的功率定标,即需要确定多个发射信号频率下的射频链路的固定增益,发射信号频率与射频链路的固定增益一一对应。因此,发射链路的固定增益和反馈链路的固定增益均可以为每个发射信号频率各自对应的增益。In one embodiment, power calibration needs to be performed under multiple transmit signal frequencies, that is, fixed gains of the radio frequency link under multiple transmit signal frequencies need to be determined. The transmit signal frequencies correspond to the fixed gains of the radio frequency links one-to-one. Therefore, both the fixed gain of the transmitting link and the fixed gain of the feedback link can be gains corresponding to each transmitting signal frequency.
在一示例性实施例中,射频信号的频率范围为[f0,fn-1]。在根据当前漏极电流和目标漏极电流,对射频链路的可调增益进行调节时,设置射频链路的发射信号为频率f0的单音信号,得到发射信号频率f0下的射频链路的固定增益GAIN0;再设置射频链路的发射信号为频率f1的单音信号,得到发射信号频率f1下的射频链路的固定增益GAIN1;……;最后设置射频链路的发射信号为频率fn-1的单音信号,得到发射信号频率fn-1下的射频链路的固定增益GAINn-1In an exemplary embodiment, the frequency range of the radio frequency signal is [f 0 , f n-1 ]. When adjusting the adjustable gain of the RF link based on the current drain current and the target drain current, set the transmit signal of the RF link to a single tone signal at frequency f 0 to obtain the RF chain at the transmit signal frequency f 0 The fixed gain GAIN 0 of the radio frequency link; then set the transmit signal of the radio frequency link to a single tone signal of frequency f 1 to obtain the fixed gain GAIN 1 of the radio frequency link at the transmit signal frequency f 1 ; ...; finally set the radio frequency link The transmitted signal is a single tone signal with frequency f n-1 , and the fixed gain GAIN n-1 of the radio frequency link at the frequency f n-1 of the transmitted signal is obtained.
上述实施例提供的功率定标方法,通过获取功放的当前漏极电流,并获取目标漏极电流,其中,目标漏极电流与功放待标定的目标输出功率相匹配;根据当前漏极电流和目标漏极电流,对射频链路的可调增益进行调节,使得功放的漏极电流随可调增益的调节而发生变化,并使变化后的漏极电流与目标漏极电流相匹配;根据目标输出功率和调节后的可调增益,确定射频链路的固定增益。本公开通过功放的漏极电流间接检测功放的输出功率,从而计算射频链路的固定增益来实现功率定标,无需外接射频仪表,解除了当前功率定标方法对射频仪表、线损、夹具等环境因素的依赖,消除了由其引入的测量误差。因此,对功率定标环境的要求较低,稳定性好,非常利于生产控制过程,同时由于省掉了射频仪表,能够降低生产成本。The power calibration method provided by the above embodiments obtains the current drain current of the power amplifier and obtains the target drain current, where the target drain current matches the target output power of the power amplifier to be calibrated; according to the current drain current and the target Drain current, adjust the adjustable gain of the RF link, so that the drain current of the power amplifier changes with the adjustment of the adjustable gain, and make the changed drain current match the target drain current; according to the target output power and adjusted adjustable gain to determine the fixed gain of the RF link. This disclosure indirectly detects the output power of the power amplifier through the drain current of the power amplifier, thereby calculating the fixed gain of the radio frequency link to achieve power calibration. There is no need for external radio frequency instruments, and the current power calibration method eliminates the burden on radio frequency instruments, line losses, fixtures, etc. The dependence on environmental factors eliminates the measurement errors introduced by them. Therefore, the requirements for the power calibration environment are low and the stability is good, which is very conducive to the production control process. At the same time, because the radio frequency instrument is omitted, the production cost can be reduced.
需要说明的是,确定射频链路的固定增益的过程中,由于发射数字功率TSSI、发射链路的可调增益ATTTXX、反馈数字功率FBSSI、反馈链路的可调增益ATTFB都是可以直接从基站内部读出来的,因此本公开提供的功率定标方法带来的定标误差主要来源于P+GAINfilter,如以下表达式可知:
It should be noted that in the process of determining the fixed gain of the radio frequency link, since the transmit digital power TSSI, the adjustable gain ATT TXX of the transmit link, the feedback digital power FBSSI, and the adjustable gain ATT FB of the feedback link can all be directly It is read from inside the base station. Therefore, the calibration error caused by the power calibration method provided by this disclosure mainly comes from P+GAIN filter , as can be seen from the following expression:
其中,I表示漏极电流,U表示功放的漏极电压、μ表示功放效率、D表示环形器的损耗因子。ΔP表示功放输出功率带来的误差,ΔU表示漏极电压带来的误差,ΔI表示漏极电流带来的误差,Δμ表示功放效率带来的误差,ΔD表示环形器插损带来的误差。ΔGAINfilter代表滤波器带来的误差,ΔGAINTX代表发射链路的固定增益带来的误差,ΔGAINFB代表反馈链路的固定增益的误差。Among them, I represents the drain current, U represents the drain voltage of the power amplifier, μ represents the power amplifier efficiency, and D represents the loss factor of the circulator. ΔP represents the error caused by the power amplifier output power, ΔU represents the error caused by the drain voltage, ΔI represents the error caused by the drain current, Δμ represents the error caused by the power amplifier efficiency, and ΔD represents the error caused by the circulator insertion loss. ΔGAIN filter represents the error caused by the filter, ΔGAIN TX represents the error caused by the fixed gain of the transmit link, and ΔGAIN FB represents the error caused by the fixed gain of the feedback link.
第一方面,漏极电压U带来的误差:取决于用于基站功放漏极电压定标的电子负载的电压测量准确度,电子负载电压测量准确度一般为0.025%,给功放输出功率带来的误差约为0.001dB。第二方面,漏极电流I带来的误差:取决于用于基站功放漏极电流定标的电子负载电流测量准确度,电子负载电流测量准确度一般为0.1%,给功放输出功率带来的误差约为0.004dB。第三方面,功放环形器插损带来的误差:取决于厂家来料一致性,其插损本身比较小<0.25dB,因此,即使批量来料带来的误差也能确保<0.1dB。第四方面,功放效率μ带来的误差:影响的因素比较多,但只要满足以上所述的条件,功放效率的离散性小于10%是能确保的。由此给功放输出功率带来的误差<0.457dB。因此,本公开提供的功率定标方法批量生产定标误差<0.662dB。 Firstly, the error caused by the drain voltage U: depends on the voltage measurement accuracy of the electronic load used for base station power amplifier drain voltage calibration. The electronic load voltage measurement accuracy is generally 0.025%, which brings a huge impact on the power amplifier output power. The error is about 0.001dB. Secondly, the error caused by the drain current I: depends on the accuracy of the electronic load current measurement used for base station power amplifier drain current calibration. The accuracy of the electronic load current measurement is generally 0.1%, which brings to the power amplifier output power. The error is about 0.004dB. The third aspect is the error caused by the insertion loss of the power amplifier circulator: it depends on the consistency of the manufacturer's incoming materials. The insertion loss itself is relatively small <0.25dB. Therefore, even the error caused by batch incoming materials can be guaranteed to be <0.1dB. The fourth aspect is the error caused by the power amplifier efficiency μ: there are many influencing factors, but as long as the above conditions are met, the discreteness of the power amplifier efficiency is less than 10%. The error brought to the output power of the power amplifier is <0.457dB. Therefore, the power calibration method provided by the present disclosure has a mass production calibration error of <0.662dB.
传统仪表定标法误差包括射频仪表误差、线损误差、接线误差。目前普遍采用的仪表定标法有功率计定标和频谱仪定标法。理想情况下,对于功率计定标法:功率计误差<0.2dB,线损误差来源于校准线损的矢量网络分析仪测量误差<0.1dB,批量操作的接线误差<0.2dB,总计误差<0.5dB。对于频谱仪定标法:频谱仪误差<0.5dB,线损误差来源于校准线损的矢量网络分析仪测量误差<0.1dB和衰减器(基站功率较大需要使用大功率衰减器、工装板或耦合器)的不确定性<0.2dB,批量操作的接线误差<0.2dB,总计误差<1.0dB。The errors of traditional instrument calibration methods include radio frequency instrument errors, line loss errors, and wiring errors. Currently commonly used instrument calibration methods include power meter calibration and spectrum analyzer calibration. Ideally, for the power meter calibration method: the power meter error is <0.2dB, the line loss error comes from the vector network analyzer measurement error of calibrating the line loss <0.1dB, the wiring error of batch operation is <0.2dB, and the total error is <0.5 dB. For the spectrum analyzer calibration method: the spectrum analyzer error is <0.5dB, the line loss error comes from the vector network analyzer measurement error of calibrating the line loss <0.1dB and the attenuator (larger base station power requires the use of high-power attenuators, tooling boards or Coupler) uncertainty <0.2dB, batch operation wiring error <0.2dB, total error <1.0dB.
本公开提供的功率定标方法与传统仪表定标法的定标误差相比,略高于功率计定标法而远低于频谱仪定标法,因此是能满足生产的批量测试需求的。然而传统仪表定标法引入的环境因素的误差较大,因此在批量生产过程中的定标误差往往远大于本公开提供的功率定标方法带来的定标误差。因此在批量生产过程中,本公开提供的功率定标方法相较于传统仪表定标法的测量误差较小,解除了对射频仪表、线损、夹具等环境因素的依赖,对功率定标环境要求低,稳定性好,非常利于生产控制过程。Compared with the calibration error of the traditional instrument calibration method, the power calibration method provided by the present disclosure is slightly higher than the power meter calibration method and much lower than the spectrum analyzer calibration method. Therefore, it can meet the batch testing requirements of production. However, the errors caused by environmental factors introduced by traditional instrument calibration methods are large, so the calibration errors during mass production are often much larger than the calibration errors caused by the power calibration method provided by the present disclosure. Therefore, in the mass production process, the power calibration method provided by the present disclosure has smaller measurement errors than the traditional instrument calibration method, eliminating the dependence on environmental factors such as radio frequency instruments, line losses, and fixtures, and improving the power calibration environment. It has low requirements and good stability, which is very conducive to the production control process.
请参照图5,图5为本公开提供的另一种功率定标方法的步骤流程示意图。Please refer to FIG. 5 , which is a schematic flow chart of another power calibration method provided by the present disclosure.
如图5所示,该功率定标方法包括步骤S201至S204。As shown in Figure 5, the power calibration method includes steps S201 to S204.
步骤S201、获取功放的当前漏极电流,并获取第二关系参数,第二关系参数用于表征漏极电流的电流值与AD值之间的线性关系。Step S201: Obtain the current drain current of the power amplifier and obtain a second relationship parameter. The second relationship parameter is used to characterize the linear relationship between the current value of the drain current and the AD value.
其中,功放的当前漏极电流可以是通过功放漏极检测电路检测到的电流AD值Ad,第二关系参数可以是电流值与AD值之间的第二截距和第二截距。漏极电流的AD值为电流值经过AD转化得到的值,例如漏极电流的AD值为功放漏极处的电流信号经过AD(模拟量-数字量)转换后得到的值,从而将模拟量的电流值转换成数字量后的值。Wherein, the current drain current of the power amplifier may be the current AD value A d detected by the power amplifier drain detection circuit, and the second relationship parameter may be the second intercept and the second intercept between the current value and the AD value. The AD value of the drain current is the value obtained by AD conversion of the current value. For example, the AD value of the drain current is the value obtained by AD (analog-digital) conversion of the current signal at the drain of the power amplifier, thereby converting the analog value into The current value is converted into a digital value.
在一实施例中,分别设置功放的漏极电流为第一电流值和第二电流值,以检测第一电流值对应的第一AD值以及第二电流值对应的第二AD值;计算第一AD值与第二AD值之间的AD差值,并计算第一电流值与第二电流值之间的电流差值;根据AD差值与电流差值,确定电流值与AD值之间的第二斜率;根据第二斜率、第二AD值和第二电流值,得到第二截距;将第二斜率和第二截距作为第二关系参数。需要说明的是,根据漏极电流的电流值与AD值之间的线性关系,能够准确的确定第一电流值对应的第一AD值以及第二电流值对应的第二AD值,从而有利于提高后续功率定标的准确度。In one embodiment, the drain current of the power amplifier is set to a first current value and a second current value respectively to detect the first AD value corresponding to the first current value and the second AD value corresponding to the second current value; calculate the The AD difference between the first AD value and the second AD value, and calculate the current difference between the first current value and the second current value; based on the AD difference and the current difference, determine the difference between the current value and the AD value the second slope; according to the second slope, the second AD value and the second current value, the second intercept is obtained; the second slope and the second intercept are used as the second relationship parameter. It should be noted that according to the linear relationship between the current value of the drain current and the AD value, 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, which is beneficial to Improve the accuracy of subsequent power calibration.
在一示例性实施例中,如图6所示,电源用于给负载和功放供电,电源关闭时功放关闭、负载为开路模式,电源开启时功放开启、负载为恒流模式。若关闭功放,清功放管栅压,设置负载为开路模式,数字信号处理(Digital Signal Processing,DSP)芯片能够读取此时电流检测电路检测到的AD值A0。若开启功放,设置负载为恒流模式,并设置漏极电流为第一电流值,第一电流值可以为目标电流最小值Imin,读取此时电流检测电路检测到的第一AD值A1。设置漏极电流为预先设置的第二电流值,第二电流值可以为目标电流最大值Imax,读取此时电流检测电路检测到的第二AD值A2。第一AD值与第二AD值之间的AD差值为A2-A1,第一电流值与第二电流值之间的电流差值为Imax-Imin,电流值与AD值之间的第二斜率为w=(A2-A1)/(Imax-Imin),第二截距为d=A2-w*ImaxIn an exemplary embodiment, as shown in Figure 6, the power supply is used to supply power to the load and the power amplifier. When the power is turned off, the power amplifier is turned off and the load is in open circuit mode. When the power is turned on, the power amplifier is turned on and the load is in constant current mode. If the power amplifier is turned off, the grid voltage of the power amplifier tube is cleared, and the load is set to open circuit mode, the digital signal processing (DSP) chip can read the AD value A 0 detected by the current detection circuit at this time. If the power amplifier is turned on, set the load to constant current mode, and set the drain current to the first current value. The first current value can be the minimum target current value I min . Read the first AD value A detected by the current detection circuit at this time. 1 . Set the drain current to a preset second current value, the second current value may be the target current maximum value I max , and read the second AD value A 2 detected by the current detection circuit at this time. 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 sum of the current value and the AD value The second slope between is w=(A 2 -A 1 )/(I max -I min ), and the second intercept is d=A 2 -w*I max .
步骤S202、根据第二关系参数确定目标电流值对应的目标AD值,并将目标AD值作为目标漏极电流,目标漏极电流与功放待标定的目标输出功率相匹配。Step S202: Determine the target AD value corresponding to the target current value according to the second relationship parameter, and use the target AD value as the target drain current. The target drain current matches the target output power of the power amplifier to be calibrated.
其中,目标电流值In与发射链路的发射信号频率fn相对应,获取当前发射信号频率对应的目标电流值,并根据第二关系参数确定目标电流值对应的目标AD值,得到目标漏极电流。Among them, the target current value I n corresponds to the transmission signal frequency f n of the transmission link, the target current value corresponding to the current transmission signal frequency is obtained, and the target AD value corresponding to the target current value is determined according to the second relationship parameter to obtain the target leakage Extreme current.
在一实施例中,获取射频链路的发射信号频率相对应的目标电流值;计算目标电流值与第二斜率之间的乘积值;根据乘积值与第二截距之和,得到目标电流值对应的目标AD值。在一示例性实施例中,通过以下表达式确定目标电流值对应的目标AD值:ADG=w*In+d,其 中,ADG代表目标AD值,w代表第二斜率,In代表发射信号频率对应目标电流值,d代表第二截距。不同的发射信号频率对应于不同的目标电流值,发射信号频率与目标电流值之间的对应关系可以预先通过实验室进行对照获取。In one embodiment, a target current value corresponding to the transmit signal frequency of the radio frequency link is obtained; a product value between the target current value and the second slope is calculated; and the target current value is obtained based on the sum of the product value and the second intercept. The corresponding target AD value. In an exemplary embodiment, the target AD value corresponding to the target current value is determined by the following expression: AD G =w*I n +d, where In, AD G represents the target AD value, w represents the second slope, In represents the target current value corresponding to the frequency of the transmitted signal, and d represents the second intercept. Different transmit signal frequencies correspond to different target current values. The corresponding relationship between the transmit signal frequency and the target current value can be obtained through laboratory comparison in advance.
在一实施例中,根据乘积值与第二截距之和,得到目标电流值对应的目标AD值,包括:获取在标准温度下功放关闭时的漏极电流的标准AD值,并获取当前温度下功放关闭时的漏极电流的第三AD值;计算标准AD值与第三AD值之间的目标差值;计算乘积值、第二截距与目标差值之和,得到目标AD值。需要说明的是,该标准AD值可以预先通过实验室获取并保存。通过计算标准温度下对应标准AD值与第三AD值之间的目标差值与乘积值、第二截距之和得到目标AD值,能够消除温漂影响,提高功率定标的准确性。In one embodiment, obtaining the target AD value corresponding to the target current value based on the sum of the product value and the second intercept includes: obtaining the standard AD value of the drain current when the power amplifier is turned off at a standard temperature, and obtaining the current temperature Calculate the third AD value of the drain current when the power amplifier is turned off; calculate the target difference between the standard AD value and the third AD value; calculate the sum of the product value, the second intercept and the target difference to obtain the target AD value. It should be noted that the standard AD value can be obtained and saved in advance through the laboratory. The target AD value is obtained by calculating the sum of the target difference, product value, and second intercept between the corresponding standard AD value and the third AD value at the standard temperature, which can eliminate the influence of temperature drift and improve the accuracy of power calibration.
在一示例性实施例中,通过以下表达式确定目标电流值对应的目标AD值:ADG=w*In+d+(Ad-A0)。其中,ADG代表目标AD值,w代表第二斜率,In代表目标电流值,d代表第二截距,Ad代表第三AD值,A0代表标准AD值。标准AD值与第三AD值之间的目标差值为Ad-A0,该目标差值能够表征功放漏极电路带来的温漂影响。In an exemplary embodiment, the target AD value corresponding to the target current value is determined by the following expression: AD G =w* In +d+(A d -A 0 ). Among them, AD G represents the target AD value, w represents the second slope, In represents the target current value, d represents the second intercept, A d represents the third AD value, and A 0 represents the standard AD value. The target difference between the standard AD value and the third AD value is A d -A 0 . This target difference can represent the influence of temperature drift caused by the drain circuit of the power amplifier.
步骤S203、根据当前漏极电流和目标漏极电流,对射频链路的可调增益进行调节,使得功放的漏极电流随可调增益的调节而发生变化,并使变化后的漏极电流与目标漏极电流相匹配。Step S203: Adjust the adjustable gain of the radio frequency link according to the current drain current and the target drain current, so that the drain current of the power amplifier changes with the adjustment of the adjustable gain, and the changed drain current is equal to target drain current.
其中,对射频链路的可调增益的调节次数可以是一次或者多次,通过对射频链路的可调增益的多次调节,会使得变化后的漏极电流与目标漏极电流之间的电流差值越来越接近于零。需要说明的是,变化后的漏极电流与目标漏极电流相匹配包括:变化后的漏极电流与目标漏极电流之间的电流差值小于或等于预设电流差值。变化后的漏极电流与目标漏极电流相匹配时,能够确定功放的输出功率达到了目标输出功率,此时能够准确的进行功率定标得到射频链路的固定增益。Among them, the number of adjustments to the adjustable gain of the radio frequency link can be one or more times. By adjusting the adjustable gain of the radio frequency link multiple times, the difference between the changed drain current and the target drain current will be achieved. The current difference is getting closer and closer to zero. It should be noted that matching the changed drain current with the target drain current includes: the current difference between the changed drain current and the target drain current is less than or equal to the preset current difference. When the changed drain current matches the target drain current, it can be determined that the output power of the power amplifier has reached the target output power. At this time, the power calibration can be accurately performed to obtain the fixed gain of the radio frequency link.
在一实施例中,根据当前漏极电流和目标漏极电流,确定射频链路的目标可调增益;根据目标可调增益,对射频链路的可调增益进行调节。其中,确定射频链路的目标可调增益的方式可以是多种,例如闭环控制法包括步进法、PID法、二分法等。确定射频链路的目标可调增益之后,将射频链路的可调增益设置为该目标可调增益,使得目标可调增益下的功放的漏极电流与目标漏极电流相匹配。In one embodiment, the target adjustable gain of the radio frequency link is determined based on the current drain current and the target drain current; and the adjustable gain of the radio frequency link is adjusted based on the target adjustable gain. Among them, there can be many ways to determine the target adjustable gain of the radio frequency link. For example, the closed-loop control method includes the step method, the PID method, the dichotomy method, etc. After determining the target adjustable gain of the radio frequency link, the adjustable gain of the radio frequency link is set to the target adjustable gain so that the drain current of the power amplifier at the target adjustable gain matches the target drain current.
以下以PID法为例,说明根据当前漏极电流和目标漏极电流,确定射频链路的目标可调增益的可实施方式。The following uses the PID method as an example to illustrate an implementation method for determining the target adjustable gain of the radio frequency link based on the current drain current and the target drain current.
在一实施例中,根据当前漏极电流和目标漏极电流,确定射频链路的目标可调增益,包括:计算当前漏极电流与目标漏极电流之间的误差值;根据误差值和预设PID表达式,确定射频链路的可调增益的偏移参数;根据偏移参数,确定射频链路的目标可调增益。需要说明的是,PID算法是结合比例、积分和微分三种环节于一体的控制算法,通过预设PID表达式实现射频链路的可调增益的闭环调节,能够准确控制变化后的漏极电流与目标漏极电流相匹配。In one embodiment, determining the target adjustable gain of the radio frequency link based on the current drain current and the target drain current includes: calculating an error value between the current drain current and the target drain current; Set the PID expression to determine the offset parameter of the adjustable gain of the radio frequency link; according to the offset parameter, determine the target adjustable gain of the radio frequency link. It should be noted that the PID algorithm is a control algorithm that combines proportional, integral and differential links. It realizes the closed-loop adjustment of the adjustable gain of the radio frequency link through the preset PID expression, and can accurately control the changed drain current. matches the target drain current.
其中,获取预设比例系数、预设积分系数和预设微分系数;根据预设比例系数和误差值,确定可调增益的第一偏移参数;根据预设积分系数和误差值,确定可调增益的第二偏移参数;根据预设微分系数和误差值,确定可调增益的第三偏移参数;计算第一偏移参数、第二偏移参数和第三偏移参数之和,得到射频链路的可调增益的偏移参数。Among them, the preset proportional coefficient, the preset integral coefficient and the preset differential coefficient are obtained; the first offset parameter of the adjustable gain is determined according to the preset proportional coefficient and error value; the adjustable gain is determined according to the preset integral coefficient and error value. The second offset parameter of the gain; determine the third offset parameter of the adjustable gain according to the preset differential coefficient and error value; calculate the sum of the first offset parameter, the second offset parameter and the third offset parameter to obtain Offset parameter for the adjustable gain of the RF link.
在一示例性实施例中,预设PID表达式为其中,u(k)表示偏移参数,KP表示预设比例系数,KI表示预设积分系数,KD表示预设微分系数,e(k)表示当前漏极电流与目标漏极电流之间的误差值,表示多次调节得到的误 差值的累加值,根据该误差累加值和预设积分系数KI的乘积得到第二偏移参数,e(k)-e(k-1)表示当前调节得到的误差值与上次调节得到的误差值之间的误差差值,根据该误差差值和预设微分系数KI的乘积得到第三偏移参数。In an exemplary embodiment, the preset PID expression is Among them, u(k) represents the offset parameter, K P represents the preset proportional coefficient, K I represents the preset integral coefficient, K D represents the preset differential coefficient, and e(k) represents the ratio between the current drain current and the target drain current. error value between Indicates the error obtained by multiple adjustments The accumulated value of the difference. The second offset parameter is obtained based on the product of the error accumulated value and the preset integral coefficient K I. e(k)-e(k-1) represents the error value obtained by the current adjustment and the error value obtained by the last adjustment. The third offset parameter is obtained based on the product of the error difference and the preset differential coefficient K I.
其中,根据偏移参数,对射频链路的可调增益进行调节,包括:获取当前漏极电流对应的射频链路的当前可调增益;根据偏移参数和当前可调增益,确定射频链路的目标可调增益;将射频链路的可调增益设置为目标可调增益。需要说明的是,射频链路的目标可调增益可以通过计算偏移参数和当前可调增益之和得到,将射频链路的可调增益设置为目标可调增益,使得功放的漏极电流随可调增益的调节而与目标漏极电流相匹配。Among them, the adjustable gain of the radio frequency link is adjusted according to the offset parameter, including: obtaining the current adjustable gain of the radio frequency link corresponding to the current drain current; determining the radio frequency link according to the offset parameter and the current adjustable gain The target adjustable gain; sets the adjustable gain of the RF link to the target adjustable gain. It should be noted that the target adjustable gain of the radio frequency link can be obtained by calculating the sum of the offset parameter and the current adjustable gain. The adjustable gain of the radio frequency link is set to the target adjustable gain, so that the drain current of the power amplifier changes with The adjustable gain is adjusted to match the target drain current.
步骤S204、根据目标输出功率和调节后的可调增益,确定射频链路的固定增益。Step S204: Determine the fixed gain of the radio frequency link based on the target output power and the adjusted adjustable gain.
需要说明的是,确定变化后的漏极电流与目标漏极电流相匹配时,表明功放的输出功率达到目标输出功率,此时能够根据目标输出功率和调节后的可调增益,确定射频链路的固定增益,准确的实现功率定标。对功率定标环境的要求较低,稳定性好,非常利于生产控制过程,同时由于省掉了射频仪表,能够降低生产成本。It should be noted that when the changed drain current matches the target drain current, it indicates that the output power of the power amplifier reaches the target output power. At this time, the radio frequency link can be determined based on the target output power and the adjusted adjustable gain. Fixed gain to accurately achieve power calibration. It has lower requirements on the power calibration environment and has good stability, which is very beneficial to the production control process. At the same time, it can reduce production costs by eliminating the need for radio frequency instruments.
在一示例性实施例中,如图6所示,射频链路的可调增益包括发射链路的发射可变增益和反馈链路的反馈可变增益,通过调整发射链路的发射可变增益和反馈链路的反馈可变增益能够调整射频链路的可调增益,射频链路的固定增益包括发射链路的固定增益和反馈链路的固定增益。其中,计算发射链路的固定增益的表达式为GAINTX=P+GAINfilter-TSSI-ATTTXX,计算反馈链路的固定增益的表达式为GAINFB=FBSSI-(P+GAINfilter)-ATTFB。其中,GAINTX代表发射链路的固定增益,P代表目标输出功率,TSSI代表发射链路的发射数字功率,ATTTXX代表发射链路的可调增益,GAINfilter代表滤波器增益,GAINFB代表反馈链路的固定增益,FBSSI代表反馈数字功率,ATTFB代表反馈链路的可调增益。In an exemplary embodiment, as shown in Figure 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. By adjusting the transmit variable gain of the transmit link The feedback variable gain of the feedback link can adjust the adjustable gain of the radio frequency link. The fixed gain of the radio frequency link includes the fixed gain of the transmitting link and the fixed gain of the feedback link. Among them, the expression for calculating the fixed gain of the transmit link is GAIN TX =P+GAIN filter -TSSI-ATT TXX , and the expression for calculating the fixed gain of the feedback link is GAIN FB =FBSSI-(P+GAIN filter )-ATT FB . Among them, GAIN TX represents the fixed gain of the transmit link, P represents the target output power, TSSI represents the transmit digital power of the transmit link, ATT TXX represents the adjustable gain of the transmit link, GAIN filter represents the filter gain, and GAIN FB represents feedback. The fixed gain of the link, FBSSI represents the feedback digital power, and ATT FB represents the adjustable gain of the feedback link.
在一实施例中,发射信号频率与射频链路的固定增益一一对应,若需要进行发射信号频率范围[f0,fn-1]的功率定标,则需要计算频率f0至fn-1下各自对应的射频链路的固定增益。在一示例性实施例中,可以通过本公开计算f0对应的射频链路的固定增益之后,根据下一个频率f1对应的目标电流值,返回执行步骤S202,得到f1对应的射频链路的固定增益,直至频率fn完成遍历,得到定标参数数据表,该定标参数数据表记录有频率f0至fn-1下各自对应的射频链路的固定增益GAIN1至GAINn-1In one embodiment, the transmission signal frequency corresponds to the fixed gain of the radio frequency link. If power calibration of the transmission signal frequency range [f 0 , f n-1 ] is required, the frequencies f 0 to f n need to be calculated. The fixed gain of the corresponding radio frequency link at -1 . In an exemplary embodiment, after calculating the fixed gain of the radio frequency link corresponding to f 0 through the present disclosure, according to the target current value corresponding to the next frequency f 1 , return to step S202 to obtain the radio frequency link corresponding to f 1 fixed gain until frequency f n completes the traversal, and a calibration parameter data table is obtained. The calibration parameter data table records the fixed gains GAIN 1 to GAIN n- of the corresponding radio frequency links at frequencies f 0 to f n-1. 1 .
上述实施例提供的功率定标方法,通过获取功放的当前漏极电流,并获取第二关系参数,根据第二关系参数确定目标电流值对应的目标AD值,并将目标AD值作为目标漏极电流,其中,目标漏极电流与功放待标定的目标输出功率相匹配;根据当前漏极电流和目标漏极电流,对射频链路的可调增益进行调节,使得功放的漏极电流随可调增益的调节而发生变化,并使变化后的漏极电流与目标漏极电流相匹配;根据目标输出功率和调节后的可调增益,确定射频链路的固定增益。本公开通过功放的漏极电流和第二关系参数来间接检测功放的输出功率,从而计算射频链路的固定增益来实现功率定标,无需外接射频仪表,解除了当前功率定标方法对射频仪表、线损、夹具等环境因素的依赖,消除了由其引入的测量误差。对功率定标环境的要求较低,稳定性好,非常利于生产控制过程和控制生产成本。The power calibration method provided in the above embodiments obtains the current drain current of the power amplifier and obtains the second relationship parameter, determines the target AD value corresponding to the target current value according to the second relationship parameter, and uses the target AD value as the target drain. current, where the target drain current matches the target output power of the power amplifier to be calibrated; according to the current drain current and the target drain current, the adjustable gain of the RF link is adjusted so that the drain current of the power amplifier can be adjusted with The gain is adjusted to change, and the changed drain current matches the target drain current; the fixed gain of the RF link is determined based on the target output power and the adjusted adjustable gain. This disclosure indirectly detects the output power of the power amplifier through the drain current of the power amplifier and the second relationship parameter, thereby calculating the fixed gain of the radio frequency link to achieve power calibration without the need for an external radio frequency instrument, eliminating the current power calibration method's burden on the radio frequency instrument. , line loss, fixtures and other environmental factors, eliminating the measurement errors introduced by them. It has low requirements on the power calibration environment and good stability, which is very conducive to the production control process and production cost control.
在一实施例中,通过以下步骤说明本公开提供的功率定标方法的具体实施方式。In one embodiment, the specific implementation of the power calibration method provided by the present disclosure is described through the following steps.
如图6所示,基站的射频链路包括发射链路和反馈链路,目的是定标发射链路的固定增益GAINTX及反馈链路的固定增益GAINFB。ATTTX是发射链路的可调增益,[ATTMIN,ATTMAX]是ATTTX的可调范围,STEPMAX是发射链路的可调增益的最大可调步进,[TMIN,TMAX]是定标过程中允许的功放工作温度范围,EAD是最终的电流AD值与目标电流AD值的最大允许误差,P是功放的目标输出功率,GAINfilter是滤波器在频率fn处的增益,TSSI是发射数字功率,FBSSI是反馈数字功率。以下涉及到功率的地方单位皆为dBm或dB。 As shown in Figure 6, the radio frequency link of the base station includes a transmit link and a feedback link. The purpose is to calibrate the fixed gain GAIN TX of the transmit link and the fixed gain GAIN FB of the feedback link. ATT TX is the adjustable gain of the transmit link, [ATT MIN , ATT MAX ] is the adjustable range of ATT TX , STEP MAX is the maximum adjustable step of the adjustable gain of the transmit link, [T MIN , T MAX ] is the allowable operating temperature range of the power amplifier during 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, and GAIN filter is the gain of the filter at frequency f n , TSSI is the transmit digital power, FBSSI is the feedback digital power. The following local units involving power are all in dBm or dB.
(1)关闭基带、关通道功放,设置反馈链路可调增益ATTFB(1) Turn off the baseband, turn off the channel power amplifier, and set the feedback link adjustable gain ATT FB .
(2)读取功放漏极检测电路检测到的AD值Ad(2) Read the AD value A d detected by the power amplifier drain detection circuit.
(3)计算频率fn对应的目标电流In的AD值ADG=w*In+d+(Ad-A0)。((Ad-A0)目的是消除电流检测电路的温漂影响),A0为功放关闭且未设置ATTFB时通过电流检测电路检测到的AD值,w为电流值与AD值之间的第二斜率,如w=(A2-A1)/(Imax-Imin),d为第二截距,如d=A2-w*Imax(3) Calculate the AD value AD G =w*I n +d+(A d -A 0 ) of the target current In corresponding to the frequency fn. (The purpose of (A d -A 0 ) is to eliminate the influence of temperature drift of the current detection circuit), A 0 is the AD value detected by the current detection circuit when the power amplifier is turned off and ATT FB is not set, and w is the difference between the current value and the AD value The second slope of , such as w=(A 2 -A 1 )/(I max -I min ), and d is the second intercept, such as d=A 2 -w*I max .
(4)以下实现的电流逼近采用的是线性法。设置基站发射链路的频率fn的单音信号、设置发射链路初始可调增益ATTTX1=(ATTMIN+ATTMAX)/2、打开基带信号、打开通道功放,读取对应电流AD值记为:AD1;设置初始可调增益ATTTX2=ATTTX1+2dB,读取当前电流AD值记为:AD2。(4) The current approximation implemented below uses the linear method. Set the single tone signal of frequency fn of the base station transmit link, set the initial adjustable gain of the transmit link ATT TX1 = (ATT MIN + ATT MAX )/2, turn on the baseband signal, turn on the channel power amplifier, read the corresponding current AD value and record it as : AD1; set the initial adjustable gain ATT TX2 = ATT TX1 +2dB, read the current AD value and record it as: AD2.
(5)计算斜率k=(ATTTX2-ATTTX1)/(AD2-AD1);b=ATTTX2-k*AD2。如果k=0或AD2=AD1,则舍弃本次计算得到的k,b参数,而用上次的k,b参数。(5) Calculate the slope k=(ATT TX2 -ATT TX1 )/(AD 2 -AD 1 ); b=ATT TX2 -k*AD 2 . If k=0 or AD2=AD1, discard the k and b parameters calculated this time and use the last k and b parameters.
(6)计算出目标可调增益ATTTXX=k*ADG+b,如果ATTTXX-ATTTX2>最大可调步进STEPMAX,则ATTTXX=ATTTX2+STEPMAX。如果可调增益ATTTXX>ATTMAX则判断为闭环失败,退出。读取功放温度PAT,如果PAT不在范围[TMIN,TMAX],则判读为超温,退出。(6) Calculate the target adjustable gain ATT TXX =k*AD G +b. If ATT TXX -ATT TX2 >maximum adjustable step STEP MAX , then ATT TXX =ATT TX2 +STEP MAX . If the adjustable gain ATT TXX >ATT MAX , it is judged that the closed loop fails and exits. Read the power amplifier temperature PAT . If PAT is not in the range [T MIN , T MAX ], it will be judged as over temperature and exit.
(7)设置ATTTXX,读取当前电流AD值记为:ADX,与目标电流ADG的差值△AD=ADX-ADG(7) Set ATT TXX , read the current current AD value and record it as : AD
(8)如果|△AD|<EAD,则判为电流逼近成功,否则ATTTX1=ATTTX2,ATTTX2=ATTTXX,AD1=AD2,AD2=ADX,返回步骤(5)。其中设置返回的循环次数,避免无限循环。(8) If |△AD|<E AD , it is judged that the current approximation is successful, otherwise ATT TX1 =ATT TX2 , ATT TX2 =ATT TXX , AD 1 =AD 2 , AD 2 =AD X , return to step (5). Set the number of loops to return to avoid infinite loops.
(9)计算频率fn的输出固定增益GAINTX=P+GAINfilter-TSSI-ATTTXX,反馈固定增益GAINFB=FBSSI-(P+GAINfilter)-ATTFB(9) Calculate the output fixed gain GAIN TX of frequency fn =P+GAIN filter -TSSI-ATT TXX , and the feedback fixed gain GAIN FB =FBSSI-(P+GAIN filter )-ATT FB .
(10)频率fn可以是多个,如果频率fn没有遍历完则返回步骤(3),否则关闭功放,完成定标。(10) The frequency f n can be multiple. If the frequency f n has not been traversed completely, return to step (3). Otherwise, turn off the power amplifier and complete the calibration.
请参阅图7,图7为本公开提供的一种无线通信设备的结构示意性框图。Please refer to FIG. 7 , which is a schematic structural block diagram of a wireless communication device provided by the present disclosure.
如图7所示,无线通信设备300包括处理器301和存储器302,处理器301和存储器302通过总线303连接,该总线比如为I2C(Inter-integrated Circuit)总线。无线通信设备300还包括功放304。无线通信设备300可以为有源天线单元(Active Antenna Unit,AAU)和射频拉远单元(Radio Remote Unit,RRU)的所有包含有功放的基站。As shown in Figure 7, the wireless communication device 300 includes a processor 301 and a memory 302. The processor 301 and the memory 302 are connected through a bus 303, which is, for example, an I2C (Inter-integrated Circuit) bus. Wireless communications device 300 also includes a power amplifier 304. The wireless communication device 300 can be any base station including a power amplifier including an active antenna unit (Active Antenna Unit, AAU) and a radio remote unit (Radio Remote Unit, RRU).
在一示例性实施例中,处理器301用于提供计算和控制能力,支撑整个无线通信设备300的运行。处理器301可以是中央处理单元(Central Processing Unit,CPU),该处理器301还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。In an exemplary embodiment, the processor 301 is used to provide computing and control capabilities to support the operation of the entire wireless communication device 300 . The processor 301 can be a central processing unit (Central Processing Unit, CPU). The processor 301 can 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 Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general processor may be a microprocessor or the processor may be any conventional processor.
在一示例性实施例中,存储器302可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。In an exemplary embodiment, the memory 302 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a USB disk, a mobile hard disk, or the like.
本领域技术人员可以理解,图7中示出的结构,仅仅是与本公开相关的部分结构的框图,并不构成对本公开所应用于其上的无线通信设备300的限定,具体的无线通信设备300可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 7 is only a block diagram of a partial structure related to the present disclosure, and does not constitute a limitation on the wireless communication device 300 to which the present disclosure is applied. The specific wireless communication device 300 may include more or fewer components than shown, some combinations of components, or a different arrangement of components.
其中,处理器用于运行存储在存储器中的计算机程序,并在执行计算机程序时实现本公开提供的任意一种所述的功率定标方法。Wherein, the processor is used to run a computer program stored in the memory, and implement any one of the power scaling methods provided by this disclosure when executing the computer program.
在一实施例中,处理器用于运行存储在存储器中的计算机程序,并在执行计算机程序时 实现如下步骤:获取功放的当前漏极电流,并获取目标漏极电流,其中,目标漏极电流与功放待标定的目标输出功率相匹配;根据当前漏极电流和目标漏极电流,对射频链路的可调增益进行调节,使得功放的漏极电流随可调增益的调节而发生变化,并使变化后的漏极电流与目标漏极电流相匹配;根据目标输出功率和调节后的可调增益,确定射频链路的固定增益。In one embodiment, the processor is configured to execute a computer program stored in the memory, and when executing the computer program Implement the following steps: obtain the current drain current of the power amplifier and obtain the target drain current, where the target drain current matches the target output power to be calibrated of the power amplifier; based on the current drain current and the target drain current, calculate the radio frequency chain The adjustable gain of the circuit is adjusted so that the drain current of the power amplifier changes with the adjustment of the adjustable gain, and the changed drain current matches the target drain current; according to the target output power and the adjusted adjustable Gain, determines the fixed gain of the RF link.
在一实施例中,处理器在实现根据当前漏极电流和目标漏极电流,对射频链路的可调增益进行调节时,用于实现:根据当前漏极电流和目标漏极电流,确定射频链路的目标可调增益;根据目标可调增益,对射频链路的可调增益进行调节。In one embodiment, when adjusting the adjustable gain of the radio frequency link based on the current drain current and the target drain current, the processor is configured to: determine the radio frequency based on the current drain current and the target drain current. The target adjustable gain of the link; adjust the adjustable gain of the radio frequency link according to the target adjustable gain.
在一实施例中,处理器在实现获取功放的当前漏极电流时,用于实现:获取第一可调增益,并将射频链路的可调增益设置为第一可调增益,以获取第一可调增益下的功放的第一漏极电流;根据第一可调增益确定第二可调增益,并将射频链路的可调增益设置为第二可调增益,以获取第二可调增益下的功放的第二漏极电流。In one embodiment, when obtaining the current drain current of the power amplifier, the processor is configured to: obtain the first adjustable gain, and set the adjustable gain of the radio frequency link to the first adjustable gain to obtain the first adjustable gain. The first drain current of the power amplifier under an adjustable gain; determine the second adjustable gain according to the first adjustable gain, and set the adjustable gain of the radio frequency link to the second adjustable gain to obtain the second adjustable gain. The second drain current of the power amplifier at gain.
在一实施例中,处理器在实现根据当前漏极电流和目标漏极电流,确定射频链路的目标可调增益时,用于实现:根据第一可调增益、第一漏极电流、第二可调增益和第二漏极电流,获取第一关系参数,第一关系参数用于表征可调增益与漏极电流之间的线性关系;根据第一关系参数和目标漏极电流,确定射频链路的目标可调增益。In one embodiment, when determining the target adjustable gain of the radio frequency link based on the current drain current and the target drain current, the processor is configured to: based on the first adjustable gain, the first drain current, the third The second adjustable gain and the second drain current are used to obtain the first relationship parameter, which is used to characterize the linear relationship between the adjustable gain and the drain current; according to the first relationship parameter and the target drain current, the radio frequency is determined The target adjustable gain of the link.
在一实施例中,处理器在实现根据第一可调增益、第一漏极电流、第二可调增益和第二漏极电流,获取第一关系参数时,用于实现:计算第一可调增益与第二可调增益之间的第一差值,并计算第一漏极电流与第二漏极电流之间的第二差值;根据第一差值与第二差值,确定可调增益与漏极电流之间的第一斜率;根据第一斜率、第二漏极电流和第二可调增益,得到第一截距;将第一斜率和第一截距作为第一关系参数。In one embodiment, when the processor obtains the first relationship parameter based on the first adjustable gain, the first drain current, the second adjustable gain, and the second drain current, the processor is configured to: calculate the first adjustable gain. Adjust the first difference between the gain and the second adjustable gain, and calculate the second difference between the first drain current and the second drain current; based on the first difference and the second difference, determine the Adjust the first slope between the gain and the drain current; obtain the first intercept based on the first slope, the second drain current and the second adjustable gain; use the first slope and the first intercept as the first relationship parameter .
在一实施例中,处理器在实现根据第一关系参数和目标漏极电流,确定射频链路的目标可调增益时,用于实现:根据第一关系参数和目标漏极电流,确定射频链路的第三可调增益;将射频链路的可调增益设置为第三可调增益,并检测第三可调增益下的功放的第三漏极电流;在第三漏极电流与目标漏极电流之间的差值小于或等于预设差值时,将第三可调增益作为射频链路的目标可调增益。In one embodiment, when determining the target adjustable gain of the radio frequency link based on the first relationship parameter and the target drain current, the processor is configured to: determine the radio frequency chain based on the first relationship parameter and the target drain current. The third adjustable gain of the radio frequency link; set the adjustable gain of the radio frequency link to the third adjustable gain, and detect the third drain current of the power amplifier under the third adjustable gain; when the third drain current is consistent with the target drain When the difference between the pole currents is less than or equal to the preset difference, the third adjustable gain is used as the target adjustable gain of the radio frequency link.
在一实施例中,处理器在实现检测第三可调增益下的功放的第三漏极电流之后,还用于实现:在第三漏极电流与目标漏极电流之间的差值大于预设差值时,令第一可调增益的数值为第二可调增益的数值、第二可调增益的数值为第三可调增益的数值,并令第一漏极电流的数值为第二漏极电流的数值、第二漏极电流的数值为第三漏极电流的数值,以返回执行根据第一可调增益、第一漏极电流、第二可调增益和第二漏极电流,获取第一关系参数的步骤。In one embodiment, after detecting the third drain current of the power amplifier under the third adjustable gain, the processor is further configured to: the difference between the third drain current and the target drain current is greater than a predetermined value. When setting the difference, let the value of the first adjustable gain be the value of the second adjustable gain, the value of the second adjustable gain be the value of the third adjustable gain, and let the value of the first drain current be the value of the second The value of the drain current and the value of the second drain current are the value of the third drain current, so as to return to execution according to the first adjustable gain, the first drain current, the second adjustable gain and the second drain current, Steps to obtain first relationship parameters.
在一实施例中,处理器在实现根据第一关系参数和目标漏极电流,确定射频链路的第三可调增益,用于实现:根据第一关系参数和目标漏极电流,计算射频链路的第四可调增益;计算第四可调增益与第二可调增益之间的增益差值;在增益差值小于或等于预设的最大可调步进时,将第四可调增益确定为第三可调增益;在增益差值大于最大可调步进时,将第二可调增益与最大可调步进之和确定为第三可调增益。In one embodiment, the processor determines the third adjustable gain of the radio frequency link according to the first relationship parameter and the target drain current, and is used to: calculate the radio frequency chain according to the first relationship parameter and the target drain current. The fourth adjustable gain of the path; calculate the gain difference between the fourth adjustable gain and the second adjustable gain; when the gain difference is less than or equal to the preset maximum adjustable step, the fourth adjustable gain It is determined as the third adjustable gain; when the gain difference is greater than the maximum adjustable step, the sum of the second adjustable gain and the maximum adjustable step is determined as the third adjustable gain.
在一实施例中,处理器在实现根据当前漏极电流和目标漏极电流,确定射频链路的目标可调增益时,用于实现:计算当前漏极电流与目标漏极电流之间的误差值;根据误差值和预设PID表达式,确定射频链路的可调增益的偏移参数;根据偏移参数,确定射频链路的目标可调增益。In one embodiment, when determining the target adjustable gain of the radio frequency link based on the current drain current and the target drain current, the processor is configured to: calculate the error between the current drain current and the target drain current. value; determine the offset parameter of the adjustable gain of the radio frequency link based on the error value and the preset PID expression; determine the target adjustable gain of the radio frequency link based on the offset parameter.
在一实施例中,处理器在实现获取目标漏极电流时,用于实现:获取第二关系参数,第二关系参数用于表征漏极电流的电流值与AD值之间的线性关系;根据第二关系参数确定目标电流值对应的目标AD值,并将目标AD值作为目标漏极电流。In one embodiment, when acquiring the target drain current, the processor is configured to: acquire a second relationship parameter, and the second relationship parameter is used to characterize the linear relationship between the current value of the drain current and the AD value; according to The second relationship parameter determines the target AD value corresponding to the target current value, and uses the target AD value as the target drain current.
在一实施例中,处理器在实现获取第二关系参数时,用于实现:分别设置功放的漏极电 流为第一电流值和第二电流值,以检测第一电流值对应的第一AD值以及第二电流值对应的第二AD值;计算第一AD值与第二AD值之间的AD差值,并计算第一电流值与第二电流值之间的电流差值;根据AD差值与电流差值,确定电流值与AD值之间的第二斜率;根据第二斜率、第二AD值和第二电流值,得到第二截距;将第二斜率和第二截距作为第二关系参数。In one embodiment, when acquiring the second relationship parameter, the processor is configured to: respectively set the drain voltage of the power amplifier. The flow is the first current value and the second current value to detect the first AD value corresponding to the first current value and the second AD value corresponding to the second current value; calculate the AD between the first AD value and the second AD value. difference, and calculate the current difference between the first current value and the second current value; according to the AD difference and the current difference, determine the second slope between the current value and the AD value; according to the second slope, the second The AD value and the second current value are used to obtain the second intercept; the second slope and the second intercept are used as the second relationship parameters.
在一实施例中,处理器在实现根据第二关系参数确定目标电流值对应的目标AD值时,用于实现:获取发射链路的发射信号频率相对应的目标电流值;计算目标电流值与第二斜率之间的乘积值;根据乘积值与第二截距之和,得到目标电流值对应的目标AD值。In one embodiment, when determining the target AD value corresponding to the target current value according to the second relationship parameter, the processor is configured to: obtain the target current value corresponding to the transmission signal frequency of the transmission link; calculate the target current value and The product value between the second slopes; based on the sum of the product value and the second intercept, the target AD value corresponding to the target current value is obtained.
在一实施例中,处理器在实现根据乘积值与第二截距之和,得到目标电流值对应的目标AD值时,用于实现:获取在标准温度下功放关闭时的漏极电流的标准AD值,并获取当前温度下功放关闭时的漏极电流的第三AD值;计算标准AD值与第三AD值之间的目标差值;计算乘积值、第二截距与目标差值之和,得到目标AD值。In one embodiment, when the processor obtains the target AD value corresponding to the target current value based on the sum of the product value and the second intercept, it is used to: obtain the standard of the drain current when the power amplifier is turned off at a standard temperature. AD value, and obtain the third AD value of the drain current when the power amplifier is turned off at the current temperature; calculate the target difference between the standard AD value and the third AD value; calculate the product value, the second intercept and the target difference and, get the target AD value.
在一实施例中,处理器还实现:检测多个功放在漏极电流达到目标电流值时的输出功率,得到多个功放的输出功率;对多个功放的输出功率进行排序,并根据排序结果从多个输出功率中选取多个候选输出功率;对多个候选输出功率取平均值,得到功放待标定的目标输出功率。In one embodiment, the processor also implements: detecting the output power of multiple power amplifiers when the drain current reaches the target current value, and obtaining the output power of the multiple power amplifiers; sorting the output powers of the multiple power amplifiers, and sorting the output power according to the sorting results. Select multiple candidate output powers from multiple output powers; average the multiple candidate output powers to obtain the target output power of the power amplifier to be calibrated.
在一实施例中,射频链路包括发射链路;处理器在实现根据目标输出功率和调节后的可调增益,确定射频链路的固定增益时,用于实现:获取目标输出功率对应的发射链路的发射数字功率;获取发射链路的发射信号频率对应的滤波器增益;根据目标输出功率、发射数字功率、滤波器增益和调节后的可调增益,计算发射链路的固定增益。In one embodiment, the radio frequency link includes a transmission link; when determining the fixed gain of the radio frequency link according to the target output power and the adjusted adjustable gain, the processor is configured to: obtain the transmission corresponding to the target output power. The transmit digital power of the link; obtain the filter gain corresponding to the transmit signal frequency of the transmit link; calculate the fixed gain of the transmit link based on the target output power, transmit digital power, filter gain and adjusted adjustable gain.
在一实施例中,射频链路还包括反馈链路;处理器还用于实现:获取目标输出功率对应的反馈链路的反馈数字功率;获取预先设置的反馈链路的可调增益;根据反馈数字功率、目标输出功率、滤波器增益和反馈链路的可调增益,计算反馈链路的固定增益。In one embodiment, the radio frequency link also includes a feedback link; the processor is further configured to: obtain the feedback digital power of the feedback link corresponding to the target output power; obtain the preset adjustable gain of the feedback link; and according to the feedback Digital power, target output power, filter gain and adjustable gain of the feedback link, calculates the fixed gain of the feedback link.
需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的无线通信设备300的具体工作过程,可以参考前述功率定标方法实施例中的对应过程,在此不再赘述。It should be noted that those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the wireless communication device 300 described above can be referred to the corresponding process in the aforementioned power calibration method embodiment. This will not be described again.
本公开还提供一种存储介质,用于计算机可读存储,存储介质存储有一个或者多个程序,一个或者多个程序可被一个或者多个处理器执行,以实现如本公开提供的任一项功率定标方法的步骤。The present disclosure also provides a storage medium for computer-readable storage. The storage medium stores one or more programs. The one or more programs can be executed by one or more processors to implement any of the methods provided by the present disclosure. Steps of term power scaling method.
其中,存储介质可以是前述实施例所述的无线通信设备的内部存储单元,例如无线通信设备的硬盘或内存。存储介质也可以是无线通信设备的外部存储设备,例如无线通信设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。The storage medium may be an internal storage unit of the wireless communication device described in the previous embodiment, such as a hard disk or memory of the wireless communication device. The storage medium can also be an external storage device of the wireless communication device, such as a plug-in hard disk equipped on the wireless communication device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card (Flash) Card) etc.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁 盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some steps, systems, and functional modules/units in the devices disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between 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 consist of several physical components. Components execute cooperatively. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a 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). As is known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical disk storage, magnetic cartridges, tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. Additionally, it is known to those of ordinary skill in the art that 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 may include any information delivery media .
本公开提供一种功率定标方法、无线通信设备及存储介质,本公开通过获取功放的当前漏极电流,并获取目标漏极电流,其中,目标漏极电流与功放待标定的目标输出功率相匹配;根据当前漏极电流和目标漏极电流,对射频链路的可调增益进行调节,使得功放的漏极电流随可调增益的调节而发生变化,并使变化后的漏极电流与目标漏极电流相匹配;根据目标输出功率和调节后的可调增益,确定射频链路的固定增益。本公开通过功放的漏极电流间接检测功放的输出功率,从而计算射频链路的固定增益来实现功率定标,无需外接射频仪表,解除了当前功率定标方法对射频仪表、线损、夹具等环境因素的依赖,消除了由其引入的测量误差。因此,对功率定标环境的要求较低,稳定性好,非常利于生产控制过程,同时由于省掉了射频仪表,能够降低生产成本。本公开的技术方案无需外接射频仪表,能够消除环境因素引入的测量误差,降低功率定标的环境要求。The present disclosure provides a power calibration method, a wireless communication device and a storage medium. The present disclosure obtains the current drain current of a power amplifier and obtains a target drain current, wherein the target drain current is consistent with the target output power of the power amplifier to be calibrated. Matching; adjust the adjustable gain of the radio frequency link according to the current drain current and the target drain current, so that the drain current of the power amplifier changes with the adjustment of the adjustable gain, and the changed drain current matches the target The drain currents are matched; the fixed gain of the RF link is determined based on the target output power and the adjusted adjustable gain. This disclosure indirectly detects the output power of the power amplifier through the drain current of the power amplifier, thereby calculating the fixed gain of the radio frequency link to achieve power calibration. There is no need for external radio frequency instruments, and the current power calibration method eliminates the burden on radio frequency instruments, line losses, fixtures, etc. The dependence on environmental factors eliminates the measurement errors introduced by them. Therefore, the requirements for the power calibration environment are low and the stability is good, which is very conducive to the production control process. At the same time, because the radio frequency instrument is omitted, the production cost can be reduced. The technical solution of the present disclosure does not require external radio frequency instruments, can eliminate measurement errors introduced by environmental factors, and reduce environmental requirements for power calibration.
上述本公开序号仅仅为了描述,不代表实施例的优劣。以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以权利要求的保护范围为准。 The above serial numbers of the present disclosure are only for description and do not represent the advantages and disadvantages of the embodiments. The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person familiar with the technical field can easily think of various equivalent methods within the technical scope disclosed in the present disclosure. Modifications or substitutions, these modifications or substitutions should be covered by the protection scope of this disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims (18)

  1. 一种功率定标方法,包括:A power calibration method, including:
    获取功放的当前漏极电流,并获取目标漏极电流,其中,所述目标漏极电流与所述功放待标定的目标输出功率相匹配;Obtain the current drain current of the power amplifier and obtain the target drain current, wherein the target drain current matches the target output power of the power amplifier to be calibrated;
    根据所述当前漏极电流和所述目标漏极电流,对射频链路的可调增益进行调节,使得所述功放的漏极电流随所述可调增益的调节而发生变化,并使变化后的所述漏极电流与所述目标漏极电流相匹配;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 with the adjustment of the adjustable gain, and the changed The drain current matches the target drain current;
    根据所述目标输出功率和调节后的所述可调增益,确定所述射频链路的固定增益。The fixed gain of the radio frequency link is determined according to the target output power and the adjusted adjustable gain.
  2. 根据权利要求1所述的功率定标方法,其中,所述根据所述当前漏极电流和所述目标漏极电流,对射频链路的可调增益进行调节,包括:The power scaling method according to claim 1, wherein the adjusting the adjustable gain of the radio frequency link according to the current drain current and the target drain current includes:
    根据所述当前漏极电流和所述目标漏极电流,确定所述射频链路的目标可调增益;Determine a target adjustable gain of the radio frequency link according to the current drain current and the target drain current;
    根据所述目标可调增益,对所述射频链路的可调增益进行调节。The adjustable gain of the radio frequency link is adjusted according to the target adjustable gain.
  3. 根据权利要求2所述的功率定标方法,其中,所述获取功放的当前漏极电流,包括:The power calibration method according to claim 2, wherein said obtaining the current drain current of the power amplifier includes:
    获取第一可调增益,并将所述射频链路的可调增益设置为所述第一可调增益,以获取所述第一可调增益下的所述功放的第一漏极电流;Obtain a first adjustable gain, and set the adjustable gain of the radio frequency link to the first adjustable gain to obtain the first drain current of the power amplifier under the first adjustable gain;
    根据所述第一可调增益确定第二可调增益,并将所述射频链路的可调增益设置为所述第二可调增益,以获取所述第二可调增益下的所述功放的第二漏极电流。Determine a second adjustable gain according to the first adjustable gain, and set the adjustable gain of the radio frequency link to the second adjustable gain to obtain the power amplifier under the second adjustable gain. of the second drain current.
  4. 根据权利要求3所述的功率定标方法,其中,所述根据所述当前漏极电流和所述目标漏极电流,确定所述射频链路的目标可调增益,包括:The power scaling method according to claim 3, wherein determining the target adjustable gain of the radio frequency link according to the current drain current and the target drain current includes:
    根据所述第一可调增益、第一漏极电流、第二可调增益和第二漏极电流,获取第一关系参数,所述第一关系参数用于表征所述可调增益与漏极电流之间的线性关系;According to the first adjustable gain, the first drain current, the second adjustable gain and the second drain current, a first relationship parameter is obtained, and the first relationship parameter is used to characterize the adjustable gain and the drain current. Linear relationship between currents;
    根据所述第一关系参数和目标漏极电流,确定所述射频链路的目标可调增益。A target adjustable gain of the radio frequency link is determined based on the first relationship parameter and the target drain current.
  5. 根据权利要求4所述的功率定标方法,其中,所述根据所述第一可调增益、第一漏极电流、第二可调增益和第二漏极电流,获取第一关系参数,包括:The power scaling method according to claim 4, wherein the first relationship parameter is obtained according to the first adjustable gain, the first drain current, the second adjustable gain and the second drain current, including :
    计算所述第一可调增益与所述第二可调增益之间的第一差值,并计算所述第一漏极电流与所述第二漏极电流之间的第二差值;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;
    根据所述第一差值与第二差值,确定可调增益与漏极电流之间的第一斜率;Determine a first slope between the adjustable gain and the drain current according to the first difference and the second difference;
    根据所述第一斜率、所述第二漏极电流和所述第二可调增益,得到第一截距;Obtain 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 the first relationship parameters.
  6. 根据权利要求4所述的功率定标方法,其中,所述根据所述第一关系参数和目标漏极电流,确定所述射频链路的目标可调增益,包括:The power scaling method according to claim 4, wherein determining the target adjustable gain of the radio frequency link according to the first relationship parameter and the target drain current includes:
    根据所述第一关系参数和目标漏极电流,确定所述射频链路的第三可调增益;Determine a third adjustable gain of the radio frequency link according to the first relationship parameter and the target drain current;
    将所述射频链路的可调增益设置为所述第三可调增益,并检测所述第三可调增益下的所述功放的第三漏极电流;Set the adjustable gain of the radio frequency link to the third adjustable gain, and detect the third drain current of the power amplifier under the third adjustable gain;
    在所述第三漏极电流与所述目标漏极电流之间的差值小于或等于预设差值时,将所述第三可调增益作为所述射频链路的目标可调增益。When the difference between the third drain current and the target drain current is less than or equal to the preset difference, the third adjustable gain is used as the target adjustable gain of the radio frequency link.
  7. 根据权利要求6所述的功率定标方法,其中,所述检测所述第三可调增益下的所述功放的第三漏极电流之后,还包括:The power scaling method according to claim 6, wherein after detecting the third drain current of the power amplifier under the third adjustable gain, it further includes:
    在所述第三漏极电流与所述目标漏极电流之间的差值大于所述预设差值时,令所述第一可调增益的数值为所述第二可调增益的数值、所述第二可调增益的数值为所述第三可调增益 的数值,并令所述第一漏极电流的数值为所述第二漏极电流的数值、所述第二漏极电流的数值为所述第三漏极电流的数值,以返回执行所述根据所述第一可调增益、第一漏极电流、第二可调增益和第二漏极电流,获取第一关系参数的步骤。When the difference between the third drain current and the target drain current is greater than the preset difference, let the value of the first adjustable gain be the value of the second adjustable gain, The value of the second adjustable gain is the third adjustable gain value, and let the value of the first drain current be the value of the second drain current, and the value of the second drain current be the value of the third drain current, so as to return to execute the The step of obtaining a first relationship parameter according to the first adjustable gain, the first drain current, the second adjustable gain and the second drain current.
  8. 根据权利要求6所述的功率定标方法,其中,所述根据所述第一关系参数和目标漏极电流,确定所述射频链路的第三可调增益,包括:The power scaling method according to claim 6, wherein determining the third adjustable gain of the radio frequency link according to the first relationship parameter and the target drain current includes:
    根据所述第一关系参数和目标漏极电流,计算所述射频链路的第四可调增益;Calculate a fourth adjustable gain of the radio frequency link according to the first relationship parameter and the target drain current;
    计算所述第四可调增益与所述第二可调增益之间的增益差值;Calculate the gain difference between the fourth adjustable gain and the second adjustable gain;
    在所述增益差值小于或等于预设的最大可调步进时,将所述第四可调增益确定为所述第三可调增益;When the gain difference is less than or equal to the preset maximum adjustable step, determine the fourth adjustable gain as the third adjustable gain;
    在所述增益差值大于所述最大可调步进时,将所述第二可调增益与所述最大可调步进之和确定为所述第三可调增益。When the gain difference is greater than the maximum adjustable step, the sum of the second adjustable gain and the maximum adjustable step is determined as the third adjustable gain.
  9. 根据权利要求2所述的功率定标方法,其中,所述根据所述当前漏极电流和所述目标漏极电流,确定所述射频链路的目标可调增益,包括:The power scaling method according to claim 2, wherein determining the target adjustable gain of the radio frequency link according to the current drain current and the target drain current includes:
    计算所述当前漏极电流与所述目标漏极电流之间的误差值;Calculate the error value between the current drain current and the target drain current;
    根据所述误差值和预设PID公式,确定射频链路的可调增益的偏移参数;Determine the offset parameter of the adjustable gain of the radio frequency link according to the error value and the preset PID formula;
    根据所述偏移参数,确定所述射频链路的目标可调增益。Based on the offset parameter, a target adjustable gain of the radio frequency link is determined.
  10. 根据权利要求1-9中任一项所述的功率定标方法,其中,所述获取目标漏极电流,包括:The power scaling method according to any one of claims 1 to 9, wherein said obtaining the target drain current includes:
    获取第二关系参数,所述第二关系参数用于表征漏极电流的电流值与AD值之间的线性关系;Obtain a second relationship parameter, which is used to characterize the linear relationship between the current value of the drain current and the AD value;
    根据所述第二关系参数确定目标电流值对应的目标AD值,并将所述目标AD值作为所述目标漏极电流。The target AD value corresponding to the target current value is determined according to the second relationship parameter, and the target AD value is used as the target drain current.
  11. 根据权利要求10所述的功率定标方法,其中,所述获取第二关系参数,包括:The power calibration method according to claim 10, wherein said obtaining the second relationship parameter includes:
    分别设置所述功放的漏极电流为第一电流值和第二电流值,以检测所述第一电流值对应的第一AD值以及所述第二电流值对应的第二AD值;Setting the drain current of the power amplifier to a first current value and a second current value respectively to detect the first AD value corresponding to the first current value and the second AD value corresponding to the second current value;
    计算所述第一AD值与所述第二AD值之间的AD差值,并计算所述第一电流值与所述第二电流值之间的电流差值;Calculate the AD difference between the first AD value and the second AD value, and calculate the current difference between the first current value and the second current value;
    根据所述AD差值与电流差值,确定电流值与AD值之间的第二斜率;According to the AD difference and the current difference, determine a second slope between the current value and the AD value;
    根据所述第二斜率、所述第二AD值和所述第二电流值,得到第二截距;According to the second slope, the second AD value and the second current value, a second intercept is obtained;
    将所述第二斜率和所述第二截距作为所述第二关系参数。The second slope and the second intercept are used as the second relationship parameters.
  12. 根据权利要求11所述的功率定标方法,其中,所述根据所述第二关系参数确定目标电流值对应的目标AD值,包括:The power calibration method according to claim 11, wherein determining the target AD value corresponding to the target current value according to the second relationship parameter includes:
    获取所述射频链路的发射信号频率相对应的目标电流值;Obtain the target current value corresponding to the transmission signal frequency of the radio frequency link;
    计算所述目标电流值与所述第二斜率之间的乘积值;Calculate the product value between the target current value and the second slope;
    根据所述乘积值与所述第二截距之和,得到所述目标电流值对应的目标AD值。According to the sum of the product value and the second intercept, a target AD value corresponding to the target current value is obtained.
  13. 根据权利要求12所述的功率定标方法,其中,所述根据所述乘积值与所述第二截距之和,得到所述目标电流值对应的目标AD值,包括:The power calibration method according to claim 12, wherein obtaining the target AD value corresponding to the target current value based on the sum of the product value and the second intercept includes:
    获取在标准温度下所述功放关闭时的漏极电流的标准AD值,并获取当前温度下所述功放关闭时的漏极电流的第三AD值; Obtain the standard AD value of the drain current when the power amplifier is turned off at the standard temperature, and obtain the third AD value of the drain current when the power amplifier is turned off at the current temperature;
    计算所述标准AD值与所述第三AD值之间的目标差值;Calculate a target difference between the standard AD value and the third AD value;
    计算所述乘积值、所述第二截距与所述目标差值之和,得到所述目标AD值。Calculate the sum of the product value, the second intercept and the target difference value to obtain the target AD value.
  14. 根据权利要求1-9中任一项所述的功率定标方法,其中,所述方法还包括:The power calibration method according to any one of claims 1-9, wherein the method further includes:
    检测多个功放在漏极电流达到目标电流值时的输出功率,得到多个功放的输出功率;Detect the output power of multiple power amplifiers when their drain current reaches the target current value, and obtain the output power of multiple power amplifiers;
    对所述多个功放的输出功率进行排序,并根据排序结果从所述多个输出功率中选取多个候选输出功率;Sort the output powers of the plurality of power amplifiers, and select a plurality of candidate output powers from the plurality of output powers according to the sorting results;
    对所述多个候选输出功率取平均值,得到所述功放待标定的目标输出功率。The multiple candidate output powers are averaged to obtain the target output power of the power amplifier to be calibrated.
  15. 根据权利要求1-9中任一项所述的功率定标方法,其中,所述射频链路包括发射链路;所述根据所述目标输出功率和调节后的所述可调增益,确定所述射频链路的固定增益,包括:The power calibration method according to any one of claims 1 to 9, wherein the radio frequency link includes a transmit link; and determining the target output power according to the target output power and the adjusted adjustable gain. The fixed gain of the radio frequency link includes:
    获取所述目标输出功率对应的所述发射链路的发射数字功率;Obtain the transmit digital power of the transmit link corresponding to the target output power;
    获取所述发射链路的发射信号频率对应的滤波器增益;Obtain the filter gain corresponding to the transmission signal frequency of the transmission link;
    根据所述目标输出功率、发射数字功率、滤波器增益和调节后的所述可调增益,计算所述发射链路的固定增益。The fixed gain of the transmit link is calculated based on the target output power, transmit digital power, filter gain and the adjusted adjustable gain.
  16. 根据权利要求15所述的功率定标方法,其中,所述射频链路还包括反馈链路;所述方法还包括:The power calibration method according to claim 15, wherein the radio frequency link further includes a feedback link; the method further includes:
    获取所述目标输出功率对应的所述反馈链路的反馈数字功率;Obtain the feedback digital power of the feedback link corresponding to the target output power;
    获取预先设置的所述反馈链路的可调增益;Obtain the preset adjustable gain of the feedback link;
    根据所述反馈数字功率、目标输出功率、滤波器增益和所述反馈链路的可调增益,计算所述反馈链路的固定增益。The fixed gain of the feedback link is calculated based on the feedback digital power, the target output power, the filter gain and the adjustable gain of the feedback link.
  17. 一种无线通信设备,包括功放、处理器、存储器、存储在所述存储器上并可被所述处理器执行的计算机程序以及用于实现所述处理器和所述存储器之间的连接通信的数据总线,其中所述计算机程序被所述处理器执行时,实现如权利要求1至16中任一项所述的功率定标方法的步骤。A wireless communication device, including a power amplifier, a processor, a memory, a computer program stored on the memory and executable by the processor, and data for realizing connection communication between the processor and the memory A bus, wherein when the computer program is executed by the processor, the steps of the power scaling method according to any one of claims 1 to 16 are implemented.
  18. 一种存储介质,用于计算机可读存储,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现权利要求1至16中任一项所述的功率定标方法的步骤。 A storage medium for computer-readable storage, the storage medium stores one or more programs, the one or more programs can be executed by one or more processors to implement any of claims 1 to 16 The steps of the power calibration method described in one item.
PCT/CN2023/074916 2022-06-21 2023-02-08 Power calibration method, wireless communication device and storage medium WO2023246114A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210706857.X 2022-06-21
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
WO2023246114A1 true WO2023246114A1 (en) 2023-12-28

Family

ID=89279886

Family Applications (1)

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

Country Status (2)

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

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070273448A1 (en) * 2006-05-12 2007-11-29 Stmicroelectronics S.R.L. Output power control of an rf amplifier
US7433658B1 (en) * 2003-09-30 2008-10-07 Marvell International Ltd. System and method for controlling true output power of a transmitter
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
CN109462382A (en) * 2018-10-26 2019-03-12 京信通信系统(中国)有限公司 Power amplifying system, power investigating method, device and base station equipment
CN110113011A (en) * 2019-04-22 2019-08-09 京信通信系统(中国)有限公司 Radio-frequency power amplifier grid voltage scaling system, method and access network equipment
CN111212436A (en) * 2019-12-23 2020-05-29 京信通信系统(中国)有限公司 Gain calibration method, device, computer equipment and storage medium

Patent Citations (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
US20070273448A1 (en) * 2006-05-12 2007-11-29 Stmicroelectronics S.R.L. Output power control of an rf 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
CN109462382A (en) * 2018-10-26 2019-03-12 京信通信系统(中国)有限公司 Power amplifying system, power investigating method, device and base station equipment
CN110113011A (en) * 2019-04-22 2019-08-09 京信通信系统(中国)有限公司 Radio-frequency power amplifier grid voltage scaling system, method and access network equipment
CN111212436A (en) * 2019-12-23 2020-05-29 京信通信系统(中国)有限公司 Gain calibration method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN117318846A (en) 2023-12-29

Similar Documents

Publication Publication Date Title
US9641146B2 (en) Apparatus and method for detecting radio frequency power
US9537519B2 (en) Systems and methods for performing power amplifier bias calibration
EP2086269B1 (en) A transmit power controller
US8437793B2 (en) Wireless transmitter calibration using absolute power requests
EP2673880A2 (en) Group delay calibration method for power amplifier envelope tracking
CN101977022B (en) Complementary-multiplicative power compensation method, device and communication equipment
CN109660219B (en) Calibration circuit, method, device, equipment and storage medium for power amplifier
CN113504742B (en) Double-fed automatic level control system based on FPGA
CN101730210A (en) Method and device for calibrating downlink radio frequency
WO2016197896A1 (en) Testing method, testing device, control method and control system
WO2023246114A1 (en) Power calibration method, wireless communication device and storage medium
CN108964794B (en) Channel calibration method, terminal and computer readable storage medium
CN109951244B (en) Power measurement and radio frequency receiving gain control method applied to channel simulator
CN111212436B (en) Gain calibration method, device, computer equipment and storage medium
US9871538B2 (en) Method and apparatus for adjusting peak power capability
CN117200876A (en) Power automatic calibration method for frequency hopping dispersion communication
US9189005B2 (en) Transmission power control circuit and transmission device, transmission power control method, program
WO2020114365A1 (en) Transmitter output calibration
CN100382454C (en) Equipment and method for stabilizing output power in base station
CN113098548B (en) Transmitting link, transmitting link calibration method, device and digital transceiver
CN111224723B (en) Calibration method and system of radio frequency front-end module, electronic equipment and storage medium
US11032724B2 (en) System and method for optimizing signal path calibration
CN113466774A (en) System and method for realizing automatic calibration of frequency spectrograph power under condition of adapting to ADC linear characteristic
CN103109581A (en) Power calibration under voltage standing wave ratio change by frequency sweep
CN110380794B (en) Data-driven radio frequency transmission power calibration method and device for wireless communication system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23825773

Country of ref document: EP

Kind code of ref document: A1