JPS6024507B2 - analog output device - Google Patents

analog output device

Info

Publication number
JPS6024507B2
JPS6024507B2 JP9771781A JP9771781A JPS6024507B2 JP S6024507 B2 JPS6024507 B2 JP S6024507B2 JP 9771781 A JP9771781 A JP 9771781A JP 9771781 A JP9771781 A JP 9771781A JP S6024507 B2 JPS6024507 B2 JP S6024507B2
Authority
JP
Japan
Prior art keywords
output
analog
data
digital
analog data
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
Application number
JP9771781A
Other languages
Japanese (ja)
Other versions
JPS57212573A (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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP9771781A priority Critical patent/JPS6024507B2/en
Publication of JPS57212573A publication Critical patent/JPS57212573A/en
Publication of JPS6024507B2 publication Critical patent/JPS6024507B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は上位装置から与えられたデジタル出力データを
アナログデー外こ変換して指定された出力点に出力する
アナログ出力装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an analog output device that converts digital output data provided from a host device into analog data and outputs the converted data to a specified output point.

一般にアナログ出力装置11は第1図に示されるように
構成されており、上位装置(以下、CPUと称す)12
はN点の出力点のいずれかへのデータ出力に際し、入出
力バス13を介してバッファ回路14にデジタル出力デ
ータ(およびデータの格納先を示すアドレスデータ)を
出力するとともに制御部15に対して起動をかける。制
御部15はアナログ出力装置11全体を制御するもので
、まずバッファ回路14内のデジタル出力データを対応
するアドレスデータで示されるメモリ16の該当アドレ
ス位置に順次格納する。また、制御部15はメモリ16
内のデジタル出力データをメモリインタフェース17を
介してデジタル/アナログ変換器(以下、DACと称す
る)1 8へ読出し出力せしめる。メモリ16から読出
されたデジタル出力データはDAC18によってアナロ
グデータに変換され分配器19に入力される。分配器1
9は、このアナログデータを制御部15の制御によって
出力回路20,〜20Nのうちの指定された出力回路に
分配出力する。これら出力回路20,〜20Nはサンプ
ル・ホールド回路および出力バッファ回路(いずれも図
示せず)で構成されており、アナログデータを対応する
出力点に出力する。この例では、メモリー6に格納され
たデジタル出力データ(のアナログ変換データ)の出力
先は、その格納アドレス位置で一義的に決定されるよう
になっている。即ち、CPU12がデジタル出力データ
とともに該データ(のアナログ変換データ)の出力先に
対応するメモリ16のアドレス位置を示すアドレスデー
タをアナログ出力装置11に転送することにより、該当
する出力回路を経由して所望の出力点にアナログデータ
が出力される。そして、該出力点にアナログデータが出
力されることにより、外部プロセス装置のたとえばバル
ブの開閉量が制御され水量等の調節が行なわれる。この
ような従来のアナログ出力装置11において、たとえば
DAC18が故障した場合、その出力値が真値に対して
たとえば1/2とか1/3になる恐れがある。
Generally, the analog output device 11 is configured as shown in FIG.
When outputting data to any of the N output points, it outputs digital output data (and address data indicating the data storage destination) to the buffer circuit 14 via the input/output bus 13, and also outputs it to the control unit 15. Start it up. The control unit 15 controls the entire analog output device 11, and first stores the digital output data in the buffer circuit 14 in sequence at the corresponding address positions in the memory 16 indicated by the corresponding address data. The control unit 15 also includes a memory 16.
The digital output data is read and outputted to a digital/analog converter (hereinafter referred to as DAC) 18 via a memory interface 17. The digital output data read from the memory 16 is converted into analog data by the DAC 18 and input to the distributor 19. Distributor 1
9 distributes and outputs this analog data to a designated output circuit among the output circuits 20, to 20N under the control of the control section 15. These output circuits 20, to 20N are composed of a sample/hold circuit and an output buffer circuit (both not shown), and output analog data to corresponding output points. In this example, the output destination of the digital output data (analog conversion data thereof) stored in the memory 6 is uniquely determined by its storage address position. That is, the CPU 12 transfers the address data indicating the address position of the memory 16 corresponding to the output destination of the data (analog conversion data) together with the digital output data to the analog output device 11, so that the data is output via the corresponding output circuit. Analog data is output to a desired output point. By outputting analog data to the output point, for example, the amount of opening and closing of a valve of an external process device is controlled, and the amount of water, etc. is adjusted. In such a conventional analog output device 11, if, for example, the DAC 18 fails, there is a possibility that its output value will be, for example, 1/2 or 1/3 of the true value.

この結果、CPU12から出力されるデジタル出力デー
タとは全く対応しないアナログデータが出力点に出力さ
れ、所望の制御動作等が正しく行なわれない不都合が生
じた。このような不都合を解消するために、DAC18
以降のハード構成を2重糸とし、通常状態において一方
の系を使用し、故障発生等の異常時に他方の系に切り替
えて使用する方法が考えられる。しかし、この方法では
切り替え時に出力がとぎれ、誤動作を招くため問題があ
る。また、デジタル出力系と異なり、アナログ出力系で
は異常検出が困難であり、したがって必ずしも切り替え
が正しく行なわれない恐れがある。本発明は上記事情に
鑑みてなされたものでその目的は、極めて簡単な構成で
ありながらデジタル/アナログ変換器のアナログ出力系
の回路故障が発生した際のアナログ出力データ値への影
響を極力少なくすることができるアナログ出力装置を提
供することにある。
As a result, analog data that does not correspond at all to the digital output data output from the CPU 12 is output to the output point, resulting in the inconvenience that desired control operations etc. cannot be performed correctly. In order to eliminate such inconvenience, DAC18
A possible method is to use a double thread for the subsequent hardware configuration, use one system under normal conditions, and switch to the other system in the event of an abnormality such as a failure. However, this method has problems because the output is interrupted during switching, leading to malfunctions. Furthermore, unlike a digital output system, it is difficult to detect an abnormality in an analog output system, so there is a risk that switching may not always be performed correctly. The present invention has been made in view of the above circumstances, and its purpose is to minimize the influence on the analog output data value in the event of a circuit failure in the analog output system of a digital/analog converter, while having an extremely simple configuration. The object of the present invention is to provide an analog output device that can perform the following functions.

以下、本発明の一実施例を図面を参照して説明する。Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

なお、第1図と同一部分には同一符号を付して詳細な説
明を省略する。第2図のアナログ出力装置111におい
て、115は制御部である。制御部115は第1図の制
御部15とほぼ同等の機能のほかに、後述する比較器1
50,〜150Nの比較結果に応じて異常検出を行ない
、CPU12に異常を通知する機能を有している。11
8,,1 182 は第1図のDAC1 8と同様のD
ACであり、メモリイタフェース17を介してメモリ1
6から読み出され共通に与えられたデジタル出力データ
をアナログデータに変換する。
Note that the same parts as in FIG. 1 are given the same reference numerals and detailed explanations are omitted. In the analog output device 111 shown in FIG. 2, 115 is a control section. The control unit 115 has almost the same function as the control unit 15 shown in FIG.
It has a function of detecting an abnormality according to the comparison result of 50 to 150N and notifying the CPU 12 of the abnormality. 11
8,,1 182 is D similar to DAC1 8 in Figure 1.
AC, and the memory 1 is connected to the memory 1 through the memory interface 17.
6 and converts the commonly given digital output data into analog data.

119,,1192 は第1図の分配器19と同様の分
配器であり、それぞれDAC118,,1 182 か
ら変換出力されるアナログデータを制御部115の共通
の制御によって分配出力するようになっている。
119, 1192 are distributors similar to the distributor 19 in FIG. .

130,.〜130,N,132,〜130洲はそれぞ
れ分配器119,,1192からの該当する分配出力の
サンプル・ホールド回路(以下、SHと称する)である
130,. -130, N, 132, and -130 are sample and hold circuits (hereinafter referred to as SH) for the corresponding distribution outputs from the distributors 119, 1192, respectively.

本実施例において分配器1 19・,1 1 92 は
、対応するDACI 1 81,1182からそれぞれ
与えられるアナログデータが出力点P,に対するもので
ある場合に該データをSH130,.,1302,に出
力し、出力点P2に対するものである場合に該データを
SH1308, 13022に出力し、……出力点PN
に対するものである場合に該データをSH130,N,
1302Nに出力するようになっている。1401〜1
40Nは各出力点P,〜PNに対応して設けられている
出力回路である。
In this embodiment, when the analog data given from the corresponding DACIs 181, 1182 is for the output point P, the distributors 1 19, . , 1302, and if it is for output point P2, output the data to SH1308, 13022, ...output point PN
If the data is for SH130, N,
1302N. 1401-1
40N is an output circuit provided corresponding to each output point P, to PN.

出力回路140,〜140Nはそれぞれ加算器141,
〜141Nと1/2回路1421〜142Nとからなる
構成を有している。加算器141,〜141Nはそれぞ
れSH130,.,130a〜SH130,N,130
がから出力される2個のアナログデータを加算し、その
加算結果を対応する1/2回路142,〜142Nに出
力する。1/2回路142,〜142Nは入力アナログ
データを1/2にする機能と出力バッファ機能とを有し
、加算器141,〜141Nの加算出力を1/2にして
対応する出力点P,〜PNに出力する。
The output circuits 140 and 140N are adders 141 and 140N, respectively.
141N and 1/2 circuits 1421 to 142N. Adders 141, . . . , 141N are connected to SH130, . ,130a~SH130,N,130
adds two pieces of analog data outputted from each other, and outputs the addition result to the corresponding 1/2 circuits 142, to 142N. The 1/2 circuits 142, ~142N have a function of halving the input analog data and an output buffer function, and halves the addition outputs of the adders 141, ~141N to the corresponding output points P, ~ Output to PN.

150,〜150NはそれぞれSH130,.,130
2,〜SH130,N, 1302Nから出力される2
個のアナログデータを比較する比較器である。
150, to 150N are SH130, . ,130
2, ~SH130,N, 2 output from 1302N
This is a comparator that compares analog data.

比較器150,〜150Nは入力される2個のアナログ
データに所定値以上の差があるか否かによって論理“1
”または“0”の2値信号を制御部115に出力するよ
うになっている。次に第2図の構成の動作を説明する。
The comparators 150 and 150N output logic "1" depending on whether or not there is a difference of more than a predetermined value between the two input analog data.
A binary signal of "" or "0" is output to the control section 115. Next, the operation of the configuration shown in FIG. 2 will be explained.

たとえばいま、制御部115によって出力点P,に対す
るデジタル出力データがメモリ16から読出され、メモ
リインタフェース1 7を介してDACI 1 8,,
1182に共通に出力されたものとする。DACI 1
8,,1 1 82 はこのデジタル出力データをそ
れぞれアナログデータV,,V2に変換し、対応する分
配器119,,1192に出力する。分配器119,1
192 はこのアナログデータV,,V2を制御部11
5の制御のもとにそれぞれSH130,.,1302,
に出力する。しかして、SH130,.,1302,に
サンプル・ホールドされたアナログデータV,,V2は
出力回路1 40,の加算器141,に入力される。加
算器141・はこれらアナログデータV,,V2を加算
し、アナログデータV,十V2を得る。このアナログデ
ータV・十V2は1/2回路142,にて1/2にされ
アナログデータ(V,十V2)/2として出力される。
いま、DACI 18,,1 182 などのアナログ
出力系の回路が正常であれば、アナログデータV,,V
2は同一値、すなわちV,=V2=V,であり、したが
って出力点P,に出力されるアナログデータ(V,十V
2)/2の値は(V,十V2)/2=VTとなる。すな
わち、アナログ変換して出力点P,に出力すべきデジタ
ル出力データの正しいアナログ変換値が出力点P,に出
力される。これに対し、一方のアナログ出力系の回路た
とえばDACI 1 8,が故障となり、アナログデー
タV,が真の値の1/2すなわちV,=(1′2)VT
となったものとすると、出力点P,に出力されるアナロ
グデータ(V,十V2)/2の値は(V,十V2)/2
=(1/2十1)VT/2=(3/4)VTとなる。明
らかなように第1図に示される如き従来のアナログ出力
装置では、アナログ変換値が真値の1′2となった場合
、この誤ったアナログ変換値がそのまま出力される。し
かし、本実施例ではたとえば一方の系で買値の1/2と
なっても、上述のように誤ったアナログ変換値がそのま
ま出力されずに、真値の3/4のアナログ出力データに
補正されて出力されるので、従来例にくらべ出力点(外
部プロセス)への悪影響が緩和される。一方、SH13
0,.,1302,にサンプル・ホールドされたアナロ
グデータV,,V2は比較器150,に入力される。
For example, now, the control unit 115 reads out digital output data for the output point P from the memory 16, and outputs the digital output data to the DACI 18, .
1182 is commonly output. DACI 1
8,, 1 1 82 convert this digital output data into analog data V,, V2, respectively, and output it to the corresponding distributors 119, , 1192. Distributor 119,1
192 transmits the analog data V, , V2 to the control unit 11
5 under the control of SH130, . ,1302,
Output to. However, SH130,. , 1302, and the analog data V, , V2 sampled and held are input to the adder 141 of the output circuit 140. The adder 141 adds these analog data V, , V2 to obtain analog data V, V2. This analog data V·10V2 is halved by a 1/2 circuit 142 and output as analog data (V,10V2)/2.
Now, if the analog output circuit such as DACI 18,, 1 182 is normal, the analog data V,, V
2 are the same value, that is, V, = V2 = V, and therefore the analog data (V, 10V) output to the output point P,
2) The value of /2 is (V, 10V2)/2=VT. That is, the correct analog converted value of the digital output data that should be analog-converted and output to the output point P is output to the output point P. On the other hand, one of the analog output system circuits, for example, DACI 1 to 8, fails, and the analog data V, becomes 1/2 of the true value, that is, V, = (1'2) VT.
Assuming that, the value of analog data (V, 10V2)/2 output to output point P is (V, 10V2)/2
= (1/2 + 1) VT/2 = (3/4) VT. As is clear, in the conventional analog output device as shown in FIG. 1, when the analog conversion value becomes the true value 1'2, this erroneous analog conversion value is output as is. However, in this embodiment, even if the purchase price is 1/2 in one system, the erroneous analog conversion value is not output as is as described above, but is corrected to analog output data that is 3/4 of the true value. Therefore, compared to the conventional example, the negative influence on the output point (external process) is alleviated. On the other hand, SH13
0,. , 1302, and the analog data V, , V2 sampled and held are input to the comparator 150.

比較器150・はこれらアナログデータV,,V2間に
所定値以上の差があるか否かを比較し、上述のようにア
ナログデータV,が真値の1′2となった場合などには
論理“1”の2値信号を制御部115に出力する。制御
部115は比較器150,からの論理“1”の2値信号
によって異常を検出し、入出力パス13を介してCPU
12に割り込みをかけ、アナログ出力系の回路異常を通
知する。これによりCPU12は対応する異常処理を行
ない、適当な時期にオペレータに報知し、該当するアナ
ログ出力系の回路点検、交換などを促す。なお、前記実
施例では、DACI18,、分配器119,SH130
,.〜130,Nなどのアナログ出力系とDACI18
2分配器119,SH130の〜1302Nなどのアナ
ログ出力系との2重系構成とした場合について説明した
が、たとえば3重系構成としてもよい。この場合には、
出力回路内に1/2回路に代えて入力値を1/3にして
出力する1/3回路を設ける必要がある。3重系構成の
アナログ出力装置では、上述のように1つのアナログ出
力系に異常が発生し、そのアナログ変換値が真値の1/
2となっても、出力点に出力されるアナログデータは(
1′2十1十1)VT/3=(5/6)VTとなり、2
重系構成の場合に〈らべて一層真値に近づく。すなわち
アナログ出力系の故障等の異常による出力値への影響が
著しく減少され、外部プロセスにおける正しい動作が保
証される。明らかなようにアナログ出力系を更に4重系
、5重系・・・・・・とすることは可能であり、どのよ
うな構成とするかは外部プロセス等において要求される
誤差の許容度に応じて決定すればよいことである。以上
詳述したように本発明のアナログ出力装置によれば、ア
ナログ出力系の回路故障が発生してもアナログ出力デー
タ値への影響を極力少なくすることができる。
The comparator 150 compares these analog data V, , V2 to see if there is a difference of more than a predetermined value, and as mentioned above, when the analog data V, becomes the true value 1'2, A binary signal of logic “1” is output to the control unit 115. The control unit 115 detects an abnormality based on a binary signal of logic “1” from the comparator 150, and outputs the signal to the CPU via the input/output path 13.
12 to notify the circuit abnormality of the analog output system. As a result, the CPU 12 performs corresponding abnormality processing, notifies the operator at an appropriate time, and urges the operator to check or replace the circuit of the corresponding analog output system. In the above embodiment, the DACI 18, the distributor 119, and the SH 130
、. ~130,N etc. analog output system and DACI18
Although a case has been described in which a dual system configuration with analog output systems such as the two-way divider 119 and the SH 130 to 1302N is used, a triple system configuration may be used, for example. In this case,
It is necessary to provide a 1/3 circuit in place of the 1/2 circuit in the output circuit, which reduces the input value to 1/3 and outputs it. In an analog output device with a triple system configuration, if an abnormality occurs in one analog output system as described above, the analog converted value will be 1/1/2 of the true value.
2, the analog data output to the output point is (
1'2 1 1) VT/3 = (5/6) VT, 2
In the case of a heavy system configuration, the value becomes even closer to the true value. In other words, the influence on the output value due to abnormalities such as failures in the analog output system is significantly reduced, and correct operation in the external process is guaranteed. As is obvious, it is possible to further configure the analog output system into a quadruple system, a quintuple system, etc., and the configuration will depend on the error tolerance required in the external process, etc. It is a matter of deciding accordingly. As described in detail above, according to the analog output device of the present invention, even if a circuit failure occurs in the analog output system, the influence on the analog output data value can be minimized.

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

第1図は従来のアナログ出力装置の構成を示すブロック
図、第2図は本発明のアナログ出力装置の一実施例を示
すブロック図である。 11,111…アナログ出力装置、12・・・CPU、
15,115・・・制御部、16・・・メモリ、18,
118,,1182…デジタル/アナログ変換器(DA
C)、19,119,,1 192・・・分配器、21
,〜20N,140,〜140N出力回路、141,〜
141N…加算器、142,〜142N・・・1/公団
路。 第1図 図 ぐ、11 船
FIG. 1 is a block diagram showing the configuration of a conventional analog output device, and FIG. 2 is a block diagram showing an embodiment of the analog output device of the present invention. 11, 111...Analog output device, 12...CPU,
15, 115...control unit, 16...memory, 18,
118,,1182...Digital/analog converter (DA
C), 19, 119,, 1 192...distributor, 21
, ~20N, 140, ~140N output circuit, 141, ~
141N...Adder, 142,~142N...1/Kodanro. Figure 1 Figure 11 Ship

Claims (1)

【特許請求の範囲】 1 上位装置から与えられる共通のデジタル出力データ
をそれぞれアナログデータに変換するM個のデジタル/
アナログ変換器と、N点の出力点にそれぞれ対応して設
けられ、対応する上記デジタル/アナログ変換器から出
力されるM個のアナログデータを加算し、この加算結果
を1/Mとして対応出力点に出力するN個の出力回路と
、上記M個のデジタル/アナログ変換器にそれぞれ対応
して設えられ、対応する上記デジタル/アナログ変換器
から変換出力されるアナログデータを、上位装置から共
通に指定されている出力点に対応して設けられている上
記出力回路側に分配出力するM個の分配器とを具備する
ことを特徴とするアナログ出力装置。 2 上記出力回路に入力されるM個のアナログデータと
共通のアナログデータを入力とし、これらM個のアナロ
グデータ間に所定値以上の差があるか否かを比較するN
個の比較回路を設け、所定値以上の差が生じた場合に上
位装置に異常を通知することを特徴とする特許請求の範
囲第1項記載のアナログ出力装置。
[Claims]1.
An analog converter is provided corresponding to each of the N output points, and M pieces of analog data output from the corresponding digital/analog converter are added, and this addition result is set as 1/M to the corresponding output point. The N output circuits that output to the N output circuits and the M digital/analog converters are respectively provided, and the analog data converted and output from the corresponding digital/analog converters is commonly specified from the host device. An analog output device characterized by comprising: M distributors that distribute output to the output circuit side and are provided corresponding to the output points of the output circuit. 2. Input analog data common to the M analog data input to the output circuit and compare whether or not there is a difference of more than a predetermined value between these M analog data.
2. The analog output device according to claim 1, wherein the analog output device is provided with two comparison circuits and notifies a host device of an abnormality when a difference of more than a predetermined value occurs.
JP9771781A 1981-06-24 1981-06-24 analog output device Expired JPS6024507B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9771781A JPS6024507B2 (en) 1981-06-24 1981-06-24 analog output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9771781A JPS6024507B2 (en) 1981-06-24 1981-06-24 analog output device

Publications (2)

Publication Number Publication Date
JPS57212573A JPS57212573A (en) 1982-12-27
JPS6024507B2 true JPS6024507B2 (en) 1985-06-13

Family

ID=14199636

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9771781A Expired JPS6024507B2 (en) 1981-06-24 1981-06-24 analog output device

Country Status (1)

Country Link
JP (1) JPS6024507B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0652869B2 (en) * 1989-04-27 1994-07-06 日本コロムビア株式会社 Digital / analog converter

Also Published As

Publication number Publication date
JPS57212573A (en) 1982-12-27

Similar Documents

Publication Publication Date Title
JPS6024507B2 (en) analog output device
US5708795A (en) Asynchronous access system for multiprocessor system and processor module used in the asynchronous access system
JPS589965B2 (en) Microcomputer output circuit
JPH0628003B2 (en) DATA CONTROL METHOD AND DEVICE FOR MULTIPLEX CONTROLLER
US20230387901A1 (en) Semiconductor device
JP2801758B2 (en) Monitoring device
JPS6121695Y2 (en)
IE56532B1 (en) Arrangement for supervising a data processing system
JP2559531B2 (en) Redundant system error check circuit
JPS5926672Y2 (en) Data check circuit
JPH0782475B2 (en) Memory interlock control circuit
JPS5918721B2 (en) Backup method for process control using a computer
JP2847741B2 (en) Microcomputer
JPS59132225A (en) Converter
JPS58183391A (en) Controller for attitude of satellite
JP2768722B2 (en) Multiplex controller
JPS61296437A (en) Method for deciding failure of input/output device
JPS63132356A (en) Memory bank switching device
JPH04252344A (en) Computer system
JPS61134846A (en) Electronic computer system
JPH02254819A (en) Analog/digital conversion circuit
JPH044484A (en) Microcomputer
JPWO2019043745A1 (en) Analog control device and analog control system
JPS62229302A (en) Digital controller
JPH01161540A (en) Multiplexing comparator