Abstract:
A method of processing a signal is disclosed. The method comprises generating a digital signal, converting the digital signal to an analog signal, and generating an amplified analog signal having distortions. The method further comprises converting the amplified analog signal to a feedback digital signal at a sample rate and updating a model of the distortions based on the feedback digital signal.

Description:
CROSS REFERENCE TO OTHER APPLICATIONS 
       [0001]    This application claims priority to U.S. Provisional Patent Application No. 60/556,658 (Attorney Docket No. OPTIP009+) entitled POWER AMPLIFIER LINEARIZING SYSTEM filed Mar. 25, 2004, which is incorporated herein by reference for all purposes. 
         [0002]    This application is a divisional of co-pending U.S. patent application Ser. No. 11/091,022 (Attorney Docket No. OPTIP009) entitled MODEL BASED DISTORTION REDUCTION FOR POWER AMPLIFIERS, filed Mar. 24, 2005, which is incorporated herein by reference for all purposes 
     
    
     BACKGROUND OF THE INVENTION 
       [0003]    In designing a power amplifier, a number of factors need to be balanced against each other including specifications like linearity, high efficiency, low cost, or high power. For example, a Doherty-type power amplifier, as described in LUMPED ELEMENT BASED DOHERTY POWER AMPLIFIER TOPOLOGY IN CMOS PROCESS, by Tongchoi et. al. in  IEEE Int. Symp. Circuits and Systems , May 2003, pp. 445-448 which is incorporated herein by reference for all purposes, may provide power efficiency at low cost, but may have nonlinearity. Improved linearity can be achieved using active compensation of the amplifier, where a measurement is made of the difference between the actual output of the amplifier and the desired output of the amplifier. The measurement of the difference between the actual and the desired outputs requires high-quality, high-speed, and therefore, expensive components. It would be useful to improve linearity of a power amplifier without requiring high-quality, high-speed, and expensive components. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0004]    Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings. 
           [0005]      FIG. 1A  illustrates an embodiment of input vs. output amplitude characteristics of a power amplifier. 
           [0006]      FIG. 1B  illustrates an embodiment of input vs. output phase characteristics of a power amplifier system. 
           [0007]      FIG. 2  illustrates an embodiment of a power amplifier system. 
           [0008]      FIG. 3  illustrates an embodiment of a power amplifier system. 
           [0009]      FIG. 4  illustrates an embodiment of a power amplifier system. 
           [0010]      FIG. 5  illustrates an embodiment of a signal processing system for precompensating a digital signal for reducing distortion in a power amplifier system. 
           [0011]      FIG. 6  illustrates an embodiment of an error calculator. 
           [0012]      FIG. 7  illustrates an embodiment of a signal processing system for precompensating a digital signal for reducing distortion in a power amplifier system. 
           [0013]      FIG. 8  illustrates an embodiment of an error calculator. 
           [0014]      FIG. 9  illustrates an embodiment of an error calculator. 
       
    
    
     DETAILED DESCRIPTION 
       [0015]    The invention can be implemented in numerous ways, including as a process, an apparatus, a system, a composition of matter, a computer readable medium such as a computer readable storage medium or a computer network wherein program instructions are sent over optical or electronic communication links. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. A component such as a processor or a memory described as being configured to perform a task includes both a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. In general, the order of the steps of disclosed processes may be altered within the scope of the invention. 
         [0016]    A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured. 
         [0017]    Model based distortion reduction for power amplifiers is disclosed. Distortion introduced by power amplifiers can be reduced by adding a signal to the input of the amplifier that precompensates for the distortion. The model can reduce distortion up to the bandwidth of the input channel of the power amplifier. This bandwidth is limited by components in the input channel which can include a digital to analog converter. The feedback channel in this configuration can have substantially lower bandwidth requirements because the model parameters can be generated with feedback information at low update rates. 
         [0018]      FIG. 1A  illustrates an embodiment of input vs. output amplitude characteristics of a power amplifier. In the examples shown, the ideal linear performance for a power amplifier is displayed by curve  100 , which has a linear relation between the input amplitude and the output amplitude. Curve  102  represents a nonlinear performing power amplifier, which has a nonlinear relation between the input amplitude and output amplitude. 
         [0019]      FIG. 1B  illustrates an embodiment of input vs. output phase characteristics of a power amplifier system. In the examples shown, the ideal linear performance for a power amplifier system is displayed by curve  104 , which has a linear relation between the input phase and the output phase. Curve  106  represents a nonlinear performing power amplifier system, which has a nonlinear relation between the input phase and output phase. 
         [0020]      FIG. 2  illustrates an embodiment of a power amplifier system. Power amplifier system  200  includes digital to analog converter  202  and analog amplifier  204 . An input digital signal (ν n ) is input to digital to analog converter  202 . The signal is then sent to analog amplifier  204  and then output as an analog output signal (ω n ). In some embodiments, analog amplifier  204  has its own nonlinearity compensation. 
         [0021]      FIG. 3  illustrates an embodiment of a power amplifier system. Power amplifier system  310  includes digital signal processor  300 , digital to analog converter  302 , analog amplifier  304 , and analog to digital converter  306 . An input digital signal (ν n ) is input to a digital signal processor  300 , which corrects for distortions originating from distortion sources  308  by precompensating the signal. Distortion sources  308  include digital to analog converter  302  and analog amplifier  304 . Digital signal processor  300  outputs a signal to digital to analog converter  302 . The signal is then sent to analog amplifier  304  and then output as an analog output signal (ω n ). The output signal is also sent to analog to digital converter  306  to create feedback signal (φ n ) that is sent to digital signal processor  300 . In some embodiments, analog to digital converter  306  conversion rate is selectable. In some embodiments, analog to digital converter  306  conversion rate is much lower than digital to analog converter  302  conversion rate. In some embodiments, analog to digital converter  306  conversion rate is lower than the bandwidth of the distortion in the output signal (ω n ). 
         [0022]      FIG. 4  illustrates an embodiment of a power amplifier system. Power amplifier system  414  includes digital signal processor  400 , digital to analog converter  402 , upshift  404 , analog amplifier  406 , downshift  408 , and analog to digital converter  410 . An input digital signal (ν n ) is input to a digital signal processor  400 , which corrects for distortions originating from distortion sources  412  by precompensating the signal. Distortion sources  412  include digital to analog converter  402 , upshift  404 , and analog amplifier  406 . Digital signal processor  400  outputs a signal to digital to analog converter  402 . The signal is then sent to upshift  404  which shifts the signal up to a higher frequency band. The signal is then sent to analog amplifier  406  and then output as an analog output signal (ω n ). The output signal is also sent to downshift  408  which shifts the signal down to a lower frequency. The signal is then sent to analog to digital converter  410  to create feedback signal (φ n ) that is sent to digital signal processor  400 . In some embodiments, shifting a signal up includes modulating a signal at a different, higher frequency and shifting a signal down includes demodulating a signal at a different, lower frequency. 
         [0023]      FIG. 5  illustrates an embodiment of a signal processing system for precompensating a digital signal for reducing distortion in a power amplifier system. Input digital signal (ν n ) enters digital signal processor  500 . The input digital signal (ν n ) is sent to model  502  which calculates a signal that is fit to be similar to the nonlinear distortions of the power amplifier system. The model calculated signal is sent to a summation node  506  along with input digital signal (ν n ) to create a precompensated digital signal. The precompensated digital signal has the eventual power system distortion subtracted out from the input digital signal (ν n ). This reduces the distortion at the power amplifier system output. In various embodiments, the model calculated signal is removed from the input digital signal (ν n ) in different ways such as subtracting the signal, inverting the signal, shifting the phase of the signal, or any other appropriate technique. Error calculator  508  calculates the error signal based on the input digital signal (ν n ) and the feedback digital signal (φ n ). The error signal is input to model adaptor  510 . Model adaptor  510  creates a model that can calculate the distortions of the power amplifier system given the input digital signal (ν n ). In some embodiments, model adaptor  510  uses least mean square adaptation to calculate the model. In some embodiments, model adaptor  510  uses recursive least squares adaptation to calculate the model. Model adaptor  510  feeds model parameters to model  502 . In some embodiments, the model parameters are updated at a selectable rate. In some embodiments, the model corrects for distortions at bandwidths up to half the frequency of the digital to analog converter conversion rate. So, the distortions in the amplified analog output signal can be reduced for frequencies higher than half the sample rate of the feedback digital signal as would be anticipated if using a standard feedback correction method. 
         [0024]    In some embodiments, the model adaptor adapts a model of the distortion by minimizing the error signal. In some embodiments, the model includes memory effects. In some embodiments, the model can be a finite impulse response filter or an infinite impulse response filter. In some embodiments, the model is a nonlinear filter. In some embodiments, the filter is a low-complexity nonlinear filter that is comprised of linear pieces as described in U.S. patent application Ser. No. 11/061,850 (Attorney Docket No. OPTIP006) entitled LOW-COMPLEXITY NONLINEAR FILTERS filed Feb. 18, 2005 which is incorporated herein by reference for all purposes. The basis for this nonlinear filter is the nonlinear function: 
         [0000]    
       
         
           
             
               
                 η 
                 ^ 
               
               n 
             
             = 
             
               
                 
                   A 
                   T 
                 
                  
                 
                   Y 
                   n 
                 
               
               + 
               b 
               + 
               
                 
                   ∑ 
                   
                     j 
                     = 
                     1 
                   
                   K 
                 
                  
                 
                   
                     c 
                     j 
                   
                    
                   
                      
                     
                       
                         
                           
                             α 
                             → 
                           
                           j 
                         
                          
                         
                           Y 
                           n 
                         
                       
                       + 
                       
                         β 
                         j 
                       
                     
                      
                   
                 
               
             
           
         
       
     
         [0000]    which, given sign ({right arrow over (α)} j Y n +β j )=λ jn , is implemented as 
         [0000]    
       
         
           
             
               
                 η 
                 ^ 
               
               n 
             
             = 
             
               
                 
                   ( 
                   
                     
                       a 
                       0 
                     
                     + 
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           1 
                         
                         K 
                       
                        
                       
                         
                           c 
                           j 
                         
                          
                         
                           α 
                           
                             0 
                              
                             j 
                           
                         
                          
                         
                           λ 
                           jn 
                         
                       
                     
                   
                   ) 
                 
                  
                 
                   y 
                   n 
                 
               
               + 
               … 
               + 
               
                 
                   ( 
                   
                     
                       a 
                       N 
                     
                     + 
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           1 
                         
                         K 
                       
                        
                       
                         
                           c 
                           j 
                         
                          
                         
                           α 
                           
                             N 
                             , 
                             j 
                           
                         
                          
                         
                           λ 
                           jn 
                         
                       
                     
                   
                   ) 
                 
                  
                 
                   y 
                   
                     n 
                     - 
                     N 
                   
                 
               
               + 
               
                 
                   ( 
                   
                     b 
                     + 
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           1 
                         
                         K 
                       
                        
                       
                         
                           c 
                           j 
                         
                          
                         
                           β 
                           j 
                         
                          
                         
                           λ 
                           jn 
                         
                       
                     
                   
                   ) 
                 
                 . 
               
             
           
         
       
     
         [0000]    This correlates one-to-one with 
         [0000]      {circumflex over (η)} n   =ã   0,n ( Y   n ) y+ . . . ã   N,n ( Y   n ) y   n-N   +{tilde over (b)}   n ( Y   n ) 
         [0000]    which forms a “linear” combination of the input variables Y n  using the “weights” or coefficients ã k,n  (Y n ) that vary as a nonlinear function of those input variables. The overall filter includes a “linear” combination at time n of the elements of the vector Y n  utilizing the coefficients ã k,n  (Y n ) as weights. This filtering construct is specifically designed to comply with our interpretation that the nonlinear channel is equivalent to a linear channel whose time constants are a function of the input vector, an effect that renders the channel nonlinear. 
         [0025]    The nonlinear filter implementation can be embodied in a low-complexity form that reduces the number of multiply operations while maintaining a powerful ability to emulate very complex nonlinear distortion functions. Reducing complexity lowers cost, lowers power dissipation, and reduces noise. The reduced-complexity basis for the nonlinear filter removes the requirements for multiply operations when computing the nonlinear coefficients has the form: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       η 
                       ^ 
                     
                     n 
                   
                   = 
                     
                    
                   
                     
                       
                         A 
                         T 
                       
                        
                       
                         Y 
                         n 
                       
                     
                     + 
                     b 
                     + 
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           1 
                         
                         
                           K 
                           1 
                         
                       
                        
                       
                         
                           c 
                           j 
                         
                          
                         
                            
                           
                             
                               y 
                               n 
                             
                             + 
                             
                               β 
                               j 
                             
                           
                            
                         
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           
                             
                               K 
                               1 
                             
                             + 
                             1 
                           
                         
                         
                           K 
                           2 
                         
                       
                        
                       
                         
                           c 
                           j 
                         
                          
                         
                            
                           
                             
                               y 
                               
                                 n 
                                 - 
                                 1 
                               
                             
                             + 
                             
                               β 
                               j 
                             
                           
                            
                         
                          
                         
                             
                         
                          
                         … 
                       
                     
                     + 
                   
                 
               
             
             
               
                 
                     
                    
                   
                     
                       ∑ 
                       
                         j 
                         = 
                         
                           
                             K 
                             
                               
                                 2 
                                  
                                 N 
                               
                               - 
                               3 
                             
                           
                           + 
                           1 
                         
                       
                       
                         K 
                         
                           
                             2 
                              
                             N 
                           
                           - 
                           2 
                         
                       
                     
                      
                     
                       
                         c 
                         j 
                       
                        
                       
                          
                         
                           
                             y 
                             
                               n 
                               - 
                               N 
                             
                           
                           + 
                           
                             β 
                             j 
                           
                         
                          
                       
                     
                   
                 
               
             
             
               
                 
                   = 
                     
                    
                   
                     
                       
                         A 
                         T 
                       
                        
                       
                         Y 
                         n 
                       
                     
                     + 
                     b 
                     + 
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           1 
                         
                         
                           K 
                           1 
                         
                       
                        
                       
                         
                           c 
                           j 
                         
                          
                         
                           
                             λ 
                             
                               j 
                               , 
                               n 
                             
                           
                            
                           
                             ( 
                             
                               
                                 y 
                                 n 
                               
                               + 
                               
                                 β 
                                 j 
                               
                             
                             ) 
                           
                         
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           
                             
                               K 
                               1 
                             
                             + 
                             1 
                           
                         
                         
                           K 
                           2 
                         
                       
                        
                       
                         
                           c 
                           j 
                         
                          
                         
                           
                             λ 
                             
                               j 
                               , 
                               n 
                             
                           
                            
                           
                             ( 
                             
                               
                                 y 
                                 
                                   n 
                                   - 
                                   1 
                                 
                               
                               + 
                               
                                 β 
                                 j 
                               
                             
                             ) 
                           
                         
                          
                         
                             
                         
                          
                         … 
                       
                     
                     + 
                   
                 
               
             
             
               
                 
                     
                    
                   
                     
                       ∑ 
                       
                         j 
                         = 
                         
                           
                             K 
                             
                               
                                 2 
                                  
                                 N 
                               
                               - 
                               3 
                             
                           
                           + 
                           1 
                         
                       
                       
                         K 
                         
                           
                             2 
                              
                             N 
                           
                           - 
                           2 
                         
                       
                     
                      
                     
                       
                         c 
                         j 
                       
                        
                       
                         
                           λ 
                           
                             j 
                             , 
                             n 
                           
                         
                          
                         
                           ( 
                           
                             
                               y 
                               
                                 n 
                                 - 
                                 N 
                               
                             
                             + 
                             
                               β 
                               j 
                             
                           
                           ) 
                         
                       
                     
                   
                 
               
             
           
         
       
     
         [0000]    and letting 
         [0000]      λ j,n =sign( y   n-1 +β j ) 
         [0000]    means 
         [0000]    
       
         
           
             
               
                 η 
                 ^ 
               
               n 
             
             = 
             
               
                 
                   ( 
                   
                     
                       a 
                       0 
                     
                     + 
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           1 
                         
                         
                           K 
                           1 
                         
                       
                        
                       
                         
                           c 
                           j 
                         
                          
                         
                           λ 
                           jn 
                         
                       
                     
                   
                   ) 
                 
                  
                 
                   y 
                   n 
                 
               
               + 
               … 
               + 
               
                 
                   ( 
                   
                     
                       a 
                       
                         
                           2 
                            
                           n 
                         
                         - 
                         2 
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           
                             
                               K 
                               
                                 
                                   2 
                                    
                                   N 
                                 
                                 - 
                                 3 
                               
                             
                             + 
                             1 
                           
                         
                         
                           K 
                           
                             
                               2 
                                
                               N 
                             
                             - 
                             2 
                           
                         
                       
                        
                       
                         
                           c 
                           j 
                         
                          
                         
                           λ 
                           jn 
                         
                       
                     
                   
                   ) 
                 
                  
                 
                   y 
                   
                     n 
                     - 
                     N 
                   
                 
               
               + 
               
                 ( 
                 
                   b 
                   + 
                   
                     
                       ∑ 
                       
                         j 
                         = 
                         1 
                       
                       K 
                     
                      
                     
                       
                         c 
                         j 
                       
                        
                       
                         β 
                         j 
                       
                        
                       
                         λ 
                         jn 
                       
                     
                   
                 
                 ) 
               
             
           
         
       
     
         [0000]    which effectively does not require multiply operations in the coefficient computation (where each c j β j  product is pre-computed and stored as one coefficient). This form is termed a first-order nonlinear filter since each coefficient multiplies at most a power-of-one element of the filter input vector Y n . In some embodiments, the model uses a second-order nonlinear filter: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       η 
                       ^ 
                     
                     n 
                   
                   = 
                     
                    
                   
                     
                       
                         a 
                         0 
                       
                        
                       
                         y 
                         n 
                       
                     
                     + 
                     
                       
                         a 
                         1 
                       
                        
                       
                         y 
                         
                           n 
                           - 
                           1 
                         
                       
                     
                     + 
                     b 
                     + 
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           1 
                         
                         K 
                       
                        
                       
                         
                           c 
                           j 
                           0 
                         
                          
                         
                            
                           
                             
                               y 
                               n 
                             
                             + 
                             
                               β 
                               j 
                               0 
                             
                           
                            
                         
                          
                         
                           y 
                           n 
                         
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           1 
                         
                         K 
                       
                        
                       
                         
                           c 
                           j 
                           1 
                         
                          
                         
                            
                           
                             
                               y 
                               
                                 n 
                                 - 
                                 1 
                               
                             
                             + 
                             
                               β 
                               j 
                               1 
                             
                           
                            
                         
                          
                         
                           y 
                           
                             n 
                             - 
                             1 
                           
                         
                       
                     
                   
                 
               
             
             
               
                 
                   = 
                     
                    
                   
                     
                       
                         ( 
                         
                           
                             ∑ 
                             
                               j 
                               = 
                               1 
                             
                             K 
                           
                            
                           
                             
                               c 
                               j 
                               0 
                             
                              
                             
                               λ 
                               j 
                               0 
                             
                           
                         
                         ) 
                       
                        
                       
                         y 
                         n 
                         2 
                       
                     
                     + 
                     
                       
                         ( 
                         
                           
                             ∑ 
                             
                               j 
                               = 
                               1 
                             
                             K 
                           
                            
                           
                             
                               c 
                               j 
                               1 
                             
                              
                             
                               λ 
                               j 
                               1 
                             
                           
                         
                         ) 
                       
                        
                       
                         y 
                         
                           n 
                           - 
                           1 
                         
                         2 
                       
                     
                     + 
                     
                       
                         ( 
                         
                           
                             a 
                             0 
                           
                           + 
                           
                             
                               ∑ 
                               
                                 j 
                                 = 
                                 1 
                               
                               K 
                             
                              
                             
                               
                                 c 
                                 j 
                                 0 
                               
                                
                               
                                 λ 
                                 j 
                                 0 
                               
                                
                               
                                 β 
                                 j 
                                 0 
                               
                             
                           
                         
                         ) 
                       
                        
                       
                         y 
                         n 
                       
                     
                     + 
                   
                 
               
             
             
               
                 
                     
                    
                   
                     
                       
                         ( 
                         
                           
                             a 
                             1 
                           
                           + 
                           
                             
                               ∑ 
                               
                                 j 
                                 = 
                                 1 
                               
                               K 
                             
                              
                             
                               
                                 c 
                                 j 
                                 1 
                               
                                
                               
                                 λ 
                                 j 
                                 1 
                               
                                
                               
                                 β 
                                 j 
                                 1 
                               
                             
                           
                         
                         ) 
                       
                        
                       
                         y 
                         
                           n 
                           - 
                           1 
                         
                       
                     
                     + 
                     b 
                   
                 
               
             
             
               
                 
                   = 
                     
                    
                   
                     
                       
                         
                           a 
                           ~ 
                         
                         
                           01 
                           , 
                           n 
                         
                       
                        
                       
                         y 
                         n 
                         2 
                       
                     
                     + 
                     
                       
                         a 
                         ^ 
                       
                       
                         1 
                         , 
                         n 
                       
                     
                     + 
                     
                       y 
                       
                         n 
                         - 
                         1 
                       
                       2 
                     
                     + 
                     
                       
                         
                           a 
                           ~ 
                         
                         
                           0 
                           , 
                           n 
                         
                       
                        
                       
                         y 
                         n 
                       
                     
                     + 
                     
                       
                         
                           a 
                           ~ 
                         
                         
                           1 
                           , 
                           n 
                         
                       
                        
                       
                         y 
                         
                           n 
                           - 
                           1 
                         
                       
                     
                     + 
                     b 
                   
                 
               
             
           
         
       
     
         [0000]    where each coefficient is a nonlinear function of the input vector elements and each coefficient either multiplies a power-of-two element or cross-product-of-two elements. In some embodiments, a second-order nonlinear filter that allows an output that is a function of the elements or cross-product-of-two elements is 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       η 
                       ^ 
                     
                     n 
                   
                   = 
                     
                    
                   
                     
                       
                         a 
                         0 
                       
                        
                       
                         y 
                         n 
                       
                     
                     + 
                     
                       
                         a 
                         1 
                       
                        
                       
                         y 
                         
                           n 
                           - 
                           1 
                         
                       
                     
                     + 
                     b 
                     + 
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           1 
                         
                         K 
                       
                        
                       
                         
                           c 
                           j 
                           0 
                         
                          
                         
                            
                           
                             
                               y 
                               n 
                             
                             + 
                             
                               β 
                               j 
                               0 
                             
                           
                            
                         
                          
                         
                           y 
                           n 
                         
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           1 
                         
                         K 
                       
                        
                       
                         
                           c 
                           j 
                           1 
                         
                          
                         
                            
                           
                             
                               y 
                               
                                 n 
                                 - 
                                 1 
                               
                             
                             + 
                             
                               β 
                               j 
                               1 
                             
                           
                            
                         
                          
                         
                           y 
                           n 
                         
                       
                     
                   
                 
               
             
             
               
                 
                   = 
                     
                    
                   
                     
                       
                         ( 
                         
                           
                             ∑ 
                             
                               j 
                               = 
                               1 
                             
                             K 
                           
                            
                           
                             
                               c 
                               j 
                               0 
                             
                              
                             
                               λ 
                               j 
                               0 
                             
                           
                         
                         ) 
                       
                        
                       
                         y 
                         n 
                         2 
                       
                     
                     + 
                     
                       
                         ( 
                         
                           
                             ∑ 
                             
                               j 
                               = 
                               1 
                             
                             K 
                           
                            
                           
                             
                               c 
                               j 
                               1 
                             
                              
                             
                               λ 
                               j 
                               1 
                             
                           
                         
                         ) 
                       
                        
                       
                         y 
                         n 
                       
                        
                       
                         y 
                         
                           n 
                           - 
                           1 
                         
                       
                     
                     + 
                     
                       
                         ( 
                         
                           
                             a 
                             0 
                           
                           + 
                           
                             
                               ∑ 
                               
                                 j 
                                 = 
                                 1 
                               
                               K 
                             
                              
                             
                               
                                 c 
                                 j 
                                 0 
                               
                                
                               
                                 λ 
                                 j 
                                 0 
                               
                                
                               
                                 β 
                                 j 
                                 0 
                               
                             
                           
                           + 
                           
                             
                               ∑ 
                               
                                 j 
                                 = 
                                 1 
                               
                               K 
                             
                              
                             
                               
                                 c 
                                 j 
                                 1 
                               
                                
                               
                                 λ 
                                 j 
                                 1 
                               
                                
                               
                                 β 
                                 j 
                                 1 
                               
                             
                           
                         
                         ) 
                       
                        
                       
                         y 
                         n 
                       
                     
                     + 
                   
                 
               
             
             
               
                 
                     
                    
                   
                     
                       
                         a 
                         1 
                       
                        
                       
                         y 
                         
                           n 
                           - 
                           1 
                         
                       
                     
                     + 
                     b 
                   
                 
               
             
             
               
                 
                   = 
                     
                    
                   
                     
                       
                         
                           a 
                           ~ 
                         
                         
                           01 
                           , 
                           n 
                         
                       
                        
                       
                         y 
                         n 
                         2 
                       
                     
                     + 
                     
                       
                         a 
                         ^ 
                       
                       
                         1 
                         , 
                         n 
                       
                     
                     + 
                     
                       
                         y 
                         n 
                       
                        
                       
                         y 
                         
                           n 
                           - 
                           1 
                         
                       
                     
                     + 
                     
                       
                         
                           a 
                           ~ 
                         
                         
                           0 
                           , 
                           n 
                         
                       
                        
                       
                         y 
                         n 
                       
                     
                     + 
                     
                       
                         a 
                         
                           1 
                           , 
                           n 
                         
                       
                        
                       
                         y 
                         
                           n 
                           - 
                           1 
                         
                       
                     
                     + 
                     b 
                   
                 
               
             
           
         
       
     
         [0000]    In some embodiments, the nonlinear filter is the zero-order catastrophic filter: 
         [0000]    
       
         
           
             
               
                 
                   
                     
                       η 
                       ^ 
                     
                     n 
                   
                   = 
                   
                     
                       
                         a 
                         0 
                       
                        
                       
                         y 
                         n 
                       
                     
                     + 
                     
                       
                         a 
                         1 
                       
                        
                       
                         y 
                         
                           n 
                           - 
                           1 
                         
                       
                     
                     + 
                     b 
                     + 
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           1 
                         
                         K 
                       
                        
                       
                         
                           c 
                           j 
                           0 
                         
                          
                         
                           sign 
                            
                           
                             ( 
                             
                               
                                 y 
                                 n 
                               
                               + 
                               
                                 β 
                                 j 
                                 0 
                               
                             
                             ) 
                           
                         
                       
                     
                     + 
                     
                       
                         ∑ 
                         
                           j 
                           = 
                           1 
                         
                         K 
                       
                        
                       
                         
                           c 
                           j 
                           1 
                         
                          
                         
                           sign 
                            
                           
                             ( 
                             
                               
                                 y 
                                 
                                   n 
                                   - 
                                   1 
                                 
                               
                               + 
                               
                                 β 
                                 j 
                                 1 
                               
                             
                             ) 
                           
                         
                       
                     
                   
                 
               
             
             
               
                 
                   = 
                   
                     
                       
                         a 
                         0 
                       
                        
                       
                         y 
                         n 
                       
                     
                     + 
                     
                       
                         a 
                         1 
                       
                        
                       
                         y 
                         
                           n 
                           - 
                           1 
                         
                       
                     
                     + 
                     b 
                     + 
                     
                       ( 
                       
                         
                           ∑ 
                           
                             j 
                             = 
                             1 
                           
                           K 
                         
                          
                         
                           
                             c 
                             j 
                             0 
                           
                            
                           
                             λ 
                             j 
                             0 
                           
                         
                       
                       ) 
                     
                     + 
                     
                       ( 
                       
                         
                           ∑ 
                           
                             j 
                             = 
                             1 
                           
                           K 
                         
                          
                         
                           
                             c 
                             j 
                             1 
                           
                            
                           
                             λ 
                             j 
                             1 
                           
                         
                       
                       ) 
                     
                   
                 
               
             
           
         
       
     
         [0000]    In some embodiments, higher-order nonlinear filter implementations can also be used, as well as combinations of first-order and second-order nonlinear filter. 
         [0026]      FIG. 6  illustrates an embodiment of an error calculator. Error calculator  600  has as inputs a) input digital signal (ν n ) and b) feedback digital signal (φ n ). Error calculator  600  calculates an error signal by taking the difference between the two inputs. In some embodiments, the digital signal (ν n ) is subtracted from feedback digital signal (φ n ) by summation node  602 . In some embodiments, the feedback digital signal (φ n ) is subtracted from digital signal (ν n ) by summation node  602 . If the feedback digital signal (φ n ) is the same as the input digital signal (ν n ), then the error signal is zero. 
         [0027]      FIG. 7  illustrates an embodiment of a signal processing system for precompensating a digital signal for reducing distortion in a power amplifier system. Input digital signal (ν n ) enters digital signal processor  700 . The input digital signal (ν n ) is sent to model  702  which calculates a signal that is fit to be similar to the nonlinear distortions of the power amplifier system. The model calculated signal is sent to a summation node  706  along with input digital signal (ν n ) to create a precompensated digital signal. The precompensated digital signal has the eventual power system distortion subtracted out from the input digital signal (ν n ). This reduces the distortion at the power amplifier system output. In various embodiments, the model calculated signal is removed from the input digital signal (ν n ) in different ways such as subtracting the signal, inverting the signal, shifting the phase of the signal, or any other appropriate technique. Error calculator  710  calculates the error signal based on the precompensated digital signal and the feedback digital signal (φ n ). The error signal is input to model adaptor  708 . Model adaptor  708  creates a model that can calculate the distortions of the power amplifier system given the input digital signal (ν n ). In some embodiments, the model is adaptive. In some embodiments, model adaptor  708  uses least mean square adaptation to calculate the model by making the error signal as close to zero as possible. In some embodiments, model adaptor  708  uses recursive least squares adaptation to calculate the model by making the error signal as close to zero as possible. Model adaptor  708  feeds model parameters to model  702  and error calculator  710 . 
         [0028]      FIG. 8  illustrates an embodiment of an error calculator. Error calculator  800  has as inputs a) precompensated digital signal, b) feedback digital signal (φ n ), and c) model adaptor output. Error calculator  800  calculates an error signal by taking the difference between the feedback digital signal (in) and the sum of the precompensated digital signal and the model processed precompensated digital signal. In some embodiments, the sum of the precompensated digital signal and the model processed precompensated digital signal, created by summation node  804 , is subtracted from feedback digital signal (φ n ) by summation node  806 . The sum of the precompensated digital signal and the model processed precompensated digital signal is approximately equivalent to the input digital signal (ν n ). The feedback digital signal (φ n ) is also approximately equivalent to the input digital signal (ν n ) plus the distortions not cancelled by the precompensation. Thus, subtracting the sum from the feedback digital signal (φ n ) gives an error signal proportional to the distortions not cancelled by the precompensation. 
         [0029]    In some embodiments, the feedback digital signal (φ n ) is subtracted by summation node  806  from the sum of the precompensated digital signal and the model processed precompensated digital signal which is created by summation node  804 . The overall sign of the feedback error signal is not critical to driving the error signal to zero. In some embodiments, the subtraction operation on two signals is achieved by shifting the phase of one signal by 180° and adding it to the other signal. In some embodiments, the subtraction operation on two signals is achieved by inverting one signal and adding it to the other signal. 
         [0030]      FIG. 9  illustrates an embodiment of an error calculator. Error calculator  900  has as inputs a) precompensated digital signal, b) feedback digital signal (φ n ), and c) model adaptor output. Error calculator  900  calculates an error signal by taking the difference between the model processed feedback digital signal (φ n ) and the difference between of the feedback digital signal (φ n ) and the precompensated digital signal. 
         [0031]    In some embodiments, the difference of the feedback digital signal (φ n ) and the inverse of the precompensated digital signal is achieved by adding the inverse of the precompensated digital signal to the feedback digital signal (φ n ). In some embodiments, the model processed feedback digital signal (φ n ) is subtracted, in summation node  906 , from the output of summation node  904  which subtracts the feedback digital signal (φ n ) from the precompensated digital signal. In some embodiments, the signs are different for the summations since the overall sign of the error signal is not important. 
         [0032]    The output of summation node  904  is the precompensated digital signal subtracted from the feedback digital signal (φ n ), or the input digital signal with remaining distortions (those not compensated for) subtracted from the input digital signal with subtracted modeled distortions. This yields the modeled distortions added to the remaining distortions at the output of summation node  904 . The model processed feedback digital signal is subtracted form the output of summation node  904 . The model processed feedback digital signal is the model processed input digital signal (ν n ) and the model processed remaining distortions (which is considerably smaller than the other signals). So, the output of summation node  906  is approximately the output of summation node  904  less the model processed input digital input signal (φ n ), which is the model processed input digital input signal (ν n ) plus remaining distortions less the input digital input signal (ν n ). This yields an error signal proportional to the remaining distortions at the output of summation node  906 . 
         [0033]    Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive.