JPS63301625A - A/d converting device - Google Patents

A/d converting device

Info

Publication number
JPS63301625A
JPS63301625A JP13483387A JP13483387A JPS63301625A JP S63301625 A JPS63301625 A JP S63301625A JP 13483387 A JP13483387 A JP 13483387A JP 13483387 A JP13483387 A JP 13483387A JP S63301625 A JPS63301625 A JP S63301625A
Authority
JP
Japan
Prior art keywords
voltage
conversion
fixed voltage
reference voltage
digital
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
JP13483387A
Other languages
Japanese (ja)
Inventor
Takashi Ishida
隆司 石田
Shinji Shirasaki
白崎 慎二
Kiyotaka Nishiura
西浦 清隆
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
Original Assignee
NipponDenso 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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP13483387A priority Critical patent/JPS63301625A/en
Publication of JPS63301625A publication Critical patent/JPS63301625A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To accurately convert an analog input to a digital output by providing a means to generate a fixed voltage separately from a reference voltage generating part and checking digital quantity A/D converted from the fixed voltage. CONSTITUTION:A fixed voltage generating part 2, regardless of the voltage fluctuation of a supplying power source 6, receives the voltage from the supplying power source 6 and generates fixed voltage prescribed beforehand lower than the reference voltage of a reference voltage generating part 1 and an A/D converting part 3 uses the reference voltage from the reference voltage generating part 1 and A/D converts an analog input Ain and the fized voltage from the fixed voltage generating part 2. An operating part 4 compares internal A/D converting quantity which is prescribed beforehand with external A/O converting quantity in which the fixed voltage is A/D converted, then according to this compared result, correction is added to digital quantity in which the analog input is A/D converted and a digital output Dout is obtained. Thus, the supplying power source 6 is fluctuated and even when the reference voltage from the reference voltage generating part 1 is fluctuated, the analog input can be accurately converted to the digital output.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はアナログ入力をデジタル出力に変換するA/D
 (アナログ/デジタル)変換装置に関するものである
[Detailed Description of the Invention] [Industrial Application Field] The present invention is an A/D that converts analog input into digital output.
(analog/digital) conversion device.

〔従来の技術〕[Conventional technology]

基準電圧発生部とA/D変換器とからなる従来のA/D
変換装置においてA/D変換する場合、例えば車載用バ
ッテリ等の供給電源から安定化電源回路等の基準電圧発
生部へ電圧を供給し、これによって安定化電源回路から
の出力電圧またはこの出力電圧を抵抗分圧した電圧を基
準電圧としてA/D変換器に印加する。これによりA/
D変換器では、この基準電圧とA/D変換すべきアナロ
グ人力とを比較し、このアナログ入力をデジタル出力に
変換するものである。
Conventional A/D consisting of a reference voltage generator and an A/D converter
When performing A/D conversion in a converter, for example, a voltage is supplied from a power supply such as an on-board battery to a reference voltage generation section such as a stabilized power supply circuit, and thereby the output voltage from the stabilized power supply circuit or this output voltage is The resistor-divided voltage is applied to the A/D converter as a reference voltage. This allows A/
The D converter compares this reference voltage with the analog human power to be A/D converted, and converts this analog input into a digital output.

例えば、基準電圧を5Vとし、分解能10ビツトでA/
D変換する場合、このときのILSB  (最下位ビッ
ト)の電圧は となる。ここで、アナログ入力電圧2.5■をA/D変
換器に入力することによりデジタル量′512″が得ら
れる。すなわち、このデジタル量“512”はアナログ
入力端子2.5■に相当する値となる。
For example, when the reference voltage is 5V and the resolution is 10 bits, A/
When performing D conversion, the voltage of ILSB (least significant bit) at this time is as follows. Here, by inputting the analog input voltage 2.5■ to the A/D converter, a digital quantity '512'' is obtained. That is, this digital quantity '512' is a value corresponding to the analog input terminal 2.5■ becomes.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

第7図は従来のA/D変換装置の問題点を説明する図で
あり、供給電源の電圧対A/D変換量(ここではデジタ
ル量)との関係を示す。すなわち、この図において、供
給電源が劣化したり高負荷へ電源供給する場合等におい
て、その電圧が低下すると、これに伴って安定化電源回
路からの基準電圧もV、より低下する。このときのアナ
ログ入力をA/D変換したデジタル量は供給電源の電圧
が低下する前に比べて大となり、見かけ上アナログ入力
はA/D変換する前に比べて高くなる。
FIG. 7 is a diagram for explaining the problems of the conventional A/D conversion device, and shows the relationship between the voltage of the power supply and the amount of A/D conversion (in this case, digital amount). That is, in this figure, when the power supply deteriorates or when power is supplied to a high load, the voltage decreases, and the reference voltage from the stabilized power supply circuit also decreases by V accordingly. At this time, the digital amount obtained by A/D converting the analog input becomes larger than before the voltage of the power supply decreases, and the analog input appears to be higher than before the A/D conversion.

例えば、前述した分解能10ビツトA/D変換について
基準電圧V、、が5Vから4■に低下したとすると、こ
のときのI LSBの電圧はとなる。例えば、アナログ
入力電圧の2.5VがA/D変換器に入力されると、デ
ジタル量“640”が得られる。このデジタル量“64
0″は基準電圧■、が5■に基づくアナログ入力電圧3
.125Vに相当し、実質上、A/D変換器に入力され
るアナログ入力電圧2.5■より見かけ工高(A/D変
換されてしまう。このように、供給電源の電圧の変動に
伴って基準電圧が変動した場合、正確なデジタル量が得
られないという問題が生ずる。
For example, if the reference voltage V, , for the above-mentioned 10-bit resolution A/D conversion drops from 5V to 4V, then the voltage of ILSB at this time becomes. For example, when an analog input voltage of 2.5V is input to an A/D converter, a digital quantity "640" is obtained. This digital amount “64
0″ is the reference voltage ■, is the analog input voltage 3 based on 5■
.. This corresponds to 125V, which is essentially the analog input voltage input to the A/D converter (A/D conversion). If the reference voltage fluctuates, a problem arises in that accurate digital quantities cannot be obtained.

本発明は、上記の問題点に鑑みなされたものであり、供
給電源が変動しそれに伴って基準電圧が変動したとして
もアナログ入力を正確にデジタル出力にA/D変換する
ことのできるA/D変換装置を提供することを目的とす
るものである。
The present invention has been made in view of the above problems, and provides an A/D converter that can accurately convert analog input into digital output even if the power supply fluctuates and the reference voltage fluctuates accordingly. The purpose is to provide a conversion device.

C問題点を解決するための手段〕 第1図は本発明に基づ<A/D変換装置の原理構成を示
すブロック図である。本図において、1は基準電圧発生
部であり、供給電源6からの電圧を受けて基準電圧を発
生する。2は固定電圧発生部であり、供給電源6の電圧
変動にかかわらず、供給電源6からの電圧を受けて基準
電圧発生部1の基準電圧より低い予め定めた固定電圧を
発生する。3はA/D変換部であり、基準電位発生部l
からの基準電圧を用いてアナログ入力A iFlおよび
固定電位発生部2からの固定電圧をA/D変換する。4
は前記電圧変動に影響されないデジタル出力D out
を生成する演算部である。
Means for Solving Problem C] FIG. 1 is a block diagram showing the principle configuration of an A/D conversion device based on the present invention. In the figure, reference numeral 1 denotes a reference voltage generating section, which receives a voltage from a power supply 6 and generates a reference voltage. Reference numeral 2 denotes a fixed voltage generator, which receives the voltage from the power supply 6 and generates a predetermined fixed voltage lower than the reference voltage of the reference voltage generator 1, regardless of voltage fluctuations in the power supply 6. 3 is an A/D conversion section, and a reference potential generation section l
The analog input A iFl and the fixed voltage from the fixed potential generation section 2 are A/D converted using the reference voltage from the fixed potential generator 2. 4
is the digital output D out which is not affected by the voltage fluctuation.
This is an arithmetic unit that generates .

〔作 用〕 上記の構成において、固定電圧発生部2からの固定電圧
をA/D変換部3に入力することにより、A/D変換部
3では、供給電源6から供給される電圧をもとに基準電
圧発生部1より出力された基準電圧に基づいて固定電圧
をA/D変換して外部A/D変換量を得る。一方、演算
部4では予め定められた内部A/D変換量を保持し、こ
の内部A/D変換量と外部A/D変換量とを比較し、こ
の比較結果に応じてアナログ入力をA/D変換したデジ
タル量に対して補正を加えデジタル出力D outを得
る。このようにして、供給電源6が変動し基準電位発生
部1からの基準電位が変動したとしても正確にアナログ
入力をデジタル出力に変換することができる。
[Function] In the above configuration, by inputting the fixed voltage from the fixed voltage generating section 2 to the A/D converting section 3, the A/D converting section 3 converts the voltage supplied from the supply power source 6 based on the fixed voltage. The fixed voltage is A/D converted based on the reference voltage outputted from the reference voltage generator 1 to obtain an external A/D conversion amount. On the other hand, the calculation unit 4 holds a predetermined internal A/D conversion amount, compares this internal A/D conversion amount with the external A/D conversion amount, and changes the analog input to the A/D conversion amount according to the comparison result. Correction is applied to the D-converted digital amount to obtain a digital output Dout. In this way, even if the power supply 6 fluctuates and the reference potential from the reference potential generator 1 fluctuates, analog input can be accurately converted to digital output.

