JP2009159025A - Communication system - Google Patents

Communication system Download PDF

Info

Publication number
JP2009159025A
JP2009159025A JP2007331936A JP2007331936A JP2009159025A JP 2009159025 A JP2009159025 A JP 2009159025A JP 2007331936 A JP2007331936 A JP 2007331936A JP 2007331936 A JP2007331936 A JP 2007331936A JP 2009159025 A JP2009159025 A JP 2009159025A
Authority
JP
Japan
Prior art keywords
slave
line
communication
master
comparator
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.)
Granted
Application number
JP2007331936A
Other languages
Japanese (ja)
Other versions
JP5092733B2 (en
Inventor
Yoshiaki Murakami
善章 村上
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2007331936A priority Critical patent/JP5092733B2/en
Publication of JP2009159025A publication Critical patent/JP2009159025A/en
Application granted granted Critical
Publication of JP5092733B2 publication Critical patent/JP5092733B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To specify the failure of a slave or the disconnection of a communication path relating to the slave, and to continue communication between a master and the slave even under the failure of wiring. <P>SOLUTION: Normally, a master 1 performs communication with a switch SWN=ON, switch SWA=OFF and switch SWB=OFF, and when a failure determination section 10 determines that there is no failure and disconnection, communication is performed between the master 1 and a slave 2 by a line A and a line B without using a GND line. When it is detected that the output of a comparator RmN is Low, the master 1 stops the normal communication and continues communication with the slave 2 via a path constituted of the line A and the GND line. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、マスタとスレーブとの間で電流通信を行う通信システムに関する。   The present invention relates to a communication system that performs current communication between a master and a slave.

従来より、2線式で全2重通信を可能としたデータ伝送回路が、例えば特許文献1で提案されている。具体的に、特許文献1では、マスタとスレーブとの間を2本の回線で接続し、当該2本の回線を介して、マスタからデータを直流電圧に重畳し電圧信号としてスレーブに伝送する一方、スレーブからのデータをマスタへ電流信号として伝送する手法が提案されている。   Conventionally, for example, Patent Document 1 proposes a data transmission circuit that enables full-duplex communication with a two-wire system. Specifically, in Patent Document 1, a master and a slave are connected by two lines, and data is superimposed on a DC voltage from the master and transmitted to the slave as a voltage signal via the two lines. A method of transmitting data from a slave as a current signal to the master has been proposed.

すなわち、マスタとスレーブとで電源ラインと通信ラインとを共用し、少ない配線数で電源供給と通信機能を両立させる電流通信を行う。電流通信では、マスタがスレーブに電圧(電力)を供給し、スレーブが消費する電流の増減をスレーブの通信内容に応じて実施する。そして、マスタはスレーブで消費された電流値を検出し、当該電流値と閾値とを比較することでスレーブから送られた通信内容を解読する。
特開平6−69911号公報
In other words, the power line and the communication line are shared by the master and the slave, and current communication is performed with both the power supply and the communication function with a small number of wires. In current communication, the master supplies voltage (power) to the slave, and the current consumed by the slave is increased or decreased according to the communication content of the slave. Then, the master detects the current value consumed by the slave, and compares the current value with a threshold value to decode the communication content sent from the slave.
JP-A-6-69911

しかしながら、上記従来の技術では、電流通信において、複数のスレーブの内1箇所以上がショート故障によって壊れると、スレーブを経由する電流経路を使用した通信を全て阻害してしまう。そのため、配線がショートしているのか、どこのスレーブが壊れているのかが不明である。したがって、故障箇所の特定や故障部品の交換に多くの手間がかかってしまうという問題がある。   However, in the above conventional technique, in current communication, if one or more of a plurality of slaves are broken due to a short circuit failure, all communication using a current path passing through the slaves is hindered. Therefore, it is unknown whether the wiring is short-circuited or which slave is broken. Therefore, there is a problem that it takes much time to identify a fault location and replace a faulty part.

そこで、通信経路を多重とすることが考えられる。しかし、電流通信のメリットは、マスタとスレーブとで電源ラインと通信ラインとを共用し、少ない配線で低コストを実現できることである。したがって、通信経路を多重として配線を冗長としたのでは、電流通信のメリットを生かすことができない。   Therefore, it is conceivable to multiplex communication paths. However, the merit of current communication is that the master and slave can share the power line and the communication line, and can realize low cost with less wiring. Therefore, if the communication path is multiplexed and the wiring is made redundant, the merit of current communication cannot be utilized.

本発明は、上記点に鑑み、スレーブの故障やスレーブに係る通信経路の断線を特定することができ、かつ、配線の故障時であってもマスタとスレーブとの通信を継続することができる通信システムを提供することを目的とする。   In view of the above points, the present invention can identify a slave failure and a disconnection of a communication path related to the slave, and can continue communication between the master and the slave even when a wiring failure occurs. The purpose is to provide a system.

上記目的を達成するため、請求項1に記載の発明では、マスタ(1)とスレーブ(2)との間で、複数の配線(A、B、B0、B1、B2、C)を介して電流通信を行うものであり、マスタおよびスレーブそれぞれのGND(3)に接続されるマスタおよびスレーブに共通のGNDラインを有する通信システムであって、マスタは、複数の配線それぞれとGNDラインとの間に接続され、配線とGNDラインとの間に電位差をそれぞれ生じさせる複数のGND間電圧調整部(6、8、16)と、各配線の間に接続され、一方の配線と他方の配線との間に電位差を生じさせる配線間電圧調整部(4、14)と、GND間電圧調整部および配線間電圧調整部から電位差を生じさせているか否かの電位差情報と、各配線の電位を示す配線電位情報とを入力し、電位差情報と配線電位情報とに基づいて、スレーブおよび複数の配線のいずれかの故障を判定する故障判定部(10)とを備え、複数の配線のうちいずれかが故障している場合、各電圧調整部によって、複数の配線のうち故障していない配線とGNDラインとで構成される経路を形成し、当該経路によってマスタとスレーブとの間の通信を継続するようになっていることを特徴とする。   In order to achieve the above object, according to the first aspect of the present invention, current flows between the master (1) and the slave (2) through a plurality of wirings (A, B, B0, B1, B2, C). A communication system having a GND line common to the master and the slave connected to the GND (3) of each of the master and the slave, wherein the master is connected between each of the plurality of wirings and the GND line. A plurality of GND voltage adjusting units (6, 8, 16) that are connected to generate a potential difference between the wiring and the GND line, and connected between the wirings, between one wiring and the other wiring. Voltage adjustment unit (4, 14) that generates a potential difference between the GND, potential difference information indicating whether or not a potential difference is generated from the voltage adjustment unit between GND and the voltage adjustment unit between wirings, and a wiring potential indicating the potential of each wiring Information and A failure determination unit (10) for determining a failure of any of the slave and the plurality of wirings based on the input potential difference information and the wiring potential information, and any of the plurality of wirings is in failure Each voltage adjusting unit forms a path composed of a non-failed wiring and a GND line among a plurality of wirings, and communication between the master and the slave is continued by the path. It is characterized by.

これによると、GND間電圧調整部および配線間電圧調整部の電位差情報および配線電位情報を判定するだけであるので、故障箇所を短時間で特定することができる。そして、複数の配線のうちいずれかが故障しても、故障していない配線とGNDラインとを経由する通信経路が形成されるため、マスタとスレーブとの間の通信を継続することができる。   According to this, since only the potential difference information and the wiring potential information of the inter-GND voltage adjusting unit and the inter-wiring voltage adjusting unit are determined, it is possible to identify the failure location in a short time. Even if any of the plurality of wirings fails, a communication path that passes through the non-failing wiring and the GND line is formed, so that communication between the master and the slave can be continued.

請求項2に記載の発明では、故障判定部にてスレーブおよび複数の配線のいずれかに故障は無いと判定された場合、GNDラインを用いずに、複数のGND間電圧調整部および複数の配線によってマスタとスレーブとの間で通信を行うことができる。   According to the second aspect of the present invention, when the failure determination unit determines that there is no failure in either the slave or the plurality of wirings, the plurality of GND voltage adjustment units and the plurality of wirings are used without using the GND line. Thus, communication can be performed between the master and the slave.

請求項3に記載の発明のように、故障判定部にてスレーブおよび複数の配線のいずれかに故障は無いと判定された場合、GNDラインを用いずに通信を行うようになっており、通信高負荷時は2系統で通信を行うこともできる。   As in the third aspect of the invention, when the failure determination unit determines that there is no failure in either the slave or the plurality of wires, communication is performed without using the GND line. When the load is high, communication can be performed with two systems.

請求項4に記載の発明のように、配線間電圧調整部は、スレーブで消費された消費電流を検出する手段を備えており、消費電流の大きさに応じた電位差情報を生成するようになっていることを特徴とする。   As described in the fourth aspect of the invention, the inter-wiring voltage adjustment unit includes means for detecting the consumption current consumed by the slave, and generates potential difference information according to the magnitude of the consumption current. It is characterized by.

このように、マスタは、スレーブで消費された消費電流から電位差情報を取得することにより、スレーブとの間における通信を行うことができる。この場合、マスタは、電位差情報に応じて通信経路を選択できる。   In this way, the master can communicate with the slave by acquiring the potential difference information from the consumption current consumed by the slave. In this case, the master can select a communication path according to the potential difference information.

なお、上記各手段の括弧内の符号は、後述する実施形態に記載の具体的手段との対応関係を示すものである。   In addition, the code | symbol in the bracket | parenthesis of each said means shows the correspondence with the specific means as described in embodiment mentioned later.

以下、本発明の実施形態について図に基づいて説明する。なお、以下の各実施形態相互において、互いに同一もしくは均等である部分には、図中、同一符号を付してある。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following embodiments, the same or equivalent parts are denoted by the same reference numerals in the drawings.

(第1実施形態)
以下、本発明の第1実施形態について図を参照して説明する。本実施形態に係る通信システムは、例えばセンサ等のスレーブと、センサ等の信号に基づいて一定の制御を行うECU等のマスタで構成されるものであり、マスタおよびスレーブが例えば車両に搭載されて車両制御等に用いられる。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. The communication system according to the present embodiment includes, for example, a slave such as a sensor and a master such as an ECU that performs constant control based on a signal from the sensor. The master and the slave are mounted on a vehicle, for example. Used for vehicle control and the like.

図1は、本発明の第1実施形態に係る通信システムのブロック図である。この図に示されるように、通信システムにはマスタ1およびスレーブ2が備えられており、これらマスタ1とスレーブ2とが電流通信を行うため、ラインAおよびラインBの配線によって接続されている。また、マスタ1のGND3とスレーブ2のGND3は、図示しない共通のGNDライン(車両におけるボデーアース等)によって接続されている。   FIG. 1 is a block diagram of a communication system according to the first embodiment of the present invention. As shown in this figure, the communication system includes a master 1 and a slave 2, and the master 1 and the slave 2 are connected by lines A and B for current communication. The GND 3 of the master 1 and the GND 3 of the slave 2 are connected by a common GND line (body earth or the like in the vehicle) not shown.

GNDラインは通常時は通信に使用しないラインである。ここで、「通常時」とは、通信システムがラインAとラインBとを用いて最大のパフォーマンスができるときを指す。他方、「非通常時」とは、故障診断を行う場合やパフォーマンスを落として通信を行うときを指す。   The GND line is a line that is not normally used for communication. Here, “normal time” refers to a time when the communication system can perform the maximum performance using the line A and the line B. On the other hand, the “non-normal time” refers to a case where failure diagnosis is performed or communication is performed with reduced performance.

ラインAとラインBとの間には、配線間電圧調整部4が接続されている。この配線間電圧調整部4は、スイッチSWN、一定電位VN、抵抗5、コンパレータRmNを備えている。   Between the lines A and B, the inter-wiring voltage adjustment unit 4 is connected. The inter-wiring voltage adjustment unit 4 includes a switch SWN, a constant potential VN, a resistor 5, and a comparator RmN.

スイッチSWNは、ラインAのうちマスタ1側に接続されている。当該スイッチSWNに一定電位VNおよび抵抗5が直接接続されており、抵抗5にラインBのうちマスタ1側が接続されている。そして、一定電圧VNと抵抗5との間の電位がコンパレータRmNの一方の入力端子に入力される。スイッチSWNがオンされると、ラインAの電位は一定電位VNとなる。   The switch SWN is connected to the master 1 side of the line A. A constant potential VN and a resistor 5 are directly connected to the switch SWN, and the master 1 side of the line B is connected to the resistor 5. Then, a potential between the constant voltage VN and the resistor 5 is input to one input terminal of the comparator RmN. When the switch SWN is turned on, the potential of the line A becomes a constant potential VN.

コンパレータRmNの他方の入力端子には、基準電位(ref Nm)として例えばラインBの電位が入力される。基準電位であれば、マスタ1内の回路で生成された一定電位であっても良い。これにより、コンパレータRmNは抵抗5の両端の電位差、すなわち抵抗5の消費電流に基づいてHiまたはLowの信号を出力する。   For example, the potential of the line B is input to the other input terminal of the comparator RmN as the reference potential (ref Nm). As long as it is a reference potential, it may be a constant potential generated by a circuit in the master 1. Accordingly, the comparator RmN outputs a Hi or Low signal based on the potential difference between both ends of the resistor 5, that is, the current consumption of the resistor 5.

また、マスタ1内には、ラインAとGND3との間に、GND間電圧調整部6が接続されている。GND間電圧調整部6は、スイッチSWA、一定電圧VA、抵抗7、コンパレータRmAを備えている。スイッチSWA、一定電圧VA、抵抗7は直列接続されている。   In the master 1, an inter-GND voltage adjusting unit 6 is connected between the line A and the GND 3. The GND voltage adjustment unit 6 includes a switch SWA, a constant voltage VA, a resistor 7, and a comparator RmA. The switch SWA, the constant voltage VA, and the resistor 7 are connected in series.

一定電圧VAと抵抗7との間の電位は、コンパレータRmAの一方の入力端子に入力される。コンパレータRmAの他方の入力端子には、例えばマスタ1内で生成された基準電位(ref Am)が入力される。これにより、コンパレータRmAは抵抗7の消費電流に基づいてHiまたはLowの信号を出力する。   A potential between the constant voltage VA and the resistor 7 is input to one input terminal of the comparator RmA. For example, a reference potential (ref Am) generated in the master 1 is input to the other input terminal of the comparator RmA. Accordingly, the comparator RmA outputs a Hi or Low signal based on the current consumption of the resistor 7.

さらに、マスタ1内には、ラインBとGND3との間に、GND間電圧調整部8が接続されている。GND間電圧調整部8は、スイッチSWB、一定電圧VB、抵抗9、コンパレータRmBを備えている。スイッチSWB、一定電圧VB、抵抗9は直列接続されている。   Furthermore, a GND voltage adjusting unit 8 is connected between the line B and the GND 3 in the master 1. The GND voltage adjustment unit 8 includes a switch SWB, a constant voltage VB, a resistor 9, and a comparator RmB. The switch SWB, the constant voltage VB, and the resistor 9 are connected in series.

そして、一定電圧VBと抵抗9との間の電位がコンパレータRmBの一方の入力端子に入力され、コンパレータRmBの他方の入力端子に例えばマスタ1内で生成された基準電位(ref Bm)が入力される。これにより、コンパレータRmBは抵抗9の消費電流に基づいてHiまたはLowの信号を出力する。   A potential between the constant voltage VB and the resistor 9 is input to one input terminal of the comparator RmB, and a reference potential (ref Bm) generated in the master 1 is input to the other input terminal of the comparator RmB, for example. The Thereby, the comparator RmB outputs a Hi or Low signal based on the current consumption of the resistor 9.

スイッチSWN、スイッチSWA、スイッチSWBは、例えばトランジスタによって構成され、マスタ1内に設けられた図示しない制御回路によって制御されるようになっている。また、スイッチSWN、スイッチSWA、スイッチSWBのオン/オフの状況およびコンパレータRmN、コンパレータRmA、コンパレータRmBの各出力は、マスタ1内の故障判定部10に入力される。   The switch SWN, the switch SWA, and the switch SWB are constituted by transistors, for example, and are controlled by a control circuit (not shown) provided in the master 1. The on / off status of the switch SWN, the switch SWA, and the switch SWB and the outputs of the comparator RmN, the comparator RmA, and the comparator RmB are input to the failure determination unit 10 in the master 1.

故障判定部10は、スイッチSWN、スイッチSWA、スイッチSWBのオン/オフの状況、およびコンパレータRmN、コンパレータRmA、コンパレータRmBの各出力を組み合わせることによって、スレーブ2が正常に機能しているか否かの故障診断や、ラインA、ラインBの断線の診断を行うものである。   The failure determination unit 10 determines whether the slave 2 is functioning normally by combining the ON / OFF state of the switch SWN, the switch SWA, and the switch SWB and the outputs of the comparator RmN, the comparator RmA, and the comparator RmB. It diagnoses failures and diagnoses the disconnection of line A and line B.

他方、スレーブ2内において、ラインAとラインBとの間には、トランジスタTsNと抵抗11とが直列接続されている。また、ラインAのうちスレーブ2側はコンパレータRsAの一方の入力端子に接続され、当該入力端子にラインAの電位が入力されるようになっている。   On the other hand, the transistor TsN and the resistor 11 are connected in series between the line A and the line B in the slave 2. In addition, the slave 2 side of the line A is connected to one input terminal of the comparator RsA, and the potential of the line A is input to the input terminal.

コンパレータRsAの他方の入力端子には、スレーブ2内で生成された基準電位(ref As)、例えばGND3の電位が入力される。これにより、コンパレータRsAは、GND3の電位とラインAとの電位差に基づいてHiまたはLowの信号を出力する。   A reference potential (ref As) generated in the slave 2, for example, the potential of GND3, is input to the other input terminal of the comparator RsA. Thereby, the comparator RsA outputs a Hi or Low signal based on the potential difference between the potential of GND3 and the line A.

また、スレーブ2内において、ラインAとGND3との間にトランジスタTsAおよび抵抗12が直列接続されている。トランジスタTsAは、マスタ1とスレーブ2との間でラインAとGNDラインとで構成される経路を用いた電流通信を行う際に用いられる。   In the slave 2, a transistor TsA and a resistor 12 are connected in series between the line A and GND3. The transistor TsA is used when current communication is performed between the master 1 and the slave 2 using a path formed by the line A and the GND line.

さらに、ラインBのうちスレーブ2側はコンパレータRsBの一方の入力端子に接続され、当該入力端子にラインBの電位が入力されるようになっている。コンパレータRsBの他方の入力端子には、スレーブ2内で生成された基準電位(ref Bs)、例えばGND3の電位が入力される。これにより、コンパレータRsBは、GND3の電位とラインBとの電位差に基づいてHiまたはLowの信号を出力する。   Further, the slave 2 side of the line B is connected to one input terminal of the comparator RsB, and the potential of the line B is input to the input terminal. A reference potential (ref Bs) generated in the slave 2, for example, the potential of GND3, is input to the other input terminal of the comparator RsB. Accordingly, the comparator RsB outputs a Hi or Low signal based on the potential difference between the potential of GND3 and the line B.

コンパレータRsAおよびコンパレータRsBの出力は、スレーブ2内において、スレーブ2が取るべき動作のための判定材料に用いられる。   The outputs of the comparators RsA and RsB are used in the slave 2 as judgment materials for the operation that the slave 2 should take.

また、スレーブ2内において、ラインBとGND3との間にトランジスタTsBおよび抵抗13が直列接続されている。トランジスタTsBは、マスタ1とスレーブ2との間でラインBとGNDラインとで構成される経路を用いた電流通信を行う際に用いられる。   In the slave 2, a transistor TsB and a resistor 13 are connected in series between the line B and GND3. The transistor TsB is used when performing current communication between the master 1 and the slave 2 using a path formed by the line B and the GND line.

以上が、本実施形態に係る通信システムの全体構成である。マスタ1内やスレーブ2内の上記各構成要素は例えばディスクリート部品としてマスタ1やスレーブ2に組み込まれたり、1つの回路基板にパッケージ化されてマスタ1やスレーブ2に組み込まれる。   The above is the overall configuration of the communication system according to the present embodiment. Each component in the master 1 and the slave 2 is incorporated into the master 1 and the slave 2 as discrete parts, for example, or packaged on one circuit board and incorporated into the master 1 and the slave 2.

次に、上記通信システムにおける作動および故障診断について、図を参照して説明する。図2は、スイッチSWN、スイッチSWA、スイッチSWBのオン/オフの状況およびコンパレータRmN、コンパレータRmA、コンパレータRmBの各出力の組み合わせによる故障判定部10の判定内容を示した表である。また、図3は、スレーブ2の動きを表で示したものである。   Next, operation and failure diagnosis in the communication system will be described with reference to the drawings. FIG. 2 is a table showing the determination contents of the failure determination unit 10 based on the ON / OFF state of the switch SWN, the switch SWA, and the switch SWB and the combination of the outputs of the comparator RmN, the comparator RmA, and the comparator RmB. FIG. 3 shows the movement of the slave 2 in a table.

上記構成を有する通信システムでは、スイッチSWN、スイッチSWA、スイッチSWBのすべてがオフになっていると、通信は停止される。通常、マスタ1はスイッチSWN=ON、スイッチSWA=OFF、スイッチSWB=OFFとしてスレーブ2と通信を実施する。   In the communication system having the above configuration, communication is stopped when all of the switch SWN, the switch SWA, and the switch SWB are turned off. Normally, the master 1 communicates with the slave 2 with the switch SWN = ON, the switch SWA = OFF, and the switch SWB = OFF.

この場合、故障判定部10にて故障および断線は無いと判定されると、GNDラインを用いずに、ラインAおよびラインBによってマスタ1とスレーブ2との間で通信を行う。すなわち、スイッチSWAおよびスイッチSWBをオフすると共にスイッチSWNをオンし、ラインAおよびラインBによって形成される経路を用いてマスタ1とスレーブ2との間で通常の通信を行う。   In this case, when the failure determination unit 10 determines that there is no failure or disconnection, communication is performed between the master 1 and the slave 2 using the line A and the line B without using the GND line. That is, the switch SWA and the switch SWB are turned off and the switch SWN is turned on, and normal communication is performed between the master 1 and the slave 2 using the path formed by the lines A and B.

そして、マスタ1が通信途絶等を検出した場合、マスタ1は通常の通信を停止し、診断を実施する。すなわち、スレーブ2で電流が消費されていないためにコンパレータRmNの出力がLowである場合、故障判定部10は故障診断によって故障箇所を特定する。   When the master 1 detects a communication interruption or the like, the master 1 stops normal communication and performs diagnosis. That is, when the current of the slave 2 is not consumed and the output of the comparator RmN is Low, the failure determination unit 10 specifies the failure location by failure diagnosis.

具体的には、マスタ1の故障判定部10によってスイッチSWN=OFF、スイッチSWA=ON、スイッチSWB=ONとする。この場合、コンパレータRmAで通信を受信すれば、ラインAとラインBは正常であると判定できる。このときには、ラインAのみで通信を行うべく、スレーブ2においてトランジスタTsAをオンし、トランジスタTsBをオフすることで、ラインAとGNDラインとによって構成される経路により通信を行う。この際、ラインBには電流が流れないため、コンパレータRmBの出力はLowとなる。また、スレーブ2のトランジスタTsNの故障の可能性も判定できる。   Specifically, the failure determination unit 10 of the master 1 sets the switch SWN = OFF, the switch SWA = ON, and the switch SWB = ON. In this case, if communication is received by the comparator RmA, it can be determined that the line A and the line B are normal. At this time, in order to perform communication only on the line A, the transistor TsA is turned on in the slave 2 and the transistor TsB is turned off, so that communication is performed through a path constituted by the line A and the GND line. At this time, since no current flows through the line B, the output of the comparator RmB is Low. Further, the possibility of failure of the transistor TsN of the slave 2 can also be determined.

他方、コンパレータRmAが通信途絶、若しくはコンパレータRmBで通信を受信した場合、ラインAが断線等の故障をしたと判定することができる。   On the other hand, when the comparator RmA is disconnected or the communication is received by the comparator RmB, it can be determined that the line A has failed such as disconnection.

また、スイッチSWN=OFF、スイッチSWA=OFF、スイッチSWB=ONとされ、コンパレータRmBで通信を受信すればラインBは正常であると判定できる。この場合、ラインBのみで通信を行うべく、スレーブ2においてトランジスタTsAをオフし、トランジスタTsBをオンすることで、ラインBとGNDラインとによって構成される経路により通信を行う。この際、ラインAには電流が流れないため、コンパレータRmAの出力はLowとなる。   Further, if the switch SWN = OFF, the switch SWA = OFF, and the switch SWB = ON, and communication is received by the comparator RmB, it can be determined that the line B is normal. In this case, in order to perform communication using only the line B, the transistor TsA is turned off in the slave 2 and the transistor TsB is turned on, so that communication is performed using a path constituted by the line B and the GND line. At this time, since no current flows through the line A, the output of the comparator RmA becomes Low.

そして、コンパレータRmBが通信途絶であった場合はラインBが故障していると判定でき、コンパレータRmAで信号を受信した場合はラインAが故障していると判定できる。   When the comparator RmB is disconnected, it can be determined that the line B has failed. When the comparator RmA receives a signal, it can be determined that the line A has failed.

なお、スイッチSWN、スイッチSWA、スイッチSWBのオン/オフの状況は、本発明の電位差情報に相当する。また、コンパレータRmN、コンパレータRmA、コンパレータRmBの各出力は、本発明の配線電位情報に相当する。   Note that the ON / OFF state of the switch SWN, the switch SWA, and the switch SWB corresponds to the potential difference information of the present invention. Each output of the comparator RmN, the comparator RmA, and the comparator RmB corresponds to the wiring potential information of the present invention.

スレーブ2は、コンパレータRsAおよびコンパレータRsBの出力の組み合わせによって、ラインAおよびラインBのうちのいずれかを用いて通信を実施する。具体的には、図3に示されるように、コンパレータRsAの出力がHi、コンパレータRsBの出力がLowの場合にトランジスタTsNをオンして、GNDラインを用いずに、ラインAおよびラインBを用いた通常時の通信を行う。   The slave 2 performs communication using one of the line A and the line B depending on the combination of the outputs of the comparator RsA and RsB. Specifically, as shown in FIG. 3, when the output of the comparator RsA is Hi and the output of the comparator RsB is Low, the transistor TsN is turned on, and the lines A and B are used without using the GND line. Normal communication was performed.

他方、コンパレータRsAの出力がHi、コンパレータRsBの出力がHiの場合、例えばラインBが故障している可能性がある。したがって、ラインAとGNDラインとで構成される経路によって通信すべく、スレーブ2はトランジスタTsAをオンし、トランジスタTsBをオフして、ラインAおよびGNDラインを用いた通信を可能とする。   On the other hand, when the output of the comparator RsA is Hi and the output of the comparator RsB is Hi, for example, the line B may be broken. Therefore, the slave 2 turns on the transistor TsA and turns off the transistor TsB to enable communication using the line A and the GND line in order to communicate via a path formed by the line A and the GND line.

また、コンパレータRsAの出力がLow、コンパレータRsBの出力がHiの場合、例えばラインAが故障している可能性がある。したがって、ラインBとGNDラインとで構成される経路によって通信すべく、スレーブ2はトランジスタTsAをオフし、トランジスタTsBをオンして、ラインBおよびGNDラインを用いた通信を可能とする。   Further, when the output of the comparator RsA is Low and the output of the comparator RsB is Hi, for example, the line A may be broken. Therefore, the slave 2 turns off the transistor TsA and turns on the transistor TsB to enable communication using the line B and the GND line in order to communicate via the path formed by the line B and the GND line.

なお、コンパレータRsAの出力がLow、コンパレータRsBの出力がLowの場合は、通常時の通信であるが、スレーブ2は通信が停止していると判定する。   When the output of the comparator RsA is Low and the output of the comparator RsB is Low, the communication is normal, but the slave 2 determines that the communication is stopped.

上記のようにして、故障判定部10によって故障が発見された場合、マスタ1が故障を発見の結果を保持する場合や外部にダイアグを出す。これにより、通信システムにおいて、ラインA、ラインB、スレーブ2のうちどの部品が故障しているかを検査する必要もなく、部品交換を容易に行うことができる。   As described above, when a failure is found by the failure determination unit 10, the master 1 issues a diagnosis when the failure is found or when the master 1 holds the result of finding the failure. Thereby, in the communication system, it is not necessary to inspect which part of the line A, the line B, and the slave 2 is out of order, and the parts can be easily replaced.

また、ラインAやラインBの故障が発見された場合、ラインAおよびラインBのうち故障していない配線とGNDラインとで構成される経路が形成され、当該経路によってマスタ1とスレーブ2との間で電流通信が継続される。   In addition, when a failure in line A or line B is found, a path composed of the non-failed wiring and the GND line of line A and line B is formed, and the master 1 and slave 2 are connected by the path. Current communication continues between them.

以上説明したように、本実施形態では、通常時は2線以上、すなわちラインAおよびラインBを使用し信頼性の高い電流通信を実施し、故障判定部10によって故障診断を行ってスレーブ2、ラインA等の異常を検出した場合には、通常時に使用していなかった第3の配線、すなわちGNDラインを使用し、スレーブ2との間でデータ送受信の継続を目的とした通信を実施することが特徴となっている。   As described above, in the present embodiment, normally two or more lines, that is, the line A and the line B are used to perform highly reliable current communication, and the failure determination unit 10 performs a failure diagnosis to perform slave diagnosis. If an abnormality such as line A is detected, use the third wiring that was not normally used, that is, the GND line, and carry out communication with the slave 2 for the purpose of continuing data transmission and reception. Is a feature.

これにより、通信機能全部を冗長にせず、マスタ1、スレーブ2共に2系統以上のスイッチSWN、スイッチSWA、スイッチSWBを持つことで通信機能の冗長・高信頼性を実現することができる。故障診断を行う場合、スイッチSWN、スイッチSWA、スイッチSWBのオン/オフの状況およびコンパレータRmN、コンパレータRmA、コンパレータRmBの各出力の組み合わせで故障判定を行うだけであるので、故障箇所を短時間で特定することができる。そして、配線等に故障が生じていたとしても、GNDラインを用いた通信経路の形成によって、マスタ1とスレーブ2との間の通信を継続することができる。   Thereby, the redundancy and high reliability of the communication function can be realized by providing the master 1 and the slave 2 with two or more switches SWN, SWA, and SWB without making the entire communication function redundant. When performing failure diagnosis, it is only necessary to perform failure determination based on the on / off state of the switch SWN, switch SWA, and switch SWB and the outputs of the comparator RmN, comparator RmA, and comparator RmB. Can be identified. Even if a failure occurs in the wiring or the like, communication between the master 1 and the slave 2 can be continued by forming a communication path using the GND line.

また、マスタ1とスレーブ2との間を接続する配線は、ラインA、ラインB、およびGNDラインのみであるので、配線コストの上昇なく、冗長通信対応できる。   Further, since the lines connecting the master 1 and the slave 2 are only the line A, the line B, and the GND line, redundant communication can be handled without increasing the wiring cost.

(第2実施形態)
本実施形態では、第1実施形態と異なる部分についてのみ説明する。第1実施形態では、マスタ1とスレーブ2とが一対一の通信システムについて説明したが、本実施形態では、マスタ1とスレーブ2とが一対多の通信システムであることが特徴となっている。
(Second Embodiment)
In the present embodiment, only different parts from the first embodiment will be described. In the first embodiment, the one-to-one communication system between the master 1 and the slave 2 has been described. However, the present embodiment is characterized in that the master 1 and the slave 2 are one-to-many communication systems.

図4は、本実施形態に係る通信システムのブロック図である。この図に示されるように、一つのマスタ1に対してラインAおよびラインBがそれぞれ分岐して複数のスレーブ2に接続されている。各スレーブ2の構成は図1に示されるものと同様である。   FIG. 4 is a block diagram of the communication system according to the present embodiment. As shown in this figure, line A and line B are branched from one master 1 and connected to a plurality of slaves 2. The configuration of each slave 2 is the same as that shown in FIG.

本実施形態では、各スレーブ2の通信が干渉しないように、マスタ1とスレーブ2との間で例えば時間分割通信を行う。   In the present embodiment, for example, time division communication is performed between the master 1 and the slave 2 so that the communication of each slave 2 does not interfere.

図5は、スイッチSWA、スイッチSWBおよびコンパレータRmN、コンパレータRmA、コンパレータRmBの組み合わせによる故障判定部10の判定内容を表として表した図である。本実施形態のように、マスタ1が複数のスレーブ2と通信する場合においても、マスタ1とスレーブ2とが一対一通信する場合と同じ故障判定が行われる。   FIG. 5 is a table showing the determination contents of the failure determination unit 10 by a combination of the switch SWA, the switch SWB, the comparator RmN, the comparator RmA, and the comparator RmB. Even when the master 1 communicates with a plurality of slaves 2 as in the present embodiment, the same failure determination is performed as when the master 1 and the slave 2 communicate one-to-one.

そして、スイッチSWN=ON、スイッチSWA=OFF、スイッチSWB=OFFとされ、マスタ1が複数のスレーブ2と時間分割通信を実施している場合、複数のスレーブ2のうちのスレーブXが正常で、コンパレータRmNの出力により複数のスレーブ2のうちのスレーブNの通信途絶を検出すれば、スレーブX以外のスレーブNの故障か、またはスレーブNに繋がるラインAおよびラインBのいずれかが故障していると判定できる。   When the switch SWN = ON, the switch SWA = OFF, and the switch SWB = OFF, and the master 1 is performing time division communication with the plurality of slaves 2, the slave X of the plurality of slaves 2 is normal, If the communication interruption of the slave N among the plurality of slaves 2 is detected by the output of the comparator RmN, a failure of the slave N other than the slave X or one of the lines A and B connected to the slave N has failed. Can be determined.

また、スイッチSWN=OFF、スイッチSWA=ON、スイッチSWB=ONとされている場合、コンパレータRmAの出力により、スレーブNの通信途絶を検出すれば、スレーブNに繋がるラインAおよびラインBのいずれかが故障していると判定できる。さらに、コンパレータRmBの出力により、スレーブNのみ通信が可能であれば、スレーブNに繋がるラインAが故障していると判定できる。   Further, when the switch SWN = OFF, the switch SWA = ON, and the switch SWB = ON, if the communication interruption of the slave N is detected by the output of the comparator RmA, either the line A or the line B connected to the slave N is detected. Can be determined to be malfunctioning. Furthermore, if only the slave N can communicate with the output of the comparator RmB, it can be determined that the line A connected to the slave N has failed.

スイッチSWN=OFF、スイッチSWA=OFF、スイッチSWB=ONとされている場合、コンパレータRmBの出力により、スレーブNの通信途絶を検出すれば、スレーブNに繋がるラインBが故障していると判定できる。また、コンパレータRmAの出力により、スレーブNのみ通信が可能であれば、スレーブNに繋がるラインAが故障していると判定できる。   When the switch SWN = OFF, the switch SWA = OFF, and the switch SWB = ON, if the communication interruption of the slave N is detected by the output of the comparator RmB, it can be determined that the line B connected to the slave N is broken. . If only the slave N can communicate with the output of the comparator RmA, it can be determined that the line A connected to the slave N is broken.

以上のように、一対多の通信においても、いずれかのスレーブ2や各スレーブ2に接続されるラインAおよびラインBのいずれかの故障を判定することができる。   As described above, even in the one-to-many communication, it is possible to determine the failure of any one of the slaves 2 and the line A and the line B connected to each slave 2.

(第3実施形態)
本実施形態では、上記各実施形態と異なる部分についてのみ説明する。本実施形態では、一本の通信線が複数に分岐した通信線を用いることが特徴となっている。
(Third embodiment)
In the present embodiment, only different portions from the above embodiments will be described. This embodiment is characterized by using a communication line in which one communication line is branched into a plurality.

図6は、本実施形態に係る通信システムのブロック図である。この図に示されるように、ラインB0が分岐してラインB1、ラインB2とされている。これにより、マスタ1と複数のスレーブ2との間で、ラインA、ラインB0、ラインB1を用いた経路が形成され、複数のスレーブ2のうちのスレーブ1とマスタ1との間の通信が可能となる。   FIG. 6 is a block diagram of a communication system according to the present embodiment. As shown in this figure, line B0 is branched into line B1 and line B2. Thereby, a path using line A, line B0, and line B1 is formed between the master 1 and the plurality of slaves 2, and communication between the slave 1 of the plurality of slaves 2 and the master 1 is possible. It becomes.

ラインB1は、スレーブ2のうちスレーブ1のコンパレータRsBに接続され、ラインB2は、スレーブ2のうちスレーブ2のコンパレータRsAに接続される。   The line B1 is connected to the comparator RsB of the slave 1 in the slave 2, and the line B2 is connected to the comparator RsA of the slave 2 in the slave 2.

また、ラインB0、ラインB2、ラインCを用いた経路が形成され、複数のスレーブ2のうちのスレーブ2とマスタ1との間の通信が可能となる。   Further, a path using the line B0, the line B2, and the line C is formed, and communication between the slave 2 of the plurality of slaves 2 and the master 1 is possible.

このような配線形態において、ラインB0と抵抗5との間とラインCとの間に、配線間電圧調整部14が接続されている。配線間電圧調整部14は、スイッチSW2N、一定電位V2N、抵抗15、コンパレータRmN2を備えている。   In such a wiring configuration, the inter-wiring voltage adjustment unit 14 is connected between the line B0 and the resistor 5 and between the line C. The inter-wiring voltage adjustment unit 14 includes a switch SW2N, a constant potential V2N, a resistor 15, and a comparator RmN2.

スイッチSW2NはラインB0に接続され、スイッチSW2Nに一定電位V2Nおよび抵抗15が直接接続されている。そして、一定電圧V2Nと抵抗15との間の電位がコンパレータRmN2の一方の入力端子に入力される。スイッチSW2Nがオンされると、ラインB0の電位は一定電位V2Nとなる。   The switch SW2N is connected to the line B0, and the constant potential V2N and the resistor 15 are directly connected to the switch SW2N. A potential between the constant voltage V2N and the resistor 15 is input to one input terminal of the comparator RmN2. When the switch SW2N is turned on, the potential of the line B0 becomes a constant potential V2N.

コンパレータRmN2の他方の入力端子には、基準電位(ref N2m)として例えばラインCの電位が入力される。基準電位であれば、マスタ1内の回路で生成された一定電位であっても良い。これにより、コンパレータRmN2は抵抗15の両端の電位差、すなわち抵抗15の消費電流に基づいてHiまたはLowの信号を出力する。   For example, the potential of the line C is input to the other input terminal of the comparator RmN2 as the reference potential (ref N2m). As long as it is a reference potential, it may be a constant potential generated by a circuit in the master 1. Accordingly, the comparator RmN2 outputs a Hi or Low signal based on the potential difference between both ends of the resistor 15, that is, the consumption current of the resistor 15.

また、マスタ1内には、ラインCとGND3との間に、GND間電圧調整部16が接続されている。GND間電圧調整部16は、スイッチSWC、一定電圧VC、および抵抗17を備えている。スイッチSWC、一定電圧VC、抵抗17は直列接続されている。   In the master 1, an inter-GND voltage adjusting unit 16 is connected between the line C and the GND 3. The GND voltage adjustment unit 16 includes a switch SWC, a constant voltage VC, and a resistor 17. The switch SWC, the constant voltage VC, and the resistor 17 are connected in series.

一定電圧VCと抵抗17との間の電位は、コンパレータRmCの一方の入力端子に入力される。コンパレータRmCの他方の入力端子には、例えばマスタ1内で生成された基準電位(ref Cm)が入力される。これにより、コンパレータRmCは抵抗17の消費電流に基づいてHiまたはLowの信号を出力する。   A potential between the constant voltage VC and the resistor 17 is input to one input terminal of the comparator RmC. For example, a reference potential (ref Cm) generated in the master 1 is input to the other input terminal of the comparator RmC. Thereby, the comparator RmC outputs a Hi or Low signal based on the current consumption of the resistor 17.

なお、図6に示されるスイッチSW1N、一定電位V1N、コンパレータRmN1は、図1に示されるスイッチSWN、一定電位VN、コンパレータRmNにそれぞれ対応している。また、コンパレータRmN1、コンパレータRmN2、コンパレータRmA、コンパレータRmB、コンパレータRmCの出力は、それぞれ故障判定部に入力される。   Note that the switch SW1N, the constant potential V1N, and the comparator RmN1 shown in FIG. 6 correspond to the switch SWN, the constant potential VN, and the comparator RmN shown in FIG. 1, respectively. The outputs of the comparator RmN1, the comparator RmN2, the comparator RmA, the comparator RmB, and the comparator RmC are respectively input to the failure determination unit.

図7は、本実施形態において、各スイッチおよび各コンパレータの組み合わせによる故障判定部10の判定内容を表として表した図である。本実施形態のように、マスタ1が複数のスレーブ2と通信する場合においても、マスタ1とスレーブ2とが一対一通信する場合と同じ故障判定が行われる。   FIG. 7 is a table showing the determination contents of the failure determination unit 10 by the combination of each switch and each comparator in the present embodiment. Even when the master 1 communicates with a plurality of slaves 2 as in the present embodiment, the same failure determination is performed as when the master 1 and the slave 2 communicate one-to-one.

図7に示されるように、スイッチSW1Nのみオンした場合、コンパレータRmN1で通信可能であれば、ラインA、ラインB1、ラインB0による経路によってスレーブ2のうちスレーブ1との通常通信が可能である。このような経路においてコンパレータRmN1の出力がLowの場合、当該経路のいずれかに故障があると判定することができる。   As shown in FIG. 7, when only the switch SW1N is turned on, if communication is possible with the comparator RmN1, normal communication with the slave 1 out of the slaves 2 is possible by the path of the lines A, B1, and B0. When the output of the comparator RmN1 is Low in such a path, it can be determined that there is a failure in any of the paths.

また、スイッチSW2Nのみオンした場合、コンパレータRmN2で通信可能であれば、ラインB0、ラインB2、ラインCによる経路によってスレーブ2のうちスレーブ2との通常通信が可能である。コンパレータRmN2の出力がLowの場合、当該経路のいずれかに故障があると判定することができる。   Further, when only the switch SW2N is turned on, if communication is possible with the comparator RmN2, normal communication with the slave 2 out of the slaves 2 is possible by the path by the lines B0, B2, and C. When the output of the comparator RmN2 is Low, it can be determined that there is a failure in any of the paths.

スイッチSW1NおよびスイッチSW2Nをオフし、GNDラインを用いて通信を行う回路形態であって、スイッチSWAおよびスイッチSWBのみをオンした場合、ラインA、ラインB1、ラインB0による経路にて通信を行うこととなる。この場合、コンパレータRmAで通信可能であり、コンパレータRmBの出力がLowであれば、ラインAは正常であると判定できる。コンパレータRmAの出力がLowであると、ラインAが故障していると判定できる。   A circuit configuration in which the switch SW1N and the switch SW2N are turned off and communication is performed using the GND line. When only the switch SWA and the switch SWB are turned on, the communication is performed through the path of the line A, the line B1, and the line B0. It becomes. In this case, if communication is possible with the comparator RmA and the output of the comparator RmB is Low, it can be determined that the line A is normal. If the output of the comparator RmA is Low, it can be determined that the line A has failed.

他方、コンパレータRmBで通信可能であると、ラインAが故障、ラインB0およびラインB1は正常であると判定でき、ラインB0、ラインB1、およびGNDラインとで構成される経路にて通信を継続する。   On the other hand, if communication is possible with the comparator RmB, it can be determined that the line A is faulty, the lines B0 and B1 are normal, and the communication is continued through a path constituted by the lines B0, B1 and GND. .

スイッチSWBのみオンした場合、上記のようにラインB0、ラインB1、およびGNDラインとで構成される経路にて通信を行う。このため、コンパレータRmAの出力はLowとなり、上記と同様に、ラインB0およびラインB1は正常であると判定される。   When only the switch SWB is turned on, communication is performed through the path constituted by the line B0, the line B1, and the GND line as described above. For this reason, the output of the comparator RmA is Low, and it is determined that the line B0 and the line B1 are normal as described above.

しかし、当該回路形態において、コンパレータRmBの出力がLowとなると、ラインB0およびラインB1のうちいずれかが故障していると判定される。また、コンパレータRmAによって通信が可能であると、ラインAが故障していると判定できる。   However, in the circuit configuration, when the output of the comparator RmB becomes Low, it is determined that one of the line B0 and the line B1 is out of order. Further, if communication is possible by the comparator RmA, it can be determined that the line A has failed.

そして、スイッチSWBおよびスイッチSWCのみをオンした場合、ラインB0、ラインB2、ラインCによる経路にて通信を行うこととなる。この場合、コンパレータRmBで通信可能であり、コンパレータRmCの出力がLowであれば、ラインB0およびラインB2は正常であると判定できる。コンパレータRmBの出力がLowであると、ラインB0およびラインB2のうちいずれかが故障していると判定できる。   Then, when only the switch SWB and the switch SWC are turned on, communication is performed along the path of the line B0, the line B2, and the line C. In this case, communication is possible with the comparator RmB, and if the output of the comparator RmC is Low, it can be determined that the line B0 and the line B2 are normal. If the output of the comparator RmB is Low, it can be determined that one of the line B0 and the line B2 has failed.

また、スイッチSWCのみをオンした場合、ラインCおよびGNDラインで構成される経路にて通信を行うこととなる。この場合、コンパレータRmBの出力がLowとなれば、ラインCは正常であると判定できる。しかし、コンパレータRmCの出力がLowであると、ラインCは故障していると判定される。他方、コンパレータRmBにて通信が可能であると、ラインB0およびラインB2のうちいずれかが故障していると判定される。   In addition, when only the switch SWC is turned on, communication is performed through a path constituted by the line C and the GND line. In this case, if the output of the comparator RmB becomes Low, it can be determined that the line C is normal. However, if the output of the comparator RmC is Low, it is determined that the line C is faulty. On the other hand, if communication is possible with the comparator RmB, it is determined that one of the line B0 and the line B2 is out of order.

以上のように、通信システムにスレーブ2が複数備えられ、ラインB0がラインB1とラインB2とに分岐している配線形態になっていても、各配線の故障の有無を判定することができる。   As described above, even if the communication system includes a plurality of slaves 2 and the line B0 is branched into the lines B1 and B2, it is possible to determine whether there is a failure in each line.

(他の実施形態)
マスタ1が故障診断を行う場合のタイミングとしては、上記各実施形態のように、通常の通信時の他、例えば通信システムに電源が供給されたとき、あらかじめマスタ1に設定された期間ごと、外部からマスタ1への操作等の各タイミングで故障診断を行っても良い。
(Other embodiments)
As the timing when the master 1 performs the failure diagnosis, as in each of the above-described embodiments, in addition to during normal communication, for example, when power is supplied to the communication system, for each period preset in the master 1, external The failure diagnosis may be performed at each timing such as operation from the master to the master 1.

上記各実施形態で示された配線間電圧調整部4、14やGND間電圧調整部6、8、16の回路形態は一例を示すものであって、他の回路によって構成しても良い。   The circuit configurations of the inter-wiring voltage adjustment units 4 and 14 and the GND voltage adjustment units 6, 8, and 16 shown in the above embodiments are merely examples, and may be configured by other circuits.

また、スレーブ2の数や配線の分岐についても、上記各実施形態で示したものは一例であって、通信システムを用いる状況に応じて適宜変更可能である。   In addition, the number of slaves 2 and the branching of the wiring are also examples shown in the above embodiments, and can be appropriately changed according to the situation where the communication system is used.

上述のように、故障判定部10にてスレーブ2および各ラインのいずれかに故障は無いと判定された場合、GNDラインを用いずに通信を行うが、通信高負荷時は2系統で通信を行うこともできる。   As described above, when the failure determination unit 10 determines that there is no failure in either the slave 2 or each line, communication is performed without using the GND line. It can also be done.

配線間電圧調整部4、14は、スレーブで消費された消費電流を検出する手段を備えており、消費電流の大きさに応じた電位差情報を生成するものであれば、他の構成であっても構わない。すなわち、コンパレータRmNやスイッチSWN等ではなく、他のもので配線間電圧調整部4、14を構成しても良い。   The inter-wiring voltage adjustment units 4 and 14 are provided with means for detecting the consumption current consumed by the slave, and have other configurations as long as they generate potential difference information corresponding to the magnitude of the consumption current. It doesn't matter. In other words, the inter-wiring voltage adjustment units 4 and 14 may be configured by other than the comparator RmN and the switch SWN.

本発明の第1実施形態に係る通信システムのブロック図である。1 is a block diagram of a communication system according to a first embodiment of the present invention. 各スイッチおよび各コンパレータの組み合わせによる故障判定部の判定内容を表として表した図である。It is the figure which represented the determination content of the failure determination part by the combination of each switch and each comparator as a table | surface. スレーブの動きを表として示した図である。It is the figure which showed the motion of the slave as a table | surface. 本発明の第2実施形態に係る通信システムのブロック図である。It is a block diagram of the communication system which concerns on 2nd Embodiment of this invention. 第2実施形態において、各スイッチおよび各コンパレータの組み合わせによる故障判定部の判定内容を表として表した図である。In 2nd Embodiment, it is the figure which represented the determination content of the failure determination part by the combination of each switch and each comparator as a table | surface. 本発明の第3実施形態に係る通信システムのブロック図である。It is a block diagram of the communication system which concerns on 3rd Embodiment of this invention. 第3実施形態において、各スイッチおよび各コンパレータの組み合わせによる故障判定部の判定内容を表として表した図である。In 3rd Embodiment, it is the figure which represented the determination content of the failure determination part by the combination of each switch and each comparator as a table | surface.

符号の説明Explanation of symbols

1 マスタ
2 スレーブ
3 GND
4、14 配線間電圧調整部
6、8、16 GND間電圧調整部
10 故障判定部
A、B、C ライン
1 Master 2 Slave 3 GND
4, 14 Voltage adjustment unit between wirings 6, 8, 16 Voltage adjustment unit between GND 10 Failure determination unit A, B, C line

Claims (4)

マスタ(1)とスレーブ(2)との間で、複数の配線(A、B、B0、B1、B2、C)を介して電流通信を行うものであり、前記マスタおよび前記スレーブそれぞれのGND(3)に接続される前記マスタおよび前記スレーブに共通のGNDラインを有する通信システムであって、
前記マスタは、
前記複数の配線それぞれと前記GNDラインとの間に接続され、前記配線と前記GNDラインとの間に電位差をそれぞれ生じさせる複数のGND間電圧調整部(6、8、16)と、
前記各配線の間に接続され、一方の配線と他方の配線との間に電位差を生じさせる配線間電圧調整部(4、14)と、
前記GND間電圧調整部および前記配線間電圧調整部から前記電位差を生じさせているか否かの電位差情報と、前記各配線の電位を示す配線電位情報とを入力し、前記電位差情報と前記配線電位情報とに基づいて、前記スレーブおよび前記複数の配線のいずれかの故障を判定する故障判定部(10)とを備え、
前記複数の配線のうちいずれかが故障している場合、前記各電圧調整部によって、前記複数の配線のうち故障していない配線と前記GNDラインとで構成される経路を形成し、当該経路によって前記マスタと前記スレーブとの間の通信を継続するようになっていることを特徴とする通信システム。
Current communication is performed between the master (1) and the slave (2) via a plurality of wirings (A, B, B0, B1, B2, C), and the GND ( A communication system having a common GND line for the master and the slave connected to 3),
The master
A plurality of GND voltage adjusting units (6, 8, 16) connected between each of the plurality of wirings and the GND line, and generating a potential difference between the wiring and the GND line;
An inter-wiring voltage adjusting unit (4, 14) connected between the wirings and generating a potential difference between one wiring and the other wiring;
The potential difference information indicating whether or not the potential difference is generated from the GND voltage adjusting unit and the wiring voltage adjusting unit and the wiring potential information indicating the potential of each wiring are input, and the potential difference information and the wiring potential are input. A failure determination unit (10) for determining a failure of any of the slave and the plurality of wirings based on the information;
When any of the plurality of wirings is faulty, the voltage adjusting unit forms a path constituted by the wiring that is not faulty among the plurality of wirings and the GND line, and A communication system, wherein communication between the master and the slave is continued.
前記故障判定部にて前記スレーブおよび前記複数の配線のいずれかに故障は無いと判定された場合、前記GNDラインを用いずに、前記複数のGND間電圧調整部および前記複数の配線によって前記マスタと前記スレーブとの間で通信を行うようになっていることを特徴とする請求項1に記載の通信システム。   When the failure determination unit determines that there is no failure in either the slave or the plurality of wirings, the master is controlled by the plurality of GND voltage adjustment units and the plurality of wirings without using the GND line. The communication system according to claim 1, wherein communication is performed between the slave and the slave. 前記故障判定部にて前記スレーブおよび前記複数の配線のいずれかに故障は無いと判定された場合、前記GNDラインを用いずに通信を行うようになっており、通信高負荷時は2系統で通信を行うようになっていることを特徴とする請求項1または2に記載の通信システム。   When the failure determination unit determines that there is no failure in either the slave or the plurality of wirings, communication is performed without using the GND line. The communication system according to claim 1 or 2, wherein communication is performed. 前記配線間電圧調整部は、前記スレーブで消費された消費電流を検出する手段を備えており、前記消費電流の大きさに応じた電位差情報を生成するようになっていることを特徴とする請求項1ないし3のいずれか1つに記載の通信システム。   The inter-wiring voltage adjustment unit includes means for detecting current consumption consumed by the slave, and generates potential difference information corresponding to the magnitude of the current consumption. Item 4. The communication system according to any one of Items 1 to 3.
JP2007331936A 2007-12-25 2007-12-25 Communications system Expired - Fee Related JP5092733B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007331936A JP5092733B2 (en) 2007-12-25 2007-12-25 Communications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007331936A JP5092733B2 (en) 2007-12-25 2007-12-25 Communications system

Publications (2)

Publication Number Publication Date
JP2009159025A true JP2009159025A (en) 2009-07-16
JP5092733B2 JP5092733B2 (en) 2012-12-05

Family

ID=40962608

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007331936A Expired - Fee Related JP5092733B2 (en) 2007-12-25 2007-12-25 Communications system

Country Status (1)

Country Link
JP (1) JP5092733B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003304265A (en) * 2002-04-10 2003-10-24 Denso Corp Communication system
JP2004350137A (en) * 2003-05-23 2004-12-09 Denso Corp Vehicle communication system
JP2006191404A (en) * 2005-01-07 2006-07-20 Fujitsu Ten Ltd Short circuit failure detection apparatus and node device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003304265A (en) * 2002-04-10 2003-10-24 Denso Corp Communication system
JP2004350137A (en) * 2003-05-23 2004-12-09 Denso Corp Vehicle communication system
JP2006191404A (en) * 2005-01-07 2006-07-20 Fujitsu Ten Ltd Short circuit failure detection apparatus and node device

Also Published As

Publication number Publication date
JP5092733B2 (en) 2012-12-05

Similar Documents

Publication Publication Date Title
JP4967433B2 (en) Switch failure detection circuit
US7483778B2 (en) Redundant array of control devices
US7719255B2 (en) Safe input circuit with one-channel peripheral connection for the input of a bus participant
WO2015152167A1 (en) Redundant control device and system switching method
US5357491A (en) Clock selection control device
WO2018092532A1 (en) Switching circuit, failure detection method therefor, and control apparatus
US20070109958A1 (en) Network with redundancy properties, a branching unit for a user device in a network, redundancy manager for a network with redundancy properties and method for operating a network with redundancy properties
KR20210050575A (en) Control architecture for vehicles
JP5498319B2 (en) Current control device and communication system
JP5092733B2 (en) Communications system
US20080007441A1 (en) Universal input/output module
WO2013186393A1 (en) Coupling device for a data transmission network and data transmission network
CN107534594B (en) Communication device and communication system
JP5576849B2 (en) Digital output circuit with failure detection function
US20190106134A1 (en) System, in particular for controlling signal towers in rail traffic
JP2020086484A (en) Sensor information output device and vehicle control device
JP5854188B2 (en) I / O module and duplex system using the same
JP7459469B2 (en) Industrial Control Output Module
KR20160072503A (en) Apparatus and method for detecting failure in ECU
KR20200110956A (en) Redundancy system of vehicle and, apparatus and method for supplying power thereof
US9830291B2 (en) Connecting device, method for the operation thereof, and bus communication device
WO2022202387A1 (en) I/o unit
WO2023170898A1 (en) Uninterruptible power supply device
US20240129145A1 (en) Method and circuit for operating a network or network section
JP2007134906A (en) Monitor control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090707

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110916

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110927

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120207

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120405

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120821

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120903

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150928

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees