Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0814783B2 - Analog input / output device - Google Patents
[go: Go Back, main page]

JPH0814783B2 - Analog input / output device - Google Patents

Analog input / output device

Info

Publication number
JPH0814783B2
JPH0814783B2 JP15888188A JP15888188A JPH0814783B2 JP H0814783 B2 JPH0814783 B2 JP H0814783B2 JP 15888188 A JP15888188 A JP 15888188A JP 15888188 A JP15888188 A JP 15888188A JP H0814783 B2 JPH0814783 B2 JP H0814783B2
Authority
JP
Japan
Prior art keywords
analog
signal
input
multiplexer
output
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.)
Expired - Fee Related
Application number
JP15888188A
Other languages
Japanese (ja)
Other versions
JPH028927A (en
Inventor
光三 大橋
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP15888188A priority Critical patent/JPH0814783B2/en
Publication of JPH028927A publication Critical patent/JPH028927A/en
Publication of JPH0814783B2 publication Critical patent/JPH0814783B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、フィールドから得られる各種のアナログ信
号を計算機によって処理し、再びフィールドにアナログ
信号で出力するためのアナログ入出力装置に関し、更に
詳しくは、ディジタル信号を扱う計算機に対して、セン
サやアクチュエータを接続可能とするためのアナログ入
出力装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an analog input / output device for processing various analog signals obtained from a field by a computer and outputting the analog signals to the field again. Relates to an analog input / output device for connecting a sensor or an actuator to a computer that handles digital signals.

(従来の技術) 第4図は、従来のアナログ入出力装置を用いたシステ
ムの一例を示す構成ブロック図である。図において、CP
はディジタル信号を扱う計算機、ANIはフィールドから
のアナログ信号を計算機CPが扱える規格化された信号に
変換して出力するアナログ入力装置、ANOは計算機CPか
らの信号をフィールドに出力するためのアナログ出力装
置である。
(Prior Art) FIG. 4 is a configuration block diagram showing an example of a system using a conventional analog input / output device. In the figure, CP
Is a computer that handles digital signals, ANI is an analog input device that converts the analog signal from the field into a standardized signal that can be processed by computer CP, and outputs it.ANO is an analog output that outputs the signal from computer CP to the field. It is a device.

アナログ入力装置ANIにおいて、MXIは入力マルチプレ
クサで、多数の入力アナログVn1〜Vnnを順次選択してバ
ッファアンプBAに印加するものであり、ADはアナログ信
号をディジタル信号に変換するA/D変換器、IF1はA/D変
換器ADの出力をバスBSを介して計算機CP側に出力するイ
ンターフェイスである。
In the analog input device ANI, MXI is an input multiplexer, which sequentially selects a large number of input analogs Vn1 to Vnn and applies them to the buffer amplifier BA, and AD is an A / D converter that converts an analog signal into a digital signal, IF1 is an interface that outputs the output of the A / D converter AD to the computer CP side via the bus BS.

アナログ出力装置ANOにおいて、IF2は計算機CPからの
データを受けるインターフェイス、DAはディジタル信号
をアナログ信号に変換するD/A変換器、MX2はD/A変換器D
Aからのアナログ信号を各サンプルホールド回路SH1〜SH
nに順次与える出力マルチプレクサである。
In the analog output device ANO, IF2 is an interface that receives data from the computer CP, DA is a D / A converter that converts a digital signal into an analog signal, and MX2 is a D / A converter D.
The analog signal from A is connected to each sample and hold circuit SH1 to SH
It is an output multiplexer that sequentially supplies to n.

(発明が解決しようとする課題) この様に構成される従来のシステムは、入力側と出力
側とがそれぞれ別々の機能を持っているために、アナロ
グ信号入出力装置としては、入力側用と出力側用との2
種類の装置を用意する必要があった。このために、装置
の数が多くなる上に構成が複雑になるという問題点があ
った。
(Problems to be Solved by the Invention) In the conventional system configured as described above, since the input side and the output side have different functions, the analog signal input / output device is different from that for the input side. 2 for output side
It was necessary to prepare different types of devices. For this reason, there are problems that the number of devices increases and the configuration becomes complicated.

本発明は、この様な問題点に鑑みてなされたものであ
って、その目的は、簡単な構成の1種類の装置によっ
て、入力側と出力側との機能を持たせることの可能なア
ナログ入力出力装置を提供することにある。
The present invention has been made in view of the above problems, and an object thereof is to provide an analog input capable of providing functions of an input side and an output side by one type of device having a simple structure. To provide an output device.

(課題を解決するための手段) 第1図は、本発明の基本的な構成を示すブロック図で
ある。図において、MX1は多数のアナログ信号AV1〜AVn
を選択して入力する入力マルチプレクサ、ADはこの入力
マルチプレクサMX1で選択されたアナログ信号をディジ
タル信号に変換するA/D変換手段、DAはディジタル信号
をアナログ信号に変換するD/A変換手段、MX2はこのD/A
変換手段DAからのアナログ信号を多数のアナログ信号保
持手段SH1〜SHnに選択して出力する出力マルチプレク
サ、FBは出力マルチプレクサMX2からの信号を入力マル
チプレクサMX1の入力側に与えるフィードバック手段、M
Pは入力マルチプレクサMX1、A/D変換手段AD、D/A変換手
段DA、出力マルチプレクサMX2を制御するマイクロプロ
セッサである。
(Means for Solving the Problem) FIG. 1 is a block diagram showing the basic configuration of the present invention. In the figure, MX1 indicates a large number of analog signals AV1 to AVn.
Input multiplexer for selecting and inputting AD, AD is A / D conversion means for converting the analog signal selected by this input multiplexer MX1 to a digital signal, DA is D / A conversion means for converting a digital signal to an analog signal, MX2 Is this D / A
An output multiplexer for selecting and outputting the analog signal from the converting means DA to a large number of analog signal holding means SH1 to SHn, FB is a feedback means for giving the signal from the output multiplexer MX2 to the input side of the input multiplexer MX1, M
P is a microprocessor that controls the input multiplexer MX1, the A / D conversion means AD, the D / A conversion means DA, and the output multiplexer MX2.

なお、MUはデータベースを格納したメモリであり、CP
は上位バスBSを介して結ばれている上位の計算機であ
る。
Note that MU is a memory that stores a database, and CP
Is a high-order computer connected via a high-order bus BS.

(作用) マイクロプロセッサMPは、電源オン時にD/A変換手段D
Aから所定の信号を出力マルチプレクサMX2に出力すると
共に、入力マルチプレクサMX1を介してフィードバック
手段FBからの信号を読み込み、当該読み込んだ信号の値
によって、装置をアナログ入力装置として機能させるか
アナログ出力装置として機能させるかを決定する。
(Operation) The microprocessor MP has a D / A conversion means D when the power is turned on.
While outputting a predetermined signal from A to the output multiplexer MX2, the signal from the feedback means FB is read through the input multiplexer MX1, and the value of the read signal causes the device to function as an analog input device or as an analog output device. Decide if you want it to work.

(実施例) 以下図面を用いて、本発明の実施例を詳細に説明す
る。
(Example) Hereinafter, the example of the present invention is described in detail using drawings.

第2図は、本発明の一実施例を示す構成ブロック図で
ある。図において、第1図の各部分と同じものには同一
符号を付して示す。A/D変換手段ADは、入力マルチプレ
クサMX1からの信号を一方の入力とする比較器CMPと、こ
の比較器からの信号に応じてデータが格納されるレジス
タRGと、マイクロプロセッサMPと、D/A変換器DA及びD/A
変換器からの信号を比較器CMPの他方の入力端に印加す
るスイッチSWで構成されている。マイクロプロセッサMP
は上位インターフェイスIFを介して上位の計算機CPに結
ばれている。
FIG. 2 is a configuration block diagram showing an embodiment of the present invention. In the figure, the same parts as those in FIG. 1 are designated by the same reference numerals. The A / D conversion means AD includes a comparator CMP having a signal from the input multiplexer MX1 as one input, a register RG in which data is stored according to the signal from the comparator, a microprocessor MP, and D / D. A converter DA and D / A
The switch SW applies a signal from the converter to the other input terminal of the comparator CMP. Microprocessor mp
Is connected to the upper computer CP via the upper interface IF.

ここで、装置をアナログ入力装置として使用する場合
は、出力マルチプレクサMX2の出力側には、図示されて
いるような信号保持手段SH1〜SHnは不要であり、装置内
に実装されない。
Here, when the device is used as an analog input device, the signal holding means SH1 to SHn as shown in the figure are not required on the output side of the output multiplexer MX2 and are not mounted in the device.

即ち、本発明が対象としている装置は、例えば、プロ
セス制御装置に適用することを想定しており、その入力
側には、プロセスからの測定信号を受け入れるためのア
ナログ入力装置として機能する装置(入力カード)が、
出力側にはバルブのような操作端を駆動するためのアナ
ログ信号を出力するためのアナログ出力装置として機能
する装置(出力カード)が備えられる。
That is, the device targeted by the present invention is assumed to be applied to, for example, a process control device, and its input side is a device (input device) that functions as an analog input device for receiving a measurement signal from a process. Card)
On the output side, a device (output card) that functions as an analog output device for outputting an analog signal for driving an operating end such as a valve is provided.

