JPH05327784A - Integrated circuit for bus interface - Google Patents

Integrated circuit for bus interface

Info

Publication number
JPH05327784A
JPH05327784A JP15277592A JP15277592A JPH05327784A JP H05327784 A JPH05327784 A JP H05327784A JP 15277592 A JP15277592 A JP 15277592A JP 15277592 A JP15277592 A JP 15277592A JP H05327784 A JPH05327784 A JP H05327784A
Authority
JP
Japan
Prior art keywords
circuit
terminal
potential
voltage
bus
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
JP15277592A
Other languages
Japanese (ja)
Inventor
Yoichi Akashi
洋一 明石
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP15277592A priority Critical patent/JPH05327784A/en
Publication of JPH05327784A publication Critical patent/JPH05327784A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

PURPOSE:To improve the communication quality and to facilitate the maintenance by detecting an abnormal state of a communication path by a result of decision of potential of a low potential side and a high potential side of a twist pair cable. CONSTITUTION:A voltage between terminals A, B, a voltage between a reference voltage ref2 in the vicinity of a ground potential and the terminal B, and a voltage between a voltage ref3 in the vicinity of a power supply voltage and the terminal A are detected by comparators 11, 12 and 13, respectively, and in a logic synthesizing circuit 14, logic of a signal of a bus is decided from three outputs. In a fault diagnostic circuit 16, based thereon, an abnormal state of a communication path is detected and diagnosed and in accordance with a result of diagnosis, an output circuit is adjusted so that the potential of the communication path becomes normal. In such a way, by providing a fault diagnostic function in a bus interface circuit, the communication quality is improved, and the maintenance can be facilitated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、シリアル・インターフ
ェース用集積回路に関し、特にシリアル・インターフェ
ースの通信経路の故障診断機能に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an integrated circuit for a serial interface, and more particularly to a failure diagnosis function of a communication path of a serial interface.

【0002】[0002]

【従来の技術】従来のバス・インターフェース用集積回
路は、ツイスト・ペア・ケーブル相互の電位差の大小で
論理レベルを判定していた。このようなシリアル・バス
・システムでは、通信品質を確保するため、ハード的,
ソフト的に仕様が定められている。
2. Description of the Related Art In a conventional integrated circuit for a bus interface, the logic level is determined by the magnitude of the potential difference between twisted pair cables. In such a serial bus system, in order to secure communication quality,
Specifications are defined in software.

【0003】ソフト的には誤り訂正符号や、アクノリッ
ジの応答が、ハード的には終端抵抗のオープン不良ユニ
ットの接続でも、誤動作しないことが要求される。
In terms of software, it is required that the error correction code and acknowledge response do not malfunction from the viewpoint of hardware, even if a defective open terminal unit is connected.

【0004】これは、不具合発生の場合、通信経路の問
題抽出や不良ユニットの特定には、実際に通信を行いな
がら、ツイスト・ペア・ケーブルの電位を観測しなけれ
ばならず、非常に困難である。
[0004] This is extremely difficult when a failure occurs, in order to extract the problem of the communication path and to identify the defective unit, it is necessary to observe the potential of the twisted pair cable while actually communicating. is there.

【0005】[0005]

【発明が解決しようとする課題】この従来のバス・イン
ターフェース用集積回路では、通信が正常に行われた場
合、通信時のS/N比の悪化や、通信経路のどの部分に
不具合があるのかを知ることができない。また、通信が
異常となった場合、不具合の解析が困難であるという問
題があった。
In this conventional integrated circuit for a bus interface, when the communication is normally performed, the S / N ratio at the time of communication is deteriorated and which part of the communication path is defective. Can't know. In addition, there is a problem that it is difficult to analyze the failure when the communication becomes abnormal.

【0006】本発明の目的は、通信品質の向上及び維持
を容易にするバス・インターフェース用集積回路を提供
することにある。
An object of the present invention is to provide an integrated circuit for a bus interface that facilitates improvement and maintenance of communication quality.

【0007】[0007]

