# Patent

## Title
Digital pre-distortion

## Abstract

A pre-distortion circuit that may introduce a pre-distortion signal in a communication channel by determining a harmonic signal of the signal to be output. One or more image correction signals of the signal to be output may be determined. The one or more image correction signals may be complex conjugate signal variations of the signal to be output. The harmonic signal, the one or more image correction signals and the signal to be output may be combined into a combined output signal. The combined output signal may be transmitted to a digital-to-analog converter. The predistortion circuit may be implemented in a FPGA, an ASIC, a digital-to-analog converter, and/or a separate IC package.

## Background
PRIORITY
This application claims priority to provisional U.S. Patent Application Ser. No. 61/443,605 filed on Feb. 16, 2011, the content of which is incorporated herein in its entirety.


BACKGROUND
Distortion in a digital-to-analog converter (DAC) can result from parasitic effects of the components that form the DAC. Due to the parasitic effect in the DAC, harmonic signals and image signals may be generated that cause distortions in the signals transmitted downstream from the DAC. The distortion introduced by the DAC may be classified as linear or non-linear. Equalizers at the receiver may attenuate the effects of linear distortions. However, non-linear distortions such as harmonic signals and image signals are more difficult to address. Image signals may be those that are above the DAC sampling frequency, or may be signals that may result from DAC defects, for example, parasitics within the DAC, that causes spurious frequency components of the input signal that are scaled down and at arbitrary frequencies.
In a digital media cable communication implementation, interoperability standards, such as the DOCSIS/DRFI standard, exist to provide guidance as to the form of the data to be transmitted to a receiver. The DOCSIS standard is more stringent for fewer channels and, as the number of channels increases, the standard becomes less stringent. In particular, the requirement on the Spurious-Free-Dynamic-Range (SFDR) and the Adjacent-Channel-Leakage-Ratio (ACLR) becomes less stringent as the channel count goes up. Therefore, the digital signal input to the DAC might need to be further processed to substantially eliminate the harmonic and image signals that cause signal distortions.
Field programmable gate array (FPGA) devices and/or application specific integrated circuits (ASICS) are used to apply the digital processing techniques to the digital signals prior to conversion by the DAC for downstream transmission. FIG. 1 illustrates a conventional FPGA or ASIC configuration for providing digital data to a radio frequency (RF) DAC.
The digital signals are processed as complex domain signals that include components having real and imaginary representations. The complex domain data signal is combined by mixer 105 with a digital modulation signal that frequency shifts the data into data blocks of, typically, 6 or 8 MHz data. The 6 or 8 MHz data is combined into several channels by combiner 120, and remains as complex domain data. The combined data is mixed at mixer 107 with another digital modulation signal from up-conversion digital modulator 130. The digital modulation signal from up-conversion digital modulator 130 is at the carrier frequency at which the digital data will be transmitted.
The output of mixer 107 is still a complex domain signal. The complex domain signal output from the mixer 107 is transformed into a data signal including only the real signal components by real domain device 140. The real domain device 140 outputs the real domain data signal to the channel combiner 150. The channel combiner 150 combines the real signals into a block of upconverted channels that are transmitted to a DAC. The described system 100 merely provides data to a DAC and does not actively attempt to attenuate or eliminate the harmonics or image signals introduced by the DAC.
The inventors have recognized the benefits of introducing a pre-distortion into the signal transmitted over the channel to “cancel” (or attenuate) the effects of the non-linear channel distortions prior to inputting the signals to a DAC. The inventive system and method may be used in the above contexts, but as well in other applications that require non-linear harmonic distortions and/or image signal distortions in a transmission signal to be addressed. For example, the inventive system and method may be used in a wireless infrastructure (WIFR) base station where stringent emission specifications are to be met.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 illustrates a conventional FPGA or ASIC configuration for providing digital data to a radio frequency (RF) DAC.
FIG. 2 illustrates an exemplary system block diagram for the transmission of signal data according to an embodiment of the present invention.
FIG. 3 illustrates a block diagram of an exemplary signal chain in an FPGA or ASIC according to an embodiment of the present invention.
FIG. 4 illustrates an exemplary simplified block diagram of a pre-distortion circuit according to an embodiment of the present invention.
FIG. 5 illustrates an exemplary implementation for generating a primary signal and an image signal according to an embodiment of the present invention.
FIG. 6 illustrates the exemplary implementation of a correction circuit for modulating image signals to the appropriate frequency locations for cancellation according to an embodiment of the present invention.
FIG. 7 illustrates an exemplary implementation of a correction circuit for generating an intermodulation distortion (IMD) cancellation term according to an embodiment of the present invention.
FIG. 8 illustrates an exemplary implementation of a correction circuit for generating a clock-spur correction term according to an embodiment of the present invention.
FIG. 9 illustrates an approach to canceling 2nd and the 3rd order distortions, IMD, clock spurs and images at frequencies fdac/4-fout, fdac/2-fout and 3fdac/4-fout according to an embodiment of the present invention.
FIGS. 10A-10C provide exemplary implementations of pre-distortion circuits according to embodiments of the present invention.