本発明においては、1種類の装置を複数用意してお
き、この装置をアナログ入力装置として用いる場合は、
信号保持手段(SH1〜SHn)を接続しない構成とし、アナ
ログ出力装置として用いる場合は、信号保持手段(SH1
〜SHn)を接続する構成とする。
In the present invention, when a plurality of devices of one type are prepared and this device is used as an analog input device,
When the signal holding means (SH1 to SHn) is not connected and used as an analog output device, the signal holding means (SH1
~ SHn) is connected.

そして、電源オン時に、装置自身がフィードバック手
段を介して読み込んだ値から、自動的に自身の装置をア
ナログ入力装置として機能するか、アナログ出力装置と
して機能するかを決定し、以降の動作をその決定に基づ
いて行うような構成としてある。
Then, when the power is turned on, it is automatically determined whether the device itself functions as an analog input device or an analog output device from the value read by the device itself through the feedback means, and the subsequent operation is performed. The configuration is based on a decision.

このように構成した装置の動作を次に説明する。 The operation of the device configured as described above will be described below.

第3図は、マイクロプロセッサMPが電源投入時におい
て行う動作の一例を示すフローチャートである。
FIG. 3 is a flowchart showing an example of the operation performed by the microprocessor MP when the power is turned on.

装置の電源が投入されると、マイクロプロセッサMP
は、はじめにスイッチSWを接点d側に接続すると共に、
出力マルチプレクサMX2において、チャンネルCH21を接
続し、D/A変換手段DAから所定の電圧、例えば1Vの電圧
を出力する(ステップ1、2)。
When the device is powered on, the microprocessor MP
First, connect the switch SW to the contact d side,
In the output multiplexer MX2, the channel CH21 is connected and the D / A conversion means DA outputs a predetermined voltage, for example, a voltage of 1V (steps 1 and 2).

