A method for calibrating a power amplifier

By defining two working modes in the power amplifier and establishing the corresponding physical model, the problem of difficulty in ensuring output power and linearity in the CMOS process is solved, and high-precision full output range calibration and power consumption reduction are achieved.

CN112636701BActive Publication Date: 2024-10-15HENGTONG ROCKLEY TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011400169.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-03
Publication Date
2024-10-15
Estimated Expiration
2040-12-03

AI Technical Summary

Technical Problem

In the CMOS process, the output power and linearity of the power amplifier are difficult to guarantee, especially when the output power continues to increase. Semiconductor process deviations and temperature changes make calibration more difficult. Existing technology cannot effectively reduce power consumption and cover the full output range. .

Method used

By defining two working modes, a physical model 1 of the relationship between the output voltage and the number of turned-on amplifier units and a physical model 2 of the relationship between the output voltage and the supply voltage are established, and these models are calibrated. The physical model 1 is used to control the output voltage, and the physical model 2 is used to control the output voltage. Model 2 controls the supply voltage to achieve precise control of the full output range.

Benefits of technology

It achieves high-precision calibration of the power amplifier, covers the full output range, reduces the need for measurement points and storage units, and ensures the reduction of linearity and power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112636701B_ABST
    Figure CN112636701B_ABST
Patent Text Reader

Abstract

The present invention discloses a power amplifier calibration method, which includes: defining two working modes according to different output voltage ranges; in working mode one, keeping the power supply voltage unchanged, establishing physical model one of the relationship between the output voltage and the number of amplifier units turned on; in working mode two, keeping the number of amplifier units turned on unchanged, establishing physical model two of the relationship between the output voltage and the power supply voltage; calibrating physical model one and physical model two respectively. The power amplifier calibration method of the present invention utilizes the physical principle of the power amplifier, and establishes physical models respectively according to different output voltages. When the voltage is small, physical model one is used to achieve precise control of the output voltage by controlling the number of amplifier units turned on; when the output voltage is large, physical model two is used to achieve precise control of the output voltage by controlling the power supply voltage, so that the calibration method can cover the entire output range and ensure the calibration accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power amplifiers, and in particular to a power amplifier calibration method. Background Art

[0002] The power amplifier is a key component of the wireless transmission system. Its performance directly determines the indicators of the transmitted signal, and its power consumption accounts for the largest proportion in the transmission system. When the power amplifier is integrated into the CMOS process, it is crucial to achieve the required output power and linearity, or effectively reduce power consumption without affecting performance.

[0003] When the power amplifier is integrated into the CMOS process, the power consumption required under the same output power and linearity requirements will be relatively large, and when the output power continues to increase, the linearity cannot be guaranteed. Due to semiconductor process deviations and temperature changes, under the same setting, the output power and linear range will also change and need to be calibrated, but the power output range is very large, and the output power and control mechanism are usually not linearly related, which makes calibration very difficult. Therefore, a calibration method is urgently needed to solve the above problems. Summary of the invention

[0004] In view of the shortcomings of the prior art, the present invention aims to provide a power amplifier calibration method that covers the entire output range and has high calibration accuracy. The method adopts the following technical solutions:

[0005] A power amplifier calibration method, comprising:

[0006] Two working modes are defined according to different output voltage ranges;

[0007] In the working mode, the supply voltage is kept constant, and a physical model of the relationship between the output voltage and the number of amplifier units turned on is established;

[0008] In the second working mode, the number of amplifier units turned on is kept unchanged, and the second physical model of the relationship between the output voltage and the supply voltage is established;

[0009] Physical model 1 and physical model 2 are calibrated separately.

[0010] As a further improvement of the present invention, the physical model 1 is expressed as:

[0011]

[0012] Among them, V L is the output voltage, i code is the number of amplifier units turned on, the coefficient V max and α are:

[0013]

[0014] Among them, Z L is the load impedance, I on is the current when the amplifier unit is turned on, Z on is the output impedance when the amplifier unit is turned on, Z m is the impedance of the matching network.

[0015] As a further improvement of the present invention, by adjusting the coefficient V max The calibration of the physical model 1 can be realized by measuring the data of two working points (i code1 ,V L1 ) and (i code2 ,V L2 ) and substitute it into the following formula to calculate the coefficient V max and α:

[0016]

[0017] By solving the two-variable linear equation, we can get:

[0018]

[0019] As a further improvement of the present invention, in working mode two, the power amplifier is divided into six working intervals according to the working interval and formula of the MOS tube in the power amplifier, which are from low to high in order of output voltage: resistance zone, weak flip zone, linear conversion zone, pinch-off zone, saturation zone, and compressed zone.

