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 PDF

Info

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
Application number
JP2010096964A
Other languages
Japanese (ja)
Inventor
Masuyuki Takeda
益幸 武田
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 JP2010096964A priority Critical patent/JP2011226917A/en
Publication of JP2011226917A publication Critical patent/JP2011226917A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a self-diagnosis device, a self-diagnosis method, and an electronic device with a self-diagnosis function which can specify with high accuracy a location and a mode of a fault in a signal line.SOLUTION: Electric potentials of plural signal lines 0 to 3 connecting to an output buffer section 4 are arranged in parallel and logical pattern data alternatively different among adjacent signal lines are sent sequentially in a manner that data in each line at least complement data in adjacent lines, while an input buffer section 6 connecting to the output buffer section 4 via the plural signal lines 0 to 3 receives the pattern data sequentially and the presence and location of a short-circuit or an open-circuit in the plural signal lines 0 to 3 are determined from logical values among pattern data per signal line or logical operation values of logical values per signal line.

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, Patent Document 1 discloses a device for self-diagnosis of signal line defects. This device compares the test pattern stored in the memory and the parallel data (expected value) received after passing through the line of the parallel bus through the flexible board (FPC). The operation of the driver circuit is stopped as a failure has occurred.

特開2007−293054号公報JP 2007-293054 A

従来の技術では、テストパターンを、パラレルバスにおける隣接する線路で信号の電圧がハイ(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による自己診断装置の構成を示すブロック図である。It is a block diagram which shows the structure of the self-diagnosis apparatus by Embodiment 1 of this invention. 実施の形態1における第1のデータ処理部による動作の流れを示すフローチャートである。4 is a flowchart showing a flow of operations performed by a first data processing unit in the first embodiment. 第1のデータ処理部の自己診断モードにおける動作の流れを示すフローチャートである。It is a flowchart which shows the flow of operation | movement in the self-diagnosis mode of a 1st data processing part. 第1のデータ処理部が自己診断モードで出力する信号を示す図である。It is a figure which shows the signal which a 1st data processing part outputs in self-diagnosis mode. 実施の形態1における第2のデータ処理部による動作の流れを示すフローチャートである。6 is a flowchart showing a flow of operations performed by a second data processing unit in the first embodiment. 第2のデータ処理部の自己診断モードにおける動作の流れを示すフローチャートである。It is a flowchart which shows the flow of operation | movement in the self-diagnosis mode of a 2nd data processing part. 自己診断モードにおいて信号線の正常時に第2のデータ処理部が入力する信号を示す図である。It is a figure which shows the signal which a 2nd data processing part inputs when a signal line is normal in self-diagnosis mode. 信号線が短絡している際の第2のデータ処理部の入力データを示す図である。It is a figure which shows the input data of the 2nd data processing part at the time of the signal line short-circuiting. 信号線が開放となっている際の第2のデータ処理部の入力データを示す図である。It is a figure which shows the input data of the 2nd data processing part in case the signal line is open | released. この発明の実施の形態2による自己診断装置の構成を示すブロック図である。It is a block diagram which shows the structure of the self-diagnosis apparatus by Embodiment 2 of this invention. この発明の実施の形態3による自己診断装置の構成を示すブロック図である。It is a block diagram which shows the structure of the self-diagnosis apparatus by Embodiment 3 of this invention. 実施の形態3による第2のデータ処理部の自己診断モードにおける動作の流れを示すフローチャートである。10 is a flowchart showing an operation flow in a self-diagnosis mode of a second data processing unit according to the third embodiment.

実施の形態1.
図1は、この発明の実施の形態1による自己診断装置の構成を示すブロック図である。図1において、実施の形態1による自己診断装置1は、送信側信号処理ブロック2、受信側信号処理ブロック5及び命令入力部8を備える。命令入力部8は、第1のデータ処理部3及び第2のデータ処理部7へ自己診断モードを設定する指令を入力する構成部である。また、送信側信号処理ブロック2は、自己診断モードで使用するデータを生成して送信する構成部であり、第1のデータ処理部3及び出力バッファ部4を備える。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of a self-diagnosis apparatus according to Embodiment 1 of the present invention. In FIG. 1, a self-diagnosis device 1 according to Embodiment 1 includes a transmission-side signal processing block 2, a reception-side signal processing block 5, and a command input unit 8. The command input unit 8 is a component that inputs a command for setting the self-diagnosis mode to the first data processing unit 3 and the second data processing unit 7. The transmission side signal processing block 2 is a component that generates and transmits data used in the self-diagnosis mode, and includes a first data processing unit 3 and an output buffer unit 4.

第1のデータ処理部3は、自己診断モードで使用するデータを生成する処理部であり、出力バッファ部4は、第1のデータ処理部3で生成されたデータを電気信号として信号線0〜3へ出力する出力バッファ0〜3を備える。なお、データ“1”は5V、データ“0”は0Vの電圧にて送信するものとする。また、入力バッファ0〜3は、入力インピーダンスを持っており、データ“1”とデータ“0”との間の閾値は、2.5Vであるものとする。   The first data processing unit 3 is a processing unit that generates data to be used in the self-diagnosis mode, and the output buffer unit 4 uses the data generated by the first data processing unit 3 as signal signals 0 to 0. Output buffers 0 to 3 for output to 3. It is assumed that data “1” is transmitted at a voltage of 5V and data “0” is transmitted at a voltage of 0V. The input buffers 0 to 3 have input impedance, and the threshold value between the data “1” and the data “0” is 2.5V.

自己診断モードで使用するデータとは、複数の信号線の電位レベルを並列に設定して得られるデータであり、ハイレベルに相当する“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 signal lines 0 to 3, complementary data (1010) and (0101) and (1111) and (0000) complementary to each other are obtained.

受信側信号処理ブロック5は、自己診断モードにおいて、送信側信号処理ブロック2側から受信したデータに基づいて自己診断を実行する構成部であり、入力バッファ部6及び第2のデータ処理部7を備える。入力バッファ部6は、信号線0〜3を介して送信されてきた電気信号を、第2のデータ処理部7へ出力する入力バッファ0〜3を備える。第2のデータ処理部7は、自己診断モードにおいて、入力バッファ0〜3を介して上述のパターンデータを順次入力し、これらのパターンデータに基づいて信号線0〜3における不具合の発生箇所と不具合モードとを特定する処理部である。   The reception-side signal processing block 5 is a component that performs self-diagnosis on the basis of data received from the transmission-side signal processing block 2 in the self-diagnosis mode, and includes the input buffer unit 6 and the second data processing unit 7. Prepare. The input buffer unit 6 includes input buffers 0 to 3 that output electric signals transmitted via the signal lines 0 to 3 to the second data processing unit 7. In the self-diagnosis mode, the second data processing unit 7 sequentially inputs the above-described pattern data via the input buffers 0 to 3, and the locations and defects of the defects in the signal lines 0 to 3 based on these pattern data It is a processing unit that identifies a mode.

また、第2のデータ処理部7は、第1のデータ処理部3から自己診断モードのデータを受信することで得た自己診断モード処理のステータスを、信号線aを介して第1のデータ処理部3へ返す。第1のデータ処理部3は、ステータスを得ると、上述のパターンデータを自己診断モードのデータとして順次生成し、第2のデータ処理部7側へ送信する。   In addition, the second data processing unit 7 displays the status of the self-diagnosis mode processing obtained by receiving the data of the self-diagnosis mode from the first data processing unit 3 via the signal line a. Return to part 3. When the first data processing unit 3 obtains the status, the first data processing unit 3 sequentially generates the above-described pattern data as data in the self-diagnosis mode and transmits it to the second data processing unit 7 side.

次に動作について説明する。
図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 data processing unit 3.
First, when the first data processing unit 3 starts processing of the main routine (step ST1), the first data processing unit 3 receives an input from the command input unit 8 and determines whether or not there is an instruction for the self-diagnosis mode (step ST2). . If there is no instruction for the self-diagnosis mode (step ST2; NO), the first data processing unit 3 operates in the normal operation mode (step ST3).

一方、自己診断モードの指示を受けると(ステップ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 data processing unit 3 operates in the self-diagnosis mode (step ST4). Here, the first data processing unit 3 outputs data stored in advance to the second data processing unit 7. Details of processing in the self-diagnosis mode will be described later.

第2のデータ処理部7は、第1のデータ処理部3から、信号線0〜3を介して受信したデータに基づいて、信号線0〜3の不具合発生及び不具合モードの自己診断を実行する。第2のデータ処理部7による自己診断結果は、第1のデータ処理部3へ送信される。   Based on the data received from the first data processing unit 3 via the signal lines 0 to 3, the second data processing unit 7 executes the occurrence of the malfunction of the signal lines 0 to 3 and the self-diagnosis of the malfunction mode. . The result of self-diagnosis by the second data processing unit 7 is transmitted to the first data processing unit 3.

第1のデータ処理部3は、第2のデータ処理部7から受信した自己診断結果が正常であったか否かを判定する(ステップST5)。ここで、自己診断結果が正常であれば(ステップST5;YES)、第1のデータ処理部3は、ステップST3へ移行し、通常動作モードで動作する。一方、自己診断結果が正常でなければ(ステップST5;NO)、第1のデータ処理部3は、エラー終了する(ステップST6)。   The first data processing unit 3 determines whether the self-diagnosis result received from the second data processing unit 7 is normal (step ST5). If the self-diagnosis result is normal (step ST5; YES), the first data processing unit 3 moves to step ST3 and operates in the normal operation mode. On the other hand, if the self-diagnosis result is not normal (step ST5; NO), the first data processing unit 3 ends with an error (step ST6).

図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 data processing unit 3 in the self-diagnosis mode. As shown in FIG. 4, the signals output by the first data processing unit 3 in the self-diagnosis mode are INPUT1 = A1, INPUT2 = A2, and INPUT3 composed of logical values output in parallel to the signal lines 0 to 3, respectively. = A3 and INPUT4 = A4.

自己診断モードが指示されると、先ず、第1のデータ処理部3は、保持するINPUT1のデータA1(1010)を並列データとして出力バッファ0〜3を介して送信側信号処理ブロック2から出力する(ステップST4−1)。このとき、第1のデータ処理部3内のタイマが、INPUT1のデータA1を出力した時間からの経過時間を計時する。   When the self-diagnosis mode is instructed, first, the first data processing unit 3 outputs the held data A1 (1010) of INPUT1 as parallel data from the transmission side signal processing block 2 via the output buffers 0 to 3. (Step ST4-1). At this time, the timer in the first data processing unit 3 measures the elapsed time from the time when the data A1 of INPUT1 is output.

所定の時間が経過すると、第1のデータ処理部3は、保持するINPUT2のデータA2(0101)を並列データとして出力バッファ0〜3を介して送信側信号処理ブロック2から出力する(ステップST4−2)。INPUT2のデータA2を出力すると、第1のデータ処理部3は、図2のステップST5の処理へ移行する。   When a predetermined time elapses, the first data processing unit 3 outputs the data A2 (0101) of the INPUT2 to be held as parallel data from the transmission side signal processing block 2 via the output buffers 0 to 3 (step ST4- 2). When the data A2 of INPUT2 is output, the first data processing unit 3 proceeds to the process of step ST5 in FIG.

なお、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 data processing unit 3 outputs the data A3 (1111) of INPUT3 as parallel data via the output buffers 0 to 3 after a predetermined time has elapsed since the output of the data A2 of INPUT2. Output from the transmission side signal processing block 2, and after a predetermined time has elapsed, the data A4 (0000) of the INPUT4 may be output as parallel data from the transmission side signal processing block 2 via the output buffers 0 to 3. .

図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 data processing unit 7.
First, when the second data processing unit 7 starts the processing of the main routine (step ST1a), the second data processing unit 7 receives an input from the command input unit 8 and instructs the self-diagnosis mode as in the first data processing unit 3. It is determined whether or not there is (step ST2a). If there is no instruction for the self-diagnosis mode (step ST2a; NO), the second data processing unit 7 operates in the normal operation mode (step ST3a).

一方、自己診断モードの指示を受けると(ステップ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 data processing unit 7 operates in the self-diagnosis mode (step ST4a). Here, based on the data used by the second data processing unit 7 in the self-diagnosis mode received from the transmission-side signal processing block 2, the self-diagnosis for identifying the failure status of the signal lines 0 to 3 and the failure mode is performed. The self-diagnosis result is output to the first data processing unit 3. Details of processing in the self-diagnosis mode will be described later.

第2のデータ処理部7は、送信側信号処理ブロック2から受信したデータに基づく自己診断の結果が正常であったか否かを判定する(ステップST5a)。ここで、自己診断結果が正常であれば(ステップST5a;YES)、第2のデータ処理部7は、ステップST3aへ移行し、通常動作モードで動作する。一方、自己診断結果が正常でなければ(ステップST5a;NO)、第2のデータ処理部7は、エラー終了する(ステップST6a)。   The second data processing unit 7 determines whether the result of the self-diagnosis based on the data received from the transmission side signal processing block 2 is normal (step ST5a). If the self-diagnosis result is normal (step ST5a; YES), the second data processing unit 7 moves to step ST3a and operates in the normal operation mode. On the other hand, if the self-diagnosis result is not normal (step ST5a; NO), the second data processing unit 7 ends in error (step ST6a).

図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 data processing unit 7 in the self-diagnosis mode are OUTPUT1 = B1, OUTPUT2 = B2, and OUTPUT3 composed of logical values input in parallel to the signal lines 0 to 3, respectively. = B3, OUTPUT4 = B4.

自己診断モードが指示されると、第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 data processing unit 7 inputs the data A1 of INPUT1 and the data A2 of INPUT2 from the transmission side signal processing block 2 as parallel data via the input buffers 0 to 3. As a result, OUTPUT1 = B1 and OUTPUT2 = B2 are taken into the reception-side signal processing block 5 in this order (step ST4a-1).

次に、第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 data processing unit 7 determines whether OUTPUT1 = INPUT1 and OUTPUT2 = INPUT2 (step ST4a-2). Here, as shown in FIG. 7, if OUTPUT1 = INPUT1 (1010) and OUTPUT2 = INPUT2 (0101) (step ST4a-2; YES), the second data processing unit 7 transmits the signal lines 0 to 0. 3 is diagnosed as normal, and the status is returned to the first data processing unit 3 via the signal line a (step ST4a-3). Thereafter, the second data processing unit 7 determines that the result of the self-diagnosis is normal and proceeds to the main routine process (step ST5a in FIG. 5) (step ST4a-4).

一方、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 data processing unit 7 supports the signal lines 0 to 3 for the data B1 of OUTPUT1. The value of each bit to be performed is b1n (n = 0 to 3), and the value of each bit corresponding to the signal lines 0 to 3 for the data B2 of OUTPUT2 is b2n (n = 0 to 3). Among these, it is determined whether or not there is a value of n that satisfies b1n = b1n + 1 and b2n = b2n + 1 (step ST4a-5).

ここで、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 data processing unit 7 specifies a signal identified by n that satisfies the relationship. It is determined that a short circuit has occurred between the line n and the signal line n + 1, and the status is returned to the first data processing unit 3 via the signal line a (step ST4a-6). Thereafter, the second data processing unit 7 determines that there is a short circuit between the signal line n and the signal line n + 1, and shifts to the main routine process (step ST5a in FIG. 5) (step ST5a). ST4a-7). Thereby, it is specified that the failure mode is a short circuit, and the location where the short circuit occurs is between the signal line n and the signal line n + 1.

図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 signal line 0 and the signal line 1. . In FIG. 8, the output buffers 0 to 3 and the input buffers 0 to 3 are 5 V power supplies, the output impedance of the output buffers 0 to 3 is 50Ω, and the input impedance of the input buffers 0 to 3 is 1 KΩ (with respect to ground (GND) )), The threshold value of the input buffers 0 to 3 is 2.5V.

図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 signal line 0 of the data B1 should be the logical value “1”, but is the logical value “0”, and the bit corresponding to the signal line 1 of the data B2 Where the value b21 should be the logical value “1”, the logical value is “0”.
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 signal line 0 and the signal line 1. Although the case where the logical value is the same at “0” is shown, it is also possible to design the logical value “1” to be the same.

また、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 data processing unit 7 sets b1n and b2n out of n = 1-3. It is determined whether or not there is a value of n that is not the logical value “1” as a result of calculating the exclusive OR (step ST4a-8).

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 data processing unit 7 is specified by n at which the relationship is established. And the status is returned to the first data processing unit 3 via the signal line a (step ST4a-9). Thereafter, the second data processing unit 7 proceeds to the main routine process (step ST5a in FIG. 5) (step ST4a-10), assuming that there is a problem that the signal line n is open. As a result, it is specified that the failure mode is open and the location where the open occurs is the signal line n.

図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 signal line 1 is opened. 9, as in FIG. 8, the output buffers 0 to 3 and the input buffers 0 to 3 are 5 V power supplies, the output impedance of the output buffers 0 to 3 is 50Ω, and the input impedance of the input buffers 0 to 3 is It shows a case where 1KΩ (between ground (GND)) and the threshold value of the input buffers 0 to 3 is 2.5V.

図9に示す例では、データB2の信号線1に対応するビット値b21が論理値“1”であるべきところ、論理値“0”となっている。
このような場合においても、従来では、各データB1,B2が、その期待値(1010)、(0101)と等しいか否かで不具合の発生のみを判定するものであったため、不具合の箇所と内容を特定することができなかった。
In the example illustrated in FIG. 9, the bit value b21 corresponding to the signal line 1 of the data B2 is the logical value “0”, which should be the logical value “1”.
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 signal line 1.

なお、この後、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 data processing unit 7 takes in OUTPUT3 = B3 and OUTPUT4 = B4 in this order, the bit value b31 corresponding to the signal line 1 of the data B3 It is possible to determine whether the signal line 1 is open after determining whether the signal line 1 has the logical value “0” and confirming that the signal line 1 has the logical value “0”. .
In the example of FIG. 9, the bit value b31 corresponding to the signal line 1 of the data B3 (1111) is the logical value “0”, and the signal line 1 is surely opened together with the diagnosis result of the data B1 and B2. Can be specified.

一方、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 data processing unit 7 is an absurd mode that cannot occur. And the status is returned to the first data processing unit 3 via the signal line a (step ST4a-11). Thereafter, the second data processing unit 7 determines that the mode is an absurd mode, and proceeds to the main routine process (step ST5a in FIG. 5) (step ST4a-12). As a result, the self-diagnosis is urged again, assuming that an absurd mode has occurred due to a software error during data transmission rather than a hardware malfunction of the signal lines 0 to 3.

以上のように、この実施の形態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 signal lines 0 to 3 connected to the output buffer unit 4 are set in parallel, and pattern data having different logical values alternately between adjacent signal lines. Are sequentially transmitted as at least complementary data complementary to each other, and the pattern data is sequentially received by the input buffer unit 6 connected to the output buffer unit 4 through the plurality of signal lines 0 to 3, and the signal lines between the pattern data are received. The occurrence of a short circuit or open in the plurality of signal lines 0 to 3 and the occurrence location thereof are determined from the logical value of the above or the logical operation value of the logical value for each signal line.
In particular, the pattern data sequentially transmitted from the signal processing block 2 on the transmission side is adjacent to the pattern data starting from the logical value 1 and alternately switching the logical value 1 and the logical value 0 on the adjacent signal lines, and starting from the logical value 0. Pattern data in which a logical value 1 and a logical value 0 are alternately switched by the signal line to be received, and the second data processing unit 7 of the reception-side signal processing block 5 performs the logic of the adjacent signal lines in both of the sequentially received pattern data. If the values are the same, it is determined that the signal lines are short-circuited, and if the value obtained by exclusive ORing the logical values of the corresponding signal lines between the pattern data is not the logical value 1, the signal lines are opened. It is determined that
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と同一符号を付した構成は同一又はそれに相当する機能を有するので説明を省略する。
Embodiment 2. FIG.
FIG. 10 is a block diagram showing a configuration of a self-diagnosis device according to Embodiment 2 of the present invention. 10, the self-diagnosis device 1A according to the second embodiment includes resistors 9-0 to 9-3 for each of the signal lines 0 to 3, in addition to the configuration described with reference to FIG. 1 in the first embodiment. One end is connected and the other end is connected to the ground (GND). The resistors 9-0 to 9-3 are resistors having a value corresponding to the output impedance of the output buffers 0 to 3. Note that the components denoted by the same reference numerals as those in FIG. 1 have the same or corresponding functions, and thus description thereof is omitted.

出力バッファ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 output buffers 0 to 3, it is possible to increase the voltage change in the input buffers 0 to 3 due to a short circuit between the signal lines. For example, when the input buffers 0 to 3 and the output buffers 0 to 3 are 5 V power supplies and both the input impedance and the output impedance are 50Ω, when the signal lines are short-circuited, the input potential to the input buffers 0 to 3 is 1. .25V and the voltage drops greatly. As a result, when there is a short circuit between adjacent signal lines, it can be reliably determined as data “0” with a threshold of 2.5V.

以上のように、この実施の形態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 output buffers 0 to 3 between the signal lines 0 to 3 and the ground (GND). Since -3 is connected, a short circuit between the signal lines can be easily detected.

実施の形態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と同一符号を付した構成は同一又はそれに相当する機能を有するので説明を省略する。
Embodiment 3 FIG.
FIG. 11 is a block diagram showing a configuration of a self-diagnosis apparatus according to Embodiment 3 of the present invention. In FIG. 11, the self-diagnosis device 1B according to the third embodiment includes a signal line 0-3 and resistors 9-0-9-3 in addition to the configuration described with reference to FIG. 10 in the second embodiment. Are connected to switches 10-0 to 10-3, respectively. The switches 10-0 to 10-3 (hereinafter collectively referred to as SW10 as appropriate) are turned off (opened) in the normal operation mode, and the input impedance of the input buffers 0 to 3 is high, and in the self-diagnosis mode. Is turned on (closed state) so that the input impedance of the input buffers 0 to 3 is low. 1 and 10 have the same or equivalent functions, and thus description thereof is omitted.

次に動作について説明する。
ここでは、第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 data processing unit 7 will be described.
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 data processing unit 7 turns on the SW 10 (closed state) (step ST4a-0).
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 signal lines 0 to 3 are not defective, SW10 is turned off (open state). (Step ST4a-3-1).
Thereafter, the second data processing unit 7 determines that the result of the self-diagnosis is normal and proceeds to the main routine process (step ST5a in FIG. 5) (step ST4a-4).

また、上記実施の形態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 line n + 1. If it is determined that there is a malfunction that has occurred, the second data processing unit 7 turns off the SW 10 (open state) (step ST4a-6-1), and then performs the main routine process (step ST5a in FIG. 5). ) (Step ST4a-7). Thereby, it is specified that the failure mode is a short circuit, and the location where the short circuit occurs is between the signal line n and the signal line n + 1.

さらに、上記実施の形態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 data processing unit 7 sets the SW 10 to OFF (open state) (step ST4a-9-1), and then performs processing of the main routine (step ST5a in FIG. 5). (Step ST4a-7). As a result, it is specified that the failure mode is open and the location where the open occurs is the signal line n.

さらに、上記実施の形態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 data processing unit 7 turns off SW10 (open state) (step ST4a-11-1), and then returns to the main routine processing (step ST5a in FIG. 5) (step ST4a-12). ). As a result, the self-diagnosis is urged again, assuming that an absurd mode has occurred due to a software error during data transmission rather than a hardware malfunction of the signal lines 0 to 3.

以上のように、この実施の形態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 signal lines 0 to 3 and the resistors 9-0 to 9-3, and the switches 10-0 to 10-0 are connected. Since 10-3 is turned off (open state) in the normal operation mode and turned on (closed state) in the self-diagnosis mode, it can be used in a state resistant to noise during normal operation, and at the same time in the self-diagnosis mode A short circuit between the signal lines can be easily detected, and erroneous detection can be prevented.

なお、上記実施の形態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 signal lines 0 to 3, the self-diagnosis shown in the first to third embodiments will be described. An electronic device having a function can be realized.

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)

複数の信号線に接続する出力バッファ部と、前記出力バッファ部に接続する前記複数の信号線の電位を並列に設定して、隣接する信号線で交互に異なる論理値のパターンデータを、少なくとも互いに相補する相補データとして順次送信する第1のデータ処理部とを有する送信側信号処理ブロックと、
前記複数の信号線を介して前記出力バッファ部と接続する入力バッファ部と、前記入力バッファ部で前記パターンデータを順次受信し、前記パターンデータ間の前記信号線ごとの論理値又は前記信号線ごとの論理値の論理演算値から、前記複数の信号線における短絡又は開放の発生及びその発生箇所を判定する受信側信号処理ブロックとを備えた自己診断装置。
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.
前記送信側信号処理ブロックから順次送信されるパターンデータは、論理値1から始まって隣接する信号線で交互に論理値1と論理値0が入れ替わるパターンデータ、及び論理値0から始まって隣接する信号線で交互に論理値1と論理値0が入れ替わるパターンデータであり、
前記受信側信号処理ブロックの前記第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.
前記複数の信号線のそれぞれと接地電位との間に、前記入力バッファ部の入力インピーダンスとなる抵抗を設け、前記入力バッファ部の論理レベル判定を容易にすることを特徴とする請求項1または請求項2記載の自己診断装置。   2. The logic level determination of the input buffer unit is facilitated by providing a resistor serving as an input impedance of the input buffer unit between each of the plurality of signal lines and a ground potential. Item 3. The self-diagnosis device according to Item 2. 前記複数の信号線のそれぞれと前記抵抗との間に、前記信号線と前記抵抗の接続を開閉するスイッチを備え、自己診断時に前記スイッチを閉状態にすることを特徴とする請求項3記載の自己診断装置。   4. The switch according to claim 3, further comprising a switch that opens and closes a connection between the signal line and the resistor between each of the plurality of signal lines and the resistor, wherein the switch is closed during self-diagnosis. Self-diagnosis device. 出力バッファ部に接続する複数の信号線の各電位を並列に設定して、隣接する信号線で交互に異なる論理値のパターンデータを少なくとも互いに相補する相補データとして順次送信するステップと、
前記複数の信号線を介して前記出力バッファ部と接続する入力バッファ部で前記パターンデータを順次受信し、前記パターンデータ間の前記信号線ごとの論理値又は前記信号線ごとの論理値の論理演算値から、前記複数の信号線における短絡又は開放の発生及びその発生箇所を判定するステップとを備えた自己診断方法。
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.
出力バッファ部に接続する複数の信号線の各電位を並列に設定して、隣接する信号線で交互に異なる論理値のパターンデータを少なくとも互いに相補する相補データとして順次送信するとともに、前記複数の信号線を介して前記出力バッファ部と接続する入力バッファ部で前記パターンデータを順次受信し、前記パターンデータ間の前記信号線ごとの論理値又は前記信号線ごとの論理値の論理演算値から、前記複数の信号線における短絡又は開放の発生及びその発生箇所を判定する自己診断機能を備えた電子機器。   The respective 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, and the plurality of signals The pattern data is sequentially received by the input buffer unit connected to the output buffer unit via a line, and the logical value for each signal line between the pattern data or the logical operation value of the logical value for each signal line, An electronic apparatus having a self-diagnosis function for determining occurrence of a short circuit or opening in a plurality of signal lines and a location where the short circuit occurs.
JP2010096964A 2010-04-20 2010-04-20 Self-diagnosis device, self-diagnosis method, and electronic device with self-diagnosis function Pending JP2011226917A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (5)

* Cited by examiner, † Cited by third party
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