JPH0426230A - A/d converter - Google Patents

A/d converter

Info

Publication number
JPH0426230A
JPH0426230A JP13029690A JP13029690A JPH0426230A JP H0426230 A JPH0426230 A JP H0426230A JP 13029690 A JP13029690 A JP 13029690A JP 13029690 A JP13029690 A JP 13029690A JP H0426230 A JPH0426230 A JP H0426230A
Authority
JP
Japan
Prior art keywords
voltage
hysteresis
analog
value
converter
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
Application number
JP13029690A
Other languages
Japanese (ja)
Inventor
Hiroshi Kajinuma
梶沼 寛
Kazuma Okura
一真 大蔵
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP13029690A priority Critical patent/JPH0426230A/en
Publication of JPH0426230A publication Critical patent/JPH0426230A/en
Pending legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To obtain a stable digital output even when there is an analog input value by executing A/D conversion with hysteresis to an input analog voltage while controlling one switch to be closed when the other switch is opened based on the digital output and shifting a decision reference voltage. CONSTITUTION:This A/D converter is composed of resistors 3a and 3b for shift respectively serially connected to the power supply voltage side and low potential side of a resistance ladder 1 to obtain the plural decision reference voltages, and switches 4a and 4b respectively parallelly connected to these resistors for shift. Further, hysteresis circuits 10a and 10b are provided to execute A/D conversion with the hysteresis to the input analog voltage while controlling one switch to be closed when the other switch is opened, and shifting the decision reference voltage based on the digital output. Thus, without requiring any large scale or complicated circuits, the A/D converter can be realized with the hysteresis characteristic and even when there is fine fluctuation due to the noise, etc., of the input analog voltage or the analog input value near a comparative voltage, the stable digital value can be obtained.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、A/D変換の判定基準電圧にヒステリシス
特性を有するA/D変換器に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to an A/D converter having hysteresis characteristics in a reference voltage for A/D conversion.

(従来の技術) 第6図は、A/D変換器の第1の従来例を示している。(Conventional technology) FIG. 6 shows a first conventional example of an A/D converter.

複数の抵抗を直列に接続して基準電源電圧VRを分圧し
、複数の判定基準電圧を得る抵抗ラダー1に、基準クロ
ックをカウントしたカウンタ6の出力値をデコーダ7て
デコードした選択値が入力されている。この選択値によ
り抵抗ラダー1から比較すべき判定基準電圧が比較器8
に選択出力されて人力アナログ信号aと比較され、その
判定基準電圧が入力アナログ信号aの信号レベルに該当
した時に制御回路9がらレジスタ11に制御信号が送ら
れて、その時のカウンタ6の値を保持し、入力アナログ
信号aに対応したディジタル値すが出力されるようにな
っている。しかし、このような分圧方式のA/D変換器
は、入力アナログ信号にノイズが乗ったり、比較電圧付
近にある入力アナログ信号等に対しては、出力値が安定
しないという問題があった。
A selection value obtained by decoding the output value of a counter 6 that counts the reference clock by a decoder 7 is input to a resistor ladder 1 that divides a reference power supply voltage VR by connecting a plurality of resistors in series to obtain a plurality of judgment reference voltages. ing. Based on this selected value, the judgment reference voltage to be compared from the resistance ladder 1 is set to the comparator 8.
It is selected and output to the input analog signal a and compared with the human input analog signal a, and when the judgment reference voltage corresponds to the signal level of the input analog signal a, a control signal is sent from the control circuit 9 to the register 11, and the value of the counter 6 at that time is A digital value corresponding to the input analog signal a is output. However, such a voltage division type A/D converter has problems in that noise is added to the input analog signal, and the output value is unstable for input analog signals near the comparison voltage.

例えば車両用ディジタル水温計においては、温度センサ
からのアナログ信号を処理回路で信号処理し、最終的に
液晶表示器等のセグメントの点灯消灯により水温を表示
するようにしているが、その処理回路にはA/D変換器
が不可欠である。ここで、ディジタル表示器は連続的な
アナログ信号をセグメントの点灯消灯、即ち不連続的な
値として表示するものであり、センサからのアナログ信
号がセグメントの切替わるレベル付近で微少変動した場
合には、セグメントの点灯消灯が繰返され、見ずらくな
って使用者に不快感を与えることになってしまう。
For example, in a digital water temperature meter for vehicles, the analog signal from the temperature sensor is processed by a processing circuit, and the water temperature is finally displayed by turning on and off segments of the liquid crystal display, etc. An A/D converter is essential. Here, the digital display displays a continuous analog signal as a discontinuous value when the segment turns on or off, and if the analog signal from the sensor fluctuates slightly near the level at which the segment changes, , the segments are repeatedly turned on and off, making it difficult to see and causing discomfort to the user.

このような問題を防止するために、セグメント数を増や
す、即ちA/D変換器の分解能を増して、アナログ表示
器に匹敵するようなものにしようとすれば、回路が複雑
となり大幅なコストアップを伴うことになる。
In order to prevent such problems, if we try to increase the number of segments, that is, increase the resolution of the A/D converter to make it comparable to an analog display, the circuit will become complicated and the cost will increase significantly. This will be accompanied by

このような場合に、A/D変換器或いは表示器等にヒス
テリシス特性を持たせれば、ノイズ等による出力値の変
動を防止して点灯消灯のちらつき等を防ぐことができる
ようになる。このため、ヒステリシス的な特性を備えた
変換・表示方式が幾つか有効な方法として考え出されて
きた。
In such a case, if the A/D converter or display device has a hysteresis characteristic, it is possible to prevent fluctuations in the output value due to noise and the like, thereby preventing flickering when the lights are turned on or off. For this reason, several effective conversion/display methods having hysteresis characteristics have been devised.

第7図は、このような特性を備えたセンサ人力ディジタ
ル表示装置の一例を示している。この装置では、A/D
変換器16によってサーミスタ等の温度センサからの入
力信号がディジタル値に変換される。ディジタル遅延回
路17では、このディジタル値が同じ値を特定回数続け
た時に出力値を更新し、或いはこのディジタル値の特定
回数の平均値を求めて出力する処理が行なわれる。次い
で、デコーダ21てこのディジタル遅延回路]7の出力
値を表示セグメント用にデコードし、ドライバ22によ
り表示器23を駆動して温度を表示させるようになって
いる。
FIG. 7 shows an example of a sensor-powered digital display device having such characteristics. In this device, A/D
A converter 16 converts an input signal from a temperature sensor such as a thermistor into a digital value. The digital delay circuit 17 updates the output value when the same digital value continues for a specific number of times, or calculates and outputs the average value of the digital value for a specific number of times. Next, the output value of the decoder 21 (digital delay circuit) 7 is decoded for a display segment, and the driver 22 drives the display 23 to display the temperature.

この構成例では、ディジタル遅延回路17の処理によっ
て表示セグメントの点灯消灯のちらつきを防止する一種
のヒステリシスを設けているが、センサ入力の変化に対
するレスポンスが非常に悪いという問題があって利用範
囲は限定されてしまつ0 また、センサ入力ディジタル表示装置の他の例として、
第8図に示すような構成を持つものがある。センサ入力
信号を高分解能A/D変換器18によりディジタル値に
変換し、ヒステリシス処理回路]9てこのディジタル値
の変化が特定の範囲以内であればデコーダ21に出力す
る値を更新しないようになっている。これにより、例え
ば2ビツトの表示分解能の場合、第9図に示すような、
センサ入力のレベルと2ビツトのディジタル出力値の関
係を有するヒステリシスを実現することができる。この
ディジタル出力を用い、デコーダ21及びドライバ22
によりディジタル表示器23を駆動すれば、センサ入力
の微少変動による表示セグメントの点灯消灯のちらつき
を防止することができ、またレスポンスの悪くなること
が防止される。しかし、この構成例では、2ビツトの表
示分解能のために少な(とも3ビツトのA/D変換器が
必要であるように、表示分解能の少なくとも2倍の分解
能のA/D変換器が必要となる。
In this configuration example, a type of hysteresis is provided to prevent the display segments from flickering when turned on or off through processing by the digital delay circuit 17, but the problem is that the response to changes in sensor input is very poor, so the range of use is limited. In addition, as another example of the sensor input digital display device,
Some devices have a configuration as shown in FIG. The sensor input signal is converted to a digital value by the high-resolution A/D converter 18, and the hysteresis processing circuit]9 does not update the value output to the decoder 21 if the change in the digital value is within a specific range. ing. As a result, for example, in the case of a 2-bit display resolution, as shown in FIG.
It is possible to realize hysteresis having a relationship between the level of the sensor input and the 2-bit digital output value. Using this digital output, the decoder 21 and driver 22
By driving the digital display 23 in this way, it is possible to prevent the display segments from flickering on and off due to minute fluctuations in the sensor input, and also to prevent poor response. However, in this configuration example, an A/D converter with a resolution at least twice the display resolution is required, such that a 2-bit display resolution requires a smaller (3-bit A/D converter). Become.

このため、その回路規模が大きくなってしまうという問
題がある。
Therefore, there is a problem that the circuit scale becomes large.

