JP2012253717A - Ad conversion circuit - Google Patents

Ad conversion circuit Download PDF

Info

Publication number
JP2012253717A
JP2012253717A JP2011127153A JP2011127153A JP2012253717A JP 2012253717 A JP2012253717 A JP 2012253717A JP 2011127153 A JP2011127153 A JP 2011127153A JP 2011127153 A JP2011127153 A JP 2011127153A JP 2012253717 A JP2012253717 A JP 2012253717A
Authority
JP
Japan
Prior art keywords
conversion
successive approximation
value
comparison
register
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
JP2011127153A
Other languages
Japanese (ja)
Inventor
Isayasu Kato
功康 加藤
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2011127153A priority Critical patent/JP2012253717A/en
Publication of JP2012253717A publication Critical patent/JP2012253717A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an AD conversion circuit that can shorten a time to the start of execution of reconversion in the event of an anomaly in an AD conversion result.SOLUTION: An AD conversion circuit 1 of an embodiment includes: a successive approximation AD conversion section 11 having a successive approximation register 111 in which values are fixed in sequence from the most significant bit; and a conversion result register 12 to which the preceding conversion result of the successive approximation AD conversion section 11 is written. In the AD conversion circuit 1, a comparison section 13 compares a fixed range of bit values of a value in the successive approximation register 111 with the same range of bit values in the conversion result register 12 in the middle of AD conversion, and when the comparison section outputs a mismatch signal UM indicating that the result of comparison is a mismatch, a conversion start control section 14 outputs a conversion start signal ST indicating a new start of conversion to the successive approximation AD conversion section 11.

Description

本発明の実施形態は、AD変換回路に関する。   Embodiments described herein relate generally to an AD conversion circuit.

マイクロコンピュータを使用したモーター制御回路では、モーターに流れる電流の検出に逐次比較型のA/Dコンバータを使用し、その変換されたデジタルデータをCPUで処理し、モーターを制御する。   In a motor control circuit using a microcomputer, a successive approximation A / D converter is used to detect a current flowing through the motor, and the converted digital data is processed by a CPU to control the motor.

その際、モーター周辺で発生するノイズの影響を受けて、AD変換結果が通常取り得るデータからかけ離れた値になった場合など、正常なモーター制御ができなくなる。そのため、そのような異常なデータが出力された場合、再度AD変換を行うことが必要となる。   At that time, normal motor control cannot be performed, for example, when the AD conversion result becomes a value far from the data that can be normally obtained due to the influence of noise generated around the motor. Therefore, when such abnormal data is output, it is necessary to perform AD conversion again.

ただし、逐次比較型A/Dコンバータでは、出力のデジタルデータのMSBから1ビットずつデータ値が決定されるため、変換結果が得られるまでにビット数に比例した時間がかかる。そのため、再変換を行うと、正しい変換結果が得られるまでにかなりの時間を要することになる。   However, in the successive approximation A / D converter, since the data value is determined bit by bit from the MSB of the output digital data, it takes time proportional to the number of bits until the conversion result is obtained. Therefore, if re-conversion is performed, it takes a considerable time until a correct conversion result is obtained.

そこで、従来、一旦AD変換した後に、変換結果のデータ値の検証を行って、誤り可能性ビットを判定し、そのビットが許容誤差ビットの桁位置よりも上位である場合にのみ、再変換を行うようにする方式が提案されている。この方式では、誤り可能性ビットが許容誤差ビットの桁位置以下であれば再変換を行わないため、全体的な変換時間を短くすることができる。   Therefore, conventionally, after AD conversion is performed, the data value of the conversion result is verified to determine an error possibility bit, and reconversion is performed only when the bit is higher than the digit position of the allowable error bit. A method for doing so has been proposed. In this method, since the re-conversion is not performed if the error possibility bit is equal to or less than the digit position of the allowable error bit, the overall conversion time can be shortened.

