JP2002043943A - Analog output device - Google Patents

Analog output device

Info

Publication number
JP2002043943A
JP2002043943A JP2000221023A JP2000221023A JP2002043943A JP 2002043943 A JP2002043943 A JP 2002043943A JP 2000221023 A JP2000221023 A JP 2000221023A JP 2000221023 A JP2000221023 A JP 2000221023A JP 2002043943 A JP2002043943 A JP 2002043943A
Authority
JP
Japan
Prior art keywords
output
channel
converter
analog
circuit
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
JP2000221023A
Other languages
Japanese (ja)
Inventor
Yuji Ichioka
裕二 市岡
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
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2000221023A priority Critical patent/JP2002043943A/en
Publication of JP2002043943A publication Critical patent/JP2002043943A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an analog output device that can simply diagnose itself with high reliability at a low cost even when the circuit is in operation. SOLUTION: A channel in which a digital/analog converter 21 is provided is referred to as a channel ch1 and a channel in which a digital/analog converter 22 is provided is referred to as a channel ch2. When a CPU instructs diagnosis of a prescribed channel (the ch1 is selected), the other channel not being a diagnosis object is a comparison channel (the ch2 is selected). A digital signal with the same value as that of the diagnosis object channel is given to the digital/analog converter 22 of the comparison channel, a comparator circuit 51 compares an output of the digital/analog converter 22 with an output of an output buffer 31 in the diagnosis object channel to discriminate that there is a fault in the diagnosis object channel when they have a prescribed difference level.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プログラムコント
ローラ等に用いられるディジタル信号をアナログ信号に
変換するアナログ出力回路における動作診断機能を備え
たアナログ出力装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an analog output device having an operation diagnostic function in an analog output circuit for converting a digital signal used for a program controller or the like into an analog signal.

【0002】[0002]

【従来の技術】従来、プログラムコントローラは、種々
の機器に用いられ、例えば図8に示すような構成が知ら
れている。
2. Description of the Related Art Conventionally, a program controller is used for various devices, and for example, a configuration as shown in FIG. 8 is known.

【0003】当該アナログ出力装置は、図示しないCP
Uからの信号を取込む入力バッファ110、デジタル信
号をアナログ信号に変換するD/A変換器120、この
D/A変換器120の出力を安定に外部に出力するため
の出力バッファ130等を有している。
The analog output device is a CP (not shown).
It has an input buffer 110 for receiving a signal from U, a D / A converter 120 for converting a digital signal to an analog signal, an output buffer 130 for stably outputting the output of the D / A converter 120 to the outside, and the like. are doing.

【0004】なお、当該アナログ出力装置は複数の信号
が処理できるように、多チャネル化されている場合が多
く、図8ではチャネル1(ch1)用のD/A変換器1
21及び出力バッファ131が設けられ、またチャネル
2(ch2)用のD/A変換器122及び出力バッファ
132が設けられた2チャネルの場合を示している。
The analog output device is often provided with multiple channels so that a plurality of signals can be processed. In FIG. 8, a D / A converter 1 for channel 1 (ch1) is used.
21 and an output buffer 131, and a two-channel D / A converter 122 and an output buffer 132 for channel 2 (ch2).

【0005】そして、CPUから入力バッファ110に
入力したディジタル信号を対応するチャネルのD/A変
換器120に入力してアナログ信号に変換し、これを出
力バッファ130から出力する。
[0005] The digital signal input from the CPU to the input buffer 110 is input to the D / A converter 120 of the corresponding channel, converted into an analog signal, and output from the output buffer 130.

【0006】このとき、CPUからチャネルを指定する
(アドレスを指定する)ことで、使用するD/A変換器
130が選択される。
At this time, the D / A converter 130 to be used is selected by designating a channel (designating an address) from the CPU.

【0007】このようなアナログ出力装置が正常に動作
しているか否かを適切に把握することは、例えば原子力
プラントのように機器の信頼性が厳しく要求される分野
で非常に重要となっている。
It is very important to properly grasp whether or not such an analog output device is operating normally in a field where the reliability of equipment is strictly required, such as a nuclear power plant. .

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上述し
たようにかかるアナログ出力装置には、装置が正常に操
作しているか否かを判断する自己診断機能が設けられて
いないので、外部にディジタル入力回路やアナログ入力
回路を取付けて出力状態をモニターし、上位コンピュー
タで出力値と入力値との比較を行うことにより診断を行
う必要があり、あるいは出力回路に入力機能を取付けて
上位コンピュータで入力値と出力値との比較を行うこと
により回路診断を行なう必要があり、以下のような問題
が指摘されていた。
However, as described above, the analog output device does not have a self-diagnosis function for judging whether or not the device is operating normally. Or an analog input circuit to monitor the output status and compare the output value and the input value with the host computer for diagnosis. It is necessary to perform circuit diagnosis by comparing with an output value, and the following problems have been pointed out.

【0009】即ち、外部にディジタル入力回路やアナロ
グ入力回路を取付けて出力状態をモニターする場合や出
力回路に入力機能を取付ける等の場合には、ハード量が
増大して装置が高価になると共に実装面積も大きくなっ
て装置が大型化する問題があり、またソフト量が増大し
て処理スピードが遅くなる等の問題があった。
That is, when an external digital input circuit or an analog input circuit is attached to monitor the output state or when an input function is attached to the output circuit, the amount of hardware increases and the device becomes expensive and the mounting becomes expensive. There is a problem that the area becomes large and the device becomes large, and there is a problem that the processing speed is reduced due to an increase in the amount of software.

【0010】そこで、本発明は、信頼性が高く、安価、
かつ、簡易に自己診断が行えるようにしたアナログ出力
装置を提供することを目的とする。
Therefore, the present invention provides a highly reliable, inexpensive,
It is another object of the present invention to provide an analog output device capable of easily performing self-diagnosis.

【0011】[0011]