これに対し、A/D変換器の第2の従来例として、分解
能を変えずにヒステリシス特性を持たせるようにしたも
のが考えられている(実願昭62123086号)。こ
のA/D変換器では、抵抗ラダーを構成している各抵抗
に、アナログスイッチと抵抗を直列したものを並列に接
続し、そのアナログスイッチをディジタル出力により開
閉制御してA/D変換の判定基準電圧の電圧レベルを制
御し、ヒステリシス特性を有するA/D変換を実現させ
ている。しかし、この構成例では、ヒステリシス付き抵
抗ラダ一部の抵抗の数が2倍になり、アナログスイッチ
の個数も増え、さらにA/D変換の分解能を上げようと
すると、この抵抗の数及びアナログスイッチの個数がさ
らに増加するため、やはり回路規模は大きくなってしま
う。
On the other hand, as a second conventional example of an A/D converter, one has been considered in which a hysteresis characteristic is provided without changing the resolution (Utility Application No. 62123086). In this A/D converter, an analog switch and a resistor in series are connected in parallel to each resistor that makes up the resistance ladder, and the analog switch is controlled to open and close by digital output to determine A/D conversion. The voltage level of the reference voltage is controlled to realize A/D conversion with hysteresis characteristics. However, in this configuration example, the number of resistors in a part of the resistor ladder with hysteresis doubles, the number of analog switches also increases, and if you try to further increase the resolution of A/D conversion, the number of resistors and analog switches Since the number of circuits further increases, the circuit scale also increases.

(発明が解決しようとする課題) 第1の従来例では、アナログ入力信号にノイズが乗った
り、比較電圧付近にあるアナログ人力信号等に対しては
、出力値が安定しないため、これを例えば車両用ディジ
タル水温計に適用した場合、センサからのアナログ人力
信号がセグメントの切替わるレベル付近で微少変動した
とき、セグメントの点灯消灯を繰返し、使用者に不快感
を与える等の問題があった。
(Problems to be Solved by the Invention) In the first conventional example, the output value is unstable when noise is added to the analog input signal or when the analog human input signal is near the comparison voltage. When applied to digital water temperature gauges, when the analog human input signal from the sensor fluctuates slightly near the level at which segments are switched, the segments repeatedly turn on and off, causing discomfort to the user.

また、このような問題に対応するために、ディジタル遅
延回路を用いて、アナログ入力信号を変換したディジタ
ル値の特定回数の平均値或いは同じ値が特定回数続いた
時の値を出力とする等の構成とすれば、アナログ人力信
号の変化に対するレスポンスが非常に悪く、利用範囲が
限定されてしまうという問題があった。また、ヒステリ
シス処理回路を用いて、変換ディジタル値の変動が特定
の範囲内であれば出力値を更新しない等の構成とすれば
、表示分解能の少なくとも2倍のA/D変換精度が必要
で回路規模も大きくなり不経済であるという問題があっ
た。
In addition, in order to deal with this kind of problem, it is possible to use a digital delay circuit to output the average value of a specific number of digital values obtained by converting an analog input signal, or the value when the same value continues a specific number of times. With this configuration, there was a problem in that the response to changes in analog human input signals was very poor, and the range of use was limited. In addition, if a hysteresis processing circuit is used to prevent the output value from being updated if the fluctuation of the converted digital value is within a certain range, an A/D conversion precision of at least twice the display resolution is required. There was a problem that the scale was large and it was uneconomical.

さらに、第2の従来例のA/D変換器のように、分解能
を変えずにA/D変換器自身にヒステリシス特性を持た
せようとすれば、抵抗の数が2倍になり、アナログスイ
ッチの個数も増えてやはり回路規模が大きくなってしま
う。
Furthermore, if you try to give the A/D converter itself hysteresis characteristics without changing the resolution, as in the second conventional A/D converter, the number of resistors will double, and the analog switch The number of circuits also increases, resulting in an increase in circuit scale.

この発明は、このような従来のA/D変換器における問
題に着目してなされたもので、大規模又は複雑な回路を
要することなくヒステリシス特性を持ったA/D変換器
を実現し、入力アナログ電圧のノイズ等による微少変動
や比較電圧付近のアナログ人力値があっても安定したデ
ィジタル圧力を得ることができ、かつA/D変換のレス
ポンスが悪化することのないA/D変換器を提供するこ
とを目的とする。
This invention was made by focusing on such problems in conventional A/D converters, and it realizes an A/D converter with hysteresis characteristics without requiring a large-scale or complicated circuit. Provides an A/D converter that can obtain stable digital pressure even when there are minute fluctuations due to noise in the analog voltage or analog human input values near the reference voltage, and that does not deteriorate the response of A/D conversion. The purpose is to

[発明の構成] (課題を解決するための手段) この発明は上記課題を解決するために、直列に接続され
た複数個の抵抗により電源電圧を分圧し入力アナログ電
圧と比較すべき複数の判定基準電圧を得る抵抗ラダーが
設けられ、入力アナログ電圧に対応した前記判定基準電
圧に基づいて当該入力アナログ電圧をディジタル出力に
変換するA/D変換器であって、前記抵抗ラダーの電源
電圧側及び低電位側にそれぞれ直列接続されたシフト用
抵抗と該シフト用抵抗のそれぞれに並列接続されたスイ
ッチとからなり前記ディジタル出力に基づいて該スイッ
チの一方が開のとき他方が閉に制御されて前記判定基準
電圧をシフトさせ入力アナログ電圧に対しヒステリシス
を持ったA/D変換を行わせるヒステリシス回路を設け
てなることを要旨とする。
[Structure of the Invention] (Means for Solving the Problems) In order to solve the above problems, the present invention provides a plurality of judgments to divide the power supply voltage using a plurality of resistors connected in series and compare it with an input analog voltage. An A/D converter is provided with a resistance ladder for obtaining a reference voltage, and converts the input analog voltage into a digital output based on the judgment reference voltage corresponding to the input analog voltage, the power supply voltage side of the resistance ladder and It consists of shift resistors connected in series on the low potential side and switches connected in parallel to each of the shift resistors, and based on the digital output, when one of the switches is open, the other is controlled to close. The gist is that a hysteresis circuit is provided to shift the determination reference voltage and perform A/D conversion with hysteresis with respect to the input analog voltage.

