JPH01156683A - Self-diagnosing system for electronic circuit package - Google Patents
Self-diagnosing system for electronic circuit packageInfo
- Publication number
- JPH01156683A JPH01156683A JP62317963A JP31796387A JPH01156683A JP H01156683 A JPH01156683 A JP H01156683A JP 62317963 A JP62317963 A JP 62317963A JP 31796387 A JP31796387 A JP 31796387A JP H01156683 A JPH01156683 A JP H01156683A
- Authority
- JP
- Japan
- Prior art keywords
- package
- diagnosis
- data
- circuit
- section
- 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
- 238000003745 diagnosis Methods 0.000 claims abstract description 28
- 238000001514 detection method Methods 0.000 claims abstract description 9
- 238000004092 self-diagnosis Methods 0.000 claims description 4
- 238000000034 method Methods 0.000 claims description 3
- 238000002405 diagnostic procedure Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Tests Of Electronic Circuits (AREA)
Abstract
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電子回路パッケージ自己診断方式に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to an electronic circuit package self-diagnosis method.
従来、この種の診断方式においては、制御回路及びメモ
リを含む制御パッケージが他の被制御パッケージを実際
に機能動作させ、動作結果を読み取り、予め用意した期
待値との比較をプログラムを実行して行なっている。Conventionally, in this type of diagnostic method, a control package including a control circuit and memory actually operates other controlled packages, reads the operation results, and executes a program to compare them with expected values prepared in advance. I am doing it.
上述した従来の診断方式においては、被制御パッケージ
すなわち被診断パッケージに対し実際の機能動作を行な
わせるため、機能が複数パッケージに及んでいる場合、
被疑パッケージが複数枚になる。また、制御パッケージ
と被制御パッケージとの間のインターフェース部が障害
になったとき、いずれのパッケージが障害であるがの選
定ができない。さらに、制御パッケージ自体の診断がで
きない。また、制御パッケージのプログラム実行の不可
能な障害が発生したとき、被制御パッケージの診断がで
きない。In the conventional diagnostic method described above, in order to cause the controlled package, that is, the package to be diagnosed, to perform an actual functional operation, when the function extends to multiple packages,
There are multiple suspect packages. Further, when the interface between the control package and the controlled package becomes a failure, it is not possible to select which package is the failure. Furthermore, the control package itself cannot be diagnosed. Further, when a failure occurs that makes it impossible to execute the program of the control package, the controlled package cannot be diagnosed.
本発明の電子回路パッケージ自己診断方式は電子装置を
構成する複数の電子回路パッケージのそれぞれに、パッ
ケージ外部からの診断実行指示の検出とパッケージ外部
への診断結果の報告とを行なう外部インターフェース部
と、パッケージ内の診断対象回路への入力データと前記
診断対象回路からの出力の期待値データとを保持するデ
ータ部と、前記診断対象回路にデータを入力する入力部
と、前記診断対象回路からの出力データと期待値データ
とを比較する比較部と、前記診断対象回路の入出力を他
のパッケージと前記入力部及び前記比較部とのいずれに
接続するかを切換える切換部と、診断の終了及び前記比
較部の比較結果を検出する診断結果検出部と、前記各部
の動作を制御する制御部とを設けた構成である。The electronic circuit package self-diagnosis method of the present invention includes, for each of a plurality of electronic circuit packages constituting an electronic device, an external interface unit that detects a diagnosis execution instruction from outside the package and reports the diagnosis result to the outside of the package. a data section that holds input data to a circuit to be diagnosed in a package and expected value data of an output from the circuit to be diagnosed; an input section for inputting data to the circuit to be diagnosed; and an output from the circuit to be diagnosed. a comparison unit that compares data and expected value data; a switching unit that switches between connecting the input and output of the circuit to be diagnosed to another package, the input unit, and the comparison unit; This configuration includes a diagnosis result detection section that detects the comparison result of the comparison section, and a control section that controls the operation of each of the sections.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
一実施例を示す第1図を参照すると、診断指示キー1は
パッケージ外部からパッケージに対し自己診断を指示す
るキーである。表示部2,3はそれぞれ診断結果の良、
不良を表示する。外部インターフェース部4は診断指示
キー1からの診断指示の検出及び表示部2.3に診断結
果の表示を指示する。診断対象回路5はパッケージ内の
診断対象となる回路であり、通常は電子装置の所定の機
能を司どる。データ部6は診断対象回i5を診断するた
めの入力データ及び出力データの期待値データを保持す
る。入力信号7は他パッケージからの入力信号である。Referring to FIG. 1 showing one embodiment, a diagnosis instruction key 1 is a key for instructing the package to perform self-diagnosis from outside the package. Display parts 2 and 3 indicate whether the diagnosis result is good or not.
Show defects. The external interface section 4 detects a diagnosis instruction from the diagnosis instruction key 1 and instructs the display section 2.3 to display the diagnosis result. The circuit to be diagnosed 5 is a circuit to be diagnosed within the package, and usually controls a predetermined function of the electronic device. The data section 6 holds expected value data of input data and output data for diagnosing the diagnosis target time i5. Input signal 7 is an input signal from another package.
出力信号8は他パッケージへの出力信号である。受信部
っけ入力信号7を受信する。送信部10は出力信号8を
送信する。入力部11はデータ部6の入力データを読み
取り診断対象回路5へ入力する。比較部12はデータ部
6の期待値データと診断対象回路5の出力データとの比
較チエツクを行なう。切換部13は診断対象回路5への
入力を受信部9及び入力部11のいずれに接続するか切
換える。切換部14は診断対象回路5の出力を送信部1
0及び比較部12のいずれに接続するか切換える。診断
結果検出部15は最終の入力データの検出及び比較部1
2における比較結果の不一致を検出する。制御部16は
各部の動作を制御する。Output signal 8 is an output signal to other packages. The receiving section receives the input signal 7. The transmitter 10 transmits an output signal 8. The input section 11 reads input data from the data section 6 and inputs it to the circuit 5 to be diagnosed. The comparison section 12 performs a comparison check between the expected value data of the data section 6 and the output data of the circuit to be diagnosed 5. The switching unit 13 switches which of the receiving unit 9 and the input unit 11 the input to the circuit to be diagnosed 5 is connected to. The switching unit 14 transmits the output of the circuit 5 to be diagnosed to the transmitting unit 1.
0 or comparison unit 12. The diagnosis result detection unit 15 is the final input data detection and comparison unit 1
Detect discrepancies in the comparison results in step 2. The control section 16 controls the operation of each section.
通常の動作時、すなわち診断を実行していない場合、診
断対象回路5は受信部9及び送信部10を介して他パッ
ケージと接続され、電子装置の所定の機柿を果す。診断
開始時、診断指示キー1をオンすると、外部インターフ
ェース部4は診断開始指示を検出して制御部16に伝達
する。制御部16は外部インターフェース部4からの診
断開始指示を検出すると、切換部13及び切換部14に
対して切換え指示を送出し、診断対象回路5の入力を受
信部9から入力部11に、かつ出力を送信部10から比
較部12に切換える。その後、制御部16は入力部11
及び比較部12を起動し、データ部6のデータにより診
断対象回路5の診断が行なわれる。診断結果検出部15
は最終診断データの検出あるいは比較部12でのデータ
の不一致を検出すると、制御部16に検出結果を伝達す
る。During normal operation, that is, when no diagnosis is being performed, the circuit to be diagnosed 5 is connected to other packages via the receiving section 9 and the transmitting section 10, and performs a predetermined function of the electronic device. When diagnosis instruction key 1 is turned on at the time of starting diagnosis, external interface section 4 detects a diagnosis start instruction and transmits it to control section 16 . When the control unit 16 detects a diagnosis start instruction from the external interface unit 4, it sends a switching instruction to the switching unit 13 and the switching unit 14, and transfers the input of the circuit to be diagnosed 5 from the receiving unit 9 to the input unit 11, and The output is switched from the transmitter 10 to the comparator 12. After that, the control section 16 controls the input section 11
Then, the comparator 12 is activated, and the circuit 5 to be diagnosed is diagnosed using the data in the data section 6. Diagnosis result detection unit 15
When detecting the final diagnostic data or detecting a data mismatch in the comparison section 12, it transmits the detection result to the control section 16.
制御部16はその検出結果を外部インターフェース部4
に伝達し、外部インターフェース部4は正常時に表示部
2の点灯、また異常時に表示部3の点灯を行なう。The control unit 16 sends the detection results to the external interface unit 4.
The external interface section 4 lights up the display section 2 during normal conditions and lights up the display section 3 during abnormal conditions.
第2図は上述のように構成されるパッケージを複数個有
する電子装置の一例を示す。同図において、電子装置2
1は複数個のパッケージ22,23.24を備える。こ
れらのパッケージ22,23.24は信号線25.26
.27によりそれぞれ接続されている。FIG. 2 shows an example of an electronic device having a plurality of packages configured as described above. In the figure, electronic device 2
1 includes a plurality of packages 22, 23, and 24. These packages 22, 23, 24 have signal lines 25, 26
.. 27, respectively.
以上説明したように本発明によれば、電子回路パッケー
ジ単位で自己診断することにより、障害パッケージの選
定が確実に行なえる。また、他のパッケージの有無及び
障害に拘りなく、独立して診断を行なえる。As described above, according to the present invention, a faulty package can be reliably selected by self-diagnosing each electronic circuit package. In addition, diagnosis can be performed independently regardless of the presence or absence of other packages or failures.
【図面の簡単な説明】
第1図及び第2図は本発明の一実施例を示す図である。
1・・・診断指示キー、2.3・・・表示部、4・・・
外部インターフェース部、5・・・診断対重回路、6・
・・データ部、7・・・入力信号、8・・・出力信号、
9・・・受信部、11・・・入力部、12・・・比較部
、13.14・・・切換部、15・・・診断結果検出部
、16・・・制御部、21・・・電子装置、22,23
.24・・・パッケージ。
代理人 弁理士 内 原 音
第1 図BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 and FIG. 2 are diagrams showing one embodiment of the present invention. 1...Diagnosis instruction key, 2.3...Display section, 4...
External interface section, 5...Diagnostic heavy circuit, 6.
...data section, 7...input signal, 8...output signal,
9... Receiving section, 11... Input section, 12... Comparing section, 13.14... Switching section, 15... Diagnosis result detection section, 16... Control section, 21... electronic equipment, 22, 23
.. 24...Package. Agent Patent Attorney Uchihara Oto Figure 1
Claims (1)
れに、パッケージ外部からの診断実行指示の検出とパッ
ケージ外部への診断結果の報告とを行なう外部インター
フェース部と、パッケージ内の診断対象回路への入力デ
ータと前記診断対象回路からの出力の期待値データとを
保持するデータ部と、前記診断対象回路にデータを入力
する入力部と、前記診断対象回路からの出力データと期
待値データとを比較する比較部と、前記診断対象回路の
入出力を他のパッケージと前記入力部及び前記比較部と
のいずれに接続するかを切換える切換部と、診断の終了
及び前記比較部の比較結果を検出する診断結果検出部と
、前記各部の動作を制御する制御部とを設けたことを特
徴とする電子回路パッケージ自己診断方式。Each of the multiple electronic circuit packages that make up the electronic device has an external interface section that detects a diagnosis execution instruction from outside the package and reports the diagnosis results to the outside of the package, and an external interface section that receives input data to the circuit to be diagnosed inside the package. and an input section for inputting data to the circuit to be diagnosed; and a comparison for comparing the output data from the circuit to be diagnosed and the expected value data. a switching unit that switches between connecting the input and output of the circuit to be diagnosed to another package, the input unit, and the comparison unit; and a diagnosis result that detects the end of the diagnosis and the comparison result of the comparison unit. An electronic circuit package self-diagnosis method comprising: a detection section; and a control section that controls the operation of each of the sections.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62317963A JPH01156683A (en) | 1987-12-15 | 1987-12-15 | Self-diagnosing system for electronic circuit package |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62317963A JPH01156683A (en) | 1987-12-15 | 1987-12-15 | Self-diagnosing system for electronic circuit package |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01156683A true JPH01156683A (en) | 1989-06-20 |
Family
ID=18093947
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62317963A Pending JPH01156683A (en) | 1987-12-15 | 1987-12-15 | Self-diagnosing system for electronic circuit package |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01156683A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03215764A (en) * | 1990-01-19 | 1991-09-20 | Matsushita Electron Corp | Semiconductor integrated circuit |
-
1987
- 1987-12-15 JP JP62317963A patent/JPH01156683A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03215764A (en) * | 1990-01-19 | 1991-09-20 | Matsushita Electron Corp | Semiconductor integrated circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7555353B2 (en) | Input device of safety unit | |
JP4277030B2 (en) | Communication control system | |
JP2003501948A (en) | Circuits for performing secure data transmission in circular bus systems, etc. | |
JPH01156683A (en) | Self-diagnosing system for electronic circuit package | |
JPH08292894A (en) | Digital controller | |
JP2555214B2 (en) | Control method of device suspected of failure | |
JPH08278924A (en) | Adapter diagnostic system | |
JPH0654447B2 (en) | Failure prediction device | |
JPH09218798A (en) | Method for diagnosing intermittent fault and electronic device | |
JPH05216711A (en) | Self-diagnostic device | |
JP3424916B2 (en) | General-purpose interface control device and general-purpose interface control method | |
JP2677200B2 (en) | Normal system immediate selection circuit | |
JP2000171515A (en) | Connection diagnostic circuit | |
JPS62237850A (en) | Fault diagnostic system | |
JPH03292024A (en) | Self-diagnostic system for transmitter | |
JPS6013592B2 (en) | Sequence controller data bus failure diagnosis device | |
JPS62539B2 (en) | ||
JPH06282454A (en) | Automatic fault diagnostic system | |
JPH05158724A (en) | Inter-lsi connection diagnostic system | |
JPH0847065A (en) | Remote supervisory controller | |
JPS63225844A (en) | Bus diagnosing system | |
JPH03226842A (en) | Failure circuit block detecting system | |
JPH01127980A (en) | Logic circuit package | |
JPS62126444A (en) | Failure diagnosing system | |
JPH0730935A (en) | System changeover test method |