[go: up one dir, main page]

JP2012114716A - Tdc device and method of calibrating tdc - Google Patents

Tdc device and method of calibrating tdc Download PDF

Info

Publication number
JP2012114716A
JP2012114716A JP2010262480A JP2010262480A JP2012114716A JP 2012114716 A JP2012114716 A JP 2012114716A JP 2010262480 A JP2010262480 A JP 2010262480A JP 2010262480 A JP2010262480 A JP 2010262480A JP 2012114716 A JP2012114716 A JP 2012114716A
Authority
JP
Japan
Prior art keywords
delay
tdc
stages
signal
bias
Prior art date
Legal status (The legal status 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 status listed.)
Withdrawn
Application number
JP2010262480A
Other languages
Japanese (ja)
Inventor
Kentaro Kimoto
健太郎 木本
Satoshi Fujino
藤野  聡
Masafumi Watanabe
雅史 渡邉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics Corp
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 Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2010262480A priority Critical patent/JP2012114716A/en
Publication of JP2012114716A publication Critical patent/JP2012114716A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Pulse Circuits (AREA)

Abstract

【課題】遅延素子の遅延時間のばらつきに対してTDCの変換特性を一定とし線形性を実現可能なTDCの提供。
【解決手段】第1の信号DATAを順次遅延させる複数段の遅延素子11〜11を有するディレイライン10と、第2の信号CLKに応答して複数段の遅延素子の出力をサンプルする複数のフリップフロップ12〜12と、相隣るフリップフロップの出力結果が切り替わるエッジ位置を、第1の信号の第2の信号に対する位相差として検出するエッジ検出器13と、を備え、エッジ位置の検出結果に基づき、バイアス制御用の制御コードICNTを生成するキャリブレーション制御回路15と、制御コードに対応する複数段の遅延素子に対して供給するバイアス発生回路14を備え、第1の信号の周波数範囲に対応した段数の遅延素子に、第1の信号のエッジが位置するように遅延素子11〜11の遅延時間の校正を行う。
【選択図】図1
Provided is a TDC capable of realizing linearity while maintaining constant conversion characteristics of TDC with respect to variations in delay time of delay elements.
A delay line having a plurality of stages of delay elements 11 1 to 11 N for sequentially delaying a first signal DATA, and a plurality of samples for sampling outputs of the plurality of stages of delay elements in response to a second signal CLK. Flip-flops 12 1 to 12 N and an edge detector 13 for detecting an edge position at which output results of adjacent flip-flops are switched as a phase difference of the first signal with respect to the second signal. A calibration control circuit 15 for generating a control code ICNT for bias control based on the detection result of the above, and a bias generation circuit 14 for supplying to a plurality of delay elements corresponding to the control code. performing the delay elements of the stages corresponding to the frequency range, the calibration of the delay time of the delay element 11 1 to 11 N such that the edge of the first signal is located
[Selection] Figure 1

Description

本発明は、半導体装置に関し、TDC(Time−to−Digital Converter)とキャリブレーション方法に関する。   The present invention relates to a semiconductor device, and relates to a TDC (Time-to-Digital Converter) and a calibration method.

デジタルPLL(Phase Locked Loop)はアナログPLLの各ブロックをデジタル化し、処理をデジタル化した位相同期ループである。デジタルPLLは、アナログPLLで問題となっていたループフィルタの回路面積等の問題を解消し、PLLのパラメータ変更時等の再設計を容易化し、回路の特性変動を抑制する等の利点を有する。   A digital PLL (Phase Locked Loop) is a phase-locked loop that digitizes each block of the analog PLL and digitizes the processing. The digital PLL has advantages such as solving a problem such as a circuit area of the loop filter which has been a problem in the analog PLL, facilitating redesign when changing the parameters of the PLL, and suppressing circuit characteristic fluctuation.

ADPLL(All Digital PLL:全デジタルPLL)等のデジタルPLLは、リファレンスクロックFREFとDCO(Digitally Controlled Oscillator)の出力CKVの位相差を測定するTDC、該TDCで測定された位相差(通常、リファレンスクロック1周期内の分数位相差)と、整数部分の位相差(リファレンスクロック1周期以上の位相差)とに基づき位相誤差を演算する位相誤差演算部と、該位相誤差演算部からの位相誤差を平滑化するデジタルフィルタと、該デジタルフィルタの出力で周波数が可変されるDCOを備えている。デジタルPLLについては、例えば特許文献1等が参照される。図8は、特許文献1に開示されている全デジタルPLLの図1を引用したものである。図8において、100は全デジタルPLL、102は累積器(アキュムレータ)、103は数値制御発振器(NCO)、104はdVCO(デジタル制御電圧制御発振器)、105は利得(GAIN)要素、106はシュミットトリガー回路等の波形整形器(dVCO104の正弦波を2値のデジタル信号に変換する)、108は天井要素、110は基準水晶発振器(FREF:リファレンスクロック)、112は周波数基準クロックCKR、114はdVCO104のクロック信号CKV、116は周波数制御語(FCW)、120はラッチ/レジスタ、200は小位相検出器/小位相検出器システム、201はTDCである。TDC201にてリファレンスクロックFREFとCKV(波形整形器106の出力)の位相誤差を検出し、デジタルフィルタにて平滑化し、DCOに入力する。小位相検出器(fractional phase detector)200は、整数位相同期ループの量子化誤差を訂正する(詳細は特許文献1が参照される)。   A digital PLL such as an ADPLL (All Digital PLL) is a TDC that measures a phase difference between a reference clock FREF and an output CKV of a Digitally Controlled Oscillator (DCO), and a phase difference measured by the TDC (usually a reference clock) A phase error calculation unit that calculates a phase error based on a phase difference of a fraction in one cycle) and a phase difference of an integer part (a phase difference of one or more cycles of the reference clock), and smoothes the phase error from the phase error calculation unit And a DCO whose frequency is variable by the output of the digital filter. For the digital PLL, for example, Patent Document 1 is referred to. FIG. 8 is a citation of FIG. 1 of the all-digital PLL disclosed in Patent Document 1. In FIG. 8, 100 is an all-digital PLL, 102 is an accumulator, 103 is a numerically controlled oscillator (NCO), 104 is a dVCO (digitally controlled voltage controlled oscillator), 105 is a gain (GAIN) element, and 106 is a Schmitt trigger. Waveform shaper such as a circuit (converts a sine wave of the dVCO 104 into a binary digital signal), 108 is a ceiling element, 110 is a reference crystal oscillator (FREF: reference clock), 112 is a frequency reference clock CKR, and 114 is a dVCO 104 Clock signal CKV, 116 is a frequency control word (FCW), 120 is a latch / register, 200 is a small phase detector / small phase detector system, and 201 is a TDC. The phase error of the reference clocks FREF and CKV (output of the waveform shaper 106) is detected by the TDC 201, smoothed by the digital filter, and input to the DCO. The small phase detector 200 corrects the quantization error of the integer phase locked loop (refer to Patent Document 1 for details).

図9は、図8に示したTDC201の構成例を示す図である。なお、図9は、特許文献1の図5を引用したものである。図9を参照すると、このTDCは、DCOの出力CKVとリファレンスクロックFREFを入力し、CKVの立ち上がり遷移のFREFの立ち上がり遷移に対する位相差TDC_RISEと、CKVの立ち下り遷移のFREFの立ち上がり遷移に対する位相差TDC_FALLを出力する。図9に示すように、TDCは、遅延素子(バッファまたはインバータ)とフリップフロップから構成され、その遅延素子が複数段直列接続されディレイラインを構成する。TDCは、CKVとFREF間の信号の微小な位相差をデジタル値として出力する。なお、TDCは、出力クロックCKVの1周期以内で位相差を測定するため、CKVの1周期を測定できる長さに対応した個数(段数)の遅延素子、ラッチ回路(フリップフロップ)を備えるだけで十分である。   FIG. 9 is a diagram illustrating a configuration example of the TDC 201 illustrated in FIG. In addition, FIG. 9 quotes FIG. 5 of patent document 1. FIG. Referring to FIG. 9, the TDC receives the output CKV of the DCO and the reference clock FREF, the phase difference TDC_RISE with respect to the rising transition of FREF at the rising transition of CKV, and the phase difference with respect to the rising transition of FREF at the falling transition of CKV. TDC_FALL is output. As shown in FIG. 9, the TDC is composed of a delay element (buffer or inverter) and a flip-flop, and the delay elements are connected in series to form a delay line. The TDC outputs a minute phase difference between signals between CKV and FREF as a digital value. Since the TDC measures the phase difference within one period of the output clock CKV, the TDC only includes the number of delay elements and latch circuits (flip-flops) corresponding to the length capable of measuring one period of the CKV. It is enough.

図10は、図9のTDCのタイミング動作の一例を示す図であり、図9において、遅延素子の段数を10段(L=10)としている。図10は、特許文献1の図6を引用したものである。TDCにおいて、DCOの出力CKVをL個の遅延素子で徐々に遅延させた信号D(0)〜D(9)を、各FFで時刻t1にリファレンスクロック信号FREFの立ち上がりで一斉にサンプリングし、D(0)〜D(9)の10ビットのサンプリングデータQ(0)〜Q(9)(Q[0:9])として、例えば“0011110000”を得る。エッジ検出器(「エンコーダ」ともいう)にて、サンプリングデータQ(0)〜Q(9)において0から1に値が変化する箇所と、1から0に値が変化する箇所を検出することで、リファレンスクロックFREFの立ち上がり(タイミングt1)に対する出力クロックCKVの立ち上がりの位相差と立ち下りの位相差を、遅延素子の段数で表すことができる。この場合、Q[0:9]のうち1から0へ値が変化する箇所Q[6]が、立ち上がりの情報となる(Q[2−5]が1であり、Q[6]で0となる)。また、1から0に値が変化する箇所Q[2]が、立ち下りの情報となり(Q[6−9]、Q[0−1]が0であり、Q[2]で1となる)、それぞれ、デジタルデータTDC_RISE、TDC_FALLとして出力される。すなわち、TDCによって出力クロックCKVの立ち上がりは、FREFの立ち上がりに対してTDC内の遅延素子6段分位相が進んでおり、出力クロックCKVの立ち下りはFREFの立ち上がりに対してTDC内の遅延素子2段分位相が進んでいることが測定される。なお、図9では、遅延素子はインバータ(反転バッファ)で構成されているため、CKVとD(0)、隣接遅延素子の出力D(0)とD(1)、D(1)とD(2)、・・・は互いに逆相であるが、図10では、見易くするため、D(0)、D(1)、D(2)、・・・D(9)はCKVと同相の信号として表されている。   FIG. 10 is a diagram illustrating an example of the timing operation of the TDC in FIG. 9. In FIG. 9, the number of delay elements is 10 (L = 10). FIG. 10 is a quotation of FIG. In the TDC, the signals D (0) to D (9) obtained by gradually delaying the output CKV of the DCO with L delay elements are sampled simultaneously at the rising edge of the reference clock signal FREF at each time FF, and D For example, “0011110000” is obtained as 10-bit sampling data Q (0) to Q (9) (Q [0: 9]) of (0) to D (9). An edge detector (also referred to as an “encoder”) detects a location where the value changes from 0 to 1 and a location where the value changes from 1 to 0 in the sampling data Q (0) to Q (9). The phase difference between the rising edge and the falling edge of the output clock CKV with respect to the rising edge (timing t1) of the reference clock FREF can be expressed by the number of delay elements. In this case, a part Q [6] where the value changes from 1 to 0 in Q [0: 9] becomes the rising information (Q [2-5] is 1 and Q [6] is 0. Become). Further, the point Q [2] where the value changes from 1 to 0 becomes falling information (Q [6-9], Q [0-1] is 0, and Q [2] is 1). Are output as digital data TDC_RISE and TDC_FALL, respectively. That is, the rising edge of the output clock CKV by TDC is advanced in phase by six delay elements in the TDC with respect to the rising edge of FREF, and the falling edge of the output clock CKV is the delay element 2 in the TDC with respect to the rising edge of FREF. It is measured that the phase is advanced by the step. In FIG. 9, since the delay element is composed of an inverter (inversion buffer), CKV and D (0), outputs D (0) and D (1) of adjacent delay elements, D (1) and D ( 2),... Are out of phase with each other, but in FIG. 10, D (0), D (1), D (2),... D (9) are signals in phase with CKV for the sake of clarity. It is expressed as