しかし、上述の方式では、一旦AD変換した後に誤り可能性ビットの判定を行うため、1回AD変換が終了した後でなければ、再変換が必要かどうか判定できない。したがって、AD変換結果に異常があった場合に、再変換の実行開始までに時間を要する、という問題があった。   However, in the above-described method, since the error possibility bit is determined after AD conversion once, it is not possible to determine whether or not re-conversion is necessary unless AD conversion is completed once. Accordingly, there is a problem that it takes time until the start of reconversion when there is an abnormality in the AD conversion result.

特開2000−49609号公報JP 2000-49609 A

そこで、本発明が解決しようとする課題は、AD変換結果に異常があった場合に、再変換の実行開始までの時間を短縮することのできるAD変換回路を提供することにある。   Therefore, the problem to be solved by the present invention is to provide an AD conversion circuit that can shorten the time until the start of reconversion when there is an abnormality in the AD conversion result.

実施形態のAD変換回路は、最上位ビットから順次値が確定する逐次比較レジスタを有する逐次比較AD変換部と、前記逐次比較AD変換部の前回の変換結果が書き込まれた変換結果レジスタとを備える。このAD変換回路は、比較部が、AD変換の途中で、前記逐次比較レジスタの値の確定した範囲のビット値を前記変換結果レジスタの同一範囲のビットの値と比較し、変換開始制御部が、前記比較部から前記比較結果が不一致であることを示す不一致信号が出力されたときに、前記逐次比較AD変換部へ新たな変換の開始を指示する変換開始信号を出力する。   The AD conversion circuit according to the embodiment includes a successive approximation AD conversion unit having a successive approximation register in which values are sequentially determined from the most significant bit, and a conversion result register in which a previous conversion result of the successive approximation AD conversion unit is written. . In this AD conversion circuit, the comparison unit compares the bit value in the range in which the value of the successive approximation register is determined with the value of the bit in the same range in the conversion result register during the AD conversion, and the conversion start control unit When a mismatch signal indicating that the comparison results do not match is output from the comparison unit, a conversion start signal for instructing the successive approximation AD conversion unit to start a new conversion is output.

本発明の第1の実施形態に係るAD変換回路の構成の例を示すブロック図。1 is a block diagram showing an example of the configuration of an AD conversion circuit according to a first embodiment of the present invention. 本発明の実施形態のAD変換回路へ入力されるアナログ入力AINの波形の例を示す図。The figure which shows the example of the waveform of the analog input AIN input into the AD converter circuit of embodiment of this invention. 本発明の実施形態の比較部の内部構成の例を示す図。The figure which shows the example of the internal structure of the comparison part of embodiment of this invention. ノイズが重畳したアナログ入力AINの例を示す図。The figure which shows the example of the analog input AIN which noise superimposed. 本発明の実施形態の比較部の内部構成の別の例を示す図。The figure which shows another example of the internal structure of the comparison part of embodiment of this invention. 本発明の第2の実施形態に係るAD変換回路の構成の例を示すブロック図。The block diagram which shows the example of a structure of the AD converter circuit which concerns on the 2nd Embodiment of this invention. 第2の実施形態のAD変換回路で設定される比較範囲を説明するための図。The figure for demonstrating the comparison range set with the AD converter circuit of 2nd Embodiment.

以下、本発明の実施の形態について図面を参照して説明する。なお、図中、同一または相当部分には同一の符号を付して、その説明は繰り返さない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals, and the description thereof will not be repeated.

(第1の実施形態)
図1は、本発明の第1の実施形態に係るAD変換回路の構成の例を示すブロック図である。
(First embodiment)
FIG. 1 is a block diagram showing an example of the configuration of an AD conversion circuit according to the first embodiment of the present invention.