【課題を解決するための手段】上記課題を解決するた
め、請求項1にかかる発明は、少なくともディジタル信
号をアナログ信号に変換するD/A変換器と該D/A変
換器からのアナログ信号を安定して出力させる出力バッ
ファとを備えたチャネルが複数設けられ、かつ、制御部
からの信号に基づき所定のチャネルのD/A変換器に所
定値のディジタル信号を入力させる入力バッファが設け
られてなるアナログ出力回路を有するアナログ出力装置
において、制御部が所定のチャネルの診断を指示した際
に、診断対象外の1のチャネルを比較チャネルとし、当
該比較チャネルのD/A変換器に診断対象チャネルと同
じ値のディジタル信号を入力させ、該比較チャネルにお
けるD/A変換器の出力と、診断対象チャネルにおける
出力バッファの出力とを比較して、これらに所定の差が
ある場合には診断対象チャネルに異常があると判断する
診断手段を備えて、信頼性が高く、安価、かつ、簡易に
自己診断が行えるようにしたことを特徴とする。
In order to solve the above-mentioned problems, the invention according to claim 1 comprises a D / A converter for converting at least a digital signal into an analog signal and an analog signal from the D / A converter. A plurality of channels each including an output buffer for stably outputting the data; and an input buffer for inputting a digital signal of a predetermined value to a D / A converter of a predetermined channel based on a signal from the control unit. In the analog output device having the analog output circuit, when the control unit instructs the diagnosis of the predetermined channel, one channel not to be diagnosed is set as a comparison channel, and the D / A converter of the comparison channel is used as a diagnosis target channel. And the output of the D / A converter in the comparison channel and the output of the output buffer in the channel to be diagnosed. And a diagnostic means for judging that there is an abnormality in the channel to be diagnosed when there is a predetermined difference between them, so that self-diagnosis can be performed with high reliability, at low cost, and easily. It is characterized by.

【0012】請求項2にかかる発明は、アナログ出力回
路が2以上設けられて、1が動作中の時には他が待機し
て冗長回路を構成し、かつ、診断対象チャネルに異常が
ある際に診断手段から出力される信号により動作中のア
ナログ出力回路を待機状態にし、また待機中のアナログ
出力回路を動作状態にする動作切替手段とを設けて、診
断結果に応じて自動的に動作させるアナログ出力回路を
切換えるようにしたことを特徴とする。
According to a second aspect of the present invention, two or more analog output circuits are provided, and when one is operating, the other is on standby to configure a redundant circuit, and when there is an abnormality in a channel to be diagnosed, diagnosis is performed. An operation switching means for setting an operating analog output circuit to a standby state by a signal output from the means and for setting the standby analog output circuit to an operating state, and automatically operating according to a diagnosis result; The circuit is switched.

【0013】請求項3にかかる発明は、診断手段が、D
/A変換器と出力バッファとの間に設けられて、診断時
に当該D/A変換器の入力値が一時的に変更されても、
当該チャネルにおける出力バッファの出力が影響を受け
ないようにするCRフィルタを有して、診断処理が動作
状態に影響を与えないようにしたことを特徴とする。
[0013] According to a third aspect of the present invention, in the diagnostic device, the diagnostic means comprises:
Provided between the / A converter and the output buffer, even if the input value of the D / A converter is temporarily changed during diagnosis.
It has a CR filter that prevents the output of the output buffer in the channel from being affected, so that the diagnostic processing does not affect the operation state.

【0014】請求項4にかかる発明は、診断手段が、診
断チャネルにおける出力バッファの出力と、比較チャネ
ルにおけるD/A変換器の出力とを比較し、その出力が
保持できるようにした比較回路を有して、診断処理が動
作状態に影響を与えないようにしたことを特徴とする。
According to a fourth aspect of the present invention, there is provided a comparison circuit wherein the diagnosis means compares the output of the output buffer in the diagnosis channel with the output of the D / A converter in the comparison channel, and can hold the output. The diagnostic processing is characterized in that it does not affect the operation state.

【0015】請求項5にかかる発明は、診断手段が、診
断時に診断チャネルのD/A変換器に入力されている値
と同じ値のディジタル信号が入力される診断用D/A変
換器と、各チャネルのD/A変換器からのアナログ信号
のうち診断チャネルのD/A変換器からのアナログ信号
を選択して出力する出力選択手段と、該出力選択手段か
らの信号と診断用D/A変換器からの信号とを比較し、
その出力が保持できるようにした比較回路とを有して、
診断処理が動作状態に影響を与えないようにしたことを
特徴とする。
According to a fifth aspect of the present invention, the diagnostic means includes: a diagnostic D / A converter to which a digital signal having the same value as the value input to the D / A converter of the diagnostic channel is input at the time of diagnosis; Output selecting means for selecting and outputting the analog signal from the D / A converter of the diagnostic channel among the analog signals from the D / A converter of each channel, and the signal from the output selecting means and the diagnostic D / A Compare with the signal from the converter,
And a comparison circuit capable of holding the output.
It is characterized in that the diagnostic processing does not affect the operation state.

【0016】請求項6にかかる発明は、比較回路の出力
状態を告知するLED等の告知手段を設けて、診断結果
が容易に分るようにしたことを特徴とする。
The invention according to claim 6 is characterized in that a notifying means such as an LED for notifying the output state of the comparison circuit is provided so that the diagnosis result can be easily understood.

【0017】請求項7にかかる発明は、複数のチャネル
における比較回路の出力が入力して、これらのチャネル
のうち少なくとも1つに異常があると、その旨を示す信
号を出力するORバッファ等の判断手段を設けて、異常
の有無が容易に分るようにしたことを特徴とする。
According to a seventh aspect of the present invention, an output of a comparison circuit in a plurality of channels is inputted, and when at least one of these channels is abnormal, an OR buffer or the like for outputting a signal indicating the abnormality is provided. It is characterized in that a judgment means is provided so that the presence or absence of an abnormality can be easily recognized.

【0018】請求項8にかかる発明は、判断手段が、断
続的に複数回の診断を行った際に、診断結果をカウント
するカウント手段を有して、一過性の原因による誤診断
を防止するようにしたことを特徴とする。
According to an eighth aspect of the present invention, the judging means has a counting means for counting a diagnosis result when a plurality of diagnoses are performed intermittently, thereby preventing erroneous diagnosis due to a transient cause. It is characterized by doing.

【0019】請求項9にかかる発明は、比較回路におけ
る比較基準を設定する比較基準設定器を設けて、回路の
特性等の相違を調整可能にしたことを特徴とする。
A ninth aspect of the present invention is characterized in that a comparison reference setting device for setting a comparison reference in the comparison circuit is provided so that differences in circuit characteristics and the like can be adjusted.

【0020】[0020]

【発明の実施の形態】本発明の第1の実施の形態を図を
参照して説明する。図1は本発明にかかる自己診断装置
を備えたプログラマブルコントローラにおけるアナログ
出力回路を有するアナログ出力装置の概略構成を示す図
である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing a schematic configuration of an analog output device having an analog output circuit in a programmable controller having a self-diagnosis device according to the present invention.

【0021】図示しないCPUから使用するチャネルを
指定(アドレスを指定)するための信号が入力される入
力バッファ10、該入力バッファ10からのディジタル
信号をアナログ信号に変換するD/A変換器20、安定
した出力を保持するための出力バッファ30、出力バッ
ファ30に入力する信号を所定の時定数で遅延させるC
Rフィルタ回路40、D/A変換器20の出力と他のチ
ャネルの出力バッファ30の出力とを比較する比較回路
50等を有している。
An input buffer 10 to which a signal for designating a channel to be used (designating an address) is input from a CPU (not shown), a D / A converter 20 for converting a digital signal from the input buffer 10 into an analog signal, An output buffer 30 for holding a stable output, and C for delaying a signal input to the output buffer 30 by a predetermined time constant
The R filter circuit 40 includes a comparison circuit 50 that compares the output of the D / A converter 20 with the output of the output buffer 30 of another channel.

【0022】そして、CRフィルタ回路40及び比較回
路50が、自己診断機能の主要部分を構成している。
The CR filter circuit 40 and the comparison circuit 50 constitute a main part of the self-diagnosis function.

【0023】なお、当該アナログ出力回路は複数の信号
が処理できるように、多チャネル化されている。図1で
は2チャネルの場合を示し、これに対応してチャネル1
(ch1)用のD/A変換器21及び出力バッファ31
が設けられ、またチャネル2(ch2)用のD/A変換
器22及び出力バッファ32が設けられている。
The analog output circuit has multiple channels so that a plurality of signals can be processed. FIG. 1 shows the case of two channels, and correspondingly, channel 1
D / A converter 21 and output buffer 31 for (ch1)
Are provided, and a D / A converter 22 for channel 2 (ch2) and an output buffer 32 are provided.

【0024】また、CRフィルタ回路40及び比較回路
50もチャネルに対応して、チャネル1(ch1)用の
CRフィルタ回路41及び比較回路51が設けられ、ま
たチャネル2(ch2)用のCRフィルタ回路42及び
比較回路52が設けられている。
The CR filter circuit 40 and the comparison circuit 50 are also provided with a CR filter circuit 41 and a comparison circuit 51 for channel 1 (ch1) corresponding to the channel, and a CR filter circuit for channel 2 (ch2). 42 and a comparison circuit 52 are provided.

【0025】このような構成で、自己診断を行う場合
は、図2に示すように先ずチャネルch1を指定し、当
該チャネルch1にチャネルch2の値を書込む。
When self-diagnosis is performed in such a configuration, first, as shown in FIG. 2, the channel ch1 is designated, and the value of the channel ch2 is written to the channel ch1.

【0026】そして、チャネルch2の出力バッファ3
2の出力とチャネルch1のD/A変換器21の出力と
を比較回路52で比較し、その出力をラッチする。す
る。
The output buffer 3 of the channel ch2
The output of the D / A converter 21 of the channel ch1 is compared with the output of the D / A converter 21 of the channel ch1, and the output is latched. I do.

【0027】このとき、出力バッファ32とD/A変換
器21との値の差が大きいときには比較回路52の出力
が例えばハイレベルになるように設定する。無論、ロー
レベルになるように設定しても良いことは付言するまで
もない。
At this time, when the difference between the value of the output buffer 32 and the value of the D / A converter 21 is large, the output of the comparison circuit 52 is set to, for example, a high level. Of course, it goes without saying that it may be set to a low level.

【0028】次に、チャネルch2を指定し、当該チャ
ネルch2にチャネルch1の値を書込み、チャネルc
h1の出力バッファ31の出力とチャネルch2のD/
A変換器22の出力とを比較回路51で比較して、その
出力をラッチする。
Next, the channel ch2 is designated, the value of the channel ch1 is written to the channel ch2, and the channel c
h1 output from the output buffer 31 and D /
The output of the A converter 22 is compared with the output of the comparison circuit 51, and the output is latched.

【0029】以上の処理を行った後、比較回路51,5
2の出力をCPUに読込ませて、アナログ出力回路の状
態を確認をする。
After performing the above processing, the comparison circuits 51 and 5
2 is read into the CPU to check the state of the analog output circuit.

【0030】このとき、比較回路51の出力がハイレベ
ルの場合には、チャネルch2に異常があることが診断
でき、比較回路52の出力がハイレベルの場合には、チ
ャネルch1に異常があることが診断できる。
At this time, when the output of the comparison circuit 51 is at a high level, it can be diagnosed that there is an abnormality in the channel ch2, and when the output of the comparison circuit 52 is at a high level, there is an abnormality in the channel ch1. Can be diagnosed.

【0031】なお、上記診断は当該アナログ出力回路が
実際に使用されている際に行なわれる場合があり、かか
る場合に診断のために入力バッファ10に設定された信
号が出力バッファ30から出力されることにより種々の
不都合が生じることが懸念される。
The above diagnosis may be performed when the analog output circuit is actually used. In such a case, a signal set in the input buffer 10 for diagnosis is output from the output buffer 30. Therefore, there is a concern that various inconveniences may occur.

【0032】このような不都合を未然に防止するため
に、各チャネルにCRフィルタ回路40を設けている。
To prevent such inconvenience, a CR filter circuit 40 is provided for each channel.

【0033】即ち、例えば入力バッファ10のチャネル
ch1にチャネルch2の値を設定すると、D/A変換
器21からの出力は当該チャネルch2の値に相応した
値となる。
That is, for example, when the value of the channel ch2 is set to the channel ch1 of the input buffer 10, the output from the D / A converter 21 becomes a value corresponding to the value of the channel ch2.

【0034】しかし、CRフィルタ回路41のコンデン
サが、設定値変更前の値で充電されているので、当該設
定値が変更されている時間がCRフィルタ回路41の時
定数より十分短い時間の間であるならば、出力バッファ
31の入力値は殆ど変化せず、従って当該出力バッファ
31からの出力も殆ど変化しない。
However, since the capacitor of the CR filter circuit 41 is charged with the value before the change of the set value, the time during which the set value is changed is sufficiently shorter than the time constant of the CR filter circuit 41. If there is, the input value of the output buffer 31 hardly changes, and therefore the output from the output buffer 31 hardly changes.

【0035】ただ、このように短い時間の間で設定値を
変更しても、その診断をCPUで行うためには時間が短
すぎる場合があるので、比較回路50の出力をラッチす
るようにしている。
However, even if the set value is changed in such a short time, the time may be too short for the CPU to perform the diagnosis. Therefore, the output of the comparison circuit 50 is latched. I have.

【0036】以上により、アナログ出力回路が動作中で
あっても、当該動作に影響を与えることなく、簡単な構
成で診断が行えるようになり、安価で、高信頼性を確保
することが可能になる。
As described above, even if the analog output circuit is in operation, diagnosis can be performed with a simple configuration without affecting the operation, and it is possible to secure low cost and high reliability. Become.

【0037】なお、上記説明では、比較回路50からの
信号をCPUに読込ませて、各チャネルに異常がないか
否かを診断するようにしたが、例えば図3に示すように
比較回路50にLEDやブザー等の告知手段83,84
を設けることも可能であり、さらには比較回路50の出
力を当該告知手段83,84と共にCPUに入力するよ
うに構成しても良い。
In the above description, the signal from the comparison circuit 50 is read into the CPU to diagnose whether or not each channel is abnormal. For example, as shown in FIG. Notification means 83 and 84 such as LED and buzzer
May be provided, and the output of the comparison circuit 50 may be input to the CPU together with the notification means 83 and 84.

【0038】このように、告知手段83,84を設ける
ことにより、例えばチャネルch1に異常があると告知
手段83が点灯等するようになり各チャネルの状態確認
が容易に行えるようになる。
By providing the notifying means 83 and 84 in this way, for example, when there is an abnormality in the channel ch1, the notifying means 83 is turned on, and the state of each channel can be easily checked.

【0039】また、複数のチャネルに対して個別に異常
の有無を診断するのでなく、当該アナログ出力回路に異
常があるか否かを診断すればよいような場合には、例え
ば図4に示すように、比較回路50からの出力をORバ
ッファ85に入力してその出力から診断するようにして
もよい。
In the case where it is sufficient to diagnose whether or not there is an abnormality in the analog output circuit, instead of individually diagnosing the presence or absence of an abnormality for a plurality of channels, for example, as shown in FIG. Alternatively, the output from the comparison circuit 50 may be input to the OR buffer 85, and diagnosis may be performed from the output.

【0040】ところで、診断中に外部等からノイズが入
り、このため誤診断をしてしまう場合が想定される。こ
のような誤診断を回避する方法として、例えば診断テス
トを複数回断続して行いそれらの結果を統計的に評価し
て異常の有無を診断することが好ましい。
By the way, it is supposed that noise enters from outside or the like during the diagnosis, resulting in erroneous diagnosis. As a method of avoiding such erroneous diagnosis, for example, it is preferable to diagnose the presence or absence of an abnormality by intermittently performing a diagnostic test a plurality of times and statistically evaluating the results.

【0041】この場合、例えば図5に示すように比較回
路50からの出力をORバッファ85に入力してその出
力をカウンタ86でカウントするようにしても良い。
In this case, for example, as shown in FIG. 5, the output from the comparison circuit 50 may be input to the OR buffer 85, and the output may be counted by the counter 86.

【0042】このような構成にすると、例えば5回診断
を行い、そのうちノイズのような一過性の要因により異
常が1回検出された場合でも、異常検出回数が分るので
適切な判断が可能になる。
With this configuration, for example, diagnosis is performed five times, and even if an abnormality is detected once due to a transient factor such as noise, the number of times of abnormality detection is known, so that an appropriate judgment can be made. become.

【0043】特に、このような構成にすると、完全に異
常状態になる前の異常が発生し始めている状態も判断
(又は推定)することが可能になる利点がある。即ち、
例えば5回の診断を行い、異常が3回検出されたとする
と、このような場合にはノイズ等の一過性の原因は考え
難いので、その原因として何らかの異常が生じ始めてい
る可能性が示唆される。
In particular, such a configuration has an advantage that it is possible to determine (or estimate) a state in which an abnormality has begun to occur before the state becomes completely abnormal. That is,
For example, if the diagnosis is performed five times and the abnormality is detected three times, in such a case, it is difficult to imagine a transient cause such as noise, and it is suggested that some abnormality has begun to occur as the cause. You.

【0044】なお、原子力プラントのような、非常に高
い信頼性が要求され、かつ、簡単に停止させることがで
きないようなプラント等においては、アナログ出力装置
等の機器の信頼性を高めるため当該アナログ出力回路が
複数設けられて多重化され、通常一方のアナログ回路が
動作して、他方のアナログ回路が待機状態となってい
る。
In a plant such as a nuclear power plant that requires extremely high reliability and cannot be easily stopped, the analog output device and the like are required to improve the reliability of the analog output device. A plurality of output circuits are provided and multiplexed. Normally, one analog circuit operates and the other analog circuit is in a standby state.

【0045】このような場合には図6に示すように、動
作中のアナログ出力回路の診断結果に基づき待機中のア
ナログ出力回路を動作させるようにすることが可能であ
る。
In such a case, as shown in FIG. 6, the standby analog output circuit can be operated based on the diagnosis result of the active analog output circuit.

【0046】即ち、図6に示すアナログ出力装置は、基
本的に図5に示す構成のアナログ出力回路を2つ設けて
冗長化された場合を示し、各アナログ出力回路は図5と
同じ構成であり、ORバッファ85からの出力が出力セ
レクタ89に入力している。
That is, the analog output device shown in FIG. 6 basically shows a case where two analog output circuits having the configuration shown in FIG. 5 are provided for redundancy, and each analog output circuit has the same configuration as FIG. The output from the OR buffer 85 is input to the output selector 89.

【0047】先に述べたように、ORバッファ85は一
方のアナログ出力回路に異常が検出されると所定の信号
(例えば、ハイレベルの信号)を出力するので、この信
号が出力セレクタ89に入力されると、そのアナログ出
力回路に異常が発生したとして待機中のアナログ出力回
路からの信号を出力させる。
As described above, when an abnormality is detected in one of the analog output circuits, the OR buffer 85 outputs a predetermined signal (for example, a high-level signal). Then, a signal is output from the standby analog output circuit assuming that an abnormality has occurred in the analog output circuit.

【0048】このように、診断結果に基づきCPU等を
介在させること無しに待機中のアナログ出力装置への切
替が行われるので、信頼性が向上すると共にCPU等の
負荷が軽減できるようになる。
As described above, the switching to the standby analog output device is performed based on the diagnosis result without the intervention of the CPU or the like, so that the reliability is improved and the load on the CPU or the like can be reduced.

【0049】このときノイズ等によりORバッファ85
の出力レベルが変動する等の不都合が生じるような場合
には、当該ORバッファ85からの出力に応じて点灯動
作する図示しないフォトカプラを設けても良い。
At this time, OR buffer 85 is generated due to noise or the like.
If an inconvenience such as a fluctuation in the output level occurs, a photo coupler (not shown) that is turned on in accordance with the output from the OR buffer 85 may be provided.

【0050】次に、本発明の第2の実施の形態を図を参
照して説明する。上記実施の形態においては、アナログ
出力装置が動作中にも診断が行えるように、CRフィル
タ回路40を設け、また比較回路50の出力をラッチで
きるようにした。
Next, a second embodiment of the present invention will be described with reference to the drawings. In the above embodiment, the CR filter circuit 40 is provided so that the diagnosis can be performed even while the analog output device is operating, and the output of the comparison circuit 50 can be latched.

【0051】これに対して、本実施の形態では、図7に
示すように診断用のチャネルchxを設けて、診断によ
る影響が出力バッファ30に現れないようにしたもので
ある。
On the other hand, in the present embodiment, a channel chx for diagnosis is provided as shown in FIG. 7 so that the influence of the diagnosis does not appear in the output buffer 30.

【0052】即ち、図7に示すアナログ出力装置は、図
示しないCPUから使用するチャネルを指定(アドレス
を指定)するための信号をが入力される入力バッファ1
0、該入力バッファ10からのディジタル信号をアナロ
グ信号に変換するD/A変換器20、安定した出力を保
持するための出力バッファ30、診断用に用いられるD
/A変換器23、D/A変換器20からの信号を選択し
て出力するマルチプレクサ81、該マルチプレクサ81
からの信号と診断用D/A変換器23からの信号とを比
較する比較回路82等を有している。
That is, the analog output device shown in FIG. 7 has an input buffer 1 to which a signal for designating a channel to be used (designating an address) is inputted from a CPU (not shown).
0, a D / A converter 20 for converting a digital signal from the input buffer 10 into an analog signal, an output buffer 30 for holding a stable output, and a D for diagnosis.
/ A converter 23, multiplexer 81 for selecting and outputting a signal from D / A converter 20, multiplexer 81
, And a signal from the diagnostic D / A converter 23.

【0053】なお、当該アナログ出力装置は複数の信号
が処理できるように、多チャンネル化されている。図7
では2チャネルの場合を示し、これに対応してチャネル
1(ch1)用のD/A変換器21及び出力バッファ3
1が設けられ、またチャネル2(ch2)用のD/A変
換器22及び出力バッファ32が設けられていることは
先の実施例の場合と同様である。
The analog output device has a multi-channel structure so that a plurality of signals can be processed. FIG.
2 shows the case of two channels, and correspondingly, the D / A converter 21 for channel 1 (ch1) and the output buffer 3
1 and the D / A converter 22 for channel 2 (ch2) and the output buffer 32 are provided in the same manner as in the previous embodiment.

【0054】そして、D/A変換器23、マルチプレク
サ81及び比較回路82が診断チャネルchxを構成し
ている。無論、上述したように、当該診断チャネルch
xは他のチャネルと干渉しないようになっている。
The D / A converter 23, the multiplexer 81 and the comparison circuit 82 constitute a diagnostic channel chx. Of course, as described above, the diagnostic channel ch
x does not interfere with other channels.

【0055】このような構成で、チャネルch1の診断
を行う場合には、診断用D/A変換器23にチャネルc
h1の値をセットし、マルチプレクサ81がD/A変換
器21からの信号を選択して出力するように制御する。
With the above configuration, when diagnosing the channel ch1, the D / A converter 23 for the channel c
The value of h1 is set, and the multiplexer 81 controls to select and output the signal from the D / A converter 21.

【0056】これにより、比較回路82ではチャネルc
h1のD/A変換器21からの信号と診断用チャネルc
hxのD/A変換器23からの信号とを入力して、これ
らの値を比較し、その出力をラッチしてCPUに読込ま
せる。
As a result, in the comparison circuit 82, the channel c
Signal from D / A converter 21 of h1 and diagnostic channel c
The signal from the hx D / A converter 23 is input, these values are compared, and the output is latched and read by the CPU.

【0057】この結果、診断用のD/A変換器23から
の信号と診断対象であるチャネルch1のD/A変換器
21からの信号との差が大きい場合には、チャネルch
1に異常があると診断する。
As a result, if the difference between the signal from the D / A converter 23 for diagnosis and the signal from the D / A converter 21 of the channel ch1 to be diagnosed is large, the channel ch
Diagnose that 1 is abnormal.

【0058】他のチャネルに関しても上述した手順を行
うことにより順次診断を行う。
The diagnosis is sequentially performed for the other channels by performing the above-described procedure.

【0059】従って、アナログ出力装置が動作中であっ
ても、それに影響を与えることなく、簡単な構成で診断
が行えるようになり、安価で、高信頼性を確保すること
が可能になる。
Therefore, even when the analog output device is in operation, diagnosis can be performed with a simple configuration without affecting the operation, and it is possible to secure inexpensive and high reliability.

【0060】なお、これまで説明した各実施の形態にお
いては、各チャネルは同じ構成で形成され、その特性も
同じであるとして説明したが、用いる部品により微妙に
特性が異なる場合があり、またチャネル毎に意図的に異
なる特性になるように設定される場合もある。
In each of the embodiments described above, each channel is formed with the same configuration and has the same characteristics. However, the characteristics may be slightly different depending on the parts used. In some cases, the characteristics are intentionally set to have different characteristics.

【0061】従って、各チャネルが全く同じもの(同じ
特性)であることを仮定した構成では誤診断を起してし
まう恐れが生じる。
Accordingly, a configuration assuming that the channels have exactly the same characteristics (the same characteristics) may cause erroneous diagnosis.

【0062】このような場合には、上述した比較回路5
0、82の比較基準を診断するチャネルに対応して設定
するようにすることが、簡便、かつ、安価で信頼性の高
い方法であり好ましい。
In such a case, the comparison circuit 5
It is a simple, inexpensive and highly reliable method to set the comparison reference of 0 and 82 in correspondence with the channel to be diagnosed, and it is preferable.

【0063】即ち、かかる比較回路50、82は、一般
に外部に取付けられる抵抗値によって出力反転電圧を変
化させることが可能である。
That is, the comparison circuits 50 and 82 can change the output inversion voltage by a resistance value generally attached to the outside.

【0064】そこで、この外部に取付ける抵抗に電子ポ
テンシャルメータを使用し、外部(例えば、CPU)か
ら当該電子ポテンションメータの値を指定して、各チャ
ネルの特性を考慮した診断が行うことで信頼性が向上す
る。
Therefore, an electronic potential meter is used for the externally mounted resistor, the value of the electronic potentiometer is specified from the outside (for example, a CPU), and the diagnosis is performed in consideration of the characteristics of each channel. The performance is improved.

【0065】[0065]

【発明の効果】以上説明したように、本発明によれば、
自己診断機能を設けたので信頼性が高く、安価、かつ、
簡易に自己診断が行えるようになる。
As described above, according to the present invention,
High reliability, low cost, and self-diagnosis function
Self-diagnosis can be easily performed.

【0066】また、アナログ出力回路が複数設けられて
冗長化されている場合に、診断結果により自動的に待機
中のアナログ出力回路を動作させるようにしたので、信
頼性が向上すると共に、制御部の負荷が軽減できる。
Further, when a plurality of analog output circuits are provided and made redundant, the standby analog output circuit is automatically operated according to the diagnosis result, so that the reliability is improved and the control section is improved. Load can be reduced.

【0067】また、D/A変換器と出力バッファとの間
にCRフィルタを設けたので、診断時に当該D/A変換
器の入力値が一時的に変更されても、当該チャネルにお
ける出力バッファの出力が影響を受けないようになり、
アナログ出力回路が動作中でも診断することが可能にな
り、利便性が向上する。
Further, since a CR filter is provided between the D / A converter and the output buffer, even if the input value of the D / A converter is temporarily changed at the time of diagnosis, the output buffer of the channel is not changed. The output is no longer affected,
Diagnosis can be performed even while the analog output circuit is operating, and convenience is improved.

【0068】また、比較回路の出力を保持できるように
したので、当該チャネルにおける出力バッファの出力が
影響を受けないようにすることができる。
Further, since the output of the comparison circuit can be held, the output of the output buffer in the channel can be prevented from being affected.

【0069】また、診断に用いるチャネルを専用に設け
たので、診断処理が動作状態に影響を与えないようにす
ることができる。
Further, since the channel used for the diagnosis is provided exclusively, it is possible to prevent the diagnosis processing from affecting the operation state.

【0070】また、診断結果をLED等により告知する
ようにしたので、当該診断結果が容易に分るようにな
る。
Further, since the diagnosis result is notified by the LED or the like, the diagnosis result can be easily understood.

【0071】また、ORバッファ等の判断手段を設けた
ので、アナログ出力回路に複数のチャネルが設けられて
いる場合でも、当該アナログ出力回路に異常が有るか否
かが容易に分るようになる。
Further, since the determination means such as the OR buffer is provided, even if the analog output circuit is provided with a plurality of channels, it is easy to determine whether or not there is an abnormality in the analog output circuit. .

【0072】また、カウント手段を設けたので、複数回
の診断結果から正確な診断が行え、一過性の原因による
誤診断を防止することが可能になる。
Further, since the counting means is provided, accurate diagnosis can be performed from a plurality of diagnosis results, and erroneous diagnosis due to a temporary cause can be prevented.

【0073】さらに、比較回路における比較基準を設定
する比較基準設定器を設けて、回路の特性等の相違を調
整可能にしたので、信頼性が向上する。
Further, a comparison reference setting device for setting a comparison reference in the comparison circuit is provided so that differences in circuit characteristics and the like can be adjusted, so that reliability is improved.

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

【図1】本発明の第1の実施の形態の説明に適用される
アナログ出力装置の概略構成図である。
FIG. 1 is a schematic configuration diagram of an analog output device applied to a description of a first embodiment of the present invention.

【図2】図1に示すアナログ出力装置の診断手順を示す
図である。
FIG. 2 is a diagram showing a diagnostic procedure of the analog output device shown in FIG.

【図3】図1に代る構成のアナログ出力装置の概略構成
図である。
FIG. 3 is a schematic configuration diagram of an analog output device having a configuration alternative to FIG. 1;

【図4】図1に代る構成のアナログ出力装置の概略構成
図である。
FIG. 4 is a schematic configuration diagram of an analog output device having a configuration replacing FIG. 1;

【図5】図1に代る構成のアナログ出力装置の概略構成
図である。
FIG. 5 is a schematic configuration diagram of an analog output device having a configuration replacing FIG. 1;

【図6】図1に代る構成のアナログ出力装置の概略構成
図である。
FIG. 6 is a schematic configuration diagram of an analog output device having a configuration replacing FIG. 1;

【図7】本発明の第2の実施の形態の説明に適用される
アナログ出力装置の概略構成図である。
FIG. 7 is a schematic configuration diagram of an analog output device applied to the description of a second embodiment of the present invention.

【図8】従来の技術の説明に適用されるアナログ出力装
置の概略構成図である。
FIG. 8 is a schematic configuration diagram of an analog output device applied to a description of a conventional technique.

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

10 入力バッファ 20(21,22)D/A変換器 30(31,32) 出力バッファ 40(41,42) CRフィルタ回路 50(51,52)、82 比較回路 81 マルチプレクサ 83,84 告知手段 85 ORバッファ 86 カウンタ 89 出力セレクタ Reference Signs List 10 input buffer 20 (21, 22) D / A converter 30 (31, 32) output buffer 40 (41, 42) CR filter circuit 50 (51, 52), 82 comparison circuit 81 multiplexer 83, 84 notification means 85 OR Buffer 86 Counter 89 Output selector

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 少なくともディジタル信号をアナログ信
号に変換するD/A変換器と該D/A変換器からのアナ
ログ信号を安定して出力させる出力バッファとを備えた
チャネルが複数設けられ、かつ、制御部からの信号に基
づき所定のチャネルの前記D/A変換器に所定値のディ
ジタル信号を入力させる入力バッファが設けられてなる
アナログ出力回路を有するアナログ出力装置において、 前記制御部が所定のチャネルの診断を指示した際に、診
断対象外の1のチャネルを比較チャネルとし、当該比較
チャネルのD/A変換器に診断対象チャネルと同じ値の
ディジタル信号を入力させ、該比較チャネルにおける前
記D/A変換器の出力と、診断対象チャネルにおける出
力バッファの出力とを比較して、これらに所定の差があ
る場合には診断対象チャネルに異常があると判断する診
断手段を備えたことを特徴とするアナログ出力装置。
A plurality of channels including at least a D / A converter for converting a digital signal into an analog signal and an output buffer for stably outputting an analog signal from the D / A converter; An analog output device having an analog output circuit provided with an input buffer for inputting a digital signal of a predetermined value to the D / A converter of a predetermined channel based on a signal from a control unit, wherein the control unit has a predetermined channel When the diagnosis is instructed, one channel not to be diagnosed is set as a comparison channel, and a digital signal having the same value as that of the channel to be diagnosed is input to the D / A converter of the comparison channel. The output of the A converter is compared with the output of the output buffer in the channel to be diagnosed. Analog output apparatus characterized by comprising a diagnostic means for determining that the channel is abnormal.
【請求項2】 前記アナログ出力回路が2以上設けられ
て、1が動作中の時には他が待機して冗長回路を構成
し、かつ、診断対象チャネルに異常がある際に前記診断
手段から出力される信号により動作中のアナログ出力回
路を待機状態にし、また待機中のアナログ出力回路を動
作状態にする動作切替手段とを設けたことを特徴とする
請求項1記載のアナログ出力装置。
2. The system according to claim 1, wherein two or more analog output circuits are provided, and when one is in operation, the other is on standby to form a redundant circuit, and when there is an abnormality in a channel to be diagnosed, the circuit is output from the diagnostic means. 2. The analog output device according to claim 1, further comprising an operation switching unit that sets the analog output circuit in operation to a standby state by a signal, and sets the analog output circuit in the standby state to an operation state.
【請求項3】 前記診断手段が、前記D/A変換器と出
力バッファとの間に設けられて、診断時に当該D/A変
換器の入力値が一時的に変更されても、当該チャネルに
おける前記出力バッファの出力が影響を受けないように
するCRフィルタを有することを特徴とする請求項1又
は2記載のアナログ出力装置。
3. The diagnosing means is provided between the D / A converter and an output buffer, so that even if an input value of the D / A converter is temporarily changed at the time of diagnosis, the diagnosing means may be used. 3. The analog output device according to claim 1, further comprising a CR filter configured to prevent an output of the output buffer from being affected.
【請求項4】 前記診断手段が、診断チャネルにおける
出力バッファの出力と、比較チャネルにおけるD/A変
換器の出力とを比較し、その出力が保持できるようにし
た比較回路を有することを特徴とする請求項1乃至3い
ずれか1項記載のアナログ出力装置。
4. A diagnostic circuit comprising: a comparing circuit for comparing the output of an output buffer in a diagnostic channel with the output of a D / A converter in a comparison channel and holding the output. The analog output device according to claim 1, wherein:
【請求項5】 前記診断手段が、診断時に診断チャネル
のD/A変換器に入力されている値と同じ値のディジタ
ル信号が入力される診断用D/A変換器と、各チャネル
のD/A変換器からのアナログ信号のうち診断チャネル
のD/A変換器からのアナログ信号を選択して出力する
出力選択手段と、 該出力選択手段からの信号と前記診断用D/A変換器か
らの信号とを比較し、その出力が保持できるようにした
比較回路とを有することを特徴とする請求項1乃至3い
ずれか1項記載のアナログ出力装置。
5. A diagnostic D / A converter for inputting a digital signal having the same value as a value input to a D / A converter of a diagnostic channel at the time of diagnosis, and a D / A converter for each channel. Output selecting means for selecting and outputting an analog signal from the D / A converter of the diagnostic channel among analog signals from the A converter, and a signal from the output selecting means and a signal from the diagnostic D / A converter. 4. The analog output device according to claim 1, further comprising a comparison circuit configured to compare a signal with an output of the analog output device.
【請求項6】 前記比較回路の出力状態を告知するLE
D等の告知手段を設けたことを特徴とする請求項4又は
5記載のアナログ出力装置。
6. An LE for notifying an output state of the comparison circuit.
The analog output device according to claim 4, further comprising a notification unit such as D.
【請求項7】 複数のチャネルにおける前記比較回路の
出力が入力して、これらのチャネルのうち少なくとも1
つに異常があると、その旨を示す信号を出力するORバ
ッファ等の判断手段を設けたことを特徴とする請求項4
又は5記載のアナログ出力装置。
7. An output of the comparison circuit in a plurality of channels is input, and at least one of the channels is output.
5. An apparatus according to claim 4, further comprising: an OR buffer for outputting a signal indicating the occurrence of an abnormality.
Or the analog output device according to 5.
【請求項8】 前記判断手段が、断続的に複数回の診断
を行った際に、診断結果をカウントするカウント手段を
有することを特徴とする請求項7記載のアナログ出力装
置。
8. The analog output device according to claim 7, wherein said judging means has a counting means for counting a diagnosis result when a plurality of diagnoses are performed intermittently.
【請求項9】 前記比較回路における比較基準を設定す
る比較基準設定器を設けたことを特徴とする請求項4乃
至8いずれか1項記載のアナログ出力装置。
9. The analog output device according to claim 4, further comprising a comparison reference setting device for setting a comparison reference in said comparison circuit.
JP2000221023A 2000-07-21 2000-07-21 Analog output device Pending JP2002043943A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000221023A JP2002043943A (en) 2000-07-21 2000-07-21 Analog output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000221023A JP2002043943A (en) 2000-07-21 2000-07-21 Analog output device

Publications (1)

Publication Number Publication Date
JP2002043943A true JP2002043943A (en) 2002-02-08

Family

ID=18715521

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000221023A Pending JP2002043943A (en) 2000-07-21 2000-07-21 Analog output device

Country Status (1)

Country Link
JP (1) JP2002043943A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010058836A1 (en) * 2008-11-20 2010-05-27 シャープ株式会社 Display device and television system
WO2010061839A1 (en) * 2008-11-28 2010-06-03 シャープ株式会社 Drive circuit, display device and method for self-detecting and self-repairing drive circuit
US20100182299A1 (en) * 2009-01-21 2010-07-22 Sony Corporation Semiconductor integrated circuit, liquid crystal driver circuit, and liquid crystal display apparatus
US8416171B2 (en) 2007-05-29 2013-04-09 Sharp Kabushiki Kaisha Display device and television system including a self-healing driving circuit
US8587573B2 (en) 2008-02-28 2013-11-19 Sharp Kabushiki Kaisha Drive circuit and display device
JPWO2012108023A1 (en) * 2011-02-09 2014-07-03 富士通株式会社 Information processing apparatus, information processing system, and data transfer method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8416171B2 (en) 2007-05-29 2013-04-09 Sharp Kabushiki Kaisha Display device and television system including a self-healing driving circuit
US8587573B2 (en) 2008-02-28 2013-11-19 Sharp Kabushiki Kaisha Drive circuit and display device
WO2010058836A1 (en) * 2008-11-20 2010-05-27 シャープ株式会社 Display device and television system
WO2010061839A1 (en) * 2008-11-28 2010-06-03 シャープ株式会社 Drive circuit, display device and method for self-detecting and self-repairing drive circuit
JP2010128324A (en) * 2008-11-28 2010-06-10 Sharp Corp Driving circuit, display device, and self-detection/self-repair method of driving circuit
TWI424402B (en) * 2008-11-28 2014-01-21 Sharp Kk Driving circuit, display apparatus, and self-inspection/self-healing method of driving circuit
US20100182299A1 (en) * 2009-01-21 2010-07-22 Sony Corporation Semiconductor integrated circuit, liquid crystal driver circuit, and liquid crystal display apparatus
JP2010171627A (en) * 2009-01-21 2010-08-05 Sony Corp Semiconductor integrated circuit, liquid crystal driver circuit, and liquid crystal display apparatus
JPWO2012108023A1 (en) * 2011-02-09 2014-07-03 富士通株式会社 Information processing apparatus, information processing system, and data transfer method

Similar Documents

Publication Publication Date Title
EP0582464B1 (en) Method and control apparatus for self diagnosis
US20080244329A1 (en) Apparatus diagnosing method, apparatus diagnosis module, and apparatus mounted with apparatus diagnosis module
KR101977431B1 (en) Method and device for monitoring a voltage supply for a vehicle system
US5459732A (en) Method and apparatus for anti-lock brake single channel wheel speed processing with diagnosis
JPS6134639A (en) Electronic circuit tester
CA2326248A1 (en) Methods and apparatus for generating maintenance messages
JP2002043943A (en) Analog output device
US20210351813A1 (en) Network inspection system and computer readable medium
EP1291662B1 (en) Debugging system for semiconductor integrated circuit
JP2980304B2 (en) Clock failure detection circuit
JP4492338B2 (en) Abnormality detection device for power measurement system
JP2001258147A (en) Digital protective relay device
CN114089726B (en) Fault diagnosis system
JPH1021111A (en) Microcomputer system
JPH08286703A (en) Digital controller
JPH08278924A (en) Adapter diagnostic system
JP2591470B2 (en) Signal processing device
SU1071979A1 (en) Device for digital assembly diagnostics
JPS62126444A (en) Failure diagnosing system
JPS6161427B2 (en)
SU960826A1 (en) Digital unit checking device
JPS5816487B2 (en) Multiple selection detection device in computer system
JPH08255092A (en) Dual system
JPH057155A (en) Output circuit with characteristic check function
JPS6019806B2 (en) Error detection method

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050314

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20050325