Power scaling method, wireless communication device, and storage medium

Through the drain current detection and RF link gain adjustment of wireless communication equipment, power calibration is achieved without the need for RF instruments, solving the problems of high environmental dependence and large measurement errors in traditional methods, improving the stability of calibration and reducing production costs.

CN117318846BActive Publication Date: 2025-10-10ZTE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210706857.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-21
Publication Date
2025-10-10
Estimated Expiration
2042-06-21

AI Technical Summary

Technical Problem

The power calibration method of existing wireless communication equipment relies on radio frequency instruments, which leads to high environmental requirements and easily introduces measurement errors. It is difficult to adapt to the calibration requirements of the minimalist model with integrated single-board antenna of 5G AAU.

Method used

By obtaining the current drain current and target drain current of the power amplifier, the adjustable gain of the RF link is adjusted to make the drain current match the target current. The fixed gain of the RF link is determined based on the target output power and the adjusted gain, achieving power calibration without the need for an external RF instrument.

Benefits of technology

It reduces the environmental requirements for power calibration, eliminates measurement errors introduced by factors such as RF instruments, line losses and fixtures, improves calibration stability and the convenience of production control, and reduces production costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117318846B_ABST
    Figure CN117318846B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a kind of power scaling method, wireless communication device and storage medium, belong to power control field.The method comprises: obtaining the current drain current of power amplifier, and obtaining target drain current, wherein target drain current is matched with the target output power of power amplifier to be scaled;According to current drain current and target drain current, the adjustable gain of radio frequency link is adjusted, so that the drain current of power amplifier changes with the adjustment of adjustable gain, and the changed drain current is matched with target drain current;According to target output power and adjusted adjustable gain, the fixed gain of radio frequency link is determined.The technical scheme of the embodiment of the present application does not need external radio frequency instrument, can eliminate the measurement error introduced by environmental factors, reduces the environmental requirements of power scaling.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of power control, and particularly relates to a power calibration method, a wireless communication device and a storage medium. BACKGROUND

[0002] In a wireless communication system, power control technology is very important. The transmission power of a wireless communication device directly affects the use effect of the wireless communication device. For example, if the power of the wireless communication device is too small, the communication coverage range is reduced. If the power of the wireless communication device is too large, the wireless communication device is excessively powered, the communication of a nearby cell is interfered, and the service life of the wireless communication device is shortened. Therefore, the transmission power of the wireless communication device must be calibrated before it is shipped. However, the current power calibration method of the wireless communication device is basically a traditional instrument calibration method, which needs to use a spectrum analyzer or a power meter to calibrate the transmission power of the wireless communication device and write related calibration parameters. This power calibration method has high requirements for the environment and needs to be externally connected to a radio frequency instrument, which is prone to problems such as inaccurate line loss, instrument centering deviation, large wiring error, and unstable complex fixture. SUMMARY

[0003] Embodiments of the present application provide a power calibration method, a wireless communication device and a storage medium, which are aimed at greatly reducing the environmental requirements of power calibration, without the need for external radio frequency instruments, and can eliminate measurement errors introduced by radio frequency instruments, line loss and fixtures.

[0004] In a first aspect, embodiments of the present application provide a power calibration method, which includes:

[0005] obtaining a current drain current of a power amplifier, and obtaining a target drain current, wherein the target drain current matches a target output power to be calibrated of the power amplifier;

[0006] adjusting an adjustable gain of a 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 drain current;

[0007] determining a fixed gain of the radio frequency link according to the target output power and the adjusted adjustable gain.

[0008] In a second aspect, embodiments of the present application also provide a wireless communication device, which includes a power amplifier, a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for realizing connection communication between the processor and the memory, wherein the computer program is executed by the processor to realize the steps of any one of the power calibration methods provided by embodiments of the present application.

[0009] In a third aspect, an embodiment of the present invention further provides a storage medium for computer-readable storage, characterized in that 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 steps of any power calibration method provided in an embodiment of the present invention.

[0010] Embodiments of the present invention provide a power calibration method, wireless communication device, and storage medium. The present embodiment obtains the current drain current of a power amplifier and a target drain current, wherein the target drain current matches the target output power of the power amplifier to be calibrated. Based on 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 drain current matches the target drain current. Based on the target output power and the adjusted adjustable gain, the fixed gain of the radio frequency link is determined. This embodiment 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. This eliminates the need for an external radio frequency meter, eliminates the reliance of current power calibration methods on environmental factors such as radio frequency meters, line loss, and fixtures, and eliminates the measurement errors introduced by these factors. Therefore, the power calibration environment has low requirements, has good stability, and is very beneficial to the production control process. Furthermore, the elimination of radio frequency meters can reduce production costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 A schematic diagram of a power calibration method according to an embodiment of the present invention;

[0012] Figure 2 A schematic structural diagram of a power amplifier provided by an embodiment of the present invention;

[0013] Figure 3 A schematic structural diagram of a base station provided in an embodiment of the present invention;

[0014] Figure 4 for Figure 1 A schematic diagram of the sub-step flow of the power calibration method in FIG.

[0015] Figure 5 A schematic flow chart of another power calibration method provided by an embodiment of the present invention;

[0016] Figure 6 Another structural diagram of a base station provided in an embodiment of the present invention;

[0017] Figure 7 A schematic block diagram of the structure of a wireless communication device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0019] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, combined, or partially merged, so the actual execution order may vary depending on the actual situation.

[0020] It should be understood that the terms used in this specification are only for the purpose of describing particular embodiments and are not intended to limit the present invention. As used in the specification and appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise.

[0021] Embodiments of the present invention provide 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, such as mobile phones, tablet computers, laptop 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 (AAU) and a radio remote unit (RRU), all base stations equipped with power amplifiers.

[0022] In the field of power control for wireless communication devices, traditional instrument calibration methods require using a spectrum analyzer or power meter to calibrate the transmit power of wireless communication devices and enter the relevant calibration parameters. However, this traditional method introduces numerous environmental errors, leading to problems such as high retest rates. These environmental errors include inaccurate line loss, instrument center offset, large wiring errors, and unstable complex fixtures. Furthermore, 5G AAU base stations are currently evolving towards minimalist models with integrated single-board antennas. These models lack the RF interface required for traditional instrument calibration methods. Therefore, developing a base station power calibration method that eliminates the need for RF instruments and has low environmental requirements has become a pressing issue.

[0023] Based on this, embodiments of the present invention provide a power calibration method with low calibration environment requirements and no RF instrumentation. This method overcomes the shortcomings of traditional instrumentation calibration methods, which require a high calibration environment. It also addresses the issue of 5G AAU single-board antenna integrated minimalist models suffering from the lack of RF interfaces for traditional instrumentation calibration methods. Furthermore, by eliminating the RF instrumentation, production costs can be reduced.

