Method of processing signal data with corrected clock phase offset

Abstract
The present invention provides a method of processing signal data comprising generating a first clock signal and a second clock signal and processing the signal data using the first clock signal and the second clock signal. While processing the signal data, the phase difference between the first clock signal and the second clock signal is measured and corrected for so that a target phase difference between the first clock signal and the second clock signal is maintained.
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention


The present invention relates to processing signal data and in particular relates to correcting clock phase offset while processing signal data.


2. Description of the Prior Art


Clock path delay mismatch or clock phase offset is an important parameter in signal data processing and consequently in the design of signal data processors. As signal data processors become ever smaller (due to process shinking) and more complex, this parameter becomes a more significant problem faced by the designers of such signal data processors.


There are various reasons for the increasing significance of clock phase offset. Firstly as complementary metal-oxide-semiconductor (CMOS) minimum feature sizes become smaller, the mismatch between different clock buffers or different clock paths increases dramatically. It is known in the art that offset voltage is dependent upon the threshold voltage (Vt) mismatch and β mismatch. Although β mismatch contributes more with smaller feature sizes, in current mainstream CMOS technology, the Vt mismatch is the dominant factor. The Vt offset (Vos) can be calculated as the following equation:







Vos



rms


=

Av

nwl






where Vos is the RMS offset voltage,


Av is a process parameter,


n is the finger number, and


w and l are the MOSFET width and length respectively.


Although Av is improved slightly, in order to take advantage of the advanced CMOS technology, Vos is still increasing due to smaller MOSFET size. For each buffer stage, the delay mismatch (ΔTd) can be calculated as the following equation:







Δ





Td

=

Vos
SR





where SR is the clock slew rate.


Assuming same clock rate and same slew rate design, ΔTd is proportional to Vos as shown in FIG. 1. In this figure, threshold 1 is the switch point of a first clock buffer 1 and threshold 2 is the switch point of a second clock buffer 2. Threshold 1=threshold 2+Vos due to the mismatch.


Secondly, due to the increased complexity of mixed signal circuit (high speed PHY) designs, clock distribution becomes more involved. Clocks need more buffers or more complicated clock trees to be delivered to their destinations, which increases the clock delay mismatch significantly.


Thirdly, higher data and clock rates make the situation even worse even with the same ΔTd design. The phase offset is proportional to the data rate, thus worsening as data rates increase.


According to the prior art the clock phase offset is corrected for in an initial calibration phase, e.g. during power up reset. This initial calibration can correct most of the clock phase offset. The present techniques recognise that later-arising temperature and/or power supply (e.g. low frequency power supply noise) induced offset can cause further offset to be introduced. Such factors become more significant as geometries decrease and may cause the clock offset to vary. Such dynamic variation in the clock offset can lead to levels of jitter that are problematic when signal data processing.



FIG. 2 schematically illustrates an arrangement for the generation of two clock signals in a receiver aligned with a received data stream in the prior art. A voltage controlled oscillator (VCO) 10 generates a single frequency clock locked to a reference clock. I/Q clock generation block 20 creates two clock signals (I clock and Q clock) with a 90 degree offset from one another. In order to align these clocks with the received data stream, each of the I/Q clocks is then passed to two phase interpolators (PIs) 30 and 40. Phase interpolators 30 and 40 are controlled by the digital vector ctrl which is determined by the clock data recovery performed by clock data recovery unit 50 on the received data stream. Phase interpolators 30 and 40 then generate two new clocks iclk and qclk with 90 degree offset from one another, as well as aligned with the incoming data. The iclk and qclk clocks are then used to sample and recover the incoming signal data received by the apparatus. The calibration of this arrangement is provided by delay units 60 and 70, the control values of which are set in registers R1 and R2 at an initial calibration phase prior to processing data.


A data receiver may alternatively generate iclk and qclk aligned with a stream of received data by means of phase locked loop (PLL) based clock generation. An example arrangement is schematically illustrated in FIG. 3. Here a phase detector 100 receives the incoming data stream and passes phase information via a loop filter 110 to voltage controlled oscillator (VCO) 120. The VCO provides a reference signal to I/Q clock generator 130 which generates iclk and qclk. The iclk and qclk are fed back to phase detector 100, so that the loop is locked and so that iclk and qclk are aligned with the stream of received data. This arrangement could also be calibrated by delay units (not illustrated) at an initial calibration phase as discussed with reference to FIG. 2.


Returning to the example arrangement of FIG. 2, the phase interpolators, although perhaps initially calibrated by the delay units following them within the required tolerances, are recognised by the present techniques to suffer from various further impairments such as delay mismatch and integral non-linearity (INL). Because of this iclk and qclk not only suffer from static clock offset (e.g delay mismatch), but may also suffer from dynamically evolving clock offsets (e.g due to INL, temperature dependent delay mismatch or power supply dependent mismatch). The latter dynamic clock offsets are not addressed by power up reset or initial calibration, and as application speeds increase and process geometries decrease dynamic offset becomes one of the most significant limiting factors on coping with variations in clock phase offsets.


It is thus desirable to provide a method of processing signal data in which this dynamically arising clock offset is addressed.


SUMMARY OF THE INVENTION

According to a first aspect of the invention there is providing a method of processing signal data comprising the steps of:


generating a first clock signal and a second clock signal;


processing said signal data using said first clock signal and said second clock signal;


while processing said signal data, measuring a measured phase difference between said first clock signal and said second clock signal; and


adjusting a current phase offset of at least one of said first clock signal and said second clock signal in dependence upon said measured phase difference,


such that a target phase difference between said first clock signal and said second clock signal is maintained.


Whilst static offset can be corrected for by initial calibration, dynamic clock offsets which evolve during use of a signal data processing apparatus cannot. The present technique recognises and addresses this by continuously measuring the phase difference between the first and second clock signals and adjusting the current phase offset of at least one of those clock signals in dependence of the measured phase difference. In this way a target phase difference between the clock signals can be maintained, despite the evolution of dynamic clock offsets during the operation of the signal data processing apparatus. Hence account may be made for both static and dynamic sources of clock phase offset. Not only may initial clock offsets be calibrated for, but clock phase offset is monitored and corrected for in real time.


In one embodiment of the present invention the method further comprises an initial calibration step prior to processing said signal data of measuring an initial phase difference between said first clock signal and said second clock signal; and


presetting an initial phase offset of at least one of said first clock signal and said second clock signal in dependence of said initial phase clocks.


Whilst it is possible for all correction of clock phase offsets to be performed dynamically during normal operation of the signal data processing apparatus, an initial calibration step may advantageously be carried out to perform a static phase offset correction. Then only the dynamically evolving clock offsets need be corrected for by the continuous monitoring and correcting process.


The present invention may be employed to continuously correct clock offset in a range of signal data processing scenarios. In one embodiment the signal data is received signal data, whereas in another embodiment the signal data is signal data to be transmitted.


According to one embodiment the method further comprises the step of: generating at least one phase control signal in dependence upon said measured phase difference, said adjusting said current phase difference being controlled by said at least one phase control signal. Generating at least one phase control signal represents a convenient manner of signalling the necessary adjustment to be made to the current phase difference.


It will be appreciated by those skilled in the art that the adjustment of the current phase offset may be performed in a variety of ways. According to one embodiment adjusting said current phase offset is performed by at least one phase interpolator. According to another embodiment said adjusting said current phase offset is performed by at least one phase locked loop unit. According to yet another embodiment said adjusting said current phase offset is performed by at least one delay unit.


It will be appreciated that the phase control signal may be generated in a variety of ways, but in one embodiment the at least one phase control signals generated by a digital processing unit. The digital processing unit thus coordinates the at least one phase control signal and thus the necessary adjustment of the current clock phase offset. The at least one phase control signal may of course take a variety of forms. In one embodiment the at least one phase control signal is a digital control vector.


Whist in some embodiments the first and second clock signals are separately generated, in one embodiment a single clock signal is generated which is provided as both said first clock signal and said second clock signal whilst it is then necessary for the entire desired clock phase offset between the first and second clock signals to be generated by the adjustment of the current phase difference, this arrangement has the simplifying advantage of only a single clock signal needing to be generated. It will further be appreciated that whilst the target phase difference between the first and second clock signal could fall anywhere between 0 and 360 degrees, in one embodiment the target phase difference is 90 degrees.


In such an embodiment where the target phase difference is 90 degrees, the first clock signal may be defined as an I-clock and the second clock signal may be defined as a Q-clock. These “in phase” and “quadrature phase” clocks may then be used, for example, to sample and recover data from a received data stream.


In the situation where the signal data is received signal data, the received signal data may have a clock signal embedded in it and in one embodiment the first clock signal and/or second clock signal are aligned with a recovered clock signal recovered from the received signal data. It will be recognised that this alignment assists in the accurate signal data processing of that received signal data.


Whilst in some embodiments a phase control signal may be generated for each measured phase difference, in one embodiment generating said at least one phase control signal is performed in dependence upon a plurality of measured phase differences. In this way variations over time may be monitored and appropriately responded to.


According to a second aspect of the present invention there is provided a signal data processing apparatus comprising:


clock generating circuitry configured to generate a first clock signal and a second clock signal


processing circuitry responsive to said first clock signal and said second clock signal to process said signal data;


measuring circuitry operating while said processing circuitry processes said signal data to measure a measured phase difference between said first clock signal and said second clock signal; and


adjusting circuitry configured to adjust a current phase offset of at least one of said first clock signal and said second clock signal in dependence upon said measured phase difference,


such that a target phase difference between said first clock signal and said second clock signal is maintained.


According to a third aspect of the present invention there is provided a signal data processing apparatus comprising:


generating means for generating a first clock signal and a second clock signal


processing means for processing said signal data using said first clock signal and said second clock signal;


measuring means for, while processing said signal data, measuring a measured phase difference between said first clock signal and said second clock signal; and


adjusting means for adjusting a current phase offset of at least one of said first clock signal and said second clock signal in dependence upon said measured phase difference,


such that a target phase difference between said first clock signal and said second clock signal is maintained.


The above, and other objects, features and advantages of this invention will be apparent from the following detailed description of illustrative embodiments which is to be read in connection with the accompanying drawings.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 schematically illustrates the relationship between voltage offset and delay mismatch;



FIG. 2 schematically illustrates the generation of two statically calibrated clock signals using phase interpolators in the prior art;



FIG. 3 schematically illustrates the generation of two clock signals using a phase locked loop;



FIG. 4 schematically illustrates the generation of two dynamically calibrated clock signals according to a first example embodiment of the present invention;



FIG. 5 schematically illustrates the generation of two dynamically calibrated clock signals according to a second example embodiment of the present invention; and



FIG. 6 schematically illustrates the generation of two dynamically calibrated clock signals according to a third example embodiment of the present invention.





DESCRIPTION OF THE PREFERRED EMBODIMENTS


FIG. 4 schematically illustrates a first example embodiment of the present invention in which a receiver generates two clock signals aligned with the clock signal in a received data stream. Voltage control oscillator (VCO) 200 generates a single frequency clock locked to a reference clock. This single frequency clock is passed to I/Q clock generation block 210 which creates two clocks with 90 degree offset from one another (I-clock and Q-clock). Note that in other embodiments it is also possible for the VCO to generate the I/Q clocks directly. The I and Q clocks are then passed to phase interpolators (PIs) 220 and 230. From these inputs the two PIs create two new clocks, iclk and qclk, with 90 degree offset from one another, as well as aligned with the clock signal in the received data. The iclk and qclk clocks are then used to sample and recover incoming data.


The alignment of iclk and qclk with the clock signal in the received data occurs by means of clock data recovery unit 240, which recovers the embedded clock signal from the received data, passing that clock data information to digital processing unit 250. If no further dynamic adjustment of the clock signals is required (see below), then both PI 220 and PI 230 receive the same digital control signal ctrl (the same digital control signal as was described with reference to FIG. 2). In other words, ctrl1=ctrl and ctrl2=ctrl. As also described with reference to FIG. 2, this steering of the PIs may be calibrated at startup, to account for static offset.


Meanwhile, phase sensor 260 also receives the clock signals iclk and qclk, and measures the phase difference between them. This phase offset information is then forwarded to digital processing unit 250 which then varies the digital control signal ctrl it sends to each PI, i.e. it generates two distinct control signals, ctrl1 and ctrl2. Ctrl1 is fed back to phase interpolator 120 and ctrl2 is fed back to phase interpolator 130. Any variation from the target phase difference (in this embodiment a 90 degree offset between iclk and qclk) is then immediately corrected for by virtue of the control signals ctrl1 and ctrl2 reaching phase interpolators 120 and 130. In some embodiments it is possible for digital processing unit 250 to always leave one of the control signals at its “default” value of ctrl, and only to apply any timing adjustment (whether positive or negative) to the other control signal.


The apparatus schematically illustrated in FIG. 4 may also be used as a static clock offset correction circuit, for example as a power up reset calibration apparatus, whereby no separate calibration of ctrl is performed and an initial phase offset measurement by phase sensor 260 is made at startup dictating the initial values of ctrl1 and ctrl2. Phase sensor 260 is then switched off during signal data processing operations of the apparatus and ctrl1 and ctrl2 only vary as ctrl would in order to align iclk and qclk with the received data.


Digital processing unit 250 may be arranged to compensate for both low frequency offset components as well as high frequency offset components depending upon the particular implementation. In the case of compensating for low frequency offset, the digital processing unit can gather a number of phase difference measurements from phase sensor 260 taken over a period of time to average out the high frequency variations.



FIG. 5 illustrates a second example embodiment of the present invention. In this embodiment voltage controller oscillator 300, I/Q clock generator 310 and phase sensor 260 behave in the same manner as described for the equivalent components in FIG. 4 and are not described in further detail here. In this embodiment phase interpolators 320 and 330 are not controlled by digital processing unit 350, but are steered by a single digital control vector ctrl. The digital control vector ctrl derives from clock data recovery unit 360, which recovers the clock signal embedded in the received data stream. This enables PIs 320 and 330 to generate iclk and qclk aligned with the clock signal in the received data stream. In this embodiment iclk and qclk have a target phase difference of 90 degrees. Phase sensor 340 monitors iclk and qclk, measuring the phase difference between them and passing this information to digital processing unit 350. The digital processing unit 350 creates control signals N1 and N2 which are passed back to delay units 370 and 380. Delay units 370 and 380 are then steered by the control signals N1 and N2 respectively to apply any necessary phase offset correction to the iclk and qclk clock signals. It will be appreciated that delay units 370 and 380 must have sufficient delay variation to cover the possible range of offsets required. The maximum offsets required may be established by Monte Carlo simulation. In this embodiment the clock data recovery phase information (ctrl) has been separated from the dynamic phase offset information (N1 and N2). In the previous embodiment illustrated in FIG. 4 this information was combined, i.e. ctrl1=ctrl+N1 and ctrl2=ctrl+N2.


In some applications no phase interpolators may be needed (for example, in a transmitter or in a PLL based data receiver such as that shown in FIG. 3) and in such a situation an arrangement such as that schematically illustrated in FIG. 6 may be employed. Two clock signals clk1 and clk2 are fed into delay units 400 and 410 respectively. Delay units 400 and 410 must then apply sufficient clock phase offset to generate the target phase clock phase difference between the clock signals iclk and qclk. The feedback system works as described with reference to FIG. 5, in that phase sensor 420 measures the phase difference between iclk and qclk, passing this information to digital processing unit 430 which then generates control signals N1 and N2 which are fed back to delay units 400 and 410 respectively. Note that in this arrangement it is possible for clk1 and clk2 to in fact be the same clock signal, this being possible so long as delay units 400 and 410 have sufficient variability to generate the desired target phase difference between iclk and qclk.