本実施形態のAD変換回路1は、最上位ビットから順次値が確定する逐次比較レジスタ111を有する逐次比較AD変換部11と、逐次比較AD変換部11の前回の変換結果が書き込まれた変換結果レジスタ12と、AD変換の途中で、逐次比較レジスタ111の値の確定した範囲のビット値を変換結果レジスタ12の同一範囲のビットの値と比較する比較部13と、比較部13から比較結果が不一致であることを示す不一致信号UMが出力されたときに、逐次比較AD変換部11へ新たな変換の開始を指示する変換開始信号STを出力する変換開始制御部14と、を備える。   The AD conversion circuit 1 according to the present embodiment includes a successive approximation AD converter 11 having a successive approximation register 111 in which values are sequentially determined from the most significant bit, and a conversion result in which the previous conversion result of the successive approximation AD converter 11 is written. The comparison result between the register 12, the comparison unit 13 that compares the bit value in the range in which the value of the successive approximation register 111 has been determined with the value of the bit in the same range in the conversion result register 12 during the AD conversion, A conversion start control unit 14 that outputs a conversion start signal ST instructing the successive approximation AD conversion unit 11 to start a new conversion when a mismatch signal UM indicating mismatch is output.

通常の動作時においては、AD変換回路1は、外部からトリガ信号TGが入力されると変換開始制御部14が変換開始信号STを出力し、逐次比較AD変換部11がAD変換を開始する。ここで、逐次比較AD変換部11の定格最大入力電圧をVmaxとする。したがって、最上位ビット(MSB)に相当する電圧レベルは、1/2・Vmaxである。   In a normal operation, when a trigger signal TG is input from the outside, the AD conversion circuit 1 outputs a conversion start signal ST, and the successive approximation AD conversion unit 11 starts AD conversion. Here, the rated maximum input voltage of the successive approximation AD converter 11 is set to Vmax. Therefore, the voltage level corresponding to the most significant bit (MSB) is 1/2 · Vmax.

逐次比較AD変換部11は、変換開始信号STが入力されると、アナログ入力AINをサンプリングしてその電圧を保持し、最上位ビット(MSB)から順次デジタルデータのビット値を確定して逐次比較レジスタ111へ書き込む。逐次比較AD変換部11は、最下位ビット(LSB)が確定した時点で、逐次比較レジスタ111に格納されたデータをデジタル出力DOUTとして出力する。   When the conversion start signal ST is input, the successive approximation AD converter 11 samples the analog input AIN and holds the voltage, and sequentially determines the bit value of the digital data from the most significant bit (MSB), and performs successive comparison. Write to register 111. The successive approximation AD converter 11 outputs the data stored in the successive approximation register 111 as the digital output DOUT when the least significant bit (LSB) is determined.

この変換結果のデジタル出力DOUTが、変換結果レジスタ12へ書き込まれる。   The conversion result digital output DOUT is written into the conversion result register 12.

ここで、本実施形態のAD変換回路1へ入力されるアナログ入力AINを、例えばモーターに流れる電流を電圧へ変換したものとすると、そのレベルは、図2(a)に示すように、規則的に変化する。このような規則的な変化をする入力の場合、ある時刻t1でAD変換したときのMSBの値と、ごく短時間後の時刻t2でAD変換したときのMSBの値は、通常、一致する。一致しないのは、アナログ入力AINが1/2・Vmaxを挟んで変化したときのみであり、その確率は非常に低い。   Here, if the analog input AIN input to the AD conversion circuit 1 of the present embodiment is, for example, converted from a current flowing in the motor into a voltage, the level is regular as shown in FIG. To change. In the case of such an input that changes regularly, the MSB value when AD conversion is performed at a certain time t1 and the MSB value when AD conversion is performed at a time t2 after a very short time usually match. Only when the analog input AIN changes with ½ · Vmax between them does not match, the probability is very low.