〔実施例〕〔Example〕

第2図は本発明の一実施例を示すブロック図である。本
図において、10は基準電位発生部1としての一般的な
安定化電源回路であり、供給電源6としてのバッテリ6
0からの供給電圧に基づいて基準電圧を発生する。20
および25は固定電位発生部2としての固定電圧発生回
路200をなすダイオードおよび抵抗であり、バッテリ
6からの供給電圧に基づいて基準電圧より低く設定され
た固定電圧V rotを発生するものであり、ここでは
固定電圧V□、としてバッテリ6に対して順方向に接続
したダイオード20の順方向電圧を利用している。30
はA/D変換部3としてのA/D変換器であり、例えば
温度センサ等のアナログセンサ70からのアナログ入力
電圧■、および固定電圧V rafをデジタル量に変換
する。40は演算部4としてのマイクロコンピュータで
あり、固定電圧のA/D変換によって得られたデジタル
量に基づいて基準電圧の変動を検出しアナログ入力電圧
vAをA/D変換したデジタル量DAを補正する。
FIG. 2 is a block diagram showing one embodiment of the present invention. In this figure, 10 is a general stabilized power supply circuit as a reference potential generation section 1, and a battery 6 as a power supply 6.
A reference voltage is generated based on the supply voltage from zero. 20
and 25 are diodes and resistors forming the fixed voltage generation circuit 200 as the fixed potential generation section 2, which generate a fixed voltage V rot set lower than the reference voltage based on the voltage supplied from the battery 6; Here, the forward voltage of the diode 20 connected in the forward direction with respect to the battery 6 is used as the fixed voltage V□. 30
is an A/D converter as the A/D converter 3, which converts an analog input voltage (2) from an analog sensor 70 such as a temperature sensor and a fixed voltage V raf into digital quantities. 40 is a microcomputer as the calculation unit 4, which detects fluctuations in the reference voltage based on the digital quantity obtained by A/D conversion of the fixed voltage and corrects the digital quantity DA obtained by A/D converting the analog input voltage vA. do.

このマイクロコンピュータ40は前記内部A/D変換量
を保持する保持手段と、前記外部A/D変換量を取り込
む取込み手段と、該内部A/D変換量と該外部A/D変
換量とを比較する比較手段と、該比較手段から送出され
る比較結果に応じてデジタル出力すべきA/D変換量に
補正を加える補正手段とを有する。また、前記比較手段
は、前記内部A/D変換量と前記外部A/D変換量との
差が所定値以上になったときにのみ前記補正手段に比較
結果を送出するものであってもよい。なお、マイクロコ
ンピュータ40は一般にCPU、 ROM、 RAMお
よびI10回路部等を備えている。
This microcomputer 40 includes a holding means for holding the internal A/D conversion amount, a taking means for taking in the external A/D conversion amount, and a comparison between the internal A/D conversion amount and the external A/D conversion amount. and a correction means that corrects the A/D conversion amount to be digitally output according to the comparison result sent from the comparison means. Further, the comparison means may send the comparison result to the correction means only when the difference between the internal A/D conversion amount and the external A/D conversion amount becomes a predetermined value or more. . Note that the microcomputer 40 generally includes a CPU, a ROM, a RAM, an I10 circuit, and the like.

