JP2018148364A - Time Digital Converter - Google Patents

Time Digital Converter Download PDF

Info

Publication number
JP2018148364A
JP2018148364A JP2017040858A JP2017040858A JP2018148364A JP 2018148364 A JP2018148364 A JP 2018148364A JP 2017040858 A JP2017040858 A JP 2017040858A JP 2017040858 A JP2017040858 A JP 2017040858A JP 2018148364 A JP2018148364 A JP 2018148364A
Authority
JP
Japan
Prior art keywords
circuit
delay
cmos inverter
voltage
clock
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.)
Granted
Application number
JP2017040858A
Other languages
Japanese (ja)
Other versions
JP6640773B2 (en
Inventor
英人 嶋田
Hideto Shimada
英人 嶋田
水野 健太朗
Kentaro Mizuno
健太朗 水野
牧野 泰明
Yasuaki Makino
牧野  泰明
貴男 鶴原
Takao Tsuruhara
貴男 鶴原
和義 長瀬
Kazuyoshi Nagase
和義 長瀬
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.)
Denso Corp
Toyota Central R&D Labs Inc
Original Assignee
Denso Corp
Toyota Central R&D Labs Inc
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 Denso Corp, Toyota Central R&D Labs Inc filed Critical Denso Corp
Priority to JP2017040858A priority Critical patent/JP6640773B2/en
Publication of JP2018148364A publication Critical patent/JP2018148364A/en
Application granted granted Critical
Publication of JP6640773B2 publication Critical patent/JP6640773B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a time digital converter with reduced quantization error without using many analog elements.SOLUTION: A TDC 2 includes a clock circuit 10, a delay circuit 20, a counter circuit 6, an average calculation circuit 7, and a resistance element 3. The clock circuit 10 outputs a clock signal corresponding to output change of a first CMOS inverter 4. The delay circuit 20 outputs a delay trigger signal having a delay trigger timing obtained by delaying an input trigger timing according to the number of stages of an inverter chain 22. The counter circuit 6 counts the number of clocks from the input trigger timing to the delay trigger timing. The average calculation circuit 7 calculates a moving average of the number of clocks corresponding to the plurality of input trigger timings. One end of the resistance element 3 is connected to a power supply Vdd, and the other end is connected to voltage supply ends 12a and 22a of the first CMOS inverter 4 and a second CMOS inverter 5.SELECTED DRAWING: Figure 1

Description

本明細書が開示する技術は、時間デジタル変換器(Time-to-Digital Converter)に関する。特に、時間デジタル変換器の分解能を高める技術に関する。   The technology disclosed in this specification relates to a time-to-digital converter. In particular, it relates to a technique for increasing the resolution of a time digital converter.

所定の時間間隔をデジタル信号で出力することのできる時間デジタル変換器が知られている。時間デジタル変換器は、時間間隔を直接にデジタル信号に直すことができるため、2つの利点を有する。一つは、時間間隔を高い分解能で計測することができることである。もう一つは、ほとんどがデジタル素子で構成できるため、小型化に適していることである。   Time digital converters that can output a predetermined time interval as a digital signal are known. The time digital converter has two advantages because the time interval can be converted directly into a digital signal. One is that the time interval can be measured with high resolution. The other is that it can be composed of digital elements and is suitable for miniaturization.

時間デジタル変換器の技術は、例えば温度センサに利用される(例えば特許文献1)。特許文献1の温度センサは、遅延回路とクロック回路とカウンタ回路を備えている。遅延回路は、複数のインバータが直列に接続されたインバータチェーンを有しており、入力トリガ信号の入力トリガタイミングをインバータチェーンの段数に応じて遅延させた遅延トリガタイミングを有する遅延トリガ信号を出力する。カウンタ回路は、入力トリガタイミングから遅延トリガタイミングの間にクロック回路が出力するクロック信号のクロック数をカウントする。入力トリガタイミングから遅延トリガタイミングまでの時間が、クロック数としてデジタル値で得られる。遅延回路のインバータの動作速度は温度依存性を有しており、特許文献1の温度センサは、その温度依存性を利用する。入力トリガタイミングから遅延トリガタイミングまでの時間が、遅延回路の環境温度によって変化する。従って、カウンタ回路が出力するクロック数が遅延回路の周囲温度と相関を有する。その相関関係を予め求めておくことで、クロック数から遅延回路の周囲温度が得られる。   The technique of the time digital converter is used for a temperature sensor, for example (for example, Patent Document 1). The temperature sensor disclosed in Patent Document 1 includes a delay circuit, a clock circuit, and a counter circuit. The delay circuit has an inverter chain in which a plurality of inverters are connected in series, and outputs a delay trigger signal having a delay trigger timing obtained by delaying the input trigger timing of the input trigger signal according to the number of stages of the inverter chain. . The counter circuit counts the number of clock signals output from the clock circuit between the input trigger timing and the delay trigger timing. The time from the input trigger timing to the delay trigger timing can be obtained as a digital value as the number of clocks. The operation speed of the inverter of the delay circuit has temperature dependency, and the temperature sensor of Patent Document 1 uses the temperature dependency. The time from the input trigger timing to the delay trigger timing varies depending on the environmental temperature of the delay circuit. Therefore, the number of clocks output from the counter circuit has a correlation with the ambient temperature of the delay circuit. By obtaining the correlation in advance, the ambient temperature of the delay circuit can be obtained from the number of clocks.

時間デジタル変換器の特徴の一つは、高い分解能であるが、その精度にも限界がある。時間デジタル変換器では、入力トリガタイミングから遅延トリガタイミングまでの時間間隔をクロック数でデジタル化する際に量子化誤差が生じる。具体的には、量子化誤差は、クロック回路と遅延回路が備えているインバータの動作速度に依存する。   One of the features of the time digital converter is its high resolution, but its accuracy is also limited. In the time digital converter, a quantization error occurs when the time interval from the input trigger timing to the delay trigger timing is digitized by the number of clocks. Specifically, the quantization error depends on the operation speed of the inverter provided in the clock circuit and the delay circuit.

一方、量子化誤差を低減する手法として、デジタル処理回路に故意にノイズを加えて得られたデータにローパスフィルタをかけるディザリングと呼ばれる技術が知られている。ディザリング技術を時間デジタル変換器に適用することが提案されている(特許文献2)。その技術では、遅延時間をランダムに変化させて得られた複数の計測結果の平均をとってより正確な計測結果を得る。   On the other hand, as a technique for reducing a quantization error, a technique called dithering is known in which low-pass filtering is performed on data obtained by intentionally adding noise to a digital processing circuit. It has been proposed to apply a dithering technique to a time digital converter (Patent Document 2). In the technique, a more accurate measurement result is obtained by averaging a plurality of measurement results obtained by randomly changing the delay time.

特許文献2には、遅延時間をランダムに変化させる具体的な手段が開示されていない。一方、特許文献3に、その手法の一例が開示されている。特許文献3は、インバータの動作速度(即ち遅延時間)が供給電圧に依存することを利用する。即ち、特許文献3の技術では、ノイズを含む電圧を生成し、その電圧をインバータに印加する。   Patent Document 2 does not disclose a specific means for randomly changing the delay time. On the other hand, Patent Document 3 discloses an example of the technique. Patent Document 3 utilizes the fact that the operation speed (ie, delay time) of the inverter depends on the supply voltage. That is, in the technique of Patent Document 3, a voltage including noise is generated and the voltage is applied to the inverter.

特開2013−185985号公報JP 2013-185985 A 特表2011−526752号公報Special table 2011-526752 gazette 特開2014−217064号公報JP 2014-217064 A