[0024] The embodiments of the present invention can be applied to the production and testing process of wireless communication devices. During use, the power transmission port of the wireless communication device must be connected to a matching load or antenna to ensure radiation safety. The wireless communication device itself must be capable of detecting the drain current of the power amplifier. For example, a current detection circuit is provided on the drain side of the power amplifier to collect the drain current of the power amplifier. Because power amplifier efficiency is related to the type of power amplifier and the operating quiescent state of the power amplifier tube, drain voltage, output power, operating temperature, and output characteristics, it is necessary to ensure that the power amplifier used in the laboratory and the power amplifier used for production calibration have the same power amplifier type, the same operating quiescent point (the power amplifier tube is pre-adjusted to the same target quiescent point by adjusting the gate voltage), the same drain voltage, the same drain current (if other parameters are the same, the same drain current means the same output power), an operating temperature within a ±5°C tolerance, and the same manufacturer (the type and manufacturing process of the power amplifier tube directly determine its output characteristic curve between drain current and drain voltage).

[0025] The following, with reference to the accompanying drawings, describes in detail some embodiments of the present invention, using the power calibration method applied to a base station as an example. The following embodiments and features may be combined unless they conflict. Similarly, the power calibration method may also be applied to other wireless communication devices.

[0026] Please refer to Figure 1 , Figure 1 A schematic flow chart of the steps of a power calibration method provided by an embodiment of the present invention.

[0027] like Figure 1 As shown, the power calibration method includes steps S101 to S103.

[0028] Step S101: obtaining a current drain current of a power amplifier and obtaining a target drain current, wherein the target drain current matches a target output power to be calibrated of the power amplifier.

[0029] The output power of the power amplifier corresponds to its drain current. This relationship needs to be pre-measured in the laboratory using an RF instrument. For example, the output power of the power amplifier can be measured at multiple drain currents in the laboratory. Then, using linear regression or polynomial regression, a curve or formula can be derived that shows the relationship between drain current and output power.

[0030] It should be noted that the target output power to be calibrated is determined based on the performance of the base station in the field, and the target drain current of the power amplifier is measured when the output power of the power amplifier is at the target output power. Therefore, the target drain current that matches the target output power to be calibrated can be determined.

[0031] For example, Figure 2 As shown, 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 I of the power amplifier 10. The power amplifier output power P satisfies the following formula:

[0032] P=10*log 10 (U*I*μ)+10*log 10 D

[0033] Where 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 insertion loss of the circulator. 10 D is fixed; the drain voltage U can be set directly during the power calibration process; and for the same PA, under the same conditions, the PA efficiency μ is fixed. Therefore, as long as the PA drain current I reaches the target drain current, it can be predicted that the output power P has reached the target output power.

[0034] In one embodiment, the target output power to be calibrated is determined by: detecting the output powers of multiple power amplifiers when the drain current reaches a target current value to obtain the output powers of the multiple power amplifiers; sorting the output powers of the multiple power amplifiers, and selecting multiple candidate output powers from the multiple output powers based on the sorting results; and averaging the multiple candidate output powers to obtain the target output power to be calibrated for the power amplifiers. It should be noted that the multiple power amplifiers can be the same type of power amplifier products, and the multiple candidate output powers can be selected based on a preset range or a preset number. Sorting and selecting the output powers of the multiple power amplifiers when the drain current reaches the target current value, and averaging the multiple selected candidate output powers to obtain the target output power, can ensure the representativeness of the target output power and is conducive to improving the accuracy of subsequent power calibration.

[0035] For example, Figure 3As shown, the signal source 40 outputs a transmit signal to the power amplifier 10. The channel between the signal source 40 and the power amplifier 10 is the RF link. After the transmit signal reaches the power amplifier 10 through the RF 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 drain voltage of the power amplifier 10. The signal source 40 adjusts the output of the signal source from small to large so that the drain current I of the power amplifier reaches the target drain current I n At this time, the actual output power P of the power amplifier can be read by the power meter 20. Based on this, n power amplifiers of the same model are tested and the actual output powers P0~P n-1 , n≧20. The actual output power of n power amplifiers P0~P n-1 Sort from small to large, and take the average output power P of the middle 80% of the sorted results. aver , P aver This is the drain current I of this type of power amplifier and the target n The corresponding target output power P n .

[0036] 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 a first adjustable gain of the RF link; the second drain current is the drain current of the power amplifier detected at a second adjustable gain of the RF link; the second adjustable gain can be determined based on the first adjustable gain, for example, the second adjustable gain is the sum of the first adjustable gain and a preset gain, and the preset gain is, for example, 2dB or -2dB.

[0037] In one embodiment, obtaining the current drain current of the power amplifier includes: obtaining a first adjustable gain and setting the adjustable gain of the radio frequency link to the first adjustable gain to obtain a first drain current of the power amplifier at the first adjustable gain; determining a second adjustable gain based on the first adjustable gain and setting the adjustable gain of the radio frequency link to the second adjustable gain to obtain a second drain current of the power amplifier at the second adjustable gain. Either the second drain current or the first drain current can be used as the current drain current of the power amplifier. Collecting both the first and second drain currents helps improve the accuracy of subsequent power calibration.

[0038] Exemplary, adjustable gain ATT of the RF link TX The preset adjustable range is [ATT MIN ,ATT MAX ], the preset adjustable range can be determined according to the working performance of the radio frequency link; the first adjustable gain of the radio frequency link is set to ATT TX1 =(ATT MIN +ATT MAX) / 2; read the first adjustable gain ATT TX1 The first drain current of the lower power amplifier is recorded as AD1; the second adjustable gain of the RF link is set to ATT TX2 =ATT TX1 +2dB, where 2dB is the preset gain, which can be set according to actual conditions; read the second adjustable gain ATT TX2 The second drain current of the lower power amplifier is recorded as AD2, and the second drain current AD2 is used as the current drain current.

[0039] 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 matches the target drain current.

[0040] It should be noted that the power calibration process requires determining whether the PA output power has reached the target output power based on the detected current drain current. For example, if the current difference between the PA's current drain current and the target drain current is less than or equal to a preset current difference, it can be determined that the current drain current matches the target drain current, and the PA's output power is now at the target output power.

[0041] It should be noted that the adjustable gain of the RF link can be adjusted once or multiple times. Adjusting the adjustable gain of the RF link causes the drain current of the power amplifier to change with the adjustment of the adjustable gain, and the current difference between the changed drain current and the target drain current approaches zero, thereby matching the changed drain current with the target drain current, enabling power calibration.

[0042] In one embodiment, if Figure 4 As shown, step S102 includes: sub-step S1021 to sub-step S1022.

[0043] Sub-step S1021 : determining a target adjustable gain of the radio frequency link according to the current drain current and the target drain current.

[0044] It should be noted that before adjusting the adjustable gain of the RF link, the target adjustable gain of the RF link can be determined based on the current drain current and the target drain current. There are multiple ways to determine the target adjustable gain of the RF link, including linear methods and closed-loop control methods. Closed-loop control methods include stepping methods, PID (Proportion Integral Differential) methods, and binary methods.

[0045] In one embodiment, after determining the target adjustable gain of the radio frequency link, the target adjustable gain ATT is determined.TXX Is it greater than the preset maximum adjustable gain ATT? MAX ; If the target adjustable gain ATT TXX Greater than the preset maximum adjustable gain ATT MAX It is judged that the closed loop fails and the step of determining the target adjustable gain is exited; if the target adjustable gain ATT TXX Less than or equal to the preset maximum adjustable gain ATT MAX , then execute the next sub-step.

[0046] Sub-step S1022: adjusting the adjustable gain of the radio frequency link according to the target adjustable gain.