[0020] As a further improvement of the present invention, in the resistance region, the second physical model is expressed as:

[0021] V L =a1V AM +a0

[0022] Among them, V L is the output voltage, V AM is the supply voltage, and the calibration is performed by measuring the operating point data (V L1 ,V AM1 ) and (V L1 ,V AM1 ) into the above formula to obtain coefficients a1 and a0:

[0023]

[0024] As a further improvement of the present invention, in the weak inversion region, the second physical model is expressed as:

[0025]

[0026] Among them, VL is the output voltage, V AM is the supply voltage. During calibration, the data of the measured working point is substituted into the above formula to obtain the coefficients b0, b1, and b2.

[0027] As a further improvement of the present invention, in the linear conversion region, the physical model 2 is expressed as:

[0028] V L =c1V AM +c0

[0029] Among them, V L is the output voltage, V AM is the supply voltage. During calibration, the data of the measured working point is substituted into the above formula to obtain the coefficients c0 and c1.

[0030] As a further improvement of the present invention, in the pinch-off region, the second physical model is expressed as:

[0031]

[0032] Among them, V L is the output voltage, V AM is the supply voltage. During calibration, the data of the measured working point is substituted into the above formula to obtain the coefficients d0, d1, and d2.

[0033] As a further improvement of the present invention, in the saturation region, the physical model 2 is expressed as:

[0034] V L =e1V AM +e0

[0035] Among them, V L is the output voltage, V AM is the supply voltage. During calibration, the data of the measured working point is substituted into the above formula to obtain the coefficients e0 and e1.

[0036] As a further improvement of the present invention, in the compressed area, the second physical model is expressed as:

[0037]

[0038] Among them, V L is the output voltage, V AM is the supply voltage. During calibration, the data of the measured working point is substituted into the above formula to obtain the coefficients f0, f1, and f2.

[0039] Beneficial effects of the present invention:

[0040] The power amplifier calibration method of the present invention utilizes the physical principles of the power amplifier and establishes physical models according to different output voltages. When the voltage is small, physical model one is used to control the number of amplifier units that are turned on to achieve precise control of the output voltage; when the output voltage is large, physical model two is used to control the power supply voltage to achieve precise control of the output voltage, so that the calibration method can cover the entire output range and ensure the calibration accuracy.

[0041] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following specifically cites a preferred embodiment and describes it in detail with the accompanying drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 is a flow chart of a power amplifier calibration method in a preferred embodiment of the present invention;

[0043] Figure 2 This is the architecture diagram when the output voltage is small and the power amplifier is a digital power amplifier;

[0044] Figure 3 is an equivalent circuit diagram of a power amplifier in a preferred embodiment of the present invention;

[0045] Figure 4 is a relationship diagram between the output voltage and the digital control respectively obtained by actual measurement of the preferred embodiment of the present invention and the calibrated physical model of the present invention;

[0046] Figure 5 is the result error between the actual measurement and the calibration algorithm of the present invention;

[0047] Figure 6 It is a schematic diagram of a power amplifier when the supply voltage is used to control the output voltage;

[0048] Figure 7 1 is a diagram showing the relationship between the output voltage and the supply voltage respectively obtained through 10 measurement results and the calibrated physical model 2 of the present invention. DETAILED DESCRIPTION

[0049] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.

[0050] The calibration method proposed in the present invention is based on the physical working principle of the power amplifier, establishes a model of the full output range of the power amplifier, and performs calibration based on this model, which can effectively reduce the required measurement points and greatly reduce the required storage units when used.

[0051] When the power amplifier is also used to implement amplitude modulation, the linearity of the control mechanism has a direct impact on the indicators of the output signal. The model of the present invention is continuous and highly accurate and can be used for linear compensation of the power amplifier at the same time. Since the output of the power amplifier is not linear, the input control needs to be multiplied by the inverse function of the output power change function. The calibrated coefficients are stored in the storage unit. When the transmitter determines the transmission power, the pre-distortion compensation table generated by the corresponding inverse function formula can be selected to ensure the linearity of the output signal.

[0052] Regardless of whether it is power calibration or linear calibration, the ultimate goal is to find an implementable algorithm to calculate the input control at a specific output voltage.

[0053] When a power amplifier is integrated into a CMOS transceiver, it is usually divided into two operating modes to cover the output voltage range.