近時、半導体プロセスの微細化技術の進展に伴い、PVT(プロセス、電圧、温度:製造におけるプロセスばらつきや、製品使用時の電源電圧、温度)変動により、デジタル遅延素子(バッファ、インバータなど)の遅延時間が変動する。遅延素子の遅延時間の変動が起こると、TDCの位相差の測定精度等その特性に劣化が生じる。このため、どの条件に対しても、TDCが正常に動作できるように、遅延時間を補正する必要がある。   Recently, with the progress of semiconductor process miniaturization technology, PVT (process, voltage, temperature: process variation in manufacturing, power supply voltage, temperature at the time of product use) fluctuations, digital delay elements (buffers, inverters, etc.) The delay time varies. When the delay time of the delay element fluctuates, the characteristics such as the measurement accuracy of the TDC phase difference are degraded. For this reason, it is necessary to correct the delay time so that the TDC can operate normally under any condition.

なお、特許文献2では、クロック信号を可変ディレイラインに入力して遅延させ、可変ディレイラインに入力するクロック信号と可変ディレイラインの出力クロック(遅延信号)との位相差を比較し、その位相差が大きいときは、可変ディレイラインの遅延を減らすように、位相差に応じた制御電圧を、可変ディレイラインの遅延素子に供給してその遅延時間を補正する構成が開示されている。この特許文献2では、可変ディレイラインの入力と出力の位相差に基づき、可変ディレイラインの各段を構成する遅延素子(CMOSインバータと高位側電源及び低位側電源間にそれぞれ接続される電流源トランジスタを有する)の電流源に供給するバイアス電圧を制御するバイアス発生回路を備えた構成が開示されている。   In Patent Document 2, a clock signal is input to a variable delay line and delayed, the phase difference between the clock signal input to the variable delay line and the output clock (delay signal) of the variable delay line is compared, and the phase difference is compared. When the delay time is large, a configuration is disclosed in which a control voltage corresponding to the phase difference is supplied to the delay element of the variable delay line to reduce the delay time so as to reduce the delay of the variable delay line. In this Patent Document 2, based on the phase difference between the input and output of the variable delay line, delay elements (current source transistors connected between the CMOS inverter and the high-side power supply and the low-side power supply, respectively) constituting each stage of the variable delay line. A configuration including a bias generation circuit for controlling a bias voltage supplied to a current source (having a power source) is disclosed.

特開2002−76886号公報(図1、図5、図6)Japanese Patent Laid-Open No. 2002-76886 (FIGS. 1, 5, and 6) 特開2007−221598号公報JP 2007-221598 A

関連技術の分析を以下に与える。   An analysis of related technologies is given below.

上記したように、PVT変動等に対してTDCが正常に動作できるように、TDC内の遅延素子の遅延時間を補正して、TDCの位相差測定範囲を調整する必要がある。   As described above, it is necessary to adjust the phase difference measurement range of the TDC by correcting the delay time of the delay element in the TDC so that the TDC can operate normally with respect to PVT fluctuation or the like.

ところで、TDC内の遅延素子の遅延時間を補正することはせずに、TDCにおいて、測定対象の信号の1周期以上の遅延時間に対応する段数の遅延素子を、遅延のばらつきを考慮して予め用意しておき、遅延素子の遅延時間にばらつきが生じても、正常に位相差を測定可能とする手法もある。しかしながら、このように、TDCの遅延素子の段数を増やすことで、位相差の測定範囲を広げ、広い周波数レンジをカバーする構成とした場合、回路面積、消費電力の増加を招く。例えば、TDCにおいて、測定対象の信号周波数が、予め設定された位相差測定範囲の2倍である場合、設定段数の2倍以上の段数の遅延素子が必要とされる。   By the way, without correcting the delay time of the delay elements in the TDC, in the TDC, the delay elements having the number of stages corresponding to the delay time of one cycle or more of the signal to be measured are considered in advance in consideration of delay variation. There is also a method in which a phase difference can be normally measured even if the delay time of the delay element varies. However, by increasing the number of TDC delay elements in this way, the phase difference measurement range is expanded to cover a wide frequency range, resulting in an increase in circuit area and power consumption. For example, in TDC, when the signal frequency to be measured is twice the preset phase difference measurement range, delay elements having a number of stages more than twice the number of set stages are required.

さらに、最先端プロセスで製造された半導体装置においては、トランジスタのしきい値、電源電圧、温度の変動により、TDCの遅延素子の遅延時間のばらつき量は、ばらつき範囲の上限と下限とで、例えば数倍のひらきが生じる場合がある。   Furthermore, in a semiconductor device manufactured by a state-of-the-art process, due to fluctuations in transistor threshold, power supply voltage, and temperature, the amount of variation in delay time of the delay element of the TDC is at the upper and lower limits of the variation range, for example There may be several times as many screens.

遅延素子の遅延時間のばらつきにより、測定対象の位相差に対して、TDCの遅延素子の段数が足りなくなる場合が発生し、最悪、TDCが動作しなくなる可能性がある。一例として、図9において、TDC内の遅延素子の遅延時間が短縮し(図10においてCKVと各段の遅延素子の出力D(0)、D(0)とD(1)・・・D(8)とD(9)の立ち上がりの時間間隔が短縮する)、測定対象の位相差に対して、TDCの遅延素子の段数が足りなくなり、CKVの立ち上がりとFREFの立ち上がりの位相差が、各段の遅延素子の遅延時間の合計を超える場合、図10の遅延出力D(0)〜D(9)のHighパルス(立ち上がり及び立ち下りエッジ)がいずれもFREFの立ち上がりのタイミングt1よりも前に位置することになり、FREFの立ち上がりタイミングt1での各FFのサンプル結果Q(0)〜Q(9)は全て0となる。   Due to variations in the delay time of the delay elements, there may be a case where the number of TDC delay elements is insufficient with respect to the phase difference to be measured, and in the worst case, the TDC may not operate. As an example, in FIG. 9, the delay time of the delay elements in the TDC is shortened (in FIG. 10, CKV and outputs D (0), D (0), D (1)... D ( 8) and the rise time interval of D (9) is shortened), the number of TDC delay elements is insufficient for the phase difference to be measured, and the phase difference between the rising edge of CKV and the rising edge of FREF When the total delay time of the delay elements exceeds the high pulses (rising and falling edges) of the delay outputs D (0) to D (9) in FIG. 10, all are positioned before the rising timing t1 of FREF. Therefore, the sample results Q (0) to Q (9) of each FF at the rising timing t1 of FREF are all zero.

したがって、TDCの遅延素子の遅延時間にばらつきが生じた場合も、正常に位相差が測定できるように、遅延時間の制御が必要とされる。また、TDCにおける遅延素子の遅延時間のばらつきへの対策において、回路面積、消費電力の増大の抑制が望まれる。   Therefore, it is necessary to control the delay time so that the phase difference can be normally measured even when the delay time of the delay element of the TDC varies. In addition, as a countermeasure against variations in delay time of delay elements in TDC, it is desired to suppress an increase in circuit area and power consumption.

本発明は、上記課題の少なくとも1つを解決するために、特に制限されるものではないが概略以下の構成とされる。   In order to solve at least one of the above-mentioned problems, the present invention has the following general configuration although it is not particularly limited.

本発明によれば、第1の信号を順次遅延させる複数段の遅延素子を有するディレイラインと、
前記複数段の遅延素子に対応してそれぞれ配設され、入力される第2の信号に応答して前記複数段の遅延素子の出力をサンプルする複数のフリップフロップと、
前記複数のフリップフロップの出力を入力し、相隣るフリップフロップの出力結果が切り替わるエッジ位置を、前記第1の信号の第2の信号に対する位相差として検出するエッジ検出器と、
を備えたTDC(Time−to−Digital Converter)装置であって、
前記遅延素子は、電流源を電源パスに備え、前記電流源に印加されるバイアスに応じて遅延時間を可変させ、
前記エッジ位置の検出結果に基づき、バイアス制御用の制御コードを生成するキャリブレーション制御回路と、
前記キャリブレーション制御回路からの前記制御コードに対応するバイアスを生成し前記複数段の遅延素子に対して供給するバイアス発生回路と、
を備え、
キャリブレーション時、前記キャリブレーション制御回路では、前記エッジ検出器で検出される前記エッジの位置が、前記第1の信号の前記周波数レンジに対応して予め設定された遅延素子の段数に対応するように、前記バイアス発生回路を制御して前記遅延素子の遅延時間のキャリブレーションを行う、TDC装置が提供される。
According to the present invention, a delay line having a plurality of stages of delay elements that sequentially delay the first signal;
A plurality of flip-flops respectively arranged corresponding to the plurality of stages of delay elements and sampling the output of the plurality of stages of delay elements in response to an input second signal;
An edge detector for inputting an output of the plurality of flip-flops and detecting an edge position at which an output result of adjacent flip-flops is switched as a phase difference between the first signal and the second signal;
A TDC (Time-to-Digital Converter) device comprising:
The delay element includes a current source in a power supply path, and varies a delay time according to a bias applied to the current source,
A calibration control circuit that generates a control code for bias control based on the detection result of the edge position;
A bias generation circuit that generates a bias corresponding to the control code from the calibration control circuit and supplies the bias to the plurality of stages of delay elements;
With
At the time of calibration, in the calibration control circuit, the position of the edge detected by the edge detector corresponds to the number of stages of delay elements set in advance corresponding to the frequency range of the first signal. In addition, a TDC apparatus is provided that performs calibration of the delay time of the delay element by controlling the bias generation circuit.

本発明によれば、第1の信号を順次遅延させる複数段の遅延素子を有するディレイラインと、前記複数段の遅延素子に対応してそれぞれ配設され、共通に入力される第2の信号に応答して前記複数段の遅延素子の出力をサンプルする複数のフリップフロップと、前記複数のフリップフロップの出力を入力し、相隣るフリップフロップの出力結果が切り替わるエッジ位置を、前記第1の信号の第2の信号に対する位相差として検出するエッジ検出器と、を備えたTDC(Time−to−Digital Converter)のキャリブレーション方法であって、
前記遅延素子は、電流源を電源パスに備え、前記電流源に印加されるバイアスに応じて遅延時間が可変自在とされ、
キャリブレーション制御回路が、前記エッジ検出結果に基づき、バイアス制御用の制御コードを生成し、
前記制御コードに対応するバイアスをバイアス発生回路で生成し、前記複数段の遅延素子に対して供給し、前記エッジ検出器で検出される前記エッジ位置が、前記第1の信号の前記周波数レンジに対応して予め設定された遅延素子の段数に対応するように、前記遅延素子の遅延時間のキャリブレーションを行う、TDCのキャリブレーション方法が提供される。
According to the present invention, a delay line having a plurality of stages of delay elements that sequentially delay the first signal, and a second signal that is arranged corresponding to each of the plurality of stages of delay elements and is commonly input. A plurality of flip-flops that sample the outputs of the delay elements of the plurality of stages in response and the outputs of the plurality of flip-flops are input, and the edge position where the output results of adjacent flip-flops are switched is the first signal. A TDC (Time-to-Digital Converter) calibration method comprising: an edge detector that detects a phase difference with respect to the second signal of
The delay element includes a current source in a power supply path, and a delay time can be varied according to a bias applied to the current source.
A calibration control circuit generates a control code for bias control based on the edge detection result,
A bias corresponding to the control code is generated by a bias generation circuit, supplied to the plurality of stages of delay elements, and the edge position detected by the edge detector is in the frequency range of the first signal. Correspondingly, there is provided a TDC calibration method for calibrating the delay time of the delay element so as to correspond to a preset number of stages of delay elements.

本発明によれば、TDCの遅延素子の遅延時間にばらつきが生じた場合でも、回路面積、消費電力の増大を抑制しながら、TDCの変換特性を一定とし線形性(linearity)を実現可能としている。   According to the present invention, even when the delay time of the delay element of the TDC varies, it is possible to achieve linearity by making the conversion characteristics of the TDC constant while suppressing an increase in circuit area and power consumption. .

