JPS61222322A - Analog-digital signal converter - Google Patents

Analog-digital signal converter

Info

Publication number
JPS61222322A
JPS61222322A JP970984A JP970984A JPS61222322A JP S61222322 A JPS61222322 A JP S61222322A JP 970984 A JP970984 A JP 970984A JP 970984 A JP970984 A JP 970984A JP S61222322 A JPS61222322 A JP S61222322A
Authority
JP
Japan
Prior art keywords
scanner
input
analog
output
transducer
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
JP970984A
Other languages
Japanese (ja)
Inventor
Katsuhiko Shimoda
下田 勝彦
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.)
Nissin Electric Co Ltd
Original Assignee
Nissin Electric 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 Nissin Electric Co Ltd filed Critical Nissin Electric Co Ltd
Priority to JP970984A priority Critical patent/JPS61222322A/en
Publication of JPS61222322A publication Critical patent/JPS61222322A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To decrease the number of transducers by activating the transducer inputting the output of an input classification circuit and a scanner having plural analog signal inputs while the conversion mode is switched in response to the input classification. CONSTITUTION:Scanners D1, D2 have plural analog inputs respectively. Input classification circuits E1, E2 output a classification signal and a range selection signal in response to the analog input classification. The scanners D1, D2 have different scan periods respectively. The transducer F1 converts the output of the scanners D1, D2 by using the conversion mode and range set by the output of the circuits E1, E2. The analog output of the transducer F1 is converted into a digital output by an A/D converter H. Thus, plural input signals are converted by using one transducer.

Description

【発明の詳細な説明】 この発明は、電流入力、電圧入力、抵抗入力など各種の
アナログ信号をデジタル信号に変換するアナログ/デジ
タル信号変換装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an analog/digital signal converter that converts various analog signals such as current input, voltage input, and resistance input into digital signals.

第1図に従来例を示す。図において、A1・・−ANは
各々1つのアナログ信号入力端子をもつトランスデユー
サ、BはトランスデユーサA1・・・ANの出力アナロ
グ信号を入力するスキャナ、CはスキャナBの出力アナ
ログ信号を入力してデジタル信号に変換するA/Dコン
バータである。トランスデユーサA、・・・ANは、電
流入力、電圧入力、抵抗入力など各種のアナログ信号を
1種のアナログ信号(例えば電圧)に変換するものであ
る。スキャナBは、トランスデユーサA1・・・A、か
ら1つのトランスデユーサA1・・・ANごとに時系列
的に入力してA/DコンバータCに入力する。A/Dコ
ンバータCは、スキャナBから入力したトランスデユー
サごとのアナログ信号を時系列的にデジタル信号に変換
する。
FIG. 1 shows a conventional example. In the figure, A1...-AN are transducers each having one analog signal input terminal, B is a scanner that inputs the output analog signal of transducer A1...AN, and C is a scanner that inputs the output analog signal of scanner B. This is an A/D converter that inputs the signal and converts it into a digital signal. The transducers A, . . . AN convert various analog signals such as current input, voltage input, and resistance input into one type of analog signal (for example, voltage). The scanner B inputs the signals from the transducers A1...A to the A/D converter C in time series for each transducer A1...AN. The A/D converter C converts the analog signal for each transducer input from the scanner B into a digital signal in time series.

この従来例には次のような問題がある。すなわち、1つ
の入力アナログ信号に対し1つのトランスデユーサを対
応させているため、多数の入力がある場合には多数のト
ランスデユーサが必要である。そのうえ、入力アナログ
信号の種類が複数(電流、電圧、抵抗など)あると、そ
れに対応して異なった仕様のトランスデユーサを必要と
する。
This conventional example has the following problems. That is, since one transducer corresponds to one input analog signal, many transducers are required when there are many inputs. Moreover, if there are multiple types of input analog signals (current, voltage, resistance, etc.), transducers with correspondingly different specifications are required.