(作用) 上記構成により、A/D変換の判定基準電圧にヒステリ
シス特性が与えられ、入力アナログ電圧にノイズ等によ
る微少変動や比較電圧附近のアナログ入力値があっても
安定したディジタル出力が得られ、またA/D変換のレ
スポンスが悪化することがない。
(Function) With the above configuration, a hysteresis characteristic is given to the judgment reference voltage for A/D conversion, and a stable digital output can be obtained even if the input analog voltage has minute fluctuations due to noise or the analog input value is close to the comparison voltage. Moreover, the response of A/D conversion does not deteriorate.

(実施例) 以下、この発明の実施例を図面に基づいて説明する。(Example) Embodiments of the present invention will be described below based on the drawings.

第1図は、この発明の一実施例を示す図である。FIG. 1 is a diagram showing an embodiment of the present invention.

なお、第1図において、前記第6図における機器及び素
子等と同一ないし均等のものは、前記と同一符号を以っ
て示す。
In FIG. 1, the same or equivalent components as those in FIG. 6 are designated by the same reference numerals.

まず、A/D変換器の構成を説明すると、複数個(図の
例では5個)の抵抗値2Rの抵抗が直列に接続されて、
各タップA−Dに基準電源電圧VRを分圧した複数の判
定基準電圧を得る抵抗ラダー1が構成されている。抵抗
ラダー1における各タップA−Dには、アナログスイッ
チ列2における各アナログスイッチ2a〜2dがそれぞ
れ接続され、各アナログスイッチ28〜2dの他端は共
通接続されて比較器8の非反転入力端子(+)に接続さ
れている。また、抵抗ラダー1の電源電圧側には電源側
ヒステリシス回路10aが接続され、低電位(アース)
側にはアース側ヒステリンス回路10bが接続されてい
る。電源側及びアス側の各ヒステリシス回路10a、1
0bは、抵抗ラダー1に直列接続された抵抗値Rのシフ
ト用抵抗3a、3bと、このシフト用抵抗3a、3bの
それぞれに並列接続されたアナログスイッチ4a、4b
とで構成されている。アナログスイッチ4aはHレベル
の制御信号でオンとなり、他方のアナログスイッチ4b
はLレベルの制御信号でオンとなる。したがって両アナ
ログスイッチ4a4bは、一方がオンのとき他方がオフ
に制御されるようになっている。
First, to explain the configuration of an A/D converter, multiple (5 in the example shown) resistors with a resistance value of 2R are connected in series.
A resistor ladder 1 is configured to obtain a plurality of determination reference voltages obtained by dividing a reference power supply voltage VR at each tap A to D. Each of the analog switches 2a to 2d in the analog switch row 2 is connected to each tap A to D in the resistance ladder 1, and the other ends of each of the analog switches 28 to 2d are commonly connected and serve as a non-inverting input terminal of the comparator 8. (+) is connected. In addition, a power supply side hysteresis circuit 10a is connected to the power supply voltage side of the resistance ladder 1, and a low potential (earth)
A ground side hysteresis circuit 10b is connected to the side. Hysteresis circuits 10a and 1 on the power supply side and ass side
0b denotes shift resistors 3a and 3b with a resistance value R connected in series to the resistance ladder 1, and analog switches 4a and 4b connected in parallel to the shift resistors 3a and 3b, respectively.
It is made up of. The analog switch 4a is turned on by an H level control signal, and the other analog switch 4b is turned on.
is turned on by an L level control signal. Therefore, when one of the analog switches 4a4b is on, the other is controlled to be off.

そして、発振器5から出力されるクロックCを2ビツト
のカウンタ6で計数し、この計数値をデコーダ7でデコ
ードして、その出力値によりアナログスイッチ列2のオ
ン・オフを行ない、判定基準電圧dが選択されるように
なっている。比較器8では、この判定基準電圧dとアナ
ログ入力信号aのレベルが比較される。そして、カウン
タ6の計数値が“0”になってから最初に比較器8の出
力が真値“Hoになる時に、制御回路9がら真値″H°
のラッチ信号eが出力される。レジスタ11では、この
真値“H2のラッチ信号eによりカウンタ6の値をラッ
チし、これが入力アナログ信号aに対応したディジタル
出力すとなる。
Then, the clock C output from the oscillator 5 is counted by a 2-bit counter 6, this counted value is decoded by a decoder 7, and the analog switch row 2 is turned on and off according to the output value, and the judgment reference voltage d is is now selected. The comparator 8 compares this determination reference voltage d with the level of the analog input signal a. Then, when the output of the comparator 8 reaches the true value "Ho" for the first time after the count value of the counter 6 becomes "0", the control circuit 9 outputs the true value "H°".
A latch signal e is output. In the register 11, the value of the counter 6 is latched by the latch signal e of the true value "H2," and this becomes a digital output corresponding to the input analog signal a.