[0047] In one embodiment, the adjustable gain of the radio frequency link is adjusted based on the target adjustable gain by setting the adjustable gain of the radio frequency link to the target adjustable gain. In another embodiment, the adjustable gain of the radio frequency link is adjusted based on the target adjustable gain by modifying the target adjustable gain according to a preset parameter and setting the adjustable gain of the radio frequency link to the modified target adjustable gain.

[0048] The following uses the linear method as an example to illustrate how to determine the target adjustable gain of the RF link based on the current drain current and the target drain current:

[0049] In one embodiment, determining a target adjustable gain of a radio frequency link based on a current drain current and a target drain current includes: obtaining a first relationship parameter based on a first adjustable gain, a first drain current, a second adjustable gain, and a second drain current, the first relationship parameter being used to characterize a linear relationship between the adjustable gain and the drain current; and determining the target adjustable gain of the radio frequency link based on the first relationship parameter and the target drain current. The current drain current includes either a first drain current or a second drain current, the first drain current being obtained at the first adjustable gain of the power amplifier, and the second drain current being obtained at the second adjustable gain of the power amplifier. It should be noted that based on 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.

[0050] The method for obtaining the first relationship parameter includes: calculating a first difference between the first adjustable gain and the second adjustable gain, and calculating a second difference between the first drain current and the second drain current; determining a first slope between the adjustable gain and the drain current based on the first difference and the second difference; obtaining a first intercept based on the first slope, the second drain current, and the second adjustable gain; and using the first slope and the first intercept as the first relationship parameter. It should be noted that the first difference and the second difference can be absolute values, that is, the first difference can be the absolute value of the difference between the first adjustable gain and the second adjustable gain, and the second difference can be the absolute value of the difference between the first drain current and the second drain current. The first slope and the first intercept as the first relationship parameter can be positive or negative values.

[0051] For example, the first adjustable gain ATT TX1 With the second adjustable gain ATT TX2 The first difference between the two is ATT TX2 -ATT TX1 , the second difference between the first drain current AD1 and the second drain current AD2 is AD2-AD1. Therefore, the first slope k=(ATT TX2 -ATT TX1 ) / (AD2-AD1), the first intercept b=ATT TX2 -k*AD2.

[0052] It should be noted that if the adjustable gain of the RF link is to be adjusted multiple times, after calculating the first slope and the first intercept, it is determined whether the first slope k is zero, and whether the first drain current AD1 is equal to the second drain current AD2; if it is determined that the first slope k = 0, or the second drain current AD2 is equal to the first drain current AD1, the k and b parameters obtained by this calculation are discarded, and the k and b parameters obtained by the last adjustment are used.

[0053] Determining the target adjustable gain of the RF link based on the first relationship parameter and the target drain current includes: determining a third adjustable gain of the RF link based on the first relationship parameter and the target drain current; setting the adjustable gain of the RF link to the third adjustable gain, and detecting a third drain current of the power amplifier at the third adjustable gain; and setting the third adjustable gain as the target adjustable gain of the RF link when the difference between the third drain current and the target drain current is less than or equal to a preset difference. The difference between the third drain current and the target drain current may be an absolute value, and the preset difference may be set based on 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, the third drain current is determined to match the target drain current.

[0054] For example, the target drain current is AD G, the third adjustable gain of the RF link is ATT TX3 =k*AD G +b; Set the adjustable gain of the RF link to the third adjustable gain ATT TX3 , and detect the third adjustable gain ATT TX3 The third drain current AD of the power amplifier under X ; Calculate the third drain current AD X and the target drain current AD G The difference between △AD=AD X -AD G ; In the third drain current AD X and the target drain current AD G The absolute value of the difference between |△AD| is less than or equal to the preset difference E AD When the current approximation is successful, the third drain current AD X and the target drain current AD G Match, then the third adjustable gain ATT TX3 That is the target adjustable gain ATT of the RF link TXX .

[0055] 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; calculating the gain difference between the fourth adjustable gain and the second adjustable gain; when the gain difference is less than or equal to a preset maximum adjustable step, determining the fourth adjustable gain as the third adjustable gain; when the gain difference is greater than the maximum adjustable step, determining the sum of the second adjustable gain and the maximum adjustable step as the third adjustable gain. The maximum adjustable step can be set according to actual conditions, and the fourth adjustable gain ATT TX4 The calculation method can be ATT TX4 =k*AD G +b.

[0056] For example, the maximum adjustable step is STEP MAX , if the gain difference ATT between the fourth adjustable gain and the second adjustable gain TX4 -ATT TX2 ≤STEP MAX , then let the third adjustable gain ATT TX3 =ATT TX4 If the gain difference ATT between the fourth adjustable gain and the second adjustable gain TX4 -ATT TX2 >STEP MAX , then let the third adjustable gain ATT TX3 =ATT TX2 +STEPMAX .

[0057] Exemplarily, after detecting the third drain current of the power amplifier under the third adjustable gain, it also includes: when the difference between the third drain current and the target drain current is greater than the preset difference, using the second adjustable gain as the new first adjustable gain and the third adjustable gain as the new second adjustable gain, and using the second drain current as the new first drain current and the third drain current as the new second drain current, to execute 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.

[0058] In one embodiment, the power amplifier temperature PA is read by a temperature detection device. T If the power amplifier temperature PA T 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.

[0059] 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 third drain current and the target drain current is greater than a preset difference, setting the value of the first adjustable gain to the value of the second adjustable gain, the value of the second adjustable gain to the value of the third adjustable gain, and setting the value of the first drain current to the value of the second drain current, and the value of the second drain current to the value of the third drain current, so as to return to 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.

[0060] For example, the preset difference is E AD , if the preset difference |△AD|>E AD , then let the first adjustable gain ATT TX1 = Second adjustable gain ATT TX2 , the second adjustable gain ATT TX2 =Third adjustable gain ATT TXX ; and let the first drain current AD1 = the second drain current AD2, the second drain current AD2 = the third drain current AD X , and returns to execute the calculation slope k=(ATT TX2 -ATT TX1 ) / (AD2-AD1); b=ATT TX2 -k*AD2 steps.

[0061] In one embodiment, a maximum number of loops is set for returning 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 if the number of loops returned to the step is greater than or equal to the maximum number of loops, the closed loop is determined to have failed, and the step of determining the target adjustable gain is exited. By controlling the number of loops, an infinite loop is avoided.

[0062] Step S103: Determine the fixed gain of the radio frequency link according to the target output power and the adjusted adjustable gain.

[0063] It should be noted that when the changed drain current matches the target drain current, the PA output power reaches the target output power. At this point, the fixed gain of the RF link can be determined based on the target output power and the adjusted adjustable gain, accurately achieving power calibration. By indirectly detecting whether the PA output power reaches the target output power through the PA drain current, 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. This eliminates the need for an external RF meter, freeing current power calibration methods from reliance on environmental factors such as RF meters, line loss, and fixtures, and eliminating the measurement errors introduced by these factors.