トランスデユーサは一般に高価であり、多数、複数種類
のトランスデユーサを用いる場合には全体コストが著し
く高いものとなり、また配設スペースも非常に大となる
という問題である。
Transducers are generally expensive, and when a large number or types of transducers are used, the overall cost becomes extremely high and the installation space is also very large.

この発明の目的は、トランスデユーサの使用数が少なく
、しかも各種アナログ信号を取扱えるアナログ/デジタ
ル信号変換装置を提供することである。
An object of the present invention is to provide an analog/digital signal converter that uses fewer transducers and can handle various analog signals.

第1の発明の一実施例を第2図に基づいて説明する。D
lは複数のアナログ信号入力端子をもつスキャナ、El
はスキャナD!に入力されたアナログ信号が電流、電圧
、抵抗等の何れかを種別する入力種別回路で、レンジ(
θ〜10V、0〜5V、  0〜20mA、 N 15
00 、 N i 1000等)を選別する機能も有し
ている。F】はトランスデユーサで、スキャナD、から
の出力アナログ信号を入力し、かつ入力種別回路Elか
らの種別信号。
An embodiment of the first invention will be described based on FIG. 2. D
l is a scanner with multiple analog signal input terminals, El
is Scanner D! This is an input type circuit that determines whether the analog signal input to the range is current, voltage, resistance, etc.
θ~10V, 0~5V, 0~20mA, N15
00, N i 1000, etc.). F] is a transducer which inputs the output analog signal from the scanner D and also receives the type signal from the input type circuit El.

レンジ選別信号に応じて変換モード(電流/電圧。Conversion mode (current/voltage) depending on range selection signal.

抵抗/電圧、電圧/電圧等)およびレンジを切換える。resistance/voltage, voltage/voltage, etc.) and range.

すなわち、このトランスデユーサF1は変換モード切換
手段とレンジ切換手段とを内蔵している。Hは、トラン
スデユーサの出力アナログ信号を入力しデジタル信号に
変換するA/Dコンバータである。D2は第2のスキャ
ナ、E2は第2の入力種別回路であり、これらはスキャ
ナDlの入力アナログ信号とはスキャン周期を異にする
入力アナログ信号を対象とするものであり、スキャナD
2.入力種別回路E2の各構成およびそれらとトランス
デユーサF1との関係は、スキャナD11入力種別回路
E1のそれと同様である。スキャナDt、D2.A/D
コンバータHは、それぞれマイクロコンピュータの中央
処理装置(CPU)によって制御されるようになってい
る。
That is, this transducer F1 incorporates conversion mode switching means and range switching means. H is an A/D converter which inputs the output analog signal of the transducer and converts it into a digital signal. D2 is a second scanner, E2 is a second input type circuit, and these are intended for input analog signals having a scan period different from that of the input analog signal of the scanner Dl.
2. The configurations of the input type circuit E2 and the relationship between them and the transducer F1 are similar to those of the input type circuit E1 of the scanner D11. Scanner Dt, D2. A/D
The converters H are each controlled by a central processing unit (CPU) of a microcomputer.

この実施例によれば、複数の入力アナログ信号に対しト
ランスデユーサF1を共用単一化したため、入力種別回
路Elを設けるとしても従来例に比べて遥かに構造が簡
単であり、大幅なコストダウンとスペース削減とを達成
できる。
According to this embodiment, since the transducer F1 is shared and unified for a plurality of input analog signals, the structure is much simpler than the conventional example even if an input type circuit El is provided, resulting in a significant cost reduction. and space reduction can be achieved.

なお、第2のスキャナD2.入力種別回路E2を省略し
たものも第1の発明の実施例である。
Note that the second scanner D2. An embodiment in which the input type circuit E2 is omitted is also an embodiment of the first invention.

