WO2016101836A1 - Clock delay method and device, delay phase locked loop and digital clock management unit - Google Patents

Clock delay method and device, delay phase locked loop and digital clock management unit Download PDF

Info

Publication number
WO2016101836A1
WO2016101836A1 PCT/CN2015/097729 CN2015097729W WO2016101836A1 WO 2016101836 A1 WO2016101836 A1 WO 2016101836A1 CN 2015097729 W CN2015097729 W CN 2015097729W WO 2016101836 A1 WO2016101836 A1 WO 2016101836A1
Authority
WO
WIPO (PCT)
Prior art keywords
delay
clock
control signal
input
output
Prior art date
Application number
PCT/CN2015/097729
Other languages
French (fr)
Chinese (zh)
Inventor
包朝伟
崔社涛
姚(韋華)荣
王佩宁
Original Assignee
深圳市国微电子有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市国微电子有限公司 filed Critical 深圳市国微电子有限公司
Publication of WO2016101836A1 publication Critical patent/WO2016101836A1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION, OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop

Definitions

  • the present invention relates to the field of electronic technology, and in particular, to a clock delay method, a device, a delay phase locked loop, and a digital chime management unit.
  • DCM digital clock management
  • FPGA Field Programmable Gate Array
  • DLL delay locked loop
  • Input ⁇ (CLKIN)
  • CLKIN Input ⁇
  • the delay-locked loop aligns the phase of the input cesium clock with the output cesium clock (CLKOUT) to eliminate skew.
  • the phase detector (PD) detects the phase difference between CLKIN and CLKOUT, and sends it to the logic control unit (Logic), the logic control unit.
  • Logic logic control unit
  • the output control signal controls the flipping of the shift register (Counter).
  • the shift register (Co under) is flipped, the number of delay units used in the delay line is increased or decreased by one, and accordingly, the shift register ( Counter)
  • the delay time of one delay unit is increased or decreased (hereinafter, the delay time of one delay unit is simply referred to as unit delay time), that is, the prior art is through a shift register (Counter).
  • unit delay time that is, the prior art is through a shift register (Counter).
  • the shift register (Counter) needs to flip 2 W owes at most, the unit delay in the delay line is usually very small, if it is 0.1 ns, then the shift register (Counter) increases or decreases every time it is flipped. A delay of 0.1 ns.
  • the invention provides a clock delay method, a device, a delay phase-locked loop and a digital chime management unit, and how to quickly realize an input chirp and an output chirp when the input chirp and the output chirp are greatly different. Alignment issues.
  • a chirping delay method includes:
  • Step one delaying the input clock by 1 ⁇ 4 through the delay line to obtain an output clock
  • Step 2 Comparing the input chirp clock and the output chirp clock, if the input chirp clock lags the output chirp clock, returning to step one, re-delaying the input chirp clock by the delay line T i+1 1 1+1 is (T i+ T x ) 12, if the input clock is ahead of the output clock, it returns to step one, and the input delay is delayed by the delay line T' i+1 , T ' i+ ⁇ ( ⁇ ⁇ + ⁇ ) /2; until the input chirp and output chirp are aligned, outputting an output chirp aligned with the input chirp; where 1 ⁇ is 1 to 1 ⁇ and , one that is larger than 1 ⁇ and distance 1 ⁇ , T y is T, ST i and 0 are smaller than T i and the closest to T i , and T is the maximum delay of the delay line.
  • a chirp clock delay device comprising:
  • a delay processing unit configured to delay the input chirp clock by 1 ⁇ 4 through the delay line, to obtain an output chirp; and the comparison delay in the comparison processing unit is that the input chirp is delayed by the output chirp, and the delay is re-passed.
  • the line delays the input chirp clock T i+1 , ⁇ +1 is (T i+ T x ) 12, and the output chirp clock is obtained;
  • the comparison result in the comparison processing unit is the condition that the input chirp is ahead of the output chirp clock
  • the input chirp clock is delayed by T' i+1 through the delay line, and 1+1 is (T y + T i ) 12, and an output chirp is obtained; until the input chirp and the output chirp are aligned, the output is The input chirp-aligned output chirp; wherein, 1 ⁇ is 1 to 1 ⁇ and T, the one that is larger than T i and closest to the distance T i , T y is T, to D i and 0 to T i Small and closest to T i One, ⁇ is the maximum delay of the delay line;
  • a comparison processing unit configured to compare the input clock and the output clock.
  • a delay phase locked loop comprising:
  • a logic control unit configured to generate a binary control signal C i according to a preset rule ; and regenerate the binary control signal C i+ under the condition that the input phase clock lags the output clock after the comparison result of the phase detecting unit 1 ; regenerating the binary control signal C' i+1 under the condition that the comparison clock of the phase detecting unit is ahead of the output clock ;
  • a delay line control unit configured to control the delay line to delay the input clock by T i according to the binary control signal C i generated by the logic control unit, to obtain an output clock; and to generate a binary control signal according to the logic control unit ⁇ + 1 controlling the delay line to re-input the input clock delay T i+1 , ⁇ +1 is (T i+ T x ) 12, obtaining an output chirp; controlling according to the binary control signal C' i+1 regenerated by the logic control unit
  • the delay line re-intermits the input chirp clock by T' i+1 , 1+1 is (T y + T i ) 12, and the output chirp is obtained; until the input chirp and the output chirp are aligned, the output and the input are The clock-aligned output ⁇ clock; where 1 ⁇ is 1 to 1 ⁇ and T, which is larger than T i and closest to T i , T y is T, and is smaller than T i and smaller than D i
  • the phase detecting unit is configured to compare the input clock and the output clock, and output the comparison result to the logic control unit.
  • a digital cuckoo clock management unit comprising the cuckoo clock delay device described above, or a delay phase locked loop.
  • the clock delay method, device, delay phase-locked loop and digital chime management unit provided by the present invention, if the output chirp obtained after delaying Ti is not aligned with the input chirp, if the input chirp is delayed
  • the output of the cesium clock indicates that Ti is not enough.
  • Tx is T1 to Ti and T, which is larger than Ti and the closest to Ti, ⁇ is the maximum delay of the delay line
  • the interval is taken as the intermediate value ( Ti+Tx) /2 is re-delayed. If the input clock is ahead of the output cesium, then Ti is too large, in Ty (Ty
  • the present invention uses a two-point successive approximation to achieve alignment, compared to the prior art method of increasing or decreasing unit delays one by one, up to 2N ⁇ weeks The period is reduced to a maximum of N ⁇ clock cycles.
  • the input ⁇ clock and the output ⁇ clock are greatly different, the locking speed of the DLL is accelerated, and the working speed of the chip system is improved.
  • the present invention also designs a generation mechanism of the binary control signal ⁇ .
  • the generated binary control signal ⁇ is not aligned with the input chirp clock after the delay.
  • the delay of the delay line can be accurately controlled to achieve the alignment of the above-described two-division successive approximation.
  • the circuit structure of the logic control unit designed by the invention can be realized only by a small number of flip-flops, and the output directly controls the delay line, which is composed of a shift register, a Gray code converter and a Gray code decoder. Compared with the logic control unit, the structure is simpler, the technical difficulty is small, and the risk is low.
  • FIG. 1 is a schematic diagram of a cuckoo clock delay device according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a delay phase locked loop according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a logic control unit in the delay phase locked loop shown in FIG. 2;
  • FIG. 4 is a schematic diagram of phases of signals according to an embodiment of the present invention.
  • FIG. 5 is another phase diagram different from FIG. 4;
  • FIGS. 4 and 5 is another phase diagram different from FIGS. 4 and 5.
  • the invention speeds up the locking speed of the DLL, and proposes the following concept:
  • the output ⁇ clock obtained after the delay T i is compared with the input ⁇ clock, the input ⁇ clock is still
  • the input ⁇ clock is delayed by T i+1 through the delay line, and D 1+1 is (T i+ T x ) 12
  • the input ⁇ clock is still ahead of the output ⁇ clock
  • the input chirp is delayed by T' i+1 through the delay line, D' ; +1 is (T y + T i ) 12, and so on, until the input chirp and the output chirp are aligned.
  • Input ⁇ clock still If the lag is delayed from the output ⁇ , it means that the delay T i is not enough, so the intermediate value is taken in the range of T i and ⁇ ⁇ ( ⁇ i+T x
  • the input ⁇ clock is still ahead of the output ⁇ clock, then the delay T i is too large, so take the intermediate value (T y + T i ) /2 in the interval of T y and T i Delay is performed, and so on. If the alignment is not aligned, the corresponding interval is continued to be divided until the input chirp and the output chirp are aligned.
  • the present invention adopts the dichotomy successive approximation method, which is different from the prior art one by one. Or reduce the unit delay of the delay line in a way that requires up to N ⁇ clock cycles to achieve alignment. In the case where the input ⁇ clock and the output ⁇ clock are large, the DLL lock can be significantly accelerated compared to the prior art. Speed, improve the working speed of the chip system.
  • the input chirp clock and the output chirp clock described in the present invention are not limited to the case where the input chirp and the output chirp are completely aligned, and the phase difference between the input chirp and the output chirp is preset. In the range, therefore, the case where the phase difference between the input cesium clock and the output cesium clock is small is also aligned.
  • the input chirp lags the output ⁇ clock and the phase difference exceeds the above preset range
  • the input ⁇ clock lags the output ⁇ clock.
  • the input cesium clock is ahead of the output cesium clock and the phase difference exceeds the above preset range, it belongs to the input cesium clock before the output cesium clock.
  • the method for delaying the chirp clock according to an embodiment of the present invention includes the following processes:
  • step S101 the initial value 1 of 1 ⁇ can be arbitrarily set as long as it is greater than 0 and less than T. Preferred
  • the initial value of 1 ⁇ is taken as 172, which makes alignment more efficient.
  • This embodiment does not limit the composition of the delay line, as long as the input clock can be delayed by T i, T i+1 T'i+1 can be.
  • the value of T i can be adjusted in different ways. For example, for a delay line including a plurality of delay units, the value of T i can be adjusted by adjusting the number of used delay units.
  • the delay line includes two delay units, and the delay period of each delay unit, that is, the unit delay time is t (the value of t is not limited to 0.1 ns), and the Bay IjT is *t.
  • the initial value 1 of 1 ⁇ is 2"
  • the maximum delay of the delay line is half of 2 N *t
  • Delay units are delayed, that is, half of the delay units are used for delay, and the output clock is obtained. If the input clock lags the output clock, the delay 2 ⁇ *t is not enough, and 2 N *t to the maximum delay is used.
  • a binary control signal C" may be generated according to a preset rule. According to the generated binary control signal C i, the delay line is controlled to delay the input clock by T i if the input clock lag is input in step S102.
  • the binary control signal C i+1 is regenerated, and the delay line is controlled to delay the input clock delay T i +1 according to the regenerated binary control signal C i+1 ; if the input clock is advanced in step S102 inch clock output, regenerate binary control signals C 'i + 1, a binary control signal to regenerate C' i + 1 re-controlled delay line delaying the input clock inch T 'i + 1.
  • the binary control signal C i includes N bits, and the number from the highest bit to the lowest bit is numbered from 1 to N, that is, i ranges from 1 to N-1.
  • the initial control unit generates a binary control signal d and a binary control signal in step S101.
  • the first bit (ie, the highest bit) of the bit is 1, and the remaining bits are 0.
  • the control delay line delays the input ⁇ clock, and if the input ⁇ clock in S102 lags the output ⁇ clock, it is regenerated.
  • Binary control signal C i+1 binary control signal C 1+1 compared to binary control signal C i
  • the i-th bit remains 1, i + 1-bit is converted to 1, the other bits unchanged;
  • the regenerated binary control signal C i + 1 re-controlled delay line delaying the input clock inch T i + 1; if input in S102 The cuckoo clock is ahead of the output cuckoo clock.
  • the binary control signal C'i+1 is converted to 0 compared to the binary control signal C i, the i+1th bit is changed to 1, and the remaining bits are unchanged;
  • C 1+1 controls the delay line to delay the input chirp by T' i+1 .
  • the present invention also provides a chirp clock delay device for implementing the above-described chirp delay method.
  • the chopper delay device 1 includes a delay processing unit 11 and a comparison processing unit 12, wherein
  • the delay processing unit 11 is mainly used to delay the input chirp clock by T i through the delay line to obtain an output chirp; after the comparison result of the comparison processing unit 12 is that the input chirp is delayed by the output chirp, The input clock is delayed by T i+1 by a delay line, 1+1 is (T i+ T x ) 12, and an output clock is obtained; the comparison result of the comparison processing unit 12 is that the input clock is ahead of the output.
  • the input ⁇ clock is delayed by T' i+1 through the delay line, 1+1 is (T y + T i ) 12, and the output ⁇ clock is obtained; until the input ⁇ clock and the output ⁇ clock Align, output the output chirp that is aligned with the input chirp; 1 ⁇ is 1 to 1 ⁇ and T, the one that is larger than T i and closest to T i , T y is T, to D and 0 T i is small and the closest to T i , T is the maximum delay of the delay line;
  • the comparison processing unit 12 is mainly used to compare the input chirp and the output chirp.
  • the initial value of T i is T ⁇ T / 2 .
  • the delay line comprises 2 delay units, each delay unit has a delay of t, and T is 2 N gas T! 3 ⁇ 42 N 1 *to
  • the delay processing unit 11 includes a control signal generation module and a processing sub-unit delay, wherein the control signal generating means for generating a N-bit bytes of binary control signal C in accordance with a preset rule; delay The processing subunit is configured to control the delay line to delay the input clock by T according to the binary control signal C i generated by the control signal generating module.
  • control signal generation module is specifically configured to initially generate a binary control signal C 1 ; a binary control signal. The highest bit of , is 1 and the remaining bits are 0; the delay processing sub-unit is specifically for generating the binary control signal C 1 generated by the control signal according to the control signal ; and controlling the delay line to delay the input clock by T, . Further, the control signal generating module is further configured to regenerate the binary control signal C i+1 and the binary control signal C i+1 under the condition that the comparison result of the comparison processing unit 12 is that the input clock lags the output clock.
  • the comparison result of the comparison processing unit 12 is that the input clock is ahead of the output clock, and the binary control signal C'i+1 is regenerated, and the binary control signal C'1 +1 is compared to the binary control signal Ci.
  • the bit is transformed into 0, the i+1th bit is converted to 1, and the remaining bits are unchanged.
  • the delay processing subunit is further configured to control the delay line to re-enter the input according to the binary control signal C1 +1 regenerated by the control signal generating module.
  • the present invention also provides a delay phase locked loop for implementing the above-described chirp delay method.
  • the delay phase locked loop includes: a logic control unit, a delay line control unit, and a phase discrimination unit, where
  • the logic control unit is configured to generate a binary control signal C according to a preset rule ; and regenerate the binary control signal C i+1 under the condition that the comparison result of the phase detecting unit is that the input clock lags behind the output clock ; phase comparison result to the unit ahead of the input clock inch inch clock output conditions, to regenerate the binary control signal C 'i + 1;
  • the delay line control unit is configured to control the delay line to delay the input clock by T i according to the binary control signal C i generated by the logic control unit to obtain an output clock; the binary control signal ⁇ +1 regenerated according to the logic control unit Controlling the delay line to re-input the input clock delay T i+1 , ⁇ +1 is (T i+ T x ) 12, and obtaining an output chirp; according to the binary control signal C' 1+1 regenerated by the logic control unit
  • the delay line re-intermits the input chirp clock by T' i+1 , 1+1 is (T y + T i ) 12, and the output chirp is obtained; until the input chirp and the output chirp are aligned, the output and the input are The output clock of the ⁇ clock alignment; where 1 ⁇ is 1 to 1 ⁇ and T, which is larger than T i and closest to T i , T y is T !3 ⁇ 4T i and 0 is smaller than T i and
  • the phase detecting unit is configured to compare the input clock and the output clock, and output the comparison result to the logic control unit
  • the initial value of T i is T! Is T /2.
  • the delay line includes two delay units, each delay unit has a delay of t, and T is 2 N gas T! 3 ⁇ 42 N 1 *to
  • the logic control unit is specifically configured to generate a binary control signal C, a binary control signal, including an N-bit byte. , the highest bit is 1, and the remaining bits are 0; the delay line control unit is specifically used according to The binary control signal C 1 generated by the logic control unit ; controlling the delay line to delay the input clock ⁇ [0053]
  • the binary control signal C i+1 is maintained at 1 compared to the binary control signal C i , the first bit The i+1 bit is transformed to 1, and the remaining bits are unchanged; the binary control signal C'i+1 is converted to 0 by the i-th bit of the binary control signal C i
  • the i+1 bit is converted to 1, and the remaining bits are unchanged.
  • the binary control signal C i is numbered from 1 to N from the highest bit to the lowest bit, and i ranges from 1 to N-l.
  • the present invention also provides a digital chime management unit comprising the cuckoo clock delay device or the delay phase locked loop provided by the present invention.
  • the delay phase locked loop includes a logic control unit (SAR).
  • SAR logic control unit
  • Multi-channel gate used as delay line control unit
  • Phase detector used as phase-detection unit
  • RS latch
  • the delay line 44 includes two delay units (delay unit 1 to delay unit 2, the delay period of each delay unit, that is, the unit delay time is t, and the input clock CLKIN passes the delay unit 1 to obtain a delay ⁇ 1.
  • the delay clock 2 is obtained.
  • the delay clock 2 N-1 is obtained, and after the delay unit 1 to the delay unit 2, the delay clock is obtained. 2, delay ⁇ 1, delay ⁇ 2 2...delay ⁇ 2 2 Between each adjacent two delay ⁇ , one unit delay ⁇ , t, delay line 44, maximum delay ⁇ 2
  • the initial delay of the gas delay line 44 is ⁇ T ⁇ 2 Ni*t;
  • the multiplexer 42 is configured to select one of the delay clocks 1 to the delayed clocks 2 as the output clock CLKOUT according to the binary control signal C i input from the logic control unit 41, and input CLKOUT to the phase detector 43. ;
  • the phase detector 43 compares the phase of CLKIN and the CLKOUT output from the multiplexer 42, and outputs the phase-detecting positive output signal PD_OUTP and the phase-detecting negative output signals PD_OUTN, PD_OUTP and PD_OU TN to the lock according to the comparison result.
  • the output of the memory device 45 and the NOR gate, the NOR gate is a lock (LOCK) signal, and the output of the NOR gate is input to an inverter.
  • the output of the inverter is a reset (RST) signal, and the RST signal output.
  • the latch 45 generates a latch output signal DIN according to PD_OUTP and PD_OUTN input from the phase detector 43 and outputs it to the logic control unit 41; the latch 45 is a NOR gate structure, and if PD_OUTP exhibits a high level 1 ⁇ DIN is high 1; if PD_OUTN is high 1 day, DIN is 0, if PD_OUTP and PD_OUT
  • N is the same as 0, DIN keeps the last triggered value
  • the logic control unit 41 is a single pulse generator, and its structure is as shown in FIG. 3, including N+1 D flip-flops 1, N D flip-flops 2, N D flip-flops 3, and also includes N connections. a delay module between adjacent D flip-flops 1, and N OR gates connected between D flip-flop 2 and D flip-flop 3, wherein N+1 D flip-flops 1 are triggered by rising edges, with reset The reset terminal is reset to 0, and the N D flip-flops 2 are triggered by the rising edge. There is a reset terminal, the reset terminal is connected to 0 ⁇ , and the N D flip-flops 3 are triggered by the rising edge.
  • the three inputs of the first D flip-flop 1 are respectively connected to a high potential 1 (here can be connected to the power supply by connecting a resistor in series, or by other means to obtain a high level), CLKIN, the above RST signal,
  • the output of one D flip-flop 1 is connected to the inverter and the delay module in turn, and then to one input of the second D flip-flop 1, and the other two inputs of the second D flip-flop 1 are respectively connected to CLKIN.
  • RST signal, the output of the second D flip-flop 1 is connected to one input of the third D flip-flop 1 through another delay module, and the output of the second D flip-flop 1 is also connected.
  • the first D flip-flop 2 To the input of the first D flip-flop 2 and one input of the first OR gate; the other two inputs of the first D flip-flop 2 are respectively connected to the DIN and RST signals, the first D flip-flop 2 The output terminal is connected to the other input terminal of the first OR gate; the output end of the first OR gate is connected to the input end of the first D flip-flop 3, and the other input terminal of the first D flip-flop 3 is connected to the LOCK signal.
  • the output of the first D flip-flop 3 outputs binary control C i is the highest bit number (i.e., 1 bit); and so on.
  • the delay unit and the delay unit (delay unit 1 to delay unit 2 N) in the delay line 44 may have the same structure, but the unit delay time is smaller than the delay unit.
  • phase detector 43 will phase the CLKOUT and CLKIN. If the phase of CLKIN lags behind CLKOUT, the delay 2 N 1 *t is not enough. As shown in Figure 4, PD_OUTP outputs a high level. PD_OUTN outputs a low level, PD_OUTP and PD_OUTN pass through the latch 45 and the output DIN is 1 and is sent to the logic control unit 41.
  • the logic control unit 41 generates a binary control signal C 2 , that is, on the basis of the highest bit (ie, The first bit) is reserved as 1, the second highest bit (ie, the second bit) is converted to 1, and the remaining bits are unchanged, that is, C 2 is 110...00; if CLKIN is ahead of CLKOUT, as shown in Figure 5, PD_OUTN is output.
  • the multiplexer 42 selects the delay cesium from the delay ⁇ 1 to the delayed 2 2 N ( 2 N- 1+ 2 N) /2 as the input, that is, the CLKIN delay (2 ⁇ - '+2 ⁇ ) *t /2 as CLKOUT, the phase detector 43 discriminates the CLKOUT and CLKIN; if CLKIN The phase still lags behind CLKOUT, indicating that the delay (2 NI + 2 N ) *t /2 is not enough.
  • the logic control unit 41 generates a binary control signal C 3, i.e. the C 2 On the basis of the second highest position (ie the second place) is reserved as 1,
  • the next bit of the next highest bit (ie, the third bit) is changed to 1, and the remaining bits are unchanged. 3 is 111...00; the binary control signal C 3 is again supplied to the multiplexer 42, and the multiplexer 42 selects the delay ⁇ clock from the delay ⁇ 1 to the delayed 2 2 2 [(2 -i+ 2 N ) / 2 + 2 N ] / 2 as the input, that is, the delay of CLKIN [(2 N 1 + 2 N ) / 2 + 2 N ] * t /2 as CLKOUT, and so on; if the phase of CLKIN is ahead At CLKOUT, the delay (2 N- i+2 N) * t /2 is too large, PD_OUTP outputs low level, PD_OUTN outputs high level, PD_OUTP and PD_OUTN pass the latch 45 after the output DIN is 0, send to the logic control unit 41, the logic control unit 41 generates a binary control signal C '3, C 2 that is based on the highest order bit (
  • the LOCK signal of the DLL becomes 1, and it is determined that the DLL is locked.
  • the ⁇ lock signal control logic control unit The D flip-flop 3 in 41 flips, latching the current value of C 2 , ie 110...00; and so on.
  • the present invention implements alignment by means of a two-point successive approximation, which reduces the need for a maximum of 2 N chirp cycles to a maximum of N chirps compared to the prior art method of increasing or decreasing unit delays one by one.
  • the cycle when the input chord and the output cesium are greatly different, accelerates the locking speed of the DLL and improves the working speed of the chip system.
  • the present invention also designs a generation mechanism of the binary control signal C i . According to the mechanism designed by the present invention, the generated binary control signal C i is not aligned with the input chirp clock after the delay T i .
  • the delay of the delay line can be accurately controlled to achieve the alignment of the above-described two-division successive approximation.
  • the circuit structure of the logic control unit designed by the invention can be realized only by a small number of flip-flops, and the output directly controls the delay line, which is composed of a shift register, a Gray code converter and a Gray code decoder.
  • the structure is simpler, the technical difficulty is small, and the risk is low.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in a storage medium (ROM/RAM, disk, optical disk) by a computing device, and at some In some cases, the steps shown or described may be performed in an order different from that described in the above embodiments, or they may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof may be fabricated into a single integrated circuit module. to realise. Therefore, the invention is not limited to any specific combination of hardware and software.

Abstract

A clock delay method and device, a delay phase locked loop and a digital clock management unit. The clock delay method comprises: step 1, delaying an input clock for Ti through a delay line (44), so as to obtain an output clock; step 2, comparing the input clock with the output clock, and if the input clock lags behind the output clock, returning to step 1 and delaying the input clock for (Ti + Tx)/2 through the delay line (44) once again; and if the input clock is ahead of the output clock, returning to step 1 and delaying the input clock for (Ty + Ti)/2 through the delay line (44) once again; and until the input clock is aligned with the output clock, outputting the output clock as aligned with the input clock. By means of the technical solution, alignment is realized in a dichotomic-type successive approximation method, at most, N clock cycles are needed, and in the case where the input clock is significantly different from the output clock, the locking speed of a DLL is accelerated, thereby increasing the operating speed of a chip system.

Description

说明书 发明名称:时钟延迟方法、 装置、 延迟锁相环及数字时钟管理单元 技术领域  Description Title: Clock delay method, device, delay phase locked loop and digital clock management unit
[0001] 本发明涉及电子技术领域 尤其涉及一种吋钟延迟方法、 装置、 延迟锁相环及 数字吋钟管理单元。  [0001] The present invention relates to the field of electronic technology, and in particular, to a clock delay method, a device, a delay phase locked loop, and a digital chime management unit.
背景技术  Background technique
[0002] 现场可编程门阵列 (FPGA, Field Programmable Gate Array) 中存在数字吋钟 管理 (DCM) 单元, 主要提供三种功能: 吋钟去歪斜、 频率合成和相移。 其中 的吋钟去歪斜由延迟锁相环 (DLL , Delayed Loop Lock) 来实现。  [0002] There are digital clock management (DCM) units in Field Programmable Gate Array (FPGA), which mainly provide three functions: 吋 clock to skew, frequency synthesis and phase shift. The 吋 clock to skew is implemented by a delay locked loop (DLL).
[0003] 输入吋钟 (CLKIN) 在传输过程中, 由于负载电容和吋钟分布网络的影响, 会 导致到达各处的相位不一致, 因而形成歪斜 (Skew) 。 延迟锁相环可以将输入 吋钟和输出吋钟 (CLKOUT) 的相位对齐, 消除歪斜。  [0003] Input 吋 (CLKIN) During transmission, due to the influence of the load capacitance and the distribution network of the 吋 clock, the phase of the arrival is inconsistent, resulting in skew (Skew). The delay-locked loop aligns the phase of the input cesium clock with the output cesium clock (CLKOUT) to eliminate skew.
[0004] 现有延迟锁相环将输入吋钟和输出吋钟的相位对齐的原理如下: 鉴相器 (PD ) 检测 CLKIN和 CLKOUT的相位差, 送到逻辑控制单元 (Logic) , 逻辑控制单 元 (Logic) 输出控制信号控制移位寄存器 (Counter) 的翻转, 移位寄存器 (Co unter) 每翻转一次, 延迟线中被用到的延迟单元的数量增加或减少一个, 相应 地, 移位寄存器 (Counter) 每翻转一次, 则增加或减少一个延迟单元的延迟吋 间 (以下将一个延迟单元的延迟吋间简称为单位延迟吋间) , 也就是说, 现有 技术是通过移位寄存器 (Counter) —次一次的翻转, 逐次增加或减少一个单位 延迟吋间的方式来实现对齐, 若延迟线中包括 2  [0004] The principle of the existing delay-locked loop aligning the phases of the input chirp and the output chirp is as follows: The phase detector (PD) detects the phase difference between CLKIN and CLKOUT, and sends it to the logic control unit (Logic), the logic control unit. (Logic) The output control signal controls the flipping of the shift register (Counter). Each time the shift register (Co unter) is flipped, the number of delay units used in the delay line is increased or decreased by one, and accordingly, the shift register ( Counter) Each time it is flipped, the delay time of one delay unit is increased or decreased (hereinafter, the delay time of one delay unit is simply referred to as unit delay time), that is, the prior art is through a shift register (Counter). - the next time the flip is repeated or decreased by one unit delay to achieve alignment, if the delay line includes 2
个延迟单元, 移位寄存器 (Counter) 最多吋候需要翻转 2 W欠, 延迟线中的单位 延迟吋间通常非常小, 如果为 0.1ns, 那么移位寄存器 (Counter) 每翻转一次, 增加或减少 0.1ns的延迟吋间。  Delay unit, the shift register (Counter) needs to flip 2 W owes at most, the unit delay in the delay line is usually very small, if it is 0.1 ns, then the shift register (Counter) increases or decreases every time it is flipped. A delay of 0.1 ns.
[0005] 当 CLKIN和 CLKOUT相差较大的吋候, 采用上述现有技术, 则需要移位寄存器 转多次才能实现吋钟对齐。 例如在芯片面积较大的 FPGA芯片中 (如 200万门的 F PGA) , 由于传输线的延迟和吋钟网络寄生电容的影响, CLKIN和 CLKOUT的 相位差通常达到 2ns, 若 CLKIN的频率为 100MHz , 其周期为 10ns, 想要实现 CLK IN和 CLKOUT的相位对齐, 则需要将 CLKOUT向后推 8ns, 而延迟线中每一个延 迟单元的能提供 0.1ns的延迟, 那么需要 80个延迟单元提供延迟, 即需要移位寄 存器 (Counter) 翻转 80次, 才能将 CLKIN和 CLKOUT的相位对齐, 导致延迟锁 相环的锁定吋间很长, 锁定速度慢, 这将影响芯片系统的工作速度。 [0005] When the difference between CLKIN and CLKOUT is large, using the above prior art, it is necessary to shift the register a plurality of times to achieve the clock alignment. For example, in an FPGA chip with a large chip area (such as 2 million gates of F PGA), the phase difference between CLKIN and CLKOUT is usually 2 ns due to the delay of the transmission line and the parasitic capacitance of the 吋 网络 network. If the frequency of CLKIN is 100 MHz, Its cycle is 10ns, want to achieve CLK The phase alignment of IN and CLKOUT requires CLKOUT to be pushed back 8ns, and each delay cell in the delay line can provide a delay of 0.1ns. Then 80 delay units are required to provide the delay, that is, the shift register needs to be flipped. 80 times, the phase of CLKIN and CLKOUT can be aligned, resulting in a long lockout delay of the phase-locked loop and a slow locking speed, which will affect the operating speed of the chip system.
技术问题  technical problem
[0006] 本发明提供的吋钟延迟方法、 装置、 延迟锁相环及数字吋钟管理单元, 解决输 入吋钟和输出吋钟相差较大的情况下, 如何快速实现输入吋钟和输出吋钟对齐 的问题。  The invention provides a clock delay method, a device, a delay phase-locked loop and a digital chime management unit, and how to quickly realize an input chirp and an output chirp when the input chirp and the output chirp are greatly different. Alignment issues.
问题的解决方案  Problem solution
技术解决方案  Technical solution
[0007] 为解决上述技术问题, 本发明采用以下技术方案: [0007] In order to solve the above technical problem, the present invention adopts the following technical solutions:
[0008] 一种吋钟延迟方法, 包括: [0008] A chirping delay method includes:
[0009] 步骤一、 通过延迟线将输入吋钟延迟 1\, 得到输出吋钟;  [0009] Step one, delaying the input clock by 1⁄4 through the delay line to obtain an output clock;
[0010] 步骤二、 比较所述输入吋钟和输出吋钟, 若所述输入吋钟滞后于输出吋钟, 则 回到步骤一,重新通过延迟线将所述输入吋钟延迟 T i+1, 1 1+1为 (T i+T x ) 12, 若 所述输入吋钟超前于输出吋钟, 则回到步骤一,重新通过所述延迟线将输入吋钟 延迟 T' i+1, T' i+^ (Τ γ+ Τ\ ) /2; 直到所述输入吋钟和输出吋钟对齐, 输出与所 述输入吋钟对齐的输出吋钟; 其中, 1\为1 至1\以及丁中,比1\大且距离1\最近 的一个, T y为 T ,ST i以及 0中比 T i小且距离 T i最近的一个, T为所述延迟线的最 大延迟吋间。 [0010] Step 2: Comparing the input chirp clock and the output chirp clock, if the input chirp clock lags the output chirp clock, returning to step one, re-delaying the input chirp clock by the delay line T i+1 1 1+1 is (T i+ T x ) 12, if the input clock is ahead of the output clock, it returns to step one, and the input delay is delayed by the delay line T' i+1 , T ' i+ ^ (Τ γ + Τ\ ) /2; until the input chirp and output chirp are aligned, outputting an output chirp aligned with the input chirp; where 1\ is 1 to 1\ and , one that is larger than 1\ and distance 1\, T y is T, ST i and 0 are smaller than T i and the closest to T i , and T is the maximum delay of the delay line.
[0011] 一种吋钟延迟装置, 包括:  [0011] A chirp clock delay device, comprising:
[0012] 延迟处理单元, 用于通过延迟线将输入吋钟延迟 1\, 得到输出吋钟;在比较处 理单元的比较结果为所述输入吋钟滞后于输出吋钟的条件下, 重新通过延迟线 将所述输入吋钟延迟 T i+1, ^+1为 (T i+T x ) 12, 得到输出吋钟; 在比较处理单 元的比较结果为所述输入吋钟超前于输出吋钟的条件下, 重新通过所述延迟线 将输入吋钟延迟 T' i+11+1为 (T y+ T i ) 12, 得到输出吋钟; 直到所述输入吋钟 和输出吋钟对齐, 输出与所述输入吋钟对齐的输出吋钟; 其中, 1\为1 至1\以 及 T中,比 T i大且距离 T i最近的一个, T y为 T ,至丁 i以及 0中比 T i小且距离 T i最近 的一个, τ为所述延迟线的最大延迟吋间; [0012] a delay processing unit, configured to delay the input chirp clock by 1⁄4 through the delay line, to obtain an output chirp; and the comparison delay in the comparison processing unit is that the input chirp is delayed by the output chirp, and the delay is re-passed. The line delays the input chirp clock T i+1 , ^ +1 is (T i+ T x ) 12, and the output chirp clock is obtained; the comparison result in the comparison processing unit is the condition that the input chirp is ahead of the output chirp clock Next, the input chirp clock is delayed by T' i+1 through the delay line, and 1+1 is (T y + T i ) 12, and an output chirp is obtained; until the input chirp and the output chirp are aligned, the output is The input chirp-aligned output chirp; wherein, 1\ is 1 to 1\ and T, the one that is larger than T i and closest to the distance T i , T y is T, to D i and 0 to T i Small and closest to T i One, τ is the maximum delay of the delay line;
[0013] 比较处理单元, 用于比较所述输入吋钟和输出吋钟。 [0013] a comparison processing unit, configured to compare the input clock and the output clock.
[0014] 一种延迟锁相环, 包括: [0014] A delay phase locked loop, comprising:
[0015] 逻辑控制单元, 用于根据预设规则生成二进制控制信号 C i ; 在鉴相单元的比较 结果为所述输入吋钟滞后于输出吋钟的条件下, 重新生成二进制控制信号 C i+1; 在鉴相单元的比较结果为所述输入吋钟超前于输出吋钟的条件下, 重新生成二 进制控制信号 C' i+1 ; [0015] a logic control unit, configured to generate a binary control signal C i according to a preset rule ; and regenerate the binary control signal C i+ under the condition that the input phase clock lags the output clock after the comparison result of the phase detecting unit 1 ; regenerating the binary control signal C' i+1 under the condition that the comparison clock of the phase detecting unit is ahead of the output clock ;
[0016] 延迟线控制单元, 用于根据逻辑控制单元生成的二进制控制信号 C i,控制延迟 线将输入吋钟延迟 T i, 得到输出吋钟;根据逻辑控制单元重新生成的二进制控制 信号 ^+1控制所述延迟线重新将输入吋钟延迟 T i+1, ^+1为 (T i+T x ) 12, 得到输 出吋钟; 根据逻辑控制单元重新生成的二进制控制信号 C' i+1控制所述延迟线重新 将输入吋钟延迟 T' i+11+1为 (T y+ T i ) 12, 得到输出吋钟; 直到所述输入吋钟 和输出吋钟对齐, 输出与所述输入吋钟对齐的输出吋钟; 其中, 1\为1 至1\以 及 T中,比 T i大且距离 T i最近的一个, T y为 T ,至丁 i以及 0中比 T i小且距离 T i最近 的一个, τ为所述延迟线的最大延迟吋间; [0016] a delay line control unit, configured to control the delay line to delay the input clock by T i according to the binary control signal C i generated by the logic control unit, to obtain an output clock; and to generate a binary control signal according to the logic control unit ^ + 1 controlling the delay line to re-input the input clock delay T i+1 , ^ +1 is (T i+ T x ) 12, obtaining an output chirp; controlling according to the binary control signal C' i+1 regenerated by the logic control unit The delay line re-intermits the input chirp clock by T' i+1 , 1+1 is (T y + T i ) 12, and the output chirp is obtained; until the input chirp and the output chirp are aligned, the output and the input are The clock-aligned output 吋 clock; where 1\ is 1 to 1\ and T, which is larger than T i and closest to T i , T y is T, and is smaller than T i and smaller than D i The nearest one of T i , τ is the maximum delay of the delay line;
[0017] 鉴相单元, 用于比较所述输入吋钟和输出吋钟, 将比较结果输出至逻辑控制单 元。  [0017] The phase detecting unit is configured to compare the input clock and the output clock, and output the comparison result to the logic control unit.
[0018] 一种数字吋钟管理单元, 包括上述所述的吋钟延迟装置, 或者延迟锁相环。  [0018] A digital cuckoo clock management unit comprising the cuckoo clock delay device described above, or a delay phase locked loop.
发明的有益效果  Advantageous effects of the invention
有益效果  Beneficial effect
[0019] 本发明提供的吋钟延迟方法、 装置、 延迟锁相环及数字吋钟管理单元, 在延迟 Ti后得到的输出吋钟与输入吋钟没有对齐的情况下, 若输入吋钟滞后于输出吋钟 , 则说明 Ti不够, 在 Ti与 Tx(Tx为 T1至 Ti以及 T中,比 Ti大且距离 Ti最近的一个 ,τ 为延迟线的最大延迟吋间)这一区间取中间值 (Ti+Tx ) /2进行重新延迟, 若输入 吋钟超前于输出吋钟, 则说明 Ti过大, 在 Ty (Ty  [0019] The clock delay method, device, delay phase-locked loop and digital chime management unit provided by the present invention, if the output chirp obtained after delaying Ti is not aligned with the input chirp, if the input chirp is delayed The output of the cesium clock indicates that Ti is not enough. In the range where Ti and Tx (Tx is T1 to Ti and T, which is larger than Ti and the closest to Ti, τ is the maximum delay of the delay line), the interval is taken as the intermediate value ( Ti+Tx) /2 is re-delayed. If the input clock is ahead of the output cesium, then Ti is too large, in Ty (Ty
为 TI至 Ti以及 0中比 Ti小且距离 Ti最近的一个) 与 Ti这一区间取中间值 (Ty+ Ti The intermediate value of the interval between TI and Ti and 0 which is smaller than Ti and closest to Ti (Ty+ Ti)
) /2进行重新延迟, 因此, 本发明采用的是二分式逐次逼近的方式来实现对齐, 相比现有技术中逐个增加或减少单位延迟吋间的方式, 由最多需要 2N个吋钟周 期降至最多需要 N个吋钟周期, 在输入吋钟和输出吋钟相差较大的情况下, 加快 了 DLL的锁定速度, 提高了芯片系统的工作速度。 /2 re-delay, therefore, the present invention uses a two-point successive approximation to achieve alignment, compared to the prior art method of increasing or decreasing unit delays one by one, up to 2N 吋 weeks The period is reduced to a maximum of N 吋 clock cycles. When the input 吋 clock and the output 吋 clock are greatly different, the locking speed of the DLL is accelerated, and the working speed of the chip system is improved.
[0020] 进一步地, 本发明还设计了二进制控制信号 α的生成机制, 根据本发明设计的 机制, 所生成的二进制控制信号 α, 在延迟 Ή后得到的输出吋钟与输入吋钟没有 对齐的情况下, 能够准确的控制延迟线的延迟吋间, 实现上述二分式逐次逼近 的对齐方式。 相应地, 本发明设计的逻辑控制单元的电路结构仅由少量的触发 器即可实现, 其输出直接控制延迟线, 较现有的由移位寄存器、 格雷码转换器 、 格雷码译码器构成的逻辑控制单元相比, 结构更简单, 实现技术难度小、 风 险低。  [0020] Further, the present invention also designs a generation mechanism of the binary control signal α. According to the mechanism designed by the present invention, the generated binary control signal α is not aligned with the input chirp clock after the delay. In this case, the delay of the delay line can be accurately controlled to achieve the alignment of the above-described two-division successive approximation. Correspondingly, the circuit structure of the logic control unit designed by the invention can be realized only by a small number of flip-flops, and the output directly controls the delay line, which is composed of a shift register, a Gray code converter and a Gray code decoder. Compared with the logic control unit, the structure is simpler, the technical difficulty is small, and the risk is low.
对附图的简要说明  Brief description of the drawing
附图说明  DRAWINGS
[0021] 图 1为本发明一实施例提供的吋钟延迟装置的示意图;  1 is a schematic diagram of a cuckoo clock delay device according to an embodiment of the present invention;
[0022] 图 2为本发明一实施例提供的延迟锁相环的示意图; 2 is a schematic diagram of a delay phase locked loop according to an embodiment of the present invention;
[0023] 图 3为图 2所示延迟锁相环中逻辑控制单元的示意图; 3 is a schematic diagram of a logic control unit in the delay phase locked loop shown in FIG. 2;
[0024] 图 4为本发明一实施例提供的各信号的相位示意图; 4 is a schematic diagram of phases of signals according to an embodiment of the present invention;
[0025] 图 5为与图 4不同的另一种相位示意图; [0025] FIG. 5 is another phase diagram different from FIG. 4;
[0026] 图 6为与图 4、 5不同的另一种相位示意图。 6 is another phase diagram different from FIGS. 4 and 5.
实施该发明的最佳实施例  BEST MODE FOR CARRYING OUT THE INVENTION
本发明的最佳实施方式  BEST MODE FOR CARRYING OUT THE INVENTION
[0027] 在此处键入本发明的最佳实施方式描述段落。 [0027] The paragraphs describing the best mode of the invention are entered here.
本发明的实施方式 Embodiments of the invention
[0028] 本发明为了提高输入吋钟与输出吋钟的对齐速度, 加快了 DLL的锁定速度, 提 出如下构思: 在延迟 T i后得到的输出吋钟与输入吋钟相比, 输入吋钟仍滞后于 输出吋钟的情况下, 重新通过延迟线将输入吋钟延迟 T i+1, 丁1+1为 (T i+T x ) 12 , 输入吋钟仍超前于输出吋钟的情况下, 重新通过延迟线将输入吋钟延迟 T' i+1 , 丁' ;+1为 (T y+ T i ) 12, 以此类推, 直到输入吋钟和输出吋钟对齐。 输入吋钟仍 滞后于输出吋钟的情况, 则说明延迟 T i还不够, 因此在 T i与 τ χ —区间取中间 值 (Τ i+T x [0028] In order to improve the alignment speed of the input cesium clock and the output cesium clock, the invention speeds up the locking speed of the DLL, and proposes the following concept: The output 吋 clock obtained after the delay T i is compared with the input 吋 clock, the input 吋 clock is still In the case of lag in the output cesium clock, the input 吋 clock is delayed by T i+1 through the delay line, and D 1+1 is (T i+ T x ) 12 , and the input 吋 clock is still ahead of the output 吋 clock, The input chirp is delayed by T' i+1 through the delay line, D'; +1 is (T y + T i ) 12, and so on, until the input chirp and the output chirp are aligned. Input 吋 clock still If the lag is delayed from the output 吋, it means that the delay T i is not enough, so the intermediate value is taken in the range of T i and τ χ (Τ i+T x
) /2重新进行延迟, 输入吋钟仍超前于输出吋钟的情况, 则说明延迟 T i过大, 因 此在 T y与 T i这一区间取中间值 (T y+ T i ) /2重新进行延迟, 以此类推, 不对齐 的情况下继续对对应的区间进行二分, 直到输入吋钟和输出吋钟对齐, 本发明 采用这种二分式逐次逼近的方式, 区别于现有技术中逐个增加或减少延迟线的 单位延迟吋间的方式, 最多需要 N个吋钟周期便可实现对齐, 在输入吋钟和输出 吋钟相差较大的情况下, 相比现有技术能够明显加快 DLL的锁定速度, 提高芯片 系统的工作速度。 /2 re-delay, the input 吋 clock is still ahead of the output 吋 clock, then the delay T i is too large, so take the intermediate value (T y + T i ) /2 in the interval of T y and T i Delay is performed, and so on. If the alignment is not aligned, the corresponding interval is continued to be divided until the input chirp and the output chirp are aligned. The present invention adopts the dichotomy successive approximation method, which is different from the prior art one by one. Or reduce the unit delay of the delay line in a way that requires up to N 吋 clock cycles to achieve alignment. In the case where the input 吋 clock and the output 吋 clock are large, the DLL lock can be significantly accelerated compared to the prior art. Speed, improve the working speed of the chip system.
[0029] 本发明中所描述的输入吋钟和输出吋钟对齐, 不局限于输入吋钟和输出吋钟完 全对齐的情况, 指的是, 输入吋钟和输出吋钟的相位差在预设范围内, 因此, 输入吋钟和输出吋钟的相位相差微小的情况也属于对齐。 输入吋钟滞后于输出 吋钟, 且相位差超出上述预设范围的情况, 属于输入吋钟滞后于输出吋钟。 输 入吋钟超前于输出吋钟, 且相位差超出上述预设范围的情况, 属于输入吋钟超 前于输出吋钟。  [0029] The input chirp clock and the output chirp clock described in the present invention are not limited to the case where the input chirp and the output chirp are completely aligned, and the phase difference between the input chirp and the output chirp is preset. In the range, therefore, the case where the phase difference between the input cesium clock and the output cesium clock is small is also aligned. When the input chirp lags the output 吋 clock and the phase difference exceeds the above preset range, the input 吋 clock lags the output 吋 clock. When the input cesium clock is ahead of the output cesium clock and the phase difference exceeds the above preset range, it belongs to the input cesium clock before the output cesium clock.
[0030] 下面通过具体实施方式结合附图对本发明作进一步详细说明。  [0030] The present invention will be further described in detail below with reference to the accompanying drawings.
[0031] 本发明一实施例提供的吋钟延迟方法, 包括如下流程: [0031] The method for delaying the chirp clock according to an embodiment of the present invention includes the following processes:
[0032] S101、 通过延迟线将输入吋钟延迟 1\, 得到输出吋钟。 [0032] S101. Delay the input chirp clock by 1⁄4 through the delay line to obtain an output chirp clock.
[0033] S102、 比较所述输入吋钟和输出吋钟, 若所述输入吋钟滞后于输出吋钟, 则回 到 S101,重新通过延迟线将所述输入吋钟延迟 T i+1, 1\+1为 (T i+T x ) 12, 若所述 输入吋钟超前于输出吋钟, 则回到 S101,重新通过所述延迟线将输入吋钟延迟 T' i+1, T' i+ (T y+ T i ) /2; 直到所述输入吋钟和输出吋钟对齐, 输出与所述输入 吋钟对齐的输出吋钟; 其中, 1\为1 至1\以及丁中,比1\大且距离1\最近的一个 , T y为 T ,ST i以及 0中比 T i小且距离 T i最近的一个, T为所述延迟线的最大延迟 吋间。 [0033] S102. Comparing the input clock and the output clock, if the input clock lags the output clock, returning to S101, and delaying the input clock by the delay line by T i+1 , 1 \ +1 is (T i+ T x ) 12, if the input clock leads the output clock, it returns to S101, and the input delay is delayed by the delay line T' i +1 , T' i+ ( T y + T i ) /2; until the input chirp and the output chirp are aligned, outputting an output chirp aligned with the input chirp; wherein, 1\ is 1 to 1\ and Dingzhong, ratio 1\ Large and distance 1\the nearest one, T y is T , ST i and 0 are smaller than T i and the closest to T i , and T is the maximum delay of the delay line.
[0034] 步骤 S101中, 1\的初始值1 可以任意设置, 只要大于 0且小于 T即可。 优选的  [0034] In step S101, the initial value 1 of 1\ can be arbitrarily set as long as it is greater than 0 and less than T. Preferred
, 1\的初始值1 取172, 这样能够更加高效地实现对齐。  The initial value of 1\ is taken as 172, which makes alignment more efficient.
[0035] 本实施例对延迟线的组成结构不做限定, 只要能够将输入吋钟延迟 T i、 T i+1 、 T' i+1即可。 对于不同结构的延迟线, 可通过不同的方式调整 T i的值, 例如对于 包括多个延迟单元的延迟线, 可通过调整延迟单元的使用数量来调整 T i的值。 [0035] This embodiment does not limit the composition of the delay line, as long as the input clock can be delayed by T i, T i+1 T'i+1 can be. For delay lines of different structures, the value of T i can be adjusted in different ways. For example, for a delay line including a plurality of delay units, the value of T i can be adjusted by adjusting the number of used delay units.
[0036] 优选的, 延迟线包括 2 个延迟单元, 每个延迟单元的延迟吋间, 即单位延迟吋 间为 t (t的取值不局限于 0.1ns) , 贝 IjT为 *t。 对于这种结构的延迟单元, 优选 的, 1\的初始值1 为2 " 即延迟线的最大延迟吋间 2 N*t的一半, 对应的, 也 就是说, 使用延迟线中的 2 ^1个延迟单元进行延迟, 即使用一半数量的延迟单元 进行延迟, 得到输出吋钟; 若输入吋钟滞后于输出吋钟, 则说明延迟 2 ^*t还不 够, 则使用 2 N *t到最大延迟吋间 2 N*t这一区间的中间值 (2 N +2 N) *t /2重新对 输入吋钟进行延迟, 即 T 2= (2 N-'+2 N) *t /2,对应的, 也就是说, 使用延迟线中 的 (2
Figure imgf000008_0001
/2个延迟单元重新对输入吋钟进行延迟; 若输入吋钟超前于输出 吋钟, 则说明延迟 2 N-i*t过大, 则使用 0到 2 N-i*t这一区间的中间值 2 N-i*t /2重新对 输入吋钟进行延迟, 即 T' 2=2 ^*t,对应的, 也就是说, 使用 2 个延迟单元重新 对输入吋钟进行延迟, 以此类推,直到输入吋钟和输出吋钟对齐, 输出与输入吋 钟对齐的输出吋钟。 则 i的取值为 1至 N-l, 即最多需要进行 N次操作, 便可实现 输入吋钟和输出吋钟的对齐。 在一些实施例中, 在步骤 S101中, 可根据预设规 则生成二进制控制信号 C " 根据生成的二进制控制信号 C i,控制延迟线将输入吋 钟延迟 T i, 若步骤 S102中输入吋钟滞后于输出吋钟, 则重新生成二进制控制信 号 C i+1, 根据重新生成的二进制控制信号 C i+1控制延迟线重新将输入吋钟延迟 T i+1; 若步骤 S102中输入吋钟超前于输出吋钟, 则重新生成二进制控制信号 C' i+1, 根据重新生成的二进制控制信号 C' i+1控制延迟线重新将输入吋钟延迟 T' i+1
[0036] Preferably, the delay line includes two delay units, and the delay period of each delay unit, that is, the unit delay time is t (the value of t is not limited to 0.1 ns), and the Bay IjT is *t. For the delay unit of this structure, preferably, the initial value 1 of 1\ is 2", that is, the maximum delay of the delay line is half of 2 N *t, correspondingly, that is, using 2 ^1 in the delay line Delay units are delayed, that is, half of the delay units are used for delay, and the output clock is obtained. If the input clock lags the output clock, the delay 2 ^*t is not enough, and 2 N *t to the maximum delay is used. The median value of 2 N *t in the interval (2 N +2 N ) *t /2 is delayed by the input 吋 clock, ie T 2 = (2 N -'+2 N ) *t /2, corresponding , that is, using the delay line (2
Figure imgf000008_0001
/2 delay units re-intermit the input 吋 clock; if the input 超 clock leads the output 吋 clock, then the delay 2 Ni*t is too large, then the intermediate value of 0 to 2 Ni*t is used 2 Ni* t /2 re-delays the input 吋 clock, ie T' 2 = 2 ^ * t , correspondingly, that is, using 2 delay units to delay the input 吋 clock, and so on, until the input 吋 and The output clock is aligned and the output is clocked by the input chirp. Then, the value of i is 1 to N1, that is, the operation of the input chirp and the output chirp can be realized by performing N operations at most. In some embodiments, in step S101, a binary control signal C" may be generated according to a preset rule. According to the generated binary control signal C i, the delay line is controlled to delay the input clock by T i if the input clock lag is input in step S102. After outputting the clock, the binary control signal C i+1 is regenerated, and the delay line is controlled to delay the input clock delay T i +1 according to the regenerated binary control signal C i+1 ; if the input clock is advanced in step S102 inch clock output, regenerate binary control signals C 'i + 1, a binary control signal to regenerate C' i + 1 re-controlled delay line delaying the input clock inch T 'i + 1.
[0037] 优选的, 二进制控制信号 C i包括 N位字节, 且从最高位到最低位按照 1至 N编号 , 即 i的取值范围为 1至 N-l。  [0037] Preferably, the binary control signal C i includes N bits, and the number from the highest bit to the lowest bit is numbered from 1 to N, that is, i ranges from 1 to N-1.
[0038] 优选的, 初始吋, 步骤 S101中生成二进制控制信号 d, 二进制控制信号。,的 第 1位 (即最高位) 为 1, 其余位为 0; 根据该二进制控制信号 d, 控制延迟线将 输入吋钟延迟 后续, 若 S102中输入吋钟滞后于输出吋钟, 则重新生成二进 制控制信号 C i+1, 二进制控制信号 C 1+1相比二进制控制信号 C i [0038] Preferably, the initial control unit generates a binary control signal d and a binary control signal in step S101. The first bit (ie, the highest bit) of the bit is 1, and the remaining bits are 0. According to the binary control signal d, the control delay line delays the input 吋 clock, and if the input 吋 clock in S102 lags the output 吋 clock, it is regenerated. Binary control signal C i+1 , binary control signal C 1+1 compared to binary control signal C i
第 i位保持为 1, 第 i+1位变换为 1, 其余位不变; 根据重新生成的二进制控制信号 C i+1控制延迟线重新将输入吋钟延迟 T i+1; 若 S102中输入吋钟超前于输出吋钟, 则重新生成二进制控制信号 C' i+1, 二进制控制信号 C' i+1相比二进制控制信号 C i 第 i位变换为 0, 第 i+1位变换为 1, 其余位不变; 根据重新生成的二进制控制信号The i-th bit remains 1, i + 1-bit is converted to 1, the other bits unchanged; The regenerated binary control signal C i + 1 re-controlled delay line delaying the input clock inch T i + 1; if input in S102 The cuckoo clock is ahead of the output cuckoo clock. Then regenerating the binary control signal C'i+1 , the binary control signal C'i+1 is converted to 0 compared to the binary control signal C i, the i+1th bit is changed to 1, and the remaining bits are unchanged; Generated binary control signal
C 1+1控制所述延迟线重新将输入吋钟延迟 T' i+1C 1+1 controls the delay line to delay the input chirp by T' i+1 .
[0039] 本发明还提供一种吋钟延迟装置, 用于实现上述吋钟延迟方法。 如图 1所示, 作为一种实施例, 吋钟延迟装置 1包括延迟处理单元 11和比较处理单元 12, 其中 [0039] The present invention also provides a chirp clock delay device for implementing the above-described chirp delay method. As shown in Fig. 1, as an embodiment, the chopper delay device 1 includes a delay processing unit 11 and a comparison processing unit 12, wherein
[0040] 延迟处理单元 11主要用于通过延迟线将输入吋钟延迟 T i, 得到输出吋钟;在比 较处理单元 12的比较结果为所述输入吋钟滞后于输出吋钟的条件下, 重新通过 延迟线将所述输入吋钟延迟 T i+1, 了1+1为 (T i+T x) 12, 得到输出吋钟; 在比较处 理单元 12的比较结果为所述输入吋钟超前于输出吋钟的条件下, 重新通过所述 延迟线将输入吋钟延迟 T' i+11+1为 (T y+ T i ) 12, 得到输出吋钟; 直到所述输 入吋钟和输出吋钟对齐, 输出与所述输入吋钟对齐的输出吋钟; 1\为1 至1\以 及 T中,比 T i大且距离 T i最近的一个, T y为 T ,至丁 i以及 0中比 T i小且距离 T i最近 的一个, T为所述延迟线的最大延迟吋间; [0040] The delay processing unit 11 is mainly used to delay the input chirp clock by T i through the delay line to obtain an output chirp; after the comparison result of the comparison processing unit 12 is that the input chirp is delayed by the output chirp, The input clock is delayed by T i+1 by a delay line, 1+1 is (T i+ T x ) 12, and an output clock is obtained; the comparison result of the comparison processing unit 12 is that the input clock is ahead of the output. Under the condition of the 吋 clock, the input 吋 clock is delayed by T' i+1 through the delay line, 1+1 is (T y + T i ) 12, and the output 吋 clock is obtained; until the input 吋 clock and the output 吋 clock Align, output the output chirp that is aligned with the input chirp; 1\ is 1 to 1\ and T, the one that is larger than T i and closest to T i , T y is T, to D and 0 T i is small and the closest to T i , T is the maximum delay of the delay line;
[0041] 比较处理单元 12主要用于比较所述输入吋钟和输出吋钟。  [0041] The comparison processing unit 12 is mainly used to compare the input chirp and the output chirp.
[0042] 优选的, T i的初始值 T ^ T /2[0042] Preferably, the initial value of T i is T ^ T / 2 .
[0043] 优选的, 延迟线包括 2 个延迟单元, 每个延迟单元的延迟吋间为 t, T为 2 N 气 T! ¾2 N 1*to [0043] Preferably, the delay line comprises 2 delay units, each delay unit has a delay of t, and T is 2 N gas T! 3⁄42 N 1 *to
[0044] 在一些实施例中, 延迟处理单元 11包括控制信号生成模块和延迟处理子单元, 其中, 控制信号生成模块用于根据预设规则生成包括 N位字节的二进制控制信号 C ;; 延迟处理子单元用于根据控制信号生成模块生成的二进制控制信号 C i,控制 所述延迟线将输入吋钟延迟 T;。 [0044] In some embodiments, the delay processing unit 11 includes a control signal generation module and a processing sub-unit delay, wherein the control signal generating means for generating a N-bit bytes of binary control signal C in accordance with a preset rule;; delay The processing subunit is configured to control the delay line to delay the input clock by T according to the binary control signal C i generated by the control signal generating module.
[0045] 在一些实施例中, 控制信号生成模块具体用于初始吋生成二进制控制信号 C 1 ; 二进制控制信号。,的最高位为 1, 其余位为 0; 延迟处理子单元具体用于根据控 制信号生成模块生成的二进制控制信号 C 1 ; 控制所述延迟线将输入吋钟延迟 T , 。 进一步地, 控制信号生成模块还用于在比较处理单元 12的比较结果为所述输 入吋钟滞后于输出吋钟的条件下, 重新生成二进制控制信号 C i+1, 二进制控制信 号 C i+1相比二进制控制信号 C i第 i位保持为 1, 第 i+1位变换为 1, 其余位不变; 在 比较处理单元 12的比较结果为所述输入吋钟超前于输出吋钟的条件下, 重新生 成二进制控制信号 C' i+1, 二进制控制信号 C' 1+1相比二进制控制信号 C i第 i位变换 为 0, 第 i+1位变换为 1, 其余位不变; 延迟处理子单元还用于根据控制信号生成 模块重新生成的二进制控制信号 C 1+1控制所述延迟线重新将输入吋钟延迟 T i+1; 根据控制信号生成模块重新生成的二进制控制信号 c' i+1控制所述延迟线重新将输 入吋钟延迟 T' i+1 ; 其中, 二进制控制信号 C i从最高位到最低位按照 1至 N编号, i 的取值范围为 1至 N-l。 [0045] In some embodiments, the control signal generation module is specifically configured to initially generate a binary control signal C 1 ; a binary control signal. The highest bit of , is 1 and the remaining bits are 0; the delay processing sub-unit is specifically for generating the binary control signal C 1 generated by the control signal according to the control signal ; and controlling the delay line to delay the input clock by T, . Further, the control signal generating module is further configured to regenerate the binary control signal C i+1 and the binary control signal C i+1 under the condition that the comparison result of the comparison processing unit 12 is that the input clock lags the output clock. Compared with the binary control signal C i , the i-th bit remains at 1, the i+1th bit is changed to 1, and the remaining bits are unchanged; The comparison result of the comparison processing unit 12 is that the input clock is ahead of the output clock, and the binary control signal C'i+1 is regenerated, and the binary control signal C'1 +1 is compared to the binary control signal Ci. The bit is transformed into 0, the i+1th bit is converted to 1, and the remaining bits are unchanged. The delay processing subunit is further configured to control the delay line to re-enter the input according to the binary control signal C1 +1 regenerated by the control signal generating module. Clock delay T i+1 ; controlling the delay line according to the binary control signal c' i+1 regenerated by the control signal generating module to delay the input clock delay T'i+1; wherein the binary control signal C i is from the highest bit The lowest digit is numbered from 1 to N, and the value of i ranges from 1 to Nl.
[0046] 本发明还提供一种延迟锁相环, 用于实现上述吋钟延迟方法。 作为一种实施例 , 延迟锁相环包括: 逻辑控制单元、 延迟线控制单元和鉴相单元, 其中,  [0046] The present invention also provides a delay phase locked loop for implementing the above-described chirp delay method. As an embodiment, the delay phase locked loop includes: a logic control unit, a delay line control unit, and a phase discrimination unit, where
[0047] 逻辑控制单元用于根据预设规则生成二进制控制信号 C ;; 在鉴相单元的比较结 果为所述输入吋钟滞后于输出吋钟的条件下, 重新生成二进制控制信号 C i+1 ; 在 鉴相单元的比较结果为所述输入吋钟超前于输出吋钟的条件下, 重新生成二进 制控制信号 C' i+1 ; [0047] the logic control unit is configured to generate a binary control signal C according to a preset rule ; and regenerate the binary control signal C i+1 under the condition that the comparison result of the phase detecting unit is that the input clock lags behind the output clock ; phase comparison result to the unit ahead of the input clock inch inch clock output conditions, to regenerate the binary control signal C 'i + 1;
[0048] 延迟线控制单元用于根据逻辑控制单元生成的二进制控制信号 C i,控制延迟线 将输入吋钟延迟 T i, 得到输出吋钟;根据逻辑控制单元重新生成的二进制控制信 号 ^+1控制所述延迟线重新将输入吋钟延迟 T i+1, ^+1为 (T i+T x) 12, 得到输出 吋钟; 根据逻辑控制单元重新生成的二进制控制信号 C' 1+1控制所述延迟线重新将 输入吋钟延迟 T' i+11+1为 (T y+ T i ) 12, 得到输出吋钟; 直到所述输入吋钟和 输出吋钟对齐, 输出与所述输入吋钟对齐的输出吋钟; 其中, 1\为1 至1\ 以及 T中,比 T i大且距离 T i最近的一个, T y为 T !¾T i以及 0中比 T i小且距离 T i最 近的一个, τ为所述延迟线的最大延迟吋间; [0048] The delay line control unit is configured to control the delay line to delay the input clock by T i according to the binary control signal C i generated by the logic control unit to obtain an output clock; the binary control signal ^ +1 regenerated according to the logic control unit Controlling the delay line to re-input the input clock delay T i+1 , ^ +1 is (T i+ T x ) 12, and obtaining an output chirp; according to the binary control signal C' 1+1 regenerated by the logic control unit The delay line re-intermits the input chirp clock by T' i+1 , 1+1 is (T y + T i ) 12, and the output chirp is obtained; until the input chirp and the output chirp are aligned, the output and the input are The output clock of the 吋 clock alignment; where 1\ is 1 to 1\ and T, which is larger than T i and closest to T i , T y is T !3⁄4T i and 0 is smaller than T i and distance T i is the nearest one, τ is the maximum delay of the delay line;
[0049] 鉴相单元用于比较所述输入吋钟和输出吋钟, 将比较结果输出至逻辑控制单元  [0049] The phase detecting unit is configured to compare the input clock and the output clock, and output the comparison result to the logic control unit
[0050] 优选的, T i的初始值 T!为 T /2。 [0050] Preferably, the initial value of T i is T! Is T /2.
[0051] 优选的, 延迟线包括 2 个延迟单元, 每个延迟单元的延迟吋间为 t, T为 2 N 气 T! ¾2 N 1*to [0051] Preferably, the delay line includes two delay units, each delay unit has a delay of t, and T is 2 N gas T! 3⁄42 N 1 *to
[0052] 优选的, 逻辑控制单元具体用于初始吋生成包括 N位字节的二进制控制信号 C , , 二进制控制信号。,的最高位为 1, 其余位为 0; 延迟线控制单元具体用于根据 逻辑控制单元生成的二进制控制信号 C 1 ; 控制所述延迟线将输入吋钟延迟 Τ [0053] 优选的, 二进制控制信号 C i+1相比二进制控制信号 C i第 i位保持为 1, 第 i+1位变 换为 1, 其余位不变; 二进制控制信号 C' i+1相比二进制控制信号 C i第 i位变换为 0[0052] Preferably, the logic control unit is specifically configured to generate a binary control signal C, a binary control signal, including an N-bit byte. , the highest bit is 1, and the remaining bits are 0; the delay line control unit is specifically used according to The binary control signal C 1 generated by the logic control unit ; controlling the delay line to delay the input clock Τ [0053] Preferably, the binary control signal C i+1 is maintained at 1 compared to the binary control signal C i , the first bit The i+1 bit is transformed to 1, and the remaining bits are unchanged; the binary control signal C'i+1 is converted to 0 by the i-th bit of the binary control signal C i
, 第 i+1位变换为 1, 其余位不变; 其中, 二进制控制信号 C i从最高位到最低位按 照 1至 N编号, i的取值范围为 1至 N-l。 The i+1 bit is converted to 1, and the remaining bits are unchanged. The binary control signal C i is numbered from 1 to N from the highest bit to the lowest bit, and i ranges from 1 to N-l.
[0054] 本发明还提供一种数字吋钟管理单元, 包括本发明提供的吋钟延迟装置或者延 迟锁相环。 The present invention also provides a digital chime management unit comprising the cuckoo clock delay device or the delay phase locked loop provided by the present invention.
[0055] 下面通过举例对本发明提供的延迟锁相环的结构及工作原理进一步详细说明, 如图 2和 3所示, 延迟锁相环包括逻辑控制单元 (SAR  [0055] The structure and working principle of the delay phase locked loop provided by the present invention are further described in detail below by way of example. As shown in FIGS. 2 and 3, the delay phase locked loop includes a logic control unit (SAR).
Logic) 41、 多路选通器 (MUX, 作为延迟线控制单元使用) 42、 鉴相器 (PD, 作为鉴相单元使用) 43, 还包括延迟线 (Delay Line) 44、 锁存器 (RS  Logic 41. Multi-channel gate (MUX, used as delay line control unit) 42. Phase detector (PD, used as phase-detection unit) 43, Also includes delay line (44), latch (RS)
Latch) 45和或非门, 其中各部件的内部结构及各部件间的连接关系如下:  Latch) 45 and NOR gate, the internal structure of each component and the connection relationship between the components are as follows:
[0056] 延迟线 44包括 2 个延迟单元 (延迟单元 1至延迟单元 2 , 每个延迟单元的延 迟吋间, 即单位延迟吋间为 t, 输入吋钟 CLKIN经过延迟单元 1后得到延迟吋钟 1 , 经过延迟单元 1和延迟单元 2后得到延迟吋钟 2, 经过延迟单元 1至延迟单元 2 -1后得到延迟吋钟 2 N-1 , 经过延迟单元 1至延迟单元 2 后得到延迟吋钟 2 , 延迟 吋钟 1、 延迟吋钟 2......延迟吋钟 2 每相邻两个延迟吋钟之间相差一个单位延迟 吋间 t, 延迟线 44的最大延迟吋间 T为 2 气 延迟线 44的初始延迟吋间 T ^2 N-i*t; [0056] The delay line 44 includes two delay units (delay unit 1 to delay unit 2, the delay period of each delay unit, that is, the unit delay time is t, and the input clock CLKIN passes the delay unit 1 to obtain a delay 吋1. After the delay unit 1 and the delay unit 2, the delay clock 2 is obtained. After the delay unit 1 to the delay unit 2 -1, the delay clock 2 N-1 is obtained, and after the delay unit 1 to the delay unit 2, the delay clock is obtained. 2, delay 吋1, delay 吋2 2...delay 吋2 2 Between each adjacent two delay 吋, one unit delay 吋, t, delay line 44, maximum delay 吋2 The initial delay of the gas delay line 44 is ^T ^2 Ni*t;
[0057] 多路选通器 42用于根据逻辑控制单元 41输入的二进制控制信号 C i从延迟吋钟 1 至延迟吋钟 2 中选择一个作为输出吋钟 CLKOUT, 将 CLKOUT输入给鉴相器 43;  [0057] The multiplexer 42 is configured to select one of the delay clocks 1 to the delayed clocks 2 as the output clock CLKOUT according to the binary control signal C i input from the logic control unit 41, and input CLKOUT to the phase detector 43. ;
[0058] 鉴相器 43比较 CLKIN和多路选通器 42输出的 CLKOUT的相位, 根据比较结果输 出鉴相正输出信号 PD_OUTP和鉴相负输出信号 PD_OUTN, PD_OUTP和 PD_OU TN这两者传输至锁存器 45和一个或非门, 或非门的输出为锁定 (LOCK) 信号 , 这个或非门的输出再输入到一个反相器, 反相器的输出为复位 (RST) 信号, RST信号输出至逻辑控制单元 41 ;  The phase detector 43 compares the phase of CLKIN and the CLKOUT output from the multiplexer 42, and outputs the phase-detecting positive output signal PD_OUTP and the phase-detecting negative output signals PD_OUTN, PD_OUTP and PD_OU TN to the lock according to the comparison result. The output of the memory device 45 and the NOR gate, the NOR gate is a lock (LOCK) signal, and the output of the NOR gate is input to an inverter. The output of the inverter is a reset (RST) signal, and the RST signal output. To the logic control unit 41;
[0059] 锁存器 45根据鉴相器 43输入的 PD_OUTP和 PD_OUTN生成锁存器输出信号 DIN , 输出至逻辑控制单元 41 ; 锁存器 45为或非门结构, 若 PD_OUTP出现高电平 1吋 DIN为高电平 1 ; 若 PD_OUTN出现高电平 1日寸, DIN为 0, 若 PD_OUTP和 PD_OUT[0059] The latch 45 generates a latch output signal DIN according to PD_OUTP and PD_OUTN input from the phase detector 43 and outputs it to the logic control unit 41; the latch 45 is a NOR gate structure, and if PD_OUTP exhibits a high level 1吋 DIN is high 1; if PD_OUTN is high 1 day, DIN is 0, if PD_OUTP and PD_OUT
N同吋为 0, DIN保持上次触发的值; N is the same as 0, DIN keeps the last triggered value;
[0060] 逻辑控制单元 41为单脉冲产生器, 其结构如图 3所示, 包括 N+1个 D触发器 1、 N 个 D触发器 2、 N个 D触发器 3, 还包括 N个连接在相邻 D触发器 1之间的延迟模块 , 以及 N个连接在 D触发器 2和 D触发器 3之间的或门, 其中, N+1个 D触发器 1为 上升沿触发, 有复位端, 复位端接 0吋清零, N个 D触发器 2为上升沿触发, 有复 位端, 复位端接 0吋清零, N个 D触发器 3为上升沿触发。 从左边起, 第一个 D触 发器 1的三个输入端分别接高电位 1 (此处可通过串联一个电阻连接到电源, 或 者通过其他方式得到高电平) 、 CLKIN、 上述 RST信号, 第一个 D触发器 1的输 出端依次接反相器和延迟模块, 再接入到第二个 D触发器 1的一个输入端, 第二 个 D触发器 1的另两个输入端分别接 CLKIN、 RST信号, 第二个 D触发器 1的输出 端通过另一个延迟模块接入到第三个 D触发器 1的一个输入端, 同吋, 第二个 D触 发器 1的输出端还接入到第一个 D触发器 2的输入端和第一个或门的一个输入端; 第一个 D触发器 2的另两个输入端分别接 DIN和 RST信号, 第一个 D触发器 2的输 出端接第一个或门的另一个输入端; 第一个或门的输出端接第一个 D触发器 3的 输入端, 第一个 D触发器 3的另外一个输入端接 LOCK信号, 第一个 D触发器 3的 输出端输出二进制控制信号 C i的最高位 (即第 1位) ; 依次类推。 延迟模块与延 迟线 44中的延迟单元 (延迟单元 1至延迟单元 2 N) 的结构可以一样, 但是单位延 迟吋间比延迟单元要小。 [0060] The logic control unit 41 is a single pulse generator, and its structure is as shown in FIG. 3, including N+1 D flip-flops 1, N D flip-flops 2, N D flip-flops 3, and also includes N connections. a delay module between adjacent D flip-flops 1, and N OR gates connected between D flip-flop 2 and D flip-flop 3, wherein N+1 D flip-flops 1 are triggered by rising edges, with reset The reset terminal is reset to 0, and the N D flip-flops 2 are triggered by the rising edge. There is a reset terminal, the reset terminal is connected to 0吋, and the N D flip-flops 3 are triggered by the rising edge. From the left, the three inputs of the first D flip-flop 1 are respectively connected to a high potential 1 (here can be connected to the power supply by connecting a resistor in series, or by other means to obtain a high level), CLKIN, the above RST signal, The output of one D flip-flop 1 is connected to the inverter and the delay module in turn, and then to one input of the second D flip-flop 1, and the other two inputs of the second D flip-flop 1 are respectively connected to CLKIN. RST signal, the output of the second D flip-flop 1 is connected to one input of the third D flip-flop 1 through another delay module, and the output of the second D flip-flop 1 is also connected. To the input of the first D flip-flop 2 and one input of the first OR gate; the other two inputs of the first D flip-flop 2 are respectively connected to the DIN and RST signals, the first D flip-flop 2 The output terminal is connected to the other input terminal of the first OR gate; the output end of the first OR gate is connected to the input end of the first D flip-flop 3, and the other input terminal of the first D flip-flop 3 is connected to the LOCK signal. The output of the first D flip-flop 3 outputs binary control C i is the highest bit number (i.e., 1 bit); and so on. The delay unit and the delay unit (delay unit 1 to delay unit 2 N) in the delay line 44 may have the same structure, but the unit delay time is smaller than the delay unit.
[0061] 该种结构的延迟锁相环的工作原理如下: [0061] The working principle of the delay phase locked loop of this structure is as follows:
[0062] 当 RST信号为 0吋, 此吋逻辑控制单元 41内所有 D触发器均清零, 包括 N位字节 的二进制控制信号 C i、 触发器输出 1至触发器输出 N都为 0;  [0062] When the RST signal is 0吋, all the D flip-flops in the logic control unit 41 are cleared to zero, and the binary control signal C i including the N-bit byte and the trigger output 1 to the trigger output N are both 0;
[0063] 当 RST信号变成 1吋, CLKIN输入后, 先幵始二进制控制信号 C i的最高位的转 换, 即将最高位 (即第 1位) 置为 1, 其他位保持为 0, 此吋生成二进制控制信号[0063] When the RST signal becomes 1吋, after the CLKIN is input, the highest bit conversion of the binary control signal C i is first started, that is, the highest bit (ie, the first bit) is set to 1, and the other bits remain at 0. Generate binary control signals
C 为 100...00, 输送至多路选通器 42, 多路选通器 42从延迟吋钟 1至延迟吋钟 2 中选择延迟吋钟 2 N作为输入端, 即对 CLKIN延迟 2 N-1 C is 100...00, which is sent to the multiplexer 42, and the multiplexer 42 selects the delay 2 2 N as the input from the delay 吋 1 to the delayed 2 2, that is, delays 2 N for the CLKIN 1
*t作为 CLKOUT, 鉴相器 43将该 CLKOUT与 CLKIN做鉴相, 若 CLKIN的相位滞 后于 CLKOUT, 则说明延迟 2 N 1*t还不够, 则如图 4所示, PD_OUTP输出高电平 , PD_OUTN输出低电平, PD_OUTP和 PD_OUTN经过锁存器 45后的输出 DIN为 1 , 送至逻辑控制单元 41, 逻辑控制单元 41生成二进制控制信号 C 2, 即在 的基 础上, 最高位 (即第 1位) 保留为 1,次高位 (即第 2位) 变换为 1, 其余位不变, 即 C 2为 110...00; 若 CLKIN超前于 CLKOUT, 则如图 5所示, PD_OUTN输出高电 平, PD_OUTP输出低电平, PD_OUTP和 PD_OUTN经过锁存器 45的输出 DIN为 0 , 逻辑控制单元 41, 逻辑控制单元 41生成二进制控制信号 C' 2, 即在 C ^基础上 , 最高位 (即第 1位) 变成 0, 次高位 (即第 2位) 变换为 1, 其余位不变, 即 C' 2 为 010...00; 若 CLKIN和 CLKOUT的相位差在鉴相器 43的鉴相精度以内, 即相位 对齐, 则如图 6所示, 鉴相器 43的 PD_OUTP和 PD_OUTN均为 0, 输入到或非门后 , DLL的 LOCK信号变成 1, 判定为 DLL锁定, 此吋锁定信号控制逻辑控制单元 4 1中的 D触发器 3翻转, 将当前 C i的值锁存, 即 100...00; *t as CLKOUT, phase detector 43 will phase the CLKOUT and CLKIN. If the phase of CLKIN lags behind CLKOUT, the delay 2 N 1 *t is not enough. As shown in Figure 4, PD_OUTP outputs a high level. PD_OUTN outputs a low level, PD_OUTP and PD_OUTN pass through the latch 45 and the output DIN is 1 and is sent to the logic control unit 41. The logic control unit 41 generates a binary control signal C 2 , that is, on the basis of the highest bit (ie, The first bit) is reserved as 1, the second highest bit (ie, the second bit) is converted to 1, and the remaining bits are unchanged, that is, C 2 is 110...00; if CLKIN is ahead of CLKOUT, as shown in Figure 5, PD_OUTN is output. High level, PD_OUTP output low level, PD_OUTP and PD_OUTN pass the output DIN of the latch 45 is 0, the logic control unit 41, the logic control unit 41 generates a binary control signal C' 2 , that is, on the C ^ basis, the highest bit (ie, the first bit) becomes 0, the next highest bit (ie, the second bit) is converted to 1, and the remaining bits are unchanged, that is, C' 2 is 010...00; if the phase difference between CLKIN and CLKOUT is in the phase detector 43 Within the phase discrimination accuracy, that is, phase alignment, as shown in FIG. 6, the PD_OUTP and PD_OUTN of the phase detector 43 are both 0. After inputting to the NOR gate, the LOCK signal of the DLL becomes 1, and it is determined that the DLL is locked.吋Lock signal control logic control unit 4 1 D flip-flop 3 flips, locks the current value of C i That 100 ... 00;
上述二进制控制信号 C 2或 C' 2 The above binary control signal C 2 or C' 2
再次输送至多路选通器 42; 以输入至多路选通器 42的是二进制控制信号 C 2为例 , 多路选通器 42从延迟吋钟 1至延迟吋钟 2 N中选择延迟吋钟 (2 N-1+2 N) /2作为输 入端, 即对 CLKIN延迟 (2 Ν- '+2 Ν) *t /2作为 CLKOUT, 鉴相器 43将该 CLKOUT 与 CLKIN做鉴相; 若 CLKIN的相位仍滞后于 CLKOUT, 则说明延迟 (2 N-I+2 N ) *t /2还不够, It is again sent to the multiplexer 42; taking the binary control signal C 2 input to the multiplexer 42 as an example, the multiplexer 42 selects the delay cesium from the delay 吋 1 to the delayed 2 2 N ( 2 N- 1+ 2 N) /2 as the input, that is, the CLKIN delay (2 Ν - '+2 Ν ) *t /2 as CLKOUT, the phase detector 43 discriminates the CLKOUT and CLKIN; if CLKIN The phase still lags behind CLKOUT, indicating that the delay (2 NI + 2 N ) *t /2 is not enough.
PD_OUTP输出高电平, PD_OUTN输出低电平, PD_OUTP和 PD_OUTN经过锁存 器 45后的输出 DIN为 1, 送至逻辑控制单元 41, 逻辑控制单元 41生成二进制控制 信号 C 3, 即在 C 2的基础上, 次高位 (即第 2位) 保留为 1, PD_OUTP output high, PD_OUTN output low, and PD_OUTN PD_OUTP the DIN 45 via the output latch to 1, to the logic control unit 41, the logic control unit 41 generates a binary control signal C 3, i.e. the C 2 On the basis of the second highest position (ie the second place) is reserved as 1,
次高位的后一位 (即第 3位) 变换为 1, 其余位不变, 。3为111...00; 二进制控制 信号 C 3再次输送至多路选通器 42, 多路选通器 42从延迟吋钟 1至延迟吋钟 2 N中选 择延迟吋钟 [(2 -i+2 N)/2+2 N]/2作为输入端, 即对 CLKIN延迟 [(2 N 1+2 N)/2+2 N] *t /2作为 CLKOUT, 依此类推; 若 CLKIN的相位超前于 CLKOUT, 则说明延迟 (2 N- i+2 N) *t /2过大, PD_OUTP输出低电平, PD_OUTN输出高电平, PD_OUTP 和 PD_OUTN经过锁存器 45后的输出 DIN为 0, 送至逻辑控制单元 41, 逻辑控制单 元 41生成二进制控制信号 C' 3, 即在 C 2的基础上, 次高位 (即第 2位) 变换为 0, 次高位的后一位 (即第 3位) 变换为 1, 其余位不变, 。' 3为101...00; 二进制控制 信号 C' 3再次输送至多路选通器 42, 多路选通器 42从延迟吋钟 1至延迟吋钟 2 N中 选择延迟吋钟 [(2 -i+2 N)/2+2 Ν- ψ2作为输入端, 即对 CLKIN延迟 [(2 Ν 1+2 Ν)/2+2 Ν- 1 ]*t /2作为 CLKOUT, 依此类推; 若 CLKIN和 CLKOUT的相位差在鉴相器 43的鉴 相精度以内, 即相位对齐, 则鉴相器 43的 PD_OUTP和 PD_OUTN均为 0, 输入到 或非门后, DLL的 LOCK信号变成 1, 判定为 DLL锁定, 此吋锁定信号控制逻辑 控制单元 41中的 D触发器 3翻转, 将当前 C 2的值锁存, 即 110...00;依此类推。 The next bit of the next highest bit (ie, the third bit) is changed to 1, and the remaining bits are unchanged. 3 is 111...00; the binary control signal C 3 is again supplied to the multiplexer 42, and the multiplexer 42 selects the delay 吋 clock from the delay 吋 1 to the delayed 2 2 2 [(2 -i+ 2 N ) / 2 + 2 N ] / 2 as the input, that is, the delay of CLKIN [(2 N 1 + 2 N ) / 2 + 2 N ] * t /2 as CLKOUT, and so on; if the phase of CLKIN is ahead At CLKOUT, the delay (2 N- i+2 N) * t /2 is too large, PD_OUTP outputs low level, PD_OUTN outputs high level, PD_OUTP and PD_OUTN pass the latch 45 after the output DIN is 0, send to the logic control unit 41, the logic control unit 41 generates a binary control signal C '3, C 2 that is based on the highest order bit (i.e., bit 2) is converted into 0, the second after a high-order (ie 3) Change to 1, the remaining bits are unchanged. ' 3 is 101...00; binary control Signal C '3 again conveyed up to mux 42, mux 42 selects the clock delay inch [(2 -i + 2 N) / 2 + 2 Ν clock 1 inch from the delay to the delay clock inches in 2 N - Ψ2 as the input, that is, the CLKIN delay [(2 Ν 1 +2 Ν ) / 2 + 2 Ν - 1 ] * t /2 as CLKOUT, and so on; if the phase difference between CLKIN and CLKOUT is in the phase detector 43 Within the phase discrimination accuracy, that is, the phase alignment, the PD_OUTP and PD_OUTN of the phase detector 43 are both 0. After inputting to the NOR gate, the LOCK signal of the DLL becomes 1, and it is determined that the DLL is locked. The 吋 lock signal control logic control unit The D flip-flop 3 in 41 flips, latching the current value of C 2 , ie 110...00; and so on.
[0065] 本发明采用二分式逐次逼近的方式来实现对齐, 相比现有技术中逐个增加或减 少单位延迟吋间的方式, 由最多需要 2 N个吋钟周期降至最多需要 N个吋钟周期, 在输入吋钟和输出吋钟相差较大的情况下, 加快了 DLL的锁定速度, 提高了芯片 系统的工作速度。 本发明还设计了二进制控制信号 C i的生成机制, 根据本发明 设计的机制, 所生成的二进制控制信号 C i, 在延迟 T i后得到的输出吋钟与输入 吋钟没有对齐的情况下, 能够准确的控制延迟线的延迟吋间, 实现上述二分式 逐次逼近的对齐方式。 相应地, 本发明设计的逻辑控制单元的电路结构仅由少 量的触发器即可实现, 其输出直接控制延迟线, 较现有的由移位寄存器、 格雷 码转换器、 格雷码译码器构成的逻辑控制单元相比, 结构更简单, 实现技术难 度小、 风险低。 [0065] The present invention implements alignment by means of a two-point successive approximation, which reduces the need for a maximum of 2 N chirp cycles to a maximum of N chirps compared to the prior art method of increasing or decreasing unit delays one by one. The cycle, when the input chord and the output cesium are greatly different, accelerates the locking speed of the DLL and improves the working speed of the chip system. The present invention also designs a generation mechanism of the binary control signal C i . According to the mechanism designed by the present invention, the generated binary control signal C i is not aligned with the input chirp clock after the delay T i . The delay of the delay line can be accurately controlled to achieve the alignment of the above-described two-division successive approximation. Correspondingly, the circuit structure of the logic control unit designed by the invention can be realized only by a small number of flip-flops, and the output directly controls the delay line, which is composed of a shift register, a Gray code converter and a Gray code decoder. Compared with the logic control unit, the structure is simpler, the technical difficulty is small, and the risk is low.
[0066] 显然, 本领域的技术人员应该明白, 上述本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算 装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现 , 从而, 可以将它们存储在存储介质 (ROM/RAM、 磁碟、 光盘) 中由计算装置 来执行, 并且在某些情况下, 可以以不同于上述实施例描述的顺序执行所示出 或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将它们中的多 个模块或步骤制作成单个集成电路模块来实现。 所以, 本发明不限制于任何特 定的硬件和软件结合。  [0066] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in a storage medium (ROM/RAM, disk, optical disk) by a computing device, and at some In some cases, the steps shown or described may be performed in an order different from that described in the above embodiments, or they may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof may be fabricated into a single integrated circuit module. to realise. Therefore, the invention is not limited to any specific combination of hardware and software.
[0067] 以上内容是结合具体的实施方式对本发明所作的进一步详细说明, 不能认定本 发明的具体实施只局限于这些说明。 对于本发明所属技术领域的普通技术人员 来说, 在不脱离本发明构思的前提下, 还可以做出若干简单推演或替换, 都应 当视为属于本发明的保护范围。  The above is a further detailed description of the present invention in connection with the specific embodiments, and the specific embodiments of the invention are not limited to the description. It will be apparent to those skilled in the art that the present invention may be practiced without departing from the spirit and scope of the invention.

Claims

权利要求书  Claim
[权利要求 1] 一种吋钟延迟方法, 其特征在于, 包括:  [Claim 1] A chirp clock delay method, comprising:
步骤一、 通过延迟线将输入吋钟延迟 T " 得到输出吋钟;  Step 1. Delay the input chirp by delay line T "to get the output clock;
步骤二、 比较所述输入吋钟和输出吋钟, 若所述输入吋钟滞后于输出 吋钟, 则回到步骤一,重新通过延迟线将所述输入吋钟延迟 T i+1, T i+1 为 (T i+T x ) 12, 若所述输入吋钟超前于输出吋钟, 则回到步骤一,重 新通过所述延迟线将输入吋钟延迟 T' i+11+1为 (T y+ T i ) /2; 直到 所述输入吋钟和输出吋钟对齐, 输出与所述输入吋钟对齐的输出吋钟 ; 其中, !^为!^至!^以及丁中,比!^大且距离!^最近的一个, 1 为1 至 T i以及 0中比 T i小且距离 T i最近的一个, T为所述延迟线的最大延 迟吋间。 Step 2: Comparing the input chirp clock and the output chirp clock, if the input chirp clock lags the output chirp clock, return to step one, and delay the input chirp clock by T i+1 , T i again through the delay line. +1 is (T i+ T x ) 12, if the input clock is ahead of the output clock, it returns to step one, and the input delay is delayed by T' i+1 through the delay line, 1+1 is (T y + T i ) /2; until the input chirp and the output chirp are aligned, outputting an output chirp aligned with the input chirp; wherein, ! ^For! ^ to! ^ and Ding Zhong, than! ^ Big and distance! ^The nearest one, 1 is 1 to T i and 0 is smaller than T i and is closest to T i , and T is the maximum delay of the delay line.
[权利要求 2] 如权利要求 1所述的吋钟延迟方法, 其特征在于, ^的初始值1 1为工 The initial value of [Claim 2] inch of the clock delay method as claimed in claim 1, characterized in that, as the working ^ 1 1
II。  II.
[权利要求 3] 如权利要求 2所述的吋钟延迟方法, 其特征在于, 所述延迟线包括 2 N 个延迟单元, 每个延迟单元的延迟吋间为 t, T为 2 N*t, 1\为2 ^ 。  [Claim 3] The cuckoo clock delay method according to claim 2, wherein the delay line includes 2 N delay units, each of which has a delay of t and T of 2 N*t, 1\ is 2 ^.
[权利要求 4] 如权利要求 3所述的吋钟延迟方法, 其特征在于, 步骤一包括:  [Claim 4] The cuckoo clock delay method according to claim 3, wherein step one comprises:
根据预设规则生成包括 N位字节的二进制控制信号 C i ; Generating a binary control signal C i including N bits according to a preset rule ;
根据生成的二进制控制信号 C i,控制所述延迟线将输入吋钟延迟 T i。  Based on the generated binary control signal C i , the delay line is controlled to delay the input clock by T i .
[权利要求 5] 如权利要求 4所述的吋钟延迟方法, 其特征在于, 步骤一包括:  [Claim 5] The cuckoo clock delay method according to claim 4, wherein step one comprises:
初始吋, 生成二进制控制信号 d, 二进制控制信号。,的最高位为 1, 其余位为 0; 根据该二进制控制信号 d, 控制所述延迟线将输入吋钟 延迟 TV  Initially, a binary control signal d, a binary control signal is generated. The highest bit of , is 1, and the remaining bits are 0; according to the binary control signal d, the delay line is controlled to input the clock delay TV
[权利要求 6] 如权利要求 5所述的吋钟延迟方法, 其特征在于, 步骤一还包括: 若步骤二中所述输入吋钟滞后于输出吋钟, 则重新生成二进制控制信 号 C i+1, 二进制控制信号 C 1+1相比二进制控制信号 C i第 i位保持为 1, 第 i+1位变换为 1, 其余位不变; 根据重新生成的二进制控制信号 C i+1 控制所述延迟线重新将输入吋钟延迟 T i+1[Claim 6] The cuckoo clock delay method according to claim 5, wherein the step 1 further comprises: if the input chirp clock lags the output cuckoo clock in the second step, regenerating the binary control signal C i+ 1 , the binary control signal C 1+1 is kept at 1 compared to the binary control signal C i , the i+1th bit is changed to 1, and the remaining bits are unchanged; the control is controlled according to the regenerated binary control signal C i+1 The delay line re-intermits the input chirp clock by T i+1 ;
若步骤二中所述输入吋钟超前于所述输出吋钟, 则重新生成二进制控 制信号 C' i+1, 二进制控制信号 C' 1+1相比二进制控制信号 C i第 i位变换 为 0, 第 i+1位变换为 1, 其余位不变; 根据重新生成的二进制控制信 号 C' 1+1控制所述延迟线重新将输入吋钟延迟 T' i+1If the input clock is ahead of the output clock in step two, the binary control is regenerated. The signal C' i+1 , the binary control signal C' 1+1 is converted to 0 compared to the binary control signal C i , the i+1th bit is changed to 1, and the remaining bits are unchanged; according to the regenerated binary control The signal C' 1+1 controls the delay line to delay the input clock by T'i+1;
其中, 二进制控制信号 C i从最高位到最低位按照 1至 N编号, i的取值 范围为 1至 N-l。 The binary control signal C i is numbered from 1 to N from the highest bit to the lowest bit, and the value of i ranges from 1 to N-l.
一种吋钟延迟装置, 其特征在于, 包括: A chopper delay device, comprising:
延迟处理单元, 用于通过延迟线将输入吋钟延迟 1\, 得到输出吋钟; 在比较处理单元的比较结果为所述输入吋钟滞后于输出吋钟的条件下 , 重新通过延迟线将所述输入吋钟延迟 T i+1, ^+1为 (T i+T x ) 12, 得 到输出吋钟; 在比较处理单元的比较结果为所述输入吋钟超前于输出 吋钟的条件下, 重新通过所述延迟线将输入吋钟延迟 T' i+1, T' i+1 为 (Τ γ+ Τ\ ) 12, 得到输出吋钟; 直到所述输入吋钟和输出吋钟对齐 , 输出与所述输入吋钟对齐的输出吋钟; 其中, 1\为1 至1\以及丁 中,比 T i大且距离 T i最近的一个, T y为 T ,至丁 i以及 0中比 T i小且距离 T i最近的一个, T为所述延迟线的最大延迟吋间; a delay processing unit, configured to delay the input chirp clock by 1⁄4 through the delay line to obtain an output chirp clock; and after the comparison processing unit compares the result that the input chirp clock lags the output chirp clock, re-pass the delay line The input chirp clock delay T i+1 , ^ +1 is (T i+ T x ) 12, and the output chirp clock is obtained; under the condition that the comparison processing unit compares the input clock before the output chirp clock, The input chirp clock is delayed by T' i+1 through the delay line, and T' i+1 is (Τ γ + Τ\ ) 12 to obtain an output chirp; until the input chirp and the output chirp are aligned, the output is The input chirp-aligned output chirp clock; wherein, 1\ is 1 to 1\ and the middle, the one that is larger than T i and the closest to the distance T i , T y is T, and the ratio of T i to 0 is T i Small and the closest to T i , T is the maximum delay of the delay line;
比较处理单元, 用于比较所述输入吋钟和输出吋钟。 A comparison processing unit is configured to compare the input clock and the output clock.
如权利要求 7所述的吋钟延迟装置, 其特征在于, 1 1的初始值1 1为工 II。 Inch bell according to claim 7 delay means, wherein an initial value of 11 to 11 as the working II.
如权利要求 8所述的吋钟延迟装置, 其特征在于, 所述延迟线包括 2 N 个延迟单元, 每个延迟单元的延迟吋间为 t, T为 2 N*t, 1\为2 ^ 。 如权利要求 9所述的吋钟延迟装置, 其特征在于, 延迟处理单元包括 控制信号生成模块, 用于根据预设规则生成包括 N位字节的二进制控 制信号 C i ; The chopper delay device according to claim 8, wherein said delay line comprises 2 N delay units, each of which has a delay of t, T is 2 N*t, and 1\ is 2^. . The sinusoidal delay device of claim 9, wherein the delay processing unit comprises a control signal generating module for generating a binary control signal C i comprising N bits according to a preset rule ;
延迟处理子单元, 用于根据控制信号生成模块生成的二进制控制信号a delay processing sub-unit for generating a binary control signal generated by the module according to the control signal
C i,控制所述延迟线将输入吋钟延迟 T i。 C i, controlling the delay line delays the input clock by T i .
如权利要求 10所述的吋钟延迟装置, 其特征在于, A chopper delay device according to claim 10, wherein
控制信号生成模块具体用于初始吋生成二进制控制信号 C 1 ; 二进制 控制信号。,的最高位为 1, 其余位为 0; The control signal generating module is specifically configured to generate a binary control signal C 1 initially ; control signal. The highest bit of , is 1, and the remaining bits are 0;
延迟处理子单元具体用于根据控制信号生成模块生成的二进制控制信 号 d, 控制所述延迟线将输入吋钟延迟 T ,。  The delay processing sub-unit is specifically configured to control the delay line to delay the input clock by T according to the binary control signal d generated by the control signal generating module.
[权利要求 12] 如权利要求 11所述的吋钟延迟装置, 其特征在于, [Claim 12] The cuckoo clock delay device according to claim 11, wherein
控制信号生成模块还用于在比较处理单元的比较结果为所述输入吋钟 滞后于输出吋钟的条件下, 重新生成二进制控制信号 C i+1, 二进制控 制信号 C 1+1相比二进制控制信号 C i第 i位保持为 1, 第 i+1位变换为 1, 其余位不变; 在比较处理单元的比较结果为所述输入吋钟超前于输出 吋钟的条件下, 重新生成二进制控制信号 c' i+1, 二进制控制信号 c' i+1 相比二进制控制信号 C i第 i位变换为 0, 第 i+1位变换为 1, 其余位不变 延迟处理子单元还用于根据控制信号生成模块重新生成的二进制控制 信号 C 1+1控制所述延迟线重新将输入吋钟延迟 T i+1; 根据控制信号生 成模块重新生成的二进制控制信号 c' i+≤制所述延迟线重新将输入吋 钟延迟 T' i+1 ; The control signal generating module is further configured to regenerate the binary control signal C i+1 under the condition that the comparison result of the comparison processing unit is that the input clock lags the output cesium clock, and the binary control signal C 1+1 is compared with the binary control The i-th bit of the signal C i is kept at 1, the i+1th bit is changed to 1, and the remaining bits are unchanged; and the binary control is regenerated under the condition that the comparison processing unit compares the input clock before the output cesium clock The signal c' i+1 , the binary control signal c' i+1 is converted to 0 compared to the binary control signal C i , the i+1th bit is converted to 1, and the remaining bit invariant delay processing subunit is further used according to The binary control signal C 1+1 regenerated by the control signal generating module controls the delay line to delay the input clock delay T i+1 ; the binary control signal c′ i+ ≤ generated by the control signal generating module is ≤ the delay line Re-input the input clock by T'i+1;
其中, 二进制控制信号 C i从最高位到最低位按照 1至 N编号, i的取值 范围为 1至 N-l。  The binary control signal C i is numbered from 1 to N from the highest bit to the lowest bit, and the value of i ranges from 1 to N-l.
[权利要求 13] —种延迟锁相环, 其特征在于, 包括: [Claim 13] A delay phase locked loop, comprising:
逻辑控制单元, 用于根据预设规则生成二进制控制信号 C i ; 在鉴相单 元的比较结果为所述输入吋钟滞后于输出吋钟的条件下, 重新生成二 进制控制信号 C i+1; 在鉴相单元的比较结果为所述输入吋钟超前于输 出吋钟的条件下, 重新生成二进制控制信号 C' i+1; 延迟线控制单元, 用于根据逻辑控制单元生成的二进制控制信号 C i, 控制延迟线将输入吋钟延迟 T i, 得到输出吋钟;根据逻辑控制单元重 新生成的二进制控制信号 制所述延迟线重新将输入吋钟延迟 T i+1, 1 1+1为 (T i+T x ) 12, 得到输出吋钟; 根据逻辑控制单元重新生 成的二进制控制信号 C' 1+1控制所述延迟线重新将输入吋钟延迟 T' i+1 , 1^+1为 (T y+ T i ) 12, 得到输出吋钟; 直到所述输入吋钟和输出吋 钟对齐, 输出与所述输入吋钟对齐的输出吋钟; 其中, 1\为1 至1\ 以及 T中,比 T i大且距离 T i最近的一个, T y为 T !¾T i以及 0中比 T i小且 距离 T i最近的一个, T为所述延迟线的最大延迟吋间; a logic control unit, configured to generate a binary control signal C i according to a preset rule ; and regenerate the binary control signal C i+1 under the condition that the input phase lags behind the output cesium clock; The comparison result of the phase detecting unit is that the input clock is ahead of the output clock, and the binary control signal C'i+1 is regenerated; the delay line control unit is used for the binary control signal C i generated according to the logic control unit. The control delay line delays the input chirp clock T i to obtain an output chirp clock; the delay line re-generates the input chirp delay T i +1 according to the binary control signal regenerated by the logic control unit, 1 1+1 is (T i+ T x ) 12, the output clock is obtained; the delay line is re-generated according to the binary control signal C' 1+1 regenerated by the logic control unit, and the input clock is delayed by T' i+1 , 1^ +1 is (T y + T i ) 12, get the output 吋 clock; until the input 吋 clock and output 吋 Clock alignment, outputting an output chirp aligned with the input chirp; wherein 1\ is 1 to 1\ and T, which is larger than T i and closest to T i , T y is T !3⁄4T i and 0 a medium that is smaller than T i and closest to Ti, and T is the maximum delay of the delay line;
鉴相单元, 用于比较所述输入吋钟和输出吋钟, 将比较结果输出至逻 辑控制单元。 A phase detector unit for comparing the input clock and the output clock, and outputting the comparison result to the logic control unit.
如权利要求 13所述的延迟锁相环, 其特征在于, 1 1的初始值1 1为丁/2 如权利要求 14所述的延迟锁相环, 其特征在于, 所述延迟线包括 2 ^ 个延迟单元, 每个延迟单元的延迟吋间为 t, τ为 2 N*t, τ ^2 Ν 。 如权利要求 15所述的延迟锁相环, 其特征在于, The delay locked loop as claimed in claim 13, wherein an initial value of 1 1 1 1 D / 2 delay locked loop as claimed in claim 14, wherein said delay line comprises 2 ^ Delay units, each delay unit has a delay of t, and τ is 2 N *t, τ ^2 Ν . The delay phase locked loop of claim 15 wherein:
逻辑控制单元具体用于初始吋生成包括 Ν位字节的二进制控制信号 C ,The logic control unit is specifically configured to generate a binary control signal C including a clamp byte.
, 二进制控制信号。,的最高位为 1, 其余位为 0; , binary control signal. The highest bit of , is 1, and the remaining bits are 0;
延迟线控制单元具体用于根据逻辑控制单元生成的二进制控制信号 C 控制所述延迟线将输入吋钟延迟 Τ The delay line control unit is specifically configured to control the delay line to delay the input clock according to the binary control signal C generated by the logic control unit.
如权利要求 16所述的延迟锁相环, 其特征在于, The delay phase locked loop of claim 16 wherein:
二进制控制信号 C 1+1相比二进制控制信号 C i第 i位保持为 1, 第 i+1位变 换为 1, 其余位不变; The binary control signal C 1+1 is kept at 1 compared to the binary control signal C i , the i+1 bit is changed to 1, and the remaining bits are unchanged;
二进制控制信号 C' i+1相比二进制控制信号 C i第 i位变换为 0, 第 i+1位 变换为 1, 其余位不变; The binary control signal C'i+1 is converted to 0 by the i-th bit of the binary control signal C i, and the i+1th bit is converted to 1, and the remaining bits are unchanged;
其中, 二进制控制信号 C i从最高位到最低位按照 1至 N编号, i的取值 范围为 1至 N-l。 The binary control signal C i is numbered from 1 to N from the highest bit to the lowest bit, and the value of i ranges from 1 to N-l.
一种数字吋钟管理单元, 其特征在于, 包括如权利要求 1至 12任一项 所述的吋钟延迟装置, 或者包括如权利要求 13至 17任一项所述的延迟 锁相环。 A digital cuckoo clock management unit, comprising the cuckoo clock delay device according to any one of claims 1 to 12, or the delay phase locked loop according to any one of claims 13 to 17.
PCT/CN2015/097729 2014-12-26 2015-12-17 Clock delay method and device, delay phase locked loop and digital clock management unit WO2016101836A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410835917.3 2014-12-26
CN201410835917.3A CN104579320B (en) 2014-12-26 2014-12-26 Clock delay method, apparatus, delay phase-locked loop and digital dock administrative unit

Publications (1)

Publication Number Publication Date
WO2016101836A1 true WO2016101836A1 (en) 2016-06-30

Family

ID=53094664

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/097729 WO2016101836A1 (en) 2014-12-26 2015-12-17 Clock delay method and device, delay phase locked loop and digital clock management unit

Country Status (2)

Country Link
CN (1) CN104579320B (en)
WO (1) WO2016101836A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579320B (en) * 2014-12-26 2018-09-18 浙江大学 Clock delay method, apparatus, delay phase-locked loop and digital dock administrative unit
JP6733466B2 (en) * 2016-09-29 2020-07-29 セイコーエプソン株式会社 Image reading device and image sensor module
CN110557120B (en) * 2019-08-16 2021-02-26 西安电子科技大学 Quick-locking delay chain phase-locked loop
CN112165314A (en) * 2020-09-25 2021-01-01 杭州加速科技有限公司 Frequency-adjustable clock generation unit in FPGA chip
CN112202425A (en) * 2020-09-25 2021-01-08 杭州加速科技有限公司 Clock generation unit in FPGA chip
CN114326930B (en) * 2021-12-28 2023-07-14 上海安路信息科技股份有限公司 Clock delay test method and clock delay test system
CN114420030B (en) * 2022-01-27 2022-11-04 成都利普芯微电子有限公司 PWM generating circuit, driving chip, and electronic apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562450A (en) * 2008-04-16 2009-10-21 北京芯技佳易微电子科技有限公司 Gradually approaching delay phase-locked loop circuit and method for adjusting clock signal
CN101764608A (en) * 2008-12-25 2010-06-30 北京芯技佳易微电子科技有限公司 Bit-by-bit approaching delay phase-locked loop circuit and method for regulating input clock signal
CN102394640A (en) * 2011-09-16 2012-03-28 无锡东集电子有限责任公司 Delay lock-loop circuit and quick lock-in algorithm
US8193957B2 (en) * 2009-09-11 2012-06-05 Fujitsu Limited Successive approximation register analog to digital converter (ADC) and method of adjusting delay thereof
CN103441759A (en) * 2013-08-28 2013-12-11 电子科技大学 Phase frequency detector
CN104579320A (en) * 2014-12-26 2015-04-29 深圳市国微电子有限公司 Clock delay method, clock delay device, delay-locked loop and digital clock management unit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100543910B1 (en) * 2003-05-30 2006-01-23 주식회사 하이닉스반도체 Digital delay locked loop and method for controlling thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562450A (en) * 2008-04-16 2009-10-21 北京芯技佳易微电子科技有限公司 Gradually approaching delay phase-locked loop circuit and method for adjusting clock signal
CN101764608A (en) * 2008-12-25 2010-06-30 北京芯技佳易微电子科技有限公司 Bit-by-bit approaching delay phase-locked loop circuit and method for regulating input clock signal
US8193957B2 (en) * 2009-09-11 2012-06-05 Fujitsu Limited Successive approximation register analog to digital converter (ADC) and method of adjusting delay thereof
CN102394640A (en) * 2011-09-16 2012-03-28 无锡东集电子有限责任公司 Delay lock-loop circuit and quick lock-in algorithm
CN103441759A (en) * 2013-08-28 2013-12-11 电子科技大学 Phase frequency detector
CN104579320A (en) * 2014-12-26 2015-04-29 深圳市国微电子有限公司 Clock delay method, clock delay device, delay-locked loop and digital clock management unit

Also Published As

Publication number Publication date
CN104579320A (en) 2015-04-29
CN104579320B (en) 2018-09-18

Similar Documents

Publication Publication Date Title
WO2016101836A1 (en) Clock delay method and device, delay phase locked loop and digital clock management unit
US9543970B2 (en) Circuit for digitizing phase differences, PLL circuit and method for the same
US7138837B2 (en) Digital phase locked loop circuitry and methods
TWI226524B (en) Multi-phase clock generation circuit
JP2010200090A (en) Phase compensation clock synchronizing circuit
US8922264B1 (en) Methods and apparatus for clock tree phase alignment
TW201342810A (en) Circuits and methods to guarantee lock in delay locked loops and avoid harmonic locking
WO2020140782A1 (en) Analog-to-digital converter and clock generation circuit thereof
US11157037B1 (en) Method and device for clock generation and synchronization for time interleaved networks
US10116433B2 (en) Circuit arrangement and method for clock and data recovery
US7157953B1 (en) Circuit for and method of employing a clock signal
US8775856B1 (en) System and method for generating clock signal for a plurality of communication ports by selectively dividing a reference clock signal with a plurality of ratios
CN113114226B (en) FPGA-based hybrid architecture time-to-digital conversion method
US9438272B1 (en) Digital phase locked loop circuitry and methods
WO2021036274A1 (en) Zero-delay phase-locked loop frequency synthesizer based on multi-stage synchronization
US9584305B2 (en) Deskew FIFO buffer with simplified initialization
US7323913B1 (en) Multiphase divider for P-PLL based serial link receivers
CN105306022A (en) Asymmetric time-delay apparatus used for asynchronous circuit four-phase handshake protocol
US8355478B1 (en) Circuit for aligning clock to parallel data
JP2009165064A (en) Frequency dividing circuit and frequency dividing method
TWI499914B (en) Data transmission method and data restoration method
JP6160322B2 (en) Reception circuit and semiconductor integrated circuit device
TW201014187A (en) All digital fast-lock self-calibrated multiphase delay-locked loop
CN204376874U (en) Clock generation circuit
US8963603B2 (en) Clock generator and method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15871904

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15871904

Country of ref document: EP

Kind code of ref document: A1