JP2616196B2 - Control device abnormality detection circuit - Google Patents

Control device abnormality detection circuit

Info

Publication number
JP2616196B2
JP2616196B2 JP2258146A JP25814690A JP2616196B2 JP 2616196 B2 JP2616196 B2 JP 2616196B2 JP 2258146 A JP2258146 A JP 2258146A JP 25814690 A JP25814690 A JP 25814690A JP 2616196 B2 JP2616196 B2 JP 2616196B2
Authority
JP
Japan
Prior art keywords
signal
output
reference value
abnormality detection
converter
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
JP2258146A
Other languages
Japanese (ja)
Other versions
JPH04134502A (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.)
Shimadzu Corp
Original Assignee
Shimadzu 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 Shimadzu Corp filed Critical Shimadzu Corp
Priority to JP2258146A priority Critical patent/JP2616196B2/en
Publication of JPH04134502A publication Critical patent/JPH04134502A/en
Application granted granted Critical
Publication of JP2616196B2 publication Critical patent/JP2616196B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 (イ)産業上の利用分野 この発明は、A/D変換部を有するプロセス制御装置等
の異常検出回路に関する。
The present invention relates to an abnormality detection circuit such as a process control device having an A / D conversion unit.

(ロ)従来の技術 従来の、A/D変換部を有するプロセス制御装置の異常
検出回路を第4図に示している。この制御装置ではコン
ピュータ1の演算結果13がD/A変換器2でアナログ信号
に変換され、複数の切替器3-1、3-2、…、3-nによって
多数の出力O11、…、O1m、…、On1、…、Onmに時間順次
に切り替えられて出力されている。そして、このD/A変
換器2を含む出力部の異常検出は、各出力O11、…、
O1m、…、On1、…、Onmをそれぞれ切替器4-1、4-2
…、4-nにより切替選択で前記出力を1個ずつ、A/D変換
器5に入力し、デジタル信号に変換し、この変換値と元
の演算結果を比較部14で比較し、一致すれば異常なし、
不一致であれば、異常信号を出力するようになってい
る。
(B) Conventional technology FIG. 4 shows a conventional abnormality detection circuit of a process control device having an A / D converter. In this control device, the operation result 13 of the computer 1 is converted into an analog signal by the D / A converter 2 and a large number of outputs O 11 ,..., 3 −n are output by a plurality of switches 3 −1 , 3 −2 ,. O 1m, ..., O n1, ..., are output in time is switched sequentially in O nm. Then, the abnormality detection of the output section including the D / A converter 2 is performed by detecting each output O 11 ,.
O 1m ,…, On 1 ,…, O nm are set to switchers 4 -1 , 4 -2 ,
.., 4- n , the outputs are input one by one to the A / D converter 5 and converted into a digital signal by the switching selection. The converted value is compared with the original operation result by the comparing unit 14 and the values are matched. No abnormalities,
If they do not match, an abnormal signal is output.

(ハ)発明が解決しようとする課題 上記した従来の制御装置の異常検出回路では、異常検
出のために、A/D変換器や切替器を必要とし、高価にな
るという問題があった。また、A/D変換器や切替器の制
御回路(あるいはプログラム)が必要であるという問題
があった。
(C) Problems to be Solved by the Invention In the above-described abnormality detection circuit of the conventional control device, there is a problem that an A / D converter and a switching device are required for abnormality detection, which is expensive. Further, there is a problem that a control circuit (or a program) for the A / D converter and the switch is required.

この発明は、上記問題点に着目してなされたものであ
り、A/D変換器や切替器が不要であり、簡単で安価な制
御装置の異常検出回路を提供することを目的としてい
る。
The present invention has been made in view of the above problems, and has as its object to provide a simple and inexpensive abnormality detection circuit of a control device which does not require an A / D converter or a switch.

(ニ)課題を解決するための手段及び作用 この発明の制御装置の異常検出回路は、デジタル演算
部の演算結果をアナログ信号に変換するD/A変換器と、
このD/A変換器からのアナログ信号を多数のアナログ出
力とする切替器と、を備え、前記デジタル信号を時系列
でD/A変換器でアナログ信号に変換し、この時系列アナ
ログ信号を前記切替器で対応するアナログ出力に切り替
えて出力する制御装置において、 前記切替器の多数出力の1つを異常検出用として割り
当て、テスト時にこの異常検出用の出力に、前記デジタ
ル演算部よりD/A変換器を経て、所定値のテスト信号を
乗せるとともに、前記切替器の多数出力よりテスト中の
テスト信号を選択する信号選択回路と、選択されたテス
ト信号と上限基準値及び下限基準値とを比較する比較部
とを備え、テスト信号が上限基準値と下限基準値の間に
ない時に比較部よりテスト中を条件に異常信号を出力す
るようにしている。
(D) Means and Action for Solving the Problems The abnormality detection circuit of the control device according to the present invention includes: a D / A converter that converts a calculation result of the digital calculation unit into an analog signal;
A switch that converts the analog signal from the D / A converter into a large number of analog outputs, and converts the digital signal into an analog signal in a time-series D / A converter, and converts the time-series analog signal into the analog signal. A control device for switching to a corresponding analog output with a switch, and allocating one of a large number of outputs of the switch for abnormality detection, and outputting a D / A signal from the digital arithmetic unit to the abnormality detection output during a test. A test signal having a predetermined value is passed through the converter, and a signal selection circuit for selecting a test signal under test from a large number of outputs of the switching device, and the selected test signal is compared with an upper reference value and a lower reference value. And a comparator that outputs an abnormal signal when the test signal is not between the upper reference value and the lower reference value on condition that the test is being performed.

この制御装置の異常検出回路では、デジタル演算部よ
りD/A変換器を経て、テスト信号が切替器のある出力よ
り導出されると、そのタイミングに信号選択回路が、こ
のテスト信号を選択し、所定上限基準値及び下限基準値
と比較される。テスト信号が上限基準値と下限基準値の
間にあれば正常とし、テスト信号が上限基準値と下限基
準値を越えると、テスト中を条件に異常信号が出力され
る。異常信号によりD/A変換器の変換動作や切替器の切
替動作に異常があることがわかる。
In the abnormality detection circuit of this control device, when a test signal is derived from a certain output of a switch through a D / A converter from a digital operation unit, a signal selection circuit selects this test signal at that timing, It is compared with a predetermined upper reference value and a lower reference value. If the test signal is between the upper reference value and the lower reference value, it is determined that the test signal is normal. If the test signal exceeds the upper reference value and the lower reference value, an abnormal signal is output on the condition that the test is being performed. The abnormal signal indicates that there is an abnormality in the conversion operation of the D / A converter and the switching operation of the switch.

(ホ)実施例 以下、実施例により、この発明をさらに詳細に説明す
る。
(E) Examples Hereinafter, the present invention will be described in more detail with reference to examples.

第1図は、この発明の一実施例を示す制御装置の異常
検出回路のブロック図である。同図において、コンピュ
ータ1の演算結果13が、D/A変換器2でアナログ信号に
変換されて、切替器3-1、3-2、…、3-nに入力されてい
る。切替器3-1、3-2、…3-nは、それぞれ複数の出力
O11、…、O1(m-1)、O1m、…、On1、…、On(1-m)、Onm
有する。切替器3-1の出力O11、…、O1(m-1)、O1mは、プ
ログラム制御回路12からの選択信号により順次切替選択
され、演算結果13が時間順次に出力される。他の切替器
3-2、…、3-nの出力も同様である。なお、各切替器
3-1、3-2、…、3-nの1つのチャネル出力O1m、O2m
…、Onmからそれぞれテスト信号が出力され、これらの
テスト信号が信号選択回路7に入力されている。信号選
択回路7は、テスト信号O1m、O2m、…、Onmの1つを選
択し、比較器8に入力し、比較器8の他の入力端に基準
値発生部9より基準値を入力している。基準値は所定幅
内のものが与えられ、テスト信号が、この基準値の範囲
内にあるとD/A変換器2、切替器3-1、…、3-nが正常で
あるが、テスト信号が基準値の範囲外になると、比較器
8が異常信号を出力するようになっている。
FIG. 1 is a block diagram of an abnormality detection circuit of a control device showing one embodiment of the present invention. In FIG. 1, a calculation result 13 of the computer 1 is converted into an analog signal by the D / A converter 2 and input to the switches 3-1 , 3-2 ,..., 3- n . Each of the switching units 3-1 , 3-2 ,..., 3- n has a plurality of outputs.
O 11, ..., having O 1 (m-1), O 1m, ..., O n1, ..., O n (1m), the O nm. Switch 3-1 of the output O 11, ..., O 1 ( m-1), O 1m are sequentially switching selection by the selection signal from the program control circuit 12, the operation result 13 is output time sequentially. Other switch
The same applies to the outputs of 3 -2 , ..., 3 -n . In addition, each switch
One channel output O 1m , O 2m , 3 -1 , 3 -2 , ..., 3- n
, O nm output test signals, and these test signals are input to the signal selection circuit 7. The signal selection circuit 7 selects one of the test signals O 1m , O 2m ,..., O nm , inputs the selected signal to the comparator 8, and inputs a reference value from the reference value generator 9 to another input terminal of the comparator 8. You are typing. The reference value is given within a predetermined width. If the test signal is within the range of the reference value, the D / A converter 2, the switching units 3-1 ,..., 3- n are normal, When the signal is out of the range of the reference value, the comparator 8 outputs an abnormal signal.

この実施例の信号選択回路7及び比較器8、基準値発
生部9を具体的に示した回路を第2図に示している。な
お、ここでは、切替器をn=4個備えた場合を示してい
る。信号選択回路7は、それぞれテスト信号に対応した
最高値回路23-1、23-2、…、23-4からなり、最高値回路
23-1、23-2、…、23-4は、アンプ21-1、21-2、…、21-4
とダイオード22-1、22-2、…、22-4とから構成されてい
る。各切替器3-1、…、3-4のm番目の出力、つまりテス
ト信号O1m、O2m、O3m、O4mは、それぞれ抵抗R1、R2
…、R4を介して接地されるとともに、アンプ21-1、2
1-2、…、21-4の+入力端に接続されている。比較器8
は、2個のコンパレータ8a、8bの一方の−入力端に基準
値発生部9aよりVref+αの基準値(上限基準値)が、他
方の+入力端に基準値発生部9bよりVref−αの基準値
(下限基準値)が加えれ、コンパレータ8a、8bの出力
が、抵抗R6、R7、R8を介して+V5に接続されて構成され
ている。最高値回路23-1、…、23-4の各出力端は、抵抗
R5を介して−V5電位に接続されるとともに、コンパレー
タ8aの+入力端とコンパレータ8bの−入力端に接続され
ている。さらに、コンパレータ8a、8bの出力端はANDゲ
ート10の入力の−端に接続され、ANDゲート10の他端に
は、コンピュータ1より“テスト中”を示す信号が入力
される。
FIG. 2 shows a circuit specifically showing the signal selection circuit 7, the comparator 8, and the reference value generator 9 of this embodiment. Here, a case is shown in which n = 4 switches are provided. The signal selection circuit 7 includes maximum value circuits 23 -1 , 23 -2 ,..., 23 -4 corresponding to the test signals, respectively.
23 -1 , 23 -2 , ..., 23 -4 are amplifiers 21 -1 , 21 -2 , ..., 21 -4
And diodes 22 -1 , 22 -2 ,..., 22 -4 . The m-th output of each of the switches 3 -1 ,..., 3 -4 , that is, the test signals O 1m , O 2m , O 3m , O 4m are respectively connected to resistors R 1 , R 2 ,
…, Grounded via R 4 and amplifiers 21 −1 , 2
1 -2, ..., it is connected to the + input of 21 -4. Comparator 8
The two comparators 8a, one of 8b - reference value V ref + alpha from the reference value generating unit 9a to the input end (upper reference value) is, the reference value generating unit 9b than V ref to the other + input terminal - reference value of alpha (lower resistance) is added, the comparator 8a, the output of 8b is configured to be connected to + V 5 via a resistor R 6, R 7, R 8 . Each output terminal of the maximum value circuit 23-1 , ..., 23-4 is a resistor
It is connected to the -V 5 potential via the R 5, the comparator 8a + input terminal and the comparator 8b - are connected to the input terminal. Further, the output terminals of the comparators 8a and 8b are connected to the negative terminal of the input of the AND gate 10, and a signal indicating "under test" is input from the computer 1 to the other end of the AND gate 10.

この異常検出回路において、今例えば切替器3-1のチ
ャネルmよりテスト信号が出力されており、他の切替器
からはテスト信号が出力されていない場合、切替器3-1
からのテスト信号O1mが最高値回路23-1より出力され、
この信号がコンパレータ8a、8bに入力される。このテス
ト信号のレベルがVref+α〜Vref−αの基準値幅内にあ
るとコンパレータ8a、8bはハイレベル信号を出力せず、
ANDゲート10は異常信号を出力しない。しかし、テスト
信号がVref+αより大きいか、Vref−αより小さいと、
コンパレータ8a、8bの出力がハイとなり、ANDゲート10
より異常信号が出力される。
If in the abnormality detecting circuit are outputted now for example the test signal from the channel m of the switch 3 -1, which is not the test signal is output from the other of the switch, the switch 3 -1
Test signal O 1m from the maximum value circuit 23-1 is output,
This signal is input to the comparators 8a and 8b. When the level of the test signal is within the reference value width of the V ref + α~V ref -α comparator 8a, 8b does not output a high level signal,
The AND gate 10 does not output an abnormal signal. However, if the test signal is larger than V ref + α or smaller than V ref −α,
The outputs of the comparators 8a and 8b become high, and the AND gate 10
A more abnormal signal is output.

なお、異常信号をANDゲート10を介して出力するよう
にしているのは、切替器3-1、…、3-4のいずれもがテス
ト信号出力中でなく、通常の演算結果を出力している場
合は、各テスト信号O1m、…、O4mはいずれも“0"(ロ
ー)であり、最高値回路23-1、…、23-4の出力がいずれ
も“0"となり、したがってコンパレータ8a、8bに入力さ
れる信号はVref−αより小さいので、このまま装置が異
常信号を出力することになりかねない。このような不都
合を除去するために、コンパレータ8a、8bの出力を“テ
スト中”の条件として出力するようにしている。
The reason why the abnormal signal is output via the AND gate 10 is that none of the switches 3-1 ,..., 3-4 is outputting a normal operation result while the test signal is not being output. when on, the test signal O 1 m, ..., O 4m is all "0" (low), the maximum value circuit 23 -1, ..., 23 four output are both "0", and thus the comparator Since the signals input to 8a and 8b are smaller than Vref- α, the device may output an abnormal signal as it is. In order to eliminate such inconvenience, the outputs of the comparators 8a and 8b are output as "under test" conditions.

第3図は、この発明の他の実施例異常検出回路のブロ
ック図である。この実施例回路は、第2図の如き最高値
回路を使用しないが、各切替器3-1、…、3-4からのテス
ト信号O1m、…、O4mに対応して個別に比較器8-1、8-2
8-3、8-4を設け、各比較器8-1、8-2、…、8-4の各出力
をANDゲート10-1、10-2、…、10-4及びORゲート30を介
して、それぞれ出力するようにしている。なお、この場
合ANDゲート10-1、…、10-4の入力の他端に、それぞれ
設替器のテスト中を示す信号を入力する。
FIG. 3 is a block diagram of an abnormality detection circuit according to another embodiment of the present invention. Although this embodiment circuit does not use the maximum value circuit as shown in FIG. 2, comparators are individually provided corresponding to the test signals O 1m ,..., O 4m from the switching units 3 -1 ,. 8 -1 , 8 -2 ,
8 -3 and 8 -4 are provided, and each output of each of the comparators 8 -1 , 8 -2 ,..., 8 -4 is connected to AND gates 10 -1 , 10 -2 ,. And output each of them. In this case, a signal indicating that the switching unit is being tested is input to the other ends of the inputs of the AND gates 10 -1 ,..., 10 -4 .

(ヘ)発明の効果 この発明によれば、異常検出回路を信号選択回路と比
較器で構成するものであるから、A/D変換器や切替器を
用いないので、簡単な構成で安価に異常検出回路を提供
することができる。
(F) Effects of the Invention According to the present invention, the abnormality detection circuit is composed of the signal selection circuit and the comparator, and therefore does not use an A / D converter or a switch. A detection circuit can be provided.

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

第1図は、この発明の一実施例を示す制御装置の異常検
出回路のブロック図、第2図は、同異常検出回路の具体
的回路例を示すブロック図、第3図は、同異常検出回路
の他の具体的回路例を示すブロック図、第4図は、従来
の制御装置の異常検出回路を示す回路図である。 1:コンピュータ、2:D/A変換器、 3-1・3-2・…・3-n:切替器、 7:信号選択回路、8:比較器、 9:基準値発生部。
FIG. 1 is a block diagram of an abnormality detection circuit of a control device showing one embodiment of the present invention, FIG. 2 is a block diagram showing a specific example of the abnormality detection circuit, and FIG. FIG. 4 is a block diagram showing another specific example of the circuit, and FIG. 4 is a circuit diagram showing an abnormality detection circuit of a conventional control device. 1: Computer, 2: D / A converter, 3 -1 · 3 -2 · ... · 3 -n: switcher, 7: signal selection circuit, 8: comparator, 9: reference value generating unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】デジタル演算部の演算結果をアナログ信号
に変換するD/A変換器と、 このD/A変換器からのアナログ信号を多数のアナログ出
力とする切替器と、を備え、前記デジタル信号を時系列
でD/A変換器でアナログ信号に変換し、この時系列アナ
ログ信号を前記切替器で対応するアナログ出力に切り替
えて出力する制御装置において、 前記切替器の多数出力の1つを異常検出用として割り当
て、テスト時にこの異常検出用の出力に、前記デジタル
演算部よりD/A変換器を経て、所定値のテスト信号を乗
せるとともに、前記切替器の多数出力よりテスト中のテ
スト信号を選択する信号選択回路と、選択されたテスト
信号と上限基準値及び下限基準値とを比較する比較部と
を備え、テスト信号が上限基準値と下限基準値の間にな
い時に比較部よりテスト中を条件に異常信号を出力する
ようにした制御装置の異常検出回路。
A digital-to-analog (D / A) converter for converting an operation result of a digital operation unit to an analog signal; and a switch for converting the analog signal from the D / A converter to a large number of analog outputs. In a control device for converting a signal in time series to an analog signal by a D / A converter and switching and outputting the time-series analog signal to a corresponding analog output by the switch, one of the multiple outputs of the switch is used. Allocated for abnormality detection, a test signal of a predetermined value is put on the output for abnormality detection through the D / A converter from the digital arithmetic unit during the test, and a test signal under test is output from a large number of outputs of the switch. And a comparing section for comparing the selected test signal with the upper reference value and the lower reference value, and when the test signal is not between the upper reference value and the lower reference value, the comparing section outputs the test signal. Abnormality detection circuit of the control device in the halfway through outputs an abnormality signal to the condition.
JP2258146A 1990-09-26 1990-09-26 Control device abnormality detection circuit Expired - Fee Related JP2616196B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2258146A JP2616196B2 (en) 1990-09-26 1990-09-26 Control device abnormality detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2258146A JP2616196B2 (en) 1990-09-26 1990-09-26 Control device abnormality detection circuit

Publications (2)

Publication Number Publication Date
JPH04134502A JPH04134502A (en) 1992-05-08
JP2616196B2 true JP2616196B2 (en) 1997-06-04

Family

ID=17316165

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2258146A Expired - Fee Related JP2616196B2 (en) 1990-09-26 1990-09-26 Control device abnormality detection circuit

Country Status (1)

Country Link
JP (1) JP2616196B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4935300B2 (en) * 2006-10-31 2012-05-23 株式会社デンソー Sensor circuit with abnormality detection circuit for self-diagnosis

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5988712U (en) * 1982-12-06 1984-06-15 日本電気株式会社 Control voltage output circuit

Also Published As

Publication number Publication date
JPH04134502A (en) 1992-05-08

Similar Documents

Publication Publication Date Title
JP2616196B2 (en) Control device abnormality detection circuit
JPS6350890B2 (en)
US4922252A (en) Analog/digital converter with capacitor network
JP2500755B2 (en) Redundant system switching method
US5684483A (en) Floating point digital to analog converter
JP2692135B2 (en) Load control device
KR930007651B1 (en) A/d converter with error detect means
JPS6093359A (en) Level discriminating circuit
JPH04170225A (en) A/d converter
JPS63211418A (en) Key input device
JPH01254823A (en) Digital temperature detecting device
JPS62212578A (en) Sensor circuit
JPH02268522A (en) A/d converter
JPH0392015A (en) Analog/digital converter
JPS63135818A (en) Multipoint input recorder
JPH01155720A (en) A/d converter
JPS62267674A (en) Sensor circuit
JPS5972534A (en) On/off signal input device
JPH05135190A (en) Digital defuzzifier circuit
JPH0567185B2 (en)
JPS59140549A (en) Matrix type input device
JPH0243813A (en) A/d converter
JPH0522454B2 (en)
JPH05259916A (en) Current addition type d/a converter
JPH07115348A (en) Multi-input comparator

Legal Events

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