【課題を解決するための手段】前記目的を達成するた
め、本発明に係るバス・インターフェース用集積回路
は、両端を抵抗で終端した2線式・ケーブルを通信経路
とするシリアル・バス・システムのインターフェース用
集積回路において、2線式・ケーブルに接続される第
1,第2の端子を入力とする第1のコンパレータと、接
地電位近傍の基準電圧と第2の端子を入力とする第2の
コンパレータと、電源電圧近傍の基準電圧と第1の端子
を入力とする第3のコンパレータと、前記3つのコンパ
レータの出力からバスの信号を判定する論理合成回路
と、バスの信号を受信する受信回路と、3つのコンパレ
ータの出力から通信経路の異常を検出する故障診断回路
とを有するものである。
In order to achieve the above object, an integrated circuit for a bus interface according to the present invention is a serial bus system which uses a two-wire cable whose both ends are terminated by resistors as a communication path. In the integrated circuit for interface, a first comparator which receives the first and second terminals connected to the two-wire type cable and a second comparator which receives the reference voltage near the ground potential and the second terminal as an input A comparator, a third comparator that receives a reference voltage near the power supply voltage and the first terminal as inputs, a logic synthesis circuit that determines a bus signal from the outputs of the three comparators, and a receiving circuit that receives the bus signal. And a failure diagnosis circuit that detects an abnormality in the communication path from the outputs of the three comparators.

【0008】また、通信異常を検出した場合に、バスの
電位が正常な値となるように出力回路を調整するもので
ある。
Further, when a communication abnormality is detected, the output circuit is adjusted so that the bus potential becomes a normal value.

【0009】[0009]

【作用】ツイスト・ペア・ケーブルの低電位側(B端
子)の電位を判定し、かつ高電位側(A端子)の電位を
判定し、前記判定結果から通信経路の異常を検出する。
The potential of the low potential side (B terminal) and the potential of the high potential side (A terminal) of the twisted pair cable are determined, and the abnormality of the communication path is detected from the determination result.

【0010】[0010]

【実施例】次に本発明について図面を参照して説明す
る。図1は、本発明の一実施例を示すブロック図であ
る。
The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention.

【0011】図において、2本の終端抵抗RA1,RA2
介してVDDに接続する第一の導線Aと、2本の終端抵抗
B1,RB2を接地した第二の導線Bで構成されるツイス
ト・ペア・ケーブルに、本発明のバス・インターフェー
ス用集積回路1を接続する。
In the figure, a first conducting wire A connected to V DD via two terminating resistors R A1 and R A2 and a second conducting wire B grounding the two terminating resistors R B1 and R B2. The integrated circuit 1 for bus interface of the present invention is connected to the twisted pair cable thus constructed.

【0012】本発明は、ツイスト・ペア・ケーブルに接
続される2つの端子A,Bを入力とする第一のコンパレ
ータ11と、接地電位近傍の基準電位ref2と端子B
を入力とする第2のコンパレータ12と、電源電圧VDD
近傍の基準電圧ref3と端子Aを入力とする第3のコ
ンパーレータ13と、該3つのコンパレータ11,1
2,13の出力を入力し、バスの信号の論理を判定する
論理合成回路14と、バスの信号からデータを分離し、
内部ロジックへ出力する受信回路15と、3つのコンパ
レータの出力を入力し、その組合せから通信経路の異常
を検出する故障診断回路16とを備えている。
According to the present invention, a first comparator 11 having two terminals A and B connected to a twisted pair cable as inputs, a reference potential ref2 near the ground potential, and a terminal B are provided.
To the second comparator 12 that receives
A third comparator 13 that receives the reference voltage ref3 and the terminal A in the vicinity, and the three comparators 11 and 1
Inputting the outputs of 2 and 13, a logic synthesizing circuit 14 for determining the logic of the bus signal, and separating the data from the bus signal,
It is provided with a receiving circuit 15 for outputting to an internal logic, and a failure diagnosing circuit 16 for inputting outputs of three comparators and detecting an abnormality of a communication path from a combination thereof.

【0013】尚、図1は、入力回路のみを記載してお
り、同一半導体基板上に集積され、端子A,Bに接続す
る出力回路は省略している。
It should be noted that FIG. 1 shows only an input circuit, and an output circuit integrated on the same semiconductor substrate and connected to terminals A and B is omitted.

【0014】今、端子A,B間の電位差が1V未満のと
き、論理レベルHと定義すると、コンパーレータ11は
端子Bを接続する非反転入力側に−1Vのオフセットを
与えれば良い。
Now, when the potential difference between the terminals A and B is less than 1 V, defining the logic level as H, the comparator 11 should give an offset of -1 V to the non-inverting input side connecting the terminal B.

【0015】また、コンパレータ12の反転入力側のr
ef2を0.5Vとすると、端子Bの電位は1/2VDD
−0.5V以上であるから、コンパレータ12の出力は
Hとなる。
Further, r on the inverting input side of the comparator 12
If ef2 is 0.5V, the potential of terminal B is 1 / 2V DD
Since it is −0.5 V or more, the output of the comparator 12 becomes H.

【0016】コンパレータ13の非反転入力側のref
3をVDD−0.5Vとすると、端子Aの電位は、1/2
DD+0.5V未満であるから、コンパレータ13の出
力はHとなる。従って、3つのコンパレータ11,1
2,13の出力は全てHとなる。
Ref on the non-inverting input side of the comparator 13
3 is V DD -0.5V, the potential of terminal A is 1/2
Since it is less than V DD +0.5 V, the output of the comparator 13 becomes H. Therefore, the three comparators 11, 1
The outputs of 2 and 13 are all H.

【0017】一方の通信経路の内、VDDに一端が接続さ
れた終端抵抗RA1がショートし、端子AがVDDとショー
トという不具合を想定すると、コンパレータ13の出力
はLとなる。さらに端子A,B間の電位差が1V以上と
なりコンパレータ11の出力もLとなる。
Assuming that the terminating resistor R A1 of which one end is connected to V DD in one of the communication paths is short-circuited and the terminal A is short-circuited to V DD , the output of the comparator 13 becomes L. Further, the potential difference between the terminals A and B becomes 1 V or more, and the output of the comparator 11 also becomes L.

【0018】論理合成回路14は、この不具合の場合、
受信回路15へはHを出力し、故障診断回路16は、シ
ョート不良と判定する。
In the case of this malfunction, the logic synthesis circuit 14
H is output to the receiving circuit 15, and the failure diagnosis circuit 16 determines that there is a short circuit failure.

【0019】他方の通信経路のGNDショート不良も同
様に判定できる。
A GND short-circuit defect on the other communication path can be similarly determined.

【0020】前述の例ではショート不良の検出のみであ
ったが、オープン不良検出の例を以下に示す。
In the above-mentioned example, only the short-circuit defect was detected, but an example of open defect detection will be shown below.

【0021】ref2=0.5V,ref3=VDD
0.5Vの時のコンパレータ11〜13の出力は、端子
Aがオープンであっても、全てHとなり、正常時と区別
できない。従って、ref2=1/2VDD+0.5V,
ref3=1/2VDD−0.5Vに変更すると、コンパ
レータ11,12,13の出力は、正常時がH,L,L
であるのに対し、端子AがオープンのときはH,L,H
となる。
Ref2 = 0.5 V, ref3 = V DD
The outputs of the comparators 11 to 13 when the voltage is 0.5 V are all H even when the terminal A is open, and cannot be distinguished from those in the normal state. Therefore, ref2 = 1 / 2V DD + 0.5V,
When changing to ref3 = 1 / 2V DD −0.5V, the outputs of the comparators 11, 12, and 13 are H, L, and L at the normal time.
On the other hand, when terminal A is open, H, L, H
Becomes

【0022】従って図2に示すフローに従い、論理合成
回路14は、データL又はHを受信回路15へ出力し、
故障診断回路16は、オープン又はショート不良を判定
する。
Therefore, according to the flow shown in FIG. 2, the logic synthesis circuit 14 outputs the data L or H to the reception circuit 15,
The failure diagnosis circuit 16 determines an open or short defect.

【0023】これにより、通信経路の異常を検出した場
合、自分の出力した信号である場合、かつ、終端抵抗の
一本がオープンとなる不良であれば、出力電流を減ら
し、通信経路の電位を正常な値となるように出力回路を
調整することができる。
Thus, when the abnormality of the communication path is detected, when it is the signal output by itself, and when there is a defect that one of the terminating resistors is open, the output current is reduced and the potential of the communication path is reduced. The output circuit can be adjusted to have a normal value.

【0024】尚、端子AとGND、端子BとVDDのシ
ョート不良に関しては、常にデータHと判定されるた
め、自己の出力との不一致により検出する。
A short circuit defect between the terminals A and GND and between the terminals B and VDD is always judged as the data H, and therefore is detected by a mismatch with its own output.

【0025】[0025]

【発明の効果】以上説明したように本発明は、バス・イ
ンターフェース回路に故障診断機能を具備したので、通
信品質の向上及び維持を容易にできるという効果を有す
る。
As described above, the present invention has the effect that the communication quality can be easily improved and maintained because the bus interface circuit has the failure diagnosis function.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】動作フローである。FIG. 2 is an operation flow.

【符号の説明】[Explanation of symbols]

1 インターフェースIC 11,12,13 コンパレータ 14 論理合成回路 15 受信回路 16 故障診断回路 RA1,RA2,RB1,RB2 抵抗1 Interface IC 11, 12, 13 Comparator 14 Logic Synthesis Circuit 15 Reception Circuit 16 Fault Diagnosis Circuit R A1 , R A2 , R B1 , R B2 Resistance

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 両端を抵抗で終端した2線式・ケーブル
を通信経路とするシリアル・バス・システムのインター
フェース用集積回路において、 2線式・ケーブルに接続される第1,第2の端子を入力
とする第1のコンパレータと、 接地電位近傍の基準電圧と第2の端子を入力とする第2
のコンパレータと、 電源電圧近傍の基準電圧と第1の端子を入力とする第3
のコンパレータと、 前記3つのコンパレータの出力からバスの信号を判定す
る論理合成回路と、 バスの信号を受信する受信回路と、 3つのコンパレータの出力から通信経路の異常を検出す
る故障診断回路とを有することを特徴とするバス・イン
ターフェース用集積回路。
1. An integrated circuit for an interface of a serial bus system in which a communication line is a two-wire type cable whose both ends are terminated with resistors, and first and second terminals connected to the two-wire type cable are provided. A first comparator that receives the input and a second comparator that receives the reference voltage near the ground potential and the second terminal
Comparator, and a third terminal that receives the reference voltage near the power supply voltage and the first terminal as input
, A logic synthesizing circuit that determines a bus signal from the outputs of the three comparators, a receiving circuit that receives the bus signal, and a failure diagnosis circuit that detects an abnormality of the communication path from the outputs of the three comparators. An integrated circuit for a bus interface characterized by having.
【請求項2】 通信異常を検出した場合に、バスの電位
が正常な値となるように出力回路を調整することを特徴
とする請求項1に記載のバス・インターフェース用集積
回路。
2. The integrated circuit for a bus interface according to claim 1, wherein the output circuit is adjusted so that the potential of the bus becomes a normal value when a communication abnormality is detected.
JP15277592A 1992-05-20 1992-05-20 Integrated circuit for bus interface Pending JPH05327784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15277592A JPH05327784A (en) 1992-05-20 1992-05-20 Integrated circuit for bus interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15277592A JPH05327784A (en) 1992-05-20 1992-05-20 Integrated circuit for bus interface

Publications (1)

Publication Number Publication Date
JPH05327784A true JPH05327784A (en) 1993-12-10

Family

ID=15547879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15277592A Pending JPH05327784A (en) 1992-05-20 1992-05-20 Integrated circuit for bus interface

Country Status (1)

Country Link
JP (1) JPH05327784A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010021842A (en) * 2008-07-11 2010-01-28 Sii Data Service Kk Wireless communication system and wireless module fault diagnostic method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010021842A (en) * 2008-07-11 2010-01-28 Sii Data Service Kk Wireless communication system and wireless module fault diagnostic method

Similar Documents

Publication Publication Date Title
US8294474B2 (en) Device for sensing a fault current in a field bus system
US20040158781A1 (en) Method for determining line faults in a bus system and bus system
JP2018503288A5 (en)
JPH07333270A (en) Lan cable identification device for lan cable test
US5416470A (en) Contact judging circuit and contact judging method for impedance measuring apparatus
JP2004157024A (en) Temperature detection device
CN113167822A (en) Automatic detection device for connection between electronic devices
EP3657187B1 (en) Fault detection in a low voltage differential signaling (lvds) system
US7137061B2 (en) Method and device for signaling a transmission fault on a data line
JPH05327784A (en) Integrated circuit for bus interface
JPH11108980A (en) Inspection method and circuit device for trouble in 2-wire bus system
US20200341075A1 (en) Semiconductor device
US9841798B2 (en) Battery, battery controller, and method for the secured digital transmission of current measurement values
JP2000501268A (en) Inspection method and apparatus for grounding parts of a networked system
US7456635B2 (en) Circuit arrangement comprising a multi-wire line for supplying current and emitting signals
JP2000088893A (en) Voltage comparator
TWI598600B (en) Method for performing cable diagnostics in a network system, and associated apparatus
JPH05191317A (en) Differential signal transmission circuit
US7119529B2 (en) Circuit arrangement with a resistor voltage divider chain
US6559682B1 (en) Dual-mixer loss of signal detection circuit
US20230288495A1 (en) Cable fault detection
JP2000088907A (en) Load diagnosing circuit
JP2002510903A (en) Final stage of signal generation for generating digital voltage signal in bus system
JP2000066990A (en) Connection recognition event circuit
JP2007104482A (en) Signal transmission circuit