また、レジスタ11には、減算器12が接続されている
。減算器12でレジスタ11にラッチされたディジタル
出力すから1が減算され、その減算出力が排他的論理和
回路1−3の一方の入力端子に入力されている。排他的
論理和回路13の他方の入力端子にはカウンタ6の計数
値が入力されている。排他的論理和回路13は減算器1
2の出力とカウンタ6の出力との排他的論理和をとり、
その出力により、電源側ヒステリシス回路10a及びア
ース側ヒステリシス回路10bにおける両アナログスイ
ッチ4a、4bをオン・オフ制御するようになっている
Further, a subtracter 12 is connected to the register 11 . The subtracter 12 subtracts 1 from the digital output latched in the register 11, and the subtracted output is input to one input terminal of the exclusive OR circuit 1-3. The count value of the counter 6 is input to the other input terminal of the exclusive OR circuit 13. The exclusive OR circuit 13 is the subtracter 1
Take the exclusive OR of the output of 2 and the output of counter 6,
The output controls on/off of both analog switches 4a and 4b in the power supply side hysteresis circuit 10a and the ground side hysteresis circuit 10b.

次に上述のように構成されたA/D変換器の動作を説明
する。
Next, the operation of the A/D converter configured as described above will be explained.

電源投入直後、レジスタ11の値は“Oo“であり、こ
の値から減算器]2によって1がマイナスされ“11”
となるので、カウンタ6が計数を開始するまでは、排他
的論理和回路13の出力は真値”1”となって電源側ヒ
ステリシス回路10aのアナログスイッチ4aがオン、
アース側ヒステリシス回路10bのアナログスイッチ4
bがオフとなる。このとき、基準電源電圧VRを11V
1アナログスイッチ4g、4bのオン抵抗はシフト用抵
抗3a、3bの抵抗値Rに比べて無視てきるとすると、
抵抗ラダー1の各タップには、アース側から順に、A−
3V、B−5V、C−7V、D−9Vが現れる。
Immediately after the power is turned on, the value of the register 11 is "Oo", and from this value, 1 is subtracted by the subtractor ]2 to become "11".
Therefore, until the counter 6 starts counting, the output of the exclusive OR circuit 13 becomes the true value "1" and the analog switch 4a of the power supply side hysteresis circuit 10a is turned on.
Analog switch 4 of ground side hysteresis circuit 10b
b is turned off. At this time, the reference power supply voltage VR is set to 11V.
Assuming that the on-resistance of 1 analog switches 4g and 4b is ignored compared to the resistance value R of shift resistors 3a and 3b,
Each tap on resistor ladder 1 has an A-
3V, B-5V, C-7V, and D-9V appear.

そして、この状態でカウンタ6の計数値が“OO“のと
きデコーダ7てデコードされた選択値によりアナログス
イッチ2aかオンとなって判定基準電圧dはA−3Vが
選択される。以下、同様にしてカウンタ6の計数値が“
01”のときB−5V1 “10”のときC−7V、 
 “1]゛のときD−9Vが判定基準電圧dとして選択
される。
In this state, when the count value of the counter 6 is "OO", the analog switch 2a is turned on based on the selection value decoded by the decoder 7, and A-3V is selected as the determination reference voltage d. Thereafter, in the same way, the count value of counter 6 is “
B-5V1 when “01” C-7V when “10”
When "1", D-9V is selected as the determination reference voltage d.

カウンタ6は発振器5から発生するクロックCの数を計
数し、その計数値に従ってデコーダ7から出力される選
択値により、アナログスイッチ2a〜2dがオン、オフ
され、判定基準電圧dのレベルか変化する。比較器8は
判定基準電圧dとアナログ入力信号aのレベルを比較し
、判定基準電圧dの方が高いときに真値“H“を出力す
る。
The counter 6 counts the number of clocks C generated from the oscillator 5, and according to the counted value, the analog switches 2a to 2d are turned on and off according to the selection value output from the decoder 7, and the level of the determination reference voltage d changes. . The comparator 8 compares the level of the determination reference voltage d and the analog input signal a, and outputs the true value "H" when the determination reference voltage d is higher.

こうして、制御回路9がラッチ信号eを出力する時のカ
ウンタ6の値がレジスタ11にラッチされ、これがディ
ジタル出力すとなる。
In this way, the value of the counter 6 when the control circuit 9 outputs the latch signal e is latched in the register 11, and is output digitally.