[0064] In one embodiment, a radio frequency link includes a transmitting link; determining a fixed gain of the radio frequency link based on a target output power and an adjusted adjustable gain includes: obtaining a transmit digital power of the transmitting link corresponding to the target output power; obtaining a filter gain corresponding to a transmit signal frequency of the transmitting link; and calculating the fixed gain of the transmitting link based on the target output power, the transmit digital power, the filter gain, and the adjusted adjustable gain. The fixed gain of the transmitting link may be referred to as the output fixed gain of the transmitting link. It should be noted that calculating the fixed gain of the transmitting link in the above manner to achieve power calibration eliminates the need for an external radio frequency instrument, reduces the requirements for the power calibration environment, improves stability, and is highly beneficial to the production control process. Furthermore, since the radio frequency instrument is omitted, production costs can be reduced.

[0065] For example, the fixed gain of the transmit chain is calculated using the following formula:

[0066] GAIN TX =P+GAIN filter -TSSI-ATT TXX

[0067] Among them, GAIN TX represents the fixed gain of the transmission link, P represents the target output power, TSSI represents the transmission digital power of the transmission link, ATT TXX Represents the adjusted adjustable gain (adjustable gain of the transmission chain), GAIN filterRepresents the filter gain (the gain of the filter at the transmit signal frequency). Among them, the transmit digital power TSSI, the adjustable gain ATT of the transmit link TXX Can be read directly from the base station. filter It can be tested in advance using a vector network analyzer, and the output power P can be indirectly predicted by detecting the power amplifier drain current.

[0068] In one embodiment, the radio frequency link further includes a feedback link; obtaining feedback digital power of the feedback link corresponding to the target output power; obtaining a preset adjustable gain of the feedback link; and calculating a fixed gain of the feedback link based on the feedback digital power, the target output power, the filter gain, and the adjustable gain of the feedback link. The fixed gain of the feedback link may be referred to as a feedback fixed gain of the feedback link. It should be noted that calculating the fixed gain of the feedback link in the above manner to achieve power calibration eliminates the need for an external radio frequency instrument, reduces requirements for the power calibration environment, improves stability, and is highly beneficial to the production control process, further reducing production costs.

[0069] Exemplarily, the fixed gain of the feedback link is calculated using the following formula:

[0070] GAIN FB =FBSSI-(P+GAIN filter )-ATT FB

[0071] Among them, GAIN FB represents the fixed gain of the feedback link, FBSSI represents the feedback digital power, ATT FB Represents the adjustable gain of the feedback link, P represents the target output power, GAIN filter Represents the filter gain. Feedback digital power FBSSI, feedback link adjustable gain ATT FB It can be read directly from the base station.

[0072] It is understandable that for wireless communication devices other than base stations, the method of determining the fixed gain of the RF 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 are different. This embodiment does not specifically limit this.

[0073] In one embodiment, power calibration is required at multiple transmit signal frequencies. Specifically, the fixed gains of the radio frequency link are determined at multiple transmit signal frequencies. Each transmit signal frequency corresponds to the fixed gain of the radio frequency link. Therefore, the fixed gain of the transmit link and the fixed gain of the feedback link can each be a gain corresponding to each transmit signal frequency.

[0074] For example, the frequency range of the radio frequency signal is [f0, fn-1 ]. When adjusting the adjustable gain of the RF link according to the current drain current and the target drain current, the transmission signal of the RF link is set to a single-tone signal of frequency f0, and the fixed gain GAIN0 of the RF link under the transmission signal frequency f0 is obtained; then the transmission signal of the RF link is set to a single-tone signal of frequency f1, and the fixed gain GAIN1 of the RF link under the transmission signal frequency f1 is obtained; ...; finally, the transmission signal of the RF link is set to a single-tone signal of frequency f n-1 The single tone signal is obtained, and the transmission signal frequency f n-1 The fixed gain GAIN of the RF link under n-1 .

[0075] The power calibration method provided in the above embodiment obtains the current drain current of the power amplifier and obtains 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 drain current matches the target drain current; according to the target output power and the adjusted adjustable gain, the fixed gain of the radio frequency link is determined. The embodiment of the present invention 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, without the need for an external radio frequency meter, eliminating the current power calibration method's dependence on environmental factors such as radio frequency meters, line losses, and fixtures, and eliminating the measurement errors introduced by them. Therefore, the requirements for the power calibration environment are low, the stability is good, and it is very beneficial to the production control process. At the same time, since the radio frequency meter is omitted, the production cost can be reduced.

[0076] It should be noted that in the process of determining the fixed gain of the RF link, due to the transmission digital power TSSI and the adjustable gain ATT of the transmission link TXX , feedback digital power FBSSI, adjustable gain ATT of feedback link FB All of them can be directly read from the base station. Therefore, the calibration error caused by the power calibration method provided in the embodiment of the present application mainly comes from P+GAIN filter , as shown in the following formula:

[0077]

[0078] Where I represents the drain current, U represents the drain voltage of the power amplifier, μ represents the efficiency of the power amplifier, and D represents the loss factor of the circulator. ΔP represents the error caused by the output power of the power amplifier, ΔU represents the error caused by the drain voltage, ΔI represents the error caused by the drain current, Δμ represents the error caused by the efficiency of the power amplifier, and ΔD represents the error caused by the insertion loss of the circulator. ΔGAIN filter Represents the error caused by the filter, ΔGAINTX Represents the error caused by the fixed gain of the transmission chain, ΔGAIN FB Represents the error in the fixed gain of the feedback chain.

[0079] First, the error introduced by the drain voltage U depends on the voltage measurement accuracy of the electronic load used to calibrate the base station power amplifier drain voltage. The electronic load voltage measurement accuracy is generally 0.025%, resulting in an error of approximately 0.001dB in the power amplifier output power. Second, the error introduced by the drain current I depends on the current measurement accuracy of the electronic load used to calibrate the base station power amplifier drain current. The electronic load current measurement accuracy is generally 0.1%, resulting in an error of approximately 0.004dB in the power amplifier output power. Third, the error introduced by the power amplifier circulator insertion loss depends on the consistency of the incoming materials from the manufacturer. The insertion loss itself is relatively small, <0.25dB, so even with batch materials, the error is guaranteed to be <0.1dB. Fourth, the error introduced by the power amplifier efficiency μ: This is influenced by many factors, but as long as the above conditions are met, the dispersion of the power amplifier efficiency is guaranteed to be less than 10%. This results in an error of <0.457dB in the power amplifier output power. Therefore, the power calibration method provided in this embodiment of the application has a calibration error of <0.662dB in mass production.

[0080] Traditional instrument calibration methods involve errors such as RF instrument error, line loss error, and wiring error. Currently, the most commonly used instrument calibration methods include power meter calibration and spectrum analyzer calibration. Ideally, for power meter calibration, the power meter error is <0.2dB, the line loss error stemming from the measurement error of the vector network analyzer used for line loss calibration is <0.1dB, the wiring error during batch operations is <0.2dB, and the total error is <0.5dB. For spectrum analyzer calibration, the spectrum analyzer error is <0.5dB, the line loss error stemming from the measurement error of the vector network analyzer used for line loss calibration is <0.1dB, and the uncertainty of the attenuator (higher power base stations require the use of high-power attenuators, fixtures, or couplers) is <0.2dB, the wiring error during batch operations is <0.2dB, and the total error is <1.0dB.

