Power amplifier modeling and digital pre-distortion method
Through the digital predistortion method based on the hybrid cross-memory polynomial power amplifier model and lookup table structure, combined with the multi-dimensional fusion Cordic algorithm, the problems of poor power amplifier model accuracy and long convergence time of digital predistortion processing are solved, and efficient broadband wireless communications.
Patent Information
- Application Number
- CN202410593708.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-08-23
AI Technical Summary
The existing power amplifier model has poor accuracy and cannot balance complexity and accuracy, resulting in a long convergence time for digital predistortion processing and failing to meet the low-latency communication requirements of wireless communication systems.
This paper proposes a digital predistortion method based on a hybrid cross-memory polynomial power amplifier model and a lookup table structure. Predistortion processing is performed through a parallel architecture digital predistorter, and the multi-dimensional fusion Cordic algorithm is used to optimize the lookup table index calculation and reduce Use resources and improve work efficiency.
It effectively balances model complexity and accuracy, improves the predistortion processing bandwidth, meets the needs of broadband wireless communication systems, reduces the convergence time of the digital predistorter, and achieves low-latency communication.
Smart Images

Figure CN118539879A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a power amplifier modeling and digital predistortion method. Background Art
[0002] In recent years, wireless communication systems have developed towards high speed and low latency. In order to improve the communication rate, wireless communication systems widely use non-constant envelope high-order modulation methods such as orthogonal frequency division multiplexing modulation for signal modulation. As the core component of the wireless communication system transmitter, the power amplifier has extremely strong nonlinear and memory effects, and the broadband signal after high-order modulation is more susceptible to its nonlinear and memory effects, thus affecting the normal communication of the wireless communication system.
[0003] In the broadband wireless communication scenario, modern wireless communication systems widely use high-order modulated broadband signals for communication. Under the stimulation of broadband signals, the nonlinear and memory characteristics of the power amplifier of the communication system will be enhanced. Therefore, when suppressing the distortion characteristics of the power amplifier and improving the linearity of the power amplifier based on digital pre-distortion technology, a power amplifier model that can accurately fit the strong nonlinear power amplifier is required. At the same time, based on the actual needs of modern wireless communication systems, digital pre-distortion technology usually needs to be implemented in hardware. However, the resources of the hardware platform are limited, which puts strict requirements on the complexity of the power amplifier model. An overly complex power amplifier model will not only consume more resources, reduce the processing speed, and affect the real-time performance of the communication system, but also cause the coefficients to converge slowly or even not converge because the model coefficients that need to be solved are too large. Therefore, it is very important to find a balance between model complexity and accuracy when establishing the power amplifier model. Under the stimulation of broadband signals, higher requirements are put forward for the processing bandwidth of the digital pre-distorter. Existing methods such as downsampling digital pre-distortion for this problem have problems such as high algorithm complexity, difficulty in practical application, and poor pre-distortion effect. In addition, the existing digital pre-distortion methods have a long convergence time, which will prolong the startup time and real-time performance of the wireless communication system and cannot meet the performance requirements of low-latency communication in the wireless communication system. This puts higher requirements on the rapid convergence of digital pre-distortion. Summary of the invention
[0004] In order to solve the problem that the existing power amplifier model has poor accuracy and cannot balance complexity and accuracy, the present invention provides a power amplifier modeling, including: taking a baseband signal as an input, constructing a power amplifier model based on a hybrid cross-memory polynomial, the power amplifier model includes a first sub-model and a second sub-model of the hybrid cross-memory polynomial, and its specific expression is:
[0005]
[0006] Wherein, y′(n) represents the output signal of the power amplifier model, n represents the serial number of the input signal of the power amplifier model, K represents the nonlinear order of the power amplifier model, k represents the current nonlinear order of the power amplifier model, Q represents the memory depth of the power amplifier model, q represents the current memory depth of the power amplifier model, x′(nq) represents the signal of the input signal of the power amplifier model after q times of delay, and a′ kq represents the coefficient of the first sub-model in the power amplifier model, b′ kq and c′ kq represent different coefficients of the second sub-model respectively, x′(n) represents the current input signal of the power amplifier model, x′ g (n) represents the conjugate of the current input signal of the power amplifier model, x′ g (nq) represents the conjugate of the current input signal of the power amplifier model after q times of delay.
[0007] In order to solve the technical problem of long convergence time of existing pre-distortion processing methods and to improve the output linearity of a power amplifier, the second aspect of the present invention proposes a digital pre-distortion method. The method establishes a power amplifier model and its inverse model based on the power amplifier modeling method proposed in the first aspect of the present invention, inputs a baseband signal into a digital pre-distorter to obtain a pre-distortion signal, and uses the pre-distortion signal as the input of the power amplifier.
[0008] Furthermore, a least squares algorithm is used to solve the coefficients of the power amplifier inverse model.
[0009] Furthermore, the digital predistorter is a digital predistorter with a lookup table structure, and the baseband signal is predistorted by the digital predistorter with a parallel architecture to obtain a predistorted signal, and the specific process includes:
[0010] S401: inputting the parallel baseband signals into a digital predistorter of a parallel architecture, and obtaining two groups of serial baseband signals through splitting and recombining;
[0011] S402: Calculate the modulus of the serial baseband signal;
[0012] S403: Using the serial baseband signal modulus as a lookup table index, looking up a table item, and calculating to obtain a predistortion signal.
[0013] Furthermore, in S402, a multi-dimensional fusion Cordic algorithm is used to calculate the modulus value of the serial baseband signal.
[0014] The beneficial effects of the present invention are as follows: first, the present invention constructs a power amplifier model based on a hybrid cross-memory polynomial, which, while retaining the diagonal term elements that have a greater impact on the accuracy, adds cross-term elements for correcting the strong nonlinearity and memory effect of the power amplifier, and can effectively balance the model complexity and accuracy; secondly, based on the power amplifier model of the hybrid cross-memory polynomial, the present invention constructs a digital predistorter with a lookup table structure, and predistorts the baseband signal through a digital predistorter with a parallel architecture to improve the predistortion processing bandwidth, thereby meeting the requirements of broadband signals in broadband wireless communication systems; the present invention also comprehensively considers three aspects: rotation control, span iteration, and correction factor calculation optimization, and proposes a multi-dimensional fusion Cordic algorithm for predistortion lookup table index calculation, which reduces resource usage, improves work efficiency, and reduces the convergence time of the digital predistorter, thereby meeting the low-latency communication requirements of wireless communication systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a time domain sampling waveform diagram of a signal of the power amplifier model in embodiment 1 of the present invention under simulation verification;
[0016] Figure 2 is a comparison diagram of NMSE changes between the existing power amplifier model and the power amplifier model of the present invention;
[0017] Figure 3 It is a schematic diagram of the structure and principle of the power amplifier and its digital predistortion in the present invention;
[0018] Figure 4 is a flowchart of the steps of Embodiment 2 of the present invention;
[0019] Figure 5 is a block diagram of a parallel digital predistorter with a lookup table structure in Embodiment 2 of the present invention;
[0020] Figure 6 is a flowchart of the multi-dimensional fusion Cordic algorithm in Example 2 of the present invention;
[0021] Figure 7 This is a schematic diagram of the implementation principle of the multi-dimensional fusion Cordic algorithm in Example 2 of the present invention;
[0022] Figure 8 This is a simulation result diagram of the input signal modulus value calculation of the multi-dimensional fusion Cordic algorithm in Example 2 of the present invention;
[0023] Fig. 9 This is a performance comparison table of the traditional Cordic algorithm and the multi-dimensional fusion Cordic algorithm in the present invention. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] Existing power amplifier models include: memoryless polynomial model (such as Saleh model), Volterra series model, memory polynomial model (Memory Polynomial, MP), dynamic deviation reduction model (Dynamic Derivative Reduced, DDR), memory dynamic deviation reduction model (Memory Dynamic Derivative Reduced, MDDR), etc. The MP model is simplified from the Volterra series model. The MP model lacks cross-term elements and is only applicable to power amplifiers with weak nonlinearity. The DDR model is also simplified from the Volterra series model. The accuracy of the DDR model has been improved, and it has a better fitting effect than the MP model for power amplifiers with stronger nonlinearity, but the complexity has also increased. The MDDR model is an improved model obtained by directly combining the MP model and the DDR model. The accuracy is improved, but the complexity is greatly increased. Therefore, the present invention proposes a hybrid cross memory polynomial (Hybrid Cross Memory Polynomial, HCMP) model for power amplifier modeling. The HCMP model completely retains the MP model, and introduces dynamic nonlinear terms with reference to the DDR model, thereby enhancing the model's ability to cope with strong nonlinear power amplifiers and minimizing the impact on the model complexity. The HCMP model has a good balance between model accuracy and complexity.
[0026] Example 1
[0027] A power amplifier modeling method includes: taking a baseband signal as input, constructing a power amplifier model based on a hybrid cross-memory polynomial, wherein the power amplifier model includes a first sub-model and a second sub-model of the hybrid cross-memory polynomial, and the specific expression thereof is:
[0028]
[0029] Wherein, y′(n) represents the output signal of the power amplifier model, n represents the serial number of the input signal of the power amplifier model, K represents the nonlinear order of the power amplifier model, k represents the current nonlinear order of the power amplifier model, Q represents the memory depth of the power amplifier model, q represents the current memory depth of the power amplifier model, x′(nq) represents the signal of the input signal of the power amplifier model after q times of delay, and a′kq represents the coefficient of the first sub-model in the power amplifier model, b′ kq and c′ kq represent different coefficients of the second sub-model respectively, x′(n) represents the current input signal of the power amplifier model, x′ g (n) represents the conjugate of the current input signal of the power amplifier model, x′ g (nq) represents the conjugate of the current input signal of the power amplifier model after q times of delay.
[0030] Specifically, the process of constructing the power amplifier model includes:
[0031] S101: Taking the baseband signal as input, construct the first sub-model of the hybrid cross-memory polynomial, whose specific expression is:
[0032]
[0033] In the formula, y 1 '(n) represents the output signal of the first sub-model. The first sub-model retains the diagonal nonlinear elements that have the greatest impact on accuracy through a memory polynomial model to ensure model accuracy.
[0034] S102: Taking the baseband signal as input, construct a second sub-model of the hybrid cross-memory polynomial, the specific expression of which is:
[0035]
[0036] In the formula, y 2 '(n) represents the output signal of the second sub-model. The second sub-model improves the modeling accuracy of the power amplifier with strong nonlinearity while reducing the increase in complexity by removing the static envelope term elements of the dynamic order reduction model and adding high-order dynamic nonlinear cross elements with reference to the dynamic order reduction model.
[0037] S103: Add the first sub-model and the second sub-model of the hybrid cross-memory polynomial to obtain the power amplifier model, that is, y′(n)=y 1 ′(n)+y 2 ′(n).
[0038] The power amplifier model constructed in Example 1 of the present invention fully utilizes the advantages of the memory polynomial model and the dynamic order reduction model. It is not a simple stacking of models, but a combination of the strengths of the two. It has diagonal nonlinear elements and high-order dynamic nonlinear cross elements. While improving the accuracy of the power amplifier model, it can minimize the increase in model complexity.
[0039] Simulate and verify the power amplifier model:
[0040] The power amplifier is modeled by MATLAB using the HCMP model and existing models (MP, DDR and MDDR) to compare the model accuracy. In order to accurately compare the model accuracy, the RF WEBLAB online test platform is used to test the power amplifier models constructed by each.
[0041] The input and output signals of the provided GaN power amplifier are used as the power amplifier modeling data. First, a 16QAM signal with a bandwidth of 20MHz is generated through MATLAB, with a signal average-peak ratio of 7.8dB and a signal sampling rate of 122.88MHz. Then, the generated signal is uploaded to the RF WEBLAB platform. Finally, the power amplifier output data returned by the RF WEBLAB platform is saved. 2000 input and output signals of the power amplifier are intercepted, and MATLAB is used to normalize and align the input and output signals of the power amplifier. The time domain sampling waveform of the normalized input and output signals of the power amplifier is shown in the figure below. Figure 1 Based on the normalized data, the HCMP model and the existing model are used to model the power amplifier, and the least square (LS) algorithm is used to calculate the model coefficients.
[0042] When conducting simulation experiments, the control variable method was used, the memory depth Q was set to 3, the model nonlinear order K was set to 3 to 11, and the normalized mean square error (NMSE) of each model under different linear orders was calculated. The NMSE comparison results of each model under different nonlinear orders are shown in the figure below. Figure 2 As shown. Under the same memory depth and nonlinear order conditions, the MP model is too concise, so the model accuracy is the worst. The DDR model has a much higher accuracy than the MP model. The MDDR model is a combination of the MP model and the DDR model, and its accuracy is further improved. The HCMP model proposed in the present invention has the best model accuracy performance and the best power amplifier fitting effect when the nonlinear order is greater than 4.
[0043] In order to compare the accuracy of the four models, when the nonlinear order K is fixed at 9 and the memory depth Q is fixed at 3, the NMSE values and the number of model coefficients of different models are compared under the same conditions. The comparison results are shown in Table 1. The smaller the NMSE value, the better the model fits the power amplifier, and the fewer the number of model coefficients, the lower the complexity.
[0044] Power Amplifier Model NMSE Number of coefficients MP -34.49 20 DDR -36.17 32 MDDR -36.71 52 HCMP (present invention) -37.02 44
[0045] Table 1 Comparison of accuracy of each model
[0046] It can be seen from Table 1 that under the conditions of the same nonlinear order and memory depth, the modeling accuracy of the HCMP model is improved by 0.31dB compared with the MDDR model, and the number of model coefficients is reduced by 15.4%. This shows that the HCMP model has a better balance between model accuracy and complexity than the MDDR model which directly combines the DDR model and the MP model.
[0047] To improve the linearity of power amplifiers in wireless communication systems, digital predistortion is a common method for linearizing power amplifiers. Figure 3 As shown in the figure, the basic principle of digital predistortion is: first, establish a power amplifier model; second, invert the power amplifier model to obtain a digital predistorter; third, place the digital predistorter at the input of the power amplifier, and the digital predistorter generates a predistorted signal with the opposite distortion characteristics of the power amplifier; finally, after the predistorted signal is input into the power amplifier model, the output signal of the power amplifier model is linearly amplified, that is, the linearization of the power amplifier output signal is achieved. In the field of communications, power amplifiers are referred to as power amplifiers.
[0048] Example 2
[0049] A digital predistortion method is provided, which establishes a power amplifier model and its inverse model based on a power amplifier modeling method described in Example 1, inputs a baseband signal into a digital predistorter to obtain a predistortion signal, and uses the predistortion signal as an input of a power amplifier.
[0050] Specifically, refer to Figure 4 As shown, a specific process of a digital predistortion method includes:
[0051] S201: solving an inverse model of the power amplifier model to obtain the inverse model of the power amplifier, and solving coefficients of the inverse model of the power amplifier;
[0052] S202: constructing a digital predistorter with a lookup table structure based on the power amplifier inverse model, quantizing coefficients of the power amplifier inverse model and storing them in a lookup table of the digital predistorter as table entries of the lookup table;
[0053] S203: Perform predistortion processing on the baseband signal by using a digital predistorter with a parallel architecture to obtain a predistortion signal, and input the predistortion signal into a power amplifier to offset the distortion characteristics of the power amplifier and realize linearization of the power amplifier output.
[0054] In S201, the power amplifier model is a power amplifier model constructed according to the power amplifier modeling method described in Example 1, and an inverse model is solved to obtain a power amplifier inverse model.
[0055] Furthermore, the expression of the inverse model of the power amplifier is specifically:
[0056]
[0057]
[0058] Wherein, y(n) represents the output signal of the power amplifier inverse model, n represents the serial number of the input signal of the power amplifier inverse model, K represents the nonlinear order of the power amplifier inverse model, k represents the current nonlinear order of the power amplifier inverse model, Q represents the memory depth of the power amplifier inverse model, q represents the current memory depth of the power amplifier inverse model, x(nq) represents the signal of the power amplifier inverse model input signal after q times of delay, a kq , b kq and c kq They represent the coefficients of different orders and memory depths in the inverse model of the power amplifier, x(n) represents the current input signal of the inverse model of the power amplifier, and x * (n) represents the conjugate of the current input signal of the power amplifier inverse model, x * (nq) represents the conjugate of the current input signal of the power amplifier inverse model after q times of delay.
[0059] Furthermore, the least squares algorithm is used to solve the power amplifier inverse model coefficients, and the specific process includes:
[0060] S301: rewrite the power amplifier inverse model based on the hybrid cross-memory polynomial into a matrix form, where the matrix form is the input matrix X of the power amplifier inverse model, and its expression is:
[0061]
[0062] In the formula, X a represents the input matrix corresponding to the first sub-model, X b and X c Respectively represent the different input matrices corresponding to the second sub-model
[0063] S302: Construct the coefficient matrix U to be obtained, which is expressed as follows:
[0064] U=[ABC]
[0065] In the formula, matrices A, B, and C represent X a , X b , X c The corresponding coefficient matrices are specifically expressed as follows:
[0066] A=[a 00 ,a 01 ,…,a 0q ,a 10 ,a11 ,…,a 1q ,a k0 ,a k1 ,…,a kq ]
[0067] B=[b 11 ,b 12 ,…,b 1q ,b 21 ,b 22 ,…,b 2q ,b k1 ,b k2 ,…,b kq ]
[0068] C=[c 11 ,c 12 ,…,c 1q ,c 21 ,c 22 ,…,c 2q ,c k1 ,c k2 ,…,c kq ]
[0069] Among them, each element in the matrices A, B, and C represents a different coefficient.
[0070] S303: constructing the output matrix Y of the inverse model of the power amplifier, which is expressed as:
[0071] Y=[y(n),y(n+1),y(n+2),…,y(n+N-1)]
[0072] Wherein, N represents the total number of output signals used to calculate the inverse model coefficients of the power amplifier, and y(n) and y(n+1) correspond to the 1st, 2nd, 3rd, ..., up to the Nth output signal;
[0073] The output matrix Y is rewritten as:
[0074] Y=[ABC][X a X b X c ] T
[0075] Where T represents transpose.
[0076] S304: Calculate the coefficients of the output matrix Y by using the least squares algorithm, and the calculation expression is:
[0077]
[0078] Wherein, H represents conjugate transpose, and the elements in matrices A, B, and C are coefficients of the power amplifier model.
[0079] Further, see Figure 5 As shown, the baseband signal is predistorted by a digital predistorter with a parallel architecture to obtain a predistorted signal. The specific process includes:
[0080] S401: inputting the parallel baseband signals into a digital predistorter of a parallel architecture, and obtaining two groups of serial baseband signals through splitting and recombining;
[0081] S402: Calculate the modulus of the serial baseband signal;
[0082] S403: Using the serial baseband signal modulus as a lookup table index, looking up a table item, and calculating to obtain a predistortion signal.
[0083] The full name of the Cordic algorithm is Coordinate Rotation Digital Computer, and its Chinese translation is: Coordinate Rotation Digital Calculation Method. The Cordic algorithm is an efficient iterative calculation method used to solve problems such as rotation, vectors, and trigonometric functions. The Cordic algorithm gradually approaches the target angle through a series of rotations at predetermined angles, thereby realizing the rotation of the vector or calculating the value of a specific mathematical function. During each iteration, the algorithm selects the rotation direction according to the position of the current vector and rotates according to the preset rotation angle. This rotation angle decreases as the number of iterations increases, which can make the rotation more and more precise. The Cordic algorithm can eventually approach the target result through continuous rotation iterations. Example 2 of the present invention considers three aspects: rotation control, span iteration, and correction factor calculation optimization, and proposes a multi-dimensional fusion Cordic algorithm.
[0084] Figure 6 In the multi-dimensional fusion Cordic algorithm, the overall process is divided into three stages: In the first stage, it is determined whether the input vector is a special vector (that is, whether the real part and the imaginary part of the serial baseband signal are equal). If it is a special vector, it is rotated once by an angle of θ = tan -1 (2 0 ) and terminate the subsequent iteration process (this operation is called special iteration); if it is not a special vector, enter the second stage. In the second stage, when the current iteration level n < (N-1) / 2, perform level-by-level iteration, and when the current iteration level n ≥ (N-1) / 2, perform leap iteration. In the third stage, the pseudo-rotation vector that has completed the iteration is restored to the output modulus value based on the correction factor.
[0085] Further, see Figure 6 , S402 specifically includes:
[0086] S501: Determine whether the real part and the imaginary part of the serial baseband signal are equal. If they are equal, perform a rotation according to the imaginary part to an angle of θ=tan -1 (2 0 ) and terminate the subsequent iterative process. If they are not equal, enter S502.
[0087] Instead of stopping after M iterations according to the preset rotation angle table of the Cordic algorithm, it avoids errors caused by redundant rotations while improving accuracy and convergence speed and reducing resource usage.
[0088] S502: When the current iteration level m<(M-1) / 2, M is the total iteration level, and butterfly iteration is performed level by level. The mth iteration process is as follows:
[0089] x m+1 =x m -d m y m tan(2 -m )
[0090] y m+1 =y m +d m x m tan(2 -m )
[0091] In the formula, m is the current iteration level, x m is the real part of the m-th iterative serial baseband signal, y m is the imaginary part of the m-th level iterative serial baseband signal, d m is the rotation direction of the mth iteration, x m+1 is the real part of the m+1th level iterative serial baseband signal, y m+1 is the imaginary part of the m+1th iterative serial baseband signal.
[0092] S503: When the current iteration level m≥(M-1) / 2, M is the total iteration level, the iteration process from the mth level to the m+1th level is skipped, and the connection between the mth level and the m+2th level iteration is directly established. The m+2th iteration process is as follows:
[0093] x m+2 =x m+1 -d m+1 y m+1 2 -(m+1)
[0094] =(x m -d m y m 2 -m )-d m+1 (y m +d m x m 2-m )2 -(m+1)
[0095] =x m -d m y m 2 -m -d m+1 y m 2 -(m+1) -d m+1 d m x m 2 -(2m+1)
[0096] =x m (1-d m+1 d m 2 -(2m+1) )-y m (d m 2 -m -d m+1 2 -(m+1) )
[0097] y m+2 =y m+1 +d m+1 x m+1 2 -(m+1)
[0098] =(y m +d m x m 2 -m )+d m+1 (x m -d m y m 2 -m )2 -(m+1)
[0099] =y m +d m x m 2 -m +d m+1 x m 2 -(m+1) -d m+1 d m y m 2 -(2m+1)
[0100] =x m (d m 2 -m +d m+1 2 -(m+1) )+y m (1-d m+1 d m 2 -(2m+1) )
[0101] The bit width and total iteration number of the Cordic algorithm are both M, and its accuracy is ρ = 2 1-M , when m≥(M-1) / 2, where 2 -(2m+1) is approximately 0, so the m+2th iteration process can be updated as:
[0102] x m+2 =x m -y m (d m 2 -m -d m+1 2 -(m+1) )
[0103] y m+2 =x m (d m 2 -m +d m+1 2 -(m+1) )+y m
[0104] In the formula, m is the iteration series, x m is the real part of the m-th iterative serial baseband signal, y m is the imaginary part of the m-th level iterative serial baseband signal, x m+1 is the real part of the m+1th level iterative serial baseband signal, y m+1 is the imaginary part of the m+1th level iterative serial baseband signal, x m+2 is the real part of the m+2th level iterative serial baseband signal, y m+2 is the imaginary part of the m+2th level iterative serial baseband signal, d m is the rotation direction of the mth level iteration, d m+1 The rotation direction of the m+1th level iteration. In this way, multiple iterations can be achieved in one clock cycle, greatly reducing the total number of iterations, reducing resource usage, and improving convergence speed.
[0105] When the current iteration number m ≥ (M-1) / 2, because the rotation angle of each iteration is very small, and tan(2 -m ) and 2 -m The error between the two is lower than the error that can be represented by M-bit data, and the effect on the calculation accuracy is negligible. -m Replace tan(2 -m ), the skipping iteration is used to directly link the previous and next three levels of iterations, skipping meaningless iterations to reduce redundant iterations, reduce resource usage, and improve convergence speed.
[0106] The multi-dimensional fusion Cordic algorithm optimizes the calculation of correction factors and replaces the decimal multiplication operation of correction factors with binary shift and addition and subtraction operations to improve the convergence speed.
[0107] S504: After the M-level iterations are completed, the correction factor is calculated to restore the true modulus value of the pseudo-rotation of the Cordic algorithm. The true modulus value is the modulus value of the serial baseband signal, and its specific expression is:
[0108]
[0109]
[0110] Among them, x and y are the real and imaginary parts of the serial baseband signal respectively, x M is the real part of the signal after M-level iterations, K M Represents the correction factor after M-level iterations.
[0111] First, to ensure the quantization accuracy, the correction factor is enlarged by 2 M times, that is, the correction factor is shifted left by M bits, where M is the bit width of the real part and the imaginary part of the serial baseband signal; then, based on the regular signed number encoding, the amplified correction factor is converted into a combination of binary addition and subtraction to reduce the amount of adders used. Taking the iteration level M as 1 and the serial baseband signal bit width as 10 as an example, the correction factor size is 0.707107 at this time, and the correction factor is shifted left by 10 bits. Based on the regular signed number encoding, a combination of 10-0-010100 is obtained, where 1 represents addition and - represents subtraction; finally, the real part x of the serial baseband signal after M levels of iteration is converted into a combination of binary addition and subtraction to reduce the amount of adders used. M With correction factor K M The multiplication operation is converted into binary shift and addition and subtraction operations to solve the problems of hardware circuit complexity, high resource usage and reduced convergence speed caused by multiplication.
[0112] Further, in S403, the pre-distortion signal calculation formula is expressed as:
[0113] (x+jy)(x c +jy c )=(xx c -yy c )+j(xy c +yx c )
[0114] Where x represents the real part of the serial baseband signal, y represents the imaginary part of the serial baseband signal, and x c represents the real part of the lookup table entry, y c represents the imaginary part of the lookup table entry, then the real part of the predistorted signal is xx c -yy c , the imaginary part of the predistorted signal is xy c +yx c , j represents an imaginary number.
[0115] The three-branch parallel complex multiplication is applied to the predistortion signal calculation, and the real part of the predistortion signal is re-expressed as xx c -yy c =(xy)y c +(x c -y c )x, the imaginary part of the predistorted signal is re-expressed as xy c +yx c =(xy)y c +(x c +y c )y. In the real and imaginary part calculation of the predistorted signal, because (xy)y c It can be reused, so we only need to calculate (x c -y c )x、(x c +y c )y and (xy)y c The three branches can complete the calculation of the predistortion signal. Through the above method, each predistortion signal operation only requires 3 multiplication operations and 5 addition operations, which can reduce resource occupation and improve the convergence speed. After the predistortion signal calculation is completed, it is input into the power amplifier to improve the linearity of the power amplifier output.
[0116] Simulation verification of the multi-dimensional fusion Cordic algorithm:
[0117] In Vivado2018.3, Verilog language is used to implement the Cordic algorithm based on multi-dimensional fusion, which is used for the lookup table pre-distorter index calculation. The implementation schematic is shown in the figure. Figure 7 As shown, Figure 7 In the improved Cordic algorithm, the vector mode is used to obtain the modulus of the input signal. When the number of iterations n < (N-1) / 2, the step-by-step iteration is performed, and when the number of iterations n ≥ (N-1) / 2, the leap iteration is performed.
[0118] The simulation results of the multi-dimensional fusion Cordic algorithm in Vivado2018.3 are as follows Figure 8 shown. Figure 8 In the above code, name indicates the name of the simulation signal, clk is a clock signal with a frequency of 50 MHz, rst_n is a low-level reset signal, start_flag is the start calculation flag, x and y are the real and imaginary parts of the input vector respectively, root is the output modulus value, ok_flag is the output modulus value valid flag, and value indicates the simulation signal value.
[0119] Using multiple sets of data, the calculation accuracy of the improved Cordic algorithm (i.e. the multi-dimensional fusion Cordic algorithm proposed in this invention) and the traditional Cordic algorithm are compared. The comparison results are as follows: Fig. 9 As shown in the figure, the comparison results show that the multi-dimensional fusion Cordic algorithm proposed in this paper has advantages in accuracy compared with the traditional Cordic algorithm.
[0120] The resource usage of the improved Cordic algorithm and the traditional Cordic algorithm after circuit synthesis is compared. The hardware platform used is the ZC706 development board. The resource usage comparison between the two is shown in Table 1.
[0121] Algorithm Name Number of registers Number of LUTs Number of multipliers Traditional Cordic Algorithm 789 853 1 Improved Cordic algorithm 716 744 0
[0122] Table 2 Comparison of resource usage of improved Cordic algorithm and traditional Cordic algorithm after circuit synthesis
[0123] As shown in Table 2, although the improved Cordic algorithm adds additional control logic, the number of registers consumed is still reduced by 9.3% and the number of LUTs consumed is still reduced by 12.8% compared with the traditional Coridc algorithm. This is because the improved Cordic algorithm uses the method of skipping iterations, skipping some unnecessary iterations, thereby greatly reducing the consumption of register resources and lookup table resources. In addition, because the improved Cordic algorithm uses addition and shift instead of multiplication in the process of multiplying the correction factor to restore the original module length, the number of multipliers consumed by the improved Cordic algorithm is 0.
Claims
1. A power amplifier modeling method, characterized in that: Taking the baseband signal as input, a power amplifier model based on a hybrid cross-memory polynomial is constructed, wherein the power amplifier model includes a first sub-model and a second sub-model of the hybrid cross-memory polynomial, and its specific expression is: Wherein, y′(n) represents the output signal of the power amplifier model, n represents the serial number of the input signal of the power amplifier model, K represents the nonlinear order of the power amplifier model, k represents the current nonlinear order of the power amplifier model, Q represents the memory depth of the power amplifier model, q represents the current memory depth of the power amplifier model, x′(nq) represents the signal of the input signal of the power amplifier model after q times of delay, and a′ kq represents the coefficient of the first sub-model in the power amplifier model, b′ kq and c′ kq represent different coefficients of the second sub-model respectively, x′(n) represents the current input signal of the power amplifier model, x′ g (n) represents the conjugate of the current input signal of the power amplifier model, x′ g (nq) represents the conjugate of the current input signal of the power amplifier model after q times of delay.
2. A digital predistortion method, characterized in that: Based on the power amplifier modeling method described in claim 1, a power amplifier model and its inverse model are established, a baseband signal is input into a digital predistorter to obtain a predistortion signal, and the predistortion signal is used as the input of the power amplifier.
3. The digital predistortion method according to claim 2, characterized in that: The expression of the inverse model of the power amplifier is specifically: Where y(n) represents the output signal of the power amplifier inverse model, n represents the serial number of the input signal of the power amplifier inverse model, K represents the nonlinear order of the power amplifier inverse model, k represents the current nonlinear order of the power amplifier inverse model, Q represents the memory depth of the power amplifier inverse model, q represents the current memory depth of the power amplifier inverse model, x(nq) represents the signal of the power amplifier inverse model input signal after q times of delay, and a kq 、b kq and c kq They represent the coefficients of different orders and memory depths in the inverse model of the power amplifier, x(n) represents the current input signal of the inverse model of the power amplifier, and x * (n) represents the conjugate of the current input signal of the power amplifier inverse model, x * (nq) represents the conjugate of the current input signal of the power amplifier inverse model after q times of delay.
4. The digital predistortion method according to claim 2, characterized in that: The least squares algorithm is used to solve the power amplifier inverse model coefficients, and the specific process includes: S301: rewrite the power amplifier inverse model based on hybrid cross-memory polynomials into a matrix form, wherein the input matrix X of the power amplifier inverse model is expressed as: Where, X a represents the input matrix corresponding to the first sub-model, X b and X c They respectively represent different input matrices corresponding to the second sub-model; S302: Construct the coefficient matrix U to be obtained, which is expressed as follows: U=[ABC] In the formula, matrices A, B, and C represent X a , X b , X c The corresponding coefficient matrix; S303: constructing the output matrix Y of the power amplifier inverse model, which is expressed as: Y=[A B C][X a X b X c ] T In the formula, T represents transpose; S304: Calculate the coefficients of the output matrix Y by using the least squares algorithm, and the calculation expression is: Wherein, H represents conjugate transpose, and the elements in matrices A, B, and C are coefficients of the power amplifier model.
5. The digital predistortion method according to claim 2, characterized in that: The digital predistorter is a digital predistorter with a lookup table structure. The digital predistorter with a parallel architecture performs predistortion processing on the baseband signal to obtain a predistortion signal. The specific process includes: S401: inputting the parallel baseband signals into a digital predistorter of a parallel architecture, and obtaining two groups of serial baseband signals through splitting and recombining; S402: Calculate the modulus of the serial baseband signal; S403: Using the serial baseband signal modulus as a lookup table index, looking up a table item, and calculating to obtain a predistortion signal.
6. The digital predistortion method according to claim 5, characterized in that: S401 is as follows: Input the parallel baseband signal I+jQ into the digital predistorter, wherein the I component is formed by concatenating the real parts I0 and I1 of the adjacent serial baseband signals in sequence, and the Q component is formed by concatenating the imaginary parts Q0 and Q1 of the adjacent serial baseband signals in sequence; The digital predistorter splits the parallel baseband signal I+jQ and recombines it into two groups of serial baseband signals I0 / Q0 and I1 / Q1.
7. The digital predistortion method according to claim 5, characterized in that: In S402, the modulus of the serial baseband signal is calculated using a multi-dimensional fusion Cordic algorithm, and the specific process includes: S501: Determine whether the real part and the imaginary part of the serial baseband signal are equal. If they are equal, perform a rotation according to the imaginary part to an angle of θ=tan -1 (2 0 ) and terminate the subsequent iteration process. If they are not equal, proceed to S202; S502: When the current iteration level m<(M-1) / 2, M is the total iteration level, and butterfly iteration is performed level by level. The mth iteration process is: x m+1 =x m -d m and m tan(2 -m ) and m+1 =and m +d m x m tan(2 -m ) In the formula, m is the current iteration level, x m is the real part of the m-th iterative serial baseband signal, y m is the imaginary part of the m-th level iterative serial baseband signal, d m is the rotation direction of the mth iteration, x m+1 is the real part of the m+1th level iterative serial baseband signal, y m+1 is the imaginary part of the m+1th level iterative serial baseband signal; S503: When the current iteration level m≥(M-1) / 2, M is the total iteration level, the iteration process from the mth level to the m+1th level is skipped, and the connection between the mth level and the m+2th level iteration is directly established to perform a skip iteration. The m+2th iteration process is: x m+2 =x m -y m (d m 2 -m -d m+1 2 -(m+1) ) y m+2 =x m (d m 2 -m +d m+1 2 -(m+1) )+y m In the formula, x m+2 is the real part of the m+2th level iterative serial baseband signal, y m+2 is the imaginary part of the m+2th level iterative serial baseband signal, d m is the rotation direction of the mth level iteration, d m+1 Rotate direction for the m+1th level iteration. S504: After the M-level iterations are completed, the correction factor is calculated to restore the true modulus value of the pseudo-rotation of the Cordic algorithm. The true modulus value is the modulus value of the serial baseband signal, and its specific expression is: Among them, x and y are the real and imaginary parts of the serial baseband signal respectively, x M is the real part of the signal after M-level iterations, K M Represents the correction factor after M-level iterations.
8. The digital predistortion method according to claim 5, characterized in that: In S403, the pre-distortion signal calculation formula is expressed as: (x+you)(x c +you c )=(xx c -yy c )+j(xy c +yx c ) Where x represents the real part of the serial baseband signal, y represents the imaginary part of the serial baseband signal, and x c represents the real part of the lookup table entry, y c Represents the imaginary part of the lookup table entry, xx c -yy c represents the real part of the predistorted signal, xy c +yx c represents the imaginary part of the predistortion signal, and j represents an imaginary number.
