JPH0527908A - Analog data processor - Google Patents

Analog data processor

Info

Publication number
JPH0527908A
JPH0527908A JP20544891A JP20544891A JPH0527908A JP H0527908 A JPH0527908 A JP H0527908A JP 20544891 A JP20544891 A JP 20544891A JP 20544891 A JP20544891 A JP 20544891A JP H0527908 A JPH0527908 A JP H0527908A
Authority
JP
Japan
Prior art keywords
power supply
voltage
sensor
analog
conversion
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
JP20544891A
Other languages
Japanese (ja)
Inventor
Junichi Narisawa
順市 成澤
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.)
Hitachi Construction Machinery Co Ltd
Original Assignee
Hitachi Construction Machinery 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 Hitachi Construction Machinery Co Ltd filed Critical Hitachi Construction Machinery Co Ltd
Priority to JP20544891A priority Critical patent/JPH0527908A/en
Publication of JPH0527908A publication Critical patent/JPH0527908A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the analog data processor having high reliability against the fluctuation of a power supply voltage or the short-circuit accident of a power source. CONSTITUTION:This device having the high reliability against the fluctuation of the power supply voltage or the short-circuit accident of the power source is equipped with a first power source 32 to impress a voltage to the both terminals of the potentiometers of sensors 41 and 42 composed of the ptentiometers, A/D converting means 1 to convert the power supply voltage of this first power source 32 and analog voltages outputted from the potentiometers of the sensors to digital values corresponding to those voltage levels, second power source 31 to supply normal power and reference power in the case of A/D conversion to this A/D converting means 1, and correcting means 1 to correct the digital values of the analog voltages outputted from the sensors 41 and 42 based on the digital value of the power supply voltage from the first power source 32.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ポテンショメーターを
用いて位置や角度などを検出するセンサのアナログ信号
出力をディジタル信号に変換するアナログデータ処理装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an analog data processing device for converting an analog signal output of a sensor for detecting a position, an angle and the like using a potentiometer into a digital signal.

【0002】[0002]

【従来の技術】ポテンショメーターを用いたセンサによ
って位置や角度などを検出し、これらのセンサから出力
される検出位置や検出角度に応じたアナログ電圧をディ
ジタル信号に変換するA/D変換器を有したアナログデ
ータ処理装置が知られている。
2. Description of the Related Art An A / D converter for detecting a position, an angle and the like by a sensor using a potentiometer and converting an analog voltage output from these sensors according to the detected position and the detected angle into a digital signal is provided. Analog data processing devices are known.

【0003】図3,図4は、従来のアナログデータ処理
装置を示す回路図である。図3において、A/D変換ユ
ニット1は、バスラインを介してマイクロコンピュータ
2と接続され、マイクロコンピュータ2から種々の制御
信号を入力するとともに、A/D変換結果のディジタル
信号をマイクロコンピュータ2へ出力する。またA/D
変換ユニット1は、直流安定化電源ユニット3と接続さ
れ、端子Vcc,Vssを介して通常の電源(以下、シ
ステム電源と呼ぶ)を入力し、端子AVcc,AVss
を介してA/D変換用の基準電圧を入力する。すなわ
ち、図3に示すアナログデータ処理装置では、A/D変
換ユニット1のシステム電源と、A/D変換用の基準電
圧とを共通の直流安定化電源ユニット3から供給してい
る。なお、直流安定化電源ユニット3は、センサ41,
42のポテンショメーターの両端へ直流電圧を印加する
とともに(以下では、センサ電源電圧と呼ぶ)、マイク
ロコンピュータ2へもシステム電源を供給する。センサ
41,42は、ポテンショメーターの両端に印加されて
いるセンサ電源電圧を検出位置あるいは検出角度に応じ
て分圧し、A/D変換ユニット1のアナログ信号入力端
子Ain,Ain+1へ出力する。
3 and 4 are circuit diagrams showing a conventional analog data processing device. In FIG. 3, an A / D conversion unit 1 is connected to a microcomputer 2 via a bus line, inputs various control signals from the microcomputer 2, and sends a digital signal of the A / D conversion result to the microcomputer 2. Output. Also A / D
The conversion unit 1 is connected to the stabilized DC power supply unit 3, receives a normal power supply (hereinafter referred to as a system power supply) via the terminals Vcc and Vss, and receives the terminals AVcc and AVss.
A reference voltage for A / D conversion is input via. That is, in the analog data processing device shown in FIG. 3, the system power supply of the A / D conversion unit 1 and the reference voltage for A / D conversion are supplied from the common DC stabilized power supply unit 3. The stabilized DC power supply unit 3 includes a sensor 41,
A DC voltage is applied to both ends of the potentiometer 42 (hereinafter referred to as a sensor power supply voltage), and system power is also supplied to the microcomputer 2. The sensors 41 and 42 divide the sensor power supply voltage applied to both ends of the potentiometer according to the detection position or the detection angle, and output the divided voltage to the analog signal input terminals Ain and Ain + 1 of the A / D conversion unit 1.