DETAILED DESCRIPTION
Disclosed embodiments provide a pre-distortion system that may introduce a pre-distortion signal in a communication channel. The system may include signal generators, a controller and correction modules. The signal generators may generate harmonic signals and image signals at predetermined frequencies of an input signal. The controller may select correction coefficients in response to a control signal indicating an input signal type. The correction modules may apply correction coefficients selected in response to the control signal to the generated harmonic and image signals to generate pre-distorted signals.
An alternative embodiment provides a system for eliminating distortion. The exemplary system may include a signal processing circuit, a pre-distortion circuit, and a digital-to-analog converter (DAC). The signal processing circuit may receive an input signal and generate signal distortions of the input signal for transmission. The pre-distortion circuit may apply distortion correction signals in response to a control code output by the signal processing circuit. The digital-to-analog converter may convert the combined pre-distortion signals and the generated digital signals into reduced distortion analog output signals.
Also disclosed are embodiments providing a pre-distortion device. The pre-distortion device may include a converter, a lookup table, a modulator, a combiner and a transmitter. The converter may generate, from an input signal, digital data in a complex data domain including real data components and imaginary data components. The look up table may include correction coefficients that may be used to correct harmonic distortion and image distortions. The modulator may apply correction coefficients retrieved from the look up table to the real domain and complex domain digital data, and to generate pre-distorted digital data to attenuate the characterized distortions of a DAC. The combiner may combine the pre-distorted harmonic correction signals and the pre-distorted image correction signals with the provided digital data in the real data domain and in the complex data domain. The transmitter may transmit the combined signal to the DAC.
Another embodiment may provide a method for generating pre-distortion signals to predistort a signal. The exemplary method may include receiving a digital input signal. One or more primary signals may be generated at harmonic frequencies of the input signal from the input signal based on estimated harmonic distortion induced by a DAC. One or more image correction signals of the input signal may be generated based on estimated image distortion induced by the DAC. The primary signal(s) and the image correction signal(s) may be combined and the combined signal may be output to the DAC.
FIG. 2 illustrates an exemplary system block diagram 200 for transmitting signal data according to an embodiment of the present invention. The exemplary system 200 also may include various circuits to output a signal in the form of a voltage or a current. The exemplary system 200 may include: an FPGA/ASIC 220, a RF DAC 230, balun 240, filter 250, variable gain amplifier 260, power amplifier 270, and balun 280.
The FPGA/ASIC 220 may generate digital signals for transmission of audio and/or video media, or data content. The FPGA/ASIC 220 may include a digital pre-distortion circuit (“DPD”) 222 that may generate pre-distortion signals that may be incorporated into the digital output signal (CODE) from the FPGA/ASIC 220. The RF DAC 230 may convert the digital data from the FPGA/ASIC 220 to cable communication compatible RF frequency signals. The cable communication compatible RF frequency signals may have a frequency of approximately 50 MHz-1 GHz. The RF DAC 230 may have inputs for a clock generation circuit 225 that may provide a clock signal to the RF DAC 230. The RF DAC 230 may have outputs that provide a signal to a balun 240. A balun is known in the art, and is a type of electrical transformer for balancing signals.
In an alternative embodiment, the RF DAC 230 may have the DPD 222 incorporated to receive the input signals prior to the digital-to-analog conversion circuitry. The balun 240 may have outputs to a filter 250. The filter 250 may have outputs to a variable gain amplifier 260, which may have outputs to a power amplifier 270. The power amplifier 270 may have outputs to a balun 280, which may be connected to a cable communication channel, such as a coaxial cable, or a fiber optic cable.
In operation, the FPGA/ASIC 220 may digitally process a signal for transmission of data contained within the signal. In particular, the FPGA/ASIC 220 may generate signals in the complex signal domain that may be processed by the DPD 222. The DPD 222 may generate pre-distortion signals that are incorporated into the output signal from the FPGA/ASIC 220. The predistortion processing may add artifacts to the signals input to the RF DAC 230 so that the output signals generated by the RF DAC 230 are substantially free of artifacts because the added artifacts cancel or attenuate signal distortions generated by the RF DAC 230. The RF DAC 230 may convert the digital data from the FPGA/ASIC 220 received over the digital data channel 205 to an analog signal. The clock generation 225 module may provide a clock signal to the RF DAC 230. The RF DAC 230 may output an analog signal for transmission, for example, over a cable communication channel. The analog signal output by the RF DAC 230 that is output on the cable communication channel may have a frequency of approximately 50 MHz-1 GHz. The analog signal may be filtered, amplified and power conditioned by a combination of devices such as the balun 240, the filter 250, the variable gain amplifier 260, the power amplifier 270 and the balun 280.
In an FPGA, for example, according to an embodiment of the present invention, a complex domain signal may be provided to a pre-distortion circuit that may generate distortion signals based on a characterization of the DAC to which the data signal is to be sent. An exemplary FPGA with a pre-distortion circuit will be explained in more detail with reference to FIG. 3.
FIG. 3 illustrates a block diagram of an exemplary signal chain in an FPGA or ASIC according to an embodiment of the present invention. The structure of the FPGA/ASIC 300 with pre-distortion may include an input, a first mixer 305, a digital modulator 310, a combiner 330, a second mixer 307, an up-conversion digital modulator 335 a combiner 340, and a pre-distorter 350.
The FPGA/ASIC 300 may receive, the digital data, or a generated representation of the digital data, that is to be processed as a complex domain input signal. The complex domain input signal may be applied to the first mixer 305. The first mixer 305 may also receive a carrier signal, for example, a 6 or 8 MHz signal, input from the digital modulator 310. The first mixer 305 may output a 6 or 8 MHz carrier signal which modulates the complex domain input signal. The complex domain, modulated signal may be output from the mixer 305, and may be provided to combiner 330. The combiner 330 may combine the complex domain, modulated signals with several channels, which may be provided to an input of a second mixer 307. The up-conversion digital modulator 335 may provide a carrier signal to an input of second mixer 307. The carrier signal may have a frequency suitable for transmitting the combined channels gk(n). In a cable communication application, for example, the carrier frequency may be 50 MHz-1 GHz.
The second mixer 307 may output a modulated block of primary signal and image signal channels hk(n), respectively, where k is the channel block, and n represents the time index of the signal to be transmitted, to combiner 340. At combiner 340, the modulated block of channels may be further combined by summing together several channel blocks or individual channels into channels at the upconverted modulated carrier frequency. The upconverted modulated block of primary and image channels, x(n) and xi(n), may be output from the combiner 340 to the pre-distortion circuit 350. The pre-distortion circuit 350 may apply distortion coefficients to respective signals in the upconverted, modulated block of channels to generate distorted signals y(n). The distorted signals may replicate known distortions generated in a DAC, such as RF DAC 230, for example.
The mathematics of FIG. 3 can be shown as:




  
    
      
        
          
            
              g
              k
            
            ⁡
            
              (
              n
              )
            
          
          =
          
            
              
                g
                k
                R
              
              ⁡
              
                (
                n
                )
              
            
            +
            
              j
              ×
              
                
                  g
                  k
                  I
                
                ⁡
                
                  (
                  n
                  )
                
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            
              h
              k
            
            ⁡
            
              (
              n
              )
            
          
          =
          
            
              
                
                  g
                  k
                
                ⁡
                
                  (
                  n
                  )
                
              
              ×
              
                e
                
                  j
                  ⁢
                  
                    
                  
                  ⁢
                  
                    θ
                    k
                  
                  ⁢
                  n
                
              
            
            =
            
              
                
                  [
                  
                    
                      
                        
                          g
                          k
                          R
                        
                        ⁡
                        
                          (
                          n
                          )
                        
                      
                      ⁢
                      
                        cos
                        ⁡
                        
                          (
                          
                            
                              θ
                              k
                            
                            ⁢
                            n
                          
                          )
                        
                      
                    
                    -
                    
                      
                        
                          g
                          k
                          I
                        
                        ⁡
                        
                          (
                          n
                          )
                        
                      
                      ⁢
                      
                        sin
                        ⁡
                        
                          (
                          
                            
                              θ
                              k
                            
                            ⁢
                            n
                          
                          )
                        
                      
                    
                  
                  ]
                
                +
                
                  j
                  ×
                  
                    [
                    
                      
                        
                          
                            g
                            k
                            I
                          
                          ⁡
                          
                            (
                            n
                            )
                          
                        
                        ⁢
                        
                          cos
                          ⁡
                          
                            (
                            
                              
                                θ
                                k
                              
                              ⁢
                              n
                            
                            )
                          
                        
                      
                      +
                      
                        
                          
                            g
                            k
                            R
                          
                          ⁡
                          
                            (
                            n
                            )
                          
                        
                        ⁢
                        
                          sin
                          ⁡
                          
                            (
                            
                              
                                θ
                                k
                              
                              ⁢
                              n
                            
                            )
                          
                        
                      
                    
                    ]
                  
                  ⁢
                  
                    

                  
                  ⁢
                  
                    x
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
              
              =
              
                
                  
                    ∑
                    
                      k
                      =
                      1
                    
                    L
                  
                  ⁢
                  
                    
                      h
                      k
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                
                =
                
                  
                    
                      x
                      R
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  +
                  
                    j
                    ×
                    
                      
                        x
                        I
                      
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            x
            ⁢
            
              
            
            ⁢
            
              i
              ⁡
              
                (
                n
                )
              
            
          
          =
          
            
              
                x
                R
              
              ⁡
              
                (
                n
                )
              
            
            -
            
              j
              ×
              
                
                  x
                  I
                
                ⁡
                
                  (
                  n
                  )
                
              
            
          
        
      
    
    
      
        (
        
          Eq
          .
          
            
          
          ⁢
          1
        
        )
      
    
  