次に、スイッチSWを接点a側に接続すると共に、入力
マルチプレクサMX1のチャンネルCH1nを接続し、このチ
ャンネルCH1nの信号を読み込む(ステップ3、4)。こ
の状態では、比較器CMP、レジスタRG、マイクロプロセ
ッサMP、D/A変換手段DAからなる回路は、スイッチSWを
介してA/D変換ループを形成しており、比較器CMPの一端
に印加される信号をディジタル信号に変換する。
Next, the switch SW is connected to the contact a side, the channel CH1n of the input multiplexer MX1 is connected, and the signal of this channel CH1n is read (steps 3 and 4). In this state, the circuit composed of the comparator CMP, the register RG, the microprocessor MP, and the D / A conversion means DA forms an A / D conversion loop via the switch SW and is applied to one end of the comparator CMP. Signal is converted to a digital signal.

次に、A/D変換された信号の大きさが、ステップ2で
出力した所定の電圧か判断する(ステップ5)。
Next, it is determined whether the magnitude of the A / D converted signal is the predetermined voltage output in step 2 (step 5).

ここで、出力マルチプレクサMX2の出力側に信号保持
回路SH1〜SHnが接続されているものとすると、ここで保
持されている信号がフィードバック手段FBを介して、入
力マルチプレクサMX1の入力側に印加される。これに対
して出力マルチプレクサMX2の出力側に信号保持回路SH1
〜SHnが接続されていないものとすると、フィードバッ
ク手段FBを介して、入力マルチプレクサMX1の入力側に
印加される信号は0V付近となる。
Here, if the signal holding circuits SH1 to SHn are connected to the output side of the output multiplexer MX2, the signal held here is applied to the input side of the input multiplexer MX1 via the feedback means FB. . On the other hand, the signal holding circuit SH1 is connected to the output side of the output multiplexer MX2.
Assuming that ~ SHn are not connected, the signal applied to the input side of the input multiplexer MX1 via the feedback means FB is around 0V.

