JP2006214730A - Switching circuit and failure diagnosis method of same - Google Patents
Switching circuit and failure diagnosis method of same Download PDFInfo
- Publication number
- JP2006214730A JP2006214730A JP2005024778A JP2005024778A JP2006214730A JP 2006214730 A JP2006214730 A JP 2006214730A JP 2005024778 A JP2005024778 A JP 2005024778A JP 2005024778 A JP2005024778 A JP 2005024778A JP 2006214730 A JP2006214730 A JP 2006214730A
- Authority
- JP
- Japan
- Prior art keywords
- switch
- circuit
- determination
- input
- harness
- 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.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、スイッチのオン、オフ状態を検出するスイッチ回路と、スイッチ回路における故障診断方法に関する。 The present invention relates to a switch circuit that detects an on / off state of a switch and a failure diagnosis method in the switch circuit.
一つのスイッチのオン、オフのスイッチ状態に対応するLow信号、High信号を2つのマイクロコンピュータ(以下、CPUと略称する)に入力して、そのスイッチのオン、オフ状態を判定して、2つのCPUによるスイッチのオン、オフ状態の判定結果に応じて制御対象に対して何らかの制御を行う二重系のスイッチ回路が知られている。
しかしながら、そのような二重系のスイッチ回路を用いても、スイッチからそれぞれのCPUへ信号を入力するハーネスの一方の断線の場合と、一方のCPUの故障の場合とでは、2つのCPUから出力されるスイッチのオン、オフ状態の不整合な判定結果は同じものとなる。その結果、ハーネスの断線とCPU故障の区別ができず、スイッチのオン、オフ状態を正しく判別できない問題があった。 However, even if such a dual system switch circuit is used, the output from two CPUs is caused when one of the harnesses for inputting a signal from the switch to each CPU is broken or when one of the CPUs fails. The inconsistent determination result of the ON / OFF state of the switch to be used is the same. As a result, there is a problem that the disconnection of the harness and the CPU failure cannot be distinguished, and the on / off state of the switch cannot be correctly determined.
安全を要求されるシステムでは、フェイルセーフとするのが通例であり、安全を優先するため、2つのCPUのスイッチのオン、オフ状態判定結果に不整合が生じた場合、最終的にスイッチ回路の故障と判定するように設計すると、上記二重系のスイッチ回路のシステム故障率が増加してしまう。
本発明は、上記の問題点を解決するために、スイッチ回路を二重系にしてもシステム故障率が増加しないスイッチ回路およびスイッチ回路における故障診断方法を提供することを目的とする。
In systems where safety is required, fail-safe is usually used, and in order to give priority to safety, if a mismatch occurs in the on / off state judgment results of the two CPUs, the switch circuit will eventually If it is designed to determine that there is a failure, the system failure rate of the dual switch circuit will increase.
In order to solve the above problems, an object of the present invention is to provide a switch circuit that does not increase the system failure rate even if the switch circuit is a dual system, and a fault diagnosis method in the switch circuit.
このため、本発明は一つのスイッチに対して、第1および第2の判定回路を設け、第1および第2の判定回路には、互いに異なる電圧値にバイアスされた第1の入力回路と第2の入力回路をそれぞれに付設し、スイッチの一方の端子は接地され、スイッチの他方の端子は、第1のハーネスで第1の入力回路に接続されるとともに、第2のハーネスで第2の入力回路に接続され、第1および第2の判定回路との間は、通信線で接続され、
第1および第2の判定回路は、入力された電圧値によりスイッチのオン、オフのスイッチ状態とハーネス断線の有無の第1次の判定をし、第1の判定回路は、当該第1の判定回路における第1次の判定結果と、通信線を介して入手した第2の判定回路における第1次の判定結果を組み合わせて、最終的なスイッチのオン、オフ状態の判定と故障診断を行うものとした。
For this reason, the present invention provides the first and second determination circuits for one switch, and the first and second determination circuits include the first input circuit biased to different voltage values and the first input circuit. Each of the two input circuits is attached, one terminal of the switch is grounded, and the other terminal of the switch is connected to the first input circuit by the first harness and the second terminal by the second harness. Connected to the input circuit, and connected between the first and second determination circuits via a communication line,
The first and second determination circuits make a primary determination of the switch ON / OFF switch state and the presence / absence of harness disconnection based on the input voltage value, and the first determination circuit performs the first determination Combining the primary determination result in the circuit and the primary determination result in the second determination circuit obtained via the communication line, the final switch ON / OFF state determination and failure diagnosis are performed. It was.
本発明により、第1の入力回路のバイアス電圧値と第2の入力回路のバイアス電圧値は異なるので、第1および第2の判定回路に入力されるスイッチがオフ状態のときの電圧値と、ハーネスが断線した場合の電圧値が異なる値となる。したがって、個々の判定回路はスイッチのオン、オフ状態、ハーネスの断線をそれぞれ区別して判定できる。 According to the present invention, since the bias voltage value of the first input circuit and the bias voltage value of the second input circuit are different, the voltage value when the switch input to the first and second determination circuits is in the off state, The voltage value when the harness is disconnected becomes a different value. Therefore, each determination circuit can distinguish and determine the on / off state of the switch and the disconnection of the harness.
そして、第1の判定回路が、第2の判定回路の判定したスイッチ状態、ハーネスの断線の判定の結果を通信線を介して入手して、第1の判定回路において判定したスイッチのオン、オフ、ハーネスの断線の判定結果と合わせて最終的にスイッチ状態を判定することにより、第2の判定回路の故障による誤ったスイッチのオンまたはオフ状態の判定結果を受け取っても、ハーネスの断線と、第2の判定回路の故障を区別して判定できる。
その結果、一つのスイッチに対して判定回路を二つ設けても、スイッチ回路全体の故障率が増加することが無い。
また、スイッチのオフ状態において、ハーネス断線が検出でき、スイッチ回路の診断がリアルタイムでできる。
The first determination circuit obtains the switch state determined by the second determination circuit and the determination result of the disconnection of the harness via the communication line, and the switch determined by the first determination circuit is turned on / off. In addition, by finally determining the switch state together with the determination result of the disconnection of the harness, even if the erroneous determination result of the on or off state of the switch due to the failure of the second determination circuit is received, the disconnection of the harness, The failure of the second determination circuit can be distinguished and determined.
As a result, even if two determination circuits are provided for one switch, the failure rate of the entire switch circuit does not increase.
Moreover, in the OFF state of the switch, the harness disconnection can be detected, and the switch circuit can be diagnosed in real time.
以下本発明の実施の形態を説明する。
図1は実施の形態のスイッチ回路図である。
本スイッチ回路1は、一つのスイッチ3に対してエレクトロニクス・コントロール・ユニット(以下、ECUと略称する)5A、5Bを備えている。
ECU5Aは、スイッチ3のオン、オフのスイッチ状態とハーネスの断線の有無を判定するマイクロコンピュータ(CPU、以下、CPUと略称する)10を有し、そのアナログ入力ポート11には、定電圧電源B1(電圧値V1)に一端が接続するプルアップ抵抗R1を有する入力回路12が付設されている。
同様に、ECU5Bは、スイッチ3のオン、オフのスイッチ状態とハーネスの断線の有無を判定するCPU20を有し、そのアナログ入力ポート21には、定電圧電源B2(電圧値V2)に一端が接続するプルアップ抵抗R2を有する入力回路22が付設されている。
Embodiments of the present invention will be described below.
FIG. 1 is a switch circuit diagram of the embodiment.
The switch circuit 1 includes electronic control units (hereinafter abbreviated as ECUs) 5A and 5B for one
The ECU 5A includes a microcomputer (CPU, hereinafter abbreviated as CPU) 10 that determines whether the
Similarly, the
スイッチ3の一方の端子は接地され、他方の端子にはハーネス7A、7Bそれぞれの一端が接続される。ハーネス7Aの他端は、入力回路12に接続され、アナログ入力ポート11に入力電圧値Vi1をバイアス印加する。またハーネス7Bの他端は、入力回路22に接続され、アナログ入力ポート21に入力電圧値Vi2をバイアス印加する。
ここで、定電圧電源B1、B2それぞれの電圧値は、例えばV1>V2とする。また、プルアップ抵抗R1、R2の抵抗値は同じとする。
CPU10、20はそれぞれ通信入出力ポート13、23を有し、通信線9で接続されている。CPU20は、入力電圧値Vi2にもとづきスイッチ状態、ハーネス断線の有無の第1次の判定を行い、第1次の判定の結果を通信線9によりCPU10に転送する。
CPU10は、入力電圧値Vi1にもとづきスイッチ状態、ハーネス断線の有無の第1次の判定を行う。またCPU10は、CPU20からの第1次の判定の結果とCPU10自身の第1次の判定の結果を組み合わせて、最終的なスイッチ状態の判定と故障診断を行う。そして、最終的なスイッチ状態の判定に従い、制御出力ポート15から制御対象30へ制御信号を出力する。
One terminal of the
Here, the voltage values of the constant voltage power supplies B1 and B2 are, for example, V1> V2. The resistance values of the pull-up resistors R1 and R2 are the same.
The
Based on the input voltage value Vi1, the
表1から表3に、CPU10、20における入力電圧値Vi1、Vi2にもとづく、スイッチ状態、ハーネス断線の有無の第1次の判定を説明する。
表1から表3の二重罫線で区切った左側の欄は、スイッチ3のオン(SW ON)またはオフ(SW OFF)状態時のCPU10、20への入力電圧値Vi1、Vi2を、それぞれ示す。
Tables 1 to 3 describe the primary determination of the switch state and the presence or absence of the harness disconnection based on the input voltage values Vi1 and Vi2 in the
The columns on the left side separated by the double ruled lines in Tables 1 to 3 show the input voltage values Vi1 and Vi2 to the
表1は、ハーネス7A、7B共断線していない場合を示している。この場合、スイッチ3がオン状態では、アナログ入力ポート11、21は両方ともハーネス7Aまたは7Bを介して接地され、入力電圧値Vi1、Vi2とも0Vとなる。スイッチ3がオフ状態では、定電圧電源B1からプルアップ抵抗R1、ハーネス7A、7B、プルアップ抵抗R2を介して定電圧電源B2に電流が流れ、入力電圧値Vi1、Vi2は、両方ともV3(=(V1+V2)/2)となる。
表2は、ハーネス7Aが断線し、ハーネス7Bが断線していない場合を示している。この場合、スイッチ3がオン状態では、ハーネス7Aが断線しているのでアナログ入力ポート11は接地されず、入力電圧値Vi1は定電圧電源B1の電圧値V1となる。それに対し、アナログ入力ポート21はハーネス7Bを介して接地され、入力電圧値Vi2は0Vとなる。
スイッチ3がオフ状態では、ハーネス7Aが断線しているので定電圧電源B1から定電圧電源B2への電流は生じず、入力電圧値Vi1は定電圧電源B1の電圧値V1となる。同様に入力電圧値Vi2は定電圧電源B2の電圧値V2となる。
When the
表3は、ハーネス7Aが断線しておらず、ハーネス7Bが断線している場合を示している。この場合、スイッチ3がオン状態では、ハーネス7Aは断線していないのでアナログ入力ポート11はハーネス7Aを介して接地され、入力電圧値Vi1は0Vとなる。それに対し、アナログ入力ポート21はハーネス7Bが断線しているのでアナログ入力ポート21は接地されず、入力電圧値Vi1は定電圧電源B2の電圧値V2となる。
スイッチ3がオフ状態では、ハーネス7Bが断線しているので定電圧電源B1から定電圧電源B2への電流は生じず、入力電圧値Vi1は定電圧電源B1の電圧値V1となる。同様に入力電圧値Vi2は定電圧電源B2の電圧値V2となる。
When the
また、表1から表3の二重罫線で区切った右側の2欄は、それぞれの場合におけるCPU10におけるスイッチ状態またはハーネスの断線の第1次の判定結果(表中、「CPU10の判定」と表示)と、CPU20におけるスイッチ状態またはハーネスの断線の第1次の判定結果(表中、「CPU20の判定」と表示)を示す。表中、スイッチ3がオン状態と判定の場合は「ON」、オフ状態と判定の場合は「OFF」、ハーネス断線と判定の場合は「NG」と表示してある。
CPU10では、入力電圧値Vi1が、0Vの場合スイッチ3がオン状態と判定、V3の場合はオフ状態と判定、V1の場合はハーネス断線と判定する。
CPU20では、入力電圧値Vi2が、0Vの場合スイッチ3がオン状態と判定、V3の場合はオフ状態と判定、V2の場合はハーネス断線と判定する。
In addition, the two columns on the right side separated by the double ruled lines in Tables 1 to 3 display the first determination result of the switch state or the disconnection of the harness in the
In the
In the
CPU10は、CPU20から通信線9を介して、CPU20の上記第1次の判定結果を受信し、入力電圧値Vi1にもとづく上記第1次の判定結果と合わせて、表4のようにスイッチ3のオン、オフ状態の最終判定と故障診断を行う。
表4に示したように、CPU10が故障した場合を除いた上記9ケースに対して、CPU10、20それぞれの第1次の判定結果をCPU10で組み合わせて判定する。
例えば、第1次の判定結果において、CPU10、20の両方の判定が「ON」または「OFF」で一致していれば、故障診断は「正常」と判定し、スイッチ状態は第1次の判定通りとする。
第1次の判定結果において、CPU10、20一方の判定が「ON」で、他方が「NG」の場合は、「NG」と判定した側のCPUを含むECU側ハーネスの断線と故障診断し、スイッチ状態は「ON」と最終判定する。
As shown in Table 4, the
For example, if both the determinations of the
If the determination of one of the
第1次の判定結果において、CPU10、20の両方の判定が「NG」の場合は、一方のハーネスの断線でスイッチがオフの状態と、両方のハーネスが断線していてスイッチ状態の判定不能(NG)の場合が有り得るので、安全側に最終判定不能(NG)とする。
第1次の判定結果において、CPU10、20一方の判定が「ON」で、他方が「OFF」と食い違う場合は、CPU20が異常と判定し、スイッチ状態はCPU10の第1次の判定通りとする。
また、第1次の判定結果において、CPU10、20一方の判定が「OFF」で、他方が「NG」の場合は、両方のCPUが正常なときにこのような第1次判定結果の組み合わせは有り得ないのでCPU20の異常と判定し、スイッチ状態はCPU10の判定どおりとする。ただし、CPU10が「NG」と判定しているときは、スイッチ状態のオン、オフ判定ができないので最終判定は不能(NG)とする。
In the first determination result, when both of the determinations of the
In the first determination result, when one of the
In the first determination result, when one of the
以上のように、スイッチ3のオン、オフ状態の最終的な判定と、スイッチ回路1の正常、ハーネス7A、7Bのどちら側のハーネスの断線か、CPU20の故障の診断ができる。
表4のケース8は、二重故障であり、その状態に至るまでにまず単一故障を経由することが考えられるので、単一故障の段階で診断をすることができる。
本実施の形態のCPU10は本発明の第1の判定回路を、CPU20は第2の判定回路を構成する。
なお、入力回路12は本発明の第1の入力回路に、入力回路22は第2の入力回路に、ハーネス7Aは第1のハーネスに、ハーネス7Bは第2のハーネスに対応する。
As described above, the final determination of the ON / OFF state of the
Case 8 in Table 4 is a double failure, and it is conceivable that a single failure is first passed before reaching the state, so that diagnosis can be made at the single failure stage.
The
The
以上のように本実施例によれば、CPU20の故障とハーネス断線を区別して判定できるので、CPU10の最終判定結果を用いて、例えばスイッチ3の制御対象30の起動、停止の操作に対するスイッチ回路1の耐故障性が向上する。
また、スイッチ3のオフ状態においても、ハーネスの断線、CPU20の異常を区別して診断できるので、操作者によるスイッチ3の試験的なオフ状態→オン状態、オン状態→オフ状態への操作をしなくても、スイッチ回路1の診断ができ、診断のリアルタイム性が向上する。
その結果、例えば緊急時にのみスイッチをオン状態とするシステムに対して、スイッチのオン動作が必要な緊急時に至る前の通常のオフ状態において、ハーネスの断線やCPUの故障を事前に検出できる。
As described above, according to the present embodiment, since the failure of the
In addition, even when the
As a result, for example, in a system in which the switch is turned on only in an emergency, the disconnection of the harness or the CPU failure can be detected in advance in the normal off state before the emergency that requires the switch on operation.
1 スイッチ回路
3 スイッチ
5A、5B エレクトロニクス・コントロール・ユニット
7A、7B ハーネス
9 通信線
10、20 マイクロコンピュータ
11、21 アナログ入力ポート
12、22 入力回路
13、23 通信入出力ポート
15 制御出力ポート
30 制御対象
DESCRIPTION OF SYMBOLS 1
Claims (3)
前記スイッチの一方の端子は接地され、
前記スイッチの他方の端子は、第1のハーネスで前記第1の入力回路に接続されるとともに、第2のハーネスで前記第2の入力回路に接続され、
前記第1および第2の判定回路との間は、通信線で接続され、
前記第1および第2の判定回路は、入力された電圧値により前記スイッチのオン、オフのスイッチ状態とハーネス断線の有無の第1次の判定をし、
前記第1の判定回路は、当該第1の判定回路における第1次の判定結果と、前記通信線を介して入手した前記第2の判定回路における第1次の判定結果を組み合わせて、最終的な前記スイッチのオン、オフ状態の判定と故障診断を行うことを特徴とするスイッチ回路。 A first determination circuit and a second determination circuit are provided for one switch, and the first and second determination circuits include a first input circuit and a second input circuit biased to different voltage values. Attached to each,
One terminal of the switch is grounded,
The other terminal of the switch is connected to the first input circuit with a first harness, and is connected to the second input circuit with a second harness,
The first and second determination circuits are connected by a communication line,
The first and second determination circuits perform a first determination on whether the switch is on or off based on the input voltage value and whether or not the harness is disconnected.
The first determination circuit combines the first determination result in the first determination circuit and the first determination result in the second determination circuit obtained via the communication line, and finally A switch circuit that performs on-off / off-state determination and fault diagnosis.
前記各判定回路に入力された電圧値が0の場合前記スイッチがオン状態、前記判定回路に入力された電圧値がV1とV2の中間値の場合前記スイッチがオフ状態、前記判定回路に入力された電圧値がV1またはV2の場合ハーネス断線との第1次の判定をし、
前記第1の判定回路では、さらに両方の判定回路の間において前記スイッチのオン、オフ状態の第1次の判定結果が異なるときは、第2の判定回路の故障と判定することを特徴とするスイッチ回路における故障診断方法。 A first switch and a second determination circuit are provided for one switch. The first and second determination circuits include a first input circuit biased to different voltage values V1 and V2, and a second input circuit. An input circuit is provided for each, and one terminal of the switch is grounded, and the other terminal of the switch is connected to the first input circuit by a first harness, and the second harness is connected to the first circuit. A fault diagnosis method in a switch circuit connected to an input circuit of
When the voltage value input to each determination circuit is 0, the switch is turned on. When the voltage value input to the determination circuit is an intermediate value between V1 and V2, the switch is turned off and input to the determination circuit. When the measured voltage value is V1 or V2, the primary determination is made that the harness is disconnected,
The first determination circuit further determines that a failure of the second determination circuit occurs when the first determination result of the on / off state of the switch differs between both determination circuits. Fault diagnosis method for switch circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005024778A JP2006214730A (en) | 2005-02-01 | 2005-02-01 | Switching circuit and failure diagnosis method of same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005024778A JP2006214730A (en) | 2005-02-01 | 2005-02-01 | Switching circuit and failure diagnosis method of same |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006214730A true JP2006214730A (en) | 2006-08-17 |
Family
ID=36978101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005024778A Withdrawn JP2006214730A (en) | 2005-02-01 | 2005-02-01 | Switching circuit and failure diagnosis method of same |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006214730A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180053154A (en) * | 2016-11-11 | 2018-05-21 | 현대오트론 주식회사 | An apparatus and a method for testing a failure of resistive sensors |
JP2021015689A (en) * | 2019-07-11 | 2021-02-12 | ローム株式会社 | Semiconductor integrated circuit for switch monitoring |
-
2005
- 2005-02-01 JP JP2005024778A patent/JP2006214730A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20180053154A (en) * | 2016-11-11 | 2018-05-21 | 현대오트론 주식회사 | An apparatus and a method for testing a failure of resistive sensors |
KR101887903B1 (en) | 2016-11-11 | 2018-09-06 | 현대오트론 주식회사 | An apparatus and a method for testing a failure of resistive sensors |
JP2021015689A (en) * | 2019-07-11 | 2021-02-12 | ローム株式会社 | Semiconductor integrated circuit for switch monitoring |
JP7236342B2 (en) | 2019-07-11 | 2023-03-09 | ローム株式会社 | Semiconductor integrated circuit for switch monitoring |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4967433B2 (en) | Switch failure detection circuit | |
US9061418B2 (en) | Control system equipped with detachable control panel | |
JP6046404B2 (en) | Display device | |
US20130241563A1 (en) | Method for Detecting a Fault of an Operating Switch for initiating a Vehicle Function of a Vehicle and Operating Switch for Carrying Out the Method | |
US20080246344A1 (en) | Arrangement for failsafe evaluation of a position encoder | |
US8432060B2 (en) | Device for the electric actuation of a safety-critical system | |
US10787135B2 (en) | Switching circuit, failure detection method therefor, and control apparatus | |
WO2017149625A1 (en) | Relay substrate and sensor device | |
JP2007067540A (en) | Dual system switch | |
JP2006214730A (en) | Switching circuit and failure diagnosis method of same | |
EP2031357A1 (en) | A universal input/output module | |
KR101224523B1 (en) | Sensing circuit for mailfunction of data line of multi-drop communication circuit | |
JP4802971B2 (en) | Analog output device | |
JP2006209470A (en) | Input module | |
JP2008017406A (en) | Relay drive controller | |
KR101394815B1 (en) | Circuit device for power supply rescue of integrated controller | |
KR101554249B1 (en) | Total dual type control system based on detection of abnormal state at a control point and Control method thereof | |
WO2022181705A1 (en) | Disconnection detection device and control device | |
JP2008026280A (en) | Controller | |
JP6629474B1 (en) | Signal switching device | |
JP7322742B2 (en) | Fail-safe controller | |
WO2020184407A1 (en) | Power feed control device, power feed control system, and power feed control method | |
JP5511475B2 (en) | Signal processing system and signal source unit and signal processing unit used therefor | |
CN109143113B (en) | Method, device and system for monitoring power supply of PCIE external plug-in card | |
US11269007B2 (en) | Method for diagnosing a bias supply for an acquiring system comprising a matrix-array interface device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071221 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20080912 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20090910 |