第2の発明の一実施例を第3図および第4図に基づいて
説明する。これは第2図のものにおいて、第3のスキャ
ナD3.入力種別回路E3.トランスデユーサF2を付
加するとともに、レンジ切換回路Gを付加したものであ
る。スキャナD3は、スキャナDI、D2が扱う複数の
アナログ信号とはレベルが大幅に異なる複数のアナログ
信号を扱うものであり、スキャナD3.入力種別回路E
3゜トランスデユーサF2の構成およびこれらの間の関
連構成は、スキャナD1.種別回路E1.トランスデユ
ーサF1のそれと同様である。レンジ切換回路Gは、両
トランスデユーサF、、F2の出力アナログ信号を選択
的に入力し、各トランスデユーサFl、F2について予
め設定されている出力信号のレベルに応じて出力がほぼ
一定レベルとなるようにレンジを切換えるとともに、A
/DコンバータHへ信号を出力するものである。第3の
スキャナD3もレンジ切換回路GもCPUによって制御
されるようになっている。
An embodiment of the second invention will be described based on FIGS. 3 and 4. This is the third scanner D3. Input type circuit E3. In addition to adding a transducer F2, a range switching circuit G is also added. The scanner D3 handles multiple analog signals whose levels are significantly different from those handled by the scanners DI and D2, and the scanner D3. Input type circuit E
The configuration of the 3° transducer F2 and the related configuration between them is similar to that of the scanner D1. Type circuit E1. It is similar to that of transducer F1. The range switching circuit G selectively inputs the output analog signals of both transducers F, F2, and maintains the output at a substantially constant level according to the output signal level set in advance for each transducer Fl, F2. Switch the range so that A
/D converter H outputs a signal. Both the third scanner D3 and the range switching circuit G are controlled by the CPU.

次に動作を第4図のフローチャートに基づいて説明する
。ステップ■においてスキャナD1のボインドナンバー
をセットする。ステップ■で入力の待ち時間7 w 1
をセントする。ステップ■でウェイトタイマをスタート
する。ステップ■で待ち時間T w 1が終了したか否
か判断する。終了していなければステップ■に移り、ス
キャナD3の入カポインドが終了したか否かを判断する
。終了していなければステップ■に移り、スキャナD3
のポイントナンバーをセットする。ステップ■で入力の
待ち時間T w 3をセットする。Twl >7w3で
ある。ステップ■でウェイトタイマをスタートする。ス
テップ■で待ち時間7’ w 3が終了したが否かを判
断する。終了していなければステップ[相]に移り、終
了するまで池の処理を実行する。この処理時間’roは
、7w3>Toである。待ち時間Tw3が終了しておれ
ば、ステップ■に移り、レンジ切換回路Gを切換えてト
ランスデユーサF2の出力をA/DコンバータHに入力
する。ステップ@でA/DコンバータHのコンバートを
スタートする。
Next, the operation will be explained based on the flowchart shown in FIG. In step (2), the void number of the scanner D1 is set. Input waiting time at step ■ 7 w 1
cent. Start the wait timer in step ■. In step (2), it is determined whether the waiting time T w 1 has ended. If it has not been completed, the process moves to step (2), and it is determined whether or not the input point of the scanner D3 has been completed. If it has not finished, move to step ■ and scan the scanner D3.
Set the point number. In step 3, the input waiting time T w 3 is set. Twl>7w3. Start the wait timer in step ■. In step (2), it is determined whether the waiting time 7'w3 has ended. If the process has not been completed, the process moves to step [phase] and the pond process is executed until the process is completed. This processing time 'ro is 7w3>To. If the waiting time Tw3 has ended, the process moves to step (2), where the range switching circuit G is switched and the output of the transducer F2 is input to the A/D converter H. In step @, A/D converter H starts converting.

ステップ[相]で時Ill! T W 2のタイマをス
タートする。
At the step [phase] Ill! Start the timer T W 2.

7’ 0 > TW 2である。ステップ[相]でデー
タを読み出し、ステップ[相]でスキャナD3の入力ポ
イントナンバーをプラス1する。そしてステップ■ヘリ
ターンする。
7' 0 > TW 2. Data is read in step [phase], and the input point number of scanner D3 is incremented by 1 in step [phase]. Then return to step ■.