特許文献3の技術では、変動を含むデジタル信号を生成した後、そのデジタル信号をアナログ変換し、さらにローパスフィルタと増幅器を通してノイズを含む供給電圧を生成する。先に述べたように、時間デジタル変換器の一つの利点はほとんどがデジタル素子で構成できるため小型化に適している点である。しかし、特許文献3の技術ではいくつかのアナログ素子を用いるため、小型化という時間デジタル変換器の利点を阻害してしまう。本明細書は、簡単な構成を追加するだけでディザリングを導入することができ、アナログ素子を多く使わずに分解能を高めた時間デジタル変換器を提供する。   In the technique of Patent Document 3, after a digital signal including fluctuation is generated, the digital signal is converted into an analog signal, and a supply voltage including noise is generated through a low-pass filter and an amplifier. As described above, one advantage of the time digital converter is that it is suitable for miniaturization because most of the time digital converter can be composed of digital elements. However, since the technique of Patent Document 3 uses several analog elements, the advantage of the time digital converter, which is a reduction in size, is hindered. The present specification provides a time-to-digital converter that can introduce dithering by simply adding a simple configuration and has an increased resolution without using many analog elements.

本明細書が開示する時間デジタル変換器は、クロック回路と、遅延回路と、カウンタ回路と、平均算出回路と、抵抗素子を備えている。クロック回路は、複数の第1CMOSインバータがリング状に接続されているリングオシレータを備えており、第1CMOSインバータの出力変化に応じたクロック信号を出力する。遅延回路は、複数の第2CMOSインバータが直列に接続されているインバータチェーンを備えており、入力トリガ信号の入力トリガタイミングをインバータチェーンの段数に応じて遅延させた遅延トリガタイミングを有する遅延トリガ信号を出力する。複数の第2CMOSインバータは、その動作速度が供給電圧に依存する。カウンタ回路は、入力トリガタイミングから遅延トリガタイミングまでの間のクロック信号のクロック数をカウントする。平均算出回路は、入力トリガ信号に含まれている複数の入力トリガタイミングの夫々に対応したクロック数の移動平均を算出する。抵抗素子は、一端が電源に接続されており、他端が第1CMOSインバータと第2CMOSインバータの電圧供給端に接続されている。なお、CMOSインバータは、Complementary Metal Oxide Semicondutor インバータの略であり、n型MOSトランジスタとp型MOSトランジスタを直列に接続した回路である。   The time digital converter disclosed in this specification includes a clock circuit, a delay circuit, a counter circuit, an average calculation circuit, and a resistance element. The clock circuit includes a ring oscillator in which a plurality of first CMOS inverters are connected in a ring shape, and outputs a clock signal corresponding to an output change of the first CMOS inverter. The delay circuit includes an inverter chain in which a plurality of second CMOS inverters are connected in series, and a delay trigger signal having a delay trigger timing obtained by delaying the input trigger timing of the input trigger signal according to the number of stages of the inverter chain. Output. The operation speed of the plurality of second CMOS inverters depends on the supply voltage. The counter circuit counts the number of clock signals from the input trigger timing to the delay trigger timing. The average calculation circuit calculates a moving average of the number of clocks corresponding to each of a plurality of input trigger timings included in the input trigger signal. One end of the resistance element is connected to the power supply, and the other end is connected to the voltage supply terminals of the first CMOS inverter and the second CMOS inverter. The CMOS inverter is an abbreviation for Complementary Metal Oxide Semiconductor Inverter, and is a circuit in which an n-type MOS transistor and a p-type MOS transistor are connected in series.

本明細書が開示する時間デジタル変換器は、クロック回路にCMOSインバータを用いる。CMOSインバータは、出力が保持されている間は電流が流れないが、出力が変化するときに貫通電流が流れる。貫通電流が流れるとCMOSインバータの電圧供給端の電圧が下がる。貫通電流の大きさをIPrで表し、抵抗素子の抵抗値をRで表すと、貫通電流Iprによって抵抗素子の電流下流側の電圧変動値は、Ipr×R[ボルト]となる。抵抗素子の電流下流側の電圧は遅延回路の第2CMOSインバータに供給される電圧に等しい。即ち、クロック回路におけるCMOSインバータの出力変化時の貫通電流Iprに起因して遅延回路のCMOSインバータの供給電圧がIpr×R[ボルト]変化する。別言すれば、供給電圧にIpr×R[ボルト]のノイズが加わる。遅延回路の第2CMOSインバータは供給電圧に動作速度が依存するので、供給電圧の変化(ノイズ)によって、遅延回路の動作速度が変化し、遅延回路が出力する遅延トリガ信号の遅延トリガタイミングが変化する。遅延トリガタイミングが変化するので、カウンタ回路がカウントするクロック数が変化する。入力トリガ信号に含まれている複数の入力トリガタイミングの夫々に対応したクロック数の移動平均を算出することで、一クロックに相当する分解能よりも高い精度で遅延時間(入力トリガタイミングから遅延トリガタイミングまでの時間)が計測できる。この時間デジタル変換器は、クロック回路と抵抗素子によって遅延回路への供給電圧にノイズを重畳させディザリングによる高精度化を実現している。   The time digital converter disclosed in this specification uses a CMOS inverter for a clock circuit. In the CMOS inverter, no current flows while the output is held, but a through current flows when the output changes. When the through current flows, the voltage at the voltage supply terminal of the CMOS inverter decreases. When the magnitude of the through current is represented by IPr and the resistance value of the resistance element is represented by R, the voltage fluctuation value on the current downstream side of the resistance element due to the through current Ipr is Ipr × R [volt]. The voltage downstream of the current of the resistance element is equal to the voltage supplied to the second CMOS inverter of the delay circuit. That is, the supply voltage of the CMOS inverter of the delay circuit changes Ipr × R [volt] due to the through current Ipr when the output of the CMOS inverter in the clock circuit changes. In other words, noise of Ipr × R [volt] is added to the supply voltage. Since the operation speed of the second CMOS inverter of the delay circuit depends on the supply voltage, the operation speed of the delay circuit changes due to a change (noise) in the supply voltage, and the delay trigger timing of the delay trigger signal output from the delay circuit changes. . Since the delay trigger timing changes, the number of clocks counted by the counter circuit changes. By calculating the moving average of the number of clocks corresponding to each of the multiple input trigger timings included in the input trigger signal, the delay time (from the input trigger timing to the delay trigger timing) is higher than the resolution equivalent to one clock. Time). This time digital converter realizes high accuracy by dithering by superimposing noise on the supply voltage to the delay circuit by a clock circuit and a resistance element.

上記の通り、本明細書が開示する時間デジタル変換器は、第1、第2CMOSと電源との間に抵抗素子を加えるだけの簡単な構成で実現することができる。別言すれば、本明細書が開示する技術は、アナログ素子を多く使わずに分解能を高めた時間デジタル変換器を提供する。以下、上記した抵抗素子を他の抵抗素子と区別するため、便宜上、ノイズ誘発抵抗素子と表記する。   As described above, the time digital converter disclosed in this specification can be realized with a simple configuration in which a resistance element is added between the first and second CMOSs and the power supply. In other words, the technique disclosed in the present specification provides a time digital converter having an increased resolution without using many analog elements. Hereinafter, in order to distinguish the above-described resistance element from other resistance elements, for the sake of convenience, it is referred to as a noise-inducing resistance element.

上記の説明から明らかなとおり、ノイズ誘発抵抗素子の抵抗値Rは、第1CMOSインバータの出力が変化するとき(出力が反転するとき)に流れる貫通電流Iprに抵抗値Rを乗じた電圧変動値に対する遅延トリガタイミングの時間変化分が、クロック信号の半周期以上となるように設定されている。ノイズ誘発抵抗素子の抵抗値Rをそのように設定することで、上記した電圧変動値(Ipr×R)によって、カウントされるクロック数が必ず変化する。その結果、ディザリングによって量子化誤差を低減し、より高い分解能を確実に得ることができる。   As is clear from the above description, the resistance value R of the noise-inducing resistance element corresponds to the voltage fluctuation value obtained by multiplying the through current Ipr that flows when the output of the first CMOS inverter changes (when the output is inverted) by the resistance value R. The time change of the delay trigger timing is set to be equal to or longer than a half cycle of the clock signal. By setting the resistance value R of the noise-inducing resistance element as described above, the number of clocks to be counted always changes depending on the voltage fluctuation value (Ipr × R). As a result, quantization error can be reduced by dithering, and higher resolution can be reliably obtained.