ステップ5において、読み込んだ信号の大きさが、所
定の電圧、例えば1Vであれば、アナログ入力装置として
動作するように例えば動作用のプログラムを設定する
(ステップ6)。
If the magnitude of the read signal is a predetermined voltage, for example, 1 V in step 5, a program for operation is set so as to operate as an analog input device (step 6).

これに対して、ステップ5で所定の電圧でない場合、
例えば0V付近の電圧である場合、アナログ入力装置とし
て動作するように、動作用のプログラムを設定する(ス
テップ7)。
On the other hand, if the voltage is not the predetermined voltage in step 5,
For example, when the voltage is near 0 V, the operation program is set so as to operate as an analog input device (step 7).

マイクロプロセッサMPは、電源投入時においてはじめ
にこの様な動作を行うことによって、信号保持手段が接
続されているかどうか判断し、それに応じて、以後アナ
ログ入力装置として動作するのか、アナログ出力装置と
して動作するのかを決定している。
When the power is turned on, the microprocessor MP first performs such an operation to determine whether or not the signal holding unit is connected, and accordingly operates as an analog input device or an analog output device thereafter. Have decided.

アナログ出力装置として動作するステップ6では、ス
イッチSWは接点d側に接続され、例えばメモリMUに上位
の計算機CPから送られてここに保持されているデータベ
ーースを、所定の周期で読み出し、これをD/A変換し
て、出力マルチプレクサMX2を介して各点ごとの信号保
持手段SH1〜SH2に出力する。
In step 6 which operates as an analog output device, the switch SW is connected to the contact point d side and, for example, the data base sent to the memory MU from the host computer CP and stored therein is read at a predetermined cycle, and this is read by D / A is converted and output to the signal holding means SH1 to SH2 for each point via the output multiplexer MX2.

アナログ入力装置として動作するステップ7では、ス
イッチSWは接点a側に接続され、入力マルチプレクサMX
1を介して、順次各点の入力信号AV1〜AVnをD/A変換し、
規格化されたデータベースとして、メモリMUに格納す
る。
In step 7 which operates as an analog input device, the switch SW is connected to the contact a side, and the input multiplexer MX
Via 1, the input signals AV1 to AVn at each point are sequentially D / A converted,
Stored in the memory MU as a standardized database.

ここに格納されたデータベースは、上位の計算機CPに
よって必要に応じて読みだされるようになっている。
The database stored here is read by the higher-level computer CP as needed.

