Cascade structure input stage amplifier circuit linearity optimization method
By establishing a memory polynomial predistortion model and dynamically adjusting adjustable parameters, the nonlinear distortion problem of the traditional common-gate structure input stage amplifier under high performance requirements is solved, the amplifier's linearity is optimized, and the signal quality and system performance are improved. .
Patent Information
- Application Number
- CN202411042885.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-29
AI Technical Summary
Traditional common-gate structure input stage amplifiers exhibit nonlinear distortion under high performance requirements, resulting in spectrum expansion and reduced signal-to-noise ratio, making it impossible to dynamically optimize performance to adapt to changing communication environments.
By establishing a memory polynomial predistortion model, the adjustable parameters are dynamically adjusted to compensate for the nonlinear characteristics of the amplifier, the LMS algorithm is used to update the model coefficients, and the modulation signal error is measured through EVM, and the adjustable parameters are adjusted in real time to improve linearity.
Significantly reduces the total harmonic distortion and adjacent channel power ratio in the common-gate structure input stage amplifier, improving signal quality and system communication performance.
Smart Images

Figure CN118868818A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of radio frequency signal processing, and in particular to a method for optimizing the linearity of a common-gate structure input-stage amplifier circuit. Background Art
[0002] In the field of radio frequency communication, the amplifier is a key component in the signal chain, and its performance directly affects the overall performance of the communication system. The traditional common-gate input stage amplifier circuit is widely used in the radio frequency front end due to its simple structure and easy integration. However, as wireless communication technology develops towards high speed and large bandwidth, higher requirements are placed on the linearity of the amplifier. Linearity is an important indicator to measure the degree of distortion when the amplifier processes the signal, which is directly related to the quality of the signal and the bit error rate of the system. Although the common-gate structure amplifier performs well in radio frequency applications, its inherent nonlinear characteristics limit its application under higher performance requirements. Especially in high-power amplification or broadband signal processing, the nonlinear distortion of the amplifier will cause spectrum expansion, increase the interference of adjacent channels, and reduce the signal-to-noise ratio and overall performance of the system. In addition, the amplifier design in the prior art usually adopts static parameter adjustment, and it is impossible to dynamically optimize the performance according to the real-time signal characteristics. This static design method is difficult to achieve the optimal signal processing effect when facing a changing communication environment and signal type. Therefore, how to effectively improve the linearity of the amplifier and reduce nonlinear distortion has become a technical problem that needs to be solved in the field of radio frequency communication. Summary of the invention
[0003] The present invention aims at the defects of the prior art and proposes a method for optimizing the linearity of a common-gate input-stage amplifier circuit. By dynamically adjusting the adjustable parameters of the common-gate input-stage amplifier circuit, effective compensation for the nonlinear characteristics of the amplifier is achieved.
[0004] A method for optimizing the linearity of a common-gate input-stage amplifier circuit comprises the following steps:
[0005] S1. Establishing a predistortion model according to the adjustable parameters of the common-gate input stage amplifier circuit, wherein the predistortion model determines the predistortion model coefficients through a mapping relationship between the adjustable parameters;
[0006] S2. Describe the nonlinear characteristics of the amplifier according to the pre-distortion model, train the model, and find the optimal coefficients;
[0007] S3. Input a new input signal, and adjust the adjustable parameters of the common-gate structure input stage amplifier circuit according to the pre-distortion signal output by the model to compensate for the nonlinearity of the amplifier.
[0008] Furthermore, the pre-distortion model is specifically a memory polynomial pre-distortion model, which is used to describe the nonlinear characteristics of the amplifier. The prediction process of the memory polynomial pre-distortion model is expressed as follows:
[0009]
[0010] Wherein, P(X,k) represents the output signal predicted by the model at time index k, M represents the memory depth, m represents the memory depth index, N represents the order of the polynomial, n represents the power index of the polynomial, and a m,n represents the predistortion model coefficient, the X[km] n represents the input signal sample at time index km.
[0011] Furthermore, the step S2 specifically includes the following sub-steps:
[0012] S201. Collect input signals and output signals as model inputs, and adjust the coefficients by minimizing the mean square error: MSE = ∑ k (Y[k]-P(X,k)) 2 , the MSE represents the average of the squares of the differences between the model prediction value and the actual observation value, the Y[k] represents the output signal sample obtained by the amplifier, and the P(X, k) represents the output signal predicted by the model at time index k;
[0013] S202. Update the coefficients using the LMS algorithm, and calculate the predistortion signal based on the updated coefficients.
[0014] Furthermore, in step S202, the specific process of the LMS algorithm to update the coefficients is expressed as follows:
[0015] a m,n (t+1)=a m,n (t)+μ·2·(Y[k]-P(X,k))·X[km] n
[0016] Among them, the a m,n (t+1) represents the updated value at time t+1, and the a m,n (t) represents the predistortion model coefficient at time t, μ represents the learning rate, and X[km] n represents the input signal sample at time index km.
[0017] Furthermore, in step S202, the specific process of calculating the predistortion signal is expressed as follows:
[0018]
[0019] Among them, the X pre-distorted [k] represents the predistorted input signal at time index k, X[k] represents the input signal sample obtained by the amplifier, M represents the memory depth, m represents the memory depth index, N represents the order of the polynomial, and n represents the power index of the polynomial.
[0020] Furthermore, the method further includes step S4, measuring the modulation signal error by using EVM, and the specific process includes:
[0021] S401. Set a threshold value, and measure the modulation signal error by EVM according to the output predistortion signal;
[0022] S402. When the EVM output value is greater than or equal to the preset threshold, increase the learning step size and adjust the adjustable parameters;
[0023] S403. Repeat the above steps until the output value is less than the preset threshold.
[0024] Furthermore, in step S401, measuring the modulation signal error by EVM specifically includes the following sub-steps:
[0025] S4011. Generate an ideal signal according to known adjustable parameters, wherein the ideal signal includes an ideal in-phase component I ideal (t) and the ideal quadrature component Q ideal (t);
[0026] S4012. Extract the actual in-phase component I in the actual amplifier output signal actual (t) and the actual quadrature component Q actual (t);
[0027] S4013. Calculate the error between the ideal signal and the actual signal;
[0028] S4014. Calculate the EVM value through EVM according to the error calculation result to evaluate the signal quality.
[0029] Furthermore, in step S4013, the error between the ideal signal and the actual signal is calculated as follows:
[0030] E I (t) = I actual (t)-I ideal (t);
[0031] E Q (t) = Q actual (t)-Q ideal (t);
[0032] Among them, the E I(t) represents the error between the ideal in-phase component and the actual in-phase component, and the E Q (t) represents the error between the ideal quadrature component and the actual quadrature component.
[0033] Furthermore, in step S4014, the EVM value is calculated by EVM as follows:
[0034]
[0035] Among them, the EVM % Indicates the EVM value, which is used to indicate the magnitude of the error of the modulated signal relative to the ideal signal. 0 represents the starting time point of the integration, and T represents the length of the time interval of the integration.
[0036] Furthermore, the adjustable parameter attributes include one or more of a bias voltage, a bias current, and a resistance value for increasing gain.
[0037] The beneficial effects of the invention are:
[0038] The present invention can accurately predict and compensate for the nonlinear distortion of the amplifier by memorizing the polynomial pre-distortion model, significantly reduce the total harmonic distortion and adjacent channel power ratio in the common-gate input stage amplifier, thereby improving the signal quality and the communication performance of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A method flow chart of a method for optimizing linearity of a common-gate input stage amplifier circuit provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0040] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings, but the protection scope of the present invention is not limited to the following.
[0041] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is further described in detail in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention, that is, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings herein can be arranged and designed in various different configurations.
[0042] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative work are within the scope of protection of the present invention. It should be noted that relational terms such as the terms "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.
[0043] Moreover, the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or apparatus that includes a list of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or apparatus. In the absence of more restrictions, an element defined by the phrase "comprises a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus that includes the element.
[0044] The features and performance of the present invention are further described in detail below in conjunction with the embodiments.
[0045] Among them, Figure 1 , a method for optimizing linearity of a common-gate input-stage amplifier circuit, comprising the following steps:
[0046] S1. Establishing a predistortion model according to the adjustable parameters of the common-gate input stage amplifier circuit, wherein the predistortion model determines the predistortion model coefficients through a mapping relationship between the adjustable parameters;
[0047] S2. Describe the nonlinear characteristics of the amplifier according to the pre-distortion model, train the model, and find the optimal coefficients;
[0048] S3. Input a new input signal, and adjust the adjustable parameters of the common-gate structure input stage amplifier circuit according to the pre-distortion signal output by the model to compensate for the nonlinearity of the amplifier.
[0049] Further, as a preferred implementation of the above embodiment, a common-gate structure input stage amplifier circuit is proposed, which can apply the above linearity optimization method, including a first-stage common-gate transistor, a second-stage common-gate transistor, a first resistor, a second resistor, a large resistor (gain resistor), a pre-distortion variable gain module and a pre-distortion tunable filter module, wherein the input end of the pre-distortion variable gain module receives an input signal, the output end of the pre-distortion variable gain module is connected to the input end of the pre-distortion tunable filter module, the output end of the pre-distortion tunable filter module is connected to the gate of the first-stage common-gate transistor, the source of the first-stage common-gate transistor is grounded, the drain of the first-stage common-gate transistor is connected to the first resistor, the source of the second-stage common-gate transistor is grounded, the drain of the second-stage common-gate transistor outputs a signal, the gate of the second-stage common-gate transistor is connected to Vdd, and the large resistor is connected to the drain of the second-stage common-gate transistor, which is used to set the static operating point of the second-stage common-gate transistor and improve the gain of the amplifier.
[0050] Furthermore, the implementation principle flow of the above embodiment is as follows:
[0051] The input signal enters the pre-distortion variable gain module and adjusts the gain to predict and compensate for the nonlinear characteristics of the amplifier; the gain module outputs the signal to the pre-distortion tunable filter module to further refine the amplitude and phase of the signal; the adjusted signal passes through the gate of the first-stage common-gate transistor for preliminary amplification and impedance matching through the first resistor; the amplified signal is amplified through the second-stage common-gate transistor, where the large resistor sets the static operating point to improve the overall gain; the signal is output through the drain of the second-stage common-gate transistor, and after evaluating its performance indicators such as EVM, the memory polynomial model is used to predict the distortion, calculate the error, and dynamically update the pre-distortion coefficient to form a closed-loop feedback system to achieve continuous optimization of signal quality and improvement of amplifier linearity.
[0052] Furthermore, the pre-distortion model is specifically a memory polynomial pre-distortion model, which is used to describe the nonlinear characteristics of the amplifier. The prediction process of the memory polynomial pre-distortion model is expressed as follows:
[0053]
[0054] Wherein, P(X,k) represents the output signal predicted by the model at time index k, M represents the memory depth, m represents the memory depth index, N represents the order of the polynomial, n represents the power index of the polynomial, and a m,n represents the predistortion model coefficient, the X[km] n represents the input signal sample at time index km.
[0055] Furthermore, the step S2 specifically includes the following sub-steps:
[0056] S201. Collect input signals and output signals as model inputs, and adjust the coefficients by minimizing the mean square error: MSE = ∑ k (Y[k]-P(X,k)) 2 , the MSE represents the average of the squares of the differences between the model prediction value and the actual observation value, the Y[k] represents the output signal sample obtained by the amplifier, and the P(X, k) represents the output signal predicted by the model at time index k;
[0057] S202. Update the coefficients using the LMS algorithm, and calculate the predistortion signal based on the updated coefficients.
[0058] Furthermore, in step S202, the specific process of the LMS algorithm to update the coefficients is expressed as follows:
[0059] a m,n (t+1)=a m,n (t)+μ·2·(Y[k]-P(X,k))·X[km] n
[0060] Among them, the a m,n (t+1) represents the updated value at time t+1, and the a m,n (t) represents the predistortion model coefficient at time t, μ represents the learning rate, and X[km] n represents the input signal sample at time index km.
[0061] Further, as a preferred specific implementation scheme of this embodiment, a model coefficient updating method with adaptive learning rate adjustment is proposed, which is applied to step S2 in the above embodiment, and specifically includes:
[0062] Initialize the learning rate μ 0 and the predistortion model coefficient a m,n , and define the coefficients that control the learning rate adjustment;
[0063] Calculate the error E[k] between the signals based on the input signal samples and the output signal samples;
[0064] The learning rate is dynamically adjusted according to the error E[k], and the process is as follows:
[0065]
[0066] Wherein, μ(t) represents the dynamically adjusted learning rate, and μ 0 represents the initial learning rate, c represents the coefficient for controlling the adjustment of the learning rate, and E[k] represents the error between the signals;
[0067] Repeat the above steps until the number of iterations or the error threshold is reached.
[0068] Furthermore, in step S202, the specific process of calculating the predistortion signal is expressed as follows:
[0069]
[0070] Among them, the X pre-distorted [k] represents the predistorted input signal at time index k, X[k] represents the input signal sample obtained by the amplifier, M represents the memory depth, m represents the memory depth index, N represents the order of the polynomial, and n represents the power index of the polynomial.
[0071] Furthermore, the core of the above embodiment is to establish a pre-distortion model, which can describe the nonlinear characteristics of the amplifier and continuously optimize the model coefficients through a learning algorithm to adapt to different input signals and working conditions; through optimization techniques such as the LMS algorithm, the pre-distortion coefficients are updated in real time, a pre-distortion signal is generated, and the adjustable parameters of the amplifier are adjusted, thereby pre-compensating for nonlinear distortion during the amplification process.
[0072] Furthermore, the method further includes step S4, measuring the modulation signal error by using EVM, and the specific process includes:
[0073] S401. Set a threshold value, and measure the modulation signal error by EVM according to the output predistortion signal;
[0074] S402. When the EVM output value is greater than or equal to the preset threshold, increase the learning step size and adjust the adjustable parameters;
[0075] S403. Repeat the above steps until the output value is less than the preset threshold.
[0076] Furthermore, in step S401, measuring the modulation signal error by EVM specifically includes the following sub-steps:
[0077] S4011. Generate an ideal signal according to known adjustable parameters, wherein the ideal signal includes an ideal in-phase component I ideal (t) and the ideal quadrature component Q ideal (t);
[0078] S4012. Extract the actual in-phase component I in the actual amplifier output signal actual (t) and the actual quadrature component Q actual (t);
[0079] S4013. Calculate the error between the ideal signal and the actual signal;
[0080] S4014. Calculate the EVM value through EVM according to the error calculation result to evaluate the signal quality.
[0081] Furthermore, in step S4013, the error between the ideal signal and the actual signal is calculated as follows:
[0082] E I (t) = I actual (t)-I ideal (t);
[0083] E Q (t) = Q actual (t)-Q ideal (t);
[0084] Among them, the E I (t) represents the error between the ideal in-phase component and the actual in-phase component, and the E Q (t) represents the error between the ideal quadrature component and the actual quadrature component.
[0085] Furthermore, in step S4014, the EVM value is calculated by EVM as follows:
[0086]
[0087] Among them, the EVM % Indicates the EVM value, which is used to indicate the magnitude of the error of the modulated signal relative to the ideal signal. 0 represents the starting time point of the integration, and T represents the length of the time interval of the integration.
[0088] In addition, the above embodiment is mainly used to represent continuous-time signals, while in the calculation of EVM, discrete-time signal samples are processed, so indexes are used for representation, which is transformed into:
[0089]
[0090] Among them, the E I [n] and E Q [n] represents the in-phase and quadrature components of the discrete-time error signal, the E ideal [n] and Q ideal [n] represents the in-phase and quadrature components of the discrete-time ideal signal, and N represents the number of samples. When the signal is in digital form, the discrete-time EVM calculation method is used.
[0091] Further, the adjustable parameter attributes include one or more of a bias voltage, a bias current, and a resistance value for increasing the gain. Specifically, according to the above-mentioned input parameters, the process for adjusting the adjustable parameters described in the embodiment is as follows: when the pre-distortion signal needs to increase linearity, the bias voltage of the transistor is reduced or the resistance value of the gain resistor is increased; when the pre-distortion signal needs to adjust the gain, the gain level of the variable gain amplifier is adjusted. In addition, the adjustable parameters are mapped to model coefficients by determining a mathematical relationship with the nonlinear characteristics. The mathematical relationship can be established through a nonlinear function or a polynomial, wherein the adjustable parameters are used as variables or coefficients, and exemplary, a relationship between the output and input of the amplifier is established, including harmonic distortion and cross-modulation. The coefficients of the pre-distortion model are expressed as a function of the adjustable parameters, which are used to quantify the nonlinear distortion of the input signal after passing through the amplifier.
[0092] Exemplarily, through model training and testing, when the second harmonic distortion of the amplifier is large at high power input, the bias voltage of the first-stage common-gate transistor and the second-stage common-gate transistor is adjusted to reduce the operating current and reduce nonlinear distortion; the gate resistance is increased to reduce the fluctuation of the gate current and improve the linearity; and the drain resistance is adjusted to adjust the balance between gain and linearity. The gate resistance is set on the gate of the second-stage common-gate transistor, which is a preferred implementation scheme of this embodiment.
[0093] Furthermore, as a preferred specific implementation of the above embodiment, an optimization method combining an extended model to more accurately describe nonlinear characteristics is proposed. Specifically, the process is as follows:
[0094] By initializing the high-order coefficients of the extended model, high-order terms are added to the prediction process of the memory polynomial predistortion model to expand the model to third order or higher order, that is:
[0095]
[0096] Wherein, P represents the total number of high-order terms, p represents the index, and b p represents the coefficient of the higher-order term, the N+p represents the power of the higher-order term, and the N represents the highest order;
[0097] The high-order coefficients are adjusted by minimizing the mean square error MSE, that is: And update the mean square error MSE, that is:
[0098] During the model training process, the original pre-distortion model coefficients and the newly added high-order term coefficients are optimized simultaneously;
[0099] Generate predistortion:
[0100]
[0101] Furthermore, by introducing the above-mentioned pre-distortion acquisition method of high-order coefficients, the model's ability to capture signals can be enhanced, and its applicability under different signal types and conditions can be improved, so that the model can provide better linearity optimization effects in a wide range of application scenarios.
[0102] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not deviate from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.
Claims
1. A method for optimizing the linearity of a common-gate input-stage amplifier circuit. It is characterized in that The following steps are involved: S1. Establishing a predistortion model according to the adjustable parameters of the common-gate input stage amplifier circuit, wherein the predistortion model determines the predistortion model coefficients through a mapping relationship between the adjustable parameters; S2. Describe the nonlinear characteristics of the amplifier according to the pre-distortion model, train the model, and find the optimal coefficients; S3. Input a new input signal, and adjust the adjustable parameters of the common-gate structure input stage amplifier circuit according to the pre-distortion signal output by the model to compensate for the nonlinearity of the amplifier.
2. A method for optimizing linearity of a common-gate input stage amplifier circuit as claimed in claim 1, It is characterized in that The predistortion model is specifically a memory polynomial predistortion model, which is used to describe the nonlinear characteristics of the amplifier. The prediction process of the memory polynomial predistortion model is expressed as follows: Wherein, P(X,k) represents the output signal predicted by the model at time index k, M represents the memory depth, m represents the memory depth index, N represents the order of the polynomial, n represents the power index of the polynomial, and a m,n represents the predistortion model coefficient, the X[km] n represents the input signal sample at time index km.
3. A method for optimizing linearity of a common-gate input stage amplifier circuit as claimed in claim 1, It is characterized in that The step S2 specifically includes the following sub-steps: S201. Collect input signals and output signals as model inputs, and adjust the coefficients by minimizing the mean square error: MSE = ∑ k (Y[k]-P(X,k)) 2 , the MSE represents the average of the squares of the differences between the model prediction value and the actual observation value, the Y[k] represents the output signal sample obtained by the amplifier, and the P(X, k) represents the output signal predicted by the model at time index k; S202. Update the coefficients using the LMS algorithm, and calculate the predistortion signal based on the updated coefficients.
4. A method for optimizing linearity of a common-gate input stage amplifier circuit as claimed in claim 3, It is characterized in that In step S202, the specific process of the LMS algorithm to update the coefficients is expressed as follows: a m,n (t+1)=a m,n (t)+μ·2·(Y[k]-P(X,k))·X[k-m] n Among them, the a m,n (t+1) represents the updated value at time t+1, and the a m,n (t) represents the predistortion model coefficient at time t, μ represents the learning rate, and X[km] n represents the input signal sample at time index km.
5. A method for optimizing linearity of a common-gate input stage amplifier circuit as claimed in claim 3, It is characterized in that In step S202, the specific process of calculating the predistortion signal is as follows: Among them, the X pre-distorted [k] represents the predistorted input signal at time index k, X[k] represents the input signal sample obtained by the amplifier, M represents the memory depth, m represents the memory depth index, N represents the order of the polynomial, and n represents the power index of the polynomial.
6. A method for optimizing linearity of a common-gate input stage amplifier circuit as claimed in claim 1, It is characterized in that The process also includes step S4, measuring the modulation signal error by EVM, and the specific process includes: S401. Set a threshold value, and measure the modulation signal error by EVM according to the output predistortion signal; S402. When the EVM output value is greater than or equal to the preset threshold, increase the learning step size and adjust the adjustable parameters; S403. Repeat the above steps until the output value is less than the preset threshold.
7. A method for optimizing linearity of a common-gate input-stage amplifier circuit as claimed in claim 6, It is characterized in that In step S401, measuring the modulation signal error by EVM specifically includes the following sub-steps: S4011. Generate an ideal signal according to known adjustable parameters, wherein the ideal signal includes an ideal in-phase component I ideal (t) and the ideal quadrature component Q ideal (t); S4012. Extract the actual in-phase component I in the actual amplifier output signal actual (t) and the actual quadrature component Q actual (t); S4013. Calculate the error between the ideal signal and the actual signal; S4014. Calculate the EVM value through EVM according to the error calculation result to evaluate the signal quality.
8. A method for optimizing linearity of a common-gate input-stage amplifier circuit as claimed in claim 7, It is characterized in that In step S4013, the error between the ideal signal and the actual signal is calculated as follows: E I (t)=I actual (t)-I ideal (t); E Q (t)=Q actual (t)-Q ideal (t); Among them, the E I (t) represents the error between the ideal in-phase component and the actual in-phase component, and the E Q (t) represents the error between the ideal quadrature component and the actual quadrature component.
9. A method for optimizing linearity of a common-gate input stage amplifier circuit as claimed in claim 7, It is characterized in that In step S4014, the EVM value is calculated by EVM as follows: Among them, the EVM % Indicates the EVM value, which is used to indicate the magnitude of the error of the modulated signal relative to the ideal signal. 0 represents the starting time point of the integration, and T represents the length of the time interval of the integration.
10. The method for optimizing linearity of a common-gate input-stage amplifier circuit according to claim 1, It is characterized in that The adjustable parameter attributes include one or more of a bias voltage, a bias current, and a resistance value for increasing gain.