[0081] The power calibration method provided in the embodiment of the present application has a calibration error slightly higher than that of the power meter calibration method and much lower than that of the spectrum analyzer calibration method compared to the traditional instrument calibration method. Therefore, it can meet the batch testing needs of production. However, the error of environmental factors introduced by the traditional instrument calibration method is large, so the calibration error in the batch production process is often much larger than the calibration error caused by the power calibration method provided in the embodiment of the present application. Therefore, in the batch production process, the power calibration method provided in the embodiment of the present application has a smaller measurement error than the traditional instrument calibration method, eliminates the dependence on environmental factors such as radio frequency instruments, line losses, and fixtures, has low requirements for the power calibration environment, has good stability, and is very beneficial to the production control process.

[0082] Please refer to Figure 5 , Figure 5 A schematic flow chart of another power calibration method provided by an embodiment of the present invention.

[0083] like Figure 5 As shown, the power calibration method includes steps S201 to S204.

[0084] Step S201: Obtain the current drain current of the power amplifier and obtain a second relationship parameter, where the second relationship parameter is used to characterize the linear relationship between the current value of the drain current and the AD value.

[0085] The current drain current of the power amplifier can be the current AD value A detected by the power amplifier drain detection circuit. d The second relationship parameter may be a second intercept and a second intercept between the current value and the AD value. The AD value of the drain current is a value obtained by AD conversion of the current value. For example, the AD value of the drain current is a value obtained by AD (analog-to-digital) conversion of the current signal at the drain of the power amplifier, thereby converting the analog current value into a digital value.

[0086] 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 a first AD value corresponding to the first current value and a second AD value corresponding to the second current value; an AD difference between the first AD value and the second AD value is calculated, and a current difference between the first current value and the second current value is calculated; a second slope between the current value and the AD value is determined based on the AD difference and the current difference; a second intercept is obtained based on the second slope, the second AD value, and the second current value; and the second slope and the second intercept are used as second relationship parameters. It should be noted that based on the linear relationship between the current value and the AD value of the drain current, the first AD value corresponding to the first current value and the second AD value corresponding to the second current value can be accurately determined, thereby facilitating improved accuracy in subsequent power calibration.

[0087] For example, Figure 6 As shown, 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 gate 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 A0 detected by the current detection circuit at this time. If the power amplifier is turned on, the load is set to constant current mode and the drain current is set to a first current value. The first current value can be the target current minimum value I min , read the first AD value A1 detected by the current detection circuit at this time. Set the drain current to a preset second current value, which can be the target current maximum value Imax , read the second AD value A2 detected by the current detection circuit at this time. The AD difference between the first AD value and the second AD value is A2-A1, and the current difference between the first current value and the second current value is I max -I min The second slope between the current value and the AD value is w=(A2-A1) / (I max -I min ), the second intercept is d=A2-w*I max .

[0088] Step S202: determining a target AD value corresponding to the target current value according to the second relationship parameter, and using the target AD value as a target drain current, wherein the target drain current matches a target output power to be calibrated of the power amplifier.

[0089] Among them, the target current value I n The transmission signal frequency f of the transmission link n Correspondingly, a target current value corresponding to the current transmission signal frequency is acquired, and a target AD value corresponding to the target current value is determined according to the second relationship parameter to obtain a target drain current.

[0090] In one embodiment, a target current value corresponding to the transmission signal frequency of the radio frequency link is obtained; a product value between the target current value and the second slope is calculated; and a target AD value corresponding to the target current value is obtained based on the sum of the product value and the second intercept. Exemplarily, the target AD value corresponding to the target current value is determined by the following formula: AD G =w*I n +d, where AD G represents the target AD value, w represents the second slope, I n represents the target current value corresponding to the transmission signal frequency, and d represents the second intercept. Different transmission signal frequencies correspond to different target current values. The correspondence between the transmission signal frequency and the target current value can be obtained in advance through laboratory comparison.

[0091] In one embodiment, obtaining a target AD value corresponding to a target current value based on the sum of the product value and the second intercept includes: obtaining a standard AD value of the drain current when the power amplifier is off at a standard temperature, and obtaining a third AD value of the drain current when the power amplifier is off at a current temperature; calculating a target difference between the standard AD value and the third AD value; and calculating the sum of the product value, the second intercept, and the target difference to obtain the target AD value. It should be noted that the standard AD value can be obtained and stored in advance in a laboratory. By calculating the target difference between the corresponding standard AD value and the third AD value at the standard temperature, the sum of the product value and the second intercept to obtain the target AD value, the effects of temperature drift can be eliminated, thereby improving the accuracy of power calibration.

[0092] For example, a target AD value corresponding to a target current value is determined by the following formula: AD G = w * I n + d + (A d - A0). Wherein, AD G represents the target AD value, w represents the second slope, I n represents the target current value, d represents the second intercept, A d represents the third AD value, and A0 represents the standard AD value. The target difference between the standard AD value and the third AD value is A d - A0, which can represent the temperature drift effect caused by the power amplifier drain circuit.

[0093] In step S203, the adjustable gain of the radio frequency link is adjusted 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 drain current.

[0094] Wherein, the adjustable gain of the radio frequency link can be adjusted once or multiple times. Through multiple adjustments of the adjustable gain of the radio frequency link, the current difference between the changed drain current and the target drain current will be closer and closer to zero. It should be noted that the changed drain current matches the target drain current, including that the current difference between the changed drain current and the target drain current is less than or equal to a 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 reaches the target output power, and at this time the power can be accurately scaled to obtain the fixed gain of the radio frequency link.

[0095] In an embodiment, according to the current drain current and the target drain current, the target adjustable gain of the radio frequency link is determined; and the adjustable gain of the radio frequency link is adjusted according to the target adjustable gain. Wherein, the method of determining the target adjustable gain of the radio frequency link can be various, such as closed loop control method including step method, PID method, 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 under the target adjustable gain matches the target drain current.

[0096] The following takes the PID method as an example to illustrate the implementable manner of determining the target adjustable gain of the radio frequency link according to the current drain current and the target drain current:

[0097] In one embodiment, determining a target adjustable gain of a radio frequency link based on a current drain current and a target drain current includes: calculating an error between the current drain current and the target drain current; determining an offset parameter for the adjustable gain of the radio frequency link based on the error and a preset PID formula; and determining the target adjustable gain of the radio frequency link based on the offset parameter. It should be noted that the PID algorithm is a control algorithm that integrates proportional, integral, and differential control elements. Using a preset PID formula, closed-loop adjustment of the adjustable gain of the radio frequency link is achieved, enabling accurate control of the changed drain current to match the target drain current.

[0098] Among them, a preset proportional coefficient, a preset integral coefficient and a preset differential coefficient are obtained; a first offset parameter of the adjustable gain is determined according to the preset proportional coefficient and the error value; a second offset parameter of the adjustable gain is determined according to the preset integral coefficient and the error value; a third offset parameter of the adjustable gain is determined according to the preset differential coefficient and the error value; and the sum of the first offset parameter, the second offset parameter and the third offset parameter is calculated to obtain the offset parameter of the adjustable gain of the RF link.

[0099] For example, the preset PID formula is Among them, u(k) represents the offset parameter, K P Indicates the preset proportional coefficient, K I Indicates the preset integral coefficient, K D represents the preset differential coefficient, e(k) represents the error between the current drain current and the target drain current, Indicates the accumulated error value obtained by multiple adjustments, based on the accumulated error value and the preset integral coefficient K I The product of the second offset parameter is obtained, e(k)-e(k-1) represents the error difference between the error value obtained by the current adjustment and the error value obtained by the last adjustment. According to the error difference and the preset differential coefficient K I The product of gets the third offset parameter.

