JPH01120141A - Control unit communication line abnormality detection device - Google Patents
Control unit communication line abnormality detection deviceInfo
- Publication number
- JPH01120141A JPH01120141A JP62277269A JP27726987A JPH01120141A JP H01120141 A JPH01120141 A JP H01120141A JP 62277269 A JP62277269 A JP 62277269A JP 27726987 A JP27726987 A JP 27726987A JP H01120141 A JPH01120141 A JP H01120141A
- Authority
- JP
- Japan
- Prior art keywords
- control unit
- signals
- communication line
- detection device
- abnormality detection
- 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
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〈産業上の利用分野〉
本発明は、パラレルインターフェース方式のコントロー
ルユニット間通信構造における通信線の異常検出装置に
関する。DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a communication line abnormality detection device in a parallel interface type control unit communication structure.
〈従来の技術〉
近年、マイクロコンピュータを用いた自動車用制御装置
が多く使用されるようになってきた。<Prior Art> In recent years, many automobile control devices using microcomputers have come into use.
かかる制御装置のコントロールユニット間の通信構造と
して、第2図に示すように、送信側コントロールユニッ
ト1からディジタル信号をパラレル(並列)に受信側コ
ントロールユニット2に伝送するパラレルインターフェ
ース方式の通信構造がある。As shown in FIG. 2, as a communication structure between control units of such a control device, there is a parallel interface type communication structure in which digital signals are transmitted in parallel from a transmitting side control unit 1 to a receiving side control unit 2. .
〈発明が解決しようとする問題点〉
しかしながら、このようなパラレルインターフェース方
式の通信構造においては、一方向のみの通信の場合、送
信された信号と受信された信号とが一致しているか否か
の判断が不可能であり、通信線のショートや断線等の異
常が生じていた場合、送信された信号と受信された信号
とが相違し、正確な制御を行うことができず、信頼性に
欠けるものであった。<Problems to be Solved by the Invention> However, in such a parallel interface type communication structure, in the case of communication in only one direction, it is difficult to determine whether the transmitted signal and the received signal match. If it is impossible to judge, and there is an abnormality such as a short or disconnection in the communication line, the transmitted signal and the received signal will differ, making it impossible to perform accurate control and lacking reliability. It was something.
そこで、本発明は以上のような従来の実情に鑑み、送信
された信号と受信された信号とが一致しているか否かの
判断を容易に行って、信頼性の向上を図ったコントロー
ルユニット通信線の異常検出装置を提供することを目的
とする。In view of the above-mentioned conventional circumstances, the present invention provides a control unit communication system that improves reliability by easily determining whether or not a transmitted signal and a received signal match. The purpose of the present invention is to provide a line abnormality detection device.
く問題点を解決するための手段〉
このため、本発明は、第1図に示すように、パラレルイ
ンターフェース方式のコントロールユニット間通信構造
において、送信側コントロールユニットから通信線全て
Highの信号と全てLowの信号とを交互に受信側コ
ントロールユニットに出力する手段と、前記全てHig
h信号及び全てLo−信号夫々の回数をカウントする手
段と、該カウント回数に基づいて通信線の異常を判定す
る手段と、を設けた構成とする。Means for Solving Problems> Therefore, as shown in FIG. 1, in the communication structure between control units of the parallel interface type, the present invention has the following advantages: means for alternately outputting the signals to the receiving side control unit;
The configuration includes means for counting the number of times of the h signal and all Lo- signals, and means for determining whether there is an abnormality in the communication line based on the counted number of times.
(作用〉
そして、かかる構成では、通信線全てHighの信号と
全てLowの信号とを交互に受信側コントロールユニッ
トに出力し、この受信側コントロールユニットで両信号
を夫々所定回数以上受信した時に異常なしと判定される
が、所定回数以上受信されないと異常有りと判定される
。(Function) In this configuration, a signal in which all the communication lines are all High and a signal where all are Low are alternately output to the receiving control unit, and when the receiving control unit receives both signals a predetermined number of times or more, there is no abnormality. However, if it is not received a predetermined number of times or more, it is determined that there is an abnormality.
〈実施例〉 以下、本発明の一実施例を図面に基づいて説明する。<Example> Hereinafter, one embodiment of the present invention will be described based on the drawings.
本発明においては、パラレルインターフェース方式のコ
ントロールユニット間通信構造において、第2図に示す
ように、送信側コントロールユニットlから通信線A、
B、C全てHighの信号と金てLowの信号とを交互
に受信側コントロールユニット2に出力する手段と、前
記全てHigh信号及び全てLo−信号夫々の回数をカ
ウントする手段と、該カウント回数に基づいて通信線の
異常を判定する手段と、が設けられている。In the present invention, in the parallel interface type inter-control unit communication structure, as shown in FIG.
B, C: means for alternately outputting all High signals and all Low signals to the receiving side control unit 2; means for counting the respective number of times of the all High signals and all Lo- signals; and means for determining an abnormality in the communication line based on the communication line.
即ち、送信側コントロールユニット1から通信線A、B
、Cには、第3図に示すように、制御信号に混じって全
てHighの信号と全てLO−の信号とが交互に出力さ
れる。That is, communication lines A and B are connected from the transmitter control unit 1 to
, C, as shown in FIG. 3, all High signals and all LO- signals are alternately outputted together with the control signals.
受信側コントロールユニット2に備えられた前記カウン
ト手段と判定手段は、次のフローチャートに示すように
作用する。The counting means and determining means provided in the receiving side control unit 2 operate as shown in the following flowchart.
第4図の一定時間毎(例えば10m5毎)に実行される
カウントルーチンにおいて、Sl及びS2では、全てH
ighの信号、全てLowの信号か否かを夫々判定し、
そうであればS3及び4に進んで前回のカウント数に1
回を加えて次々に加算していく。In the counting routine that is executed at regular intervals (for example, every 10 m5) in Fig. 4, all H
Determine whether the signal is high and all the signals are low, respectively.
If so, proceed to S3 and 4 and add 1 to the previous count number.
Add times and add them one after another.
第5図の一定時間を毎に実行される判定ルーチンにおい
て、まずSlにおいて、フラグFが1にセットされてい
るか否かを判定する。このフラグFはコントロールユニ
ットへの電源投入時に予め0に初期セットされている。In the determination routine shown in FIG. 5 that is executed at regular intervals, it is first determined in Sl whether flag F is set to 1 or not. This flag F is initially set to 0 in advance when power is turned on to the control unit.
従って、最初の段階では、Slの後に82が実行される
。このS2では、Lghカウンタのカウント数が予め定
められた第6図に示すようにOKレベルに達しているか
否かを判定し、達していればOKで33に進み、今度は
Lo−カウンタのカウント数がやはり予め定められた第
6図に示すようにOKレベルに達しているか否かを判定
し、達していればOKで34に進み、Lghカウンタの
カウント数及びLowカウンタのカウント数が共にOK
レベルに達しているということで正常の判定がなされる
。一方、S2,33でOKレベルに達していなければ、
S5に進んでフラグFを1にセットし、Highカウン
タのカウント数及びLo−カウンタのカウント数の少な
くとも一方がOKレベルに達していなければ(第6図参
照)、S6で異常の判定がなされる。そして、S5にお
いて、フラグFが1にセットされると、SlのフラグF
が1にセットされているか否かの判定後、32〜S6を
越えた処理が行われる。Therefore, in the first stage, 82 is executed after Sl. In this S2, it is determined whether the count number of the Lgh counter has reached a predetermined OK level as shown in FIG. It is determined whether or not the number has reached the predetermined OK level as shown in FIG.
If the level has been reached, it is determined to be normal. On the other hand, if the OK level has not been reached in S2 and 33,
Proceeding to S5, flag F is set to 1, and if at least one of the count number of the High counter and the count number of the Lo-counter has not reached the OK level (see Figure 6), an abnormality is determined in S6. . Then, in S5, when flag F is set to 1, flag F of Sl
After determining whether or not is set to 1, processing beyond S32 to S6 is performed.
以上のように、全てHigh、全Lo−が一定時間毎に
所定回数以上受信されないと、異常と判定することによ
り、通信線のショートや断線等の異常が生じていること
を容易に判定することができ、送信された信号が受信さ
れた信号とが相違することを未然に防止でき、正確な制
御を行うことができ、信頼性に向上を図れる。As described above, if all High and all Lo- signals are not received for a predetermined number of times or more at regular intervals, it is determined that there is an abnormality, thereby easily determining that an abnormality such as a short or disconnection of the communication line has occurred. It is possible to prevent the transmitted signal from being different from the received signal, to perform accurate control, and to improve reliability.
尚、上記の送信線の異常判定は、時間と頻度が予測でき
るような例えば自動車用制御装置においてオートトラン
スミッション変速時の信号等限られた少ない制御信号の
送信を行うものに適用できるものである。It should be noted that the above transmission line abnormality determination can be applied to, for example, an automobile control device that transmits a limited number of control signals such as a signal during an autotransmission shift, whose time and frequency can be predicted.
又、全てHigh、全Lowの信号を送り、これの回数
を判定基準にするのであるから、制御信号として全てH
igh、全Lowの信号は排除するようにする。Also, all High and all Low signals are sent, and the number of times these signals are sent is used as a criterion, so all High signals are sent as control signals.
High and all Low signals are excluded.
〈発明の効果〉
以上説明したように、本発明によれば、送信側コントロ
ールユニットからディジタル信号をパラレル(並列)に
受信側コントロールユニットに伝送するパラレルインタ
ーフェース方式の通信構造のものにおいて、通信線のシ
ョートや断線等の異常の発生を容易に知ることができ、
送信された信号と受信された信号とが相違して正確な制
御を行うことができないという事態を解消でき、通信の
信頼性を向上できる。<Effects of the Invention> As explained above, according to the present invention, in a parallel interface type communication structure in which digital signals are transmitted from a transmitting side control unit to a receiving side control unit in parallel, the communication line is The occurrence of abnormalities such as short circuits and disconnections can be easily detected.
It is possible to eliminate the situation where accurate control cannot be performed due to a difference between the transmitted signal and the received signal, and the reliability of communication can be improved.
第1図は本発明に係わるコントロールユニット通信線の
異常検出装置の構成を示すブロック図、第2図は同上装
置の一実施例を示す概略構成図、第3図は同上実施例の
作用を説明する通信線の信号線図、第4図及び第5図は
夫々同上実施例の作用を説明するフローチャート、第6
図は通信線の異常、正常のレベルを示す図である。FIG. 1 is a block diagram showing the configuration of a control unit communication line abnormality detection device according to the present invention, FIG. 2 is a schematic configuration diagram showing an embodiment of the same device, and FIG. 3 explains the operation of the same embodiment. FIG. 4 and FIG. 5 are a flowchart explaining the operation of the above embodiment, and FIG.
The figure shows abnormality and normality levels of communication lines.
Claims (1)
間通信構造において、送信側コントロールユニットから
通信線全てHighの信号と全てLowの信号とを交互
に受信側コントロールユニットに出力する手段と、前記
全てHigh信号及び全てLow信号夫々の回数をカウ
ントする手段と、該カウント回数に基づいて通信線の異
常を判定する手段と、を設けたことを特徴とするコント
ロールユニット通信線の異常検出装置。In a parallel interface type inter-control unit communication structure, means for alternately outputting all High signals and all Low signals from the transmitting side control unit to the receiving side control unit, and the all high signals and all low signals respectively. 1. An abnormality detection device for a control unit communication line, comprising: means for counting the number of times, and means for determining an abnormality of the communication line based on the counted number of times.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62277269A JPH01120141A (en) | 1987-11-04 | 1987-11-04 | Control unit communication line abnormality detection device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62277269A JPH01120141A (en) | 1987-11-04 | 1987-11-04 | Control unit communication line abnormality detection device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01120141A true JPH01120141A (en) | 1989-05-12 |
Family
ID=17581169
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62277269A Pending JPH01120141A (en) | 1987-11-04 | 1987-11-04 | Control unit communication line abnormality detection device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01120141A (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6268335A (en) * | 1985-09-20 | 1987-03-28 | Toshiba Corp | Line state measuring system |
-
1987
- 1987-11-04 JP JP62277269A patent/JPH01120141A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6268335A (en) * | 1985-09-20 | 1987-03-28 | Toshiba Corp | Line state measuring system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH01120141A (en) | Control unit communication line abnormality detection device | |
| JPH09292928A (en) | Clock signal source monitoring device | |
| JPS609246A (en) | Monitor system for data circuit network | |
| JPH0685717A (en) | Circuit for detecting discontinuity of balanced transmission line | |
| JPH02122730A (en) | Signal line terminating system | |
| JPS6259435A (en) | Data transfer supervisory equipment | |
| JP3016280B2 (en) | In-device monitoring method | |
| JPS62225048A (en) | Data collection system | |
| JPH10294723A (en) | Multiplex communication system | |
| JPS5926683Y2 (en) | Short circuit detection circuit | |
| JPH04267631A (en) | Parity bit addition system | |
| JPH0817398B2 (en) | Abnormality detection method in data transmission system | |
| JPS62293453A (en) | Multiple bus system data processor | |
| JPH02222342A (en) | Diagnostic device of digital transmission device | |
| JPH02306735A (en) | Data transmission/reception system | |
| JPS5842983B2 (en) | Remote transmission quality measurement method | |
| JPS6189755A (en) | Data processing terminal equipment | |
| JPH02312418A (en) | Communication equipment for vehicle use | |
| JPS58213B2 (en) | Transmission equipment monitoring circuit | |
| JPH0338928A (en) | H/w connection checking system for optical interface cable | |
| JPH0375910B2 (en) | ||
| JPS61108243A (en) | Digital data receiver | |
| JPH066869A (en) | Monitor control communication system | |
| JPH0984156A (en) | Abnormal operation monitoring system | |
| JPH0294722A (en) | Parity monitor system |