ところが、アナログ入力AINにノイズが重畳していた場合、例えば、図2(b)に示すように、時刻t2でAD変換したときのMSBの値と、時刻t1でAD変換したときのMSBの値が不一致となる。ノイズレベルが大きい場合、この不一致の発生確率が高くなる。したがって、このような場合、MSBの値を比較するだけで、時刻t2のAD変換結果が異常であることを判定できるものと考えられる。   However, when noise is superimposed on the analog input AIN, for example, as shown in FIG. 2B, the MSB value when AD conversion is performed at time t2 and the MSB value when AD conversion is performed at time t1. Is inconsistent. When the noise level is large, the probability of occurrence of this mismatch increases. Therefore, in such a case, it is considered that it is possible to determine that the AD conversion result at time t2 is abnormal only by comparing the MSB values.

そこで、このMSBの不一致を検出するために、図3に示すように、逐次比較レジスタ111のMSBの値と変換結果レジスタ12のMSBの値を比較する比較器131を、比較部13に設ける。   Therefore, in order to detect this MSB mismatch, as shown in FIG. 3, a comparator 131 that compares the MSB value of the successive approximation register 111 and the MSB value of the conversion result register 12 is provided in the comparison unit 13.

比較器131は、AD変換の途中で、逐次比較レジスタ111のMSBの値が確定した時点で直ちに、変換結果レジスタ12のMSBの値との比較を行う。このとき、比較の結果が不一致であれば、比較器131は、不一致信号UMを出力する。   The comparator 131 compares the value of the MSB of the successive approximation register 111 with the value of the MSB of the conversion result register 12 immediately after the MSB value of the successive approximation register 111 is determined during AD conversion. At this time, if the comparison result does not match, the comparator 131 outputs a mismatch signal UM.

この不一致信号UMが出力されると、変換開始制御部14は、変換開始信号STを出力する。この変換開始信号STの出力により、逐次比較AD変換部11は、実行中のAD変換を中止し、アナログ入力AINを新たにサンプリングし、新たなAD変換を開始する。   When the mismatch signal UM is output, the conversion start control unit 14 outputs a conversion start signal ST. In response to the output of the conversion start signal ST, the successive approximation AD conversion unit 11 stops the AD conversion being executed, newly samples the analog input AIN, and starts a new AD conversion.

ノイズが瞬間的に発生するパルス状のものである場合、新たなAD変換開始時にはノイズの発生が収まっていることが多く、再変換時には、正常なデジタル出力DOUTを得られる可能性が高い。   When the noise is generated in the form of pulses, the generation of noise is often stopped when a new AD conversion is started, and a normal digital output DOUT is likely to be obtained at the time of reconversion.

ただし、図4に示すように、ノイズのレベルが小さい場合、時刻t1でも時刻t2でもMSBの値が同じで、MSBの比較だけではノイズの重畳を検出できないことが考えられる。   However, as shown in FIG. 4, when the noise level is small, the value of the MSB is the same at the time t1 and the time t2, and it is conceivable that the noise superposition cannot be detected only by the MSB comparison.

このような場合、比較するビット数を増加させ、MSBを含む複数のビットの値を比較すれば、ノイズの重畳を検出できる可能性が高まる。そこで、図5に、MSBを含む複数のビットの値の比較を行うようにした比較部13の構成の例を示す。   In such a case, if the number of bits to be compared is increased and the values of a plurality of bits including the MSB are compared, the possibility of detecting noise superposition increases. FIG. 5 shows an example of the configuration of the comparison unit 13 that compares the values of a plurality of bits including the MSB.

図5に示す比較部13は、比較器131と、差分算出器132と、を有する。   The comparison unit 13 illustrated in FIG. 5 includes a comparator 131 and a difference calculator 132.

差分算出器132として、ここでは、逐次比較レジスタ111のMSB以下3ビットの値と変換結果レジスタ12のMSB以下3ビットの値との差分値を算出する例を示している。ただし、比較するビットは3ビットに限るものではなく、検出したいノイズのレベルに応じて、そのビット数が決定されるものである。   Here, as the difference calculator 132, an example is shown in which a difference value between a value of 3 bits below the MSB of the successive approximation register 111 and a value of 3 bits below the MSB of the conversion result register 12 is calculated. However, the number of bits to be compared is not limited to 3 bits, and the number of bits is determined according to the level of noise to be detected.

比較器131は、差分算出器132から出力された差分値を所定の閾値Sと比較し、差分値が閾値Sより大きいときに不一致信号UMを出力する。   The comparator 131 compares the difference value output from the difference calculator 132 with a predetermined threshold value S, and outputs a mismatch signal UM when the difference value is greater than the threshold value S.

この閾値Sも、検出したいノイズのレベルに応じて設定されるものである。   This threshold S is also set according to the level of noise to be detected.

変換開始制御部14は、比較部13から比較結果が不一致であることを示す不一致信号UMが出力されたときに、変換開始信号STを出力する。   The conversion start control unit 14 outputs the conversion start signal ST when the mismatch signal UM indicating that the comparison result is mismatched is output from the comparison unit 13.

逐次比較AD変換部11は、AD変換実行中に新たな変換開始信号STが出力されると、現在実行中のAD変換を中止し、アナログ入力AINを再サンプリングし、新たなAD変換を開始する。   When a new conversion start signal ST is output during execution of the AD conversion, the successive approximation AD conversion unit 11 stops the AD conversion currently being executed, resamples the analog input AIN, and starts a new AD conversion. .

このとき、不一致信号UMが出力される都度、変換開始信号STを出力するようにしてもよいが、ノイズが一定期間連続して発生するような場合、AD変換の中止および再変換が連続し、次のAD変換結果がいつまで経っても出力されない事態に陥るおそれがある。したがって、このような場合、暫く時間が経ってから、改めてAD変換を実行した方が良いと考えられる。   At this time, each time the mismatch signal UM is output, the conversion start signal ST may be output. However, when noise is continuously generated for a certain period, the AD conversion is stopped and reconverted continuously. There is a risk that the next AD conversion result will not be output indefinitely. Therefore, in such a case, it is considered better to perform AD conversion again after a while.

そこで、変換開始制御部14に、不一致信号UMの出力回数をカウントするカウンタ141と、カウンタ141のカウント値が許容回数K以下であるときに変換開始信号STを出力する出力制御部142と、を備えるようにする。   Therefore, the conversion start control unit 14 includes a counter 141 that counts the number of times the mismatch signal UM is output, and an output control unit 142 that outputs the conversion start signal ST when the count value of the counter 141 is equal to or less than the allowable number K. Be prepared.

この場合、出力制御部142は、比較部13から出力される不一致信号UMの出力回数が、許容回数K以下であるときのみ、変換開始信号STを出力する。   In this case, the output control unit 142 outputs the conversion start signal ST only when the number of outputs of the mismatch signal UM output from the comparison unit 13 is equal to or less than the allowable number K.

これにより、不一致信号UMの出力回数が許容回数Kを超えた場合、出力制御部142から変換開始信号STが出力されず、逐次比較AD変換部11において再変換が連続することを回避することができる。   Thereby, when the number of times of output of the mismatch signal UM exceeds the allowable number K, the conversion start signal ST is not output from the output control unit 142, and the successive approximation AD conversion unit 11 is prevented from continuing reconversion. it can.

なお、出力制御部142へは外部からのトリガ信号TGも入力されている。出力制御部142は、通常、このトリガ信号TGが入力されたときに、変換開始信号STを出力するものである。   An external trigger signal TG is also input to the output control unit 142. The output control unit 142 normally outputs the conversion start signal ST when the trigger signal TG is input.