また、レジスタ11にラッチされたディジタル値は減算
器12て1がマイナスされ、その値がカウンタ6の計数
値と一致した時に排他的論理和回路13の出力が“L”
となって電源側ヒステリシス回路10Hのアナログスイ
ッチ4aがオフ、アス側ヒステリシス回路]、 Obの
アナログスイッチ4bかオンとなる。このとき、抵抗ラ
ダー1の各タップに現れる電圧はA−2V、B−4V、
C−6VSD−8Vとなる。
Further, the digital value latched in the register 11 is subtracted by 1 by the subtracter 12, and when the value matches the count value of the counter 6, the output of the exclusive OR circuit 13 becomes "L".
As a result, the analog switch 4a of the power supply side hysteresis circuit 10H is turned off, the as-side hysteresis circuit], and the analog switch 4b of Ob is turned on. At this time, the voltages appearing at each tap of the resistance ladder 1 are A-2V, B-4V,
It becomes C-6VSD-8V.

上記の動作を、さらに具体的に説明する。いま、例えば
アナログ入力信号aのレベルが3.1Vであるとすると
、カウンタ6の計数値がOO゛のとき判定基準電圧dは
3■、カウンタ6の計数値が“01°のとき判定基準電
圧dは5vとなるので、カウンタ6の計数値が“01′
のとき、比較器8は真値“Hoを出力する。この出力に
より、制御回路9が真値“Hoのう・ソチ信号eを出力
し、そのときのカウンタ6の計数値“01°がレジスタ
1.1にラッチされてディジタル出力すとなる。
The above operation will be explained in more detail. For example, if the level of the analog input signal a is 3.1V, when the count value of the counter 6 is OO゛, the judgment reference voltage d is 3■, and when the count value of the counter 6 is ``01°'', the judgment reference voltage is 3. Since d is 5V, the count value of counter 6 is "01'"
, the comparator 8 outputs the true value "Ho." This output causes the control circuit 9 to output the true value "Ho" signal e, and the count value "01°" of the counter 6 at that time is stored in the register. It is latched to 1.1 and output digitally.

また、レジスタ11にラッチされたこのディジタル出力
は減算器12によって1がマイナスされ00°となり、
カウンタ6の計数値が“00゛となって両者が一致した
とき排他的論理和回路13の出力が“L2となり、アナ
ログスイ・ンチ4aをオフ、アナログスイ・ソチ4bを
オン状態とする。このとき、抵抗ラダー1のタップの電
圧番よA−2V、B−4Vとなるので、アナログ入力信
号aのレベルが微少変動してもディジタル出力すは変動
することがない。なお、カウンタ6の計数値が“01′
となったとき、抵抗ラダー1の各タップの電圧はA−3
V、B−5Vに戻る。
Also, this digital output latched in the register 11 is subtracted by 1 by the subtracter 12 and becomes 00°.
When the count value of the counter 6 becomes "00" and they match, the output of the exclusive OR circuit 13 becomes "L2", turning off the analog switch 4a and turning on the analog switch 4b. At this time, the voltage numbers of the taps of the resistor ladder 1 are A-2V and B-4V, so even if the level of the analog input signal a slightly fluctuates, the digital output does not fluctuate. Note that if the count value of counter 6 is “01”
When , the voltage at each tap of resistor ladder 1 is A-3
Return to V, B-5V.

結果として、アナログ入力信号aのレベルとディジタル
出力すの値の関係は第2図に示した如くになり、ヒステ
リシス特性を有するようになる。
As a result, the relationship between the level of the analog input signal a and the value of the digital output signal a becomes as shown in FIG. 2, and has a hysteresis characteristic.

なお、両ヒステリシス回路10a、10bにおけるシフ
ト用抵抗3a、3bの抵抗値を適宜に変えることにより
ヒステリシス特性を変えることが可能である。
Note that it is possible to change the hysteresis characteristics by appropriately changing the resistance values of the shift resistors 3a and 3b in both hysteresis circuits 10a and 10b.

第3図には、上述のA/D変換器20を利用した、車両
用ディジタル水温計のブロック構成図を示す。ヒステリ
シス特性を備えたA/D変換器20により変換された、
センサ入力値の出力ディジタル値を、デコーダ21がデ
ィジタル表示器23の表示セグメント用にデコードし、
ドライバ22によりディジタル表示器23を駆動して水
温を表示させている。
FIG. 3 shows a block diagram of a digital water temperature gauge for a vehicle that utilizes the A/D converter 20 described above. Converted by an A/D converter 20 with hysteresis characteristics,
The decoder 21 decodes the output digital value of the sensor input value for a display segment of the digital display 23;
A digital display 23 is driven by a driver 22 to display the water temperature.

このような構成とすれば、センサ入力のノイズ等による
微少変動等に対しても表示セグメントの点灯消灯のちら
つき等を生じさせることなく、高レスポンスで水温の表
示を行うことが可能となる。
With such a configuration, it is possible to display the water temperature with high response without causing flickering of the display segments on or off even in response to minute fluctuations due to sensor input noise or the like.