上記の構成に基づく動作をバッテリ60の電源電圧が基
準電圧より低下した場合について第3図に示すフローチ
ャート図に基づき説明する。まず最初に、A/D変換装
W5を駆動するスイッチ(図示しない)がオンとなると
、ステップ301において、CPU内の各種レジスタ等
がリセットされRAMの内容が初期セットされるなどの
イニシャライズが行われてステップ302に至る。ステ
ップ302では、予めROM内に記憶しである固定電圧
■、。、のデジタルID、を読み出し、このデジタルI
D、をデジタル量り、。fAVとしてセットしてステッ
プ303に至る。ステップ303では、A/D変換器3
0において安定化電源回路10からの基準電圧に基づい
て固定電圧発生回路200からの固定電圧VW、。、を
A/D変換し、このとき得られたデジタル量をD ra
fとしてステップ304に至る。
The operation based on the above configuration will be explained based on the flowchart shown in FIG. 3 for the case where the power supply voltage of the battery 60 is lower than the reference voltage. First, when a switch (not shown) that drives the A/D converter W5 is turned on, in step 301, initialization is performed such as resetting various registers in the CPU and initializing the contents of the RAM. The process then reaches step 302. In step 302, a fixed voltage (2) is stored in advance in the ROM. , read out the digital ID of
D. is a digital scale. It is set as fAV and the process proceeds to step 303. In step 303, the A/D converter 3
0, the fixed voltage VW from the fixed voltage generation circuit 200 is based on the reference voltage from the stabilized power supply circuit 10. , is A/D converted, and the digital amount obtained at this time is D ra
Step 304 is reached as f.

ステップ304では、デジタル1Drefと前記デジタ
ル量Doとの差がA/D変換等のバラツキ(量子化誤差
等を含む)範囲α内(例えば“±10”の範囲内)であ
るか否かを判別し、この差がバラツキ範囲α内にある場
合にはステップ305に進み、またこの差がバラツキ範
囲α内にない場合にはステップ306に進む。ステップ
305では、A/D変換等のバラツキを考慮して、デジ
タル量D1゜、とデジタル1lDrerAv  (この
場合、ROMから読み出したデジタル量D0であるが、
このステップ305が終了後については新たにセットさ
れたデジタルND、、□9が適用される。)との平均を
とりその結果の値をD r*ravとしてセットする。
In step 304, it is determined whether the difference between the digital 1Dref and the digital quantity Do is within the range α (for example, within the range of "±10") due to variations in A/D conversion (including quantization errors, etc.). However, if this difference is within the variation range α, the process proceeds to step 305, and if this difference is not within the variation range α, the process proceeds to step 306. In step 305, taking into account variations in A/D conversion, etc., the digital quantity D1° and the digital quantity 11DrerAv (in this case, the digital quantity D0 read from the ROM,
After this step 305 is completed, the newly set digital ND, , □9 is applied. ) and set the resulting value as Dr*rav.

ステップ306では、A/D変換器30を介してアナロ
グセンサ70からのアナログ入力電圧■、をA/D変換
し、このとき得られたデジタル量をDAとじてステップ
307に進む。ステップ307では、前記デジタルfl
、、t −(固定電圧V ratのA/D変換したデジ
タル量)と前記デジタルfl DrafAvとの差をと
り、この差が所定値β以上(例えば“15”以上)であ
るか否かを判別し、この差が所定値β以上ある場合、す
なわちバッテリ6oの電圧が低下し、基準電圧が低下し
た場合ステップ308に進み、またその差が所定値β以
上でない場合、すなわち基準電圧が低下しない場合ステ
ップ309に進む。ステップ308では、A/D変換し
たアナログ入力電圧■、のデジタルit V Aを以下
の(1)の式により補正する。
In step 306, the analog input voltage (2) from the analog sensor 70 is A/D converted via the A/D converter 30, and the digital amount obtained at this time is treated as DA, and the process proceeds to step 307. In step 307, the digital fl
,, take the difference between t - (A/D converted digital amount of fixed voltage V rat) and the digital fl DrafAv, and determine whether this difference is greater than a predetermined value β (for example, "15" or more) However, if this difference is greater than or equal to the predetermined value β, that is, the voltage of the battery 6o has decreased and the reference voltage has decreased, the process proceeds to step 308, and if the difference is not greater than the predetermined value β, that is, the reference voltage has not decreased. Proceed to step 309. In step 308, the digital it VA of the A/D-converted analog input voltage {circle around (1)} is corrected using the following equation (1).