【0004】一方、図4に示すアナログデータ処理装置
では、A/D変換ユニット1およびマイクロコンピュー
タ2へ供給するシステム電源と、A/D変換ユニット1
の基準電圧およびセンサ41,42の電源電圧とをそれ
ぞれ別個の電源ユニットから供給する。すなわち、直流
安定化電源ユニット31からA/D変換ユニット1およ
びマイクロコンピュータ2の端子Vcc,Vssへシス
テム電源を供給し、他の直流安定化電源ユニット32か
らA/D変換ユニット1の端子AVcc,AVssへ基
準電圧を供給するとともに、センサ41,42のポテン
ショメーターの両端へセンサ電源電圧を供給する。
On the other hand, in the analog data processing device shown in FIG. 4, the system power supply supplied to the A / D conversion unit 1 and the microcomputer 2, and the A / D conversion unit 1
And the power supply voltage of the sensors 41 and 42 are supplied from separate power supply units. That is, system power is supplied from the DC stabilized power supply unit 31 to the terminals Vcc and Vss of the A / D conversion unit 1 and the microcomputer 2, and the other DC stabilized power supply unit 32 supplies the terminal AVcc of the A / D conversion unit 1. The reference voltage is supplied to AVss, and the sensor power supply voltage is supplied to both ends of the potentiometers of the sensors 41 and 42.

【0005】A/D変換ユニット1は、アナログ信号入
力端子Vin,Vin+1へ入力されるセンサ41,4
2からのアナログ信号電圧を、端子AVcc,AVss
へ入力される基準電圧との比としてディジタル信号に変
換する。図3および図4に示すいずれの装置において
も、センサ41,42へ印加されるセンサ電源電圧と、
A/D変換ユニット1へ印加される基準電圧とが同じ直
流安定化電源ユニット3または32から供給されている
ので、直流安定化電源ユニット3,32に出力電圧変動
があっても、基準電圧とセンサ電源電圧を分圧したセン
サ41,42の出力電圧とは同じ割合で変動する。すな
わち、直流安定化電源ユニット3,32の出力電圧が変
動しても、センサ41,42から出力されるアナログ信
号に対して常に正しいA/D変換結果が得られる。
The A / D conversion unit 1 includes sensors 41 and 4 which are input to analog signal input terminals Vin and Vin + 1.
The analog signal voltage from 2 is supplied to terminals AVcc and AVss.
It is converted to a digital signal as a ratio with the reference voltage input to the. In both of the devices shown in FIGS. 3 and 4, the sensor power supply voltage applied to the sensors 41 and 42,
Since the reference voltage applied to the A / D conversion unit 1 is supplied from the same DC stabilized power supply unit 3 or 32, even if the output voltage changes in the DC stabilized power supply units 3 and 32, The output voltage of the sensors 41, 42 obtained by dividing the sensor power supply voltage changes at the same rate. That is, even if the output voltage of the stabilized DC power supply units 3 and 32 fluctuates, a correct A / D conversion result can always be obtained for the analog signals output from the sensors 41 and 42.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、図3に
示す従来の装置では、システム電源と、基準電源および
センサ電源とを共通の電源ユニットから供給しており、
もし、外部に設置されたセンサまたはその配線が短絡す
ると、システム電源の供給も停止して装置が作動停止す
る。
However, in the conventional device shown in FIG. 3, the system power supply, the reference power supply and the sensor power supply are supplied from a common power supply unit.
If an externally installed sensor or its wiring is short-circuited, the system power supply is stopped and the device stops operating.

【0007】一方、図4に示す従来の装置では、システ
ム電源と、基準電源およびセンサ電源とを別個の電源ユ
ニットから供給しており、基準電源およびセンサ電源に
おいて上述した短絡事故が発生しても、システム電源は
継続して供給され、装置は停止しない。しかし、この図
4に示す従来装置には、次のような欠点がある。すなわ
ち、A/D変換ユニットのシステム電源と基準電源とが
独立しているので、何等かの原因でこれらの電源に電圧
差が発生すると、A/D変換ユニット1がラッチアップ
を起こすことがあり、装置が正常に動作しなくなった
り、A/D変換ユニット1が破損することがある。特
に、電源系統に外部の電気機器の開閉ノイズが侵入した
り、静電気ノイズが加わると、それぞれの電源の高周波
特性の差によって電圧差が発生し、ラッチアップが起こ
りやすくなる。
On the other hand, in the conventional apparatus shown in FIG. 4, the system power supply and the reference power supply and the sensor power supply are supplied from separate power supply units, and even if the above-mentioned short circuit accident occurs in the reference power supply and the sensor power supply. , The system power is supplied continuously, and the equipment does not stop. However, the conventional device shown in FIG. 4 has the following drawbacks. That is, since the system power supply of the A / D conversion unit and the reference power supply are independent, if a voltage difference occurs between these power supplies for some reason, the A / D conversion unit 1 may cause latch-up. , The device may not operate normally or the A / D conversion unit 1 may be damaged. In particular, when switching noise of an external electric device enters the power supply system or static electricity noise is applied, a voltage difference occurs due to the difference in the high frequency characteristics of the respective power supplies, and latch-up easily occurs.

【0008】本発明の目的は、電源電圧の変動や電源の
短絡事故に対して信頼性の高いアナログデータ処理装置
を提供することにある。
An object of the present invention is to provide an analog data processing device which is highly reliable against fluctuations in power supply voltage and short-circuit accidents in the power supply.

【0009】[0009]

【課題を解決するための手段】一実施例を示す図1に対
応づけて本発明を説明すると、請求項1発明は、ポテン
ショメーターから成るセンサ41,42のポテンショメ
ーターの両端へ電圧を印加する第1の電源32と、この
第1の電源32の電源電圧と、センサ41,42のポテ
ンショメーターから出力されたアナログ電圧とをそれら
の電圧レベルに応じたディジタル値に変換するA/D変
換手段1と、このA/D変換手段1へ通常の電源とA/
D変換時の基準電源とを供給する第2の電源31と、第
1の電源32の電源電圧のディジタル値に基づいて、セ
ンサ41,42から出力されたアナログ電圧のディジタ
ル値を補正する補正手段1とを備え、これにより、上記
目的を達成する。また請求項2の発明は、第1の電源3
2の電源電圧を分圧する分圧手段5a,5bを備え、A
/D変換手段1は、分圧手段5a,5bで分圧された第
1の電源32の分圧電圧と、センサ41,42のポテン
ショメーターから出力されたアナログ電圧とをそれらの
電圧レベルに応じたディジタル値に変換し、補正手段1
は、第1の電源32の分圧電圧のディジタル値と分圧手
段5a,5bの分圧比とに基づいて、センサ41,42
から出力されたアナログ電圧のディジタル値を補正す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described with reference to FIG. 1 showing an embodiment. Claim 1 of the present invention relates to a first embodiment in which a voltage is applied to both ends of potentiometers of sensors 41 and 42 comprising potentiometers. Power supply 32, A / D conversion means 1 for converting the power supply voltage of the first power supply 32 and the analog voltage output from the potentiometers of the sensors 41 and 42 into digital values according to their voltage levels, To this A / D conversion means 1, a normal power source and A /
Correction means for correcting the digital value of the analog voltage output from the sensors 41 and 42 based on the digital value of the power supply voltage of the second power supply 31 that supplies the reference power supply for D conversion and the first power supply 32. 1 and, thereby achieving the above object. The invention of claim 2 is the first power supply 3
A voltage dividing means 5a, 5b for dividing the power supply voltage of 2 is provided.
The / D conversion means 1 determines the divided voltage of the first power supply 32 divided by the voltage dividing means 5a and 5b and the analog voltage output from the potentiometers of the sensors 41 and 42 according to their voltage levels. Correcting means 1 by converting into digital value
Is based on the digital value of the divided voltage of the first power source 32 and the voltage division ratio of the voltage dividing means 5a, 5b.
Corrects the digital value of the analog voltage output from.

【0010】[0010]

【作用】請求項1では、A/D変換手段1が、第2の電
源31から供給されたA/D変換時の基準電源を基準と
して、第1の電源32の電源電圧とセンサ41,42の
ポテンショメーターから出力されたアナログ電圧とをそ
れらの電圧レベルに応じたディジタル値に変換し、補正
手段1が、第1の電源32の電源電圧のディジタル値に
基づいて、センサ41,42から出力されたアナログ電
圧のディジタル値を補正する。請求項2では、A/D変
換手段1が、第2の電源31から供給されたA/D変換
時の基準電源を基準として、分圧手段5a,5bで分圧
された第1の電源32の分圧電圧と、センサ41,42
のポテンショメーターから出力されたアナログ電圧とを
それらの電圧レベルに応じたディジタル値に変換し、補
正手段1が、第1の電源32の分圧電圧のディジタル値
と分圧手段5a,5bの分圧比とに基づいて、センサ4
1,42から出力されたアナログ電圧のディジタル値を
補正する。
According to the present invention, the A / D conversion means 1 uses the reference power supply for A / D conversion supplied from the second power supply 31 as a reference and the power supply voltage of the first power supply 32 and the sensors 41, 42. The analog voltage output from the potentiometer and the digital value corresponding to the voltage level are converted, and the correction means 1 outputs the analog voltage output from the sensors 41 and 42 based on the digital value of the power supply voltage of the first power supply 32. The digital value of the analog voltage is corrected. In the second aspect, the A / D converting means 1 divides the first power source 32 by the voltage dividing means 5a and 5b with reference to the reference power source supplied from the second power source 31 for A / D conversion. Divided voltage of the sensor 41, 42
The analog voltage output from the potentiometer is converted into a digital value corresponding to the voltage level thereof, and the correction means 1 uses the digital value of the divided voltage of the first power source 32 and the voltage division ratio of the voltage dividing means 5a and 5b. Based on the sensor 4
The digital value of the analog voltage output from 1, 42 is corrected.

【0011】なお、本発明の構成を説明する上記課題を
解決するための手段および作用の項では、本発明を分り
やすくするために実施例の図を用いたが、これにより本
発明が実施例に限定されるものではない。
Incidentally, in the section of means and action for solving the above problems for explaining the constitution of the present invention, the drawings of the embodiments are used for the purpose of making the present invention easy to understand. It is not limited to.

【0012】[0012]

【実施例】図1は、一実施例の回路図である。なお、従
来の装置を示す図3,図4と同様な機器に対しては同符
号を付して説明を省略する。A/D変換ユニット1およ
びマイクロコンピュータ2のシステム電源と、A/D変
換ユニット1の基準電源とは、直流安定化電源ユニット
31から供給され、一方、センサ41,42のセンサ電
源は、直流安定化電源ユニット32から供給される。直
流安定化電源ユニット32から供給されるセンサ電源電
圧は、抵抗器5a,5bで分圧され、分圧されたアナロ
グ信号aoはA/D変換ユニット1のアナログ信号入力
端子Aioへ入力される。また、センサ41,42の出
力信号an,an+1は、図3,図4に示す従来装置と
同様にアナログ信号入力端子Ain,Ain+1へ入力
される。なお、センサの数はこの実施例に限定されない
が、ここでは、3個以上のセンサとその配線の図示を省
略する。
FIG. 1 is a circuit diagram of an embodiment. It should be noted that devices similar to those shown in FIGS. 3 and 4 showing the conventional device are designated by the same reference numerals and the description thereof will be omitted. The system power supplies of the A / D conversion unit 1 and the microcomputer 2 and the reference power supply of the A / D conversion unit 1 are supplied from the DC stabilized power supply unit 31, while the sensor power supplies of the sensors 41 and 42 are DC stabilized. It is supplied from the digitalized power supply unit 32. The sensor power supply voltage supplied from the stabilized DC power supply unit 32 is divided by the resistors 5a and 5b, and the divided analog signal ao is input to the analog signal input terminal Aio of the A / D conversion unit 1. The output signals an and an + 1 of the sensors 41 and 42 are input to the analog signal input terminals Ain and Ain + 1 as in the conventional device shown in FIGS. Although the number of sensors is not limited to this embodiment, illustration of three or more sensors and their wirings is omitted here.

【0013】上述したように、A/D変換ユニット1
は、各センサ41,42からのアナログ信号an,an
+1を基準電圧av1との比an/av1,an+1/
av1としてA/D変換する。しかし、センサ41,4
2のセンサ電源とA/D変換ユニット1の基準電源と
は、それぞれ別の安定化電源ユニットへ接続されている
ので、直流安定化電源ユニット31の電源電圧av1が
変動した場合、アナログ信号と基準電圧との比an/a
v1,an+1/av1が変動し、A/D変換結果も変
動する。同様に、直流安定化電源ユニット32の電源電
圧av2が変動した場合、センサ41,42のポテンシ
ョメーターの両端電圧が変動するので、同じ割合でセン
サ41,42の出力電圧an,an+1が変動する。従
って、アナログ信号と基準電圧との比an/av1,a
n+1/av1が変動し、A/D変換結果も変動する。
すなわち、直流安定化電源ユニット31,32の電源電
圧が変動した場合、A/D変換結果のディジタル値は同
じ割合で変動し、正確なアナログデータ処理が行なえな
い。正確なアナログデータ処理を行なうためには、上述
したように、アナログ信号入力an,an+1を、セン
サ電源電圧av2との比an/av2,an+1/av
2としてA/D変換する必要がある。
As described above, the A / D conversion unit 1
Are analog signals an, an from the sensors 41, 42.
+1 is the ratio of the reference voltage av1 to an / av1, an + 1 /
A / D conversion is performed as av1. However, the sensors 41, 4
Since the sensor power supply 2 and the reference power supply of the A / D conversion unit 1 are connected to different stabilized power supply units respectively, when the power supply voltage av1 of the DC stabilized power supply unit 31 changes, the analog signal and the reference Ratio with voltage an / a
v1, an + 1 / av1 change, and the A / D conversion result also changes. Similarly, when the power supply voltage av2 of the stabilized DC power supply unit 32 fluctuates, the voltage across the potentiometers of the sensors 41 and 42 fluctuates, so the output voltages an and an + 1 of the sensors 41 and 42 fluctuate at the same rate. Therefore, the ratio of the analog signal and the reference voltage an / av1, a
n + 1 / av1 changes and the A / D conversion result also changes.
That is, when the power supply voltage of the stabilized DC power supply units 31 and 32 fluctuates, the digital value of the A / D conversion result fluctuates at the same rate, and accurate analog data processing cannot be performed. In order to perform accurate analog data processing, as described above, the ratio of the analog signal inputs an and an + 1 to the sensor power supply voltage av2, an / av2 and an + 1 / av.
It is necessary to perform A / D conversion as 2.

【0014】そこで、本発明のアナログデータ処理装置
では、抵抗値R1,R2を有する抵抗器5a,5bによ
ってセンサ電源電圧av2を分圧し、その分圧信号ao
をアナログ信号入力としてA/D変換ユニット1の入力
端子Aioへ入力する。ここで、 ao=R2/(R1+R2)×av2 ・・・(1) av2=(R1+R2)/R2×ao ・・・(2) 従って、アナログ信号anとセンサ電源電圧av2との
比an/av2は、 an/av2=R2/(R1+R2)×an/ao ・・・(3) ところで、基準電圧av1に対して得られたアナログ信
号ao,anのA/D変換結果のディジタル値をそれぞ
れADo,ADnとすれば、 an/ao=ADn/ADo ・・・(4) の関係が成立し、比an/av2は、 an/av2=R2/(R1+R2)×an/ao =K×ADn/ADo=ADn* ・・・(5) ここで、Kは、抵抗器5a,5bによる分圧比R2/
(R1+R2)である。となる。すなわち(5)式は、
アナログ信号anの正しいディジタル値が、アナログ信
号anのディジタル値ADnに補正係数K/ADoを乗
じて算出されることを示している。同様に、比an+1
/av2は、 an+1/av2=K×ADn+1/ADo=ADn+1* ・・・(6) となる。
Therefore, in the analog data processing device of the present invention, the sensor power supply voltage av2 is divided by the resistors 5a and 5b having resistance values R1 and R2, and the divided voltage signal ao.
Is input to the input terminal Aio of the A / D conversion unit 1 as an analog signal input. Here, ao = R2 / (R1 + R2) × av2 (1) av2 = (R1 + R2) / R2 × ao (2) Therefore, the ratio an / av2 between the analog signal an and the sensor power supply voltage av2 is , An / av2 = R2 / (R1 + R2) × an / ao (3) By the way, the digital values of the A / D conversion results of the analog signals ao and an obtained for the reference voltage av1 are ADo and ADn, respectively. Then, the relationship of an / ao = ADn / ADo (4) holds, and the ratio an / av2 is as follows: an / av2 = R2 / (R1 + R2) * an / ao = K * ADn / ADo = ADn *・ ・ ・ (5) where K is the voltage division ratio R2 / R by the resistors 5a and 5b.
(R1 + R2). Becomes That is, equation (5) is
It indicates that the correct digital value of the analog signal an is calculated by multiplying the digital value ADn of the analog signal an by the correction coefficient K / ADo. Similarly, the ratio an + 1
/ Av2 becomes an + 1 / av2 = K × ADn + 1 / ADo = ADn + 1 * (6).

【0015】図2は、A/D変換ユニット1におけるA
/D変換動作を示すブロック図である。図1,図2によ
りアナログデータ処理動作を説明する。A/D変換ブロ
ック100において、分圧信号aoおよびアナログ信号
入力an,an+1を基準電圧av1との比としてA/
D変換し、ディジタル値ADo,ADn,ADn+1を
得る。分圧信号aoのディジタル値ADoは、関数変換
ブロック200で抵抗器5a,5bの分圧比Kに基づい
て補正係数K/ADoに変換される。次に、乗算ブロッ
ク300で、アナログ信号入力an,an+1のディジ
タル値ADn,ADn+1と補正係数K/ADoの乗算
が行なわれ、アナログ信号入力an,an+1をセンサ
電源電圧av2との比an/av2,an+1/av2
としてA/D変換した正しいディジタル値ADn*,A
Dn+1*が算出される。
FIG. 2 shows A in the A / D conversion unit 1.
It is a block diagram which shows / D conversion operation. The analog data processing operation will be described with reference to FIGS. In the A / D conversion block 100, the divided voltage signal ao and the analog signal inputs an and an + 1 are set as A / D as a ratio with the reference voltage av1.
D conversion is performed to obtain digital values ADo, ADn, ADn + 1. The digital value ADo of the voltage division signal ao is converted by the function conversion block 200 into a correction coefficient K / ADo based on the voltage division ratio K of the resistors 5a and 5b. Next, in the multiplication block 300, the digital values ADn and ADn + 1 of the analog signal inputs an and an + 1 are multiplied by the correction coefficient K / ADo, and the ratio of the analog signal inputs an and an + 1 to the sensor power supply voltage av2 an / av2. an + 1 / av2
A / D converted correct digital value ADn * , A
Dn + 1 * is calculated.

【0016】このように、装置のシステム電源をA/D
変換用の基準電源電圧として用い、センサ電源だけを別
個に設け、センサ電源電圧を抵抗器で分圧した分圧信号
のA/D変換結果ADoと分圧比Kとに基づいて補正係
数K/ADoを求め、各センサから入力されるアナログ
信号入力のA/D変換結果ADn,ADn+1に補正係
数K/ADoを乗じて各センサからのアナログデータを
処理するようにした。これによって、 (1)従来の装置と同様に、各センサからのアナログ信
号が、センサ電源電圧に対する比としてディジタル値に
変換され、センサ電源およびシステム電源の電圧変動が
あってもその影響を受けない。 (2)同じ電源ユニットからA/D変換ユニットのシス
テム電源と基準電源とに電源が供給されるので、ラッチ
アップによる装置の作動停止や装置の破損事故がない。 (3)外部のセンサまたはセンサの配線系統において、
センサ電源の短絡事故が発生した時でも、システム電源
からA/D変換ユニットおよびマイクロコンピュータへ
通常の電源が供給されるとともに、A/D変換ユニット
の基準電源も継続して供給されるので、センサが短絡し
たことが検出でき、表示器または警報器によって表示ま
たは警報することにより故障発生時のサービス性が向上
する。 (4)センサ電源は高い安定性は必要ないので安価な安
定化電源が使用可能となり、経済的な装置を構成でき
る。 (5)センサ電源とA/D変換ユニットの基準電源との
電源電圧値が異なっていてもよく、これによって特殊な
電圧仕様のセンサが使用可能になり、装置の応用範囲が
広くなる。
In this way, the system power supply of the device is controlled by the A / D.
It is used as a reference power supply voltage for conversion, only the sensor power supply is separately provided, and the correction coefficient K / ADo is obtained based on the A / D conversion result ADo of the voltage division signal obtained by dividing the sensor power supply voltage by the resistor and the voltage division ratio K. Then, the analog data from each sensor is processed by multiplying the A / D conversion results ADn and ADn + 1 of the analog signal input from each sensor by the correction coefficient K / ADo. As a result, (1) the analog signal from each sensor is converted into a digital value as a ratio to the sensor power supply voltage, as in the case of the conventional device, and is not affected by the voltage fluctuations of the sensor power supply and the system power supply. . (2) Since power is supplied to the system power supply and the reference power supply of the A / D conversion unit from the same power supply unit, there is no operation stoppage or device damage due to latch-up. (3) In an external sensor or sensor wiring system,
Even if a short circuit accident occurs in the sensor power supply, the system power supply supplies normal power to the A / D conversion unit and the microcomputer, and the reference power supply for the A / D conversion unit also continues to be supplied. It is possible to detect that a short circuit has occurred, and by displaying or issuing an alarm with a display or alarm device, serviceability at the time of failure occurrence is improved. (4) Since the sensor power supply does not need high stability, an inexpensive stabilized power supply can be used, and an economical device can be configured. (5) The power supply voltage values of the sensor power supply and the reference power supply of the A / D conversion unit may be different, which allows the use of a sensor with a special voltage specification, which broadens the application range of the device.

【0017】なお上述した実施例では、センサ電源電圧
を抵抗器で分圧したが、センサ電源電圧をそのままA/
D変換ユニット1でディジタル値に変換し、そのディジ
タル値に基づいて上述したアナログ信号のデータ処理を
行なってもよい。この場合、センサ電源電圧とA/D変
換ユニットの基準電圧とが同じとなるような電圧仕様の
センサを用いる必要がある。
In the above-described embodiment, the sensor power supply voltage is divided by the resistor, but the sensor power supply voltage is A /
The D conversion unit 1 may convert it into a digital value and perform the above-described data processing of the analog signal based on the digital value. In this case, it is necessary to use a sensor with a voltage specification such that the sensor power supply voltage and the reference voltage of the A / D conversion unit are the same.

【0018】上述した実施例では、センサを2個使用
し、各センサからのアナログ信号を処理する例を示した
が、センサの数およびA/D変換ユニットのアナログ信
号入力数は上記実施例に限定されない。
In the above-described embodiment, an example in which two sensors are used and an analog signal from each sensor is processed is shown. However, the number of sensors and the number of analog signal inputs of the A / D conversion unit are different from those in the above embodiment. Not limited.

【0019】また上記実施例では、A/D変換ユニット
1でA/D変換および補正動作を行うようにしたが、A
/D変換ユニット1でA/D変換動作を行い、マイクロ
コンピュータ2で補正動作を行うようにしてもよい。
In the above embodiment, the A / D conversion unit 1 performs the A / D conversion and the correction operation.
The A / D conversion operation may be performed by the / D conversion unit 1 and the correction operation may be performed by the microcomputer 2.

【0020】以上の実施例の構成において、直流安定化
電源ユニット32が第1の電源を、直流安定化電源ユニ
ット31が第2の電源を、A/D変換ユニット1がA/
D変換手段および補正手段を、抵抗器5a,5bが分圧
手段をそれぞれ構成する。
In the configuration of the above embodiment, the stabilized DC power supply unit 32 is the first power supply, the stabilized DC power supply unit 31 is the second power supply, and the A / D conversion unit 1 is the A / D conversion unit.
The resistors 5a and 5b constitute the voltage dividing means and the D converting means and the correcting means, respectively.

【0021】[0021]

【発明の効果】以上説明したように請求項1の発明によ
れば、第1の電源からセンサへ電源を供給し、第2の電
源からA/D変換手段へ通常の電源とA/D変換時の基
準電源とを供給し、A/D変換手段で第1の電源の電源
電圧とセンサのポテンショメーターから出力されたアナ
ログ電圧とをディジタル値に変換し、第1の電源の電源
電圧のディジタル値に基づいてセンサから出力されたア
ナログ電圧のディジタル値を補正するようにしたので、
A/D変換手段の通常の電源(システム電源)とA/D
変換用の基準電源との電源電圧の差に起因したラッチア
ップ事故の発生がなく、さらに、外部のセンサまたはセ
ンサの配線系統において短絡事故が発生しても装置全体
が作動停止せず、装置の信頼性が向上する。また、セン
サ電源には安価な電源ユニットが使用でき経済的な装置
を構成できる。また請求項2の発明によれば、第1の電
源の電源電圧を分圧し、A/D変換手段で第1の電源の
分圧電圧とセンサのポテンショメーターから出力された
アナログ電圧とをディジタル値に変換し、第1の電源の
分圧電圧のディジタル値と分圧比とに基づいてセンサか
ら出力されたアナログ電圧のディジタル値を補正するよ
うにしたので、上記請求項1の発明の効果に加え、セン
サ電源電圧とA/D変換ユニットの基準電圧とが同じで
ある必要がなく、種々の電圧仕様のセンサが使用可能に
なり、装置の応用範囲が広くなる。
As described above, according to the invention of claim 1, the first power source supplies power to the sensor, and the second power source supplies A / D conversion means to the normal power supply and A / D conversion means. The reference voltage of the power source is supplied, and the A / D conversion means converts the power source voltage of the first power source and the analog voltage output from the potentiometer of the sensor into a digital value to obtain a digital value of the power source voltage of the first power source. Since the digital value of the analog voltage output from the sensor is corrected based on
Normal power supply (system power supply) for A / D conversion means and A / D
There is no latch-up accident due to the difference in power supply voltage from the reference power supply for conversion, and even if a short-circuit accident occurs in the external sensor or sensor wiring system, the entire device does not stop operating, Improves reliability. In addition, an inexpensive power supply unit can be used for the sensor power supply, and an economical device can be configured. According to the invention of claim 2, the power supply voltage of the first power supply is divided, and the divided voltage of the first power supply and the analog voltage output from the potentiometer of the sensor are converted into digital values by the A / D conversion means. The digital value of the analog voltage output from the sensor is corrected based on the digital value and the voltage division ratio of the divided voltage of the first power source. Therefore, in addition to the effect of the invention of claim 1, The sensor power supply voltage does not have to be the same as the reference voltage of the A / D conversion unit, and sensors of various voltage specifications can be used, and the application range of the device is widened.

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

【図1】一実施例の装置の回路図。FIG. 1 is a circuit diagram of an apparatus according to an embodiment.

【図2】本発明に係わるアナログデータ処理動作を示す
ブロック図。
FIG. 2 is a block diagram showing an analog data processing operation according to the present invention.

【図3】従来のアナログデータ処理装置の回路図。FIG. 3 is a circuit diagram of a conventional analog data processing device.

【図4】従来のアナログデータ処理装置の回路図。FIG. 4 is a circuit diagram of a conventional analog data processing device.

【符号の説明】[Explanation of symbols]

1 A/D変換ユニット 2 マイクロコンピュータ 3,31,32 直流安定化電源ユニット 41,42 センサ 5a,5b 抵抗器 100 A/D変換ブロック 200 関数変換ブロック 300 乗算ブロック 1 A / D conversion unit 2 microcomputer 3,31,32 DC stabilized power supply unit 41,42 sensor 5a, 5b resistors 100 A / D conversion block 200 Function conversion block 300 multiplication block

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】ポテンショメーターから成るセンサの前記
ポテンショメーターの両端へ電圧を印加する第1の電源
と、 この第1の電源の電源電圧と、前記センサのポテンショ
メーターから出力されたアナログ電圧とをそれらの電圧
レベルに応じたディジタル値に変換するA/D変換手段
と、 このA/D変換手段へ通常の電源とA/D変換時の基準
電源とを供給する第2の電源と、 前記第1の電源の電源電圧のディジタル値に基づいて、
前記センサから出力されたアナログ電圧のディジタル値
を補正する補正手段とを備えることを特徴とするアナロ
グデータ処理装置。
1. A first power supply for applying a voltage across the potentiometer of a sensor comprising a potentiometer, a power supply voltage of the first power supply, and an analog voltage output from the potentiometer of the sensor. A / D conversion means for converting into a digital value according to the level, a second power supply for supplying the A / D conversion means with a normal power supply and a reference power supply for A / D conversion, and the first power supply. Based on the digital value of the power supply voltage of
An analog data processing device, comprising: a correction unit that corrects a digital value of an analog voltage output from the sensor.
【請求項2】請求項1に記載のアナログデータ処理装置
において、 前記第1の電源の電源電圧を分圧する分圧手段を備え、 前記A/D変換手段は、前記分圧手段で分圧された前記
第1の電源の分圧電圧と、前記センサのポテンショメー
ターから出力されたアナログ電圧とをそれらの電圧レベ
ルに応じたディジタル値に変換し、 前記補正手段は、前記第1の電源の分圧電圧のディジタ
ル値と前記分圧手段の分圧比とに基づいて、前記センサ
から出力されたアナログ電圧のディジタル値を補正する
ことを特徴とするアナログデータ処理装置。
2. The analog data processing device according to claim 1, further comprising a voltage dividing means for dividing the power supply voltage of the first power supply, wherein the A / D conversion means is divided by the voltage dividing means. In addition, the divided voltage of the first power supply and the analog voltage output from the potentiometer of the sensor are converted into digital values according to their voltage levels, and the correcting means divides the divided voltage of the first power supply. An analog data processing device, wherein the digital value of the analog voltage output from the sensor is corrected based on the digital value of the voltage and the voltage division ratio of the voltage dividing means.
JP20544891A 1991-07-22 1991-07-22 Analog data processor Pending JPH0527908A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20544891A JPH0527908A (en) 1991-07-22 1991-07-22 Analog data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20544891A JPH0527908A (en) 1991-07-22 1991-07-22 Analog data processor

Publications (1)

Publication Number Publication Date
JPH0527908A true JPH0527908A (en) 1993-02-05

Family

ID=16507052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20544891A Pending JPH0527908A (en) 1991-07-22 1991-07-22 Analog data processor

Country Status (1)

Country Link
JP (1) JPH0527908A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005055904A (en) * 2003-08-04 2005-03-03 Samsung Electronics Co Ltd Image forming system, method and device for correcting deviation of power source voltage in image forming system, and write-in medium readable by computer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005055904A (en) * 2003-08-04 2005-03-03 Samsung Electronics Co Ltd Image forming system, method and device for correcting deviation of power source voltage in image forming system, and write-in medium readable by computer

Similar Documents

Publication Publication Date Title
US4542468A (en) Ground detection arrangement for an A.C. generator
US6278389B1 (en) Sensor arrangement with measurement error detection
US8055404B2 (en) Sensor apparatus
JPH0527908A (en) Analog data processor
JPH05107292A (en) Disconnection detector
JPH0927749A (en) Voltage monitor device
JPH10337007A (en) Dc-dc converter
JP2973444B2 (en) Short circuit detection device for potentiometer type sensor
JP4711248B2 (en) Method and apparatus for detecting excessive negative offset of a sensor
US6539322B1 (en) Sensor device
JP3070308B2 (en) Heat detector
JPH04113367A (en) Switch input detection device
JPH01223360A (en) Voltage monitoring circuit
WO2022176522A1 (en) Sensor device
KR200172667Y1 (en) Level discriminating circuit of input-voltage
KR970007805B1 (en) Color level control circuit of television
JPH0682510A (en) Disconnection detector for variable resistor
JPH035634B2 (en)
KR890001657Y1 (en) Power source voltage variation detection circuit
JPH0521366B2 (en)
JPH0630449A (en) Abnormal voltage detecting circuit
JP3089807B2 (en) Temperature characteristic correction circuit
JPH0547874U (en) Variable resistor output detector
JPS6258209B2 (en)
JP3210127B2 (en) Voltage pulse width conversion circuit