[0100] The method of adjusting the adjustable gain of the radio frequency link based on the offset parameter includes: obtaining the current adjustable gain of the radio frequency link corresponding to the current drain current; determining the target adjustable gain of the radio frequency link based on the offset parameter and the current adjustable gain; and setting the adjustable gain of the radio frequency 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, and setting the adjustable gain of the radio frequency link to the target adjustable gain so that the drain current of the power amplifier matches the target drain current as the adjustable gain is adjusted.

[0101] Step S204: Determine the fixed gain of the radio frequency link according to the target output power and the adjusted adjustable gain.

[0102] It should be noted that when the changed drain current matches the target drain current, the PA's output power reaches the target output power. At this point, the fixed gain of the RF link can be determined based on the target output power and the adjusted adjustable gain, accurately achieving power calibration. This approach has low requirements for the power calibration environment and offers excellent stability, greatly facilitating production control. Furthermore, by eliminating the need for RF instrumentation, it can reduce production costs.

[0103] For example, Figure 6 As shown, the adjustable gain of the RF link includes the transmission variable gain of the transmission link and the feedback variable gain of the feedback link. The adjustable gain of the RF link can be adjusted by adjusting the transmission variable gain of the transmission link and the feedback variable gain of the feedback link. The fixed gain of the RF link includes the fixed gain of the transmission link and the fixed gain of the feedback link. The formula for calculating the fixed gain of the transmission link is GAIN TX =P+GAIN filter -TSSI-ATT TXX The formula 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 transmission link, P represents the target output power, TSSI represents the transmission digital power of the transmission link, ATT TXX Represents the adjustable gain of the transmission chain, GAIN filter Represents the filter gain, GAIN FB represents the fixed gain of the feedback link, FBSSI represents the feedback digital power, ATT FB Represents the adjustable gain of the feedback link.

[0104] In one embodiment, the transmission signal frequency corresponds to the fixed gain of the radio frequency link. If the transmission signal frequency range [f0, f n-1 ], it is necessary to calculate the frequency from f0 to f n-1 Specifically, after calculating the fixed gain of the RF link corresponding to f0 through the embodiment of the present application, according to the target current value corresponding to the next frequency f1, return to step S202 to obtain the fixed gain of the RF link corresponding to f1 until the frequency f n After the traversal is completed, the calibration parameter data table is obtained, which records the frequencies f0 to f n-1 The fixed gains GAIN1 to GAIN n-1 .

[0105] The power calibration method provided in the above embodiment obtains the current drain current of the power amplifier and a second relationship parameter, determines a target AD value corresponding to the target current value based on the second relationship parameter, and uses the target AD value as the target drain current, wherein the target drain current matches the target output power of the power amplifier to be calibrated; adjusts the adjustable gain of the radio frequency link based on 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 drain current; and determines the fixed gain of the radio frequency link based on the target output power and the adjusted adjustable gain. This embodiment of the present invention indirectly detects the output power of the power amplifier through the drain current and the second relationship parameter, thereby calculating the fixed gain of the radio frequency link to achieve power calibration. This eliminates the need for an external radio frequency meter, eliminates the current power calibration method's reliance on environmental factors such as radio frequency meters, line loss, and fixtures, and eliminates the measurement errors introduced by these factors. The method has low requirements for the power calibration environment and good stability, which is very beneficial for production control processes and controlling production costs.

[0106] In one embodiment, the specific implementation of the power calibration method provided in the embodiment of the present application is described through the following steps:

[0107] like Figure 6 As shown, the RF link of the base station includes a transmission link and a feedback link, the purpose of which is to calibrate the fixed gain GAIN of the transmission link. TX and fixed gain GAIN of the feedback link FB .ATT TX is the adjustable gain of the transmit link, [ATT MIN ,ATT MAX ] is ATT TX Adjustable range, STEP MAX is the maximum adjustable step of the adjustable gain of the transmitter chain, [T MIN , T MAX ] is the operating temperature range of the power amplifier allowed 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 filter at frequency f n TSSI is the transmit digital power, and FBSSI is the feedback digital power. All power-related units below are in dBm or dB.

[0108] (1) Turn off the baseband, turn off the channel amplifier, and set the feedback link adjustable gain ATT FB .

[0109] (2) Read the AD value A detected by the power amplifier drain detection circuit d .

[0110] (3) Calculate the target current I corresponding to the frequency fn n AD value AD G =w*I n +d+(A d -A0). ((A d -A0) is to eliminate the influence of temperature drift of the current detection circuit), A0 means the power amplifier is turned off and ATT is not set FB The AD value detected by the current detection circuit when the current is 0 is 0, and w is the second slope between the current value and the AD value, such as w=(A2-A1) / (I max -I min ), d is the second intercept, such as d = A2-w*I max .

[0111] (4) The current approximation implemented below adopts the linear method. Set the single tone signal of the base station transmission link frequency fn, set the initial adjustable gain ATT of the transmission link TX1 =(ATT MIN +ATT MAX ) / 2. Turn on the baseband signal, turn on the channel 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.

[0112] (5) Calculate the slope k = (ATT TX2 -ATT TX1 ) / (AD2-AD1); b=ATT TX2 -k*AD2. If k=0 or AD2=AD1, the k and b parameters calculated this time are discarded and the k and b parameters calculated last time are used.

[0113] (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 Then it is judged as closed loop failure and exit. Read the power amplifier temperature PA T If PA T Not in range [T MIN , T MAX ], it is judged as over-temperature and exits.

[0114] (7) Set up ATT TXX, read the current AD value and record it as: AD X , and the target current AD G The difference △AD=AD X -AD G .

[0115] (8) If |△AD| <E AD , then the current approximation is judged to be successful, otherwise ATT TX1 =ATT TX2 ,ATT TX2 =ATT TXX , AD1=AD2, AD2=AD X , return to step (5). The number of loops returned is set to avoid infinite loops.

[0116] (9) Calculate the output fixed gain GAIN at frequency fn TX =P+GAIN filter -TSSI-ATT TXX , feedback fixed gain GAIN FB =FBSSI-(P+GAIN filter )-ATT FB .

[0117] (10) Frequency f n Can be multiple, if the frequency f n If the traversal is not completed, return to step (3); otherwise, turn off the power amplifier and complete the calibration.

[0118] See also Figure 7 , Figure 7 A schematic block diagram of the structure of a wireless communication device provided in an embodiment of the present invention.

[0119] like Figure 7 As shown, wireless communication device 300 includes a processor 301 and a memory 302, which are connected via a bus 303, such as an I2C (Inter-Integrated Circuit) bus. Wireless communication device 300 also includes a power amplifier 304. Wireless communication device 300 can be an active antenna unit (AAU) or a radio remote unit (RRU), all base stations that include a power amplifier.

[0120] Specifically, 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 (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0121] Specifically, the memory 302 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk.

[0122] Those skilled in the art will understand that Figure 7 The structure shown in the figure is merely a block diagram of a portion of the structure related to the embodiment of the present invention, and does not constitute a limitation on the wireless communication device 300 to which the embodiment of the present invention is applied. The specific wireless communication device 300 may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0123] The processor is configured to run a computer program stored in the memory, and implement any one of the power calibration methods provided by the embodiments of the present invention when executing the computer program.