Thus, according to the present technique, a dynamic correction of clock phase offset is enabled, in which the correction of the instantaneous clock phase offset is possible. By monitoring, tracking and correcting for clock phase offset in real time, greater accuracy is possible in the provision of phase matched clock signals both at the receiver and transmitter side. Consequently, jitter tolerance on the receiver side is improved and jitter generation on the transmitter side is lessened.


Although illustrative embodiments of the invention have been described in detail herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various changes and modifications can be effected therein by one skilled in the art without departing from the scope and spirit of the invention as defined by the appended claims.

Claims
  • 1. A method of processing signal data comprising the steps of: generating a first clock signal and a second clock signal;processing said signal data using said first clock signal and said second clock signal;while processing said signal data, measuring a measured phase difference between said first clock signal and said second clock signal; andadjusting a current phase offset of at least one of said first clock signal and said second clock signal in dependence upon said measured phase difference,such that a target phase difference between said first clock signal and said second clock signal is maintained.
  • 2. A method of processing signal data as claimed in claim 1, further comprising: an initial calibration step prior to processing said signal data of measuring an initial phase difference between said first clock signal and said second clock signal; andpresetting an initial phase offset of at least one of said first clock signal and said second clock signal in dependence of said initial phase clocks.
  • 3. A method of processing signal data as claimed in claim 1, wherein said signal data is received signal data.
  • 4. A method of processing signal data as claimed in claim 1, wherein said signal data is signal data to be transmitted.
  • 5. A method of processing signal data as claimed in claim 1, further comprising the step of: generating at least one phase control signal in dependence of said measured phase difference, said adjusting said current phase difference between controlled by said at least one phase control signal.
  • 6. A method of processing signal data as claimed in claim 1, wherein said adjusting said current phase of said phase performed by at least one phase interpolator.
  • 7. A method of processing signal data as claimed in claim 1, wherein said adjusting said current phase of said phase performed by at least one phase locked loop (PLL) unit.
  • 8. A method processing signal data as claimed in claim 1, wherein said adjusting said current phase of said phase performed by at least one delay unit.
  • 9. A method of processing signal data as claimed in claim 5, wherein said at least one phase control signal is generated by a digital processing unit.
  • 10. A method of processing signal data as claimed in claim 5, wherein said at least one phase control signal is a digital control vector.
  • 11. A method of processing signal data as claimed in claim 1, wherein generating said first clock signal and said second clock signal comprises generating a single clock signal which is provided as both said first clock signal and said second clock signal.
  • 12. A method of processing signal data as claimed in claim 1, wherein said target phase difference is substantially 90 degrees.
  • 13. A method of processing signal data as claimed in claim 12, wherein said first clock signal is an I-clock and said second clock signal is a Q-clock.
  • 14. A method of processing signal data as claimed in claim 3, wherein said first clock signal and/or said second clock signal are aligned with a recovered clock signal recovered from the received signal data.
  • 15. A method of processing signal data as claimed in claim 5, wherein generating at least said one phase control signal is performed in dependence upon a plurality of measured phase differences.
  • 16. A signal data processing apparatus comprising: clock generating circuitry configured to generate a first clock signal and a second clock signalprocessing circuitry responsive to said first clock signal and said second clock signal to process said signal data;measuring circuitry operating while said processing circuitry processes said signal data to measure a measured phase difference between said first clock signal and said second clock signal; andadjusting circuitry configured to adjust a current phase offset of at least one of said first clock signal and said second clock signal in dependence upon said measured phase difference,such that a target phase difference between said first clock signal and said second clock signal is maintained.
  • 17. A signal data processing apparatus comprising: generating means for generating a first clock signal and a second clock signalprocessing means for processing said signal data using said first clock signal and said second clock signal;measuring means for, while processing said signal data, measuring a measured phase difference between said first clock signal and said second clock signal; andadjusting means for adjusting a current phase offset of at least one of said first clock signal and said second clock signal in dependence upon said measured phase difference,such that a target phase difference between said first clock signal and said second clock signal is maintained.