[0054] When the output voltage is relatively small, it is a digital power amplifier, the input is a digital control line, and different output voltages are achieved by opening different numbers of output units.

[0055] When the output voltage increases, a pure digital power amplifier will generate spurious signals and the efficiency will also deteriorate. Controlling the power amplifier supply voltage will be a better choice. The relationship between the output voltage and the supply voltage is not linear, and the corresponding model will be more complicated. This is described in detail below in conjunction with specific embodiments.

[0056] like Figure 1 As shown, a power amplifier calibration method in a preferred embodiment of the present invention comprises the following steps:

[0057] S10. Two working modes are defined according to different output voltage ranges.

[0058] S20. In the working mode, the power supply voltage is kept unchanged, and a physical model of the relationship between the output voltage and the number of amplifier units turned on is established.

[0059] S30. In the second working mode, the number of amplifier units turned on is kept unchanged, and a second physical model of the relationship between the output voltage and the supply voltage is established.

[0060] S40, calibrating the physical model 1 and the physical model 2 respectively.

[0061] Specifically, in the working mode, the output voltage is small, the power amplifier is a digital power amplifier, and its architecture is as follows Figure 2 As shown, where Z m is the impedance of the matching network; Z L is the load impedance, optional, Z L is 50 ohms; i_code is a digital control line for controlling the output voltage. When the required output voltage becomes larger, more amplifier units are turned on through i_code control, and a larger output current flows to the load to generate a larger output voltage.

[0062] like Figure 3 As shown in the figure, it is the equivalent circuit of the power amplifier. on and Z off are the output impedance of the amplifier unit in the on and off states, Z on , Z off , Z m and Z L At a specific frequency, the equivalent output impedance Z is a constant. eff The formula is as follows:

[0063]

[0064] Among them, i code is the number of amplifier units turned on, Z a and Z b They are as follows:

[0065]

[0066] I o =i code I on +(Ni code )I off =(I on -I off )i code +N·I off #(3)

[0067] V o =I o Z eff #(4)

[0068] The voltage on the load is the output voltage V L , output voltage V L for:

[0069]

[0070] When we assume that I off =0 or Z off =∞, Formula 5 can be simplified to:

[0071]

[0072] Furthermore, the output voltage V L for:

[0073]

[0074] Among them, A, B, and C are:

[0075]

[0076] when i code >0, formula (7) can be expressed as:

[0077]

[0078] There are square numbers in formula (7), and the calculation of the calibration algorithm and the compensation inverse function will be relatively complicated. Preferably, the present invention uses a simpler algorithm, replacing formula (7) with the following formula:

[0079]

[0080] Formula (10) is the physical model 1 established by the present invention, where V L is the output voltage, i code is the number of amplifier units turned on, the coefficient V max and α are:

[0081]

[0082] When the calibration is completed, V max And the value of α can be obtained, i code The following inverse function formula can be used to generate the pre-distortion table to ensure the correctness and sufficient linearity of the final output voltage.

[0083]

[0084] The above two coefficients V max and α need to be calibrated, and two working point states need to be measured on the production line (i code1 ,V L1 ) and (i code2 ,V L2 ), then V can be obtained by the following algorithm max and α.

[0085]

[0086] By solving the two-variable linear equation, we can get:

[0087]

[0088] In one embodiment, two sets of digital control i code and output voltage V L The values ​​(258, 270.4967473) and (504, 441.5247145) can be used to calculate V max =1310.6145, α = 992.0651, at this time, if Figure 4 , which is a relationship diagram between the output voltage and digital control obtained through actual measurement and the calibrated physical model 1 of the present invention, respectively. It can be seen that the two are basically overlapped. Figure 5 The result error between the actual measurement and the calibration algorithm of the present invention can be seen to be very small, which verifies the accuracy of the physical model 1 and its calibration method.

[0089] In working mode 2, the output voltage is relatively large, and the power amplifier supply voltage is used to control the output voltage. Figure 6 The figure shows the schematic diagram of the power amplifier. M0 and M1 are two NMOS tubes connected in series. AM is the power amplifier supply voltage, which is the voltage at point V_AM in the figure, V PM is the gate voltage of M0 at point V_PM in the figure, I D1 and I D0 are the drain currents of M0 and M1, V DS1 and V DS0 are the drain voltages of M0 and M1, namely:

[0090] I D =I D1 =I D0 , V AM =V DS1 +V DS0

[0091] Among them, the gate and drain of M1 are connected together through an equivalent resistor and an inductor. It can be assumed that the gate and drain voltages of M1 are the same, that is:

[0092] V G1 =V D1

[0093] Simplify the formula by defining the following constants:

[0094]

[0095] The following is the working range of M1 and its formula:

[0096] Before M1 pre-pinch occurs, V DS1 ≤V DS1-off , its drain current can be expressed by the following formula, V DS is the drain voltage, VGS is the gate voltage, V TH is the threshold voltage:

[0097]

[0098] V DS1-off =V GS1 -V TH1

[0099] When V DS1 >V DS1-off , after pinch-off occurs, the drain current is equal to:

[0100]

[0101] Where λ1 is the channel length modulation coefficient.

[0102] Combined Japanese style get:

[0103]

[0104] The following is the working range of M0 and its formula:

[0105] Since the gate voltage range of M0 is wider, its operating range will be larger:

[0106] V GS0 =V PM ,

[0107] V DS0-off =V GS0 -V TH0 =V PM -V TH0

[0108]

[0109] Combining the working ranges and formulas of M0 and M1, the entire power amplifier has a total of 6 working ranges, as shown in Table 1, from low to high in order of output voltage: Resistor, Triode, Transition, Pinch-off, Saturation, and Compression.

[0110]

[0111] After obtaining the physical model, we need a simple enough calibration algorithm so that a few measurements can be used to calculate the power control table and linear pre-distortion compensation table. First-order or second-order polynomials are used to represent the relationship between current and voltage. To simplify and maintain sufficient accuracy, we directly use V L Alternative I D , assuming that current and voltage can be expressed using the same set of formulas.

[0112] In working range 1, i.e. resistance range, the principle of the power amplifier is similar to that of a resistor and can be modeled using linear equations. Physical model 2 is expressed as:

[0113] V L =a1V AM +a0#(1)

[0114] During calibration, data from two points must be measured (V L1 ,V AM1 ) and (V L1 ,V AM1 ) into the above formula to obtain coefficients a1 and a0:

[0115]

[0116] Then the relationship between the power amplifier supply voltage and output voltage can be expressed by the following equation:

[0117]

[0118] In working range 2, i.e. weak flipping region, this working range is represented by a second-order function, and physical model 2 is represented as:

[0119]

[0120] From formula (4), the following equation can be derived to calculate V AM :

[0121]

[0122] The slope of formula (4) is:

[0123] The transition between working intervals 1, 2, and 3 should be continuous and smooth, so the slope of the junction between working interval 2 and the two intervals on the left and right should be the same. The slope of interval 3 is c1, and the slope of working interval 1 is a1, resulting in the following formula:

[0124]

[0125] Solve for V AMa and V AMc :

[0126]

[0127] Substituting equation (8) into equations (1) and (18), we obtain:

[0128]

[0129] The junction of working interval 3 and the two working intervals on the left and right should be on this curve, that is, (V AMa ,V La ) and (V AMc ,V Lc ), substitute equations (8) and (9) into the following equation:

[0130]

[0131] At this point, we need another measurement point (V AM3 ,V L3 ) to obtain the coefficients:

[0132]

[0133] From formula (11), we can know that:

[0134]

[0135] in:

[0136]

[0137] Substituting formula (13) into formula (11), we get:

[0138] in:

[0139]

[0140] Calculate b0:

[0141]

[0142] Combining equations (16) and (12), we can obtain:

[0143]

[0144] In working range 3, i.e., the linear flipping area, this working range is represented by a linear function, and the physical model 2 is represented as:

[0145] V L =c1V AM +c0#(18)

[0146] Through two measurement points (V AM4 ,VL4 ) and (V AM5 ,V L5 ) can be calibrated:

[0147]

[0148] get:

[0149]

[0150] In working range 4, i.e. the pinch-off region, this working range is represented by a quadratic function, and the physical model 2 is represented as:

[0151]

[0152] From equation (21), it can be concluded that the inverse function of predistortion in this interval is:

[0153]

[0154] Similar to working range 2, another measurement point (V AM6 ,V L6 ), to get the function of this interval:

[0155]

[0156]

[0157]

[0158]

[0159]

[0160] In working range 5, i.e. saturation range, this working range is represented by a linear function, and physical model 2 is represented as:

[0161] V L =e1V AM +e0#(28)

[0162] Through two measurement points (V AM7 ,V L7 ) and (V AM8 ,V L8 ) can be calibrated:

[0163]

[0164] get:

[0165]

[0166] In the working range 6, i.e. the compressed area, this working range is represented by a quadratic function, and the physical model 2 is represented as:

[0167]

[0168] From equation (31), the inverse predistortion function is:

[0169]

[0170] The slope is:

[0171] The contact slopes of working intervals 5 and 6 are the same: 2f2V AMe +f1=e1#(34)

[0172] V AMe :

[0173] Substituting formula (35) into formula (31), we get:

[0174] The junction of working intervals 5 and 6 (V AMe ,V Le ) On this curve, substituting equations (35) and (36) into equation (31), we obtain:

[0175]

[0176] The quadratic function has three unknowns in total, and requires two additional measurement points: (V AM9 ,V L9 ) and (V AM10 ,V L10 ), and we get:

[0177]

[0178] From equations (37) and (38), we can get:

[0179]

[0180] in:

[0181]

[0182] Substituting formula (39) into formula (38) yields:

[0183] in:

[0184]

[0185] We can get:

[0186]

[0187] Combining equation (39) and equation (43), we can get:

[0188]

[0189] In one embodiment, if Figure 7 As shown, it is a relationship diagram between the output voltage and the supply voltage respectively obtained through 10 measurement results and the calibrated physical model 2 of the present invention. It can be seen that the two are basically consistent.

[0190] The power amplifier calibration method of the present invention utilizes the physical principles of the power amplifier and establishes physical models according to different output voltages. When the voltage is small, physical model one is used to control the number of amplifier units that are turned on to achieve precise control of the output voltage; when the output voltage is large, physical model two is used to control the power supply voltage to achieve precise control of the output voltage, so that the calibration method can cover the entire output range and ensure the calibration accuracy.

[0191] The present invention only needs to measure twelve points and calculate coefficients to generate power control tables and linear pre-distortion compensation tables within all output power ranges under two working modes of the power amplifier, thereby realizing mass production.

[0192] The above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or changes made by those skilled in the art based on the present invention are within the protection scope of the present invention. The protection scope of the present invention shall be subject to the claims.

Claims

1. A power amplifier calibration method, characterized in that: include: Two working modes are defined according to different output voltage ranges; In the working mode, the supply voltage is kept constant, and a physical model of the relationship between the output voltage and the number of amplifier units turned on is established; In the second working mode, the number of amplifier units turned on is kept unchanged, and the second physical model of the relationship between the output voltage and the supply voltage is established; Calibrate physical model 1 and physical model 2 respectively; Wherein, the physical model 1 is expressed as: Among them, V L is the output voltage, i code is the number of amplifier units turned on, the coefficient V max and α are: Among them, Z L is the load impedance, I on is the current when the amplifier unit is turned on, Z on is the output impedance when the amplifier unit is turned on, Z m is the impedance of the matching network; By the coefficient V max The calibration of the physical model 1 can be realized by measuring the data of two working points (i code1 ,V L1 ) and (i code2 ,V L2 ) and substitute it into the following formula to calculate the coefficient V max and α: By solving the two-variable linear equation, we can get: In working mode 2, the power amplifier is divided into six working ranges according to the working range and formula of the MOS tube in the power amplifier, which are: resistance region, weak flip region, linear conversion region, pinch-off region, saturation region, and compression region in order from low to high output voltage; In the resistance region, the physical model 2 is expressed as: V L =a1V AM +a0 Among them, V L is the output voltage, V AM is the supply voltage, and the calibration is performed by measuring the operating point data (V L1 ,V AM1 ) and (V L2 ,V AM2 ) into the above formula to obtain coefficients a1 and a0: In the weak inversion region, the physical model 2 is expressed as: Among them, V L is the output voltage, V AM is the supply voltage. During calibration, the data of the measured working point is substituted into the above formula to obtain the coefficients b0, b1, and b2; In the linear conversion region, the physical model 2 is expressed as: In L =c1V AM +c0 Among them, V L is the output voltage, V AM is the supply voltage. During calibration, the data of the measured working point is substituted into the above formula to obtain the coefficients c0 and c1; In the pinch-off region, the physical model 2 is expressed as: Among them, V L is the output voltage, V AM is the supply voltage. During calibration, the data of the measured working point is substituted into the above formula to obtain the coefficients d0, d1, and d2; In the saturation region, the physical model 2 is expressed as: In L =e1V AM +e0 Among them, V L is the output voltage, V AM is the supply voltage. During calibration, the data of the measured working point is substituted into the above formula to obtain the coefficients e0 and e1; In the compressed area, the physical model 2 is expressed as: Among them, V L is the output voltage, V AM is the supply voltage. During calibration, the data of the measured working point is substituted into the above formula to obtain the coefficients f0, f1, and f2.