ノイズ誘発抵抗素子の抵抗値Rは、具体的には50オーム以上に設定される。例えば第1CMOSインバータの出力変化時に流れる電流Iprが0.2[mA]だった場合、電圧変化は50×0.2=10[mV]となる。CMOSインバータの駆動電圧(供給電圧)は概ね1乃至5ボルトであるので、電圧変化分(即ちノイズの振幅)は供給電圧の1/100乃至1/500程度となる。このサイズのノイズが供給電圧に加わることで、遅延回路の遅延時間(入力トリガタイミングから遅延トリガタイミングまでの時間)が、1クロックの半周期程度(あるいはそれ以上)変化する。遅延時間がクロックの半周期以上ずれれば、計測されるクロック数が少なくとも1クロックずれることになる。入力トリガタイミングから遅延トリガタイミングまでのクロック数がノイズに影響されてゆらぐことになる。時系列に並んだ複数の入力トリガタイミングの夫々に対応したクロック数(揺らぎを伴う複数のクロック数)の移動平均を求めると、時間デジタル変換器の量子化誤差が低減され、高い分解能が得られる。   Specifically, the resistance value R of the noise-inducing resistance element is set to 50 ohms or more. For example, when the current Ipr flowing when the output of the first CMOS inverter changes is 0.2 [mA], the voltage change is 50 × 0.2 = 10 [mV]. Since the drive voltage (supply voltage) of the CMOS inverter is approximately 1 to 5 volts, the voltage change (that is, the amplitude of noise) is about 1/100 to 1/500 of the supply voltage. When noise of this size is added to the supply voltage, the delay time of the delay circuit (the time from the input trigger timing to the delay trigger timing) changes by about a half cycle (or more) of one clock. If the delay time is shifted by more than half a clock cycle, the number of clocks to be measured is shifted by at least one clock. The number of clocks from the input trigger timing to the delay trigger timing fluctuates due to the influence of noise. Obtaining a moving average of the number of clocks corresponding to each of a plurality of time-series input trigger timings (a number of clocks with fluctuations) reduces the quantization error of the time digital converter and provides a high resolution. .

先に述べた時間デジタル変換器は、クロック回路の動作が遅延回路への供給電圧にノイズ(電圧変動)を加えることになる。クロック回路の第1CMOSインバータへの供給電圧にもディザリングのためのノイズが加わるように、本明細書が開示する時間デジタル変換器は、次のサブクロック回路を備えてもよい。サブクロック回路は、複数の第3CMOSインバータがリング状に接続されている別のリングオシレータを備えている。そして、第3CMOSインバータの電圧供給端が上記した抵抗素子の他端に接続されている。第1CMOSインバータは、動作速度が供給電圧に依存する。サブクロック回路も先に説明したクロック回路と同様に、各第3CMOSインバータの出力変化時に貫通電流が流れ、抵抗素子の他端の電圧が変化する。その結果、クロック回路の第1CMOSインバータの供給電圧が変化する(即ちノイズが重畳する)。供給電圧の変化に伴い、そのときのクロックの幅(周期)が変化する。クロック回路が出力するクロック信号のクロックの幅が変化することで、カウンタ回路が計測するクロック数が変化する。サブクロック回路を備えることで、クロック回路への供給電圧にもノイズが重畳するとともに、遅延回路への供給電圧に対しては、クロック回路とサブクロック回路の双方からの変動(ノイズ)が重畳するため、ノイズがより一層複雑化してホワイトノイズに近くなる。それゆえ、より高い分解能が得られる。さらに、サブクロック回路もデジタル回路であるので、サブクロック回路を含めても小さなサイズの時間デジタル変換器を実現することができる。   In the time digital converter described above, the operation of the clock circuit adds noise (voltage fluctuation) to the supply voltage to the delay circuit. The time digital converter disclosed in the present specification may include the following sub clock circuit so that noise for dithering is also added to the supply voltage to the first CMOS inverter of the clock circuit. The sub clock circuit includes another ring oscillator in which a plurality of third CMOS inverters are connected in a ring shape. The voltage supply terminal of the third CMOS inverter is connected to the other end of the resistance element. The operating speed of the first CMOS inverter depends on the supply voltage. Similarly to the clock circuit described above, the sub clock circuit also has a through current when the output of each third CMOS inverter changes, and the voltage at the other end of the resistance element changes. As a result, the supply voltage of the first CMOS inverter of the clock circuit changes (that is, noise is superimposed). As the supply voltage changes, the clock width (cycle) at that time changes. As the clock width of the clock signal output from the clock circuit changes, the number of clocks measured by the counter circuit changes. By providing the sub clock circuit, noise is also superimposed on the supply voltage to the clock circuit, and fluctuation (noise) from both the clock circuit and the sub clock circuit is also superimposed on the supply voltage to the delay circuit. For this reason, the noise becomes more complicated and becomes close to white noise. Therefore, higher resolution can be obtained. Further, since the sub clock circuit is also a digital circuit, a small time digital converter can be realized even if the sub clock circuit is included.

この時間デジタル変換器の一つの適用先は、遅延回路の第2CMOSインバータに、動作速度が温度依存性を有するトランジスタを採用した温度センサである。しかし、本明細書が開示する時間デジタル変換器は、温度センサへの適用に限られない。本明細書が開示する技術の詳細とさらなる改良は以下の「発明を実施するための形態」にて説明する。   One application of this time digital converter is a temperature sensor that employs a transistor whose operation speed is temperature dependent in the second CMOS inverter of the delay circuit. However, the time digital converter disclosed in this specification is not limited to application to a temperature sensor. Details and further improvements of the technology disclosed in this specification will be described in the following “DETAILED DESCRIPTION”.

第1実施例の時間デジタル変換器のブロック図である。It is a block diagram of the time digital converter of the 1st example. CMOSインバータの回路図である。It is a circuit diagram of a CMOS inverter. CMOSインバータへの入力電圧と出力電圧の変化と、貫通電流の変化を示すグラフである。It is a graph which shows the change of the input voltage and output voltage to a CMOS inverter, and the change of a through current. クロック回路のブロック図である。It is a block diagram of a clock circuit. クロック回路の電圧供給端に流れる電流のグラフである。It is a graph of the electric current which flows into the voltage supply end of a clock circuit. 遅延時間の変化の影響を説明する図である。It is a figure explaining the influence of the change of delay time. 図3(A)は、ノイズが無い場合の出力の一例である。図3(B)は、ノイズを加えた場合の出力の一例である(平均化前)。図3(C)は、ノイズを加えた場合の出力の一例である(平均化後)。FIG. 3A is an example of output when there is no noise. FIG. 3B is an example of the output when noise is added (before averaging). FIG. 3C shows an example of output when noise is added (after averaging). 第2実施例の時間デジタル変換器のブロック図である。It is a block diagram of the time digital converter of 2nd Example.

(第1実施例)図面を参照して第1実施例の時間デジタル変換器2を説明する。なお、以下では、説明の便宜のため、時間デジタル変換器(Time-to-Digital Converter)2を単純にTDC2と表記する。TDC2は、温度センサとして利用することができる。図1に、TDC2のブロック図を示す。   (First Embodiment) A time digital converter 2 of the first embodiment will be described with reference to the drawings. In the following, for convenience of explanation, the time-to-digital converter 2 is simply expressed as TDC2. The TDC 2 can be used as a temperature sensor. FIG. 1 shows a block diagram of the TDC 2.

TDC2は、クロック回路10、遅延回路20、カウンタ回路6、平均算出回路7を備えている。クロック回路10は、複数の第1CMOSインバータ4がリング状に接続されているリングオシレータ12を備えている。遅延回路20は、複数の第2CMOSインバータ5が直列に接続されているインバータチェーン22を備えている。クロック回路10の第1CMOSインバータ4と遅延回路20の第2CMOSインバータ5は、電圧駆動型の2個のトランジスタの直列接続で構成されており、電源Vddから抵抗素子3を介して電圧供給を受ける。   The TDC 2 includes a clock circuit 10, a delay circuit 20, a counter circuit 6, and an average calculation circuit 7. The clock circuit 10 includes a ring oscillator 12 in which a plurality of first CMOS inverters 4 are connected in a ring shape. The delay circuit 20 includes an inverter chain 22 in which a plurality of second CMOS inverters 5 are connected in series. The first CMOS inverter 4 of the clock circuit 10 and the second CMOS inverter 5 of the delay circuit 20 are constituted by a series connection of two voltage-driven transistors, and are supplied with voltage from the power supply Vdd via the resistance element 3.