第4図には、本発明の他の実施例を示す。この実施例の
抵抗ラダー1の各タップに現れる電圧は、基準電源電圧
VRを12Vとすると、アース側から順に、E−2,4
V、F−4,8V、G−7゜2V、H−9,6Vとなる
。減算器12の出力は、第2のデコーダ14によりデコ
ードされ、カウンタ6の出力と、減算器12の出力が一
致したとき、排他的論理和回路13の出力によりアナロ
グスイッチ28〜2dが制御されるようになっている。
FIG. 4 shows another embodiment of the invention. If the reference power supply voltage VR is 12V, the voltages appearing at each tap of the resistor ladder 1 in this embodiment are E-2, 4, in order from the ground side.
V, F-4, 8V, G-7°2V, H-9,6V. The output of the subtracter 12 is decoded by the second decoder 14, and when the output of the counter 6 and the output of the subtracter 12 match, the analog switches 28 to 2d are controlled by the output of the exclusive OR circuit 13. It looks like this.

これにより、アナログ入力信号aのレベルとディジタル
出力すの値の関係は第5図に示した如くになり、ヒステ
リシス特性を有するようになる。
As a result, the relationship between the level of the analog input signal a and the value of the digital output signal becomes as shown in FIG. 5, and has a hysteresis characteristic.

なお、上述の各実施例においては、2ビツトの深さを持
つA/D変換器を例とて説明したが、他の多数ビットの
A/D変換器に関しても、同様にこの発明を適用するこ
とは勿論可能である。
In each of the above-mentioned embodiments, an A/D converter with a depth of 2 bits was explained as an example, but the present invention can be similarly applied to other multi-bit A/D converters. Of course it is possible.

[発明の効果] 以上説明したように、この発明によれば、複数の判定基
準電圧を得る抵抗ラダーの電源電圧側及び低電位側にそ
れぞれ直列接続されたシフト用抵抗と、このシフト用抵
抗のそれぞれに並列接続されたスイッチとからなり、デ
ィジタル出力に基づいて該スイッチの一方が開のとき他
方が閉に制御されて前記判定基準電圧をシフトさせ入力
アナログ電圧に対しヒステリシスを持ったA/D変換を
行わせるヒステリシス回路を設けたため、大規模又は複
雑な回路を要することなくヒステリシス特性を持ったA
/D変換器を実現することができ、入力アナログ電圧の
ノイズ等による微少変動や比較電圧附近のアナログ入力
値があっても安定したディジタル出力を得ることができ
、かつA/D変換のレスポンスか悪化しないという利点
がある。
[Effects of the Invention] As explained above, according to the present invention, a shift resistor is connected in series to the power supply voltage side and a low potential side of a resistor ladder that obtains a plurality of determination reference voltages, and the shift resistor is and switches connected in parallel to each other, and when one of the switches is open and the other is closed based on the digital output, the judgment reference voltage is shifted and the A/D has hysteresis with respect to the input analog voltage. Since a hysteresis circuit is provided to perform the conversion, A with hysteresis characteristics can be achieved without requiring a large-scale or complicated circuit.
/D converter, it is possible to obtain a stable digital output even if there are minute fluctuations due to noise in the input analog voltage or analog input values near the comparison voltage, and the response of the A/D conversion can be It has the advantage of not getting worse.

【図面の簡単な説明】[Brief explanation of drawings]

第1図はこの発明に係るA/D変換器の一実施例を一部
ブロックで示す回路図、第2図は同実施例におけるアナ
ログ入力信号のレベルとディジタル出力値との関係を示
す図、第3図は上記一実施例に係るA/D変換器を利用
したディジタル水温計のブロック構成図、第4図は本発
明の他の実施例を一部ブロックで示す回路図、第5図は
同実施例におけるアナログ入力信号のレベルとディジタ
ル出力値との関係を示す図、第6図は従来のA/D変換
器を一部ブロックで示す回路図、第7図は上記従来のA
/D変換器を用いたセンサ入力ディジタル表示装置の概
略ブロック図、第8図は他の従来のA/D変換器を用い
たセンサ入力ディジタル表示装置の概略ブロック図、第
9図は同センサ入力ディジタル表示装置におけるセンサ
入力とディジタル出力の関係を示す図である。 1:抵抗ラダー   2.アナログスイッチ列、3a、
3b:シフト用抵抗、 4a、4b:アナログスイッチ、 8:比較器、 10a、10b:ヒステリシス回路、 a:アナログ入力信号、 b=ディジタル出力信号。 代理人  弁理士  三 好  秀 和第1 図 2ビアトチ゛シ゛タル出力す 第2図 第3図 第4図 卆へ+<−pΔ゛(交
FIG. 1 is a circuit diagram showing a partial block diagram of an embodiment of an A/D converter according to the present invention, and FIG. 2 is a diagram showing the relationship between the level of an analog input signal and a digital output value in the same embodiment. FIG. 3 is a block configuration diagram of a digital water temperature meter using an A/D converter according to the above embodiment, FIG. 4 is a circuit diagram showing another embodiment of the present invention in partial blocks, and FIG. A diagram showing the relationship between the level of an analog input signal and a digital output value in the same embodiment, FIG. 6 is a circuit diagram showing a conventional A/D converter in partial blocks, and FIG.
FIG. 8 is a schematic block diagram of a sensor input digital display device using another conventional A/D converter, and FIG. 9 is a schematic block diagram of a sensor input digital display device using an A/D converter. FIG. 3 is a diagram showing the relationship between sensor input and digital output in a digital display device. 1: Resistance ladder 2. Analog switch row, 3a,
3b: Shift resistor, 4a, 4b: Analog switch, 8: Comparator, 10a, 10b: Hysteresis circuit, a: Analog input signal, b = Digital output signal. Agent Patent Attorney Hidekazu Miyoshi No. 1 Figure 2 Viato Digital Output Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】 直列に接続された複数個の抵抗により電源電圧を分圧し
入力アナログ電圧と比較すべき複数の判定基準電圧を得
る抵抗ラダーが設けられ、入力アナログ電圧に対応した
前記判定基準電圧に基づいて当該入力アナログ電圧をデ
ィジタル出力に変換するA/D変換器であって、 前記抵抗ラダーの電源電圧側及び低電位側にそれぞれ直
列接続されたシフト用抵抗と該シフト用抵抗のそれぞれ
に並列接続されたスイッチとからなり前記ディジタル出
力に基づいて該スイッチの一方が開のとき他方が閉に制
御されて前記判定基準電圧をシフトさせ入力アナログ電
圧に対しヒステリシスを持ったA/D変換を行わせるヒ
ステリシス回路を設けてなることを特徴とするA/D変
換器。
[Claims] A resistance ladder is provided which divides the power supply voltage using a plurality of resistors connected in series to obtain a plurality of judgment reference voltages to be compared with the input analog voltage, and the judgment standards corresponding to the input analog voltage are provided. An A/D converter that converts the input analog voltage into a digital output based on the voltage, the shift resistor being connected in series to the power supply voltage side and the low potential side of the resistor ladder, respectively, and the shift resistor, respectively. and switches connected in parallel to each other, and when one of the switches is open and the other is closed based on the digital output, the judgment reference voltage is shifted and the A/D conversion has hysteresis with respect to the input analog voltage. An A/D converter characterized by being provided with a hysteresis circuit that performs the following.
JP13029690A 1990-05-22 1990-05-22 A/d converter Pending JPH0426230A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13029690A JPH0426230A (en) 1990-05-22 1990-05-22 A/d converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13029690A JPH0426230A (en) 1990-05-22 1990-05-22 A/d converter

Publications (1)

Publication Number Publication Date
JPH0426230A true JPH0426230A (en) 1992-01-29

Family

ID=15030925

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13029690A Pending JPH0426230A (en) 1990-05-22 1990-05-22 A/d converter

Country Status (1)

Country Link
JP (1) JPH0426230A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1235348A1 (en) * 2001-02-14 2002-08-28 Siemens Aktiengesellschaft Hysteresis circuit
JP2015160596A (en) * 2014-02-28 2015-09-07 株式会社クボタ work vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1235348A1 (en) * 2001-02-14 2002-08-28 Siemens Aktiengesellschaft Hysteresis circuit
JP2015160596A (en) * 2014-02-28 2015-09-07 株式会社クボタ work vehicle

Similar Documents

Publication Publication Date Title
JP2698580B2 (en) Voltage / pulse width conversion circuit
US5877717A (en) D/A converter with a Gamma correction circuit
JP2009005051A (en) Da conversion circuit
KR20080012069A (en) Digital to analog converter and source driver including thereof
US20070008203A1 (en) Digital-to-analog converter with short integration time constant
US7796074B2 (en) Digital/analogue converter, converter arrangement and display
GB2422258A (en) Bufferless switched capacitor digital to analogue converter
JPH0426230A (en) A/d converter
JPH04275590A (en) Voltage/pulse width conversion circuit
JP2009302973A (en) D/a converter and reference voltage circuit with the same
KR20020064321A (en) Digital-to-analog converter
JP4237347B2 (en) D / A conversion method and D / A converter
US5180987A (en) DC-to-AC symmetrical sine wave generator
JPS6161577B2 (en)
JPS6158056B2 (en)
JPH05183341A (en) Sinusoidal wave generating circuit
JPH0338925A (en) Digital/analog converter
JP2009065481A (en) Digital-to-analog converter and liquid crystal display device employing the same
JP3331081B2 (en) Subranging type A / D converter
CN100481202C (en) Digital-analogue converting device and method
JPH09266446A (en) Analog-digital converter and single-chip microcomputer incorporating the same
JPH03119829A (en) D/a converter
SU1695487A1 (en) Frequency multiplier
KR920004175Y1 (en) Dc control circuit of multiple stage
JPH08298417A (en) Variable attenuator circuit