DA (補正後のデジタルり=DA  (補正前の例え
ば、既述した分解能10ビツトでのA/D変換について
基準電圧が5Vから4Vに低下した場合、このときのl
 LSBの電圧は既に求めたようにグ入力電圧■。を2
.5■、固定電圧V ratを2Vとすると、A/D変
換したデジタル量DAおよびり、。、は、 となる。また固定電圧2Vに相当するデジタル量は、既
述したように410”(この場合デジタル量り、。fA
vに当る)であるので、上記(1)式よりとなる。この
デジタル量“512”は既述した基準電圧5■について
のアナログ入力電圧2.5Vに相当する。これによって
デジタル量DAが補正される。
DA (Digital voltage after correction = DA (For example, before correction, when the reference voltage drops from 5V to 4V for A/D conversion with a resolution of 10 bits, the l at this time is
As already determined, the LSB voltage is the input voltage ■. 2
.. 5) If the fixed voltage V rat is 2V, the A/D converted digital quantity DA and . , becomes . In addition, the digital quantity corresponding to the fixed voltage of 2V is 410'' (in this case, the digital quantity is .fA
(corresponds to v), so it follows from equation (1) above. This digital quantity "512" corresponds to the analog input voltage of 2.5V for the reference voltage 5■ described above. This corrects the digital amount DA.

ステップ309では、デジタル量DAをRAM内に記憶
して再びステップ303に戻り、ステップ303から処
理が行われる。このようにして、固定電圧■1..をA
/D変換したデジタル量D ratをチェックすること
によりバッテリ60の電圧が低下し基準電圧が低下した
としてもアナログ入力電圧をデジタル量に正確にA/D
変換することができる。
In step 309, the digital amount DA is stored in the RAM, and the process returns to step 303, where processing is performed from step 303. In this way, the fixed voltage ■1. .. A
By checking the /D converted digital quantity Drat, even if the voltage of the battery 60 drops and the reference voltage drops, the analog input voltage can be converted into a digital quantity accurately by A/D.
can be converted.

また、第4図は本発明の一実施例の変形動作を示すフロ
ーチャート図であり、第3図に示すフローチャート図が
バッテリ60の電源電圧が基準電圧より低下した場合の
みA/D変換装置の動作を示すのに対して第4図に示す
フローチャート図はバッテリ60の電源電圧が低下した
場合ばかりでなく上昇した場合にも適応できるA/D変
換装置の動作を示すものである。すなわち、この図のス
テップ407において、デジタル量Dr11f(固定電
圧V rerのA/D変換によるデジタル量)とデジタ
ル量D rmfAvとの差の絶対値をとりこの絶対値と
所定値βとの大小を比較することによりバッテリ60の
電源電圧の上昇または低下を検出することができる。こ
の検出に基づいてステップ408では第3図のステップ
308と同様にしてアナログ入力電圧vAをA/D変換
したデジタル量DAを補正する。したがって他のステッ
プすなわちステップ401〜406および409は第3
図のステップ301〜306および309と同様の処理
が行われる。
Further, FIG. 4 is a flowchart showing a modified operation of an embodiment of the present invention, and the flowchart shown in FIG. On the other hand, the flowchart shown in FIG. 4 shows the operation of the A/D converter which can be applied not only when the power supply voltage of the battery 60 decreases but also when it increases. That is, in step 407 of this figure, the absolute value of the difference between the digital quantity Dr11f (digital quantity obtained by A/D conversion of the fixed voltage Vrer) and the digital quantity DrmfAv is taken, and the magnitude of this absolute value and the predetermined value β is determined. By comparison, it is possible to detect an increase or decrease in the power supply voltage of the battery 60. Based on this detection, in step 408, the digital amount DA obtained by A/D converting the analog input voltage vA is corrected in the same manner as step 308 in FIG. Therefore, the other steps 401-406 and 409 are the third steps.
Processing similar to steps 301 to 306 and 309 in the figure is performed.

また、第5図は本発明の一実施例の変形動作を示すフロ
ーチャート図であり、デジタル量D ref(固定電圧
V rmfのA/D変換によるデジタル量)とデジタル
it D r @ f A Vとの間の差にかかわらず
常にデジタル量D□、に応じたアナログ入力電圧V。
Furthermore, FIG. 5 is a flowchart showing a modified operation of an embodiment of the present invention, in which the digital quantity D ref (digital quantity obtained by A/D conversion of the fixed voltage V rmf) and the digital it Dr @ f A V and The analog input voltage V always depends on the digital quantity D□, regardless of the difference between.

をA/D変換したデジタル量DAを補正するものである
。すなわち、第3図のフローチャート図におけるステッ
プ307(Drar  Drarav 〉β?)を省い
たのと同様の処理を行うものである。
This is to correct the digital amount DA obtained by A/D converting. That is, the same processing as in the flowchart of FIG. 3 is performed by omitting step 307 (Dar Drav>β?).

また、第6図は本発明の一実施例の変形動作を示すフロ
ーチャート図であり、予めROM内に記憶した固定電圧
V、、。、のデジタル量D0を読み出して使用するもの
ではなくて、前述したA/D変換装置を駆動操作するス
イッチがオンしたときに固定電圧V ratをA/D変
換器30を介して得たデジタル量を前記デジタルLED
、(いわゆるD refAvとして)として使用するも
のである。これによりROMの記憶容量が不足している
場合に効力を有する。この図において、A/D変換装置
の動作を示す。まず最初に、ステップ601では前述し
たようなイニシャライズが行われてステップ602に進
む。ステップ602では、固定電圧V rpfをA/D
変換し、デジタル量をD rllfを得てステップ60
3に進む。ステップ603ではデジタル量D refを
D□、9にセットしてステップ604に進む。これ以降
のステップすなわちステップ604〜610までは第3
図のステップ303〜309までと同様の処理が行なわ
れる。ただしステップ604では上述したようにデジタ
ル量D0の代わりにデジタルND、fを使用する。また
、ステップ608を省くことにより、第5図で示したよ
うに固定電圧V refのA/D変換によるデジタル1
0.p、とデジタルflD、。fAvとの差にかかわら
ず常にデジタル量D−tに応じたアナログ入力電圧vA
のA/D変換によるデジタルIoaを補正することも可
能である。
FIG. 6 is a flowchart showing a modified operation of an embodiment of the present invention, in which fixed voltages V, . . . are stored in advance in the ROM. , is not used by reading out the digital quantity D0 of The digital LED
, (as so-called DrefAv). This is effective when the storage capacity of the ROM is insufficient. This figure shows the operation of the A/D conversion device. First, in step 601, initialization as described above is performed, and the process proceeds to step 602. In step 602, the fixed voltage V rpf is set to the A/D
Convert and obtain digital quantity D rllf step 60
Proceed to step 3. In step 603, the digital quantity D ref is set to D□,9, and the process proceeds to step 604. The steps after this, that is, steps 604 to 610 are the third step.
Processing similar to steps 303 to 309 in the figure is performed. However, in step 604, as described above, the digital quantity ND, f is used instead of the digital quantity D0. Furthermore, by omitting step 608, digital 1 by A/D conversion of the fixed voltage V ref as shown in FIG.
0. p, and digital flD,. The analog input voltage vA always corresponds to the digital quantity D-t regardless of the difference from fAv.
It is also possible to correct the digital Ioa by A/D conversion.

なお、固定電圧発生回路200はツェナーダイオードの
゛ンエナー電圧、トランジスタのベース・エミッタ間の
電圧または3端子レギュレータからのの出力電圧を固定
電圧として使用してもよい。
Note that the fixed voltage generating circuit 200 may use the energizer voltage of a Zener diode, the voltage between the base and emitter of a transistor, or the output voltage from a three-terminal regulator as the fixed voltage.

なお、固定電圧発生回路200からの固定電圧として基
準電圧より低い電圧としたが、例えば上記、A/D変換
装置が駆動し得る最低の電圧よりは低い電圧を設定して
もよい。
Although the fixed voltage from the fixed voltage generation circuit 200 is set to be lower than the reference voltage, it may be set to a voltage lower than the lowest voltage at which the A/D converter can be driven, for example.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、基準電圧を発生す
る安定化電源回路とは別に固定電圧を発生する手段を設
け、この固定電圧をA/D変換したデジタル量をチェッ
クすることによりバッテリ等の供給電源が変動し基準電
圧が変動したとしてもアナログ人力を正確にデジタル出
力に変換することのできるA/D変換装置が実現される
As explained above, according to the present invention, a means for generating a fixed voltage is provided separately from a stabilized power supply circuit that generates a reference voltage, and by checking a digital quantity obtained by A/D converting this fixed voltage, a battery, etc. An A/D converter is realized that can accurately convert analog human power into digital output even if the power supply varies and the reference voltage varies.

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

第1図は本発明に基づ<A/D変換装置の原理構成を示
すブロック図、 第2図は本発明の一実施例を示すブロック図、第3図は
本発明の一実施例の動作を示すフローチャート図、 第4図〜第6図は本発明の一実施例の変形動作例を示す
フローチャート図、 第7図は従来のA/D変換装置の問題点を説明する図で
ある。 1・・・基準電圧発生部、 2・・・固定電圧発生部、
3・・・A/D変換部、  4・・・演算部、5・・・
A/D変換装置、 6・・・供給電源。
Fig. 1 is a block diagram showing the principle configuration of an A/D conversion device based on the present invention, Fig. 2 is a block diagram showing an embodiment of the present invention, and Fig. 3 is an operation of an embodiment of the present invention. FIGS. 4 to 6 are flowcharts showing modified operation examples of an embodiment of the present invention. FIG. 7 is a diagram illustrating problems with the conventional A/D conversion device. 1... Reference voltage generation section, 2... Fixed voltage generation section,
3... A/D conversion section, 4... Arithmetic section, 5...
A/D converter, 6... power supply.

Claims (1)

【特許請求の範囲】 1、供給電源(6)により基準電圧を発生する基準電圧
発生部(1)と、該基準電圧を用いてアナログ/デジタ
ル(A/D)変換すべきアナログ入力をデジタル出力と
して送出するA/D変換部(3)とを備えるA/D変換
装置において、前記供給電源(6)の電圧変動にかかわ
らず前記基準電圧より低い予め定めた固定電圧を発生す
る固定電圧発生部(2)と、 予め定めた内部A/D変換量を保持し、前記A/D変換
部(3)を介して得た前記固定電圧の外部A/D変換量
と該内部A/D変換量とを比較し、その比較結果に応じ
た補正を前記デジタル出力に加える演算部(4)とを有
することを特徴とするA/D変換装置。 2、前記演算部(4)は前記内部A/D変換量を保持す
る保持手段と、前記外部A/D変換量を取り込む取込み
手段と、該内部A/D変換量と該外部A/D変換量とを
比較する比較手段と、該比較手段から送出される比較結
果に応じてデジタル出力すべきA/D変換量に補正を加
える補正手段とを有する特許請求の範囲第1項に記載の
A/D変換装置。 3、前記比較手段は、前記内部A/D変換量と前記外部
A/D変換量との差が所定値以上になったときにのみ前
記補正手段に比較結果を送出する特許請求の範囲第2項
に記載のA/D変換装置。 4、前記演算部(14)はマイクロコンピュータからな
る特許請求の範囲第2項または第3項に記載のA/D変
換装置。 5、前記固定電圧発生部(2)がダイオードの順方向電
圧により固定電圧を発生する特許請求の範囲第1項に記
載のA/D変換装置。 6、前記固定電圧発生部(2)がトランジスタのベース
・エミッタ間電圧により固定電圧を発生する特許請求の
範囲第1項に記載のA/D変換装置。 7、前記固定電圧発生部(2)がツェナーダイオードの
ツェナー電圧により固定電圧を発生する特許請求の範囲
第1項に記載のA/D変換装置。 8、前記固定電圧発生部(2)が3端子レギュレータか
らの出力電圧により固定電圧を発生する特許請求の範囲
第1項に記載のA/D変換装置。
[Claims] 1. A reference voltage generator (1) that generates a reference voltage using a power supply (6), and a digital output of an analog input to be converted into an analog/digital (A/D) using the reference voltage. In the A/D converter, the A/D converter includes an A/D converter (3) that outputs a fixed voltage, which generates a predetermined fixed voltage lower than the reference voltage regardless of voltage fluctuations of the power supply (6). (2), holding a predetermined internal A/D conversion amount, and an external A/D conversion amount of the fixed voltage obtained via the A/D conversion section (3) and the internal A/D conversion amount; An A/D conversion device comprising: a calculation unit (4) that compares the values with the digital output and adds correction to the digital output according to the comparison result. 2. The arithmetic unit (4) includes a holding means for holding the internal A/D conversion amount, a taking means for taking in the external A/D conversion amount, and a holding means for holding the internal A/D conversion amount, and a holding means for holding the internal A/D conversion amount, and a storage device for storing the internal A/D conversion amount and the external A/D conversion amount. A according to claim 1, comprising a comparison means for comparing the A/D conversion amount and a correction means for correcting the A/D conversion amount to be digitally output according to the comparison result sent from the comparison means. /D conversion device. 3. The comparison means sends a comparison result to the correction means only when the difference between the internal A/D conversion amount and the external A/D conversion amount becomes a predetermined value or more. The A/D conversion device described in . 4. The A/D conversion device according to claim 2 or 3, wherein the arithmetic unit (14) comprises a microcomputer. 5. The A/D conversion device according to claim 1, wherein the fixed voltage generating section (2) generates a fixed voltage using a forward voltage of a diode. 6. The A/D conversion device according to claim 1, wherein the fixed voltage generating section (2) generates a fixed voltage based on the base-emitter voltage of a transistor. 7. The A/D conversion device according to claim 1, wherein the fixed voltage generating section (2) generates a fixed voltage using a Zener voltage of a Zener diode. 8. The A/D conversion device according to claim 1, wherein the fixed voltage generating section (2) generates a fixed voltage based on the output voltage from a three-terminal regulator.
JP13483387A 1987-06-01 1987-06-01 A/d converting device Pending JPS63301625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13483387A JPS63301625A (en) 1987-06-01 1987-06-01 A/d converting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13483387A JPS63301625A (en) 1987-06-01 1987-06-01 A/d converting device

Publications (1)

Publication Number Publication Date
JPS63301625A true JPS63301625A (en) 1988-12-08

Family

ID=15137527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13483387A Pending JPS63301625A (en) 1987-06-01 1987-06-01 A/d converting device

Country Status (1)

Country Link
JP (1) JPS63301625A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03201826A (en) * 1989-12-28 1991-09-03 Matsushita Electric Ind Co Ltd Analog/digital converter
JPH03220915A (en) * 1990-01-26 1991-09-30 Mitsubishi Electric Corp A/d converter
JPH07111455A (en) * 1993-10-12 1995-04-25 Nec Corp Parallel a/d converter provided with test function
JPH08298462A (en) * 1995-04-27 1996-11-12 Nec Corp Semiconductor device
JP2017028613A (en) * 2015-07-27 2017-02-02 株式会社デンソー Controller, and electrically-driven power steering device using the same

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51132066A (en) * 1975-05-13 1976-11-16 Mitsubishi Electric Corp A-d converter
JPS5735419A (en) * 1980-08-12 1982-02-26 Honda Motor Co Ltd Analog-to-digital converter for car
JPS57143852A (en) * 1981-03-03 1982-09-06 Nippon Telegr & Teleph Corp <Ntt> Semiconductor integrated circuit device
JPS58212220A (en) * 1982-06-04 1983-12-09 Fuji Xerox Co Ltd Method for compensating offset voltage of analog- digital converter
JPS59228416A (en) * 1983-06-09 1984-12-21 Fuji Electric Co Ltd Analog-digital converting system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51132066A (en) * 1975-05-13 1976-11-16 Mitsubishi Electric Corp A-d converter
JPS5735419A (en) * 1980-08-12 1982-02-26 Honda Motor Co Ltd Analog-to-digital converter for car
JPS57143852A (en) * 1981-03-03 1982-09-06 Nippon Telegr & Teleph Corp <Ntt> Semiconductor integrated circuit device
JPS58212220A (en) * 1982-06-04 1983-12-09 Fuji Xerox Co Ltd Method for compensating offset voltage of analog- digital converter
JPS59228416A (en) * 1983-06-09 1984-12-21 Fuji Electric Co Ltd Analog-digital converting system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03201826A (en) * 1989-12-28 1991-09-03 Matsushita Electric Ind Co Ltd Analog/digital converter
JPH03220915A (en) * 1990-01-26 1991-09-30 Mitsubishi Electric Corp A/d converter
JPH07111455A (en) * 1993-10-12 1995-04-25 Nec Corp Parallel a/d converter provided with test function
JPH08298462A (en) * 1995-04-27 1996-11-12 Nec Corp Semiconductor device
JP2017028613A (en) * 2015-07-27 2017-02-02 株式会社デンソー Controller, and electrically-driven power steering device using the same

Similar Documents

Publication Publication Date Title
US7116258B2 (en) A/D converter, D/A converter and voltage source
JPS63301625A (en) A/d converting device
JPH08298462A (en) Semiconductor device
JP4613929B2 (en) A / D conversion circuit
JPH0927749A (en) Voltage monitor device
US6717393B2 (en) System for difference calculation using a quad slope converter
JP2000068830A (en) Da converter and successive-comparison type ad converter using the da converter
US6600434B2 (en) A/D conversion device and A/D converter error correction device
US11831326B2 (en) Analog-to-digital conversion system and analog-to-digital conversion method
JP2005026830A (en) A/d converter
JPH0547006B2 (en)
JPS5913418A (en) Signal processor
JP2002368615A (en) Analog-to-digital converter
JPH0771001B2 (en) DA converter with error correction circuit
JP4536498B2 (en) Analog to digital converter
JP2019012962A (en) Semiconductor device
CN113741612A (en) Temperature sensor
JPS6029025A (en) Offset/drift correcting circuit for analog-digital converter
JPS61171226A (en) A/d converter
JPS6080712A (en) Device for correcting voltage of pressure sensor
JPH1188165A (en) Input device and input method for analog signal and recording medium
JPS55138924A (en) Analog-to-digital converting device
JPH01231431A (en) A/d converting circuit
JP2005252794A (en) Method and device for correcting input signal
JP2007266951A (en) Analog/digital converter