クロック回路10は、不図示のスタート回路により、図中の左端の第1CMOSインバータ4の入力レベルが反転される。すると、左端の第1CMOSインバータ4の出力が反転する。左端の第1CMOSインバータ4の出力端は左から2番目の第1CMOSインバータ4の入力端につながっている。左端の第1CMOSインバータ4の出力が反転すると、左から2番目の第1CMOSインバータ4の入力が反転し、その第1CMOSインバータ4の出力が反転する。こうして図の左から右へ、第1CMOSインバータ4の出力反転が連鎖的に生じる。右端の第1CMOSインバータ4の出力端は左端の第1CMOSインバータ4の入力端に接続されており、出力反転の連鎖はリングオシレータ12を無限にめぐる。図中の右端の第1CMOSインバータ4の出力端はクロック回路10の出力端10aに相当する。この出力端10aから、第1CMOSインバータ4の動作速度とリングオシレータ12の段数に応じた周期のクロック信号CLKが出力される。   In the clock circuit 10, the input level of the first CMOS inverter 4 at the left end in the figure is inverted by a start circuit (not shown). Then, the output of the first CMOS inverter 4 at the left end is inverted. The output terminal of the first CMOS inverter 4 at the left end is connected to the input terminal of the second first CMOS inverter 4 from the left. When the output of the first CMOS inverter 4 at the left end is inverted, the input of the second first CMOS inverter 4 from the left is inverted, and the output of the first CMOS inverter 4 is inverted. Thus, the output inversion of the first CMOS inverter 4 occurs in a chained manner from left to right in the figure. The output end of the first CMOS inverter 4 at the right end is connected to the input end of the first CMOS inverter 4 at the left end, and the output inversion chain goes around the ring oscillator 12 infinitely. The output end of the first CMOS inverter 4 at the right end in the figure corresponds to the output end 10 a of the clock circuit 10. From the output terminal 10a, a clock signal CLK having a period corresponding to the operating speed of the first CMOS inverter 4 and the number of stages of the ring oscillator 12 is output.

遅延回路20の動作について説明する。遅延回路20の入力端20aに、立ち上がりエッジを有する入力トリガ信号Sinが入力される。入力トリガ信号Sinの立ち上がりエッジの時刻を入力トリガタイミングと称する。入力トリガタイミングのエッジの入力に起因してインバータチェーン22を構成する第2CMOSインバータ5が図中の左から右へ向けて連鎖的に出力反転する。その結果、遅延回路20の出力端20bからは、入力トリガ信号Sinの入力トリガタイミングをインバータチェーン22の段数に応じて遅延させた遅延トリガタイミングを有する遅延トリガ信号Sdが出力される。入力トリガタイミング(入力トリガ信号Sinの立ち上がりエッジ)から遅延トリガタイミング(遅延トリガ信号Sdの立ち上がりエッジ)までの時間を遅延時間と称する。   The operation of the delay circuit 20 will be described. An input trigger signal Sin having a rising edge is input to the input terminal 20a of the delay circuit 20. The time of the rising edge of the input trigger signal Sin is referred to as input trigger timing. Due to the input of the edge of the input trigger timing, the second CMOS inverter 5 constituting the inverter chain 22 inverts the output in a chained manner from left to right in the figure. As a result, a delay trigger signal Sd having a delay trigger timing obtained by delaying the input trigger timing of the input trigger signal Sin according to the number of stages of the inverter chain 22 is output from the output terminal 20 b of the delay circuit 20. The time from the input trigger timing (the rising edge of the input trigger signal Sin) to the delay trigger timing (the rising edge of the delay trigger signal Sd) is referred to as a delay time.

入力トリガ信号Sinと遅延トリガ信号Sdとクロック信号CLKはカウンタ回路6に入力される。カウンタ回路6は、入力トリガ信号Sinの入力トリガタイミングから遅延トリガ信号Sdの遅延トリガタイミングまでの間のクロック数をカウントする。カウンタ回路6は既知の構成でよいので詳しい説明は割愛する。カウンタ回路6の出力(クロック数)は平均算出回路7に送られる。   The input trigger signal Sin, the delay trigger signal Sd, and the clock signal CLK are input to the counter circuit 6. The counter circuit 6 counts the number of clocks between the input trigger timing of the input trigger signal Sin and the delay trigger timing of the delay trigger signal Sd. Since the counter circuit 6 may have a known configuration, a detailed description thereof is omitted. The output (number of clocks) of the counter circuit 6 is sent to the average calculation circuit 7.

図1では示されていないが、入力トリガ信号Sinには、複数の入力トリガタイミング(即ち複数の立ち上がりエッジ)が含まれている。遅延回路20にて、夫々の入力トリガタイミングに対応する遅延トリガタイミングが生成される。カウンタ回路6には、複数の入力トリガタイミングを含んでいる入力トリガ信号Sinと、夫々の入力トリガタイミングに対応した遅延トリガタイミングを含んでいる遅延トリガ信号Sdが入力される。カウンタ回路6は、時系列に入力される入力トリガタイミングと、各入力トリガタイミングに対応する遅延トリガタイミングの間のクロック数をカウントし、平均算出回路7へ送る。平均算出回路7には、複数のカウント数が時系列的に入力される。平均算出回路7は、カウント数の時系列データの移動平均を算出して出力する。平均算出回路7の出力がTDC2の出力となる。平均算出回路7は、既知の回路を用いればよいので詳しい説明は割愛する。   Although not shown in FIG. 1, the input trigger signal Sin includes a plurality of input trigger timings (that is, a plurality of rising edges). The delay circuit 20 generates a delay trigger timing corresponding to each input trigger timing. The counter circuit 6 receives an input trigger signal Sin including a plurality of input trigger timings and a delay trigger signal Sd including delay trigger timings corresponding to the respective input trigger timings. The counter circuit 6 counts the number of clocks between the input trigger timing input in time series and the delay trigger timing corresponding to each input trigger timing, and sends it to the average calculation circuit 7. A plurality of count numbers are input to the average calculation circuit 7 in time series. The average calculation circuit 7 calculates and outputs a moving average of the time-series data of the count number. The output of the average calculation circuit 7 becomes the output of TDC2. Since the average calculation circuit 7 may be a known circuit, detailed description thereof is omitted.

TDC2は、そのほとんどがデジタル素子で構成することができワンチップ化されている。ワンチップ化されたTDC2は、温度計測対象に配置される。遅延回路20の第2CMOSインバータ5は、その動作スピードに温度依存性がある。すなわち、入力トリガタイミングから遅延トリガタイミングまでの時間間隔(遅延時間)がTDC2の周囲温度に依存して変化する。遅延時間と周囲温度の相関は予め調べられており、遅延時間を表すクロック数(カウンタ回路6が計測するクロック数)に対応する温度のテーブル(あるいは換算式)が、平均算出回路7の出力を受ける温度特定回路(不図示)に記憶されている。温度特定回路は、平均算出回路7が出力するクロック数から上記テーブル(あるいは換算式)を使って周囲温度を特定して出力する。   Most of the TDC 2 can be constituted by digital elements and is made into one chip. The one-chip TDC 2 is placed on a temperature measurement target. The operation speed of the second CMOS inverter 5 of the delay circuit 20 is temperature dependent. That is, the time interval (delay time) from the input trigger timing to the delay trigger timing varies depending on the ambient temperature of the TDC 2. The correlation between the delay time and the ambient temperature is examined in advance, and a temperature table (or a conversion formula) corresponding to the number of clocks representing the delay time (the number of clocks measured by the counter circuit 6) indicates the output of the average calculation circuit 7. It is stored in a temperature specifying circuit (not shown). The temperature specifying circuit specifies the ambient temperature from the number of clocks output from the average calculating circuit 7 using the table (or conversion formula) and outputs the specified ambient temperature.

カウンタ回路6は、入力トリガタイミングから遅延トリガタイミングまでの時間(遅延時間)のクロック数をカウントする。従ってカウンタ回路6の時間分解能は、1クロックの周期で決まる。1クロックの周期よりも短い時間差は、カウンタ回路6で計測することができない。これが量子化誤差である。TDC2は、量子化誤差を低減し、より高い精度を実現すべく、抵抗素子3を備えている。抵抗素子3は、一端が電源Vddに接続されており、他端が複数の第1CMOSインバータ4の電圧供給端12aと、複数の第2CMOSインバータ5の電圧供給端22aに接続されている。次に、抵抗素子3の役割について説明する。   The counter circuit 6 counts the number of clocks in the time (delay time) from the input trigger timing to the delay trigger timing. Therefore, the time resolution of the counter circuit 6 is determined by a cycle of one clock. A time difference shorter than one clock cycle cannot be measured by the counter circuit 6. This is a quantization error. The TDC 2 includes a resistance element 3 in order to reduce quantization error and achieve higher accuracy. One end of the resistance element 3 is connected to the power supply Vdd, and the other end is connected to the voltage supply terminals 12 a of the plurality of first CMOS inverters 4 and the voltage supply terminals 22 a of the plurality of second CMOS inverters 5. Next, the role of the resistance element 3 will be described.

クロック回路10の第1CMOSインバータ4は、電圧駆動型のトランジスタで構成されており、出力が保持されている間は電流が流れないが、出力が反転するときに貫通電流Iprが流れる。抵抗素子3の抵抗値を記号Rで表すと、貫通電流Iprが流れる毎に、抵抗素子3の電流下流端3aの電圧がdV=Ipr×Rだけ変動する。この電圧変動dVが、遅延回路20の第2CMOSインバータ5への供給電圧にノイズとして重畳される。遅延回路20の第2CMOSインバータ5は、動作速度が供給電圧に依存して変動するタイプであり、電圧変動dVによって遅延時間(入力トリガタイミングから遅延トリガタイミングまでの時間)が変動する。この遅延時間の変動を利用してディザリングを行い、量子化誤差を低減する。以下、より具体的に説明する。   The first CMOS inverter 4 of the clock circuit 10 is composed of a voltage-driven transistor, and no current flows while the output is held, but a through current Ipr flows when the output is inverted. When the resistance value of the resistance element 3 is represented by the symbol R, the voltage at the current downstream end 3a of the resistance element 3 varies by dV = Ipr × R every time the through current Ipr flows. This voltage fluctuation dV is superimposed as noise on the supply voltage to the second CMOS inverter 5 of the delay circuit 20. The second CMOS inverter 5 of the delay circuit 20 is a type in which the operation speed varies depending on the supply voltage, and the delay time (the time from the input trigger timing to the delay trigger timing) varies depending on the voltage variation dV. Dithering is performed using the variation of the delay time to reduce the quantization error. More specific description will be given below.

図2に、1個の第1CMOSインバータ4の回路図を示す。第1CMOSインバータ4は、2個の電圧駆動型のトランジスタ41、42の直流接続で構成されている。第1トランジスタ41は、p型MOSFET(Metal Oxide Field Effect Transistor)であり、ドレインが電源Vddに接続されており、ソースが第2トランジスタ42のドレインに接続されている。第2トランジスタ42は、n型のMOSFETであり、ドレインが第1トランジスタ41のソースに接続されており、ソースが接地端Vssに接続されている。第1トランジスタ41のゲートと第2トランジスタ42のゲートは相互に接続されている。第1トランジスタ41と第2トランジスタ42の接続点が次段の第1CMOSインバータ4を構成する2個のトランジスタのゲートに接続される。   FIG. 2 shows a circuit diagram of one first CMOS inverter 4. The first CMOS inverter 4 is constituted by a DC connection of two voltage-driven transistors 41 and 42. The first transistor 41 is a p-type MOSFET (Metal Oxide Field Effect Transistor), the drain is connected to the power supply Vdd, and the source is connected to the drain of the second transistor 42. The second transistor 42 is an n-type MOSFET, the drain is connected to the source of the first transistor 41, and the source is connected to the ground terminal Vss. The gate of the first transistor 41 and the gate of the second transistor 42 are connected to each other. A connection point between the first transistor 41 and the second transistor 42 is connected to gates of two transistors constituting the first CMOS inverter 4 in the next stage.

図3に第1CMOSインバータ4の動作を説明するグラフを示す。第1CMOSインバータ4の入力電圧Vin(即ち2個のトランジスタ41、42のゲート電圧)がオフ電圧Voff(Lowレベル電圧)のとき、第1CMOSインバータ4の出力電圧Voutはオン電圧Von(Highレベル電圧)となる。入力電圧Vinがオフ電圧Voffからオン電圧Vonに切り換わると、出力電圧Voutはオン電圧Vonからオフ電圧Voffに切り換わる。切り換わりの区間Tswでは、トランジスタ41、42のいずれも完全なオフ状態でないので電流(貫通電流Ipr)が流れる。貫通電流Iprは、入力電圧Vinと出力電圧Voutが交差する時刻Txで最大となるスパイク状の波形となる(図3下側の図参照)。   FIG. 3 shows a graph for explaining the operation of the first CMOS inverter 4. When the input voltage Vin of the first CMOS inverter 4 (that is, the gate voltage of the two transistors 41 and 42) is the off voltage Voff (Low level voltage), the output voltage Vout of the first CMOS inverter 4 is the on voltage Von (High level voltage). It becomes. When the input voltage Vin is switched from the off voltage Voff to the on voltage Von, the output voltage Vout is switched from the on voltage Von to the off voltage Voff. In the switching section Tsw, since neither of the transistors 41 and 42 is in a completely off state, a current (through current Ipr) flows. The through current Ipr has a spike-like waveform that becomes maximum at time Tx when the input voltage Vin and the output voltage Vout intersect (see the lower diagram in FIG. 3).

図4に、クロック回路10(リングオシレータ12)のブロック図を示す。図5に、クロック回路10のリングオシレータ12(即ち複数の第1CMOSインバータ4)の電圧供給端12aに流れる電流(貫通電流Ipr)のグラフを示す。クロック回路10(リングオシレータ12)は、図2で示した第1CMOSインバータ4が複数個リング状に接続された構造を有する。図4では、最初にいずれかの第1CMOSインバータ4の入力を反転させる起動回路は図示を省略している。   FIG. 4 shows a block diagram of the clock circuit 10 (ring oscillator 12). FIG. 5 shows a graph of the current (through current Ipr) flowing through the voltage supply terminal 12a of the ring oscillator 12 of the clock circuit 10 (that is, the plurality of first CMOS inverters 4). The clock circuit 10 (ring oscillator 12) has a structure in which a plurality of first CMOS inverters 4 shown in FIG. 2 are connected in a ring shape. In FIG. 4, the startup circuit that inverts the input of any of the first CMOS inverters 4 is omitted.

リングオシレータ12では、ひとたび、いずれかの第1CMOSインバータ4の出力が反転すると、出力反転が図中の右回りに連鎖的に生じる。各第1CMOSインバータ4の出力が反転する毎に図3に示したスパイク状の貫通電流Iprが流れる(図5の破線のグラフ参照)。その結果、複数の第1CMOSインバータ4に電圧を加える共通の電圧供給端12aには、微小に変動する電流が流れる(図5の実線のグラフ参照)。クロック回路10の貫通電流Iprに起因する供給電圧の微小変動が遅延回路20の第2CMOSインバータ5に加わる。   In the ring oscillator 12, once the output of any of the first CMOS inverters 4 is inverted, the output inversion is chained clockwise in the figure. Each time the output of each first CMOS inverter 4 is inverted, the spike-like through current Ipr shown in FIG. 3 flows (see the broken line graph in FIG. 5). As a result, a slightly fluctuating current flows through the common voltage supply terminal 12a that applies a voltage to the plurality of first CMOS inverters 4 (see the solid line graph in FIG. 5). A minute fluctuation of the supply voltage caused by the through current Ipr of the clock circuit 10 is applied to the second CMOS inverter 5 of the delay circuit 20.

第2CMOSインバータ5は、動作速度が供給電圧に依存する特性を有している。供給電圧が変動すると(ノイズが加わると)、第2CMOSインバータ5の動作速度が変化し、その結果、遅延時間(入力トリガタイミングから遅延トリガタイミングまでの時間)が変化する。図6に、遅延時間の変化の影響を説明する図を示す。図7にノイズの有無による出力結果の相違を説明する図を示す。クロック数は整数なので、ノイズが加わることで、クロック数は、例えば所定の中央値±1の範囲で分布する。遅延時間が図6のdTdの範囲で変化すると、カウンタ回路6で計測されるクロック数は、n±1の範囲で分布することになる。図7(A)は、ノイズが無い場合にカウンタ回路6の係数結果を示している。この例では、ノイズが無い場合にカウンタ回路6が係数するクロック数は1000であると仮定している。即ち、図6の「n」が図7では「1000」に相当し、図6の「n−1」が図7の「999」に相当し、図6の「n+1」が図7の「1001」に相当する。図7(B)は、ノイズを加えた場合のカウンタ回路6の出力の一例である。カウンタ回路6が係数するクロック数は、「n−1]と「n+1」の間、即ち「999」と「1001」の間で分布する。   The second CMOS inverter 5 has a characteristic that the operation speed depends on the supply voltage. When the supply voltage fluctuates (when noise is added), the operation speed of the second CMOS inverter 5 changes, and as a result, the delay time (the time from the input trigger timing to the delay trigger timing) changes. FIG. 6 is a diagram for explaining the influence of a change in delay time. FIG. 7 is a diagram for explaining the difference in output results depending on the presence or absence of noise. Since the number of clocks is an integer, the number of clocks is distributed within a range of a predetermined median value ± 1, for example, by adding noise. When the delay time changes in the range of dTd in FIG. 6, the number of clocks measured by the counter circuit 6 is distributed in the range of n ± 1. FIG. 7A shows the coefficient result of the counter circuit 6 when there is no noise. In this example, it is assumed that the number of clocks coefficientd by the counter circuit 6 is 1000 when there is no noise. That is, “n” in FIG. 6 corresponds to “1000” in FIG. 7, “n−1” in FIG. 6 corresponds to “999” in FIG. 7, and “n + 1” in FIG. 6 corresponds to “1001” in FIG. Is equivalent to. FIG. 7B is an example of the output of the counter circuit 6 when noise is added. The number of clocks coefficientd by the counter circuit 6 is distributed between “n−1” and “n + 1”, that is, between “999” and “1001”.

なお、カウンタ回路6の出力は、整数値であるので、カウンタ回路6の出力における遅延時間の時間分解能は、クロックの周期に等しい。   Since the output of the counter circuit 6 is an integer value, the time resolution of the delay time in the output of the counter circuit 6 is equal to the clock cycle.

遅延時間をクロック数の小数点以下を含めて表現できると仮定したとき(即ち、量子化誤差が無いと仮定したとき)、小数点以下を含むクロック数の値が整数の中央値(図7の場合は1000)よりも正値側にずれていれば、図7(B)の分布の形状は中央値プラス1の側(即ち「1001」)に偏る。逆に、小数点以下を含むクロック数の値が整数の中央値よりも負値側にずれていれば、図7(B)の分布の形状は中央値マイナス1の側(即ち「999」)に偏る。従って、ノイズを加えたときのクロック数の分布の移動平均を算出することで、遅延時間に対応するクロック数を、小数点以下の精度で得ることができる。即ち、カウンタ回路6の量子化誤差を低減できる。図7(C)は、図7(B)のクロック数の時系列データに対して、30サンプルの移動平均を算出した結果である。図7(C)に示すように、移動平均を算出することで、遅延時間に相当するクロック数を少数点以下の精度で表すことができる。   When it is assumed that the delay time can be expressed including the decimal point of the clock number (that is, when there is no quantization error), the value of the clock number including the decimal point is the median value of an integer (in the case of FIG. 7). 1000), the shape of the distribution in FIG. 7B is biased toward the median plus 1 side (ie, “1001”). On the other hand, if the value of the number of clocks including the decimal point is shifted to the negative value side from the median value of the integer, the shape of the distribution in FIG. 7B is on the median minus 1 side (that is, “999”). Biased. Therefore, by calculating the moving average of the distribution of the number of clocks when noise is added, the number of clocks corresponding to the delay time can be obtained with precision below the decimal point. That is, the quantization error of the counter circuit 6 can be reduced. FIG. 7C shows the result of calculating a moving average of 30 samples for the time-series data of the number of clocks in FIG. 7B. As shown in FIG. 7C, by calculating the moving average, the number of clocks corresponding to the delay time can be expressed with an accuracy of a decimal point or less.

上記の説明から、抵抗素子3の抵抗値Rについての条件も見いだせる。電圧変動dVは、クロック回路10の貫通電流Iprに抵抗素子3の抵抗値Rを乗じたものである(dV=Ipr×R)。一方、第2CMOSインバータ5は、動作速度が供給電圧に依存し、供給電圧の変動で遅延時間が変動する。遅延時間が少なくとも1クロックの半周期分以上変動すれば、電圧変動(ノイズ)によってクロック数(カウンタ回路6の出力)が分散する。これは、遅延時間の計算のためにカウンタ回路の出力に加えてクロックの出力も用いた場合、遅延時間の時間変化分がクロックの半周期でもカウンタ回路6の出力するクロック数が少なくとも1クロック変化するからである。抵抗素子3の抵抗値Rは、電圧変動dV(=貫通電流Ipr×抵抗値R)に対する遅延トリガタイミングの時間変化分が、クロック信号の半周期以上となるように設定されなければならない。遅延トリガタイミングの時間変化分とは、即ち、遅延時間の変化分に相当する。従って上記の条件を別言すれば、抵抗素子3の抵抗値Rは、電圧変動dV(=貫通電流Ipr×抵抗値R)に対する遅延時間の変化分が、クロック信号の半周期以上となるように設定されなければならない、と表現してもよい。   From the above description, the conditions for the resistance value R of the resistance element 3 can also be found. The voltage fluctuation dV is obtained by multiplying the through current Ipr of the clock circuit 10 by the resistance value R of the resistance element 3 (dV = Ipr × R). On the other hand, the operation speed of the second CMOS inverter 5 depends on the supply voltage, and the delay time varies depending on the variation of the supply voltage. If the delay time fluctuates by at least a half cycle of one clock, the number of clocks (output of the counter circuit 6) is dispersed due to voltage fluctuation (noise). This is because when the clock output is used in addition to the output of the counter circuit for calculating the delay time, the number of clocks output from the counter circuit 6 changes by at least one clock even if the time change of the delay time is a half cycle of the clock. Because it does. The resistance value R of the resistance element 3 must be set so that the time change of the delay trigger timing with respect to the voltage fluctuation dV (= through current Ipr × resistance value R) is equal to or longer than a half cycle of the clock signal. The time change in the delay trigger timing corresponds to the change in the delay time. Therefore, in other words, the resistance value R of the resistance element 3 is such that the change in the delay time with respect to the voltage fluctuation dV (= through current Ipr × resistance value R) is equal to or greater than a half cycle of the clock signal. It may be expressed that it must be set.

通常のMOSFETの特性から、一般には抵抗素子3の抵抗値Rは、50オーム以上が望ましい。例えば、クロック回路10の貫通電流Iprが0.2[mA]とすると、電圧変動dVは0.2×50=10[mV]となる。これよりも小さい電圧変動では、遅延回路20における遅延時間の変動分(遅延トリガタイミングの変動分)がクロック信号の半周期分よりも大きくならない可能性が高い。   In general, the resistance value R of the resistance element 3 is desirably 50 ohms or more from the characteristics of a normal MOSFET. For example, when the through current Ipr of the clock circuit 10 is 0.2 [mA], the voltage fluctuation dV is 0.2 × 50 = 10 [mV]. When the voltage fluctuation is smaller than this, there is a high possibility that the delay time fluctuation (delay trigger timing fluctuation) in the delay circuit 20 will not be larger than the half cycle of the clock signal.

(第2実施例)図8に、第2実施例のTDC2aのブロック図を示す。TDC2は、図1のTDC2に、サブクロック回路50を追加したものである。サブクロック回路50は、複数の第3CMOSインバータ9がリング状に接続されている別のリングオシレータ52を備えている。複数の第3CMOSインバータ9の電圧供給端52aが、抵抗素子3の電流下流端3aに接続されている。このTDC2では、クロック回路10の複数の第1CMOSインバータ4は、それらの動作速度が供給電圧に依存する特性を有している。サブクロック回路50の構成はクロック回路10と同じである。従って、サブクロック回路50の動作によっても、抵抗素子3の電流下流端3aの電圧が変動する。その電圧変動により、遅延回路20の第2CMOSインバータ5のみならず、クロック回路10の第1CMOSインバータ4の動作速度が変化する。第1CMOSインバータ4の動作速度の変化は、クロック信号CLKのクロックの周期を変動させる。その結果、遅延時間に計測されるクロック数が変化する。また、遅延回路20は、第1CMOSインバータ4の動作による電圧変動(図8のノイズ1)に加えて第3CMOSインバータ9の動作による電圧変動(図8のノイズ2)を受ける。遅延回路20が受ける電圧変動が複雑化するので、合計のノイズが理想的なホワイトノイズに近くなる。サブクロック回路50を追加することで、クロック回路10が電圧変動を受けるとともに、遅延回路20がホワイトノイズに近い電圧変動を受けるので、量子化誤差をより一層低減することができる。別言すれば、より精度の高い出力を得ることができる。   (Second Embodiment) FIG. 8 shows a block diagram of a TDC 2a of the second embodiment. The TDC 2 is obtained by adding a sub clock circuit 50 to the TDC 2 in FIG. The sub clock circuit 50 includes another ring oscillator 52 in which a plurality of third CMOS inverters 9 are connected in a ring shape. The voltage supply terminals 52 a of the plurality of third CMOS inverters 9 are connected to the current downstream terminal 3 a of the resistance element 3. In the TDC 2, the plurality of first CMOS inverters 4 of the clock circuit 10 have a characteristic that their operation speed depends on the supply voltage. The configuration of the sub clock circuit 50 is the same as that of the clock circuit 10. Therefore, the voltage of the current downstream end 3a of the resistance element 3 also varies depending on the operation of the sub clock circuit 50. Due to the voltage fluctuation, not only the second CMOS inverter 5 of the delay circuit 20 but also the operation speed of the first CMOS inverter 4 of the clock circuit 10 changes. The change in the operation speed of the first CMOS inverter 4 changes the clock cycle of the clock signal CLK. As a result, the number of clocks measured during the delay time changes. The delay circuit 20 receives voltage fluctuation (noise 2 in FIG. 8) due to the operation of the third CMOS inverter 9 in addition to voltage fluctuation (noise 1 in FIG. 8) due to the operation of the first CMOS inverter 4. Since the voltage fluctuation received by the delay circuit 20 becomes complicated, the total noise becomes close to ideal white noise. By adding the sub clock circuit 50, the clock circuit 10 receives voltage fluctuations and the delay circuit 20 receives voltage fluctuations close to white noise, so that the quantization error can be further reduced. In other words, a more accurate output can be obtained.

サブクロック回路50もデジタル素子のみで構成できるので、TDC2aもコンパクトに実現することができる。   Since the sub-clock circuit 50 can also be composed of only digital elements, the TDC 2a can also be realized in a compact manner.

抵抗素子3の抵抗値Rは、先の条件に加え、次の条件を満足するとよい。即ち、第3CMOSインバータ9の出力が変化するとき(出力が反転するとき)に流れる貫通電流Iprに抵抗値Rを乗じた電圧変動値dVに対して、遅延時間におけるクロック数が半クロック以上ずれるように抵抗値Rが選定されるとよい。なお、先の条件とは、次の通りである。第1CMOSインバータ4の出力が変化するとき(出力が反転するとき)に流れる貫通電流Iprに抵抗値Rを乗じた電圧変動値に対する遅延トリガタイミングの時間変化分が、クロック信号CLKの周期以上となるように、抵抗値Rが選定される。抵抗値Rは、少なくとも、遅延時間におけるクロック数が半クロック以上ずれるように選定されれば、電圧変動(ノイズ)によってクロック数(カウンタ回路の出力)が分散する。抵抗値Rは、遅延時間におけるクロック数が1クロック以上ずれるように選定されれば、電圧変動(ノイズ)によってクロック数(カウンタ回路の出力)がより確実に分散する。別言すれば、遅延トリガタイミングの時間変化分が、クロック信号の1周期以上となるように抵抗値Rを選定すれば、より確実に、ディザリングによる高精度化が期待できる。   The resistance value R of the resistance element 3 should satisfy the following conditions in addition to the previous conditions. That is, the number of clocks in the delay time is shifted by more than half a clock with respect to the voltage fluctuation value dV obtained by multiplying the through current Ipr flowing when the output of the third CMOS inverter 9 changes (when the output is inverted) by the resistance value R. The resistance value R is preferably selected for the above. The previous conditions are as follows. The time change of the delay trigger timing with respect to the voltage fluctuation value obtained by multiplying the resistance value R by the through current Ipr flowing when the output of the first CMOS inverter 4 changes (when the output is inverted) is equal to or longer than the cycle of the clock signal CLK. Thus, the resistance value R is selected. If the resistance value R is selected so that at least the number of clocks in the delay time is shifted by half a clock or more, the number of clocks (output of the counter circuit) is dispersed due to voltage fluctuation (noise). If the resistance value R is selected so that the number of clocks in the delay time is shifted by 1 clock or more, the number of clocks (the output of the counter circuit) is more reliably dispersed by voltage fluctuation (noise). In other words, if the resistance value R is selected so that the time change of the delay trigger timing is one period or more of the clock signal, higher accuracy by dithering can be expected more reliably.

第1CMOSインバータ4を構成するトランジスタは、第2CMOSインバータ5を構成するトランジスタと同じタイプであってよい。さらには、第3CMOSインバータ9のトランジスタも、第2CMOSインバータ5のトランジスタと同じタイプであってよい。   The transistor constituting the first CMOS inverter 4 may be the same type as the transistor constituting the second CMOS inverter 5. Furthermore, the transistor of the third CMOS inverter 9 may be the same type as the transistor of the second CMOS inverter 5.

TDC2とTDC2aは、抵抗素子3以外はデジタル素子で構成できるので、コンパクトに実現することができる。   Since TDC2 and TDC2a can be constituted by digital elements other than the resistance element 3, they can be realized in a compact manner.

実施例で説明した技術に関する留意点を述べる。実施例のTDC2は、温度センサに適用されていた。本明細書が開示する技術は、温度センサに適用されるTDCに限られない。   Points to be noted regarding the technology described in the embodiments will be described. The TDC 2 of the example was applied to a temperature sensor. The technology disclosed in this specification is not limited to TDC applied to a temperature sensor.

以上、本発明の具体例を詳細に説明したが、これらは例示に過ぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成し得るものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。   Specific examples of the present invention have been described in detail above, but these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and changes of the specific examples illustrated above. The technical elements described in this specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology exemplified in this specification or the drawings can achieve a plurality of objects at the same time, and has technical usefulness by achieving one of the objects.

2、2a:時間デジタル変換器
3:抵抗素子
3a:電流下流端
4:第1CMOSインバータ
5:第2CMOSインバータ
6:カウンタ回路
7:平均算出回路
9:第3CMOSインバータ
10:クロック回路
12:リングオシレータ
12a:電圧供給端
20:遅延回路
22:インバータチェーン
22a:電圧供給端
41、42:トランジスタ
50:サブクロック回路
52:リングオシレータ
52a:電圧供給端
2, 2a: Time digital converter 3: Resistance element 3a: Current downstream end 4: First CMOS inverter 5: Second CMOS inverter 6: Counter circuit 7: Average calculation circuit 9: Third CMOS inverter 10: Clock circuit 12: Ring oscillator 12a : Voltage supply end 20: Delay circuit 22: Inverter chain 22a: Voltage supply end 41, 42: Transistor 50: Sub clock circuit 52: Ring oscillator 52a: Voltage supply end

Claims (4)

複数の第1CMOSインバータがリング状に接続されているリングオシレータを備えており、前記第1CMOSインバータの出力変化に応じたクロック信号を出力するクロック回路と、
動作速度が供給電圧に依存する複数の第2CMOSインバータが直列に接続されているインバータチェーンを備えており、入力トリガ信号の入力トリガタイミングを前記インバータチェーンの段数に応じて遅延させた遅延トリガタイミングを有する遅延トリガ信号を出力する遅延回路と、
前記入力トリガタイミングから前記遅延トリガタイミングまでの間の前記クロック信号のクロック数をカウントするカウンタ回路と、
前記入力トリガ信号に含まれている複数の前記入力トリガタイミングの夫々に対応した前記クロック数の移動平均を算出する平均算出回路と、
一端が電源に接続されており、他端が前記第1CMOSインバータと前記第2CMOSインバータの電圧供給端に接続されている抵抗素子と、
を備える時間デジタル変換器。
A clock circuit that includes a ring oscillator in which a plurality of first CMOS inverters are connected in a ring shape, and that outputs a clock signal according to an output change of the first CMOS inverter;
A delay trigger timing obtained by delaying the input trigger timing of the input trigger signal in accordance with the number of stages of the inverter chain is provided. The inverter chain includes a plurality of second CMOS inverters whose operation speed depends on the supply voltage. A delay circuit for outputting a delay trigger signal having;
A counter circuit that counts the number of clocks of the clock signal between the input trigger timing and the delay trigger timing;
An average calculating circuit that calculates a moving average of the number of clocks corresponding to each of the plurality of input trigger timings included in the input trigger signal;
A resistance element having one end connected to a power source and the other end connected to a voltage supply terminal of the first CMOS inverter and the second CMOS inverter;
With time digital converter.
前記第1CMOSインバータの出力が変化するときに流れる貫通電流に前記抵抗素子の抵抗値を乗じた電圧変動値に対する前記遅延トリガタイミングの時間変化分が、前記クロック信号の半周期以上となるように前記抵抗値が設定されている、請求項1に記載の時間デジタル変換器。   The time change of the delay trigger timing with respect to the voltage fluctuation value obtained by multiplying the through current flowing when the output of the first CMOS inverter changes by the resistance value of the resistance element is equal to or greater than a half cycle of the clock signal. The time digital converter according to claim 1, wherein a resistance value is set. 前記抵抗素子の抵抗値は50オーム以上である、請求項1または2に記載の時間デジタル変換器。   The time digital converter according to claim 1 or 2, wherein the resistance value of the resistance element is 50 ohms or more. 複数の第3CMOSインバータがリング状に接続されている別のリングオシレータを備えているサブクロック回路を備えており、
前記第3CMOSインバータの電圧供給端が前記抵抗素子の前記他端に接続されており、
複数の前記第1CMOSインバータは、動作速度が供給電圧に依存する、
請求項1から3のいずれか1項に記載の時間デジタル変換器。
A plurality of third CMOS inverters including a sub clock circuit including another ring oscillator connected in a ring shape;
A voltage supply terminal of the third CMOS inverter is connected to the other end of the resistance element;
The plurality of first CMOS inverters have an operation speed that depends on a supply voltage.
The time digital converter according to any one of claims 1 to 3.
JP2017040858A 2017-03-03 2017-03-03 Time digital converter Active JP6640773B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017040858A JP6640773B2 (en) 2017-03-03 2017-03-03 Time digital converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017040858A JP6640773B2 (en) 2017-03-03 2017-03-03 Time digital converter

Publications (2)

Publication Number Publication Date
JP2018148364A true JP2018148364A (en) 2018-09-20
JP6640773B2 JP6640773B2 (en) 2020-02-05

Family

ID=63592358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017040858A Active JP6640773B2 (en) 2017-03-03 2017-03-03 Time digital converter

Country Status (1)

Country Link
JP (1) JP6640773B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023120139A1 (en) * 2021-12-24 2023-06-29 オムロン株式会社 Time measurement circuit, distance measurement sensor, and time measurement method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59226515A (en) * 1983-05-25 1984-12-19 ア−ルシ−エ− コ−ポレ−ション Analog-to-digital converter
JP2009527158A (en) * 2006-02-17 2009-07-23 ヴェリジー(シンガポール) プライベート リミテッド Time-to-digital conversion with delay contribution determination of delay elements
JP2009290748A (en) * 2008-05-30 2009-12-10 Olympus Corp A/d converter and servo control device
JP2011526752A (en) * 2008-07-02 2011-10-13 エスティー‐エリクソン、ソシエテ、アノニム Circuit having time digital converter and phase measuring method
JP2013185985A (en) * 2012-03-08 2013-09-19 Toyota Central R&D Labs Inc Temperature sensor circuit
JP2016217746A (en) * 2015-05-14 2016-12-22 株式会社デンソー Demodulator

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59226515A (en) * 1983-05-25 1984-12-19 ア−ルシ−エ− コ−ポレ−ション Analog-to-digital converter
JP2009527158A (en) * 2006-02-17 2009-07-23 ヴェリジー(シンガポール) プライベート リミテッド Time-to-digital conversion with delay contribution determination of delay elements
JP2009290748A (en) * 2008-05-30 2009-12-10 Olympus Corp A/d converter and servo control device
JP2011526752A (en) * 2008-07-02 2011-10-13 エスティー‐エリクソン、ソシエテ、アノニム Circuit having time digital converter and phase measuring method
JP2013185985A (en) * 2012-03-08 2013-09-19 Toyota Central R&D Labs Inc Temperature sensor circuit
JP2016217746A (en) * 2015-05-14 2016-12-22 株式会社デンソー Demodulator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023120139A1 (en) * 2021-12-24 2023-06-29 オムロン株式会社 Time measurement circuit, distance measurement sensor, and time measurement method

Also Published As

Publication number Publication date
JP6640773B2 (en) 2020-02-05

Similar Documents

Publication Publication Date Title
US8023363B2 (en) Time-to-digital converter apparatus
US7248197B2 (en) A/D converter that is implemented using only digital circuit components and digital signal processing
JPWO2013168353A1 (en) Magnetic detection device and magnetic detection method
US9543961B2 (en) Current detection circuit and pile-up detection circuit
US20200177197A1 (en) A/d converter circuit
JP6686571B2 (en) Counter circuit, time measuring circuit and temperature sensor circuit
JP6640773B2 (en) Time digital converter
US10037011B2 (en) Time measuring circuit and temperature sensor circuit
EP2933910A1 (en) A multiple output offset comparator
JP2509426B2 (en) Delta-Sigma-Analog / Digital Converter
US10404269B2 (en) Analog-to-digital converter and signal processing apparatus
US10656188B2 (en) Circuit and method for load detection using switched capacitors
CN114586340A (en) Adaptive correlated multisampling with input signal level shifting
CN110752845B (en) Quantized signal time difference circuit
KR101650012B1 (en) Sensor device and sensing method
US10998895B2 (en) Electronic circuit
CN108777150B (en) Sensing circuit
TW201902121A (en) Pulse width modulation converter and converting method thereof
TW201332294A (en) Counter based digital pulse width modulation device could scalable the resolution
JP6707039B2 (en) Conversion circuit
JP6371646B2 (en) Feedback type pulse width modulator
US10389112B2 (en) Device and method for generating duty cycle
JP2020113894A (en) Level conversion circuit
US9344103B1 (en) High-resolution time-to-digital converter and method thereof
TWI526680B (en) Temperature sensor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180926

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190613

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190625

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190809

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20191217

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191226

R150 Certificate of patent or registration of utility model

Ref document number: 6640773

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250