[0124] In one embodiment, the processor is configured to run a computer program stored in the memory, and implement the following steps when executing the computer program:

[0125] Obtaining a current drain current of the power amplifier and obtaining a target drain current, wherein the target drain current matches a target output power to be calibrated of the power amplifier;

[0126] Adjusting an adjustable gain of a 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 drain current;

[0127] A fixed gain of the radio frequency link is determined according to the target output power and the adjusted adjustable gain.

[0128] In one embodiment, when adjusting the adjustable gain of the radio frequency link according to the current drain current and the target drain current, the processor is configured to implement:

[0129] determining a target adjustable gain of the radio frequency link according to the current drain current and the target drain current;

[0130] The adjustable gain of the radio frequency link is adjusted according to the target adjustable gain.

[0131] In one embodiment, when obtaining the current drain current of the power amplifier, the processor is configured to implement:

[0132] Obtaining a first adjustable gain, and setting the adjustable gain of the radio frequency link to the first adjustable gain, so as to obtain a first drain current of the power amplifier under the first adjustable gain;

[0133] A second adjustable gain is determined according to the first adjustable gain, and the adjustable gain of the radio frequency link is set to the second adjustable gain to obtain a second drain current of the power amplifier under the second adjustable gain.

[0134] In one embodiment, when determining the target adjustable gain of the radio frequency link according to the current drain current and the target drain current, the processor is configured to implement:

[0135] Obtaining a first relationship parameter according to the first adjustable gain, the first drain current, the second adjustable gain, and the second drain current, wherein the first relationship parameter is used to characterize a linear relationship between the adjustable gain and the drain current;

[0136] A target adjustable gain of the radio frequency link is determined according to the first relationship parameter and the target drain current.

[0137] In one embodiment, when the processor acquires the first relationship parameter according to the first adjustable gain, the first drain current, the second adjustable gain, and the second drain current, the processor is configured to implement:

[0138] 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;

[0139] determining a first slope between an adjustable gain and a drain current according to the first difference and the second difference;

[0140] obtaining a first intercept according to the first slope, the second drain current, and the second adjustable gain;

[0141] The first slope and the first intercept are used as the first relationship parameters.

[0142] In an embodiment, the processor, when implementing the step of determining the target adjustable gain of the radio frequency link according to the first relationship parameter and the target drain current, is configured to:

[0143] determine a third adjustable gain of the radio frequency link according to the first relationship parameter and the target drain current;

[0144] set the adjustable gain of the radio frequency link to the third adjustable gain, and detect a third drain current of the power amplifier at the third adjustable gain;

[0145] when a difference between the third drain current and the target drain current is less than or equal to a preset difference, determine the third adjustable gain as the target adjustable gain of the radio frequency link.

[0146] In an embodiment, the processor, after implementing the step of detecting the third drain current of the power amplifier at the third adjustable gain, is further configured to:

[0147] when the difference between the third drain current and the target drain current is greater than the preset difference, set a value of the first adjustable gain to a value of the second adjustable gain, set a value of the second adjustable gain to a value of the third adjustable gain, set a value of the first drain current to a value of the second drain current, and set a value of the second drain current to a value of the third drain current, so as to return to implement 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.

[0148] In an embodiment, the processor, when implementing the step of determining the third adjustable gain of the radio frequency link according to the first relationship parameter and the target drain current, is configured to:

[0149] calculate a fourth adjustable gain of the radio frequency link according to the first relationship parameter and the target drain current;

[0150] calculate a gain difference between the fourth adjustable gain and the second adjustable gain;

[0151] when the gain difference is less than or equal to a preset maximum adjustable step, determine the fourth adjustable gain as the third adjustable gain;

[0152] when the gain difference is greater than the maximum adjustable step, determine a sum of the second adjustable gain and the maximum adjustable step as the third adjustable gain.

[0153] In one embodiment, when determining the target adjustable gain of the radio frequency link according to the current drain current and the target drain current, the processor is configured to implement:

[0154] Calculating an error value between the current drain current and the target drain current;

[0155] Determining an offset parameter of an adjustable gain of a radio frequency link according to the error value and a preset PID formula;

[0156] A target adjustable gain of the radio frequency link is determined according to the offset parameter.

[0157] In one embodiment, when obtaining the target drain current, the processor is configured to implement:

[0158] Obtaining a second relationship parameter, where the second relationship parameter is used to characterize a linear relationship between a current value of the drain current and an AD value;

[0159] A 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.

[0160] In one embodiment, when obtaining the second relationship parameter, the processor is configured to implement:

[0161] respectively setting the drain current of the power amplifier to a first current value and a second current value to detect a first AD value corresponding to the first current value and a second AD value corresponding to the second current value;

[0162] Calculating an AD difference between the first AD value and the second AD value, and calculating a current difference between the first current value and the second current value;

[0163] Determining a second slope between the current value and the AD value according to the AD difference and the current difference;

[0164] obtaining a second intercept according to the second slope, the second AD value, and the second current value;

[0165] The second slope and the second intercept are used as the second relationship parameters.

[0166] 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 implement:

[0167] Obtaining a target current value corresponding to a transmission signal frequency of the transmission link;

[0168] calculating a product value between the target current value and the second slope;

[0169] The target AD value corresponding to the target current value is obtained according to a sum of the product value and the second intercept.

[0170] In an embodiment, the processor, when implementing the target AD value corresponding to the target current value is obtained according to a sum of the product value and the second intercept, is configured to implement:

[0171] obtaining a standard AD value of the drain current when the power amplifier is closed at a standard temperature, and obtaining a third AD value of the drain current when the power amplifier is closed at a current temperature;

[0172] calculating a target difference value between the standard AD value and the third AD value;

[0173] calculating a sum of the product value, the second intercept and the target difference value to obtain the target AD value.

[0174] In an embodiment, the processor further implements:

[0175] detecting output powers of the plurality of power amplifiers when the drain current reaches the target current value to obtain the output powers of the plurality of power amplifiers;

[0176] sorting the output powers of the plurality of power amplifiers, and selecting a plurality of candidate output powers from the plurality of output powers according to a sorting result;

[0177] averaging the plurality of candidate output powers to obtain a target output power to be calibrated for the power amplifier.

[0178] In an embodiment, the radio frequency link includes a transmission link; and the processor, when implementing the fixed gain of the radio frequency link according to the target output power and the adjusted adjustable gain, is configured to implement:

[0179] obtaining a transmission digital power of the transmission link corresponding to the target output power;

[0180] obtaining a filter gain corresponding to a transmission signal frequency of the transmission link;

[0181] calculating the fixed gain of the transmission link according to the target output power, the transmission digital power, the filter gain and the adjusted adjustable gain.

[0182] In an embodiment, the radio frequency link further includes a feedback link; and the processor is further configured to implement:

[0183] obtaining a feedback digital power of the feedback link corresponding to the target output power;

[0184] obtaining a preset adjustable gain of the feedback link;

[0185] The fixed gain of the feedback link is calculated according to the feedback digital power, the target output power, the filter gain and the adjustable gain of the feedback link.

[0186] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the wireless communication device 300 described above can refer to the corresponding process in the aforementioned power calibration method embodiment, and will not be repeated here.

