Circuit for programmable stepless clock shifting

Information

  • Patent Application
  • 20040164779
  • Publication Number
    20040164779
  • Date Filed
    November 25, 2003
    21 years ago
  • Date Published
    August 26, 2004
    20 years ago
Abstract
The present invention provides for a circuit for programmable stepless clock shifting, consisting of a splitter generating a 0° and a 90° shifted clocks from a reference clock, and an interpolator of the two shifted clocks, which provides at the output the desired pre-set clock phase.
Description


TECHNICAL FIELD

[0001] The present invention relates to a circuit for programmable stepless clock shifting.


[0002] This application is based on, and claims the benefit of, European Patent Application No. 03290424.5 filed on Feb. 21, 2003 which is incorporated by reference herein.



BACKGROUND OF THE INVENTION

[0003] In many electronic applications, for example digital CDRs (Clock Recovery Unit), it is required to generate a clock signal with a programmable phase shift with respect to a reference clock.


[0004] In a number of situations, when transferring data between different chips, boards or devices, the associated clock is usually not distributed. The main reason is pin count reduction and power saving. At the receiving end, the problem of recovering the associated clock arises, in order to sample and process the incoming data stream. The operation of phase aligning often cannot be avoided also when the associated clock signal is distributed along with the data signal.


[0005] It is possible to design a clock recovery circuit working without a reference clock under precise assumptions on the data pattern and the local VCO frequency tuning range. Since these hypothesis is often not met in the applications, the known solutions mainly require a reference clock frequency within a well defined tolerated range.


[0006] A number of known techniques are already available for generating a clock signal with a programmable phase shift, namely delay locked loops (DLL), phase locked loops (PLL), open loop delay lines, digital phase aligners (DPA).


[0007] PLL based solutions require considerable power and chip area and are generally not able to cope with a wide range data transition density or long CID (continuous identical digits) sequences, as often required by applications. Often a PLL is used to generate N phases of the reference clock. They are all distributed to each receiving macro in which one is selected in order to sample the incoming data. This solution requires a lot of area for the wiring. Besides, switching noise, variations in phase difference between the clock multiphases and duty cycle distortion become a challenging issue when covering a long path; in addition the mimimum distance in degrees between two adjacent phases is limited by the technology used for the chip.


[0008] In other proposed schemes, one PLL is used to generate one filtered clock phase which is then distributed to all the receiving macros. Locally all the phases are generated by means of a DLL. Power consumption and occupation area remain a severe issue. Also in these cases the mimimum distance in degrees between two adjacent phases is limited by the technology.


[0009] Cases in which the multi-phase clock is generated by means of an open loop delay line are also known. In this schemes, power consumption (all the phases are generated also if not used) is an issue. Moreover the whole algorithm is complicated because the phases do not cover 360° and the phase spacing is PTV (process, temperature and supply) dependent and limited.


[0010] Solutions that delay the data (digital phase aligners, DPA) are also known. The main drawback is that the delay chain length is supposed to cover the jitter tolerance amplitude and not only the clock period, which results in longer delay chains. This implies more eye closure and again a PTV dependent and limited phase spacing. Moreover, an architecture that delays the data requires the local availability of the exact transmitter clock frequency.



SUMMARY OF THE INVENTION

[0011] Therefore in view of the known solutions, that are not quite efficient, it is the main object of the present invention to provide a circuit for programmable stepless clock shifting solving all the above mentioned problems.


[0012] The basic idea of the present invention is to provide a programmable stepless clock shifter, consisting of a splitter generating a 0° and a 90° shifted clocks from a reference clock, and an interpolator of this two phases, which provides at the output the desired pre-set clock phase.


[0013] This object is achieved by a circuit for programmable stepless clock shifting comprising:


[0014] a splitter, receiving a clock reference and generating two 90°-shifted clock phases;


[0015] an interpolator receiving said two 90′-shifted clock phases and two coefficients, and supplying a programmable phase clock, which has a phase shift with respect to said clock reference that depends only on said two coefficients.







BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The invention will become fully clear from the following detailed description, given by way of a mere exemplifying and non limiting example, to be read with reference to the attached drawing, wherein the single FIGURE shows a block diagram of the circuit in accordance with the invention.







BEST MODE FOR CARRYING OUT THE INVENTION

[0017] As shown in the FIGURE, the solution consists of two blocks in series, a splitter (SPLITTER) and an interpolator (INTERPOLATOR): the splitter receives a clock CK_REF and generates two clock phases, 90° shifted; the interpolator uses these two clock phases and two coefficients SIN_Φ and COS_Φ, and produces a clock, which has a phase that depends only on the input coefficients.


[0018] A detailed description of the two blocks is given in the following.


[0019] SPLITTER. The input clock CK_REF is summed (in the adder S1) and substracted (in the subtractor S2) to a delayed clock CK_DEL supplied by a delaying circuit DEL. It is possible to show analitically or graphically that the two clocks at the outputs of S1 and S2 are 90° shifted for construction, independently on the value of delay Δ as soon as the following condition on the delay is met:


Δ≠π+kπ, k={0, ±1, ±2, . . . }


[0020] This means that the vectorial product of the input clock CK_REF and the delayed clock CK_DEL should not be zero. In the applications this condition is easily met.


[0021] Typically the value of Δ is 90°+50%.


[0022] When the input clock CK_REF and the delayed clock CK_DEL are orthogonal, that means shifted exactly by 90° each other, the output amplitudes of S1 and S2 are equal. In the other cases two squarers SQ1 and SQ2 are encharged to output two clocks CK90 and CK0 with the same amplitude. In practice in the circuit implementation the two squarers are ever present to ensure output amplitude uniformity.


[0023] INTERPOLATOR. This block receives the two 90° shifted clocks CK90 and CK0 from the splitter and provides a clock with a phase that is programmable by setting two appropriate input coefficients.


[0024] The working principle relies on the following trigonometric relation:


sin(ωt+φ)=sin(ωt)cos Φ+cos(ωt)sin Φ


[0025] By summing two 90° shifted clock phases, sin(ωt) and cos(ωt), with appropriate coefficients, cos Φ and sin Φ, it is possible to obtain any delayed version sin(ωt+Φ), of the input reference clock sin(ωt).


[0026] In the circuit the two 90° shifted clocks CK90 and CK0 are sent to respective inputs of two multipliers M1 and M2; the second input of M1 is supplied with a first coefficient SIN_Φ and the second input of M2 with a second coefficient COS_Φ.


[0027] The outputs of M1 and M2 are supplied to the inputs of an adder S3 wich gives at the output the wanted clock reference CK_REF_Φ with the pre-set phase difference Φ with respect to the input clock CK_REF.


[0028] The two coefficients SIN_Φ and COS_Φ are selected in any wanted way. For example they can come from a memory table TAB suitably addressed, according to the wanted phase shift a, which can be any.


[0029] The advantages of the present invention are clear.


[0030] The minimum angle between two adjacent phases is not technology nor temperature nor supply dependent. The resolution can be chosen as high as needed (stepless clock shifter).


[0031] The solution is open loop, so it does not require a careful design of the loop in order to grant stability. When used in CDRs, no minimum data transition density has to be defined.


[0032] A monolitic chip implementation, for example a VLSI technology, takes advantage of the low power consumption and the low silicon area required. No filter has to be implemented.


[0033] Further implementation details will not be described, as the man skilled in the art is able to carry out the invention starting from the teaching of the above description.


[0034] Many changes, modifications, variations and other uses and applications of the subject invention will become apparent to those skilled in the art after considering the specification and the accompanying drawings which disclose preferred embodiments thereof. All such changes, modifications, variations and other uses and applications which do not depart from the spirit and scope of the invention are deemed to be covered by this invention.


Claims
  • 1. Circuit for programmable stepless clock shifting comprising: a splitter, receiving a clock reference and generating two 90′-shifted clock phases; an interpolator receiving said two 90′-shifted clock phases and two coefficients, and supplying a programmable phase clock, which has a phase shift with respect to said clock reference that depends only on said two coefficients.
  • 2. Circuit according to claim 1, wherein said splitter comprises: a delay circuit receiving said clock reference and supplying a delayed clock; an adder and a subtractor of said clock reference and said delayed clock, supplying at the output said two 90′-shifted clock phases.
  • 3. Circuit according to claim 2, wherein said splitter further comprises at the output two squarers of said two 90′-shifted clock phases, so as the latter have the same amplitude.
  • 4. Circuit according to claim 2, wherein the delay introduced by said delay circuit is typically Δ=90°±50%, and is
  • 5. Circuit according to claim 1, wherein said interpolator comprises: a first and second multiplier, respectively receiving one of said two 90°-shifted clock phases and a first and second coefficient; an adder receiving the outputs of said first and second multiplier and supplying said programmable phase clock.
  • 6. Circuit according to claim 5, wherein said first and second coefficient have a value of respectively sin Φ and cos Φ, such that the following relationship is performed:
  • 7. Circuit according to claim 5, wherein said first and second coefficient are selected from a memory table, addressed according to the wanted programmable phase.
  • 8. Circuit according to claim 6, wherein said first and second coefficient are selected from a memory table, addressed according to the wanted programmable phase.
Priority Claims (1)
Number Date Country Kind
03290424.5 Feb 2003 EP