Abstract:
In an arrangement where an incoming QPSK signal contains a PRN every N frames, oscillator synchronization is achieved via control signals that are developed from the PRN frame by rotating the vectors derived from demodulated received signal, applying a complex tracking filter to the results, averaging the results, performing phase accumulation, and developing an analog voltage to be applied to a voltage controlled oscillator through D/A conversion.

Description:
BACKGROUND OF THE INVENTION 
     This invention relates to Synchronization of oscillators, and more particularly to synchronization of oscillators of modems at customer premises equipment (CPE) to oscillators at the Local Exchange carrier (LEC) in a Discrete Multi-Tone (DMT) based digital subscriber loop (DSL). 
     For purposes of the digital subscriber loop, the clock at the LEC is considered to be the master clock, and the CPE modem needs to synchronize its sampling clock to that of the LEC. Modems that are based on DMT technology are governed by the T1.413 ANSI Standard, which specifies a frame that contains a Pseudo-Random Number sequence (PRN). The PRN signal frame is used during acquisition and steady state data transmission. During the acquisition period numerous PRN frames are sent back and forth between the modems at the LEC that contains the master clock and the CPE modem that contains the slave clock. These frames are used for channel estimation and for acquisition of frame synchronization. According to the Standard, after frame synchronization is established, the standard nevertheless calls for a PRN frame to be injected into the signal stream every 69 frames. Conventionally, the injected PRN frame is used to maintain frame synchronization. 
     To maintain clock synchronization, the ANSI Standard specifies one frequency bin in the DMT schema that is to be used as a pilot signal. This, of course, reduces the overall throughput of the system, because one frequency bin is made unavailable by the pilot signal. 
     SUMMARY 
     An advance in the art is realized by refraining from using the provided-for frequency bin for the pilot signal and, instead, using this bin for data. Oscillator synchronization is achieved via control signals that are developed from the PRN frame that arrives once every 69 frames. The control signal is developed by rotating the vectors derived from the FFT-demodulated received signal, applying a complex tracking filter to the results, averaging the results, performing phase accumulation, and developing an analog voltage to be applied to a voltage controlled oscillator through D/A conversion. 
    
    
     BRIEF DESCRIPTION OF THE DRAWING 
     FIG. 1 shows the ideal received QPSK vectors, the variation from the ideal due to frequency mismatch, and the rotation of all vectors to zero that is performed in block  10  of FIG. 1; 
     FIG. 2 presents a block diagram of processing that carried out on the received PRN sequence to yield a voltage to control a voltage controlled crystal oscillator (VCXO); 
     FIG. 3 shows the processing carried out in block  20  of FIG. 2; 
     FIG. 4 shows the processing carried out in block  40  of FIG. 2; and 
     FIG. 5 shows a block diagram of elements included within block  50  of FIG.  2 . 
    
    
     DETAILED DESCRIPTION 
     FIG. 1 shows the constellation of received transmitted QPSK PRN signals  11 ,  12 ,  13 , and  14 . When signal  14  is transmitted and the conditions are ideal, the signal  14  would be received. However, because of noise perturbations and mismatches in the frequencies of the oscillators in the transmitting and the receiving modems, the received signal may not be signal  14 , but rather, signal  15 . To decode the received signal, the only decision that needs to be made with respect to the received signal is the quadrant in which the signal is found. 
     While the synchronization disclosed herein is applicable to various arrangements, to simplify the exposition, it is assumed that the timing source is the oscillator of the LEC modem, and the timing sink is the oscillator in the LEC modem, in which circuitry executes a timing recovery algorithm so as to synchronize its voltage-controlled crystal oscillator (VCXO) to the LEC modem&#39;s oscillator within an acceptable frequency deviation tolerance. 
     Generally speaking, the synchronization mechanism disclosed herein is accomplished by building an estimate of the phase difference between the CPE modem&#39;s received signal and the transmitted signal, processing the sampled differences in a second-order PLL (composed of an IIR lowpass filter and phase accumulator), and controlling the CPE&#39;s VCXO via a either a D/A converter, or a pulse-width modulator coupled with an analog lowpass filter. 
     The receiver&#39;s challenge is to determine what the transmitted signal was, but if the synchronization is performed during the time the transmitted signal is a known training or synchronization string, or during the time the transmitted signal employs a sparse constellation, the challenge for the receiver is minimized. In the following, a signal that carries known information or one that carries its information in a sparse constellation is termed a KS signal. A sparse constellation is a constellation that allows a receiver to detect the information embedded in the signal with an error probability of less than some selected value, for example, 5%. 
     In the illustrative embodiment depicted in FIG. 2, the synchronization is carried out during the PRN sequence, which employs a four-point constellation (so, it is both known and sparse). Specifically, FIG. 2 comprises a rotator  10 , a tracking module  20  responsive to the signal developed by element  10 , a low-pass filter and phase accumulator  40  allowing element  20 , and a D/A converter and VCXO unit  50  responsive to the signal of element  40 . 
     Rotator block  10  develops phase difference signals between the expected signal (i.e., the ideal QPSK PRN reference) and what is actually received. Since it is known what the transmitted sequence is, each incoming complex symbol is multiplied by an phase corresponding to the appropriate pair of bits in the PRN sequence, and that yields—absent oscillator frequency mismatch and noise—a signal that has only a real value (normalized to 1, for example). Because of oscillator frequency mismatch and noise, however, the normalized signal is not strictly real but, rather, is somewhere along the unit circle at some angle other than 0. This is illustrated in FIG. 1, as mentioned above, by the received signal  15 , which differs from the sent signal symbol  14  and which, when multiplied by e j3π/4 , yields the signal  16 . 
     The output of complex quadrant rotator  10  is applied to tracking filter  20 , which calculates the phase of a vector related to an approximation of the integral of the “real” and the “imaginary” components of each symbol, m, outputted by rotator  10 . An approximation is used to realize a fast and inexpensive embodiment. That is, a leaky integrator is employed, as depicted in FIG. 3, that is formed from elements  21 ,  22 ,  23 ,  25  and  26 . The output of adder  23  corresponds to the output of the leaky integrator. That output, which is applied to subtractor  25 , forms the current estimate of the “imaginary” component of the approximation of the integral. That estimate is sampled in sample and hold circuit  26 , to yield the approximation of the integral that is used in the next time &lt;frame. 
     The input to sample-and-hold circuit  26  at time frame n and complex symbol (frequency bin) m is B n =B n   o −Δ n ·A n   o , where B n   o  is the output of adder  23  in the leaky integrator, and the Δ n ·A n   o  is the output of multiplier  34 . The output of adder  23  is B n   o =B n−1 +2 −λ (b n −B n−1 ), where b n  is the “imaginary” input of the symbol. Similarly, elements  31 ,  32 ,  33 ,  35 , and  36  combine to form a leaky integrator, and multiplier  24  and adder  35  combine to form the signal A n =A n   o −Δ n ·B n   o , where A n   o =A n−1 +2 −λ (a n −A n−1 ), Δ n ·B n   o  is the output of multiplier  34 , and a n  is the “real” input of the symbol. As can be surmised from the above, the elements  22  and  32  are “multiply by 2 −λ ” circuits that can be realized through a simple right-shift register operation. When the b n  and the a n  signals are expressed in 16 bits, the value of λ is typically between 8 and 16, and the arithmetic following circuits  22  and  32  are carried out with 32-bit precision. 
     The frequency of the sampling clock in elements  26  and  36  is approximately 4312 Hz during the acquisition phase (i.e., when the modem communication is first initiated), and is approximately 471 Hz otherwise (i.e., during the tracking phase). 
     The B n−1  output of element  26  and the A n−1  output of element 36 are applied to block  27  where the step size and an angle of the phasor represented by B n−1  and A n−1  are computed. The step size, Δ, is computed in accordance with the equation Δ n =K sin(Φ n )≈KB n−1 , where, illustratively, K=2 −4 . Other values of K can also be employed. The angle of the phasor generated by circuit  20  is expected to be small, so an approximation of the angle is computed by the quotient of the two input signals; that is, 
     
       
         Φ n =tan −1 ( B   n−1   /A   n−1 )≈( B   n−1   /A   n−1 ). 
       
     
     This, of course, is evaluated for each value of m. The result is averaged in block 28 in accordance with the following equation:            Φ   _     n     =       1   M            ∑     m   =   1     M                           (     Φ   n     )     m     m     .                                
     The output of block  20  is applied to low pass filter/phase accumulator block  40 , the details of which are shown in FIG.  4 . Elements  41 - 44  form the low pass filter, realizing the difference equation 
     
       
         Φ n =Φ n−1 +2 −α (Φ n −Φ n−1 ) 
       
     
     at the output of adder  43 . The value of a is typically in the range of 4 to 6. Elements  45 - 48  form the phase accumulator, realizing the difference equation 
     
       
         Φ n +2 −γ   c   n−1   
       
     
     at the output of adder  48 , which is also the output of the phase accumulator, where 
     
       
           c   n−1   =c   n −Φ n . 
       
     
     The value of y is typically in the range of 10 to 14. 
     The output of the phase accumulator is applied to block  50 , a block diagram of which is shown in FIG.  5 . Circuit  51  in FIG. 5 simply discards a number of least significant bits. The incoming signals are 32-bit words in 2&#39;s complement format. Circuit  51  truncates the signals to 14-bit, 2&#39;s complement words and applies the resulting signal to DIA converter  52 . Circuit  52  can be any conventional D/A circuit. A fairly inexpensive construction that can be employed converts the number to sign-magnitude format, places the magnitude portion in a down counter, counts the counter down to zero, and concurrently generates a positive or a negative pulse, based on the sign, for as long as the counter is greater than 0. The result is a pulse having a width that is directly proportional to the incoming signal&#39;s magnitude (14 bit resolution), and a sign that corresponds to the incoming signal&#39;s sign. The output signal of DIA converter  52  is applied to conventional low pass filter  53 , and the output signal of filter  53  is applied to the frequency control port of VCXO  54 . 
     The above discloses the principles of this invention by way of a specific embodiment. It should be realized, however, that persons skilled in the art might make various modification and additions thereto without departing from the spirit and scope of this invention. For example, the above describes a proportional computation of that step size. It is also possible to employ other relationships for computing the step size, such as a logarithmic proportional-integral control, where            Δ   n     =         sgn        (     B     n   -   1       )            [     1     2     (     K   -     log                 2        (   Pctr   )         )         ]       2       ,                          
     where K is a constant that equals 12 during acquisition and 10 during tracking, and Pctr is the value of a 10 bit PRN symbol counter that is incremented at each DMT PRN symbol time, and each time there is a sign change in B n−1  the Pctr counter is reset.