JP2011226917A - Self-diagnosis device, self-diagnosis method, and electronic device with self-diagnosis function - Google Patents
Self-diagnosis device, self-diagnosis method, and electronic device with self-diagnosis function Download PDFInfo
- Publication number
- JP2011226917A JP2011226917A JP2010096964A JP2010096964A JP2011226917A JP 2011226917 A JP2011226917 A JP 2011226917A JP 2010096964 A JP2010096964 A JP 2010096964A JP 2010096964 A JP2010096964 A JP 2010096964A JP 2011226917 A JP2011226917 A JP 2011226917A
- Authority
- JP
- Japan
- Prior art keywords
- signal lines
- self
- data
- diagnosis
- pattern data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
この発明は、信号線の不具合を自己診断する自己診断装置、自己診断方法及び自己診断機能を備えた電子機器に関するものである。 The present invention relates to a self-diagnosis device, a self-diagnosis method, and an electronic apparatus having a self-diagnosis function.
例えば、特許文献1には、信号線の不具合を自己診断する装置が開示されている。この装置は、メモリに記憶したテストパターンと、フレキシブル基板(FPC)を通じてパラレルバスの線路通過後に受信されるパラレルデータ(期待値)とを比較して、両者が一致しない場合に、パラレルバスで接続不良が発生したものとしてドライバ回路の動作を停止させる。
For example,
従来の技術では、テストパターンを、パラレルバスにおける隣接する線路で信号の電圧がハイ(1)とロー(0)で交互に異なる値としている。例えば、パラレルバスが4つの線路で構成されている場合、(1010)又は(0101)が、テストパターンとなる。この場合、誤りがある線路の組み合わせによっては、不良を検知できないという課題があった。例えば、テストパターンのいずれかのビットの値が“1”であり、このビットに対応するパラレルバスの線路が開放モードで“1”になる場合、開放モードの不具合が発生しても正常な値と区別がつかない。 In the conventional technique, the test pattern has different values alternately for high (1) and low (0) on the adjacent lines in the parallel bus. For example, when the parallel bus is composed of four lines, (1010) or (0101) is the test pattern. In this case, there is a problem that a defect cannot be detected depending on a combination of lines having an error. For example, if the value of any bit of the test pattern is “1” and the line of the parallel bus corresponding to this bit is “1” in the open mode, the normal value even if a failure in the open mode occurs Indistinguishable from.
また、パラレルバスの隣接した線路が互いに同一値を示すとき、不具合と判定するが、開放モード及び短絡モードのいずれにおいても同一値となる場合がある。このため、発生した不具合が、開放モードであるのか、短絡モードであるのかを特定することができなかった。 In addition, when adjacent lines of the parallel bus show the same value, it is determined that there is a problem. However, the values may be the same in both the open mode and the short circuit mode. For this reason, it has not been possible to specify whether the failure that has occurred is the open mode or the short-circuit mode.
この発明は、上記のような課題を解決するためになされたもので、信号線における不具合の発生箇所と不具合モードとを精度良く特定することができる自己診断装置、自己診断方法及び自己診断機能を備えた電子機器を得ることを目的とする。 The present invention has been made in order to solve the above-described problems, and provides a self-diagnosis device, a self-diagnosis method, and a self-diagnosis function capable of accurately identifying the occurrence location and failure mode of a signal line. An object is to obtain an equipped electronic device.
この発明に係る自己診断装置は、複数の信号線に接続する出力バッファ部と、出力バッファ部に接続する複数の信号線の電位を並列に設定して、隣接する信号線で交互に異なる論理値のパターンデータを、少なくとも互いに相補する相補データとして順次送信する第1のデータ処理部とを有する送信側信号処理ブロックと、複数の信号線を介して出力バッファ部と接続する入力バッファ部と、入力バッファ部でパターンデータを順次受信し、パターンデータ間の信号線ごとの論理値又は信号線ごとの論理値の論理演算値から、複数の信号線における短絡又は開放の発生及びその発生箇所を判定する受信側信号処理ブロックとを備えるものである。 The self-diagnosis device according to the present invention sets the potentials of an output buffer unit connected to a plurality of signal lines and a plurality of signal lines connected to the output buffer unit in parallel, and logical values that are alternately different between adjacent signal lines. A transmission side signal processing block having a first data processing unit that sequentially transmits at least complementary pattern data as complementary data complementary to each other, an input buffer unit connected to the output buffer unit via a plurality of signal lines, and an input The buffer unit sequentially receives pattern data, and determines the occurrence of short circuit or open in a plurality of signal lines and the occurrence location from the logical value of each signal line between the pattern data or the logical operation value of the logical value of each signal line. And a receiving side signal processing block.
この発明によれば、出力バッファ部に接続する複数の信号線の電位を並列に設定して、隣接する信号線で交互に異なる論理値のパターンデータを、少なくとも互いに相補する相補データとして順次送信するとともに、複数の信号線を介して出力バッファ部と接続する入力バッファ部でパターンデータを順次受信し、パターンデータ間の信号線ごとの論理値又は信号線ごとの論理値の論理演算値から、複数の信号線における短絡又は開放の発生及びその発生箇所を判定する。このようにすることで、信号線における不具合の発生箇所と不具合モードを精度良く特定することができるという効果がある。 According to the present invention, the potentials of a plurality of signal lines connected to the output buffer unit are set in parallel, and pattern data having different logic values alternately in adjacent signal lines are sequentially transmitted as complementary data at least complementary to each other. In addition, pattern data is sequentially received by the input buffer unit connected to the output buffer unit via a plurality of signal lines, and a plurality of logical values for each signal line between the pattern data or logical operation values of the logical values for each signal line are obtained. The occurrence of a short circuit or open in the signal line and the occurrence location thereof are determined. By doing in this way, there exists an effect that the generation | occurrence | production location and malfunction mode of a malfunction in a signal line can be specified with sufficient accuracy.
実施の形態1.
図1は、この発明の実施の形態1による自己診断装置の構成を示すブロック図である。図1において、実施の形態1による自己診断装置1は、送信側信号処理ブロック2、受信側信号処理ブロック5及び命令入力部8を備える。命令入力部8は、第1のデータ処理部3及び第2のデータ処理部7へ自己診断モードを設定する指令を入力する構成部である。また、送信側信号処理ブロック2は、自己診断モードで使用するデータを生成して送信する構成部であり、第1のデータ処理部3及び出力バッファ部4を備える。
FIG. 1 is a block diagram showing a configuration of a self-diagnosis apparatus according to
第1のデータ処理部3は、自己診断モードで使用するデータを生成する処理部であり、出力バッファ部4は、第1のデータ処理部3で生成されたデータを電気信号として信号線0〜3へ出力する出力バッファ0〜3を備える。なお、データ“1”は5V、データ“0”は0Vの電圧にて送信するものとする。また、入力バッファ0〜3は、入力インピーダンスを持っており、データ“1”とデータ“0”との間の閾値は、2.5Vであるものとする。
The first
自己診断モードで使用するデータとは、複数の信号線の電位レベルを並列に設定して得られるデータであり、ハイレベルに相当する“1”から始まって隣接する信号線で交互に“1”と“0”とが入れ替わるデータ、ローレベルに相当する“0”から始まって隣接する信号線で交互に“1”と“0”とが入れ替わるデータ、全ての信号線で“1”となるデータ及び全ての信号線で“0”となるデータ、といった4種類のパターンデータである。信号線0〜3であれば、互いに相補する(1010)と(0101)及び(1111)と(0000)という相補データとなる。
The data used in the self-diagnosis mode is data obtained by setting the potential levels of a plurality of signal lines in parallel, starting from “1” corresponding to the high level and alternately “1” between adjacent signal lines. Data that switches between “0” and “0”, data that starts from “0” corresponding to the low level and alternately switches between “1” and “0” on adjacent signal lines, and data that becomes “1” on all signal lines And four types of pattern data such as “0” for all signal lines. For the
受信側信号処理ブロック5は、自己診断モードにおいて、送信側信号処理ブロック2側から受信したデータに基づいて自己診断を実行する構成部であり、入力バッファ部6及び第2のデータ処理部7を備える。入力バッファ部6は、信号線0〜3を介して送信されてきた電気信号を、第2のデータ処理部7へ出力する入力バッファ0〜3を備える。第2のデータ処理部7は、自己診断モードにおいて、入力バッファ0〜3を介して上述のパターンデータを順次入力し、これらのパターンデータに基づいて信号線0〜3における不具合の発生箇所と不具合モードとを特定する処理部である。
The reception-side
また、第2のデータ処理部7は、第1のデータ処理部3から自己診断モードのデータを受信することで得た自己診断モード処理のステータスを、信号線aを介して第1のデータ処理部3へ返す。第1のデータ処理部3は、ステータスを得ると、上述のパターンデータを自己診断モードのデータとして順次生成し、第2のデータ処理部7側へ送信する。
In addition, the second
次に動作について説明する。
図2は、実施の形態1における第1のデータ処理部による動作の流れを示すフローチャートであり、第1のデータ処理部3のメインルーチンの処理を示している。
先ず、第1のデータ処理部3は、メインルーチンの処理を開始すると(ステップST1)、命令入力部8からの入力を受け付け、自己診断モードの指示があるか否かを判定する(ステップST2)。ここで、自己診断モードの指示がなければ(ステップST2;NO)、第1のデータ処理部3は、通常動作モードで動作する(ステップST3)。
Next, the operation will be described.
FIG. 2 is a flowchart showing a flow of operations performed by the first data processing unit in the first embodiment, and shows processing of the main routine of the first
First, when the first
一方、自己診断モードの指示を受けると(ステップST2;YES)、第1のデータ処理部3は、自己診断モードで動作する(ステップST4)。ここでは、第1のデータ処理部3が、予め保持しているデータを第2のデータ処理部7へ出力する。自己診断モードにおける処理の詳細は後述する。
On the other hand, when receiving an instruction for the self-diagnosis mode (step ST2; YES), the first
第2のデータ処理部7は、第1のデータ処理部3から、信号線0〜3を介して受信したデータに基づいて、信号線0〜3の不具合発生及び不具合モードの自己診断を実行する。第2のデータ処理部7による自己診断結果は、第1のデータ処理部3へ送信される。
Based on the data received from the first
第1のデータ処理部3は、第2のデータ処理部7から受信した自己診断結果が正常であったか否かを判定する(ステップST5)。ここで、自己診断結果が正常であれば(ステップST5;YES)、第1のデータ処理部3は、ステップST3へ移行し、通常動作モードで動作する。一方、自己診断結果が正常でなければ(ステップST5;NO)、第1のデータ処理部3は、エラー終了する(ステップST6)。
The first
図3は、第1のデータ処理部の自己診断モードにおける動作の流れを示すフローチャートであり、図2のステップST4の処理に相当する。また、図4は、第1のデータ処理部3が自己診断モードで出力する信号を示す図である。図4に示すように、第1のデータ処理部3が自己診断モードで出力する信号は、信号線0〜3のそれぞれに並列して出力した論理値からなるINPUT1=A1、INPUT2=A2、INPUT3=A3、INPUT4=A4の4種類の信号データである。
FIG. 3 is a flowchart showing an operation flow in the self-diagnosis mode of the first data processing unit, and corresponds to the process of step ST4 of FIG. FIG. 4 is a diagram illustrating signals output by the first
自己診断モードが指示されると、先ず、第1のデータ処理部3は、保持するINPUT1のデータA1(1010)を並列データとして出力バッファ0〜3を介して送信側信号処理ブロック2から出力する(ステップST4−1)。このとき、第1のデータ処理部3内のタイマが、INPUT1のデータA1を出力した時間からの経過時間を計時する。
When the self-diagnosis mode is instructed, first, the first
所定の時間が経過すると、第1のデータ処理部3は、保持するINPUT2のデータA2(0101)を並列データとして出力バッファ0〜3を介して送信側信号処理ブロック2から出力する(ステップST4−2)。INPUT2のデータA2を出力すると、第1のデータ処理部3は、図2のステップST5の処理へ移行する。
When a predetermined time elapses, the first
なお、INPUT1,2と同様に、第1のデータ処理部3が、INPUT2のデータA2を出力してから所定時間経過後に、INPUT3のデータA3(1111)を並列データとして出力バッファ0〜3を介して送信側信号処理ブロック2から出力し、その所定時間経過後に、INPUT4のデータA4(0000)を並列データとして出力バッファ0〜3を介して送信側信号処理ブロック2から出力するようにしてもよい。
Similar to INPUT1 and INPUT2, the first
図5は、実施の形態1における第2のデータ処理部による動作の流れを示すフローチャートであり、第2のデータ処理部7のメインルーチンの処理を示している。
先ず、第2のデータ処理部7は、メインルーチンの処理を開始すると(ステップST1a)、第1のデータ処理部3と同様に、命令入力部8からの入力を受け付けて、自己診断モードの指示があるか否かを判定する(ステップST2a)。ここで、自己診断モードの指示がなければ(ステップST2a;NO)、第2のデータ処理部7は、通常動作モードで動作する(ステップST3a)。
FIG. 5 is a flowchart showing the flow of operations performed by the second data processing unit in the first embodiment, and shows the processing of the main routine of the second
First, when the second
一方、自己診断モードの指示を受けると(ステップST2a;YES)、第2のデータ処理部7は、自己診断モードで動作する(ステップST4a)。ここでは、第2のデータ処理部7が、送信側信号処理ブロック2から受信した自己診断モードで使用するデータに基づいて、信号線0〜3の不具合状況及びその不具合モードを特定する自己診断を行い、自己診断結果を第1のデータ処理部3へ出力する。自己診断モードにおける処理の詳細は後述する。
On the other hand, when receiving an instruction for the self-diagnosis mode (step ST2a; YES), the second
第2のデータ処理部7は、送信側信号処理ブロック2から受信したデータに基づく自己診断の結果が正常であったか否かを判定する(ステップST5a)。ここで、自己診断結果が正常であれば(ステップST5a;YES)、第2のデータ処理部7は、ステップST3aへ移行し、通常動作モードで動作する。一方、自己診断結果が正常でなければ(ステップST5a;NO)、第2のデータ処理部7は、エラー終了する(ステップST6a)。
The second
図6は、第2のデータ処理部の自己診断モードにおける動作の流れを示すフローチャートであり、図5のステップST4aの処理に相当する。また、図7は、自己診断モードにおいて信号線の正常時に第2のデータ処理部が入力する信号を示す図である。図7に示すように、第2のデータ処理部7が自己診断モードで入力する信号は、信号線0〜3のそれぞれに並列して入力した論理値からなるOUTPUT1=B1、OUTPUT2=B2、OUTPUT3=B3、OUTPUT4=B4の4種類の信号データである。
FIG. 6 is a flowchart showing an operation flow in the self-diagnosis mode of the second data processing unit, and corresponds to the process of step ST4a in FIG. FIG. 7 is a diagram showing signals input by the second data processing unit when the signal line is normal in the self-diagnosis mode. As shown in FIG. 7, the signals input by the second
自己診断モードが指示されると、第2のデータ処理部7は、送信側信号処理ブロック2からのINPUT1のデータA1とINPUT2のデータA2を、入力バッファ0〜3を介して並列データとして入力することにより、OUTPUT1=B1、OUTPUT2=B2を、この順で受信側信号処理ブロック5に取り込む(ステップST4a−1)。
When the self-diagnosis mode is instructed, the second
次に、第2のデータ処理部7は、OUTPUT1=INPUT1で、かつOUTPUT2=INPUT2であるか否かを判定する(ステップST4a−2)。ここで、図7に示すように、OUTPUT1=INPUT1(1010)で、かつOUTPUT2=INPUT2(0101)であると(ステップST4a−2;YES)、第2のデータ処理部7は、信号線0〜3が正常であると診断し、信号線aを介してステータスを第1のデータ処理部3へ返す(ステップST4a−3)。この後、第2のデータ処理部7は、自己診断の結果が正常であるとして、メインルーチンの処理(図5のステップST5a)へ移行する(ステップST4a−4)。
Next, the second
一方、OUTPUT1=INPUT1(1010)で、かつOUTPUT2=INPUT2(0101)でない場合(ステップST4a−2;NO)に、第2のデータ処理部7は、OUTPUT1のデータB1について信号線0〜3に対応する各ビットの値をb1n(n=0〜3)とし、OUTPUT2のデータB2について信号線0〜3に対応する各ビットの値をb2n(n=0〜3)として、n=0〜2のうち、b1n=b1n+1、かつb2n=b2n+1が成立するnの値が存在するか否かを判定する(ステップST4a−5)。
On the other hand, when OUTPUT1 = INPUT1 (1010) and OUTPUT2 = INPUT2 (0101) are not satisfied (step ST4a-2; NO), the second
ここで、b1n=b1n+1、かつb2n=b2n+1が成立するnの値が存在する場合(ステップST4a−5;YES)、第2のデータ処理部7は、当該関係が成立するnで特定される信号線nと信号線n+1との間で短絡が発生していると判断し、信号線aを介してステータスを第1のデータ処理部3へ返す(ステップST4a−6)。この後、第2のデータ処理部7は、信号線nと信号線n+1との間で短絡が発生している不具合があるとして、メインルーチンの処理(図5のステップST5a)へ移行する(ステップST4a−7)。これにより、不具合モードが短絡であり、短絡の発生箇所が信号線nと信号線n+1との間であることが特定される。
Here, when there is a value of n that satisfies b1n = b1n + 1 and b2n = b2n + 1 (step ST4a-5; YES), the second
図8は、信号線が短絡している際の第2のデータ処理部の入力データを示す図であり、信号線0と信号線1との間で短絡が発生している場合を示している。なお、図8は、出力バッファ0〜3及び入力バッファ0〜3が5V電源で、出力バッファ0〜3の出力インピーダンスが50Ωであり、入力バッファ0〜3の入力インピーダンスが1KΩ(対グランド(GND)間)で、入力バッファ0〜3の閾値が2.5Vである場合を示している。
FIG. 8 is a diagram showing input data of the second data processing unit when the signal line is short-circuited, and shows a case where a short-circuit occurs between the
図8に示す例では、データB1の信号線0に対応するビット値b10が論理値“1”であるべきところ、論理値“0”となっており、データB2の信号線1に対応するビット値b21が論理値“1”であるべきところ、論理値“0”となっている。
従来では、各データB1,B2が、その期待値(1010)、(0101)と等しいか否かで不具合の発生のみを判定するものであった。このため、不具合の箇所と内容を特定することができなかった。
In the example shown in FIG. 8, the bit value b10 corresponding to the
Conventionally, only the occurrence of a defect is determined based on whether or not each of the data B1 and B2 is equal to the expected values (1010) and (0101). For this reason, the location and content of the defect could not be specified.
これに対して、本発明では、b1n=b1n+1、かつb2n=b2n+1が成立するnが存在するか否かを判定することにより、信号線間の短絡及びその発生箇所を特定することができる。つまり、2つの隣り合う信号線は、本来、相異なる論理値であるところ、信号線が短絡して、図8のように同一の論理値になっていると推測することができる。図8では、上記の関係をn=0が満たすので、不具合モードが短絡であり、短絡の発生箇所が信号線0と信号線1との間であることが特定される。なお、論理値が“0”で同一になった場合を示したが、論理値“1”で同一になるように設計することも可能である。
On the other hand, in the present invention, it is possible to identify a short circuit between signal lines and the occurrence location thereof by determining whether or not there exists n where b1n = b1n + 1 and b2n = b2n + 1 are established. That is, it can be estimated that two adjacent signal lines originally have different logical values, but the signal lines are short-circuited and have the same logical value as shown in FIG. In FIG. 8, since n = 0 satisfies the above relationship, it is specified that the failure mode is a short circuit and the location where the short circuit occurs is between the
また、b1n=b1n+1、かつb2n=b2n+1が成立するnの値が存在しなければ(ステップST4a−5;NO)、第2のデータ処理部7は、n=1〜3のうち、b1nとb2nとの排他的論理和を演算した結果が論理値“1”でないnの値が存在するか否かを判定する(ステップST4a−8)。
If there is no value of n that satisfies b1n = b1n + 1 and b2n = b2n + 1 (step ST4a-5; NO), the second
b1nとb2nとの排他的論理和が論理値“1”でないnの値が存在する場合(ステップST4a−8;YES)、第2のデータ処理部7は、当該関係が成立するnで特定される信号線nが開放していると判断し、信号線aを介してステータスを第1のデータ処理部3へ返す(ステップST4a−9)。この後、第2のデータ処理部7は、信号線nが開放している不具合があるとして、メインルーチンの処理(図5のステップST5a)へ移行する(ステップST4a−10)。これにより、不具合モードが開放であり、開放の発生箇所が信号線nであることが特定される。
When there is a value of n in which the exclusive OR of b1n and b2n is not the logical value “1” (step ST4a-8; YES), the second
図9は、信号線が開放(オープン)している際の第2のデータ処理部の入力データを示す図であり、信号線1に開放が発生している場合を示している。なお、図9は、図8と同様に、出力バッファ0〜3及び入力バッファ0〜3が5V電源で、出力バッファ0〜3の出力インピーダンスが50Ωであり、入力バッファ0〜3の入力インピーダンスが1KΩ(対グランド(GND)間)であり、入力バッファ0〜3の閾値が2.5Vである場合を示している。
FIG. 9 is a diagram illustrating input data of the second data processing unit when the signal line is opened (opened), and shows a case where the
図9に示す例では、データB2の信号線1に対応するビット値b21が論理値“1”であるべきところ、論理値“0”となっている。
このような場合においても、従来では、各データB1,B2が、その期待値(1010)、(0101)と等しいか否かで不具合の発生のみを判定するものであったため、不具合の箇所と内容を特定することができなかった。
In the example illustrated in FIG. 9, the bit value b21 corresponding to the
Even in such a case, conventionally, only the occurrence of a defect is determined based on whether each of the data B1 and B2 is equal to the expected values (1010) and (0101). Could not be identified.
これに対して、本発明では、b1nとb2nとの排他的論理和が論理値“1”でないnの値が存在するか否かを判定することにより、信号線の開放及びその発生箇所を特定することができる。つまり、2つの隣り合う信号線は、本来、相異なる論理値であるところ、信号線が開放して、図9のように同一の論理値になっていると推測することができる。図9では、上記の関係をn=1が満たすので、不具合モードが開放であり、開放の発生箇所が信号線1であることが特定される。
On the other hand, in the present invention, by determining whether or not there is a value of n where the exclusive OR of b1n and b2n is not the logical value “1”, the signal line is opened and the occurrence location is specified. can do. That is, it can be estimated that two adjacent signal lines originally have different logical values, but the signal lines are opened and have the same logical value as shown in FIG. In FIG. 9, since n = 1 satisfies the above relationship, it is specified that the failure mode is open and the location where the open occurs is the
なお、この後、OUTPUT1,2と同様に、第2のデータ処理部7が、OUTPUT3=B3、OUTPUT4=B4を、この順で取り込んでいる場合、データB3の信号線1に対応するビット値b31が論理値“1”であるか否かを判定して、信号線1が論理値“0”となっていることを確認してから、信号線1が開放していると判断してもよい。
図9の例では、データB3(1111)の信号線1に対応するビット値b31が論理値“0”となっており、データB1,B2での診断結果と合わせて確実に信号線1の開放を特定することができる。
After this, as in the case of OUTPUT1 and OUTPUT2, when the second
In the example of FIG. 9, the bit value b31 corresponding to the
一方、b1nとb2nとの排他的論理和が論理値“1”でないnの値が存在しない場合(ステップST4a−8;NO)、第2のデータ処理部7は、起こり得ない不条理モードであると判断し、信号線aを介してステータスを第1のデータ処理部3へ返す(ステップST4a−11)。この後、第2のデータ処理部7は、不条理モードであるとして、メインルーチンの処理(図5のステップST5a)へ移行する(ステップST4a−12)。これにより、信号線0〜3のハード的な不具合でなく、データ送信時のソフト的な誤りによる不条理モードが発生したものとして、再び自己診断を促す。
On the other hand, when there is no value of n in which the exclusive OR of b1n and b2n is not the logical value “1” (step ST4a-8; NO), the second
以上のように、この実施の形態1によれば、出力バッファ部4に接続する複数の信号線0〜3の電位を並列に設定して、隣接する信号線で交互に異なる論理値のパターンデータを、少なくとも互いに相補する相補データとして順次送信するとともに、複数の信号線0〜3を介して出力バッファ部4と接続する入力バッファ部6でパターンデータを順次受信し、パターンデータ間の信号線ごとの論理値又は信号線ごとの論理値の論理演算値から、複数の信号線0〜3における短絡又は開放の発生及びその発生箇所を判定する。
特に、送信側信号処理ブロック2から順次送信されるパターンデータが、論理値1から始まって隣接する信号線で交互に論理値1と論理値0が入れ替わるパターンデータ、及び論理値0から始まって隣接する信号線で交互に論理値1と論理値0が入れ替わるパターンデータであり、受信側信号処理ブロック5の第2のデータ処理部7が、順次受信したパターンデータの双方で隣接する信号線の論理値が同一である場合、当該信号線間が短絡していると判定し、パターンデータ間で対応する信号線の論理値を排他的論理和した値が論理値1でない場合、当該信号線が開放していると判定する。
このようにすることで、信号線における不具合の発生箇所と不具合モードとを精度良く特定することができる。
As described above, according to the first embodiment, the potentials of the plurality of
In particular, the pattern data sequentially transmitted from the
By doing in this way, it is possible to specify the occurrence location and failure mode of the signal line with high accuracy.
実施の形態2.
図10は、この発明の実施の形態2による自己診断装置の構成を示すブロック図である。図10において、実施の形態2における自己診断装置1Aは、上記実施の形態1で図1を用いて説明した構成に加えて、信号線0〜3のそれぞれに抵抗9−0〜9−3の一端を接続し、他端をグランド(GND)に接続している。抵抗9−0〜9−3は、出力バッファ0〜3の出力インピーダンスに相当する値の抵抗である。なお、図1と同一符号を付した構成は同一又はそれに相当する機能を有するので説明を省略する。
FIG. 10 is a block diagram showing a configuration of a self-diagnosis device according to
出力バッファ0〜3の出力インピーダンスに相当する値の抵抗9−0〜9−3を設けることで、信号線同士の短絡によって入力バッファ0〜3における電圧の変化を大きくすることができる。例えば、入力バッファ0〜3及び出力バッファ0〜3が、5V電源で、入力インピーダンス及び出力インピーダンスが共に50Ωである場合に、信号線同士が短絡すると、入力バッファ0〜3への入力電位は1.25Vとなり、大きく電圧が低下する。これにより、隣接する信号線間にて短絡しているときは、2.5Vの閾値で確実にデータ“0”と判別できる。
By providing the resistors 9-0 to 9-3 having a value corresponding to the output impedance of the
以上のように、この実施の形態2によれば、信号線0〜3のそれぞれとグランド(GND)との間に、出力バッファ0〜3の出力インピーダンスに相当する値の抵抗9−0〜9−3を接続したので、信号線同士の短絡を容易に検知することができる。
As described above, according to the second embodiment, the resistors 9-0 to 9-9 having a value corresponding to the output impedance of the
実施の形態3.
図11は、この発明の実施の形態3による自己診断装置の構成を示すブロック図である。図11において、実施の形態3における自己診断装置1Bは、上記実施の形態2で図10を用いて説明した構成に加えて、信号線0〜3と抵抗9−0〜9−3との間にスイッチ10−0〜10−3をそれぞれ接続している。スイッチ10−0〜10−3(以下、SW10と適宜総称する)は、通常動作モードのときはオフ(開状態)として、入力バッファ0〜3の入力インピーダンスが高い状態となり、自己診断モードのときはオン(閉状態)となり、入力バッファ0〜3の入力インピーダンスが低い状態になるようにする。なお、図1及び図10と同一符号を付した構成は同一又はそれに相当する機能を有するので説明を省略する。
FIG. 11 is a block diagram showing a configuration of a self-diagnosis apparatus according to
次に動作について説明する。
ここでは、第2のデータ処理部7による自己診断モードの処理を述べる。
図12は、実施の形態3による第2のデータ処理部の自己診断モードにおける動作の流れを示すフローチャートであり、図5のステップST4aの処理に相当する。
自己診断モードが指示されると、先ず、第2のデータ処理部7は、SW10をオン(閉状態)とする(ステップST4a−0)。
続いて、上記実施の形態1と同様に、ステップST4a−1からステップST4a−3までの処理が完了し、信号線0〜3に不具合がないと判定すると、SW10がオフ(開状態)とする(ステップST4a−3−1)。
この後、第2のデータ処理部7は、自己診断の結果が正常であるとして、メインルーチンの処理(図5のステップST5a)へ移行する(ステップST4a−4)。
Next, the operation will be described.
Here, the process of the self-diagnosis mode by the second
FIG. 12 is a flowchart showing an operation flow in the self-diagnosis mode of the second data processing unit according to the third embodiment, and corresponds to the process of step ST4a in FIG.
When the self-diagnosis mode is instructed, first, the second
Subsequently, as in the first embodiment, when the processing from step ST4a-1 to step ST4a-3 is completed and it is determined that the
Thereafter, the second
また、上記実施の形態1と同様に、ステップST4a−1、ステップST4a−2、ステップST4a−5及びステップST4a−6までの処理が完了し、信号線nと信号線n+1との間で短絡が発生している不具合があると判定すると、第2のデータ処理部7は、SW10がオフ(開状態)とした上で(ステップST4a−6−1)、メインルーチンの処理(図5のステップST5a)へ戻る(ステップST4a−7)。これにより、不具合モードが短絡であり、短絡の発生箇所が信号線nと信号線n+1との間であることが特定される。
Similarly to the first embodiment, the processes up to step ST4a-1, step ST4a-2, step ST4a-5, and step ST4a-6 are completed, and a short circuit occurs between the signal line n and the signal
さらに、上記実施の形態1と同様に、ステップST4a−1、ステップST4a−2、ステップST4a−5、ステップST4a−8及びステップST4a−9までの処理が完了し、信号線nが、開放が発生している不具合があると判定すると、第2のデータ処理部7は、SW10がオフ(開状態)とした上で(ステップST4a−9−1)、メインルーチンの処理(図5のステップST5a)へ戻る(ステップST4a−7)。これにより、不具合モードが開放であり、開放の発生箇所が信号線nであることが特定される。
Further, as in the first embodiment, the processes up to step ST4a-1, step ST4a-2, step ST4a-5, step ST4a-8 and step ST4a-9 are completed, and the signal line n is released. If it is determined that there is a malfunction, the second
さらに、上記実施の形態1と同様に、ステップST4a−1、ステップST4a−2、ステップST4a−5、ステップST4a−8及びステップST4a−11までの処理が完了し、起こり得ない不条理モードになったと判定すると、第2のデータ処理部7は、SW10はオフ(開状態)とした上で(ステップST4a−11−1)、メインルーチンの処理(図5のステップST5a)へ戻る(ステップST4a−12)。これにより、信号線0〜3のハード的な不具合でなく、データ送信時のソフト的な誤りによる不条理モードが発生したものとして、再び自己診断を促す。
Further, as in the first embodiment, the processing up to step ST4a-1, step ST4a-2, step ST4a-5, step ST4a-8 and step ST4a-11 is completed, and an absurd mode that cannot occur is entered. Upon determination, the second
以上のように、この実施の形態3によれば、信号線0〜3と抵抗9−0〜9−3との間にスイッチ10−0〜10−3をそれぞれ接続し、スイッチ10−0〜10−3を、通常動作モードではオフ(開状態)とし、自己診断モードでオン(閉状態)としたので、通常動作時はノイズに強い状態で使用することが可能で、同時に自己診断モードでは信号線同士の短絡を容易に検知でき、誤検知を防ぐことができる。
As described above, according to the third embodiment, the switches 10-0 to 10-3 are respectively connected between the
なお、上記実施の形態1〜3までに示した自己診断装置1〜1Bの機能を、信号線0〜3を有する電子機器に適用すれば、上記実施の形態1〜3までに示した自己診断機能を有する電子機器を実現することができる。
If the functions of the self-diagnosis devices 1-1B shown in the first to third embodiments are applied to an electronic device having
1,1A,1B 自己診断装置、2 送信側信号処理ブロック、3 第1のデータ処理部、4 出力バッファ部、5 受信側信号処理ブロック、6 入力バッファ部、7 第2のデータ処理部、8 命令入力部、9−0〜9−3 抵抗、10,10−0〜10−3 スイッチ(SW)。 1, 1A, 1B Self-diagnosis device, 2 transmitting side signal processing block, 3 first data processing unit, 4 output buffer unit, 5 receiving side signal processing block, 6 input buffer unit, 7 second data processing unit, 8 Command input unit, 9-0 to 9-3 resistor, 10, 10-0 to 10-3 switch (SW).
Claims (6)
前記複数の信号線を介して前記出力バッファ部と接続する入力バッファ部と、前記入力バッファ部で前記パターンデータを順次受信し、前記パターンデータ間の前記信号線ごとの論理値又は前記信号線ごとの論理値の論理演算値から、前記複数の信号線における短絡又は開放の発生及びその発生箇所を判定する受信側信号処理ブロックとを備えた自己診断装置。 The output buffer unit connected to a plurality of signal lines and the potentials of the plurality of signal lines connected to the output buffer unit are set in parallel, and pattern data having different logical values alternately between adjacent signal lines are at least mutually connected. A transmission side signal processing block having a first data processing unit for sequentially transmitting complementary data as complementary data;
An input buffer unit connected to the output buffer unit via the plurality of signal lines, and the pattern data is sequentially received by the input buffer unit, and a logical value for each signal line between the pattern data or for each signal line A self-diagnosis device comprising: a reception-side signal processing block that determines the occurrence of a short circuit or an open circuit in the plurality of signal lines and the location of the occurrence from the logical operation value of the logical values.
前記受信側信号処理ブロックの前記第2のデータ処理部は、順次受信した前記パターンデータの双方で隣接する信号線の論理値が同一である場合、当該信号線間が短絡していると判定し、前記パターンデータ間で対応する信号線の論理値を排他的論理和した値が論理値1でない場合、当該信号線が開放していると判定することを特徴とする請求項1記載の自己診断装置。 The pattern data sequentially transmitted from the transmission side signal processing block includes pattern data in which a logical value 1 and a logical value 0 are alternately switched on adjacent signal lines starting from a logical value 1, and adjacent signals starting from a logical value 0 Pattern data in which a logical value 1 and a logical value 0 are alternately switched by a line,
The second data processing unit of the reception-side signal processing block determines that the signal lines are short-circuited when the logical values of adjacent signal lines are the same in both of the sequentially received pattern data. 2. The self-diagnosis according to claim 1, wherein if the logical sum of the logical values of the corresponding signal lines between the pattern data is not the logical value 1, it is determined that the signal line is open. apparatus.
前記複数の信号線を介して前記出力バッファ部と接続する入力バッファ部で前記パターンデータを順次受信し、前記パターンデータ間の前記信号線ごとの論理値又は前記信号線ごとの論理値の論理演算値から、前記複数の信号線における短絡又は開放の発生及びその発生箇所を判定するステップとを備えた自己診断方法。 A step of setting each potential of a plurality of signal lines connected to the output buffer unit in parallel, and sequentially transmitting pattern data of different logic values alternately on adjacent signal lines as complementary data at least complementary to each other;
The pattern data is sequentially received by an input buffer unit connected to the output buffer unit via the plurality of signal lines, and a logical operation of the logical value for each signal line or the logical value for each signal line between the pattern data A self-diagnosis method comprising: determining from a value the occurrence of a short circuit or opening in the plurality of signal lines and the occurrence location thereof.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010096964A JP2011226917A (en) | 2010-04-20 | 2010-04-20 | Self-diagnosis device, self-diagnosis method, and electronic device with self-diagnosis function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010096964A JP2011226917A (en) | 2010-04-20 | 2010-04-20 | Self-diagnosis device, self-diagnosis method, and electronic device with self-diagnosis function |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011226917A true JP2011226917A (en) | 2011-11-10 |
Family
ID=45042424
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010096964A Pending JP2011226917A (en) | 2010-04-20 | 2010-04-20 | Self-diagnosis device, self-diagnosis method, and electronic device with self-diagnosis function |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011226917A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140031723A (en) * | 2012-09-05 | 2014-03-13 | 삼성전자주식회사 | Electronic device having a self diagnose function and a self diagnose method using the same |
JP2016039348A (en) * | 2014-08-11 | 2016-03-22 | 富士通株式会社 | Semiconductor circuit device and semiconductor circuit device testing method |
JP2017050585A (en) * | 2015-08-31 | 2017-03-09 | 日立金属株式会社 | Signal detection device |
-
2010
- 2010-04-20 JP JP2010096964A patent/JP2011226917A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140031723A (en) * | 2012-09-05 | 2014-03-13 | 삼성전자주식회사 | Electronic device having a self diagnose function and a self diagnose method using the same |
US10037256B2 (en) | 2012-09-05 | 2018-07-31 | Samsung Electronics Co., Ltd. | Electronic device having self diagnosis function and self diagnosis method using the same |
KR101953117B1 (en) * | 2012-09-05 | 2019-05-22 | 삼성전자 주식회사 | electronic device having a self diagnose function and a self diagnose method using the same |
JP2016039348A (en) * | 2014-08-11 | 2016-03-22 | 富士通株式会社 | Semiconductor circuit device and semiconductor circuit device testing method |
JP2017050585A (en) * | 2015-08-31 | 2017-03-09 | 日立金属株式会社 | Signal detection device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7080288B2 (en) | Method and apparatus for interface failure survivability using error correction | |
US8018837B2 (en) | Self-healing chip-to-chip interface | |
JP5576880B2 (en) | Interconnect failure test | |
US11245547B2 (en) | Monitoring controller area network (CAN) nodes | |
US9123442B2 (en) | Testing device | |
JP2011226917A (en) | Self-diagnosis device, self-diagnosis method, and electronic device with self-diagnosis function | |
US9379772B2 (en) | Transceiver self-diagnostics for electromagnetic interference (EMI) degradation in balanced channels | |
JP2007010477A (en) | Integrated circuit and circuit board | |
US7577887B2 (en) | JTAG interface device of mobile terminal and method thereof | |
KR102449721B1 (en) | Display device and method of inspecting display device | |
JP2014032072A (en) | Cable diagnosis device | |
JPWO2003032000A1 (en) | LSI inspection method and apparatus, and LSI tester | |
JP4392025B2 (en) | Autonomic bus reconfiguration for fault conditions | |
US20050086563A1 (en) | Channel-based testing of communication link | |
JP2003167796A (en) | Device connected to fiber channel, margin test method for this device, failure site specifying method for system provided with device connected to fiber channel | |
US7000170B2 (en) | Method and apparatus for generating CRC/parity error in network environment | |
US7970569B2 (en) | Apparatus and method for connection test on printed circuit board | |
US11879937B2 (en) | Method and device for monitoring the reliability of an electronic system | |
WO2019029479A1 (en) | Digital switch detecting circuit and method | |
US20100318325A1 (en) | Signal processing device | |
US20040177289A1 (en) | Method and arrangement for detecting and correcting line defects | |
JP3753797B2 (en) | Microcomputer device | |
JP2000275291A (en) | Voltage margin test circuit and deterioration diagnostic device | |
JP5261874B2 (en) | Electronic circuit and connection diagnostic circuit | |
US10756716B2 (en) | Electronic device and noise removal system |