[0187] An embodiment of the present invention also provides a storage medium for computer-readable storage, wherein 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 steps of any power calibration method provided in the embodiment of the present invention.

[0188] The storage medium may be an internal storage unit of the wireless communication device described in the preceding embodiments, such as a hard disk or memory of the wireless communication device. The storage medium may also be an external storage device of the wireless communication device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, or a flash memory card equipped on the wireless communication device.

[0189] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all 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 implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As is well known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable, and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media generally 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.

[0190] The serial numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the advantages or disadvantages of the embodiments. The above description is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be based on the scope of protection of the claims.

Claims

1. A power calibration method, characterized in that: include: Obtaining a current drain current of the power amplifier and obtaining a target drain current, wherein the target drain 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 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 drain current; A fixed gain of the radio frequency link is determined according to the target output power and the adjusted adjustable gain.

2. The power calibration method according to claim 1, characterized in that: The adjusting the adjustable gain of the radio frequency link according to the current drain current and the target drain current includes: determining 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. The power calibration method according to claim 2, characterized in that: The obtaining of the current drain current of the power amplifier includes: Obtaining a first adjustable gain, and setting the adjustable gain of the radio frequency link to the first adjustable gain, so as to obtain a first drain current of the power amplifier under the first adjustable gain; A second adjustable gain is determined according to the first adjustable gain, and the adjustable gain of the radio frequency link is set to the second adjustable gain to obtain a second drain current of the power amplifier under the second adjustable gain.

4. The power calibration method according to claim 3, characterized in that: The determining, according to the current drain current and the target drain current, a target adjustable gain of the radio frequency link includes: Obtaining a first relationship parameter according to the first adjustable gain, the first drain current, the second adjustable gain, and the second drain current, wherein the first relationship parameter is used to characterize a linear relationship between the adjustable gain and the drain current; A target adjustable gain of the radio frequency link is determined according to the first relationship parameter and the target drain current.

5. The power calibration method according to claim 4, characterized in that: The acquiring a first relationship parameter according to the first adjustable gain, the first drain current, the second adjustable gain, and the second drain current includes: Calculating a first difference between the first adjustable gain and the second adjustable gain, and calculating a second difference between the first drain current and the second drain current; determining a first slope between an adjustable gain and a drain current according to the first difference and the second difference; obtaining a first intercept according to the first slope, the second drain current, and the second adjustable gain; The first slope and the first intercept are used as the first relationship parameters.

6. The power calibration method according to claim 4, characterized in that: The determining, according to the first relationship parameter and the target drain current, a target adjustable gain of the radio frequency link includes: determining a third adjustable gain of the radio frequency link according to the first relationship parameter and the target drain current; Setting the adjustable gain of the radio frequency link to the third adjustable gain, and detecting a 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 a preset difference, the third adjustable gain is used as the target adjustable gain of the radio frequency link.

7. The power calibration method according to claim 6, characterized in that: 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 the preset difference, the value of the first adjustable gain is set to the value of the second adjustable gain, the value of the second adjustable gain is set to the value of the third adjustable gain, and the value of the first drain current is set to the value of the second drain current, and the value of the second drain current is set to the value of the third drain current, so as to return to 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.

8. The power calibration method according to claim 6, characterized in that: The determining, according to the first relationship parameter and the target drain current, a third adjustable gain of the radio frequency link includes: calculating a fourth adjustable gain of the radio frequency link according to the first relationship parameter and the target drain current; Calculating a gain difference between the fourth adjustable gain and the second adjustable gain; When the gain difference is less than or equal to a preset maximum adjustable step, determining 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. The power calibration method according to claim 2, characterized in that: The determining, according to the current drain current and the target drain current, a target adjustable gain of the radio frequency link includes: Calculating an error value between the current drain current and the target drain current; Determining an offset parameter of an adjustable gain of a radio frequency link according to the error value and a preset PID formula; A target adjustable gain of the radio frequency link is determined according to the offset parameter.

10. The power calibration method according to any one of claims 1 to 9, characterized in that: The obtaining of the target drain current includes: Obtaining a second relationship parameter, where the second relationship parameter is used to characterize a linear relationship between a current value of the drain current and an AD value; A 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. The power calibration method according to claim 10, characterized in that: The obtaining of the second relationship parameter includes: respectively setting the drain current of the power amplifier to a first current value and a second current value to detect a first AD value corresponding to the first current value and a second AD value corresponding to the second current value; Calculating an AD difference between the first AD value and the second AD value, and calculating a current difference between the first current value and the second current value; Determining a second slope between the current value and the AD value according to the AD difference and the current difference; obtaining a second intercept according to the second slope, the second AD value, and the second current value; The second slope and the second intercept are used as the second relationship parameters.

12. The power calibration method according to claim 11, characterized in that: The determining of the target AD value corresponding to the target current value according to the second relationship parameter includes: Obtaining a target current value corresponding to the transmission signal frequency of the radio frequency link; calculating a product value between the target current value and the second slope; A target AD value corresponding to the target current value is obtained according to the sum of the product value and the second intercept.

13. The power calibration method according to claim 12, characterized in that: Obtaining a target AD value corresponding to the target current value according to the sum of the product value and the second intercept includes: Obtaining a standard AD value of the drain current when the power amplifier is turned off at a standard temperature, and obtaining a third AD value of the drain current when the power amplifier is turned off at a current temperature; calculating a target difference between the standard AD value and the third AD value; The sum of the product value, the second intercept and the target difference value is calculated to obtain the target AD value.

14. The power calibration method according to any one of claims 1 to 9, characterized in that: The method further comprises: detecting output powers of the multiple power amplifiers when the drain current reaches a target current value, and obtaining the output powers of the multiple power amplifiers; sorting the output powers of the multiple power amplifiers, and selecting multiple candidate output powers from the multiple output powers according to the sorting result; An average value of the multiple candidate output powers is taken to obtain a target output power of the power amplifier to be calibrated.

15. The power calibration method according to any one of claims 1 to 9, characterized in that: The radio frequency link includes a transmitting link; and determining the fixed gain of the radio frequency link according to the target output power and the adjusted adjustable gain includes: Acquire the transmit digital power of the transmit link corresponding to the target output power; Obtaining a filter gain corresponding to a transmission signal frequency of the transmission link; The fixed gain of the transmission link is calculated according to the target output power, the transmission digital power, the filter gain and the adjusted adjustable gain.

16. The power calibration method according to claim 15, characterized in that: The radio frequency link further includes a feedback link; and the method further includes: Acquire the feedback digital power of the feedback link corresponding to the target output power; Obtaining a preset adjustable gain of the feedback link; The fixed gain of the feedback link is calculated according to the feedback digital power, the target output power, the filter gain and the adjustable gain of the feedback link.

17. A wireless communication device, characterized in that: The wireless communication device includes a power amplifier, a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein when the computer program is executed by the processor, the steps of the power calibration method according to any one of claims 1 to 16 are implemented.

18. A storage medium for computer-readable storage, characterized in that: 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 steps of the power calibration method according to any one of claims 1 to 16.

Citation Information

Patent Citations

  • Radio frequency identification transmission power control method and device

    CN109088645A

  • Gain calibration method and device, computer equipment and storage medium

    CN111212436A