ステップ■で待ち時間Tw1が終了すれば、ステップ[
相]に移り、レンジ切換回路Gを切換えてトランスデユ
ーサF1の出力をA/DコンバータHに入力する。ステ
ップOでA/DコンバータHのコンバートをスタートす
る。ステップ[相]で時限Tw2のタイマをスタートす
る。ステップ0でデータを読み出し、ステップ[相]で
スキャナD1の入カポインドナンバーをプラス1する。
When the waiting time Tw1 ends in step ■, step [
phase], the range switching circuit G is switched and the output of the transducer F1 is input to the A/D converter H. At step O, the A/D converter H starts converting. In step [phase], a timer with time limit Tw2 is started. Data is read in step 0, and the input point number of scanner D1 is incremented by 1 in step [phase].

ステップ0でスキャナD1の入カポインドが終了したか
否かを判断する。終了していなければステップ■リター
ンし、終了しておればステップ[相]に移ってスキャナ
D2での処理を、スキャナD、の処理と同様に行う。
In step 0, it is determined whether or not the input point of the scanner D1 has been completed. If the process has not been completed, the process returns to step (2), and if it has been completed, the process proceeds to step [phase] and the process by the scanner D2 is performed in the same manner as the process by the scanner D.

なお、7w1= 1sec 、 7w3 =100 m
5ec 、 TO= l Om5ec 、 7w2 =
100 ttsecが一例として挙げられる。
In addition, 7w1=1sec, 7w3=100m
5ec, TO=l Om5ec, 7w2=
100 ttsec is given as an example.

以上のように、各スキャナD1・・・D3への各入力グ
ループは独立して扱われるので、スキャナ。
As described above, each group of inputs to each scanner D1...D3 is treated independently.

トランスデユーサに動作遅れがある場合でも、他の入力
グループの入力がA/D変換されている間に、トランス
デユーサ出力までを確立させておくことができ、前記の
A/D変換が終了した後、レンジ切換を行って直ちにそ
の確立されていたデータをA/D変換にかけることがで
きる。つまり、各種アナログ信号の処理効率を向上する
ことができる。
Even if the transducer has an operation delay, it is possible to establish the transducer output while the inputs of other input groups are being A/D converted, and the A/D conversion is completed. After that, the established data can be subjected to A/D conversion immediately after range switching. In other words, processing efficiency of various analog signals can be improved.

この実施例において、第4のスキャナ、入力種別回路を
トランスデユーサF2に関連づけて付加したもの、ある
いは逆に第2のスキャナD2.種別回路E2を省略した
ものも、第2の発明の実施例である。
In this embodiment, a fourth scanner, with input type circuitry added in association with transducer F2, or conversely, a second scanner D2. An embodiment in which the classification circuit E2 is omitted is also an embodiment of the second invention.

以上、実施例について説明したが、゛第1の発明のアナ
ログ/デジタル信号変換装置は、複数のアナログ信号入
力端子をもつスキャナと、このスキャナに入力されたア
ナログ信号を種別する入力種別回路と、前記スキャナか
らの出力アナログ信号を入力しかつ前記入力種別回路か
らの種別信号に応じて変換モードを切換えてその入力ア
ナログ信号を所定の電気量に変換するトランスデユーサ
と、このトランスデユーサの出力アナログ信号を入力し
デジタル信号に変換するA/Dコンバータとを備えたも
のである。
Although the embodiments have been described above, the analog/digital signal converter of the first invention includes a scanner having a plurality of analog signal input terminals, an input type circuit for classifying analog signals input to the scanner, a transducer that receives an output analog signal from the scanner and converts the input analog signal into a predetermined quantity of electricity by switching a conversion mode according to a type signal from the input type circuit; and an output of this transducer. It is equipped with an A/D converter that inputs an analog signal and converts it into a digital signal.

この第1の発明によれば、複数の入力アナログ信号に対
しトランスデユーサを共用単一化したため、入力種別回
路を設けるにもかかわらず、従来例に比べて轟かに構造
を簡単化でき、大幅なコストダウンとスペース削減とを
達成できるという効果がある。
According to this first invention, since a single transducer is shared for a plurality of input analog signals, the structure can be greatly simplified compared to the conventional example, even though an input type circuit is provided. This has the effect of achieving significant cost and space savings.

また、第2の発明のアナログ/デジタル信号変換装置は
、複数のアナログ信号の入力端子をもつスキャナと、前
記複数のアナログ信号とはレベルが大幅に異なる複数の
アナログ信号の入力端子をもつスキャナと、前記各スキ
ャナに入力されたアナログ信号を種別するもので各スキ
ャナごとに設けた入力種別回路と、前記各スキャナから
の出力アナログ信号を入力しかつ各スキャナに対応した
前記各入力種別回路からの種別信号に応じて変換モード
を切換えてその入力アナログ信号を所定の電気量に変換
するもので各スキャナごとに設けたトランスデユーサと
、これら両トランスデユーサの出力アナログ信号を選択
的に入力し各トランスデユーサについて予め設定されて
いる出力信号のレベルに応じて出力がほぼ一定レベルと
なるようにレンジを切換えるレンジ切換回路と、このレ
ンジ切換回路の出力アナログ信号を入力してデジタル信
号に変換するA/Dコンバータとを備えたものである。
Further, the analog/digital signal converter of the second invention includes a scanner having an input terminal for a plurality of analog signals, and a scanner having an input terminal for a plurality of analog signals whose levels are significantly different from those of the plurality of analog signals. , an input type circuit for classifying analog signals inputted to each scanner and provided for each scanner; and an input type circuit for inputting output analog signals from each scanner and corresponding to each scanner. It switches the conversion mode according to the type signal and converts the input analog signal into a predetermined electrical quantity.The transducer provided for each scanner and the output analog signals of both transducers are selectively input. A range switching circuit that switches the range so that the output is at a nearly constant level according to the output signal level preset for each transducer, and an analog signal output from this range switching circuit is input and converted into a digital signal. The device is equipped with an A/D converter.

この第2の発明によれば、レベルを互いに大幅に異にす
る入力アナログ信号群を一括的に取扱うことができなが
ら、上記第1の発明と同様の効果を奏することができ、
しかも、時分割的な信号処理により処理効率を向上する
ことができるという効果も併せ奏する。
According to the second invention, it is possible to collectively handle a group of input analog signals whose levels differ significantly from each other, while achieving the same effects as the first invention,
Moreover, time-divisional signal processing also has the effect of improving processing efficiency.

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

第1図は従来例のブロック図、第2図は第1の発明の一
実施例のブロック図、第3図は第2の発明の一実施例の
ブロック図、第4図はそのフローチャートである。
Fig. 1 is a block diagram of a conventional example, Fig. 2 is a block diagram of an embodiment of the first invention, Fig. 3 is a block diagram of an embodiment of the second invention, and Fig. 4 is a flowchart thereof. .

Claims (2)

【特許請求の範囲】[Claims] (1)複数のアナログ信号入力端子をもつスキャナと、
このスキャナに入力されたアナログ信号を種別する入力
種別回路と、前記スキャナからの出力アナログ信号を入
力しかつ前記入力種別回路からの種別信号に応じて変換
モードを切換えてその入力アナログ信号を所定の電気量
に変換するトランスデューサと、このトランスデューサ
の出力アナログ信号を入力しデジタル信号に変換するA
/Dコンバータとを備えたアナログ/デジタル信号変換
装置。
(1) A scanner with multiple analog signal input terminals,
This scanner includes an input type circuit that types the analog signal input to the scanner, and an input type circuit that inputs the output analog signal from the scanner and switches the conversion mode according to the type signal from the input type circuit to convert the input analog signal into a predetermined type. A transducer that converts into electrical quantity and A that inputs the analog signal output from this transducer and converts it into a digital signal.
/D converter.
(2)複数のアナログ信号の入力端子をもつスキャナと
、前記複数のアナログ信号とはレベルが大幅に異なる複
数のアナログ信号の入力端子をもつスキャナと、前記各
スキャナに入力されたアナログ信号を種別するもので各
スキャナごとに設けた入力種別回路と、前記各スキャナ
からの出力アナログ信号を入力しかつ各スキャナに対応
した前記各入力種別回路からの種別信号に応じて変換モ
ードを切換えてその入力アナログ信号を所定の電気量に
変換するもので各スキャナごとに設けたトランスデュー
サと、これら両トランスデューサの出力アナログ信号を
選択的に入力し各トランスデューサについて予め設定さ
れている出力信号のレベルに応じて出力がほぼ一定レベ
ルとなるようにレンジを切換えるレンジ切換回路と、こ
のレンジ切換回路の出力アナログ信号を入力してデジタ
ル信号に変換するA/Dコンバータとを備えたアナログ
/デジタル信号変換装置。
(2) A scanner that has a plurality of analog signal input terminals, a scanner that has a plurality of analog signal input terminals that have significantly different levels from the plurality of analog signals, and a classification of the analog signals input to each of the scanners. It inputs the input type circuit provided for each scanner and the output analog signal from each scanner, and switches the conversion mode according to the type signal from each input type circuit corresponding to each scanner. It converts an analog signal into a predetermined amount of electricity, and it selectively inputs the transducer provided for each scanner and the output analog signals of both transducers, and outputs according to the output signal level set in advance for each transducer. An analog/digital signal converter comprising: a range switching circuit that switches the range so that the range is at a substantially constant level; and an A/D converter that inputs an analog signal output from the range switching circuit and converts it into a digital signal.
JP970984A 1984-01-23 1984-01-23 Analog-digital signal converter Pending JPS61222322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP970984A JPS61222322A (en) 1984-01-23 1984-01-23 Analog-digital signal converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP970984A JPS61222322A (en) 1984-01-23 1984-01-23 Analog-digital signal converter

Publications (1)

Publication Number Publication Date
JPS61222322A true JPS61222322A (en) 1986-10-02

Family

ID=11727773

Family Applications (1)

Application Number Title Priority Date Filing Date
JP970984A Pending JPS61222322A (en) 1984-01-23 1984-01-23 Analog-digital signal converter

Country Status (1)

Country Link
JP (1) JPS61222322A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015103062A (en) * 2013-11-26 2015-06-04 日本電信電話株式会社 Sensor terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015103062A (en) * 2013-11-26 2015-06-04 日本電信電話株式会社 Sensor terminal

Similar Documents

Publication Publication Date Title
US6707406B2 (en) Semiconductor device for inverter control and control method
JPS61222322A (en) Analog-digital signal converter
JP2573240B2 (en) Sequencer interrupt unit
JPS60146528A (en) Analog-digital converting circuit
JP2715656B2 (en) Analog-to-digital converter
JP2821888B2 (en) Power circuit control device
JPS60170328A (en) Analog-to-digital converting device
JP2746429B2 (en) Tone generation circuit
KR100186339B1 (en) Minimum/maximum selecting circuit
CN115865092A (en) Analog-digital conversion controller, control method and system
JPS58159023A (en) Analog-digital converting circuit
SU1474817A1 (en) Push-pull transistor inverter
SU1571627A1 (en) Analog rank processor
JPH05259916A (en) Current addition type d/a converter
JPS6318212B2 (en)
JPS6339924B2 (en)
JP2543040B2 (en) Digital conversion circuit for multilevel signals
JPH0540563A (en) Key switch controller
JP2000252822A (en) Interrupt circuit
JPH0697745B2 (en) Control method for multi-channel digital-analog conversion circuit
JPS5935226A (en) Keyboard input circuit
JPH02268522A (en) A/d converter
JPS5922440A (en) Analog-digital converter
JPS58190226A (en) Digital relay
JPS60246123A (en) Method and apparatus of analog-digital conversion