JPH03185927A - A/d converter - Google Patents
A/d converterInfo
- Publication number
- JPH03185927A JPH03185927A JP32443789A JP32443789A JPH03185927A JP H03185927 A JPH03185927 A JP H03185927A JP 32443789 A JP32443789 A JP 32443789A JP 32443789 A JP32443789 A JP 32443789A JP H03185927 A JPH03185927 A JP H03185927A
- Authority
- JP
- Japan
- Prior art keywords
- comparison
- register
- result
- level
- given
- 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.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 abstract description 17
- 239000003990 capacitor Substances 0.000 abstract description 11
- 238000000034 method Methods 0.000 abstract description 2
- 230000000694 effects Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Landscapes
- Analogue/Digital Conversion (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、一つの半導体基板上に実現されたA/D変
換器に関し、特にその変換値決定方式の改良に関するも
のである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an A/D converter realized on a single semiconductor substrate, and particularly relates to an improvement in its conversion value determination method.
第2図はマイクワコンピュータに内蔵された逐次比較形
A/D変換器の構成を示している。図において、1は被
測定電位の入力端子、2は抵抗ラダー、3はスイッチセ
ット、4は比較器、5は比較器4の入力に接続されたコ
ンデンサ、6と7はそれぞれ入力端子、抵抗ラダー出力
の電位をコンデンサ5に入力するMOS F ETスイ
ッチ、8は比較器4の出力を保持する1ビツトのラッチ
、9はAD変換結果の値のすべてのビットを保持する最
終結果レジスタ(以下S A R: 5uccessi
ve Approximate Registerと称
す)、10は5AR9とマイクロコンピュータとを接続
するデータバス、1)は5AR9の値によりスイッチセ
ットの制御を行う信号をデコードするデコーダである。FIG. 2 shows the configuration of a successive approximation type A/D converter built into a microphone computer. In the figure, 1 is the input terminal of the potential to be measured, 2 is the resistance ladder, 3 is the switch set, 4 is the comparator, 5 is the capacitor connected to the input of the comparator 4, 6 and 7 are the input terminals and the resistance ladder, respectively. MOS FET switch that inputs the output potential to capacitor 5, 8 is a 1-bit latch that holds the output of comparator 4, and 9 is a final result register (hereinafter S A ) that holds all bits of the value of the AD conversion result. R: 5uccessi
ve Approximate Register), 10 is a data bus that connects the 5AR9 and the microcomputer, and 1) is a decoder that decodes a signal for controlling the switch set based on the value of the 5AR9.
次に動作について説明する。Next, the operation will be explained.
入力端子1より入力された電位はMO3FET6を通し
てコンデンサ5に導かれる。この時、サンプル信号はア
クティブで、MOS F ET 6と比較器4のバイア
ス用MO3FETは開いている。The potential input from the input terminal 1 is led to the capacitor 5 through the MO3FET 6. At this time, the sample signal is active, and the MOSFET 6 and the bias MO3FET of the comparator 4 are open.
また比較器4は増幅器のゲインの一番大きい所でバイア
スされ、バランス状態にある。次いで、すンプル信号を
インアクティブにし、入力用MO3FF、T6と比較器
4のバイアス用MO3FETを閉じ、リファレンス信号
をアクティブにして抵抗ラダー2の出力をスイッチセッ
ト3によって選択した比較電圧をMOSFET7を通し
てコンデンサ5に導く。この時、抵抗ラダー3より人力
された電位と、入力端子1より入力された電位の差によ
りコンデンサ5の両端の電位は同時に上下する。Furthermore, the comparator 4 is biased at the point where the gain of the amplifier is greatest and is in a balanced state. Next, the sample signal is made inactive, the input MO3FF, T6 and the bias MO3FET of the comparator 4 are closed, the reference signal is made active and the comparison voltage selected by the switch set 3 is connected to the output of the resistor ladder 2 through the capacitor through the MOSFET 7. Lead to 5. At this time, the potential at both ends of the capacitor 5 rises and falls at the same time due to the difference between the potential manually applied from the resistor ladder 3 and the potential input from the input terminal 1.
また、比較器4はゲインの一番大きな所で、バランスさ
れているので、入力の微小な変化が増幅されて出力され
る。そして、その比較結果がレジスタ8に入力される。Furthermore, since the comparator 4 is balanced at the point where the gain is greatest, minute changes in the input are amplified and output. The comparison result is then input to the register 8.
以上が1回の比較動作であるが、逐次比較形のA/D変
換器では、この動作を分解能のビット数分行う。また、
ラダー2の出力は1回前の比較動作の結果をもとに、ス
イッチセット3を制御して行い、比較電圧をVREFの
172より徐々に入力電圧へ近づくように追い込んでい
く。この変換結果は5AR9に蓄積されていく。The above is one comparison operation, but in a successive approximation type A/D converter, this operation is performed for the number of bits of resolution. Also,
The output of the ladder 2 is performed by controlling the switch set 3 based on the result of the previous comparison operation, and the comparison voltage is gradually driven closer to the input voltage than 172 of VREF. This conversion result is accumulated in 5AR9.
ここで、もう−度1回の比較動作について考えてみる。 Now, let us consider the comparison operation once again.
入力端子1の入力電位はサンプル信号がアクティブで、
MOSFET6が開いている間、定電圧であるべきであ
る。そして、この電位と抵抗ラダー3より得られる比較
電位を比べていった時、初めて正確なA/D変換が行え
ると言える。The input potential of input terminal 1 is when the sample signal is active,
There should be a constant voltage while MOSFET 6 is open. Then, when this potential is compared with the comparison potential obtained from the resistance ladder 3, it can be said that accurate A/D conversion can only be performed.
しかし、入力端子1の入力電位に何らかの原因でノイズ
が乗った時、またそれがMOSFET6の閉じる瞬間と
一致し、本来測定されるべき電位と異なる電位がコンデ
ンサ5に保持された時、当然変換値が正しくなくなると
いう問題があった。However, when noise is added to the input potential of input terminal 1 for some reason, or when this coincides with the moment when MOSFET 6 closes, and a potential different from the potential that should be measured is held in capacitor 5, naturally the converted value There was a problem that the code was not correct.
この発明は、上記のような問題点を解消するためになさ
れたもので、突発的なノイズによりA/D変換値が正確
でなくなる確率を低くすることのできるA/D変換器を
得ることを目的とする。This invention was made to solve the above-mentioned problems, and aims to provide an A/D converter that can reduce the probability that A/D converted values will become inaccurate due to sudden noise. purpose.
この発明に係るA/D変換器は、1ビツトの比較結果を
得るために、複数回の比較動作を行い、それぞれの結果
を保持するレジスタに入る。これらレジスタの出力は多
数決回路を通り、最終的な変換結果レジスタに入る。The A/D converter according to the present invention performs a plurality of comparison operations to obtain a 1-bit comparison result, and stores each result in a register. The outputs of these registers pass through a majority voting circuit and enter the final conversion result register.
このため、たまたまノイズにより複数回のうち1回、比
較結果が異なっていても多数決回路によって値として多
い方の数値が正しい変換値として採用されることになり
、誤った変換結果を出力する確率が低下する。Therefore, even if the comparison results happen to be different one time out of multiple times due to noise, the majority circuit will select the larger value as the correct converted value, reducing the probability of outputting an incorrect conversion result. descend.
以下、この発明の一実施例を図について説明する。 An embodiment of the present invention will be described below with reference to the drawings.
第1図は本発明の一実施例によるA/D変換器を示し、
図において、1〜7.9〜1)は第2図と同じものであ
るので説明を省略する。12〜14は比較器4の出力を
保持する1ビツトのレジスタ、15〜17はそれぞれレ
ジスタ12〜14と比較器4とを接続するMOSFET
、1Bはレジスタ12〜14の出力を入力とする多数決
回路である。FIG. 1 shows an A/D converter according to an embodiment of the present invention,
In the figure, 1 to 7 and 9 to 1) are the same as in FIG. 2, so their explanation will be omitted. 12 to 14 are 1-bit registers that hold the output of comparator 4, and 15 to 17 are MOSFETs that connect registers 12 to 14 and comparator 4, respectively.
, 1B is a majority circuit which receives the outputs of the registers 12 to 14 as inputs.
次に動作について説明する。まず、サンプル信号をアク
ティブにし、入力端子1の電位をコンデンサ5に導く。Next, the operation will be explained. First, the sample signal is activated and the potential of the input terminal 1 is introduced to the capacitor 5.
次いで、サンプル信号をインアクティブにし、リファレ
ンス信号をアクティブにし、抵抗ラダー2とスイッチセ
ット3で決まる比較電位をコンデンサ5に導き、これら
の電位の比較結果をレジスタ12に入れる。以上で1回
の比較動作を終わる。再度、上記と同じ方法で入力端子
1の電位と抵抗ラダー2とスイッチセット3で決まる比
較電位の比較を行い、結果をレジスタ13に入れる。も
う−度、上記と同じ比較動作を行い、結果をレジスタ1
4に入れる。以上3回の比較動作において、入力端子の
電位は3回サンプリングされている。一方、抵抗ラダー
2とスイッチセット3で決まる比較電位は3回の比較動
作において一定である。Next, the sample signal is made inactive, the reference signal is made active, the comparison potential determined by the resistor ladder 2 and the switch set 3 is led to the capacitor 5, and the comparison result of these potentials is input into the register 12. This completes one comparison operation. Again, in the same manner as above, the potential of the input terminal 1 is compared with the comparison potential determined by the resistor ladder 2 and switch set 3, and the result is stored in the register 13. Perform the same comparison operation as above once again and store the result in register 1.
Put it in 4. In the above three comparison operations, the potential of the input terminal is sampled three times. On the other hand, the comparison potential determined by the resistance ladder 2 and the switch set 3 is constant during the three comparison operations.
次にレジスタ12〜14の値を多数決回路18で評価し
、結果を5AR9に入れる。例えば、レジスタ12.1
3の値が“1”で、レジスタ14の値が“0”である場
合は多数決回路18の出力は“1″となる。これで比較
結果1ビット分の比較動作が終了する。Next, the values in the registers 12 to 14 are evaluated by the majority circuit 18, and the results are entered into 5AR9. For example, register 12.1
When the value of 3 is "1" and the value of the register 14 is "0", the output of the majority circuit 18 is "1". This completes the comparison operation for one bit of the comparison result.
以上の動作を分解能のビット数分行うことで、1回のA
/D変換動作を完了する。By performing the above operations for the number of bits of resolution, one A
/D conversion operation is completed.
このように、この実施例によれば、A/D変換の比較結
果の1ビツト分の値を求めるのに複数回の比較動作を行
い、その比較値の多数決を取って最終的な値を決めるよ
うにしたので、A/D変換動作中の入力電圧にノ、イズ
等による乱れがある場合でも変換結果を誤る可能性が非
常に少なくなる。As described above, according to this embodiment, a plurality of comparison operations are performed to obtain the value for one bit of the comparison result of A/D conversion, and the final value is determined by taking a majority vote of the comparison values. As a result, even if the input voltage during the A/D conversion operation is disturbed by noise, noise, etc., the possibility of erroneous conversion results is extremely reduced.
また、マイクロコンピュータのソフトウェアにより、複
数回のA/D変換を行い、その結果を演算によって補正
する必要がなくなるため、実効的なA/D変換時間が短
くなる効果もある。Furthermore, since it is no longer necessary to perform A/D conversion multiple times using microcomputer software and correct the result by calculation, the effective A/D conversion time can be shortened.
なお、上記実施例では1ビツトの比較結果を決定するの
に3回の比較動作を行ったが、3以上の奇数回比較動作
を行うことで、同じ効果を得ることができる。In the above embodiment, the comparison operation was performed three times to determine the comparison result of one bit, but the same effect can be obtained by performing the comparison operation an odd number of times, such as three or more.
以上のように、この発明に係るA/D変換器によれば、
A/D変換の比較結果のlヒフ1分の値を求めるのに複
数回の比較動作を行い、その比較値の多数決を取って、
最終的な値を決めるようにしたので、A/D変換動作中
の入力端子にノイズ等による乱れがある場合でも変換結
果が誤る確率が非常に少なくできる効果がある。As described above, according to the A/D converter according to the present invention,
To obtain the value for 1 minute of A/D conversion comparison results, multiple comparison operations are performed, and a majority vote of the comparison values is taken.
Since the final value is determined, even if there is disturbance due to noise or the like at the input terminal during the A/D conversion operation, there is an effect that the probability that the conversion result will be incorrect can be extremely reduced.
第1図はこの発明の一実施例によるA/D変換器の回路
構成を示す図、第2図は従来のA/D変換器の回路構成
を示す図である。
図において、1は測定入力端子、2はラダー抵抗、3は
スイッチセント、4は比較器、5はコンデンサ、6,7
,15,16.17はMOSFET、9は最終結果レジ
スタ、10はデータバス、1)はデコーダ、12,13
.14は1ビツトレジスタ、18は多数決回路である。
なお図中同一符号は同−又は相当部分を示す。FIG. 1 is a diagram showing the circuit configuration of an A/D converter according to an embodiment of the present invention, and FIG. 2 is a diagram showing the circuit configuration of a conventional A/D converter. In the figure, 1 is the measurement input terminal, 2 is the ladder resistor, 3 is the switch center, 4 is the comparator, 5 is the capacitor, 6, 7
, 15, 16.17 are MOSFETs, 9 is the final result register, 10 is the data bus, 1) is the decoder, 12, 13
.. 14 is a 1-bit register, and 18 is a majority circuit. Note that the same reference numerals in the figures indicate the same or equivalent parts.
Claims (1)
圧との比較動作を複数回行う比較回路と、それぞれの比
較結果を比較動作ごとに保持するレジスタと、 前記レジスタに保持された値の多数決をとる多数決回路
と、 該多数決回路の出力を保持する最終結果保持レジスタと
を備えたことを特徴とするA/D変換器。(1) A successive approximation type A/D converter includes a comparison circuit that compares the same comparison voltage and input analog voltage multiple times for each bit of resolution, and a register that holds each comparison result for each comparison operation. An A/D converter comprising: a majority circuit that takes a majority vote of the values held in the register; and a final result holding register that holds an output of the majority circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP32443789A JPH03185927A (en) | 1989-12-14 | 1989-12-14 | A/d converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP32443789A JPH03185927A (en) | 1989-12-14 | 1989-12-14 | A/d converter |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03185927A true JPH03185927A (en) | 1991-08-13 |
Family
ID=18165801
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP32443789A Pending JPH03185927A (en) | 1989-12-14 | 1989-12-14 | A/d converter |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03185927A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0786946A (en) * | 1993-09-13 | 1995-03-31 | Nec Corp | Successive apporoximation a/d converter |
JP2010071970A (en) * | 2008-08-18 | 2010-04-02 | Mitsubishi Electric Corp | Water level detection device, water level detection method, steam recovery device, and heating cooking device |
US20140210653A1 (en) * | 2013-01-25 | 2014-07-31 | Technische Universiteit Eindhoven | Data-driven noise reduction technique for Analog to Digital Converters |
-
1989
- 1989-12-14 JP JP32443789A patent/JPH03185927A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0786946A (en) * | 1993-09-13 | 1995-03-31 | Nec Corp | Successive apporoximation a/d converter |
JP2010071970A (en) * | 2008-08-18 | 2010-04-02 | Mitsubishi Electric Corp | Water level detection device, water level detection method, steam recovery device, and heating cooking device |
US20140210653A1 (en) * | 2013-01-25 | 2014-07-31 | Technische Universiteit Eindhoven | Data-driven noise reduction technique for Analog to Digital Converters |
US8896476B2 (en) * | 2013-01-25 | 2014-11-25 | Technische Universiteit Eindhoven | Data-driven noise reduction technique for analog to digital converters |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR950012977B1 (en) | D/a converter | |
US4983969A (en) | Successive approximation analog to digital converter | |
JPH03185927A (en) | A/d converter | |
US6504500B1 (en) | A/D converter and A/D converting method | |
JPH11234134A (en) | A/d converter | |
JPH0685668A (en) | A/d conversion circuit | |
JPH07193507A (en) | A/d converter for dc signal measurement | |
JP3083254B2 (en) | A / D converter | |
JP2792891B2 (en) | A / D converter | |
JP3141561B2 (en) | Analog / digital conversion circuit | |
JPH02151126A (en) | Integration type d/a converter | |
JPH0376428A (en) | A/d converter | |
SU1578815A1 (en) | Device for automatic scan of communication channel | |
JPS59132230A (en) | Analog-digital converting circuit | |
JPH0353719A (en) | A/d converter | |
JP2599984B2 (en) | Input data peak value detection circuit | |
JPS6314497Y2 (en) | ||
JP3630796B2 (en) | Switched capacitor arithmetic circuit | |
JPH0247711A (en) | Analog input/output device | |
JPS5887934A (en) | Signal generator for signal intensity display | |
JPH10332785A (en) | Calibration circuit | |
JPS6239851B2 (en) | ||
JPH04227121A (en) | A/d converter | |
JPS58105399A (en) | Movement equalizing circuit | |
JPH0715337A (en) | One-bit cell and a/d converter |