In Eq. 1, output signal y(n) may be a pre-distorted version of x(n) and Xi(n) based on correction factors applied to the combined signals forming x(n) and Xi(n). The terms may mean gk(n) is a complex baseband signal of a block of channels of modulated signals, ejθkn may be a modulation term to modulate the combined several channels, hk(n) may be a modulated complex domain signal x(n) may be the output signal from an FPGA prior to any pre-distortion, and where n is a time index of the signal to be transmitted. The output of FIG. 3 is a signal containing both harmonic distortions and image distortions that are expected to be generated by a target DAC, i.e., the DAC that will perform the digital to analog conversion.

FIG. 4 illustrates an exemplary simplified block diagram of a pre-distortion circuit according to an embodiment of the present invention. The pre distortion module 400 may include a primary signal generator 410, an image signal generator 415, a controller 420, a modulation correction look-up table 430, a harmonic correction 440, an image correction 450, a clock spur correction module 455, an inter-modulation product module (IMD) 457, an adder 460, and a second adder 470 at the output. The primary signal generator 410 may be a signal processing circuit that generates signals corresponding to the desired data to be transmitted. The image signal generator 415 may be a signal processing circuit that generates signals containing image signals at particular frequencies of the input data signal. The controller 420 may control the pre-distortion module 400 based on a control input indicating an input signal type. An input signal type may be, for example, an audio signal, a video signal, a high-definition audio signal or a high definition video signal. The modulation correction look-up table 430 may store lists of distortion correction coefficients. The list of distortion correction coefficients may be generated by characterizing the performance of a plurality of different DACs. The harmonic correction 440 may apply a distortion correction coefficient to the signals output from the primary signal generator 410 to generate an image signal that cancels or attenuates image distortions of a target DAC. Similarly, the image correction 450 may apply a distortion correction coefficient to the image signals output from the image signal generator 415 to generate a harmonic signal that cancels or attenuates harmonic distortions of a DAC that is to convert the input digital data.
The clock spur distortion module 455 may correct for signal distortions resulting from the clock spurs caused, for example, by leakage or digital activity. The IMD 457 may correct for distortions that may have resulted from unwanted combining of signals during modulation.
The adder 460 and the second adder 470 may sum the signals to generate an output signal that is to be transmitted to the target DAC.
The pre-distortion module 400 may receive an input digital data signal. The complex input digital data signal may have real domain and imaginary domain components. The received digital data signal may be input to both the primary signal generator 410 and the image signal generator 415. The primary signal generator 410 may be used to generate harmonic signals at harmonic frequencies that are known to be produced by a DAC to which the output signal will be provided. The image signal generator 415 may be used to generate image signals at frequencies that are known to be produced by a DAC to which the output signal will be provided. The harmonic and image signals can be computed from the primary signal without knowledge of the primary signal frequency and through prior knowledge of the distortion mechanisms within the DAC. The controller 420 in response to an input signal may output a control signal to the modulation correction look-up table. The modulation correction look-up table 430 may have an input connected to the controller 420 and outputs connected to the harmonic correction 440 and the image correction 450. The modulation correction look-up table 430 may store correction coefficients in a look-up table. The look up table may be populated with a plurality of differing constants and correction coefficients and factors, such as correction coefficients β to correct for harmonic distortions and image correction coefficients γ to compensate for image signal distortions in the DAC. The correction coefficients may be determined by applying different signals to the DAC and calibrating the β and γ correction coefficients to values that result in acceptable harmonic and image distortion levels. The other constants, coefficients and factors may be similarly determined by exercising the DAC (and other DACs) to determine the characteristics of the target DAC. The correction coefficients that may be accessible, or provided, to the harmonic correction 440 or the image correction 450 may depend on the control signal provided by the controller 420.
The harmonic correction 440 may have an input for receiving data from the primary signal 410 and an input for receiving correction data from the modulation correction look-up table 430. The harmonic correction 440 can correct for any number of harmonics that may appear in a signal as a result of timing mismatches and other non-linear circuit characteristics of the RF DAC. The image correction 450 may have an input for receiving data from the image signal generator 415 and an input for receiving correction data. The image signal may be a scaled and frequency mirrored (folded) version of the input signal that is an unwanted signal in the desired spectrum. The image signal may, for example, be generated by modulation against a clock signal due to parasitics in the RF DAC. The image correction 450 may correct any number of image signals that may need to be corrected. The IMD 457 may receive the primary signal from the primary signal generator 410 and a secondary signal from, for example, the controller, or other source. The clock spur 455 may provide correction signals to attenuate any distortions resulting form clock signal spikes. The adder 460 may have inputs to receive signals from the harmonic correction 440 and the image correction 450. While inputs to another adder 470 may include the outputs of primary signal generator 410 and adder 460. The output of adder 470 may be output from the pre-distortion module 400 as a pre-distorted signal to the RF DAC. The pre-distortion module 400 may be located in the same integrated circuit chip as an FPGA, a DAC or in a separate integrated chip, such as an ASIC.
In operation, the pre-distortion module 400 may receive digital data that is to be transmitted at an input. The primary signal generator 410 and image signal generator 415 may generate a primary signal and image signals representing the received digital data. The generated primary signal and image signals may have a complex domain representation including of each signal. The primary signal generator 410 and image signal generator 415 may provide the respective generated signals to both the harmonic correction 440 and the image correction 450, respectively. The controller 420 may receive a control signal indicating, for example, the type of signal being transmitted to the DAC. Based on the received control signal, the controller 420 may generate an index value that is output to the modulation correction look-up table 430. In response to the received index signal, the modulation correction look-up table 430 may output (or make available) correction coefficients to the harmonic correction 440 and image correction 450 for correcting distortions.
The IMD 457 may receive the signals generated by the primary signal generator 410 and secondary signals provided, for example, by a second primary signal generator (not shown) corresponding to a different block of channels being transmitted. The secondary signals may then be combined by the IMD 457 with signals output from the primary signal generator 410 to produce an error signal that corrects for the known inter-modulation-products of the target DAC. The correction signals may be determined when the DAC is characterized. The output of the IMD 457 may be provided to adder 470.
The clock spur correction module 455 may generate correction signals that attenuate clock spurs that may result during digital-to-analog conversion in the target DAC. These clock spurs may be determined when the DAC is characterized. The output of the clock spur correction module 455 may be provided to adder 470.
The harmonic correction 440 may apply the harmonic correction coefficients (β) to the real domain data signal and the complex domain representation of the data signal. The harmonic correction coefficients (β) may identify, for example, constants for modulating the processed real and complex signals to cancel or attenuate the harmonic signals. The image correction 450 may apply the image correction coefficients (γ) to the real domain and complex domain representations of the image signals. The image signals may be signals that are folded and appear in an output of the DAC. The image correction coefficients (γ) may identify constants used for modulating the processed real and complex signals to cancel or attenuate the image signals.
The corrected real domain data signal and the complex domain representation of the data signal output from the harmonic correction 440 may be applied to the adder 460. The modulated real domain data signal and the complex domain representation of the image data signal output from the image correction 450 may also be applied to the adder 460. The adder 460 may sum the provided signals, and output the signals to the adder 470. The adder 470 may sum the primary signal with the output of adder 460, and output the summed signals.
The primary signal generator 410 and image signal generator 415 will now be described in more detail with reference to the FIG. 5. FIG. 5 illustrates an exemplary implementation for generating the primary signal and the image signal according to an embodiment of the present invention. Other methods and implementations or configurations may be used to generate the respective primary and image signals. The signal notation of FIG. 5 is similar to that of FIG. 3 above.
Signal gk(n) may be a complex baseband signal of the kth block of 6 or 8 MHz signals of which signal gkR(n) is the real part and signal gkI(n) is the imaginary part. The notation k can represent the number of data channels, and may be 1 channel up to as many channels as the system is capable of handling. Signal gkR(n) may be provided to a first input of mixer 511. Another input to the mixer 511 may be a sine wave signal of the form, sin(θkn). The output of mixer 511 [gkR(n)·sin(θkn)] may be provided to adder 532. Signal gkR(n) may also be provided to a first input of mixer 513. Another input to the mixer 513 may be a cosine wave signal of the form, cos(θkn). The output of mixer 513 [gkR(n)·cos(θkn)] may be provided to adder 534. Signal gkI (n) may be provided to a first input of mixer 523. Another input to the mixer 523 may be a cosine wave signal of the form, cos(θkn). The output of mixer 523 [gkI(n) ̃cos(θkn)] may be provided to adder 532. Signal gkI(n) may also be provided to a first input of mixer 521. Another input to the mixer 521 may be a sine wave signal of the form, sin(θkn). The output of mixer 521 may be provided to adder 534.
Adder 532 may have inputs to receive the mixed signal [gkR(n)·sin(θkn)] from mixer 511 and mixed signal [gkI(n)·cos(θkn)] from mixer 523. The mixed signals [gkR(n)·sin(θkn)] and [gkI(n)] are added by adder 532. The output hkI(n) of adder 532 is the imaginary part of the complex signal hk(n) for the respective channel block k. Adder 534 may have inputs to receive signals from mixer 513 and mixer 521. Adder 534 may have inputs to receive the mixed signal [gkR(n)·cos(θkn)] from mixer 513 and mixed signal [gkI(n)·sin(θkn)] output from mixer 521. Adder 534 outputs the difference between [gkR(n)·cos(θkn)] and [gkI(n)·sin(θkn)] as signal hkR(n) for the respective channel block k.
The adder 532 and 534 may output signals hkI(n) and hkR(n), respectively, which may be summed for each channel k by channel summing 552. Channel summing 552 may output primary signals xI(n) (Complex domain) and xR(n) (Real domain). The signal xiR(n) is the same as xR(n). The complement block 554 has as an input, signal xI(n) and may output the signal xiI(n). The complement block performs the function of sign inversion i.e. its output is the negated input signal. Output data signals xi I(n), xi R(n), xI(n) and xR(n) may be provided, for example, to pre-distortion circuit 350 of FIG. 3.
FIG. 6 illustrates the exemplary implementation of a correction circuit for modulating the image signals to the appropriate locations for cancellation according to an embodiment of the present invention. Using the data signals xiI and xiR and their complements −xiI and −xiR, image correction terms yi1(n) are generated.
The data signals xiI and xiR and their complements −xiI and −xiR may be provided to multiplexors 610 and 620. Multiplexor 610 may receive a code, for example, code 1, identifying which signals may be provided to the mixer 613 at different points in time. Code 1 may be based on a characterization of the DAC and may be provided, for example, from a modulation correction look-up table of FIG. 4. Modulation correction coefficients γ11 may be input to the mixer 613 to combine with the data signal provided by the multiplexor 610. The output of mixer 613 may be provided to adder 630. Similarly, multiplexor 620 may receive a code, code 2, identifying which signals are provided to the mixer 623 at different points in time. Code 2 may also be based on a characterization of the DAC and may be provided, for example, from the modulation correction look-up table of FIG. 4. Modulation correction coefficients γ12 may be input to the mixer 623 to combine with the data signal provided by the mux 620. The output of mixer 623 may be provided to adder 630, which may combine the modulated corrected signals, and output image correction signal yi1(n).
The configuration illustrated in FIG. 6 may be repeated for any number of image correction signals. For example, in an exemplary embodiment, image signals at the frequencies fdac/4-fout, fdac/2-fout, and 3fdac/4-fout may be generated using different multiplexer codes. For example, Code 1 may be the repeated pattern [0,3,2,1] and Code 2 may be the repeated pattern [1,0,3,2] for the image signal fdac/4-fout (where fout may be the center frequency of the signal being input to the DAC). For the image signal fdac/2-fout, code 1 may be the repeated pattern [0,2,0,2] and code 2 may be the repeated pattern [1,3,1,3]. Meanwhile, for the image signal 3*fdac/4-fout, code 1 may be the repeated pattern [0,1,2,3] and Code 2 may be the repeated pattern [1,2,3,0]. Using the different configurations, correction coefficients and multiplexor codes, different image correction yi1(n) signals may be generated.
Additional types of distortion may also be generated by a DAC that may or may not need to be addressed depending upon the application. For example, a high-definition audio system may require additional distortions such as intermodulation or spurious noise distortions generated by a DAC to be attenuated, while a standard definition audio signal may not. Alternative embodiments of the predistortion system can accommodate the correction of these other distortions as illustrated in FIGS. 7 and 8 below.
FIG. 7 illustrates an exemplary implementation of a correction circuit for generating the intermodulation distortion (IMD) cancellation term according to an embodiment of the present invention. The correction circuit 700 generates the intermodulation distortion (IMD) cancellation term. For example, signals x1R(n) and x1I(n) are the secondary signals corresponding to a block of channels that are separated in frequency from the primary channels xR(n) and xI(n) being pre-distorted.
In the exemplary implementation, the correction circuit 700 may include mixers 710, 715, 719, 720, 725 and 729, and adders 717, 727 and 730. The mixer 710 may have inputs for a real domain signal to be transmitted xR(n) and a real domain block of channel signals x1R(n). The output signal x R(n)•x1R(n) of mixer 710 may be provided to adder 717. The mixer 715 may have inputs to receive signals x I(n), the imaginary part of the primary signal and x1I(n), the imaginary part of the secondary signal. The output x I(n)•x1I(n) of mixer 715 may be provided to adder 717. Adder 717 may receive the mixed signals from mixers 710 and 715, and performs a summation operation. The added signals from adder 717 may be applied to mixer 719, which also has an input for an intermodulation distortion (IMD) cancellation term β5. The intermodulation distortion (IMD) cancellation term β5 term may also be provided by modulation correction look-up table shown in FIG. 3. The intermodulation distortion (IMD) cancellation term may be used to cancel intermodulation distortion caused by the mixing of the primary and secondary channels due to non-linearities in the DAC. The mixed signal output from mixer 719 may be provided to an input of adder 730. The mixer 720 may have inputs for imaginary domain signal to be transmitted xI(n) and real domain block of channel signals x1R(n). The output signal x1R(n)•xI(n) from mixer 720 may be provided to adder 727. The mixer 725 may have inputs to receive signals from the real domain xR(n) and block of channel x1I(n). The output xR(n)•x1I(n) of mixer 725 may be provided to adder 727.
Similarly, adder 727 may receive the mixed signals from mixers 720 and 725, and performs a differencing operation. The added signals from adder 727 may be applied to mixer 729, which also has an input for an intermodulation distortion (IMD) cancellation term β6. The intermodulation distortion (IMD) cancellation term β6 may also be provided by modulation correction look-up table shown in FIG. 3. The intermodulation distortion (IMD) cancellation term may be used to cancel intermodulation distortion.
The mixed signal output from mixer 729 may be provided to an input of adder 730. Adder 730 may sum the mixed signals from mixers 719 and 729 to provide intermodulation distortion (IMD) cancellation term that will be forwarded to the DAC.
FIG. 8 illustrates an exemplary implementation of a correction circuit for generating a clock-spur correction term according to an embodiment of the present invention.
The structure of a clock-spur correction circuit may be similar to the circuit of FIG. 6 above. The 0, 1 and −1 terms may represent constants that are hardwired in the digital circuitry and make up the sequence that is the time-domain signature of the frequency-domain fdac/4 spur. The delta terms (61 and 62) may be constants that are provided by a controller and are determined during calibration of the DAC. The signals 0, 1, −1 may be provided to multiplexors 810 and 820. Multiplexor 810 may receive a code, for example, code 3, identifying signals that may be provided to the mixer 815 at different points in time. Code 3 may be based on a characterization of the DAC and may be provided from the modulation correction look-up table of FIG. 4, and may be one of a plurality of different codes. Constant δ1 may be input to the mixer 815 to combine with the data signal provided by the multiplexor 810. The output of mixer 815 may be provided to adder 830. Similarly, multiplexor 820 may receive a code, e.g., code 4, identifying which signals are provided to the mixer 825 at different points in time. Code 4 may also be based on a characterization of the DAC, and may be provided from the modulation correction look-up table of FIG. 4. Constant δ2 may be input to the mixer 825 to combine with the data signal provided by the multiplexor 820. The constant δ1 and δ2 may be any one of a plurality of different coefficients related to different frequency-domain fdac/4 spurs, and may be stored in a modulation correction look-up table, for example as shown in FIG. 4. The output of mixer 825 may be provided to adder 830. The adder 830 may combine the modulated corrected signals, and may output a clock-spur correction signal Yspur(n). The above describes the individual generation of each of the predistortion signals that may be applied to a DAC.
FIG. 9 illustrates a combination of the individual circuits described above with respect to FIGS. 7 and 8 into a single implementation to provide a predistorted signal with the data signal to be transmitted to the DAC. FIG. 9 illustrates an approach to canceling 2nd and 3rd order distortions, IMD, clock spurs and images at fdac/4-fout, fdac/2-fout and3fdac/4-fout according to an embodiment of the present invention.
The predistorter 900 may receive data signals, such as the data signal x(n) to be transmitted with xR(n) representing the real part and xI(n) representing the imaginary part of data signal x(n), and image correction signals yi1(n), yi2(n), yi3(n) representing the fdac/4-fout, fdac/2-fout and 3*fdac/4-fout images, respectively. The predistorter 900 may have inputs for correction coefficients retrieved or provided from a look-up table.
When the circuit provides, second order straight/folded-back harmonic correction, the real data signal xR(n) may be input to two inputs of mixer 911, which squares the data signal. For example, the output of mixer 911 may be [xR(n)]2. The imaginary data signal xI(n) may be input into two inputs of mixer 913, and the output of mixer 913 may be [xI(n)]2. The outputs of mixer 911 and 913 may be applied to adder 921.
The output of adder 921 may be the difference between the square of xR(n) and the square of xI(n). The output of adder 921 may be applied to mixer 931. Another input to mixer 931 may be a harmonic modulation correction coefficient β1 that may be obtained from a modulation correction look-up table. The output of mixer 931 may be applied to an input of adder 941.
The real data signal xR(n) and the imaginary data signal xI(n) may also be provided to mixer 915. The output of mixer 915 may be [xR(n)]•[xI(n)]. The output of mixer 915 may be applied to bitwise shift 920, which shifts the mixed [xR(n)]•[xI(n)] one bit value, which performs a multiplication by 2. The output of bitwise shift 920 may be (2×[xR(n)]•[xI(n)]). The output of bitwise shift 920 may be input to mixer 933. Another input to mixer 933 may be a harmonic modulation correction coefficient β2 that may be obtained from a modulation correction look-up table. The output of mixer 933 may be applied to an input of adder 941.
With mixed signal from mixer 931 and the mixed signal from mixer 933 applied to adder 941, the output of adder 941 may provide a straight/folded back second order harmonic correction signal. This correction signal may be used to cancel distortions caused by the second-order distortion mechanisms within the DAC. The summation of the output from mixer 931 and mixer 933 by adder 941 may be applied to adder 958 in the output signal path.
In order to provide third order straight/folded-back harmonic correction, the output of the bitwise shift 920 may be applied to mixer 919, and another input of mixer 919 may be real data signal xR(n). The output of mixer 919 may be applied to adder 925, and the output of adder 921 may be applied to mixer 917, Mixer 917 may have another input for complex data signal xI(n). The output of mixer 917 may be applied to adder 925. The summation of adder 925 may be input to mixer 937, and another input to mixer 937 may be a modulation correction coefficient β4. The output of mixer 937 may be provided to adder 942.
Mixer 912 may have an input to receive output of adder 921, and an input for real data signal xR(n). The output of mixer 912 may be applied to adder 923.
Mixer 914 may have an input for the output of bitwise shift 920, and an input for complex data signal xI(n). The output of mixer 914 may be applied to adder 923. Adder 923 may subtract the output of mixer 914 from the output of mixer 912. The output of adder 923 may be applied to mixer 935. Another input of mixer 935 may be a modulation correction coefficient β3. The output of mixer 935 may be applied to adder 942.
The output of adder 942 may provide a third order straight/folded-back harmonic correction signal. This correction signal may be used to cancel distortions caused by the third order distortion mechanisms within the DAC. The output of adder 942 may be applied to adder 956 in the output signal path.
Image correction signal yi1(n) corresponding to the fdac/4-fout image may be input to adder 953 in the output signal path. Image correction yi2(n) corresponding to the fdac/2-fout image may be input to adder 952 in the output signal path. Image correction yi3(n) corresponding to the 3*fdac/4-fout image may be input to adder 951 in the output signal path.
Additional correction signals may include the intermodulation correction signals. The intermodulation correction signal yimd(n) may be applied to adder 950 in the output signal path. This correction signal may be used to correct for the intermodulation distortion products formed from the product of any two channels in the DAC output spectrum that are widely separated in frequency. The non-linearity in the DAC switch and other non-linearities in the signal chain may give rise to these intermodulation products. Meanwhile, a spurious noise correction signal yspur(n) may be applied to adder 950 in the output signal path. The spurious noise correction signals may be used to remove the fdac/4 clock spur that is present in the output spectrum. This may be a spur caused, for example, due to on-chip digital activity at the fdac/4 rate. The sum of yimd(n) and yspur(n) from adder 950 may be applied to adder 951 in the output signal path.
Real data signal xR(n) may be applied to adder 954 in an output signal path. The output signal path may include the input signals to adders 950-954 that may be combined, and input to adder 956. The third order harmonic correction signal may be input to the input of adder 956 to be combined with combined image correction and data signals. The output of adder 956 may be applied to an input of adder 958 where it is summed with the output from third order harmonic correction. The output of adder 958 may be output from the predistorter 900 as a real signal y(n).
The predistorted output signal y(n) may include image correction signals, yi1(n), yi2(n), yi3(n), harmonic correction signals, clock-spur correction signals and data signal xR(n). Of course, depending upon the application, different combinations of correction signals may be combined to form the predistorted output signal y(n). For example, due to process variations, some DACs may not exhibit significant clock spur energy. In this case, the clock spur correction signal may not be needed. In addition, not all distortion components may be present at the output of all DACs due to varying sensitivities of the individual DACs. In this case, only the predistortion terms corresponding to the distortion components present in the DAC output are applied.
FIGS. 10A-10C provide exemplary implementations of pre-distortion circuits. As packaging techniques improve and become less expensive, it is envisioned that the pre-distortion may be implemented, for example, with the DAC packaging.
FIG. 10A may represent an integrated circuit chip with the predistortion components incorporated in an FPGA or ASIC. FIG. 10B may represent a configuration in which the predistortion components are incorporated in an IC with a digital-to-analog converter. FIG. 10C may represent a configuration in which the predistortion components are incorporated in a separate IC package.
Several features and aspects of the present invention have been illustrated and described in detail with reference to particular embodiments by way of example only, and not by way of limitation. Those of skill in the art will appreciate that alternative implementations and various modifications to the disclosed embodiments are within the scope and contemplation of the present disclosure.

## Claims

1. A predistortion system, comprising:
an input to receive a plurality of different types of input signals including audio and/or video signals;
digital signal generators to generate harmonic signals and image signals at predetermined frequencies of an input signal, wherein the digital signal generators comprise:
a primary signal generator that generates the harmonic signals at the predetermined harmonic frequencies, and
an image signal generator that generates the image signals at predetermined image frequencies;

a controller to select correction coefficients in response to a control signal indicating an input signal type; and
correction modules to apply correction coefficients selected in response to the control signal to the generated harmonic and image signals to generate pre-distorted signals.

2. The predistortion system of claim 1, wherein the controller comprises:
an input for receiving a control signal indicating the signal type of the input signal;
and an output connected to the correction modules.

3. The predistortion system of claim 1, wherein the correction modules comprise:
mixers to modulate the generated harmonic signals and image signals with respective ones of the selected correction coefficients to generate the pre-distorted signals.

4. The system of claim 1, further comprising:
a digital to analog converter, wherein the correction coefficients characterize harmonic and image signal distortions generated by the digital to analog converter and the generated pre-distorted signals attenuate or cancel harmonic or image signals generated by the digital to analog converter.

5. The system of claim 4, wherein the signal generators, controller, correction modules and digital to analog converter are provided within a common integrated circuit.

6. The system of claim 4, wherein the signal generators, controller, correction modules and digital to analog converter are provided within separate integrated circuits.

7. The system of claim 1, further comprising:
a modulation correction coefficient look-up table storing the correction coefficients.

8. The system of claim 1, further comprising:
an inter-modulation-product correction module for correcting an intermodulation distortions of a target digital to analog converter.

9. The system of claim 1, further comprising:
a clock spur correction module for correcting clock spur distortions of a target digital to analog converter.

10. A system for eliminating signal distortion, comprising:
a signal processing circuit to receive an input signal and generate signal distortions of the input signal for transmission;
a pre-distortion circuit to apply distortion correction signals in response to a control code output by the signal processing circuit; and
a digital-to-analog converter to convert the combined pre-distortion signals and the generated digital signals into reduced distortion analog output signals; wherein
the signal processing circuit comprising:
a controller to receive a signal indicating the input signal type including audio and/or video signals, and to output a control code related to the input signal type;
a modulation correction look up table to provide correction terms in response to the control code; and
modulation circuitry to modulate the digital signals generated by the signal processing circuit to overcome distortion injected by the digital-to-analog converter.

11. A method for introducing a pre-distortion signal in a communication channel, comprising:
receiving a digital input signal, wherein the digital input signal is one of a plurality of different types of digital input signals including audio and/or video signals;
generating one or more primary signals at harmonic frequencies of the input signal from the input signal based on estimated harmonic distortion induced by a digital to analog converter (DAC) for the type of the digital input signal;
generating one or more image correction signals of the input signal based on estimated image distortion induced by the DAC for the type of the digital input signal;
combining the primary signal(s) and the image correction signal(s); and
outputting the combined signal to the DAC.

12. The method of claim 11, wherein the method is performed in a common integrated circuit as the DAC.

13. The method of claim 12, further comprising:
formulating the correction coefficients in the look up table based on a distortion characterization of a digital-to-analog converter that is to convert the digital data.

14. The method of claim 11, wherein the method is performed by a pre-processor on an integrated circuit separate from an integrated circuit of the DAC.

15. The method of claim 11, further comprising, prior to the receiving, populating look up tables with correction coefficients indicative of the harmonic distortion and image distortion.

16. The method of claim 11, wherein the generation of primary signals comprises:
modulating the input signal to generate multiple channels of modulated signals;
mixing a real component of the modulated signals for each of the multiple channels with both a first sinusoidal signal using a first mixer and a second sinusoidal signal using a second mixer;
mixing an imaginary component of the modulated signals for each of the multiple channels with both a first sinusoidal signal using a first mixer and a second sinusoidal signal using a second mixer;
summing the real component modulated by the first sinusoidal signal with the imaginary component modulated by the second sinusoidal signal to generate a primary modulated, complex domain signal for a respective one of the multiple channels of modulated signals;
taking the difference of the real component modulated by the second sinusoidal signal and the imaginary component modulated by the first sinusoidal signal to generate a primary modulated, real domain signal for a respective one of the multiple channels of modulated signals;
summing all of the modulated, complex domain signals for each respective channel of the multiple channels of modulated signals and all of the modulated, real domain signal generated for each respective channel of the multiple channels of modulated signals; and
outputting a replica of the input signal as a complex domain signal comprising the primary signal.

17. The method of claim 11, wherein the generation of image correction signals comprises:
modulating the input signal to generate multiple channels of modulated signals;
mixing a real component of the modulated signals for each of the multiple channels with both a first sinusoidal signal using a first mixer and a second sinusoidal signal using a second mixer;
mixing an imaginary component of the modulated signals for each of the multiple channels with both a first sinusoidal signal using a first mixer and a second sinusoidal signal using a second mixer;
taking the difference of the real component modulated by the first sinusoidal signal with the imaginary component modulated by the second sinusoidal signal to generate a modulated, complex domain image signal for a respective one of the multiple channels of modulated signals;
summing the real component modulated by the second sinusoidal signal and the complex component modulated by the first sinusoidal signal to generate a modulated, real domain image signal for a respective one of the multiple channels of modulated signals;
summing all of the modulated, complex domain image signals for each respective channel of the multiple channels of modulated signals and the modulated, real domain image signals for a respective one of the multiple channels of modulated signals; and
outputting an image signal.

18. The method of claim 11, further comprising:
applying modulation correction coefficients retrieved from a modulation correction look up table to the input signal.

19. The method of claim 11, wherein the correction coefficients are generated for pre-distorting the digital data signals to attenuate the characterized distortions of the digital-to-analog converter.

20. The method of claim 11, further comprising:
retrieving an intermodulation distortion cancellation term, from a look up table, wherein the intermodulation distortion cancellation term is used to cancel intermodulation distortion.

21. The method of claim 20, further comprising:
combining the harmonic correction signal, the one or more image correction signals, the intermodulation distortion cancellation term, and the output signal into a combined output signal.

22. A pre-distortion device, comprising:
a converter to generate, from an input signal, digital data in a complex data domain including real data components and imaginary data components, wherein the converter comprises a primary signal generator to generate a real domain digital signal and an image signal generator to generate an imaginary domain digital signal;
a look up table including correction coefficients to correct harmonic distortion and image distortions;
a modulator to apply correction coefficients retrieved from the look up table to the real domain and complex domain digital data, and to generate pre-distorted digital data to attenuate the characterized distortions of a digital-to-analog converter;
a combiner to combine the pre-distorted harmonic correction signals and the pre-distorted image correction signals with the provided digital data in the real data domain and in the complex data domain; and
a transmitter to transmit the combined signal to the digital-to-analog converter (DAC).

23. The pre-distortion device of claim 22, wherein the modulation circuitry comprises:
a harmonic correction module comprising an input to receive the real data components of the digital signal generated by the primary signal generator, and an input to receive the correction coefficient for harmonic signals; and
an image correction module comprising an input for the imaginary data components of the input digital signal generated by the image signal generator, and an input for the correction coefficient for image signals.

24. The pre-distortion device of claim 22, wherein the correction coefficients in the look up table are formulated based on a distortion characterization of a digital-to-analog converter that is to convert the digital data.

25. The pre-distortion device of claim 22, further comprises:
an intermodulation distortion circuit that generates an intermodulation correction term to cancel intermodulation distortion of the DAC.

26. The pre-distortion device of claim 22, wherein the combining circuit combines intermodulation distortion cancellation term, the pre-distorted harmonic correction signals and the pre-distorted image correction signals with the provided digital data in the real data domain and in the complex data domain.