JPH083513B2 - Electronic circuit diagnosis method - Google Patents

Electronic circuit diagnosis method

Info

Publication number
JPH083513B2
JPH083513B2 JP61180656A JP18065686A JPH083513B2 JP H083513 B2 JPH083513 B2 JP H083513B2 JP 61180656 A JP61180656 A JP 61180656A JP 18065686 A JP18065686 A JP 18065686A JP H083513 B2 JPH083513 B2 JP H083513B2
Authority
JP
Japan
Prior art keywords
signal
diagnostic
control unit
line
electronic circuit
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.)
Expired - Lifetime
Application number
JP61180656A
Other languages
Japanese (ja)
Other versions
JPS6337271A (en
Inventor
敏 馬場
豊 前田
忠司 能勢
Original Assignee
日本電気ホームエレクトロニクス株式会社
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 日本電気ホームエレクトロニクス株式会社 filed Critical 日本電気ホームエレクトロニクス株式会社
Priority to JP61180656A priority Critical patent/JPH083513B2/en
Publication of JPS6337271A publication Critical patent/JPS6337271A/en
Publication of JPH083513B2 publication Critical patent/JPH083513B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、電子回路診断方法に関し、特に多数の配線
が近接かつ平行して走るバスラインの診断方法に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for diagnosing an electronic circuit, and more particularly to a method for diagnosing a bus line in which a large number of wires run in close proximity and in parallel.

〔従来技術〕[Prior art]

近年、電子装置の小型化に伴って、回路部品の小型化
および高密度実装化が急速に進み端子間およびバスライ
ン間のショートあるいは断線等によるトラブルの発生率
が高まっている。このために、従来の電子回路において
は、実処理に入る前に該部分に対する診断処理が行われ
ている。
2. Description of the Related Art In recent years, with the miniaturization of electronic devices, miniaturization of circuit components and high-density packaging have rapidly progressed, and the incidence of troubles due to short-circuits or disconnections between terminals and bus lines is increasing. For this reason, in the conventional electronic circuit, the diagnostic process is performed on the portion before the actual process is started.

第2図は、従来一般に用いられる電子回路診断方法の
一例を示す回路図である。同図において、1は例えばマ
イクロコンピュータを用いて各種の制御を実行する演算
制御部、20〜2nは演算制御部1の出力ポートP0〜P7から
送出される制御信号が出力バスライン3を介して供給さ
れるドライバー回路、40〜47はドライバー回路20〜27
各出力によって動作するパワートランジスタ、50〜57
各パワートランジスタ40〜47によって駆動される被制御
物としてのアクチュエータ、60〜67は各パワートランジ
スタ40〜47の出力信号をそれぞれ入力とするバッファ回
路であって、その出力信号は入力バスライン7を介して
演算制御部1の入力ポートI0〜I7へ帰還させている。
FIG. 2 is a circuit diagram showing an example of a conventionally commonly used electronic circuit diagnosis method. In the figure, 1 is for example operation control unit for executing various controls by using a microcomputer, 2 0 to 2 n is the control signal output bus line sent from the output port P 0 to P 7 of the arithmetic and control unit 1 3 is a driver circuit that is supplied via 3, 3 0 to 4 7 are power transistors operated by the respective outputs of the driver circuits 2 0 to 2 7 , and 5 0 to 5 7 are driven by the respective power transistors 4 0 to 4 7 . actuator as a controlled object, 6 0-6 7 is a buffer circuit which receives the output signal of the power transistors 4 0-4 7 respectively, the arithmetic control unit 1 and the output signal via the input bus lines 7 It is fed back to the input ports I 0 to I 7 .

このように構成された回路において、外部信号Aが入
力端INに供給されると、演算制御部1はこの外部信号A
を演算することにより、必要とする被制御物に対する制
御信号を出力ポートP0〜P7から発生する。そして、この
制御信号は、出力バスライン3を介してドライバー回路
20〜27に供給されることにより増幅される。ドライバー
回路20〜27において増幅された制御信号は、パワートラ
ンジスタ40〜47に供給されて対応するパワートランジス
タをオンさせることから、その出力によって被制御物と
してのアクチュエータ50〜57が駆動されて、目的とする
制御が実行されることになる。
In the circuit configured as described above, when the external signal A is supplied to the input terminal IN, the arithmetic control unit 1 causes the external signal A
By calculating the required control signal for the controlled object from the output ports P 0 to P 7 . This control signal is sent to the driver circuit via the output bus line 3.
It is amplified by being supplied to the 2 0-2 7. Control signal amplified in the driver circuit 2 0-2 7, the actuator 5 0-5 7 as from the turning on the power transistor corresponding supplied to the power transistor 4 0-4 7, the controlled object by the output Is driven and the target control is executed.

ここで、各パワートランジスタ40〜47の出力信号は、
バッファ回路60〜67および入力バスライン7を介して演
算制御部1の入力ポートI0〜I7に帰還されていることか
ら、この演算制御部1は出力ポートP0〜P7から送出した
制御信号と入力ポートI0〜I7に帰還される信号との比較
を行う。そして、この両信号が全て一致したならば、目
的とする制御が確実に実行されたものとして次の処理ス
テップに移行する。また、両信号間に不一致部分が生じ
た場合には、この不一致部分に対応する制御信号の通路
または帰還系の一部に、例えば端子間およびバスライン
間のショートあるいはバスラインの断線等による事故が
発生しているものと判断する。そして、この診断結果に
異常が生じた場合には、出力系の異常によって目的とす
る正確な制御が行えないことから、異常の発生をオペレ
ータに報知するとともに、以後の制御を中止する。つま
り、制御結果を帰還させて、目的とする制御が実行され
たことを確認して次の制御に移行していることになる。
Here, the output signal of the power transistors 4 0-4 7,
Since it is fed back to the input ports I 0 to I 7 of the arithmetic control unit 1 via the buffer circuits 6 0 to 6 7 and the input bus line 7, the arithmetic control unit 1 outputs from the output ports P 0 to P 7. The control signal is compared with the signals fed back to the input ports I 0 to I 7 . If both of these signals match, it is determined that the target control has been executed without fail, and the process proceeds to the next processing step. If a mismatch occurs between the two signals, an accident such as a short between terminals or a bus line or a break in the bus line may occur in a part of the control signal path or feedback system corresponding to this mismatch. Is determined to have occurred. When an abnormality occurs in this diagnosis result, the target accurate control cannot be performed due to an abnormality in the output system, so the operator is notified of the occurrence of the abnormality and the subsequent control is stopped. In other words, the control result is fed back, it is confirmed that the target control has been executed, and the next control is performed.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

しかしながら、上述した電子回路診断方法は、被制御
物に供給される制御信号の帰還信号と出力制御信号との
比較において診断を行うものであることから、同種の制
御信号が供給されている信号線が平行な部分の隣接線間
の診断を行うことが出来ず、これに伴って確実な診断方
法とは言えなかった。
However, since the above-described electronic circuit diagnosis method diagnoses by comparing the feedback signal of the control signal supplied to the controlled object and the output control signal, the signal line to which the same type of control signal is supplied is used. Since it was not possible to make a diagnosis between adjacent lines in the parallel part, it could not be said to be a reliable diagnosis method.

従って、本発明は上記問題点を解決するためになされ
たもので、完全な診断が行える電子回路診断方法を提供
することである。
Therefore, the present invention has been made to solve the above problems, and it is an object of the present invention to provide an electronic circuit diagnosis method capable of performing a complete diagnosis.

〔問題点を解決するための手段〕 本発明による電子回路診断方法は、診断モードにおい
て各出力ポートから、隣接するラインに流れる信号が互
いに異なる種別となるパターンを有する診断信号を送出
し、この診断信号の信号線が平行な部分を越えた部分か
らの帰還信号を上記診断信号と比較して診断するもので
ある。
[Means for Solving the Problems] In the electronic circuit diagnosis method according to the present invention, in the diagnosis mode, each output port outputs a diagnosis signal having a pattern in which signals flowing in adjacent lines have different types from each other, and this diagnosis is performed. The feedback signal from the portion where the signal line of the signal exceeds the parallel portion is compared with the diagnostic signal for diagnosis.

〔作用〕[Action]

このような診断方法を用いた場合には、隣接ラインに
異なる種別の診断信号が流されることから、端子間およ
びライン間にショートが発生すると、必ず一方のライン
信号がショートによる影響を受けて変化し、またライン
に断線が生ずるとそのラインを流れる信号が変化するこ
とから、常に完全な診断が行えることになる。
When such a diagnostic method is used, different types of diagnostic signals are sent to adjacent lines, so if a short circuit occurs between terminals or between lines, one line signal will always be affected by the short circuit and change. However, if a line is broken, the signal flowing through that line changes, so that a complete diagnosis can always be performed.

〔実施例〕〔Example〕

第1図は、本発明による電子回路診断方法の一実施例
を説明するための回路図であって、第2図と同一部分は
同信号を用いてその詳細説明を省略してある。同図にお
いて、8は演算制御部1の制御ポートEから、診断モー
ド時に出力されるセレクト信号によって切り替えられる
セレクタであって、ポートAはデータバスライン9を介
して演算制御部1の入出力ポートIO0〜IO7に接続され、
ポートBは出力バスライン3のうち信号線が平行な部分
を越えた部分に接続され、ポートCはデータバスライン
10に接続されている。そして、ポートAは通常ポートB
を選択している。
FIG. 1 is a circuit diagram for explaining an embodiment of an electronic circuit diagnosing method according to the present invention, and the same portions as those in FIG. 2 use the same signals and detailed description thereof is omitted. In the figure, reference numeral 8 denotes a selector that is switched by a select signal output from the control port E of the arithmetic control unit 1 in the diagnostic mode, and port A is an input / output port of the arithmetic control unit 1 via the data bus line 9. Connected to IO 0- IO 7 ,
Port B is connected to a portion of the output bus line 3 that exceeds the portion where the signal lines are parallel, and port C is a data bus line.
Connected to 10. And port A is normal port B
Is selected.

このように構成された回路において、演算制御部1は
実処理に入る前に診断モードを実行する。この診断モー
ドにおいては、出力ポートP0〜P7から、隣接するライン
に流れる信号が互いに異なる種別の信号となる診断信号
を発生して出力バスライン3に供給する。ここで、上記
診断信号としては、例えば“01010101"からなる8ビッ
トの信号が用いられる。また、演算制御部1は、診断モ
ード時に制御ポートEからセレクト信号を発生してセレ
クタ8の制御入力端SEに供給することから、このセレク
タ8は入力ポートAの接続をポートCからポートBに切
り替えている。従って、この状態においては、出力バス
ライン3に供給された診断信号は、信号線が平行な部分
31を越えた部分から、セレクタ8およびデータバスライ
ン9を介して演算制御部1の入出力ポートIO0〜IO7に帰
還されることになる。演算制御部1は、出力ポートP0
P7から送出した診断信号と入出力ポートIO0〜IO7に帰還
されて来る信号とを比較し、両者が完全一致ならば故障
個所無しとして実処理に移行する。また、上記比較にお
いてその一部に不一致個所が生じた場合には、この不一
致に対応する信号ラインの断線あるいは隣接する信号ラ
インとのショート事故の発生と判断し、オペレータに異
常個所の検出を報知するとともに、次の実処理への移行
を中止する。
In the circuit thus configured, the arithmetic control unit 1 executes the diagnostic mode before starting the actual processing. In this diagnostic mode, the output ports P 0 to P 7 generate diagnostic signals in which the signals flowing in the adjacent lines are signals of different types and are supplied to the output bus line 3. Here, as the diagnostic signal, for example, an 8-bit signal composed of "01010101" is used. Further, since the arithmetic control unit 1 generates a select signal from the control port E and supplies it to the control input terminal SE of the selector 8 in the diagnostic mode, the selector 8 changes the connection of the input port A from the port C to the port B. Are switching. Therefore, in this state, the diagnostic signal supplied to the output bus line 3 is a portion where the signal lines are parallel.
The portion beyond 31 is fed back to the input / output ports IO 0 to IO 7 of the arithmetic control unit 1 via the selector 8 and the data bus line 9. The arithmetic and control unit 1 has output ports P 0 to
The diagnostic signal sent from P 7 and the signal returned to the input / output ports IO 0 to IO 7 are compared. In addition, in the above comparison, if a part of the mismatch occurs, it is judged that the signal line corresponding to this mismatch is broken or a short-circuit accident with the adjacent signal line occurs, and the operator is notified of the detection of the abnormal part. At the same time, the transition to the next actual process is stopped.

この場合、上記出力バスライン3に供給する診断信号
は、上述したように隣接するラインに流れる信号の種別
(パターン)が互いに異なるように設定されていること
から、端子間あるいはライン間が隣接する部分との間に
おいてショートすると、“0"信号となっているラインに
隣接するラインに流れている“1"信号が流れ込むことか
ら、このショートした部分のライン2本に流れる信号が
共に“1"となる。また、“1"信号が供給されるラインが
断線している場合には、その帰還信号が“0"に変化する
ことから判別が行える。ただし、“0"信号が供給されて
いるラインが断線している場合には、帰還信号も“0"と
なって判別が行えなくなるが、この場合には診断信号の
パターンを“01010101"から“10101010"に反転して再び
診断することによりかかる問題は解決される。
In this case, since the diagnostic signals supplied to the output bus line 3 are set so that the types (patterns) of the signals flowing in the adjacent lines are different from each other as described above, the terminals or the lines are adjacent to each other. If a short circuit is made between the two parts, the "1" signal flowing in the line adjacent to the line that is the "0" signal flows in, so the signals flowing in the two lines in this shorted part are both "1". Becomes When the line to which the "1" signal is supplied is broken, the feedback signal changes to "0", which enables determination. However, if the line to which the "0" signal is supplied is broken, the feedback signal will also be "0" and it will not be possible to make a determination. In this case, the diagnostic signal pattern changes from "01010101" to " The problem is solved by reversing to 101010 "and diagnosing again.

なお、診断モードにおいて、出力ポートP0〜P7に供給
される診断信号は、出力バスライン3を介して被制御回
路へ供給されることから、診断モード時には被制御回路
が動作しないように対処する必要が生ずることは言うま
でもない。
In the diagnostic mode, the diagnostic signals supplied to the output ports P 0 to P 7 are supplied to the controlled circuit via the output bus line 3, so the controlled circuit should be prevented from operating in the diagnostic mode. Needless to say, there is a need to do so.

〔発明の効果〕 以上説明したように、本発明による電子回路診断方法
は、演算制御部の診断モード時に、多数並設された制御
端から出力バスラインに対して、隣接するラインに流れ
る信号の種別が互いに異なるように設定された診断信号
を供給し、信号線が平行な部分を越えた部分における前
記診断信号を前記演算制御部に帰還させることにより、
送出診断信号と帰還診断信号の一致時にのみ正常と判断
するものである。このために、隣接ライン間がショート
すると、この両ラインの片方を流れる信号が他方を流れ
る信号の影響を受けて必ず変化する。また、ラインの断
線は帰還信号の断となって必ず表われることから、確実
な診断が行える優れた効果を有する。
[Effects of the Invention] As described above, the electronic circuit diagnosis method according to the present invention, in the diagnosis mode of the arithmetic control unit, detects the signals flowing from the control terminals arranged in parallel to the output bus line to the adjacent line. By supplying a diagnostic signal set so that the types are different from each other, by feeding back the diagnostic signal in the portion where the signal line exceeds the parallel portion to the arithmetic control unit,
It is judged to be normal only when the sent diagnostic signal and the feedback diagnostic signal match. Therefore, when the adjacent lines are short-circuited, the signal flowing through one of the two lines is affected by the signal flowing through the other line and changes without fail. In addition, since the disconnection of the line always appears as the disconnection of the feedback signal, it has an excellent effect that a reliable diagnosis can be performed.

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

第1図は本発明による電子回路診断方法の一実施例を説
明するための回路図、第2図は従来の電子回路診断方法
を説明するための回路図である。 1…演算制御部、3…出力バスライン、8…セレクタ、
9,10…データバスライン。
FIG. 1 is a circuit diagram for explaining an embodiment of an electronic circuit diagnosing method according to the present invention, and FIG. 2 is a circuit diagram for explaining a conventional electronic circuit diagnosing method. 1 ... Arithmetic control unit, 3 ... Output bus line, 8 ... Selector,
9,10… Data bus lines.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】外部から供給される信号を演算し、この演
算結果に応じた制御信号を複数の出力端から出力バスラ
インを介して被制御物に供給することにより制御する演
算制御部を有する電子回路において、前記演算制御部の
実処理に入る前の診断モード時に前記複数の出力端から
隣接するラインに互いに異なる種別の信号が流れるよう
にした診断信号を前記出力バスラインに供給するととも
に、信号線が平行な部分を越えた部分における前記診断
信号を前記演算制御部に帰還させることにより、前記診
断信号と前記帰還診断信号との一致時にのみ正常と判断
して実処理に移行することを特徴とする電子回路診断方
法。
1. An arithmetic control unit for arithmetically controlling a signal supplied from the outside, and controlling by supplying a control signal according to the arithmetic result from a plurality of output terminals to an object to be controlled via an output bus line. In the electronic circuit, in the diagnostic mode before entering the actual processing of the arithmetic and control unit, while supplying a diagnostic signal to the output bus line from the plurality of output terminals to the adjacent line to the signals of different types to flow, By returning the diagnostic signal in the portion where the signal line exceeds the parallel portion to the arithmetic control unit, it is possible to judge that it is normal only when the diagnostic signal and the feedback diagnostic signal match and shift to actual processing. A characteristic electronic circuit diagnosis method.
【請求項2】診断信号のパターンを反転して2度の診断
を行い、この両診断結果が共に正常の時のみ完全正常と
判断することを特徴とする特許請求の範囲第1項記載の
電子回路診断方法。
2. The electronic device according to claim 1, wherein the pattern of the diagnostic signal is inverted to make two diagnoses, and only when both of the diagnostic results are normal, it is judged to be completely normal. Circuit diagnosis method.
JP61180656A 1986-07-31 1986-07-31 Electronic circuit diagnosis method Expired - Lifetime JPH083513B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61180656A JPH083513B2 (en) 1986-07-31 1986-07-31 Electronic circuit diagnosis method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61180656A JPH083513B2 (en) 1986-07-31 1986-07-31 Electronic circuit diagnosis method

Publications (2)

Publication Number Publication Date
JPS6337271A JPS6337271A (en) 1988-02-17
JPH083513B2 true JPH083513B2 (en) 1996-01-17

Family

ID=16087014

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61180656A Expired - Lifetime JPH083513B2 (en) 1986-07-31 1986-07-31 Electronic circuit diagnosis method

Country Status (1)

Country Link
JP (1) JPH083513B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5361755B2 (en) * 2010-01-29 2013-12-04 富士通テン株式会社 Vehicle control device
JP2013137201A (en) * 2011-12-28 2013-07-11 Noritz Corp Signal detection circuit and heating device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5732782B2 (en) 2010-08-31 2015-06-10 トヨタ自動車株式会社 Vehicle control device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5732782B2 (en) 2010-08-31 2015-06-10 トヨタ自動車株式会社 Vehicle control device

Also Published As

Publication number Publication date
JPS6337271A (en) 1988-02-17

Similar Documents

Publication Publication Date Title
US4500951A (en) Plant control system
US5672917A (en) Semiconductor power switch system
US11336281B2 (en) Output module for industrial control system
US5357491A (en) Clock selection control device
JPH04114221A (en) Abnormality detecting method for key switch input part in computer
JPH083513B2 (en) Electronic circuit diagnosis method
JPH0370837A (en) Electronic controller of internal-combustion engine
JPS61180330A (en) Alu system
EP4206697A1 (en) Self-locking and detection circuit and apparatus, and control method
JPH0317923A (en) Diagnostic system for driving circuit
US4309768A (en) Mismatch detection circuit for duplicated logic units
JP4103145B2 (en) Input module
JP4415384B2 (en) DIGITAL OUTPUT DEVICE AND DIAGNOSIS METHOD USING DIGITAL OUTPUT DEVICE
JP3358089B2 (en) Photoelectric switch
JPH01199213A (en) Method for diagnosing trouble of output system of sequencer
JP2007083887A (en) Motor drive circuit
KR100278703B1 (en) Device access bus redundancy control circuit at exchange
KR200275119Y1 (en) Ethernet using double line
EP0618679A1 (en) High reliable integrated circuit structure for MOS power devices
JPS61249147A (en) Custom IC
JPS62278601A (en) Logical control unit
JP3802895B2 (en) Parallel output type electronic interlocking device with a fail-safe majority logic circuit
JPH0469759A (en) Bypass control system for device selecting signal
KR100648371B1 (en) Step motor control circuit for solenoid driving in vehicle suspension system
JPS60245053A (en) Diagnostic system for logical circuit