このような本実施形態によれば、AD変換の途中で変換中のデータのチェックを行い、異常を検出した場合、直ちに実行中の変換を中止し、再変換を開始することができる。これにより、正常なAD変換結果が得られるまでの時間を短縮することができる。   According to this embodiment, when data being converted is checked during AD conversion and an abnormality is detected, the conversion being executed can be immediately stopped and reconversion can be started. Thereby, the time until a normal AD conversion result is obtained can be shortened.

また、異常検出に用いるデータのビット数を任意に設定できるので、精度の高い異常検出を行うことができる。   Further, since the number of bits of data used for abnormality detection can be arbitrarily set, highly accurate abnormality detection can be performed.

また、再変換実行回数を制限できるので、不要な再変換の連続を回避でき、消費電力を抑えることができる。   In addition, since the number of reconversion executions can be limited, unnecessary reconversion can be avoided and power consumption can be reduced.

(第2の実施形態)
第1の実施形態では、アナログ入力AINの全レベル範囲にわたって比較部13による比較を実行している。しかし、アナログ入力AINのレベルが最小あるいは最大付近では、アナログ入力AINにノイズが重畳していても、比較部13が比較対象とする上位ビットの値が変化することは殆どないものと考えられる。したがって、アナログ入力AINのレベルが最小あるいは最大付近では、比較部13による比較を実行する必要はないものと考えられる。そこで、本実施形態では、比較部13が比較を実行するアナログ入力AINのレベルの範囲を指定することのできるAD変換回路の例を示す。
(Second Embodiment)
In the first embodiment, the comparison unit 13 performs the comparison over the entire level range of the analog input AIN. However, when the level of the analog input AIN is at a minimum or in the vicinity of the maximum, even if noise is superimposed on the analog input AIN, it is considered that the value of the upper bit that is compared by the comparison unit 13 hardly changes. Therefore, it is considered that the comparison by the comparison unit 13 does not need to be performed when the level of the analog input AIN is near the minimum or the maximum. Therefore, in the present embodiment, an example of an AD conversion circuit that can specify the range of the level of the analog input AIN for which the comparison unit 13 performs comparison is shown.

図6は、本発明の第2の実施形態に係るAD変換回路の構成の例を示すブロック図である。   FIG. 6 is a block diagram showing an example of the configuration of an AD conversion circuit according to the second embodiment of the present invention.

本実施形態のAD変換回路2は、第1の実施形態のAD変換回路1に、比較実行制御部25を追加したものである。   The AD conversion circuit 2 of the present embodiment is obtained by adding a comparison execution control unit 25 to the AD conversion circuit 1 of the first embodiment.

比較実行制御部25は、変換結果レジスタ12の値を、予め定められた比較範囲指定値Hと比較し、変換結果レジスタ12の値が比較範囲指定値H以内であるときのみ、比較部13へ比較の実行を指示する。   The comparison execution control unit 25 compares the value of the conversion result register 12 with a predetermined comparison range specified value H, and only when the value of the conversion result register 12 is within the comparison range specified value H, the comparison execution control unit 25 Instructs execution of comparison.

図7に、変換結果レジスタ12の値をアナログ入力AINのレベルで表すものとして、比較範囲指定値Hとアナログ入力AINのレベルとの関係を示す。なお、ここでは、比較範囲指定値Hを、下限値H1と上限値H2にて示している。   FIG. 7 shows the relationship between the comparison range designation value H and the level of the analog input AIN, assuming that the value of the conversion result register 12 is expressed by the level of the analog input AIN. Here, the comparison range designation value H is indicated by a lower limit value H1 and an upper limit value H2.

下限値H1は、アナログ入力AINの最小レベル付近に設定され、上限値H2は、アナログ入力AINの最大レベル付近に設定されている。本実施形態では、この下限値H1と上限値H2の間が比較範囲となり、アナログ入力AINのレベルがこの比較範囲である場合にのみ、比較部13による比較が実行される。   The lower limit value H1 is set near the minimum level of the analog input AIN, and the upper limit value H2 is set near the maximum level of the analog input AIN. In the present embodiment, the comparison range is performed between the lower limit value H1 and the upper limit value H2, and the comparison by the comparison unit 13 is executed only when the level of the analog input AIN is within this comparison range.

この場合、図7に示すような、下限値H1あるいは上限値H2を超える領域で発生するノイズは、比較部13による比較の対象外となる。しかし、このような領域で発生するノイズをそのままAD変換しても、下位ビットが異常となるだけであり、その誤差の影響はかなり限定的である。   In this case, noise generated in a region exceeding the lower limit value H1 or the upper limit value H2 as shown in FIG. However, even if the AD generated from the noise generated in such a region is converted as it is, only the lower bits become abnormal, and the influence of the error is quite limited.

このような本実施形態によれば、異常検出を行うためのチェック回数を少なくすることができるので、消費電力を削減することができる。   According to this embodiment as described above, the number of checks for detecting an abnormality can be reduced, so that power consumption can be reduced.

以上説明した少なくとも1つの実施形態のAD変換回路によれば、AD変換結果に異常があった場合に、再変換の実行開始までの時間を短縮することができる。   According to the AD conversion circuit of at least one embodiment described above, it is possible to reduce the time until the start of reconversion when there is an abnormality in the AD conversion result.

また、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Moreover, although some embodiment of this invention was described, these embodiment is shown as an example and is not intending limiting the range of invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

1、2 AD変換回路
11 逐次比較AD変換部
12 変換結果レジスタ
13 比較部
14 変換開始制御部
111 逐次比較レジスタ
131 比較器
132 差分算出器
141 カウンタ
142 出力制御部
1, 2 AD conversion circuit 11 Successive comparison AD conversion unit 12 Conversion result register 13 Comparison unit 14 Conversion start control unit 111 Successive comparison register 131 Comparator 132 Difference calculator 141 Counter 142 Output control unit

Claims (6)

最上位ビットから順次値が確定する逐次比較レジスタを有する逐次比較AD変換部と、
前記逐次比較AD変換部の前回の変換結果が書き込まれた変換結果レジスタと、
AD変換の途中で、前記逐次比較レジスタの値の確定した範囲のビット値を前記変換結果レジスタの同一範囲のビットの値と比較する比較部と、
前記比較部から前記比較結果が不一致であることを示す不一致信号が出力されたときに、前記逐次比較AD変換部へ新たな変換の開始を指示する変換開始信号を出力する変換開始制御部と
を備えることを特徴とするAD変換回路。
A successive approximation AD conversion unit having a successive approximation register in which values are sequentially determined from the most significant bit;
A conversion result register in which the previous conversion result of the successive approximation AD conversion unit is written;
A comparison unit that compares a bit value in a fixed range of the value of the successive approximation register with a value of a bit in the same range of the conversion result register in the middle of AD conversion;
A conversion start control unit that outputs a conversion start signal that instructs the successive approximation AD conversion unit to start a new conversion when a mismatch signal indicating that the comparison result does not match is output from the comparison unit; An AD conversion circuit comprising:
前記逐次比較レジスタの値の確定した範囲が、最上位ビットのみである
ことを特徴とする請求項1に記載のAD変換回路。
2. The AD conversion circuit according to claim 1, wherein a range in which the value of the successive approximation register is determined is only the most significant bit.
前記逐次比較レジスタの値の確定した範囲が、所定の複数ビットである
ことを特徴とする請求項1に記載のAD変換回路。
2. The AD converter circuit according to claim 1, wherein a range in which the value of the successive approximation register is determined is a predetermined plurality of bits.
前記比較部の不一致の判定に、所定の閾値が設定されている
ことを特徴とする請求項3に記載のAD変換回路。
The AD conversion circuit according to claim 3, wherein a predetermined threshold is set for determining the mismatch of the comparison unit.
変換開始制御部が、
前記不一致信号の出力回数をカウントするカウンタを備え、
前記出力回数が許容回数未満であるときに、前記変換開始信号を出力する
ことを特徴とする請求項1乃至4のいずれか1項に記載のAD変換回路。
The conversion start control unit
A counter that counts the number of times the mismatch signal is output;
5. The AD conversion circuit according to claim 1, wherein the conversion start signal is output when the output count is less than an allowable count. 6.
前記比較部が、
前記変換結果レジスタの値が予め定められた範囲内であるときのみ、前記比較を実行する
ことを特徴とする請求項1乃至5いずれか1項に記載のAD変換回路。
The comparison unit is
6. The AD conversion circuit according to claim 1, wherein the comparison is performed only when a value of the conversion result register is within a predetermined range.
JP2011127153A 2011-06-07 2011-06-07 Ad conversion circuit Withdrawn JP2012253717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011127153A JP2012253717A (en) 2011-06-07 2011-06-07 Ad conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011127153A JP2012253717A (en) 2011-06-07 2011-06-07 Ad conversion circuit

Publications (1)

Publication Number Publication Date
JP2012253717A true JP2012253717A (en) 2012-12-20

Family

ID=47526073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011127153A Withdrawn JP2012253717A (en) 2011-06-07 2011-06-07 Ad conversion circuit

Country Status (1)

Country Link
JP (1) JP2012253717A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017050732A (en) * 2015-09-02 2017-03-09 ラピスセミコンダクタ株式会社 Semiconductor device and noise removing method
WO2017145494A1 (en) * 2016-02-25 2017-08-31 ソニー株式会社 Analog-to-digital converter, electronic device, and method for controlling analog-to-digital converter

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017050732A (en) * 2015-09-02 2017-03-09 ラピスセミコンダクタ株式会社 Semiconductor device and noise removing method
WO2017145494A1 (en) * 2016-02-25 2017-08-31 ソニー株式会社 Analog-to-digital converter, electronic device, and method for controlling analog-to-digital converter
US10505557B2 (en) 2016-02-25 2019-12-10 Sony Corporation Analog-to-digital converter, electronic device, and method of controlling analog-to-digital converter

Similar Documents

Publication Publication Date Title
JP4932619B2 (en) A / D converter
US10090850B2 (en) Microcontroller with digital delay line analog-to-digital converter
US20140145868A1 (en) Analog-digital converter and analog-digital conversion method
JP2009027262A (en) A/d conversion circuit
US9092312B2 (en) System and method to inject a bit error on a bus lane
TWI482051B (en) Method for configuring analog-to-digital converter keys and non-transitory machine readable medium storing program code executed for performing such method
JP2012253717A (en) Ad conversion circuit
US8447008B2 (en) Shift frequency demultiplier with automatic reset function
JP2017079427A (en) Electronic control device
JP2008182508A (en) A/d conversion apparatus
JP2007312195A (en) Pipeline type a/d converter
US11327829B2 (en) Semiconductor device which detects occurrence of an abnormality during operation based on a comparison of an input specifying a PWM signal and an estimated input obtained from an inverse operation
US9479186B1 (en) Gain and offset correction in an interpolation ADC
US12009834B2 (en) Control circuit and method for calibrating signal converter, and signal conversion system using the same
US11933823B1 (en) Methods and apparatus to compare voltages
US9696213B2 (en) Temperature sensor with successive AD conversion with selective comparisons
JP6841261B2 (en) Transmitter
JP6455052B2 (en) Semiconductor device
EP2489129B1 (en) Apparatus and method for measuring the oscillations of an oscillator
JP2016169955A (en) Current detection circuit
JP2019057799A (en) Analog-digital converter
JP2008125003A (en) Delay correction system
JP2019060784A (en) Test mode setting circuit
JP2013085134A (en) Analog-digital conversion device
JP2012227642A (en) A/d converter and method of correcting the same

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140902