なお、上記の実施例では、A/D変換手段を比較器CMP、
レジスタRG、マイクロプロセッサMP、D/A変換器DA、ス
イッチSWからなるループで構成するようにしたものであ
るが、スイッチSWは省略してもよいし、また、レジスタ
RGはマイクロプロセッサMPの内部にあるものを利用して
もよい。また、マイクロプロセッサの入力側にA/D変換
器を設けるようにしてもよい。
In the above embodiment, the A / D conversion means is a comparator CMP,
The loop is composed of a register RG, a microprocessor MP, a D / A converter DA, and a switch SW, but the switch SW may be omitted or the register SW may be omitted.
The RG may be one inside the microprocessor MP. Further, an A / D converter may be provided on the input side of the microprocessor.

(発明の効果) 以上詳細に説明したように、本発明によればアナログ
入力装置と、アナログ出力装置との主要な構成を共通化
することができるもので、1種類の装置によって、入力
側と出力側との機能を持ったアナログ入出力装置が実現
でき、コストダウンを行うことが可能となる。
(Effects of the Invention) As described in detail above, according to the present invention, the main configuration of the analog input device and the analog output device can be made common. An analog input / output device having a function with the output side can be realized, and the cost can be reduced.

即ち、本発明においては、1種類の装置を複数用意し
ておき、この装置をアナログ入力装置として用いる場合
は、出力側に信号保持手段(SH1〜SHn)を接続しない構
成とし、アナログ出力装置として用いる場合は、出力側
に信号保持手段(SH1〜SHn)を接続する(実装する)構
成とすると共に、電源オン時に、装置自身がフィードバ
ック手段を介して読み込んだ値から、自動的に装置をア
ナログ入力装置として機能するか、アナログ出力装置と
して機能するかを決定し、以降の動作をその決定に基づ
いて行うことができるように構成したものである。
That is, in the present invention, a plurality of devices of one type are prepared, and when this device is used as an analog input device, the signal holding means (SH1 to SHn) is not connected to the output side, and the device is used as an analog output device. When used, it is configured to connect (implement) signal holding means (SH1 to SHn) to the output side, and when the power is turned on, the device itself automatically converts the analog value from the value read via the feedback means. It is configured such that it is determined whether to function as an input device or an analog output device, and subsequent operations can be performed based on the determination.

従って、1種類の装置を用意するだけで、アナログ入
力装置用と、アナログ出力装置用とに対応することがで
きるのでコストダウンにつながるという効果がある。
Therefore, by preparing only one type of device, it is possible to deal with both the analog input device and the analog output device, which has the effect of reducing the cost.

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

第1図は本発明の基本的な構成を示すブロック図、第2
図は本発明の一実施例を示す構成ブロック図、第3図は
マイクロプロセッサが行う動作の一例を示すフローチャ
ート、第4図は従来装置の構成ブロック図である。 MX1……入力マルチプレクサ MX2……出力マルチプレクサ AD……A/D変換手段 MP……マイクロプロセッサ DA……D/A変換器 FB……フィードバック手段
FIG. 1 is a block diagram showing the basic configuration of the present invention, and FIG.
FIG. 3 is a configuration block diagram showing an embodiment of the present invention, FIG. 3 is a flow chart showing an example of operation performed by a microprocessor, and FIG. 4 is a configuration block diagram of a conventional device. MX1 …… Input multiplexer MX2 …… Output multiplexer AD …… A / D conversion means MP …… Microprocessor DA …… D / A converter FB …… Feedback means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】多数のアナログ信号を選択して入力する入
力マルチプレクサと、 この入力マルチプレクサで選択されたアナログ信号をデ
ィジタル信号に変換するA/D変換手段と、 ディジタル信号をアナログ信号に変換するD/A変換手段
と、 このD/A変換手段からのアナログ信号を多数のアナログ
信号保持手段に選択して出力する出力マルチプレクサ
と、 前記入力マルチプレクサ、A/D変換手段、D/A変換手段、
出力マルチプレクサを制御するマイクロプロセッサと、 前記出力マルチプレクサからの信号を前記入力マルチプ
レクサの入力側に与えるフィードバック手段とを備え、 前記マイクロプロセッサは、電源オン時に前記D/A変換
手段から所定の信号を出力マルチプレクサに出力すると
共に、前記入力マルチプレクサを介して前記フィードバ
ック手段からの信号を読み込み、当該読み込んだ信号の
値によって、装置をアナログ入力装置として機能させる
か、アナログ出力装置として機能させるかを決定するこ
とを特徴とするアナログ入出力装置。
1. An input multiplexer for selecting and inputting a large number of analog signals, an A / D conversion means for converting the analog signals selected by the input multiplexer into a digital signal, and a D for converting a digital signal into an analog signal. / A conversion means, an output multiplexer for selecting and outputting an analog signal from the D / A conversion means to a large number of analog signal holding means, the input multiplexer, A / D conversion means, D / A conversion means,
A microprocessor for controlling the output multiplexer, and a feedback means for giving a signal from the output multiplexer to the input side of the input multiplexer, the microprocessor outputs a predetermined signal from the D / A conversion means when the power is turned on. Outputting the signal to the multiplexer and reading the signal from the feedback means through the input multiplexer, and determining whether the device functions as an analog input device or an analog output device according to the value of the read signal. An analog input / output device characterized by.
JP15888188A 1988-06-27 1988-06-27 Analog input / output device Expired - Fee Related JPH0814783B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15888188A JPH0814783B2 (en) 1988-06-27 1988-06-27 Analog input / output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15888188A JPH0814783B2 (en) 1988-06-27 1988-06-27 Analog input / output device

Publications (2)

Publication Number Publication Date
JPH028927A JPH028927A (en) 1990-01-12
JPH0814783B2 true JPH0814783B2 (en) 1996-02-14

Family

ID=15681427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15888188A Expired - Fee Related JPH0814783B2 (en) 1988-06-27 1988-06-27 Analog input / output device

Country Status (1)

Country Link
JP (1) JPH0814783B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3333560B2 (en) * 1992-10-23 2002-10-15 リコーエレメックス株式会社 Silicon substrate etching method
EP4285907A4 (en) 2021-01-29 2024-11-13 Chugai Seiyaku Kabushiki Kaisha COMPOSITION OF MEDICATION FOR THE TREATMENT OF PEDIATRIC CANCERS

Also Published As

Publication number Publication date
JPH028927A (en) 1990-01-12

Similar Documents

Publication Publication Date Title
JP4361874B2 (en) Multi-channel integrated circuit comprising a plurality of DACs and method for monitoring the output of a DAC
US20050187642A1 (en) Signal monitoring system and method
JPH0814783B2 (en) Analog input / output device
EP1102404A2 (en) Analog-to-digital converter, microcomputer, and analog-to-digital conversion method
JP3150444B2 (en) Spectrum analyzer peak hold circuit
JPH11289254A (en) Device and method for testing analog digital converter
KR20010028503A (en) Auto analog/digital convertor
JP3053228B2 (en) Semiconductor test equipment
JP3805132B2 (en) Current consumption reduction circuit in microcomputer standby state of equipment with microcomputer
JPH1164455A (en) Digital comparator
JP3261590B2 (en) Analog signal input device
JPH0514203A (en) Digital/analog conversion circuit
JP2885082B2 (en) Signal conditioner
JP3288114B2 (en) Microcomputer
JPH0244817A (en) Sequential comparison analog/digital converter
JPH1019994A (en) Ic tester
JPH0731284Y2 (en) Input circuit of programmable controller
JP2002062333A (en) measuring device
JPH06152421A (en) A/d converter
JPH06152412A (en) Semiconductor integrated circuit device
JP2000111620A (en) Ic tester
JPH0685667A (en) A/d converter
JP2000131385A (en) Device for correcting characteristic measuring device
JPH0581590A (en) Signal transmitter
JPH0612502A (en) Microcomputer with built-in a/d conversion circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees