JPH0887422A - Digital signal circuit - Google Patents

Digital signal circuit

Info

Publication number
JPH0887422A
JPH0887422A JP6222130A JP22213094A JPH0887422A JP H0887422 A JPH0887422 A JP H0887422A JP 6222130 A JP6222130 A JP 6222130A JP 22213094 A JP22213094 A JP 22213094A JP H0887422 A JPH0887422 A JP H0887422A
Authority
JP
Japan
Prior art keywords
circuit
signal
output
digital signal
state
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
JP6222130A
Other languages
Japanese (ja)
Inventor
Kazuo Kitamura
一雄 北村
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP6222130A priority Critical patent/JPH0887422A/en
Publication of JPH0887422A publication Critical patent/JPH0887422A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)

Abstract

PURPOSE: To obtain the digital signal circuit which decides that a circuit constituent element or wiring part is defective on the basis of the detection signal of a digital signal. CONSTITUTION: The digital signal circuit is equipped with a 1st circuit 20 which outputs a detection signal by detecting one of the ON or OFF, and 'H'-level or 'L'-level state of the inputted digital signal, a 2nd circuit 21 which outputs a detection signal by detecting one of the ON or OFF state and 'H'-level or 'L'-level state of the digital signal, and an abnormality deciding means 43 which decides the abnormality of the circuit to which the digital signal is inputted on the basis of the detection signal outputted from the 1st circuit 20 and the detection signal outputted from the 2nd circuit 21.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、回路に生じた異常を
その回路から出力される信号を基に識別するディジタル
信号回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital signal circuit for identifying an abnormality occurring in a circuit based on a signal output from the circuit.

【0002】[0002]

【従来の技術】図6は、フォトカプラを用いた、例えば
ディジタル信号伝送路の入力回路または出力回路、ある
いはCPUへの信号入力回路またはCPUからの信号出
力回路として用いられる従来のディジタル信号回路の構
成を示す回路図である。図において1と2はスイッチ3
のオン/オフによる接点信号を入力する入力端子、4は
直列接続された2つの抵抗と、それら抵抗の接続点とグ
ランド間とに接続されたコンデンサからなる電流制限抵
抗回路、5は発光ダイオードとフォトトランジスタから
なるフォトカプラ、6は発光ダイオードのアノード側端
子が接続される入力側の電源ライン、7と8は入力側の
グランド端子であり共通接続されている。
2. Description of the Related Art FIG. 6 shows a conventional digital signal circuit using a photocoupler, for example, used as an input circuit or an output circuit of a digital signal transmission line, or a signal input circuit to a CPU or a signal output circuit from a CPU. It is a circuit diagram which shows a structure. In the figure, 1 and 2 are switches 3
An input terminal for inputting a contact signal by turning on / off of, a current limiting resistor circuit composed of two resistors connected in series and a capacitor connected between the connection point of these resistors and the ground, and 5 a light emitting diode A photocoupler composed of a phototransistor, 6 is an input side power supply line to which the anode side terminal of the light emitting diode is connected, and 7 and 8 are input side ground terminals, which are commonly connected.

【0003】9はフォトカプラ5のフォトトランジスタ
のコレクタ端子と出力側の電源端子10との間に接続さ
れた負荷抵抗、11はフォトカプラ5のフォトトランジ
スタのオン/オフによるディジタル信号をインバータ回
路13に供給する入力抵抗、12はインバータ回路13
の入力端子に接続されるコンデンサ、14は出力側のグ
ランド端子であり、出力側のグランド端子14,15は
共通接続されている。
Reference numeral 9 is a load resistor connected between the collector terminal of the phototransistor of the photocoupler 5 and the power supply terminal 10 on the output side. Reference numeral 11 is an inverter circuit 13 which outputs a digital signal by turning on / off the phototransistor of the photocoupler 5. Input resistance to be supplied to the inverter circuit 12 is an inverter circuit 13
Is a capacitor connected to the input terminal of, and 14 is a ground terminal on the output side, and the ground terminals 14 and 15 on the output side are commonly connected.

【0004】このディジタル信号回路では、スイッチ3
がオン状態になると、入力側の電源ライン6からフォト
カプラ5の発光ダイオードおよび電流制限抵抗回路4を
経て入力側のグランド端子8に所定の電流が流れ、フォ
トカプラ5の発光ダイオードを発光させる。この結果、
フォトカプラ5のフォトトランジスタがオン状態となり
フォトトランジスタのコレクタ端子の電位がほぼグラン
ドレベルに落ち、この‘L’レベルの信号は入力抵抗1
1を経てインバータ回路13の入力端子に供給され、イ
ンバータ回路13により反転された‘H’レベルの信号
として出力される。
In this digital signal circuit, the switch 3
Is turned on, a predetermined current flows from the power supply line 6 on the input side to the ground terminal 8 on the input side through the light emitting diode of the photocoupler 5 and the current limiting resistance circuit 4, causing the light emitting diode of the photocoupler 5 to emit light. As a result,
The phototransistor of the photocoupler 5 is turned on, the potential of the collector terminal of the phototransistor drops to about ground level, and this'L 'level signal is input resistance 1
It is supplied to the input terminal of the inverter circuit 13 via 1 and is output as an'H 'level signal inverted by the inverter circuit 13.

【0005】またスイッチ3がオフの状態では、フォト
カプラ5の発光ダイオードは発光せず、この結果、フォ
トカプラ5のフォトトランジスタはオフの状態であり、
従ってフォトトランジスタのコレクタ端子の電位は出力
側の電源端子10に印加されている出力側の電源電圧と
なっており、この‘H’レベルの信号は入力抵抗11を
経てインバータ回路13の入力端子に供給され、インバ
ータ回路13により反転された‘L’レベルの信号とし
て出力される。
When the switch 3 is off, the light emitting diode of the photocoupler 5 does not emit light, and as a result, the phototransistor of the photocoupler 5 is off.
Therefore, the potential of the collector terminal of the phototransistor is the power supply voltage on the output side that is applied to the power supply terminal 10 on the output side, and this'H 'level signal is input to the input terminal of the inverter circuit 13 via the input resistor 11. The signal is supplied and output as an'L 'level signal inverted by the inverter circuit 13.

【0006】[0006]

【発明が解決しようとする課題】従来のディジタル信号
回路は以上のように構成されているので、フォトカプラ
5やその他の回路構成素子や配線部に不良が生じた場合
には、インバータ回路13の出力は‘H’レベルあるい
は‘L’レベルに固定されてしまう。このためインバー
タ回路13の出力信号だけに着目していた場合には、イ
ンバータ回路13の出力信号がディジタル信号回路の正
常動作の結果により‘H’レベルあるいは‘L’レベル
に固定されているのか、あるいはディジタル信号回路に
生じた異常により‘H’レベルあるいは‘L’レベルに
固定されているのか判別できない問題点があった。
Since the conventional digital signal circuit is constructed as described above, if a defect occurs in the photocoupler 5, other circuit constituent elements, or the wiring portion, the inverter circuit 13 will not operate. The output is fixed at'H 'level or'L' level. Therefore, if attention is paid only to the output signal of the inverter circuit 13, is the output signal of the inverter circuit 13 fixed at the “H” level or the “L” level depending on the result of the normal operation of the digital signal circuit? Alternatively, there is a problem that it is impossible to determine whether the signal is fixed at the “H” level or the “L” level due to an abnormality that has occurred in the digital signal circuit.

【0007】請求項1の発明は上記のような問題点を解
消するためになされたもので、回路構成素子や配線部に
生じた不良を判別可能にするディジタル信号回路を得る
ことを目的とする。
The invention of claim 1 is to solve the above problems, and an object thereof is to obtain a digital signal circuit capable of discriminating a defect occurring in a circuit component or a wiring portion. .

【0008】請求項2の発明は、回路構成素子や配線部
に生じた不良を判別可能にするディジタル信号回路を得
ることを目的とする。
It is an object of the present invention to provide a digital signal circuit which can discriminate a defect that has occurred in a circuit constituent element or a wiring section.

【0009】請求項3の発明は、回路構成素子や配線部
に不良が生じていることを示す信号を出力できるディジ
タル信号回路を得ることを目的とする。
It is an object of the invention of claim 3 to obtain a digital signal circuit capable of outputting a signal indicating that a defect has occurred in a circuit constituent element or a wiring portion.

【0010】請求項4の発明は、回路構成素子や配線部
に生じた不良による誤った信号の伝達を防止できるディ
ジタル信号回路を得ることを目的とする。
It is an object of the present invention to obtain a digital signal circuit capable of preventing erroneous signal transmission due to a defect generated in a circuit component or a wiring section.

【0011】請求項5の発明は、回路に発生するノイズ
により回路構成素子や配線部に不良が生じていることを
示す判定信号が誤って出力されることを防止すること
で、異常判定の信頼性を向上させたディジタル信号回路
を得ることを目的とする。
According to a fifth aspect of the present invention, reliability of abnormality determination is prevented by preventing erroneous output of a determination signal indicating that a circuit component or a wiring portion is defective due to noise generated in the circuit. The purpose is to obtain a digital signal circuit with improved performance.

【0012】[0012]

【課題を解決するための手段】請求項1の発明に係るデ
ィジタル信号回路は、入力された接点信号あるいは無接
点信号などのディジタル信号のオンまたはオフ、あるい
は‘H’レベルまたは‘L’レベルの内の一方の状態を
検出し検出信号を出力する第1の回路と、前記ディジタ
ル信号のオンまたはオフ、あるいは‘H’レベルまたは
‘L’レベルの内の他方の状態を検出し検出信号を出力
する第2の回路と、前記第1の回路から出力される検出
信号と前記第2の回路から出力される検出信号とを基に
前記ディジタル信号の入力された回路の異常を判定する
異常判定手段とを備えたものである。
According to a first aspect of the present invention, there is provided a digital signal circuit, wherein an input digital signal such as a contact signal or a non-contact signal is turned on or off, or an'H 'level or an'L' level. A first circuit that detects one of the states and outputs a detection signal; and a detection circuit that outputs the detection signal by detecting the on or off state of the digital signal or the other of the'H 'level or'L' level Abnormality determining means for determining an abnormality of the circuit to which the digital signal is input, based on the second circuit, the detection signal output from the first circuit, and the detection signal output from the second circuit. It is equipped with and.

【0013】請求項2の発明に係るディジタル信号回路
は、入力されたディジタル信号の一方の状態を第1の回
路が検出していることで前記一方の状態の検出が阻止さ
れ、また前記入力されたディジタル信号の一方の状態を
前記第1の回路が検出していないことにより前記ディジ
タル信号の他方の状態を検出したと看做して、この他方
の状態を検出したことを示す検出信号を出力する第2の
回路を備えたものである。
In the digital signal circuit according to the second aspect of the present invention, the detection of one of the states of the input digital signal is blocked by the first circuit, and the detection of the one state is blocked. It is considered that the other state of the digital signal is detected because the one state of the digital signal is not detected by the first circuit, and a detection signal indicating that the other state is detected is output. The second circuit is provided.

【0014】請求項3の発明に係るディジタル信号回路
は、第1の回路と第2の回路とから夫々出力される検出
信号を比較し、その比較結果を基にディジタル信号の入
力された回路の異常または正常を示す判定信号を出力す
る判定信号出力回路を備えたものである。
According to a third aspect of the present invention, a digital signal circuit compares the detection signals output from the first circuit and the second circuit, respectively, and based on the comparison result, the digital signal is input to the digital signal circuit. A determination signal output circuit that outputs a determination signal indicating abnormality or normality is provided.

【0015】請求項4の発明に係るディジタル信号回路
は、判定信号出力回路がディジタル信号の入力された回
路の異常を示す判定信号を出力していないことを条件
に、第1の回路が検出した前記ディジタル信号の一方の
状態の検出信号を出力する出力回路を備えたものであ
る。
According to another aspect of the digital signal circuit of the present invention, the first signal is detected on condition that the determination signal output circuit does not output the determination signal indicating the abnormality of the circuit to which the digital signal is input. An output circuit for outputting a detection signal of one state of the digital signal is provided.

【0016】請求項5の発明に係るディジタル信号回路
は、ノイズにより判定信号出力回路から出力される異常
を示す誤った判定信号を除去する誤判定信号除去回路を
備えたものである。
A digital signal circuit according to a fifth aspect of the present invention comprises an erroneous decision signal removing circuit for eliminating an erroneous decision signal output from the decision signal output circuit due to noise and indicating an abnormality.

【0017】[0017]

【作用】請求項1の発明におけるディジタル信号回路
は、ディジタル信号の入力される回路に異常が生じる
と、第1の回路の検出信号と第2の回路の検出信号との
関係を正常時のそれと異なるものにすることで、前記デ
ィジタル信号の入力される回路の回路構成素子や配線部
に生じた不良の判別を可能にする。
In the digital signal circuit according to the present invention, when an abnormality occurs in the circuit to which the digital signal is input, the relationship between the detection signal of the first circuit and the detection signal of the second circuit is changed from that in a normal state. By making them different, it is possible to discriminate a defect that has occurred in a circuit constituent element or a wiring portion of the circuit to which the digital signal is input.

【0018】請求項2の発明における第2の回路は、入
力されたディジタル信号の一方の状態を第1の回路が検
出しているか否かに連動して前記ディジタル信号の他方
の状態を検出し、その他方の状態の検出信号を出力し、
前記第1の回路の検出信号と前記第2の回路の検出信号
の関係から、前記ディジタル信号の入力される回路の回
路構成素子や配線部に生じた不良の判別を可能にする。
According to a second aspect of the present invention, the second circuit detects the other state of the digital signal, depending on whether the first circuit detects one state of the input digital signal. , Output the detection signal of the other state,
From the relationship between the detection signal of the first circuit and the detection signal of the second circuit, it is possible to discriminate a defect that has occurred in a circuit constituent element or a wiring portion of the circuit to which the digital signal is input.

【0019】請求項3の発明における判定信号出力回路
は、第1の回路と第2の回路から夫々出力される検出信
号の比較結果を基に、ディジタル信号が入力された回路
の異常あるいは正常を示す判定信号を生成し出力するこ
とで、回路構成素子や配線部に不良が生じていることを
前記判定信号から知ることを可能にする。
According to the third aspect of the invention, the determination signal output circuit determines whether the circuit to which the digital signal is input is abnormal or normal based on the comparison result of the detection signals output from the first circuit and the second circuit. By generating and outputting the determination signal shown, it is possible to know from the determination signal that a defect has occurred in the circuit component element or the wiring portion.

【0020】請求項4の発明における出力回路は、ディ
ジタル信号の入力される回路の回路構成素子や配線部に
不良が生じていないときに限り、入力されたディジタル
信号の一方の状態の検出信号を出力し、また回路構成素
子や配線部に不良が生じていると入力されたディジタル
信号の一方の状態の検出信号の出力を阻止して、回路構
成素子や配線部に生じた不良による誤った信号の伝達を
防止する。
The output circuit in the invention of claim 4 outputs the detection signal of one state of the input digital signal only when there is no defect in the circuit constituent element or the wiring portion of the circuit to which the digital signal is input. An erroneous signal due to a defect that occurs in the circuit component or wiring by blocking the output of the detection signal in one state of the digital signal that is output when there is a defect in the circuit component or wiring Prevent the transmission of.

【0021】請求項5の発明における誤判定信号除去回
路は、ディジタル信号の入力される回路あるいはディジ
タル信号源において発生するノイズによる異常を示す誤
った判定信号を除去することで、回路構成素子や配線部
に不良が生じていることを示す異常判定信号による異常
判定の信頼性を向上させる。
The erroneous decision signal removing circuit in the fifth aspect of the present invention removes an erroneous decision signal indicating an abnormality due to noise generated in a circuit to which a digital signal is input or a digital signal source, and thereby a circuit constituent element or a wiring. The reliability of abnormality determination by an abnormality determination signal indicating that a defect has occurred in a part is improved.

【0022】[0022]

【実施例】【Example】

実施例1.以下、この発明の一実施例を図について説明
する。図1は、この実施例のディジタル信号回路の構成
を示す回路図である。図1において図6と同一の部分に
ついては同一の符号を付し説明を省略する。図において
17は電流制限用抵抗、18はノイズなどの高周波成分
を入力側グランド端子19を介して入力側のグランドに
バイパスさせるためのコンデンサ、20は第1の回路、
21は第2の回路である。
Example 1. An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a circuit diagram showing the configuration of the digital signal circuit of this embodiment. In FIG. 1, the same parts as those in FIG. 6 are designated by the same reference numerals and the description thereof will be omitted. In the figure, 17 is a current limiting resistor, 18 is a capacitor for bypassing high frequency components such as noise to the input side ground terminal 19 via the input side ground terminal 19, 20 is a first circuit,
Reference numeral 21 is a second circuit.

【0023】22は電流制限用抵抗17とコンデンサ1
8との接続点とフォトカプラ23の発光ダイオードのカ
ソード端子間において、前記発光ダイオードに対し順方
向に接続されたダイオード、24は入力側電源ライン2
5とフォトカプラ23の発光ダイオードのアノード端子
間に接続された抵抗、26はフォトカプラ23の発光ダ
イオードのアノード端子とフォトカプラ28の発光ダイ
オードのアノード端子との間に接続された定電圧ダイオ
ード、27はフォトカプラ28の発光ダイオードのアノ
ード端子と入力側グランド端子19との間に接続された
抵抗である。
22 is a current limiting resistor 17 and a capacitor 1
Between the connection point with 8 and the cathode terminal of the light emitting diode of the photocoupler 23, the diode is connected in the forward direction with respect to the light emitting diode, and 24 is the input side power line 2
5, a resistor connected between the anode terminal of the light emitting diode of the photocoupler 23, 26 is a constant voltage diode connected between the anode terminal of the light emitting diode of the photocoupler 23 and the anode terminal of the light emitting diode of the photocoupler 28, Reference numeral 27 is a resistor connected between the anode terminal of the light emitting diode of the photocoupler 28 and the input side ground terminal 19.

【0024】29は出力側電源ライン30とフォトカプ
ラ23のフォトトランジスタのコレクタ端子との間に接
続された負荷抵抗、31は第1の検出信号出力回路33
の入力抵抗、32は第1の検出信号出力回路33の入力
端子と出力側グランド端子40との間に接続されたコン
デンサである。フォトカプラ23のフォトトランジスタ
のエミッタ端子を接地する出力側グランド端子39と前
記出力側グランド端子40とは共通接続されている。
Reference numeral 29 is a load resistance connected between the output side power supply line 30 and the collector terminal of the phototransistor of the photocoupler 23, and 31 is the first detection signal output circuit 33.
And 32 is a capacitor connected between the input terminal of the first detection signal output circuit 33 and the output side ground terminal 40. The output side ground terminal 39 for grounding the emitter terminal of the phototransistor of the photocoupler 23 and the output side ground terminal 40 are commonly connected.

【0025】34は出力側電源ライン35とフォトカプ
ラ28のフォトトランジスタのコレクタ端子との間に接
続された負荷抵抗、36は第2の検出信号出力回路38
の入力抵抗、37は第2の検出信号出力回路38の入力
端子と出力側グランド端子42との間に接続されたコン
デンサである。41はフォトカプラ28のフォトトラン
ジスタのエミッタ端子を接地する出力側グランド端子で
ある。出力側グランド端子39と出力側グランド端子4
0と出力側グランド端子41と出力側グランド端子42
とは共通接続され、また出力側電源ライン30と出力側
電源ライン35とは共通接続されている。43は異常判
定手段であり、第1の検出信号出力回路33と第2の検
出信号出力回路とから出力される検出信号を基に回路構
成素子や配線部に生じた不良を判定する。
Reference numeral 34 is a load resistance connected between the output side power supply line 35 and the collector terminal of the phototransistor of the photocoupler 28, and 36 is a second detection signal output circuit 38.
And 37 is a capacitor connected between the input terminal of the second detection signal output circuit 38 and the output side ground terminal 42. Reference numeral 41 is an output side ground terminal for grounding the emitter terminal of the phototransistor of the photocoupler 28. Output side ground terminal 39 and output side ground terminal 4
0, output side ground terminal 41 and output side ground terminal 42
Are commonly connected, and the output side power supply line 30 and the output side power supply line 35 are commonly connected. An abnormality determining unit 43 determines a defect that has occurred in a circuit component or a wiring portion based on the detection signals output from the first detection signal output circuit 33 and the second detection signal output circuit.

【0026】次に、このディジタル信号回路の動作につ
いて説明する。まず回路構成素子や配線部に不良が生じ
てない正常な状態において、スイッチ3がオン状態およ
びオフ状態になったときの動作について説明する。
Next, the operation of this digital signal circuit will be described. First, the operation when the switch 3 is in the on state and the off state in a normal state in which there is no defect in the circuit components and the wiring section will be described.

【0027】スイッチ3がオン状態になると、入力側電
源ライン25から抵抗24とフォトカプラ23の発光ダ
イオードとダイオード22と電流制限用抵抗17を経
て、スイッチ3を通り入力側グランド端子19へ電流が
流れる。この結果、フォトカプラ23のフォトトランジ
スタがオン状態となり、そのコレクタ端子はほぼグラン
ドレベルに落ち、この‘L’レベルの信号が第1の検出
信号出力回路33に供給され反転され、スイッチ3のオ
ン状態を示す‘H’レベルの検出信号Aとして出力され
る。
When the switch 3 is turned on, a current flows from the input side power supply line 25 to the input side ground terminal 19 through the resistor 24, the light emitting diode of the photocoupler 23, the diode 22 and the current limiting resistor 17. Flowing. As a result, the phototransistor of the photocoupler 23 is turned on, its collector terminal drops to almost the ground level, and this'L 'level signal is supplied to the first detection signal output circuit 33 and inverted to turn on the switch 3. It is output as the'H 'level detection signal A indicating the state.

【0028】一方、定電圧ダイオード26のカソード端
子に印加される電圧レベルは、スイッチ3がオン状態と
なりスイッチ3を通って入力側グランド端子19へ電流
が流れることから、フォトカプラ23の発光ダイオード
とダイオード22と電流制限用抵抗17とにおける電圧
降下量に応じた電圧レベルが定電圧ダイオード26のツ
ェナ電圧と抵抗27の電圧降下分との和からなる電圧値
より低くなり、フォトカプラ28の発光ダイオードを流
れる電流は零となる。この結果、フォトカプラ28のフ
ォトトランジスタはオフ状態となり、第2の検出信号出
力回路38の入力端子には出力側電源ライン35の電源
電圧である‘H’レベルの信号が供給され反転されて、
‘L’レベルの検出信号Bとして出力される。この
‘L’レベルの検出信号Bはスイッチ3のオフ状態の非
検出を示している。そして、検出信号Aが‘H’レベ
ル、検出信号Bが‘L’レベルの組み合わせのときに
は、スイッチ3がオン状態となっているものと認定す
る。
On the other hand, the voltage level applied to the cathode terminal of the constant voltage diode 26 is the same as the light emitting diode of the photocoupler 23 because the switch 3 is turned on and a current flows through the switch 3 to the input side ground terminal 19. The voltage level corresponding to the voltage drop amount in the diode 22 and the current limiting resistor 17 becomes lower than the voltage value formed by the sum of the Zener voltage of the constant voltage diode 26 and the voltage drop of the resistor 27, and the light emitting diode of the photocoupler 28. The current flowing through is zero. As a result, the phototransistor of the photocoupler 28 is turned off, and the input terminal of the second detection signal output circuit 38 is supplied with the signal of the “H” level which is the power supply voltage of the output power supply line 35 and is inverted,
It is output as the detection signal B of'L 'level. This'L 'level detection signal B indicates non-detection of the OFF state of the switch 3. Then, when the detection signal A is in the “H” level and the detection signal B is in the “L” level, it is determined that the switch 3 is in the ON state.

【0029】次に、スイッチ3がオフ状態になると、そ
れまで入力側電源ライン25から抵抗24とフォトカプ
ラ23の発光ダイオードとダイオード22と電流制限用
抵抗17を経て、スイッチ3から入力側グランド端子1
9に流れ込んでいた電流は零となる。この結果、定電圧
ダイオード26のカソード端子に印加される電圧レベル
は上昇し、定電圧ダイオード26を導通させ、フォトカ
プラ28の発光ダイオードを経て入力側グランド端子1
9に電流が流れ、フォトカプラ28のフォトトランジス
タをオン状態にする。従って、第2の検出信号出力回路
38から出力される検出信号Bは‘H’レベルとなる。
一方、第1の検出信号出力回路33から出力されている
検出信号Aは‘L’レベルとなる。この‘L’レベルの
検出信号Aはスイッチ3のオン状態の非検出を示してい
る。そして、検出信号Aが‘L’レベル、検出信号Bが
‘H’レベルの組合せのときには、スイッチ3がオフ状
態となっているものと認定する。
Next, when the switch 3 is turned off, from the input side power supply line 25 to the resistor 24, the light emitting diode of the photocoupler 23, the diode 22 and the current limiting resistor 17, the switch 3 is turned to the input side ground terminal. 1
The current flowing into 9 becomes zero. As a result, the voltage level applied to the cathode terminal of the constant voltage diode 26 rises, the constant voltage diode 26 is made conductive, and the input side ground terminal 1 passes through the light emitting diode of the photocoupler 28.
An electric current flows through 9 to turn on the phototransistor of the photocoupler 28. Therefore, the detection signal B output from the second detection signal output circuit 38 becomes the “H” level.
On the other hand, the detection signal A output from the first detection signal output circuit 33 becomes the “L” level. This'L 'level detection signal A indicates that the ON state of the switch 3 is not detected. Then, when the detection signal A is in the “L” level and the detection signal B is in the “H” level, it is determined that the switch 3 is in the off state.

【0030】次に、回路構成素子や配線部に不良が生じ
ている状態において、スイッチ3がオン状態およびオフ
状態になったときの動作について説明する。この場合、
不良発生箇所はフォトカプラ23のフォトトランジスタ
であり、オープンの状態に固定されたスイッチング不能
な不良状態とする。
Next, the operation when the switch 3 is in the on state and the off state in the state where the circuit component and the wiring portion are defective will be described. in this case,
The defective portion is the phototransistor of the photocoupler 23, which is fixed in an open state and is in a non-switchable defective state.

【0031】このような不良状態のときには、スイッチ
3がオン状態になってもフォトカプラ23のフォトトラ
ンジスタは導通しない。従って、第1の検出信号出力回
路33から出力されている検出信号Aは‘L’レベルで
ある。またこのとき入力側ではスイッチ3のオン状態に
より入力側電源ライン25から抵抗24とフォトカプラ
23の発光ダイオードとダイオード22と電流制限用抵
抗17を経て、スイッチ3を通り入力側グランド端子1
9に電流が流れることから、定電圧ダイオード26はオ
フ状態となっており、第2の検出信号出力回路38から
出力される検出信号Bは‘L’レベルである。このよう
に検出信号Aが‘L’レベル、検出信号Bも‘L’レベ
ルのとき、すなわち検出信号A,Bの状態が同一のとき
には異常判定手段43は回路不良による異常動作と認定
する。
In such a defective state, the phototransistor of the photocoupler 23 does not conduct even if the switch 3 is turned on. Therefore, the detection signal A output from the first detection signal output circuit 33 is at the'L 'level. Further, at this time, on the input side, the switch 3 is turned on, and the input side power line 25 passes through the resistor 24, the light emitting diode of the photocoupler 23, the diode 22 and the current limiting resistor 17, and then passes through the switch 3 to the input side ground terminal 1.
The constant voltage diode 26 is in the off state because the current flows through the switch 9, and the detection signal B output from the second detection signal output circuit 38 is at the “L” level. In this way, when the detection signal A is at the “L” level and the detection signal B is also at the “L” level, that is, when the states of the detection signals A and B are the same, the abnormality determination means 43 determines that the operation is abnormal due to a circuit failure.

【0032】また、不良発生箇所がフォトカプラ23の
フォトトランジスタとフォトカプラ28のフォトトラン
ジスタであり、オープンの状態に固定されたスイッチン
グ不能な不良状態のときには、スイッチ3のオン状態あ
るいはオフ状態に係わらず検出信号Aおよび検出信号B
は共に‘L’レベルとなるので、この場合にも異常判定
手段43は回路不良による異常動作と認定することが可
能である。
In addition, the defective portions are the phototransistor of the photocoupler 23 and the phototransistor of the photocoupler 28, and in the case of a defective state in which switching is not possible and fixed in the open state, the switch 3 is turned on or off. Without detection signal A and detection signal B
Since both are at the'L 'level, in this case also, the abnormality determination means 43 can recognize the abnormal operation due to the circuit failure.

【0033】なお、以上説明した実施例では、フォトカ
プラのフォトトランジスタに生じた不良、特にオープン
の状態に固定されてしまうような不良についての異常検
出動作について説明したが、フォトカプラ23,28の
フォトトランジスタのいずれか一方あるいは共にショー
ト状態となるような不良の場合についても検出信号A,
Bの状態が同一の状態となる場合が生じるので、このよ
うな不良発生についても異常判定手段43は異常動作の
認定が可能である。
In the above-described embodiment, the abnormality detecting operation for the defect that occurs in the phototransistor of the photocoupler, especially the defect that is fixed in the open state has been described. In the case of a defect in which one or both of the phototransistors are short-circuited, the detection signal A,
Since the state of B may be the same state, the abnormality determination means 43 can recognize the abnormal operation even when such a defect occurs.

【0034】また、以上説明した実施例では全ての不良
発生の形態については説明していないがフォトカプラ2
3の発光ダイオードとダイオード22と電流制限用抵抗
17とからなる回路部分で生じた回路素子不良や断線や
短絡などの不良を除き、不良が発生するとスイッチ3の
オン状態あるいはオフ状態のときに検出信号A,Bが同
一の状態となる場合が生じ、異常判定手段43による異
常の認定が可能である。
Further, in the above-described embodiment, the photo-coupler 2 has not been described for all the failure occurrence modes.
If a defect occurs, it is detected when the switch 3 is in the ON state or the OFF state, except for a circuit element defect or a defect such as a disconnection or a short circuit that has occurred in the circuit portion including the light emitting diode 3 of FIG. 3, the diode 22 and the current limiting resistor 17. The signals A and B may be in the same state, and the abnormality determination means 43 can recognize the abnormality.

【0035】実施例2.図2は、この実施例2のディジ
タル信号回路の構成を示す回路図である。図2において
図1と同一の部分については同一の符号を付し説明を省
略する。図において51は第1の検出信号出力回路33
から出力される検出信号Aと第2の検出信号出力回路3
8から出力される検出信号Bとの一致判定を行うexO
R回路(判定信号出力回路)、52は出力バッファ回路
である。
Example 2. FIG. 2 is a circuit diagram showing the configuration of the digital signal circuit according to the second embodiment. 2, the same parts as those in FIG. 1 are designated by the same reference numerals and the description thereof will be omitted. In the figure, 51 is the first detection signal output circuit 33.
Detection signal A output from the second detection signal output circuit 3
ExO for determining the coincidence with the detection signal B output from 8
An R circuit (determination signal output circuit) 52 is an output buffer circuit.

【0036】この実施例では、回路構成素子や配線部に
不良が生じると、第1の検出信号出力回路33から出力
される検出信号Aと第2の検出信号出力回路38から出
力される検出信号Bとが一致する状態が発生するので、
exOR回路51の出力Cは‘L’レベルとなり、この
‘L’レベルの信号Cを異常判定信号として外部に出力
することが可能となる。
In this embodiment, when a defect occurs in a circuit component or a wiring part, a detection signal A output from the first detection signal output circuit 33 and a detection signal output from the second detection signal output circuit 38. Since the state where B and B coincide, occurs,
The output C of the exOR circuit 51 becomes the “L” level, and this “L” level signal C can be output to the outside as an abnormality determination signal.

【0037】実施例3.図3は、この実施例3のディジ
タル信号回路の構成を示す回路図である。図3において
図2と同一の部分については同一の符号を付し説明を省
略する。図において61は第1の検出信号出力回路33
から出力される検出信号AとexOR回路51から出力
される信号Cとの論理積演算を行うAND回路(出力回
路)である。
Example 3. FIG. 3 is a circuit diagram showing the configuration of the digital signal circuit according to the third embodiment. 3, the same parts as those in FIG. 2 are designated by the same reference numerals and the description thereof will be omitted. In the figure, 61 is the first detection signal output circuit 33.
It is an AND circuit (output circuit) that performs a logical product operation of the detection signal A output from the signal and the signal C output from the exOR circuit 51.

【0038】前記実施例2で説明したように回路構成素
子や配線部に不良が生じると、信号Cは‘L’レベルと
なり、また不良が生じていない正常時では‘H’レベル
となっている。また、前記実施例1で説明したように、
スイッチ3がオン状態となったときに第1の検出信号出
力回路33から出力される検出信号Aは‘H’レベルと
なる。従って、AND回路61からは回路構成素子や配
線部に不良が生じていないときに限りスイッチ3のオン
状態を示す‘H’レベルの信号Dが出力される。
As described in the second embodiment, when a defect occurs in a circuit component element or a wiring portion, the signal C becomes "L" level, and in a normal state where no defect occurs, it becomes "H" level. . In addition, as described in the first embodiment,
When the switch 3 is turned on, the detection signal A output from the first detection signal output circuit 33 becomes the “H” level. Therefore, the AND circuit 61 outputs an “H” level signal D indicating the ON state of the switch 3 only when there is no defect in the circuit constituent element or the wiring portion.

【0039】実施例4.図4は、この実施例4のディジ
タル信号回路の構成を示す回路図である。図4において
図3と同一の部分については同一の符号を付し説明を省
略する。図において71と72はクロック信号の立ち上
がりエッジによりデータ入力端子Dに供給されるデータ
を読み込み、Q出力端子およびQC出力端子に出力する
Dフリップフロップである。73はDフリップフロップ
71のQC出力端子から出力される信号の立ち下がりエ
ッジによりリセットされると共に、クロック信号のカウ
ント値が所定の設定値に達したときにタイムアップ信号
をDフリップフロップ72のクロック信号入力端子に出
力するタイマである。なお、exNOR回路100とD
フリップフロップ71,72とタイマ73は誤判定信号
除去回路を構成している。
Embodiment 4 FIG. FIG. 4 is a circuit diagram showing the configuration of the digital signal circuit according to the fourth embodiment. 4, the same parts as those in FIG. 3 are designated by the same reference numerals and the description thereof will be omitted. In the figure, 71 and 72 are D flip-flops which read data supplied to the data input terminal D at the rising edge of the clock signal and output the data to the Q output terminal and the QC output terminal. 73 is reset by the falling edge of the signal output from the QC output terminal of the D flip-flop 71, and when the count value of the clock signal reaches a predetermined set value, the time-up signal is sent to the clock of the D flip-flop 72. It is a timer that outputs to the signal input terminal. The exNOR circuit 100 and D
The flip-flops 71 and 72 and the timer 73 form an erroneous determination signal removing circuit.

【0040】次に、この実施例4の動作について図4と
図5に示すタイミングチャートを参照して説明する。こ
の実施例では、スイッチ3のオン/オフの際のチャタリ
ングにより発生するチャタリングパルスが異常判定信号
として出力されるのを防止する。図5はスイッチ3がオ
フからオンへ切り替えられる際の各部の波形を示すタイ
ミングチャートを示している。
Next, the operation of the fourth embodiment will be described with reference to the timing charts shown in FIGS. In this embodiment, a chattering pulse generated by chattering when the switch 3 is turned on / off is prevented from being output as an abnormality determination signal. FIG. 5 is a timing chart showing waveforms of various parts when the switch 3 is switched from off to on.

【0041】スイッチ3でチャタリングが生じると、図
5の(ロ),(ハ)に示すようなスイッチ3のオフから
オンへ切り替えられる際のチャタリングによるチャタリ
ングパルスが信号Aと信号Bに現われる。回路構成素子
や配線部に不良が生じていない状態では、スイッチ3の
オンまたはオフに応じて出力される信号Aと信号Bとは
本来異なった極性であるが、図5の(ロ),(ハ)に示
すように信号Aと信号Bとに現われるチャタリングパル
スは、同一極性の信号として現われる場合がある。一
方、回路構成素子や配線部に不良が生じた場合に信号C
として出力される異常判定信号は、信号Aと信号Bとが
同一の極性となったときに出力されることから、信号A
と信号Bとに現われる同一極性のチャタリングパルスが
前記異常信号として出力され、異常判定を誤らせること
になる。この異常判定を誤る原因となる同一極性のチャ
タリングパルスを有した信号Aと信号Bは、exNOR
回路100により一致判定が行われることで図5の
(ニ)に示す信号Cの波形に変換される。
When chattering occurs in the switch 3, chattering pulses due to chattering when the switch 3 is switched from OFF to ON appear in the signals A and B as shown in (b) and (c) of FIG. In the state where no defect occurs in the circuit component or the wiring portion, the signal A and the signal B which are output depending on whether the switch 3 is turned on or off originally have different polarities. As shown in (c), chattering pulses appearing in the signal A and the signal B may appear as signals of the same polarity. On the other hand, if a defect occurs in the circuit component or the wiring part, the signal C
The abnormality determination signal output as is output when the signal A and the signal B have the same polarity.
The chattering pulse having the same polarity, which appears in the signal B and the signal B, is output as the abnormal signal, which causes the error determination to be erroneous. The signal A and the signal B having the chattering pulse of the same polarity, which causes the error determination to be incorrect, are exNOR.
The coincidence determination is performed by the circuit 100, so that the signal C is converted into the waveform of the signal C shown in FIG.

【0042】Dフリップフロップ71は、この信号Cを
クロック信号の立ち上がりエッジにより読み込んで出力
端子Qへ図5の(ホ)に示す‘H’レベルの信号として
出力すると共に、出力端子QCへ図5の(ヘ)に示す
‘L’レベルの信号を出力する。このDフリップフロッ
プ71の出力端子QCから出力される‘L’レベルの信
号の立ち下がりによりタイマ73は所定の設定値に向け
てクロック信号を計数する。しかし、チャタリングパル
スは通常、タイマ設定値より短い時間であるので、タイ
マがタイムアップする前に信号Aは‘H’レベル、信号
Bは‘L’レベルと異なった極性となり、信号Cの出力
は‘L’レベルとなる。この信号Cをクロック信号の立
ち上がりエッジより読み込んで出力端子Qへ図5の
(ホ)に示す‘L’レベルの信号として出力すると共
に、出力端子QCへ図5の(へ)に示す‘H’レベルの
信号を出力する。このDフリップフロップ71の出力端
子QCから出力される‘H’レベルの信号の立ち上がり
によりタイマ73はリセットされ、以後この信号が
‘H’レベルの間はタイマリセットの状態でクロック信
号は計数されない。このようにタイマ設定値以下のチャ
タリングは除去され、異常と認識しない。
The D flip-flop 71 reads this signal C at the rising edge of the clock signal and outputs it to the output terminal Q as the signal of the'H 'level shown in FIG. 5E, and also to the output terminal QC of FIG. The “L” level signal shown in (f) is output. The timer 73 counts the clock signal toward a predetermined set value by the fall of the signal of the'L 'level output from the output terminal QC of the D flip-flop 71. However, since the chattering pulse is usually shorter than the timer setting value, the signal A has a polarity different from that of the “H” level and the signal B has the “L” level before the timer times out, and the output of the signal C is It becomes'L 'level. This signal C is read from the rising edge of the clock signal and output to the output terminal Q as a signal of the'L 'level shown in FIG. 5E, and at the same time to the output terminal QC'H' shown in FIG. Output level signal. The timer 73 is reset by the rising of the "H" level signal output from the output terminal QC of the D flip-flop 71, and thereafter the clock signal is not counted in the timer reset state while this signal is "H" level. In this way, chattering below the timer set value is removed, and it is not recognized as abnormal.

【0043】ある時、信号Aを出力する回路内で不良が
発生し、スイッチ3がオンであるにもかかわらず信号A
が‘L’レベルに固定されてしまったものと仮定する
と、信号A,B共に‘L’レベルとなり、これにより信
号Cが‘H’レベルとなる。この信号Cをクロック信号
の立ち上がりエッジにより読み込んで、出力端子QCへ
図5の(ヘ)に示す‘L’レベルの信号を出力する。こ
の‘L’レベル出力によりタイマ73は所定の設定値に
向けてクロック信号を計数する。やがてタイマからはタ
イムアップ信号が出力され、Dフリップフロップ72は
このタイムアップ信号の立ち上がりエッジにより、Dフ
リップフロップ71の出力端子Qから出力されている図
5の(ホ)に示す信号を読み込み、Dフリップフロップ
72の出力端子Qから同図(チ)に示す信号を出力す
る。このDフリップフロップ72の出力端子Qからの出
力は、信号C’として出力されると共に出力端子QCか
らの出力は図5の(ロ)に示す信号Aとの間で論理積演
算が行われ、図5の(リ)に示す信号Dとして出力され
る。
At some time, a defect occurs in the circuit that outputs the signal A, and the signal A is output even though the switch 3 is on.
Assuming that is fixed to the'L 'level, both the signals A and B are at the'L' level, which causes the signal C to be at the'H 'level. This signal C is read at the rising edge of the clock signal, and the'L 'level signal shown in (f) of FIG. 5 is output to the output terminal QC. With this'L 'level output, the timer 73 counts clock signals toward a predetermined set value. Eventually, the timer outputs a time-up signal, and the D flip-flop 72 reads the signal shown in (e) of FIG. 5 output from the output terminal Q of the D flip-flop 71 at the rising edge of the time-up signal. The output terminal Q of the D flip-flop 72 outputs the signal shown in FIG. The output from the output terminal Q of the D flip-flop 72 is output as a signal C ′, and the output from the output terminal QC is subjected to a logical product operation with the signal A shown in (b) of FIG. It is output as the signal D shown in FIG.

【0044】このように、本実施例のディジタル信号回
路では、スイッチ3が切り替えられる際に発生するチャ
タリングパルスを除去して、このチャタリングパルスが
異常判定信号として出力されるのを防止する。
As described above, in the digital signal circuit of this embodiment, the chattering pulse generated when the switch 3 is switched is removed to prevent the chattering pulse from being output as the abnormality determination signal.

【0045】[0045]

【発明の効果】以上のように、請求項1の発明によれば
入力された接点信号あるいは無接点信号などのディジタ
ル信号のオンまたはオフ、あるいは‘H’レベルまたは
‘L’レベルの内の一方の状態を検出し検出信号を出力
する第1の回路と、前記ディジタル信号のオンまたはオ
フ、あるいは‘H’レベルまたは‘L’レベルの内の他
方の状態を検出し検出信号を出力する第2の回路と、そ
れら第1の回路と第2の回路とから出力される検出信号
を基に回路の異常を判定する異常判定手段とを備えるよ
うに構成したので、前記ディジタル信号の入力された回
路の正常の状態および異常な状態を判定できるディジタ
ル信号回路が得られる効果がある。
As described above, according to the first aspect of the present invention, the digital signal such as the input contact signal or the non-contact signal is turned on or off, or one of the'H 'level and the'L' level. And a second circuit for detecting the ON state or OFF state of the digital signal or the other of the'H 'level and the'L' level and outputting the detection signal. And the abnormality determining means for determining the abnormality of the circuit based on the detection signals output from the first circuit and the second circuit. There is an effect that a digital signal circuit capable of determining the normal state and the abnormal state of is obtained.

【0046】請求項2の発明によれば、入力されたディ
ジタル信号の一方の状態を検出する第1の回路と、前記
一方の状態を前記第1の回路が検出しているか否かに連
動して前記ディジタル信号の他方の状態を検出し、その
他方の状態の検出信号を出力する第2の回路とを備える
ように構成したので、前記第1の回路の検出信号と前記
第2の回路の検出信号との関係から、前記ディジタル信
号の入力される回路の回路構成素子や配線部に生じた不
良を判別できるディジタル信号回路が得られる効果があ
る。
According to the second aspect of the present invention, the first circuit for detecting one state of the input digital signal and the interlocking operation depending on whether or not the first circuit detects the one state. And a second circuit for detecting the other state of the digital signal and outputting a detection signal of the other state, the detection signal of the first circuit and the second circuit of the second circuit are provided. From the relationship with the detection signal, there is an effect that a digital signal circuit capable of discriminating a defect that has occurred in a circuit constituent element or a wiring portion of a circuit to which the digital signal is input is obtained.

【0047】請求項3の発明によれば、第1の回路と第
2の回路から夫々出力される検出信号を比較し、その比
較結果を基にディジタル信号が入力された回路の異常あ
るいは正常を示す判定信号を出力する判定信号出力回路
を備えるように構成したので、回路構成素子や配線部に
不良が生じていることを示す信号を出力できるディジタ
ル信号回路が得られる効果がある。
According to the third aspect of the present invention, the detection signals output from the first circuit and the second circuit are compared, and based on the comparison result, it is determined whether the circuit to which the digital signal is input is abnormal or normal. Since the determination signal output circuit that outputs the determination signal shown is provided, there is an effect that a digital signal circuit that can output a signal indicating that a defect has occurred in a circuit component or a wiring portion can be obtained.

【0048】請求項4の発明によれば、判定信号出力回
路が異常を示す判定信号を出力していないことを条件
に、第1の回路が検出したディジタル信号の一方の状態
を示す検出信号を出力する出力回路を備えるように構成
したので、回路構成素子や配線部に生じた不良による誤
った信号の伝達を防止できるディジタル信号回路が得ら
れる効果がある。
According to the invention of claim 4, the detection signal indicating one state of the digital signal detected by the first circuit is provided on condition that the determination signal output circuit does not output the determination signal indicating abnormality. Since the output circuit for outputting is provided, it is possible to obtain a digital signal circuit capable of preventing transmission of an erroneous signal due to a defect caused in a circuit constituent element or a wiring portion.

【0049】請求項5の発明によれば、判定信号出力回
路から異常を示す誤った判定信号が出力されるの防止す
る誤判定信号除去回路を備えるように構成したので、回
路構成素子や配線部に不良が生じていることを示す判定
信号が、回路や入力されるディジタル信号の信号源に発
生するノイズにより誤って生成され出力されることを防
止して、判定信号による異常判定の信頼性を向上させる
ことのできるディジタル信号回路が得られる効果があ
る。
According to the invention of claim 5, the erroneous decision signal removing circuit for preventing the erroneous decision signal indicating an abnormality from being outputted from the decision signal output circuit is provided. It is possible to prevent the judgment signal that indicates that a defect has occurred in the circuit from being erroneously generated and output due to noise that occurs in the circuit or the signal source of the input digital signal, and to improve the reliability of the abnormality judgment by the judgment signal. There is an effect that a digital signal circuit that can be improved is obtained.

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

【図1】 この発明の実施例1によるディジタル信号回
路を示す回路図である。
FIG. 1 is a circuit diagram showing a digital signal circuit according to a first embodiment of the present invention.

【図2】 この発明の実施例2によるディジタル信号回
路を示す回路図である。
FIG. 2 is a circuit diagram showing a digital signal circuit according to a second embodiment of the present invention.

【図3】 この発明の実施例3によるディジタル信号回
路を示す回路図である。
FIG. 3 is a circuit diagram showing a digital signal circuit according to a third embodiment of the present invention.

【図4】 この発明の実施例4によるディジタル信号回
路を示す回路図である。
FIG. 4 is a circuit diagram showing a digital signal circuit according to a fourth embodiment of the present invention.

【図5】 この発明の実施例4によるディジタル信号回
路の誤判定信号除去回路の各部の信号波形を示すタイミ
ングチャートである。
FIG. 5 is a timing chart showing a signal waveform of each part of the erroneous determination signal removal circuit of the digital signal circuit according to the fourth embodiment of the present invention.

【図6】 従来のディジタル信号回路を示す回路図であ
る。
FIG. 6 is a circuit diagram showing a conventional digital signal circuit.

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

20 第1の回路、21 第2の回路、43 異常判定
手段、51 exOR回路(判定信号出力回路,誤判定
信号除去回路)、61 AND回路(出力回路)、7
1,72 Dフリップフロップ(誤判定信号除去回
路)、73 タイマ(誤判定信号除去回路)。
20 first circuit, 21 second circuit, 43 abnormality determination means, 51 exOR circuit (determination signal output circuit, erroneous determination signal removal circuit), 61 AND circuit (output circuit), 7
1, 72 D flip-flop (erroneous decision signal removing circuit), 73 timer (erroneous decision signal removing circuit).

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 入力された接点信号あるいは無接点信号
などのディジタル信号のオンまたはオフ、あるいは
‘H’レベルまたは‘L’レベルの内の一方の状態を検
出し検出信号を出力する第1の回路と、前記ディジタル
信号のオンまたはオフ、あるいは‘H’レベルまたは
‘L’レベルの内の他方の状態を検出し検出信号を出力
する第2の回路と、前記第1の回路から出力される検出
信号と前記第2の回路から出力される検出信号とを基に
前記ディジタル信号の入力された回路の異常を判定する
異常判定手段とを備えたディジタル信号回路。
1. A first signal for detecting an ON or OFF state of a digital signal such as an input contact signal or a non-contact signal, or a state of one of'H 'level and'L' level and outputting a detection signal. A circuit, a second circuit for detecting the on or off state of the digital signal, or the other of the'H 'level and the'L' level and outputting a detection signal, and the first circuit. A digital signal circuit comprising an abnormality determining means for determining abnormality of the circuit to which the digital signal is input, based on the detection signal and the detection signal output from the second circuit.
【請求項2】 前記第2の回路は、前記第1の回路が前
記入力されたディジタル信号の一方の状態を検出してい
ることで前記一方の状態の検出が阻止され、また前記入
力されたディジタル信号の一方の状態を前記第1の回路
が検出していないことを条件に前記他方の状態の検出と
看做し、その他方の状態の検出信号を出力することを特
徴とする請求項1記載のディジタル信号回路。
2. The second circuit prevents detection of the one state of the input digital signal by the first circuit detecting the one state of the input digital signal, and the second circuit receives the input state of the digital signal. 2. A detection signal of the other state is output on the condition that one state of the digital signal is not detected by the first circuit, and a detection signal of the other state is output. The described digital signal circuit.
【請求項3】 前記異常判定手段は、前記第1の回路と
前記第2の回路とから夫々出力される検出信号を比較
し、その比較結果を基に前記ディジタル信号の入力され
た回路の異常時または正常時を示す判定信号を出力する
判定信号出力回路を備えていることを特徴とする請求項
1または請求項2記載のディジタル信号回路。
3. The abnormality determining means compares the detection signals output from the first circuit and the second circuit, and based on the comparison result, the abnormality of the circuit to which the digital signal is input. 3. The digital signal circuit according to claim 1 or 2, further comprising a determination signal output circuit that outputs a determination signal indicating time or normal time.
【請求項4】 前記判定信号出力回路が前記ディジタル
信号の入力された回路の異常を示す判定信号を出力して
いないことを条件に、前記第1の回路が検出した前記デ
ィジタル信号の一方の状態の検出信号を出力する出力回
路を備えていることを特徴とする請求項3記載のディジ
タル信号回路。
4. One state of the digital signal detected by the first circuit, provided that the determination signal output circuit does not output a determination signal indicating an abnormality of the circuit to which the digital signal is input. 4. The digital signal circuit according to claim 3, further comprising an output circuit for outputting the detection signal of.
【請求項5】 ノイズにより前記判定信号出力回路から
出力される異常を示す誤った判定信号を除去する誤判定
信号除去回路を備えていることを特徴とする請求項4記
載のディジタル信号回路。
5. The digital signal circuit according to claim 4, further comprising an erroneous determination signal removing circuit for removing an erroneous determination signal indicating an abnormality output from the determination signal output circuit due to noise.
JP6222130A 1994-09-16 1994-09-16 Digital signal circuit Pending JPH0887422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6222130A JPH0887422A (en) 1994-09-16 1994-09-16 Digital signal circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6222130A JPH0887422A (en) 1994-09-16 1994-09-16 Digital signal circuit

Publications (1)

Publication Number Publication Date
JPH0887422A true JPH0887422A (en) 1996-04-02

Family

ID=16777645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6222130A Pending JPH0887422A (en) 1994-09-16 1994-09-16 Digital signal circuit

Country Status (1)

Country Link
JP (1) JPH0887422A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009289110A (en) * 2008-05-30 2009-12-10 Koyo Electronics Ind Co Ltd Contact point state diagnostic system and emergency measure system in plc
JP2014085840A (en) * 2012-10-24 2014-05-12 Mitsubishi Electric Corp Digital signal output device
JP2015513130A (en) * 2012-01-11 2015-04-30 サレス カナダ インコーポレイテッド Vital digital input

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009289110A (en) * 2008-05-30 2009-12-10 Koyo Electronics Ind Co Ltd Contact point state diagnostic system and emergency measure system in plc
JP2015513130A (en) * 2012-01-11 2015-04-30 サレス カナダ インコーポレイテッド Vital digital input
JP2014085840A (en) * 2012-10-24 2014-05-12 Mitsubishi Electric Corp Digital signal output device

Similar Documents

Publication Publication Date Title
EP0525522B1 (en) Drive circuit fault detection device
US4980791A (en) Universal power supply monitor circuit
JPH0887422A (en) Digital signal circuit
JPH0812994B2 (en) Self-diagnosis type proximity switch
US6646503B2 (en) Circuit configuration for detecting a functional disturbance
JP3770163B2 (en) Abnormality detection method for voltage driven semiconductor device
US6477069B1 (en) Circuit for detecting and inadmissibly high current in an output stage
JP3836669B2 (en) Condition monitoring device
CN111025195A (en) Detection circuit
CN218956772U (en) Signal output circuit and intelligent power module
JPH0142054Y2 (en)
US7535245B2 (en) Integrated circuit with integrated circuit section to aid in testing
JPH0362613A (en) Fault discrimination device for gate control circuit
JPS6115418A (en) Electric circuit device
JPH07227095A (en) Failure detector for load driver
EP0371296B1 (en) Microcomputer interface arrangement
JPH0736320A (en) Load abnormality detecting device
JPS6336207B2 (en)
JPS593270A (en) Apparatus for inspecting disconnection of switching circuit
JPS5941925A (en) Clock selecting circuit
JP2000074629A (en) Photoelectric switch having multiple optical axes
JP3869428B2 (en) Counting device
JP2814922B2 (en) Balance clock input signal abnormality detection circuit
JPS5916423A (en) Circuit for detecting interruption of signal
JPH08114466A (en) Wire breakdown detector for encoder