本発明の一実施形態の構成を示す図である。It is a figure which shows the structure of one Embodiment of this invention. 本発明の一実施形態のタイミングチャートである。It is a timing chart of one embodiment of the present invention. 入力位相差vs.TDC出力コードの一例を示す図である。Input phase difference vs. It is a figure which shows an example of a TDC output code. 本発明の一実施形態の遅延素子の構成を示す図である。It is a figure which shows the structure of the delay element of one Embodiment of this invention. 本発明の一実施形態における1段当りの遅延時間設定を説明する図である。It is a figure explaining the delay time setting per stage in one embodiment of the present invention. 本発明の一実施形態におけるキャリブレーション手順を説明する流れ図である。It is a flowchart explaining the calibration procedure in one Embodiment of this invention. 周波数レンジと設定段数を説明する図である。It is a figure explaining a frequency range and the setting stage number. 特許文献1のADPLLを示す図である。It is a figure which shows ADPLL of patent document 1. FIG. 図8のTDCの構成例を示す図である。It is a figure which shows the structural example of TDC of FIG. 図9のTDCの動作を説明する図である。It is a figure explaining operation | movement of TDC of FIG.

本発明の実施形態について以下に説明する。本発明によれば、TDCの遅延素子の電流源に与えるバイアスを制御することで、TDCの遅延素子の遅延のばらつきに対して、所定の周波数帯の位相差が、予め設定された遅延素子の段数の範囲にて測定されるように制御し、遅延素子の遅延のばらつきに対してTDCの変換特性が線形(一定)となるように制御する。   Embodiments of the present invention will be described below. According to the present invention, by controlling the bias applied to the current source of the delay element of the TDC, the phase difference of the predetermined frequency band can be set to the predetermined delay element with respect to the variation in delay of the delay element of the TDC. Control is performed so that measurement is performed within the range of the number of stages, and control is performed so that the conversion characteristics of the TDC are linear (constant) with respect to delay variations of the delay elements.

本発明の好ましい態様の一つによれば、第1の信号(DATA)を順次遅延させる複数段の遅延素子(11〜11)を有するディレイライン(10)を備え、各段の遅延素子は電流源を電源パスに備え、前記電流源に印加されるバイアスに応じて遅延時間を可変させる。前記複数段の遅延素子(11〜11)に対応してそれぞれ配設され、入力される第2の信号(CLK)に応答して前記複数段の遅延素子(11〜11)の出力をサンプルする複数のフリップフロップ(12〜12)と、前記複数のフリップフロップ(12〜12)の出力を入力し、相隣るフリップフロップの出力結果が切り替わるエッジ位置を、前記第1の信号の第2の信号に対する位相差として検出するエッジ検出器(13)と、前記エッジの検出結果に基づき、バイアス制御用の制御コード(ICNT)を生成するキャリブレーション制御回路(15)と、キャリブレーション制御回路(15)からの前記制御コード(ICNT)に対応するバイアスを生成し前記複数段の遅延素子(11〜11)の電流源に供給するバイアス発生回路(14)と、を備えている。エッジ検出器(13)で検出されるエッジ位置が、前記第1の信号(DATA)の前記周波数範囲に対応して予め設定された遅延素子の段数に対応するように、前記遅延素子(11)の遅延時間のキャリブレーションが行われ、TDCの遅延素子(11)の遅延時間にばらつきが生じた場合でも、TDCの変換特性が、正常、且つ、一定(線形)となるようにしている。以下、添付図面を参照して実施形態に即して説明する。 According to one of the preferred embodiments of the present invention, the delay line (10) including a plurality of delay elements (11 1 to 11 N ) for sequentially delaying the first signal (DATA) is provided, and the delay element of each stage Provides a current source in the power supply path and varies the delay time according to the bias applied to the current source. Wherein each disposed corresponding to the plurality of stages of delay elements (11 1 ~11 N), the delay element of the plurality of stages in response to a second signal input (CLK) of (11 1 ~11 N) a plurality of flip-flops for sampling the output (12 1 ~12 N), receiving the output of said plurality of flip-flops (12 1 ~12 N), the edge positions switched output of Aitonaru flip-flop, the An edge detector (13) that detects a phase difference between the first signal and the second signal, and a calibration control circuit (15) that generates a control code (ICNT) for bias control based on the detection result of the edge If, generates a bias corresponding to the control code from the calibration control circuit (15) (ICNT) said plurality of stages of delay elements (11 1 ~11 N) A bias generation circuit for supplying the current sources (14), and a. The delay element (11) so that the edge position detected by the edge detector (13) corresponds to the number of stages of delay elements set in advance corresponding to the frequency range of the first signal (DATA). Thus, even if the delay time of the TDC delay element (11) varies, the TDC conversion characteristics are normal and constant (linear). Hereinafter, embodiments will be described with reference to the accompanying drawings.

<実施形態1>
図1は、本発明の一実施形態のTDCの構成を示す図である。特に制限されるものでないが、本実施形態のTDCは、好ましくは、半導体集積回路装置上に構成される。この場合、図1は、半導体集積回路装置上のPLLに実装されたTDC部分の回路構成を拡大して示した図である。図1を参照すると、本実施形態のTDCは、遅延素子11を複数段備えたディレイライン10と、各段の遅延素子11〜11の出力を、クロック信号CLKでサンプルするフリップフロップ12〜12と、複数のフリップフロップ12〜12の出力を受け、DATAとCLKの位相差をデジタルコードで出力するエッジ検出器13を備えている。図1のフリップフロップ12と、エンコーダ13は、図9のフリップフロップと、エッジ検出器に対応している。ただし、図9のエッジ検出器がTDC_RISE、TDC_FALLを出力しているが、エンコーダ13は、いずれか1方のみを出力する構成としてもよい。エンコーダ13は、図9のエッジ検出回路と同様、両隣のフリップフロップの出力の不一致を検出するゲート回路群を備え、両隣の出力が異なるフリップフロップの位置から、DATAとCLKの位相差を遅延素子の段数を単位とした値をデジタルコードに符号化して出力する。なお、エッジ検出器13は、検出したエッジを符号化して出力するため「エンコーダ」とも呼ばれる。図1において、DATAは、DCOの出力のCKVを相補の信号し、CLKをリファレンスクロックFREFとしてもよい。
<Embodiment 1>
FIG. 1 is a diagram illustrating a configuration of a TDC according to an embodiment of the present invention. Although not particularly limited, the TDC of the present embodiment is preferably configured on a semiconductor integrated circuit device. In this case, FIG. 1 is an enlarged view of the circuit configuration of the TDC portion mounted on the PLL on the semiconductor integrated circuit device. Referring to FIG. 1, the TDC of the present embodiment includes a delay line 10 having a plurality of delay elements 11 and a flip-flop 12 1 that samples the outputs of the delay elements 11 1 to 11 N at each stage with a clock signal CLK. and to 12 N, receives the outputs of the plurality of flip-flops 12 1 to 12 N, includes an edge detector 13 which outputs a phase difference between DATA and CLK in digital code. The flip-flop 12 and the encoder 13 in FIG. 1 correspond to the flip-flop in FIG. 9 and an edge detector. However, although the edge detector of FIG. 9 outputs TDC_RISE and TDC_FALL, the encoder 13 may be configured to output only one of them. Similarly to the edge detection circuit of FIG. 9, the encoder 13 includes a gate circuit group that detects a mismatch between the outputs of the two adjacent flip-flops, and calculates the phase difference between DATA and CLK from the positions of the flip-flops in which the two adjacent outputs are different from each other. A value with the number of stages as a unit is encoded into a digital code and output. The edge detector 13 is also called an “encoder” because it encodes and outputs the detected edge. In FIG. 1, DATA may use CKV output from the DCO as a complementary signal, and CLK may be used as the reference clock FREF.

本実施形態においては、遅延素子11は、その電源経路に電流源を備えている。すなわち、後に図4を参照して説明されるように、電源VDDと遅延用のバッファ(インバータ)の間、該バッファ(インバータ)とVSS間に、それぞれ第1、第2の電流源を備えている。   In the present embodiment, the delay element 11 includes a current source in its power supply path. That is, as will be described later with reference to FIG. 4, first and second current sources are provided between the power supply VDD and the delay buffer (inverter), and between the buffer (inverter) and VSS, respectively. Yes.

本実施形態においては、この遅延素子11の第1、第2の電流源に、バイアス電圧Bias+、Bias−を与えるバイアス発生回路14と、バイアス発生回路14を制御して遅延素子11の遅延時間の校正(キャリブレーション)を行うキャリブレーション制御回路15を備えている。   In the present embodiment, a bias generation circuit 14 that applies bias voltages Bias + and Bias− to the first and second current sources of the delay element 11, and the bias generation circuit 14 is controlled to control the delay time of the delay element 11. A calibration control circuit 15 that performs calibration is provided.

なお、特に制限されるものでないが、本実施形態において、各遅延素子11は、その正転入力端子(+)と反転入力端子(−)から、データ(DATA+、DATA−)を入力して反転し、反転出力端子(−)と正転出力端子(+)から差動出力する反転型バッファとして構成される。なお、図1において、差動で伝送されるデータ(DATA+、DATA−)は、クロック信号CLKと位相比較される信号であり、図9のCKVに対応し、CLKは、図9のリファレンスクロック信号FREFに対応している。なお、遅延素子11を、図9のように、シングルエンド入力、シングルエンド出力のインバータ(反転バッファ)で構成してもよいことは勿論である。   Although not particularly limited, in this embodiment, each delay element 11 is inverted by inputting data (DATA +, DATA−) from its normal input terminal (+) and its inverting input terminal (−). And an inverting buffer for differential output from the inverting output terminal (−) and the normal output terminal (+). In FIG. 1, data (DATA +, DATA−) transmitted differentially is a signal whose phase is compared with the clock signal CLK, and corresponds to CKV in FIG. 9, where CLK is the reference clock signal in FIG. Corresponds to FREF. Needless to say, the delay element 11 may be composed of a single-ended input and single-ended output inverter (inverting buffer) as shown in FIG.

各段のフリップフロップ12は対応する段の遅延素子11の出力をデータ端子Dに入力し、データ端子の信号をクロック入力端子に入力されるCLKの立ち上がりでサンプルし、サンプルした値を出力端子Qから出力する。データ(DATA+、DATA−)をディレイライン10に差動入力し、データ(DATA+、DATA−)を徐々に遅らせていき、1段当りの遅延時間×段数分だけ遅延させ、CLKの立ち上がりでフリップフロップ12に取り込む。   Each stage flip-flop 12 inputs the output of the delay element 11 of the corresponding stage to the data terminal D, samples the data terminal signal at the rising edge of CLK input to the clock input terminal, and outputs the sampled value to the output terminal Q. Output from. Data (DATA +, DATA-) is differentially input to the delay line 10, data (DATA +, DATA-) is gradually delayed, delayed by the delay time per stage x the number of stages, and flip-flops at the rising edge of CLK 12

本実施形態において、初段のフリップフロップ12は、初段の遅延素子11の反転出力端子(−)にデータ端子が接続され(反転出力をシングルエンド入力)、2段目のフリップフロップ12は2段目の遅延素子11の正転出力端子(+)にデータ端子が接続され(正転出力をシングルエンド入力)、3段目のフリップフロップ12は3段目の遅延素子11の反転出力端子(−)にデータ端子が接続される(反転出力をシングルエンド入力)、・・・という具合に、各段のフリップフロップ12のデータ端子には、交互に遅延素子11の反転、正転出力が入力される。このため、例えばDATA+の立ち上がり遷移(DATA+の相補信号であるDATA−は立ち下り遷移)に対して、各段の遅延素子11の出力を入力するフリップフロップ12のデータ端子には、DATA+と同相であり、且つ、初段の遅延素子11から当該段の遅延素子11の遅延時間の合計分遅延させた、立ち上がりが入力される。DATA+の立ち下り遷移(DATA−の立ち上がり遷移)に対しても同様に、各段の遅延素子11の出力を入力するフリップフロップ12のデータ端子には、DATA+と同相であり、且つ、初段の遅延素子11から当該段の遅延素子11の遅延時間の合計分遅延させた、立ち下り波形が入力される。なお、図1において、図9と同様に、DATA+をクロック信号CLKでサンプルするフリップフロップをフリップフロップ12の前段(図1の左隣)に備えてもよいことは勿論である。 In this embodiment, the flip-flop 12 1 of the first stage, the first stage delay element 11 1 of the inverting output terminal (-) data terminal is connected to the (inverting output single-ended input to), the second-stage flip-flop 12 2 to the second-stage delay element 11 2 normal output terminal (+) data terminal connected (non-inverting output of the single-ended input), the flip-flop 12 3 of the third stage 3 stage delay element 11 3 The data terminal is connected to the inverting output terminal (−) (the inverting output is a single-ended input),..., And so on. The output is input. For this reason, for example, with respect to the rising transition of DATA + (DATA− which is a complementary signal of DATA + is a falling transition), the data terminal of the flip-flop 12 to which the output of the delay element 11 of each stage is input is in phase with DATA +. In addition, a rising edge that is delayed from the delay element 11 of the first stage by the total delay time of the delay element 11 of the stage is input. Similarly for the falling transition of DATA + (the rising transition of DATA−), the data terminal of the flip-flop 12 to which the output of the delay element 11 of each stage is input has the same phase as DATA + and the delay of the first stage. A falling waveform delayed from the element 11 by the total delay time of the delay element 11 of the stage is input. In FIG. 1, similar to FIG. 9, to a flip-flop for sampling the DATA + at the clock signal CLK may be provided to the flip flop 12 1 of the preceding stage (left neighboring in FIG. 1) is a matter of course.

図2は、図1のTDCの動作を説明するためのタイミングチャートである。図2において、DATA+と同相で遅延されるDATA_D_1〜DATA_D_5は、図1の初段から5段目の遅延素子11〜11の出力である。図2に示す例では、DATA+の立ち下りとCLKの立ち上がりの位相差を検出する場合が例示されている。すなわち、図2のエンコーダ13の出力は、図9のエッジ検出器の出力TDC_FALLに対応している。CLKの立ち上がりに対するDATA_D_1〜DATA_D_5の立ち下りの遅れ、進みの関係が逆転する地点の前後のフリップフロップ12の出力が互いに異なる値であることを利用して(エンコーダ13において前後のフリップフロップ12の出力を入力する一致検出回路(不図示)で不一致を検出)、DATA+とCLKの位相差に対応する遅延素子の段数を検出し、エンコーダ103の出力とする。TDCが必要な段数は、測定対象の信号周期(周波数)の1周期分となる。 FIG. 2 is a timing chart for explaining the operation of the TDC of FIG. In FIG. 2, DATA_D_1~DATA_D_5 is delayed by DATA + and phase is an output of the delay element 11 1 to 11 5 of the fifth stage from the first stage of FIG. In the example shown in FIG. 2, the case where the phase difference between the falling edge of DATA + and the rising edge of CLK is detected is illustrated. That is, the output of the encoder 13 in FIG. 2 corresponds to the output TDC_FALL of the edge detector in FIG. By utilizing the fact that the outputs of the flip-flops 12 before and after the point where the delay of DATA_D_1 to DATA_D_5 falls with respect to the rising edge of CLK and the advance relationship are reversed are different from each other (the output of the flip-flops 12 before and after the encoder 13). Is detected by a coincidence detection circuit (not shown), and the number of stages of delay elements corresponding to the phase difference between DATA + and CLK is detected and used as the output of the encoder 103. The number of stages requiring TDC is one period of the signal period (frequency) to be measured.

図2の例では、初段の遅延素子11の出力信号DATA_D_1をCLKの立ち上がりに応答して初段のフリップフロップ12でサンプルした値は、2値の0、2段目の遅延素子11の出力信号DATA_D_2をCLKの立ち上がりに応答して2段目のフリップフロップ12でサンプルした値は、2値の1であり、DATA+の立ち下りのタイミングが、遅延素子11の1段目と2段目の間にあるということが分かる。したがって、エンコーダ103の出力値は「2」となり(遅延素子11単位での遅延時間であり、値は整数)、位相差は、遅延素子11の2段分の遅延時間(tdelay×2)に相当することになる。 In the example of FIG. 2, the sample values in the first stage flip-flop 12 1 in response to first-stage delay element 11 1 of the output signal DATA_D_1 the rise of CLK, the 0,2-stage binary delay element 11 2 of The value sampled by the second -stage flip-flop 122 in response to the rising edge of the CLK of the output signal DATA_D_2 is 1, and the timing of the falling edge of DATA + is the first and second stages of the delay element 11. You can see that it is between your eyes. Therefore, the output value of the encoder 103 is “2” (the delay time in the delay element 11 unit, the value is an integer), and the phase difference corresponds to the delay time (tdelay × 2) of the delay element 11 for two stages. Will do.

図3に、TDCの変換特性(入出力特性)の例を示す。横軸は入力位相差(図1のDATAの立ち上がり又は立ち下りとCLKの立ち上がりの位相差)、縦軸は出力コード(デジタルコード)である。図3には、図1の遅延素子11の遅延の大小と正常の場合が示されている。位相差の増加に従い、TDCの出力コードが線形(等間隔の階段状)に増加する特性が理想的な状態(正常)となる。階段特性の1ステップ当りの幅は、TDCの遅延素子1段の遅延時間に対応している。遅延素子11の遅延時間が大きくなると、入出力特性の勾配(傾き)は小さくなり、逆に、遅延素子11の遅延時間が小さくなると、入出力特性の勾配(傾き)は大きくなる。   FIG. 3 shows an example of TDC conversion characteristics (input / output characteristics). The horizontal axis represents the input phase difference (the phase difference between the rise or fall of DATA and the rise of CLK in FIG. 1), and the vertical axis represents the output code (digital code). FIG. 3 shows the magnitude of the delay of the delay element 11 of FIG. 1 and the normal case. As the phase difference increases, the characteristic that the output code of the TDC increases linearly (in steps of equal intervals) becomes an ideal state (normal). The width per step of the staircase characteristic corresponds to the delay time of one stage of the TDC delay element. When the delay time of the delay element 11 increases, the gradient (slope) of the input / output characteristics decreases, and conversely, when the delay time of the delay element 11 decreases, the gradient (slope) of the input / output characteristics increases.

遅延素子11の遅延時間のばらつきが生じると、TDCの階段特性の1ステップがあるところでは、広くなったり、狭くなったりする。このため、位相差を検出する分解能の誤差が大きくなる。   When the delay time of the delay element 11 varies, the delay element 11 becomes wider or narrower where there is one step of the TDC step characteristic. For this reason, an error in resolution for detecting the phase difference increases.

本実施形態によれば、キャリブレーション制御回路15とバイアス発生回路14によって遅延素子11の遅延時間のキャリブレーションを行い、図3のTDCの変換特性(階段特性)を一定にする。   According to this embodiment, the calibration of the delay time of the delay element 11 is performed by the calibration control circuit 15 and the bias generation circuit 14, and the conversion characteristic (step characteristic) of the TDC in FIG. 3 is made constant.

図4は、図1の遅延素子11の構成例を示す図である。ドレイン同士が共通接続され出力ノード(反転出力ノード)OUT−に接続され、ゲートが同士が共通接続され入力ノード(正転入力ノード)IN+に接続されたNMOSトランジスタ11−1とPMOSトランジスタ11−3は第1のCMOSインバータを構成する。またドレイン同士が共通接続され出力ノード(正転出力ノード)OUT+に接続され、ゲート同士が共通接続され入力ノード(反転入力ノード)IN−に接続されたNMOSトランジスタ11−2とPMOSトランジスタ11−4は第2のCMOSインバータを構成する。NMOSトランジスタ11−1、11−2のソースは共通接続され、電流源11−5の一端に接続され、電流源11−5の他端はVSS(GND)に接続される。PMOSトランジスタ11−3、11−4のソースは共通接続され、電流源11−6の一端に接続され、電流源11−6の他端は電源VDDに接続される。第2のCMOSインバータの出力(反転出力ノード)OUT−は抵抗を介して、第1のCMOSインバータの入力(正転入力ノード)IN+に接続され、第1のCMOSインバータの出力(正転出力ノード)OUT+は抵抗を介して第2のCMOSインバータの入力(反転入力ノード)IN−に接続され、第1、第2のCMOSインバータの入力と出力が相互に接続された差動型ラッチを構成する。IN+の信号がHighのとき、IN−の信号はLowであり、NMOSトランジスタ11−1がオン、PMOSトランジスタ11−4がオンし、OUT+はLow、OUT−はHighとなる。IN+の信号がLowのとき、IN−の信号はHighであり、NMOSトランジスタ11−2がオン、PMOSトランジスタ11−3がオンし、OUT+はHigh、OUT−はLowとなる。   FIG. 4 is a diagram illustrating a configuration example of the delay element 11 of FIG. An NMOS transistor 11-1 and a PMOS transistor 11-3 whose drains are connected in common and connected to an output node (inverted output node) OUT-, and whose gates are connected in common and connected to an input node (normal input node) IN +. Constitutes a first CMOS inverter. The NMOS transistors 11-2 and 11-4 have drains connected in common and connected to an output node (normal output node) OUT +, and gates connected in common to an input node (inverted input node) IN−. Constitutes a second CMOS inverter. The sources of the NMOS transistors 11-1 and 11-2 are connected in common and connected to one end of the current source 11-5, and the other end of the current source 11-5 is connected to VSS (GND). The sources of the PMOS transistors 11-3 and 11-4 are commonly connected and connected to one end of the current source 11-6, and the other end of the current source 11-6 is connected to the power supply VDD. The output (inverted output node) OUT− of the second CMOS inverter is connected to the input (normal input node) IN + of the first CMOS inverter via a resistor, and the output (normal output node) of the first CMOS inverter. ) OUT + is connected to the input (inverted input node) IN− of the second CMOS inverter through a resistor, and constitutes a differential latch in which the inputs and outputs of the first and second CMOS inverters are connected to each other. . When the IN + signal is High, the IN− signal is Low, the NMOS transistor 11-1 is on, the PMOS transistor 11-4 is on, OUT + is Low, and OUT− is High. When the IN + signal is low, the IN− signal is high, the NMOS transistor 11-2 is on, the PMOS transistor 11-3 is on, OUT + is high, and OUT− is low.

電流源11−5、11−6には、バイアス発生回路14から、バイアス電圧Bias+、Bias−がそれぞれ供給される。なお、電流源11−5はソースがVSS(GND)に接続され、ゲートにBias−を受け、ドレインがNMOSトランジスタ11−1、11−2の共通接続されたソースに接続されたNMOSトランジスタで構成してもよい。また、電流源11−6は、ソースがVDDに接続され、ゲートにBias+を受け、ドレインがPMOSトランジスタ11−3、11−4の共通接続されたソースに接続されたPMOSトランジスタで構成してもよい。   Bias voltages Bias + and Bias− are respectively supplied from the bias generation circuit 14 to the current sources 11-5 and 11-6. The current source 11-5 is configured by an NMOS transistor having a source connected to VSS (GND), a gate receiving Bias-, and a drain connected to a commonly connected source of the NMOS transistors 11-1 and 11-2. May be. The current source 11-6 may be configured by a PMOS transistor having a source connected to VDD, a gate receiving Bias +, and a drain connected to a commonly connected source of the PMOS transistors 11-3 and 11-4. Good.

本実施形態によれば、キャリブレーション制御回路15からの制御コードにより、バイアス発生回路14からのバイアス電圧Bias+、Bias−を変えることで、遅延素子11の遅延時間を補正する。電流源11−5、11−6をそれぞれPMOSトランジスタ、NMOSトランジスタで構成した場合、バイアス発生回路14がBias+を上げ、Bias−を下げることで、遅延素子11の電流源11−5、11−6の電流値がともに増大する。電流源11−5、11−6の電流値が増大すると、PMOSトランジスタ11−3、11−4によるOUT+、OUT−のHigh電位への充電時間(立ち上がり時間)と、NMOSトランジスタ11−1、11−2によるOUT+、OUT−のLow電位への放電時間(立ち下り時間)が短縮し、遅延素子11の1段当りの遅延時間(伝播遅延時間:入力の立ち上がりから出力の立ち下りまでの伝播遅延時間(propagation delay time)、及び、入力の立ち下りから出力の立ち上がりまでの伝播遅延時間)が短縮する。一方、バイアス発生回路14がBias+を下げ、Bias−を上げると、遅延素子11の電流源11−5、11−6の電流値が減少し、PMOSトランジスタ11−3、11−4によるOUT+、OUT−のHigh電位への充電時間(立ち上がり時間)と、NMOSトランジスタ11−1、11−2によるOUT+、OUT−のLow電位への放電時間(立ち下り時間)が増大し、遅延素子11の1段当りの遅延時間(伝播遅延時間)は増大する。   According to the present embodiment, the delay time of the delay element 11 is corrected by changing the bias voltages Bias + and Bias− from the bias generation circuit 14 according to the control code from the calibration control circuit 15. When the current sources 11-5 and 11-6 are respectively composed of a PMOS transistor and an NMOS transistor, the bias generation circuit 14 raises Bias + and lowers Bias− so that the current sources 11-5 and 11-6 of the delay element 11 are increased. Both current values increase. When the current values of the current sources 11-5 and 11-6 increase, the charging time (rise time) of OUT + and OUT− to the High potential by the PMOS transistors 11-3 and 11-4, and the NMOS transistors 11-1 and 11-11 are increased. The discharge time (fall time) of OUT + and OUT− to Low potential due to −2 is shortened, and the delay time per stage of the delay element 11 (propagation delay time: propagation delay from the rise of the input to the fall of the output) The time (propagation delay time) and the propagation delay time from the falling edge of the input to the rising edge of the output are shortened. On the other hand, when the bias generation circuit 14 decreases Bias + and increases Bias−, the current values of the current sources 11-5 and 11-6 of the delay element 11 decrease, and OUT + and OUT by the PMOS transistors 11-3 and 11-4. The charging time (rising time) of − to the high potential and the discharging time (falling time) of OUT + and OUT− to the low potential by the NMOS transistors 11-1 and 11-2 are increased. The hit delay time (propagation delay time) increases.

なお、バイアス発生回路14は、キャリブレーション制御回路15からの制御コードに対応した値のバイアス電圧Bias+、Bias−を生成する任意の回路構成とされる。特に制限されないが、電流源11−6、11−5をPMOSトランジスタ、NMOSトランジスタで構成する場合、バイアス発生回路14は、キャリブレーション制御回路15からの制御コードに対応した値の電流を出力するデジタルアナログ変換器(電流モードDAC)と、ソースが電源VDDに接続され、デジタルアナログ変換器の出力電流をドレインに受けるダイオード接続(ゲートとドレインが接続)された第1のPMOSトランジスタと、ソースが電源VDDに接続され、第1のPMOSトランジスタとゲートが共通接続され、カレントミラーを構成する第2のPMOSトランジスタと、ソースがVSSに接続され、ドレインがカレントミラー回路の出力(第2のPMOSトランジスタのドレイン)に接続され、ダイオード接続されたNMOSトランジスタを備え、第1のPMOSトランジスタとNMOSトランジスタのゲートの電圧をBias+、Bias−としてもよい。   The bias generation circuit 14 has an arbitrary circuit configuration that generates bias voltages Bias + and Bias− having values corresponding to the control codes from the calibration control circuit 15. Although not particularly limited, when the current sources 11-6 and 11-5 are configured by PMOS transistors and NMOS transistors, the bias generation circuit 14 outputs a current having a value corresponding to the control code from the calibration control circuit 15. An analog converter (current mode DAC), a first PMOS transistor having a source connected to the power supply VDD, a diode connection (gate and drain connected) receiving the output current of the digital analog converter at the drain, and a source being the power supply Connected to VDD, the first PMOS transistor and the gate are connected in common, the second PMOS transistor constituting the current mirror, the source is connected to VSS, the drain is the output of the current mirror circuit (the second PMOS transistor of the second PMOS transistor) Connected to the drain) and diode connected With an NMOS transistor, the voltage of the gate of the first PMOS transistor and the NMOS transistor Bias +, may be Bias-.

トランジスタのしきい値、電源電圧、温度が変化すると、遅延時間のばらつきが最大と最小で3倍程度あるとした場合、関連技術のTDCでは、これに対応するため、遅延素子11の段数として、正常の場合の段数の3倍程度用意しなくてはいけないことになる。これに対して、本実施形態によれば、遅延素子の遅延時間を校正(キャリブレーション)することで、遅延素子11の段数を増加させることなく、動作可能としている。   When the threshold value of the transistor, the power supply voltage, and the temperature change, the variation in delay time is about three times at the maximum and the minimum. It is necessary to prepare about three times the number of stages in the normal case. On the other hand, according to the present embodiment, the delay time of the delay element 11 is calibrated (calibrated) so that the operation can be performed without increasing the number of stages of the delay element 11.

また、本実施形態によれば、遅延素子11に電流源11−5、11−6を付加したことにより、電源電圧VDD/VSSが揺れたときに対するディレイライン10の遅延時間への影響が抑えられる。これは、バイアス電圧でバイアスされる電流源11−5、11−6が定電流源として機能し、電源電圧VDD/VSSの変動に対して、遅延素子11のCMOSインバータは、定電流源の定電流で負荷を充放電できるためである。   Further, according to the present embodiment, by adding the current sources 11-5 and 11-6 to the delay element 11, the influence on the delay time of the delay line 10 when the power supply voltage VDD / VSS fluctuates can be suppressed. . This is because the current sources 11-5 and 11-6 biased by the bias voltage function as constant current sources, and the CMOS inverter of the delay element 11 responds to fluctuations in the power supply voltage VDD / VSS. This is because the load can be charged and discharged with current.

図5には、TDCの遅延素子の段数と、周期の異なる入力信号(DATA信号)波形との関係が、時間領域で模式的に示されている。図5を参照して、本実施形態における遅延素子11の1段当りの遅延時間の設定について説明する。DATA信号のデューティは50%とする。   FIG. 5 schematically shows the relationship between the number of stages of TDC delay elements and the waveform of an input signal (DATA signal) having a different period in the time domain. With reference to FIG. 5, the setting of the delay time per stage of the delay element 11 in the present embodiment will be described. The duty of the DATA signal is 50%.

使用するTDCの遅延素子11の段数を128段(図1のN=128)、測定するDATA信号の周波数レンジを400−800MHzとする。遅延素子128段数の中心128/2=64段を、中心とする。   The number of delay elements 11 of the TDC used is 128 (N = 128 in FIG. 1), and the frequency range of the DATA signal to be measured is 400-800 MHz. The center is 128/2 = 64 stages of the number of delay elements 128.

この例ではDATA信号の周波数レンジは400MHzから800MHz、すなわち、TDCは、2倍の周波数レンジを測定する。このため、遅延素子11の64段を中心に、片側に、それぞれ√2倍と、1/(√2)倍した段数を求める。この範囲が、TDCの使用段数範囲となる。すなわち、
64x√2=90、
64x1/(√2)=45
となる(ただし、端数は切り捨ててある)。
In this example, the frequency range of the DATA signal is 400 MHz to 800 MHz, that is, the TDC measures twice the frequency range. Therefore, the number of stages obtained by multiplying √2 times and 1 / (√2) times on one side around the 64 stages of the delay element 11 is obtained. This range is the range of the number of stages used in TDC. That is,
64x√2 = 90,
64x1 / (√2) = 45
(However, the fraction is rounded down).

図5(a)に示すように、ディレイライン10で用いられる遅延素子11の段数の範囲は45−90となる。したがって、TDCにおいて、45−90段の2倍の段数レンジ(0−90段)によって2倍の周波数レンジを測定することができる。   As shown in FIG. 5A, the range of the number of stages of the delay elements 11 used in the delay line 10 is 45-90. Therefore, in the TDC, a double frequency range can be measured by a double number range (0 to 90 steps) of 45 to 90 steps.

TDCは、この範囲で400−800MHzを測定する。400−800MHzの周波数レンジを、時間周期(time period)に直すと、1250−2500psの時間範囲となる。この周期の変化分を、ディレイライン10を構成する45−90段の遅延素子11の範囲で測定する。つまり、図5(b)に示すように、遅延素子11の0−45段の範囲の中に800MHzの信号が1周期ある。また、図5(c)に示すように、遅延素子11の0−90段の範囲の中に400MHzの信号が1周期あることになり、400−800MHzの間の周波数の信号は、ディレイライン10の遅延素子11の45−90段の間となる。   TDC measures 400-800 MHz in this range. If the frequency range of 400-800 MHz is converted to a time period, the time range is 1250-2500 ps. The change in the period is measured in the range of 45 to 90 stages of delay elements 11 constituting the delay line 10. That is, as shown in FIG. 5B, there is one cycle of an 800 MHz signal in the 0-45 stage range of the delay element 11. Further, as shown in FIG. 5C, there is one cycle of a 400 MHz signal in the range of 0 to 90 stages of the delay element 11, and a signal having a frequency between 400 and 800 MHz is transmitted to the delay line 10. The delay element 11 is between 45 and 90 stages.

したがって、遅延素子1段当りの遅延時間は、
2500/90=1250/45=27.8ps
に設定すると、ちょうど、遅延素子11の0−90段の範囲の中に400MHzの信号が1周期含まれることになる。そして、キャリブレーション制御回路15、バイアス発生回路14により、遅延素子11の遅延時間を27.8psに補正することで、周波数レンジ400−800MHzの信号は、ディレイライン10の遅延素子11の45−90段の範囲に入ることになる。
Therefore, the delay time per stage of the delay element is
2500/90 = 1250/45 = 27.8 ps
In this case, the 400 MHz signal is included in one cycle in the 0-90 stage range of the delay element 11. Then, the calibration control circuit 15 and the bias generation circuit 14 correct the delay time of the delay element 11 to 27.8 ps so that the signal in the frequency range 400-800 MHz is 45-90 of the delay element 11 of the delay line 10. It will be in the range of steps.

400MHz付近の信号を測定するときは、プロセスばらつき(TDCを搭載する半導体チップの製造プロセスのばらつき)があったとしても、遅延素子11の45段目にエッジ位置(遅延された測定対象信号のエッジに対応してフリップフロップの出力結果が切り替わる位置)があればよいことになる。   When measuring a signal in the vicinity of 400 MHz, even if there is a process variation (variation in the manufacturing process of a semiconductor chip on which a TDC is mounted), the edge position (the edge of the delayed measurement target signal) at the 45th stage of the delay element 11 The position where the output result of the flip-flop is switched in correspondence with

本実施形態によれば、フリップフロップ12の出力をモニタし、初期キャリブレーションにおいて、設定段数(例えば45段目)の遅延素子11に接続されるフリップフロップ12で出力が切り替わるように、キャリブレーション制御回路15は、バイアス生成用の制御コード(Control Code)ICNTを生成してバイアス発生回路14に供給する。   According to the present embodiment, the output of the flip-flop 12 is monitored, and calibration control is performed so that the output is switched by the flip-flop 12 connected to the delay elements 11 of the set number of stages (for example, 45th stage) in the initial calibration. The circuit 15 generates a control code (Control Code) ICNT for bias generation and supplies it to the bias generation circuit 14.

バイアス発生回路14は、デジタル信号の制御コードICNTの値に対応したバイアス電圧(単に「バイアス」ともいう)Bias+、Bias−を生成し、遅延素子11の電流源11−6、11−5に供給し、遅延素子11の遅延を補正する。   The bias generation circuit 14 generates bias voltages (also simply referred to as “bias”) Bias + and Bias− corresponding to the value of the control code ICNT of the digital signal, and supplies the bias voltages to the current sources 11-6 and 11-5 of the delay element 11. Then, the delay of the delay element 11 is corrected.

キャリブレーション制御回路15において、測定対象信号の周波数に応じた初期位置(遅延素子11の段数)を決定することで(周波数レンジ400−800MHzの信号は45−90段)、その後、周波数が変動した場合でも、TDCでの位相差測定範囲は、遅延素子11の45−90段の範囲に収まることになる。   The calibration control circuit 15 determines the initial position (the number of stages of the delay element 11) according to the frequency of the signal to be measured (45 to 90 stages for signals in the frequency range 400 to 800 MHz), and then the frequency fluctuates. Even in such a case, the phase difference measurement range at the TDC falls within the 45-90 stage range of the delay element 11.

測定対象信号(DATA+/DATA−)の周波数レンジは、予め、キャリブレーション制御回路15の記憶装置等(不図示)に設定しておく。   The frequency range of the measurement target signal (DATA + / DATA−) is set in advance in a storage device (not shown) of the calibration control circuit 15.

図7に、測定対象信号の周波数レンジとその設定段数(図1の遅延素子11の段数)の対応関係の一例を示す。なお、図7では、周波数レンジ400−800MHzを16に区分し(1区分=25MHz)、各区分に応じて遅延素子11の設定段数が決められている。キャリブレーション制御回路15は、図7のテーブル形式の設定内容(周波数レンジと遅延素子の設定段数)を記憶装置(不図示)に保持しており、測定対象信号の周波数レンジに対応して遅延素子の設定段数を取得する。   FIG. 7 shows an example of a correspondence relationship between the frequency range of the signal to be measured and the set number of stages (the number of stages of the delay element 11 in FIG. 1). In FIG. 7, the frequency range 400-800 MHz is divided into 16 (1 division = 25 MHz), and the number of setting stages of the delay element 11 is determined according to each division. The calibration control circuit 15 holds the setting contents (frequency range and setting number of delay elements) in the table format of FIG. 7 in a storage device (not shown), and delay elements corresponding to the frequency range of the signal to be measured. Get the set number of steps.

ディレイライン10の遅延素子11の45−90段の範囲以外の範囲は、キャリブレーション制御回路15によるキャリブレーション後における電源電圧、温度変動に対するマージンとする。TDCにおいて、例えば周波数400MHzの信号測定時、ディレイライン10において90段の遅延素子11を使用しているものとする。このとき、電源電圧、温度変動等により、遅延素子1段当りの遅延時間が遅く(長く)なったとすると、ディレイライン10の90−128段の範囲の遅延素子11を使用してエッジ位置を測定する。   The range other than the 45-90 stage range of the delay element 11 of the delay line 10 is a margin for power supply voltage and temperature fluctuation after calibration by the calibration control circuit 15. In TDC, for example, when measuring a signal having a frequency of 400 MHz, it is assumed that 90 stages of delay elements 11 are used in the delay line 10. At this time, if the delay time per delay element becomes slow (long) due to power supply voltage, temperature fluctuation, etc., the edge position is measured using the delay element 11 in the range of 90 to 128 stages of the delay line 10. To do.

また、TDCにおいて、周波数800MHzの信号測定時、ディレイライン10において45段の遅延素子11を用いてキャリブレーションが行われ、その後、電源電圧、温度変動により、遅延素子11の1段当りの遅延が速く(短く)なったとすると、遅延素子11の45段以下を使うことになるが、段数が少なすぎると、TDCの精度に影響する。その場合、本発明の第2の実施形態として後述されるフェイル・セーフ(Fale−Safe)機能を使う。   In TDC, when measuring a signal having a frequency of 800 MHz, the delay line 10 is calibrated by using 45 stages of delay elements 11, and then the delay per stage of the delay elements 11 is changed due to power supply voltage and temperature fluctuations. If it is faster (shorter), 45 stages or less of the delay element 11 are used, but if the number of stages is too small, the accuracy of the TDC is affected. In that case, a fail-safe function described later as the second embodiment of the present invention is used.

図6は、本実施形態のキャリブレーション制御回路15の手順を説明するための流れ図である。図6を参照して、キャリブレーション手順を説明する。   FIG. 6 is a flowchart for explaining the procedure of the calibration control circuit 15 of the present embodiment. A calibration procedure will be described with reference to FIG.

<手順1>
キャリブレーションを開始する(S1)。キャリブレーション実行時、デイレイライン10に入力される信号DATA+/DATA−として、所定周波数レンジ(例えば400MHz等)の信号が入力される。
<Procedure 1>
Calibration is started (S1). When calibration is performed, a signal in a predetermined frequency range (for example, 400 MHz) is input as the signal DATA + / DATA− input to the delay line 10.

<手順2>
キャリブレーション制御回路15は、バイアス発生回路14に供給する制御コード(ICNT)を制御してバイアス発生回路14からのBias+、Bias−を変化させ、遅延素子11の電流源11−5、11−6の電流を最大の状態(遅延素子11の遅延時間が最小)から1ステップずつ減らしていき(S2)、遅延素子11の遅延を、1ステップ単位で遅くして行き、設定した遅延時間に対応するTDCのディレイライン10の出力段数に合わせる。図1において、CLKに対して設定した遅延(位相差)を有するキャリブレーション用の測定対象信号(DATA+/DATA−)のエッジ位置が、遅延素子11の設定段数に対応するように、遅延素子11の遅延時間を調整する。なお、キャリブレーション制御回路15がバイアス発生回路14に供給する制御コード(ICNT)の値(デジタル値)を1つ変化させ、該制御コードの値の変化に対応してバイアス発生回路14がBias+、Vias−を変化させることによる、遅延素子11の遅延量の変化を、遅延素子11の遅延時間の1ステップとする。
<Procedure 2>
The calibration control circuit 15 controls the control code (ICNT) supplied to the bias generation circuit 14 to change Bias + and Bias− from the bias generation circuit 14, and the current sources 11-5 and 11-6 of the delay element 11. The current of the delay element 11 is decreased step by step from the maximum state (the delay time of the delay element 11 is minimum) (S2), and the delay of the delay element 11 is delayed by one step unit to correspond to the set delay time. Match the number of output stages of the delay line 10 of the TDC. In FIG. 1, the delay element 11 is set so that the edge position of the calibration target signal (DATA + / DATA−) having a delay (phase difference) set with respect to CLK corresponds to the set number of stages of the delay element 11. Adjust the delay time. The calibration control circuit 15 changes the value (digital value) of the control code (ICNT) supplied to the bias generation circuit 14 by one, and the bias generation circuit 14 changes to Bias +, in response to the change in the value of the control code. A change in the delay amount of the delay element 11 by changing Vias is defined as one step of the delay time of the delay element 11.

キャリブレーション制御回路15は、フリップフロップ12の出力(エッジ検出器13の出力)から、設定した遅延時間に相当する遅延素子11の段数を測定する(S3)。キャリブレーション制御回路15は、エッジ検出器13から測定対象信号DATAのエッジ位置を取得し、設定した遅延時間に対応した遅延素子11の段数(何段目であるかという情報)を取得する。なお、図1では、キャリブレーション制御回路15は、エッジ検出器13から出力されるエッジ位置(フリップフロップ12の出力が切り替わる位置)を入力しているが、本発明はかかる構成に制限されるものでなく、キャリブレーション制御回路15はフリップフロップ12〜12の出力を直接入力する構成としてもよい。 The calibration control circuit 15 measures the number of stages of the delay element 11 corresponding to the set delay time from the output of the flip-flop 12 (output of the edge detector 13) (S3). The calibration control circuit 15 acquires the edge position of the measurement target signal DATA from the edge detector 13, and acquires the number of stages of the delay element 11 corresponding to the set delay time (information about what stage). In FIG. 1, the calibration control circuit 15 inputs the edge position output from the edge detector 13 (the position at which the output of the flip-flop 12 switches), but the present invention is limited to such a configuration. Instead, the calibration control circuit 15 may be configured to directly input the outputs of the flip-flops 12 1 to 12 N.

取得した遅延素子11の段数が始めから設定段数以上となっている場合には、遅延素子11の電流源11−5、11−6(図4)の電流を最大(遅延素子11の遅延時間を最小)としてキャリブレーションを終了する。なお、電流源の電流値の設定範囲で適当な遅延時間となるように、好ましくは、遅延素子11を構成するPMOSトランジスタ11−3、11−4、NMOSトランジスタ11−1、11−2(図4)のサイズは予め最適化しておく。   When the acquired number of stages of the delay element 11 is equal to or greater than the set number of stages from the beginning, the current of the current sources 11-5 and 11-6 (FIG. 4) of the delay element 11 is maximized (the delay time of the delay element 11 is increased). Calibration) is finished. The PMOS transistors 11-3 and 11-4 and the NMOS transistors 11-1 and 11-2 constituting the delay element 11 are preferably arranged so that an appropriate delay time is obtained within the current value setting range of the current source (see FIG. The size of 4) is optimized in advance.

<手順3>
遅延素子11の電流源11−5、11−6(図4)の電流を1ステップ減少させても所望の段数(キャリブレーション制御回路15のテーブル(図7)の段数のしきい値)に達しない場合には(S4のNO分岐)、さらにもう1ステップ、電流源11−5、11−6の電流を減らす。このループ処理を、何回か繰り返し、設定した遅延時間に対応する遅延素子11の設定段数に近づける。
<Procedure 3>
Even if the currents of the current sources 11-5 and 11-6 (FIG. 4) of the delay element 11 are reduced by one step, the desired number of stages (threshold value of the number of stages in the table of the calibration control circuit 15 (FIG. 7)) is reached. If not (NO branch of S4), the current of the current sources 11-5 and 11-6 is further reduced by another step. This loop processing is repeated several times to bring it closer to the set number of delay elements 11 corresponding to the set delay time.

<手順4>
キャリブレーション制御回路15内のテーブル(図7の内容を保持)に設定された遅延素子11の段数(測定対象信号の周波数レンジに対応して設定された段数)を超えたら、キャリブレーションを終了とする(ステップS4のYES分岐)。
<Procedure 4>
When the number of stages of delay elements 11 set in the table (holding the contents of FIG. 7) in the calibration control circuit 15 (the number of stages set corresponding to the frequency range of the measurement target signal) is exceeded, the calibration is terminated. (YES branch of step S4).

なお、キャリブレーション制御回路15は、バイアス発生回路14に供給する制御コード(ICNT)を制御してバイアス発生回路14からのBias+、Bias−を変化させ、遅延素子11の電流源11−5、11−6(図4)の電流を最小の状態(遅延素子11の遅延時間が最大)から1ステップずつ増加させるように制御するようにしてもよい。   The calibration control circuit 15 controls the control code (ICNT) supplied to the bias generation circuit 14 to change Bias + and Bias− from the bias generation circuit 14, thereby changing the current sources 11-5 and 11 of the delay element 11. The current of −6 (FIG. 4) may be controlled to be increased step by step from the minimum state (the delay time of the delay element 11 is maximum).

図6において、キャリブレーション終了後、遅延素子1の段数が128以上又は16以下になった場合、以下に説明されるフェイル・セーフ(Fail−Safe)機能を実行する(S5)。   In FIG. 6, when the number of stages of the delay element 1 is 128 or more or 16 or less after calibration is completed, a fail-safe function described below is executed (S5).

<第2の実施形態>
上記Fail−Safe機能は、初期キャリブレーション終了後のTDC動作中にも、アクティブに自動でキャリブレーションを行う機能である。本実施形態では、このFail−Safe機能が、キャリブレーション制御回路15に追加されている。以下、Fail−Safe機能についての動作を説明する。
<Second Embodiment>
The Fail-Safe function is a function that automatically and automatically performs calibration even during the TDC operation after the end of the initial calibration. In the present embodiment, this Fail-Safe function is added to the calibration control circuit 15. Hereinafter, the operation of the Fail-Safe function will be described.

キャリブレーション終了後、通常動作中に、電源電圧、温度変動等により、TDCのディレイライン10の遅延素子11の1段当りの遅延時間が変化し、TDCの遅延素子11の使用段数に過不足が生じた場合、キャリブレーション制御回路15では、これを検出し、TDCの遅延素子11の遅延時間を制御する。   After the calibration is completed, the delay time per stage of the delay element 11 of the delay line 10 of the TDC changes due to power supply voltage, temperature fluctuation, etc. during normal operation, and the number of stages used by the delay element 11 of the TDC is excessive or insufficient. If it occurs, the calibration control circuit 15 detects this and controls the delay time of the delay element 11 of the TDC.

図6のS5において、フリップフロップ12の出力を入力するキャリブレーション制御回路15において、設定した遅延時間に相等する遅延素子11の段数が128段以上であるか、16段以下を検出した場合が、TDCのディレイライン10の遅延素子11の使用段数に過不足が生じた場合に対応する。   In S5 of FIG. 6, in the calibration control circuit 15 that inputs the output of the flip-flop 12, the number of stages of the delay element 11 equivalent to the set delay time is 128 or more, or 16 or less is detected. This corresponds to a case where the number of stages used in the delay element 11 of the TDC delay line 10 is excessive or insufficient.

すなわち、TDCのディレイライン10の遅延素子11の使用段数に不足が生じる場合とは、電源電圧、温度変動により、遅延素子1段当りの遅延時間が極端に速くなる場合、TDCにおける遅延素子の段数が不足する。例えば、遅延素子の遅延時間が元の1/2倍になったとすると、前に測っていた周期の1/2周期の信号しか、CLKとの位相差を測定することができなくなる。その結果、予め用意されているTDCのディレイライン10の遅延素子11の段数内に入力信号が1周期含まれず、測定対象信号の立ち上がりが無いという状態が起こり、TDCが機能しなくなる。   That is, the case where the number of use stages of the delay elements 11 of the delay line 10 of the TDC is insufficient means that the delay time per stage of the delay elements becomes extremely fast due to power supply voltage and temperature fluctuations, and the number of stages of the delay elements in the TDC. Is lacking. For example, if the delay time of the delay element is ½ of the original, the phase difference with respect to CLK can be measured only for a signal having a period of ½ of the previously measured period. As a result, one cycle of the input signal is not included in the number of stages of the delay elements 11 of the TDC delay line 10 prepared in advance, and there is no rise of the measurement target signal, and the TDC does not function.

また、TDCのディレイライン10の遅延素子11の使用段数が過剰である場合とは、電源電圧、温度変動により、遅延素子1段当りの遅延時間が極端に遅くなる場合、遅延素子の段数が過剰となる。この場合、遅延素子1段当りの遅延時間が大きくなるため、TDCの分解能が大きくなり、1ステップが粗くなる。その結果、TDCにおいて、本来、測定されるべき位相差を測ることができなくなる。   Further, the case where the number of stages of the delay elements 11 used in the delay line 10 of the TDC is excessive means that the number of stages of the delay elements is excessive when the delay time per delay element becomes extremely slow due to power supply voltage and temperature fluctuations. It becomes. In this case, since the delay time per stage of the delay element is increased, the resolution of TDC is increased and one step is roughened. As a result, in TDC, the phase difference that should be measured cannot be measured.

この状況を避けるため、設定した段数付近に、測定対象信号のエッジ位置が来た場合、キャリブレーション制御回路15は、エッジ位置の検出結果から、遅延素子11の遅延を増加する制御を、バイアス発生回路14に対して行い、バイアス発生回路14により、遅延素子11の電流源の電流を1ステップ減らし、遅延を増加させる。一方、遅延素子11の段数が足りない場合には、さらにもう1ステップ遅延を増加させる。例えば128段の遅延素子を用意しておいた場合、キャリブレーション制御回路15において、フリップフロップ12の出力に基づき、エッジ位置の検出結果から、127段付近に遅延があると判断されると、キャリブレーション制御回路15では、電流を1ステップ下げるように設定する制御コード(ICNT)をバイアス発生回路14に伝える。バイアス発生回路14は、制御コード(ICNT)に基づき、Bias+、Bias−を変化させ、遅延素子11の遅延を、遅延素子11の電流源の1ステップの電流の減少分、遅くする。そして、エッジ位置が126段以下になったら、コードの変化をストップし、この制御を繰り返す。   To avoid this situation, when the edge position of the measurement target signal comes near the set number of stages, the calibration control circuit 15 performs control to increase the delay of the delay element 11 based on the detection result of the edge position. The bias generation circuit 14 reduces the current of the current source of the delay element 11 by one step and increases the delay. On the other hand, when the number of stages of the delay elements 11 is insufficient, the delay by one step is further increased. For example, if a 128-stage delay element is prepared, the calibration control circuit 15 determines that there is a delay near 127 stages based on the detection result of the edge position based on the output of the flip-flop 12. The control circuit 15 transmits a control code (ICNT) for setting the current to be lowered by one step to the bias generation circuit 14. The bias generation circuit 14 changes Bias + and Bias− based on the control code (ICNT), and delays the delay of the delay element 11 by the amount of decrease in the current of one step of the current source of the delay element 11. When the edge position becomes 126 steps or less, the code change is stopped and this control is repeated.

また、遅延素子11の遅延時間が遅くなる場合、例えば遅延素子11の128段中の32段以下にエッジ位置がきたら、キャリブレーション制御回路15では、電流を1ステップ上げるように設定する制御コード(ICNT)をバイアス発生回路14に伝える。バイアス発生回路14は、制御コード(ICNT)に基づき、Bias+、Bias−を変化させ、遅延素子11の遅延を、遅延素子11の電流源の1ステップの電流増加分、短くする。   Further, when the delay time of the delay element 11 is delayed, for example, when the edge position comes to 32 stages or less of the 128 stages of the delay element 11, the calibration control circuit 15 sets a control code for setting the current one step higher ( ICNT) to the bias generation circuit 14. The bias generation circuit 14 changes Bias + and Bias− based on the control code (ICNT), and shortens the delay of the delay element 11 by a current increase of one step of the current source of the delay element 11.

このように、本実施形態によれば、Fail−Safe機能により、TDCが動作中に遅延素子11の遅延時間が大きく変化した場合においても、正常に機能するように、制御コードを制御する。   Thus, according to the present embodiment, the control code is controlled by the Fail-Safe function so that the control code functions normally even when the delay time of the delay element 11 greatly changes during the operation of the TDC.

Fail−Safe機能により、TDCの通常動作時に、遅延素子の段数に不足が生じた場合でも、正常な遅延時間に復帰することを可能とし、その結果、TDCの入出力の線形性の劣化を防ぐことができる。   The fail-safe function makes it possible to return to the normal delay time even when the number of stages of the delay elements is insufficient during the normal operation of the TDC, and as a result, prevents the deterioration of the linearity of the input / output of the TDC. be able to.

本発明によれば、任意のデジタルPLL(全デジタルPLL(ADPLL)を含む)内のTDCに適用される。ADPLLでは、TDCで基準信号とフィードバック信号との微小な位相差を求める。キャリブレーション制御回路15、バイアス発生回路14により、遅延素子の遅延のばらつきに対して、TDCの変換特性を一定(正常な線形特性)となるように制御する。なお、デジタルPLLは、図8に示した構成に制限されるものでなく、任意のADPLLのTDCに適用可能である。   The present invention applies to TDC in any digital PLL (including all digital PLL (ADPLL)). In ADPLL, a small phase difference between the reference signal and the feedback signal is obtained by TDC. The calibration control circuit 15 and the bias generation circuit 14 control the TDC conversion characteristics to be constant (normal linear characteristics) with respect to variations in delay of the delay elements. The digital PLL is not limited to the configuration shown in FIG. 8 and can be applied to any ADPLL TDC.

本発明によれば、製造プロセス変動、あるいは電源、温度変動等による遅延素子の遅延時間のばらつきに対して、TDCの変換特性が一定となるように制御する構成としたことで、半導体装置(デジタル集積回路)上に実装して好適とされる。   According to the present invention, the semiconductor device (digital device) is configured to control the conversion characteristics of the TDC to be constant with respect to variations in the delay time of the delay element due to manufacturing process variations, power supply, temperature variations, and the like. It is preferable to be mounted on an integrated circuit).

なお、上記の特許文献の各開示を、本書に引用をもって繰り込むものとする。本発明の全開示(請求の範囲を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態の変更・調整が可能である。また、本発明の請求の範囲の枠内において種々の開示要素の多様な組み合わせないし選択が可能である。すなわち、本発明は、請求の範囲を含む全開示、技術的思想にしたがって当業者であればなし得るであろう各種変形、修正を含むことは勿論である。   It should be noted that the disclosures of the above patent documents are incorporated herein by reference. Within the scope of the entire disclosure (including claims) of the present invention, the embodiment can be changed and adjusted based on the basic technical concept. Various combinations and selections of various disclosed elements are possible within the scope of the claims of the present invention. That is, the present invention of course includes various variations and modifications that could be made by those skilled in the art according to the entire disclosure including the claims and the technical idea.

10 ディレイライン
11、11〜11 遅延素子
11−1、11−2 NMOSトランジスタ
11−3、11−4 PMOSトランジスタ
11−5、11−6 電流源
12、12〜12 フリップフロップ
13 エッジ検出器(エンコーダ)
14 バイアス発生回路
15 キャリブレーション制御回路
100 全デジタルPLL(All Digital PLL:ADPLL)
102 累積器(アキュムレータ)
103 数値制御発振器(NCO)
104 DCO(Digitally Controlled Oscillator)
105 利得(GAIN)要素
106 波形整形器
108 天井要素
110 基準水晶発振器(FREF:リファレンスクロック)
112 周波数基準クロックCKR
114 クロック信号CKV
116 周波数制御語(FCW)
120 ラッチ/レジスタ
200 小位相検出器/小位相検出器システム
201 TDC
10 the delay line 11, 11 1 to 11 N delay elements 11 - 1 and 11 - 2 NMOS transistors 11-3 and 11-4 PMOS transistor 11 - 5 and 11 - 6 current sources 12, 12 1 to 12 N flip-flop 13 edge Detector (encoder)
14 Bias Generation Circuit 15 Calibration Control Circuit 100 All Digital PLL (All Digital PLL: ADPLL)
102 Accumulator
103 Numerically controlled oscillator (NCO)
104 DCO (Digitally Controlled Oscillator)
105 Gain (GAIN) Element 106 Wave Shaper 108 Ceiling Element 110 Reference Crystal Oscillator (FREF: Reference Clock)
112 Frequency reference clock CKR
114 Clock signal CKV
116 Frequency control word (FCW)
120 Latch / Register 200 Small Phase Detector / Small Phase Detector System 201 TDC

Claims (9)

第1の信号を順次遅延させる複数段の遅延素子を有するディレイラインと、
前記複数段の遅延素子に対応してそれぞれ配設され、共通に入力される第2の信号に応答して前記複数段の遅延素子の出力をサンプルする複数のフリップフロップと、
前記複数のフリップフロップの出力を入力し、相隣るフリップフロップの出力結果が切り替わるエッジ位置を、前記第1の信号の前記第2の信号に対する位相差として検出するエッジ検出器と、
を備えたTDC(Time−to−Digital Converter)装置であって、
前記遅延素子は、電流源を電源パスに備え、前記電流源に印加されるバイアスに応じて遅延時間を可変させ、
前記エッジ位置の検出結果に基づき、バイアス制御用の制御コードを生成するキャリブレーション制御回路と、
前記キャリブレーション制御回路からの前記制御コードに対応するバイアスを生成し前記複数段の遅延素子に対して供給するバイアス発生回路と、
を備え、
キャリブレーション時、前記キャリブレーション制御回路では、前記エッジ検出器で検出される前記エッジ位置が、前記第1の信号の前記周波数レンジに対応して予め設定された遅延素子の段数に対応するように、前記バイアス発生回路を制御して、前記遅延素子の遅延時間のキャリブレーションを行う、TDC装置。
A delay line having a plurality of delay elements for sequentially delaying the first signal;
A plurality of flip-flops arranged corresponding to the plurality of stages of delay elements and sampling the outputs of the plurality of stages of delay elements in response to a commonly input second signal;
An edge detector that receives outputs of the plurality of flip-flops and detects an edge position at which output results of adjacent flip-flops are switched as a phase difference of the first signal with respect to the second signal;
A TDC (Time-to-Digital Converter) device comprising:
The delay element includes a current source in a power supply path, and varies a delay time according to a bias applied to the current source,
A calibration control circuit that generates a control code for bias control based on the detection result of the edge position;
A bias generation circuit that generates a bias corresponding to the control code from the calibration control circuit and supplies the bias to the plurality of stages of delay elements;
With
At the time of calibration, in the calibration control circuit, the edge position detected by the edge detector corresponds to the number of stages of delay elements set in advance corresponding to the frequency range of the first signal. A TDC device that controls the bias generation circuit to calibrate the delay time of the delay element.
前記キャリブレーション制御回路は、被測定対象の前記第1の信号の周波数レンジと、前記周波数レンジに対応した遅延素子の設定段数情報とを関連付けて記憶保持する、請求項1記載のTDC装置。   The TDC apparatus according to claim 1, wherein the calibration control circuit stores and holds the frequency range of the first signal to be measured and the set stage number information of the delay element corresponding to the frequency range in association with each other. キャリブレーション時、予め定められた所定の周波数レンジの所定の位相差の第1の信号が前記ディレイラインに入力され、前記キャリブレーション制御回路は、前記バイアス発生回路を制御して、前記遅延素子の電流源を最大又は最小値から始めて所定ステップ単位で減少又は増加させ、前記エッジ検出器で検出される前記エッジ位置が、前記位相差に対応した予め定められた遅延素子の段数となるように制御する、請求項1又は2記載のTDC装置。   At the time of calibration, a first signal having a predetermined phase difference in a predetermined frequency range is input to the delay line, and the calibration control circuit controls the bias generation circuit to control the delay element. Starting from the maximum or minimum value, the current source is decreased or increased by a predetermined step unit, and the edge position detected by the edge detector is controlled to be a predetermined number of stages of delay elements corresponding to the phase difference. The TDC device according to claim 1 or 2. 前記キャリブレーション制御回路において、前記エッジ検出器で検出された前記エッジ位置が、遅延素子の段数に関して、予め定められた第1の段数以上であるか、又は、前記第1の段数よりも小さい第2の段数以下である場合には、前記バイアス発生回路を制御して、前記遅延素子の遅延時間を短くするか、又は長くするように制御するフェイル・セーフ機能を具備してなる、請求項1乃至3のいずれか1項に記載のTDC装置。   In the calibration control circuit, the edge position detected by the edge detector is greater than or equal to a predetermined first number of stages with respect to the number of stages of delay elements, or smaller than the first number of stages. 2. A fail-safe function for controlling the bias generation circuit to shorten or lengthen the delay time of the delay element when the number of stages is two or less is provided. 4. The TDC device according to any one of items 1 to 3. 請求項1乃至4のいずれか1項に記載のTDC装置を備えた半導体装置。   A semiconductor device comprising the TDC device according to claim 1. 第1の信号を順次遅延させる複数段の遅延素子を有するディレイラインと、
前記複数段の遅延素子に対応してそれぞれ配設され、共通に入力される第2の信号に応答して前記複数段の遅延素子の出力をサンプルする複数のフリップフロップと、
前記複数のフリップフロップの出力を入力し、相隣るフリップフロップの出力結果が切り替わるエッジ位置を、前記第1の信号の第2の信号に対する位相差として検出するエッジ検出器と、
を備えたTDC(Time−to−Digital Converter)のキャリブレーション方法であって、
前記遅延素子は、電流源を電源パスに備え、前記電流源に印加されるバイアスに応じて遅延時間が可変自在とされ、
キャリブレーション制御回路が、前記エッジ位置の検出結果に基づき、バイアス制御用の制御コードを生成し、
前記制御コードに対応するバイアスをバイアス発生回路で生成し、前記複数段の遅延素子に対して供給し、前記エッジ検出器で検出される前記エッジ位置が、前記第1の信号の前記周波数レンジに対応して予め設定された遅延素子の段数に対応するように、前記遅延素子の遅延時間のキャリブレーションを行う、TDCのキャリブレーション方法。
A delay line having a plurality of delay elements for sequentially delaying the first signal;
A plurality of flip-flops arranged corresponding to the plurality of stages of delay elements and sampling the outputs of the plurality of stages of delay elements in response to a commonly input second signal;
An edge detector for inputting an output of the plurality of flip-flops and detecting an edge position at which an output result of adjacent flip-flops is switched as a phase difference between the first signal and the second signal;
A TDC (Time-to-Digital Converter) calibration method comprising:
The delay element includes a current source in a power supply path, and a delay time can be varied according to a bias applied to the current source.
A calibration control circuit generates a control code for bias control based on the detection result of the edge position,
A bias corresponding to the control code is generated by a bias generation circuit, supplied to the plurality of stages of delay elements, and the edge position detected by the edge detector is in the frequency range of the first signal. A TDC calibration method for calibrating the delay time of the delay element so as to correspond to a preset number of stages of delay elements.
被測定対象の前記第1の信号の周波数レンジと、前記周波数レンジに対応した遅延素子の設定段数情報とを関連付けて前記キャリブレーション制御回路で記憶保持する、請求項6記載のTDCのキャリブレーション方法。   7. The TDC calibration method according to claim 6, wherein the calibration control circuit stores and holds the frequency range of the first signal to be measured and the set stage number information of the delay element corresponding to the frequency range in association with each other. . キャリブレーション時、予め定められた所定の周波数レンジの所定の位相差の第1の信号が前記ディレイラインに入力され、前記遅延素子の電流源を最大又は最小値から始めて所定ステップ単位で減少又は増加させ、前記エッジ検出器で検出される前記エッジの位置が、前記位相差に対応した予め定められた遅延素子の段数となるように制御する、請求項6又は7記載のTDCのキャリブレーション方法。   During calibration, a first signal having a predetermined phase difference in a predetermined frequency range is input to the delay line, and the current source of the delay element is decreased or increased in predetermined steps starting from the maximum or minimum value. The TDC calibration method according to claim 6, wherein the position of the edge detected by the edge detector is controlled to be a predetermined number of stages of delay elements corresponding to the phase difference. 前記検出された前記エッジ位置が、予め定められた遅延素子の所定の第1の段数以上であるか、又は、前記第1の段数よりも小さい第2の段数以下である場合、前記バイアス発生回路を制御して、前記遅延素子の遅延時間を短くするか、又は長くするように制御する、請求項6乃至8のいずれか1項に記載のTDCのキャリブレーション方法。   When the detected edge position is greater than or equal to a predetermined first number of delay elements or less than or equal to a second number smaller than the first number, the bias generation circuit The TDC calibration method according to claim 6, wherein the delay time of the delay element is controlled to be shortened or lengthened by controlling the delay time.
JP2010262480A 2010-11-25 2010-11-25 Tdc device and method of calibrating tdc Withdrawn JP2012114716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010262480A JP2012114716A (en) 2010-11-25 2010-11-25 Tdc device and method of calibrating tdc

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010262480A JP2012114716A (en) 2010-11-25 2010-11-25 Tdc device and method of calibrating tdc

Publications (1)

Publication Number Publication Date
JP2012114716A true JP2012114716A (en) 2012-06-14

Family

ID=46498432

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010262480A Withdrawn JP2012114716A (en) 2010-11-25 2010-11-25 Tdc device and method of calibrating tdc

Country Status (1)

Country Link
JP (1) JP2012114716A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9379716B2 (en) 2014-03-07 2016-06-28 Sony Corporation Electronic circuit, method of controlling electronic circuit, and electronic apparatus
WO2016139958A1 (en) * 2015-03-05 2016-09-09 国立大学法人千葉大学 Semiconductor integrated circuit and delay measurement circuit
US9891594B2 (en) 2014-11-07 2018-02-13 Seoul National University R&Db Foundation Heterogeneous sampling delay line-based time to digital converter
KR20180117824A (en) * 2017-04-20 2018-10-30 삼성전자주식회사 Wireless communication device and method
CN114137394A (en) * 2021-12-01 2022-03-04 上海御渡半导体科技有限公司 Synchronous calibration device and method for trigger signal sending direction
CN116015285A (en) * 2022-12-31 2023-04-25 成都电科星拓科技有限公司 Method and device for correcting TDC delay stepping based on stepping LDO
CN117200766A (en) * 2023-11-06 2023-12-08 南方电网科学研究院有限责任公司 Control method and device for broadband synchronous signal source output phase and storage medium
CN118300579A (en) * 2024-06-06 2024-07-05 深圳市鼎阳科技股份有限公司 Trigger type signal source, signal generator and multi-signal source synchronization method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9379716B2 (en) 2014-03-07 2016-06-28 Sony Corporation Electronic circuit, method of controlling electronic circuit, and electronic apparatus
US9891594B2 (en) 2014-11-07 2018-02-13 Seoul National University R&Db Foundation Heterogeneous sampling delay line-based time to digital converter
WO2016139958A1 (en) * 2015-03-05 2016-09-09 国立大学法人千葉大学 Semiconductor integrated circuit and delay measurement circuit
JPWO2016139958A1 (en) * 2015-03-05 2017-04-27 国立大学法人 千葉大学 Semiconductor integrated circuit and delay measurement circuit
KR102387572B1 (en) * 2017-04-20 2022-04-18 삼성전자주식회사 Wireless communication device and method
KR20180117824A (en) * 2017-04-20 2018-10-30 삼성전자주식회사 Wireless communication device and method
CN114137394A (en) * 2021-12-01 2022-03-04 上海御渡半导体科技有限公司 Synchronous calibration device and method for trigger signal sending direction
CN114137394B (en) * 2021-12-01 2024-01-16 上海御渡半导体科技有限公司 Synchronous calibration device and calibration method for trigger signal transmitting direction
CN116015285A (en) * 2022-12-31 2023-04-25 成都电科星拓科技有限公司 Method and device for correcting TDC delay stepping based on stepping LDO
CN116015285B (en) * 2022-12-31 2024-03-12 成都电科星拓科技有限公司 Method and device for correcting TDC delay stepping based on stepping LDO
CN117200766A (en) * 2023-11-06 2023-12-08 南方电网科学研究院有限责任公司 Control method and device for broadband synchronous signal source output phase and storage medium
CN117200766B (en) * 2023-11-06 2024-02-23 南方电网科学研究院有限责任公司 Control method and device for broadband synchronous signal source output phase and storage medium
CN118300579A (en) * 2024-06-06 2024-07-05 深圳市鼎阳科技股份有限公司 Trigger type signal source, signal generator and multi-signal source synchronization method
CN118300579B (en) * 2024-06-06 2024-08-06 深圳市鼎阳科技股份有限公司 Trigger type signal source, signal generator and multi-signal source synchronization method

Similar Documents

Publication Publication Date Title
US9543976B2 (en) Time-interleaved analog-to-digital converter
CN107807511B (en) Correction apparatus and method, correction apparatus manufacturing method, and integrated circuit constructing method
US8487708B2 (en) Clock oscillator circuit and semiconductor device
JP4093961B2 (en) Phase lock loop circuit, delay lock loop circuit, timing generator, semiconductor test apparatus, and semiconductor integrated circuit
US8878613B2 (en) Time-to-digital converter (TDC) with improved resolution
JP2012114716A (en) Tdc device and method of calibrating tdc
US9897975B2 (en) Calibration method and apparatus for high TDC resolution
US7592847B2 (en) Phase frequency detector and phase-locked loop
US8564346B2 (en) Non-overlapping clock generation
US8742815B2 (en) Temperature-independent oscillators and delay elements
US20160118990A1 (en) Automatically placed-and-routed adpll with pwm-based dco resolution enhancement
US9762211B2 (en) System and method for adjusting duty cycle in clock signals
US8570113B2 (en) Digital VCO calibration method and apparatus
CN109696821B (en) Two-Stage Digital Time Converter
US6919750B2 (en) Clock signal generation circuit used for sample hold circuit
JP2010021686A (en) Digital phase detector and digital phase-locked loop circuit
US6281728B1 (en) Delay locked loop circuit
US8130048B2 (en) Local oscillator
US11159151B1 (en) Calibrating a phase interpolator by amplifying timing differences
Jung et al. All-digital process-variation-calibrated timing generator for ATE with 1.95-ps resolution and maximum 1.2-GHz test rate
Teh et al. A 12-bit branching time-to-digital converter with power saving features and digital based resolution tuning for PVT variations
US20100141319A1 (en) Clock signal output circuit
Pan et al. A pulse stretch circuit with resolution of 1.55 ps used in low-cost low-power TDC
KR101852832B1 (en) Multi clock generator and operating method thereof
JP4614785B2 (en) Delay time evaluation circuit and method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140204