JP2007158534A - Communication system - Google Patents

Communication system Download PDF

Info

Publication number
JP2007158534A
JP2007158534A JP2005348205A JP2005348205A JP2007158534A JP 2007158534 A JP2007158534 A JP 2007158534A JP 2005348205 A JP2005348205 A JP 2005348205A JP 2005348205 A JP2005348205 A JP 2005348205A JP 2007158534 A JP2007158534 A JP 2007158534A
Authority
JP
Japan
Prior art keywords
node
communication
star
slot
abnormality notification
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
JP2005348205A
Other languages
Japanese (ja)
Inventor
Tetsuaki Wakabayashi
哲明 若林
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2005348205A priority Critical patent/JP2007158534A/en
Publication of JP2007158534A publication Critical patent/JP2007158534A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology of achieving a purpose of obtaining a fail safe function of in-vehicle LAN communication using the TDMA communication system by implementing a novel function and a novel specification to the communication protocol and the hardware. <P>SOLUTION: In the communication system for a network wherein a plurality of nodes and relay nodes each connected to each of the nodes one by one and achieving communication among the nodes, and data communication via the relay node RA among the nodes is implemented by the TDMA communication system, each cycle of a TDMA communication schedule is assigned with a plurality of communication time-slots for data communication and an abnormity notice time-slot, and the relay node A disconnects a particular node from a communication data bus on the basis of resulting received data. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、時分割多重通信システムにおいて、エラーの発生の検出と、その対応に関するものである。   The present invention relates to the detection of error occurrence and its response in a time division multiplexing communication system.

従来、Event−Trigger動作においては、各送受信ノードが自己の異常の有無を確認し、異常有りの場合には、受信エラー情報を共通バスラインにワイヤードOR接続にて出力し、通信制御主装置に通知することで障害の検出を行うこととしており、この障害検出について開示する文献も存在する(例えば、特許文献1参照。)。   Conventionally, in the event-trigger operation, each transmitting / receiving node checks whether or not there is an abnormality, and if there is an abnormality, the reception error information is output to the common bus line through a wired OR connection to the communication control main unit. A failure is detected by notification, and there is a document disclosing the failure detection (see, for example, Patent Document 1).

また、自動車の車載LANの一つであるCAN(Controller Area Network)は、前記Event−Trigger動作により情報伝達さがされることとなっており、通信方式としてCSMA/CA(Carrier Sense Multiple Access with Collision Avoidance)が採用され、受信ノードは異常検出すると、バスに対してエラーフレーム送信を行って異常通知を行い、送信ノードは前記エラーフレーム受信によって送信処理を中断し、送信リトライ処理を実行する。そして、このエラーフレーム受信の頻度によって、故障ノードをバスから切り離すバスオフ等のフェールセーフ機能が働く仕組みとなっている。   In addition, CAN (Controller Area Network), which is one of in-vehicle LANs of automobiles, is to transmit information by the Event-Trigger operation, and CSMA / CA (Carrier Sense Multiple Access Aviation) as a communication method. When the reception node detects an abnormality, it transmits an error frame to the bus to notify the abnormality, and the transmission node interrupts the transmission process by receiving the error frame and executes a transmission retry process. A fail-safe function such as a bus-off function for disconnecting the failed node from the bus is activated according to the frequency of receiving the error frame.

また、前述のCANのほか、将来的に個別制御されるセンサや、電装品のデータを連係させて、リアルタイムに統合的な車両システム制御を行うこと等を目的として、より高性能な車載LANの検討が活発に進められている。
そして、高速伝送/高信頼性を必要とする駆動走行制御系のネットワークでは、X−by−Wireシステム向けの通信としてTime−Trigger動作の通信制御が必要とされており、FlexRayプロトコル等においては、TDMA(Time Division Multiple Access)通信方式が採用されている。
In addition to the above-mentioned CAN, in order to perform integrated vehicle system control in real time by linking sensors that will be individually controlled in the future and electrical component data, etc. Consideration is actively underway.
And, in a drive traveling control network that requires high-speed transmission / high reliability, communication control of Time-Trigger operation is required as communication for the X-by-Wire system. In the FlexRay protocol, etc. A TDMA (Time Division Multiple Access) communication method is employed.

このTDMA通信方式の実現においては、ネットワークの全ノードがグローバル時間に同期して送信タイミングを図る、即ち、スケジュールする必要があり、全ノードは、ネットワーク内のある代表ノードが送信する同期frame(synch−frame)に従い、クロック補正をすることで網同期が図られるようになっている。この機能を司るものがスケジューラーと呼ばれるものである。   In the realization of this TDMA communication system, it is necessary that all nodes in the network have transmission timing synchronized with the global time, that is, it is necessary to schedule, and all nodes are synchronized frame (sync) transmitted by a representative node in the network. Network synchronization is achieved by performing clock correction according to -frame). What controls this function is called a scheduler.

そして、特に高い信頼性が要求されるネットワークにおいては、各ノードのスケジューラーの正常性を監視するための手段として、バスガーディアン機能が装備されることがある。
このバスガーディアン機能は、送信タイミングを図るスケジューリング機能を別ブロックで実施することでネットワークへの誤送信を阻止するものであり、データのコリジョンが許容されない通信プロトコルの保護機能、即ち、通信監視部の役割を果たすものである。
特開平5−145556号公報
In a network that requires particularly high reliability, a bus guardian function may be provided as a means for monitoring the normality of the scheduler of each node.
This bus guardian function prevents the erroneous transmission to the network by implementing a scheduling function for the transmission timing in a separate block, and is a protection function of a communication protocol in which data collision is not allowed, that is, a communication monitoring unit It plays a role.
JP-A-5-145556

しかし、前述のバスガーディアン機能が対応できるのは、物理層以上の通信コントローラレベルでの障害であり、物理層がハード的に故障した場合や、本来の通信コントローラ処理部であるスケジューラーと、通信監視部であるバスガーディアン機能にて二重障害が発生した場合等では、正常なノード間での通信を保護する手立てがなく、信頼性の観点から非常に大きな問題となる。
さらに、このバスガーディアン機能は、各ノードにスケジューラーを装備する必要があり、コスト的なリスクが大きい割には信頼性が十分に確保できないという結果になる。
However, the above-mentioned bus guardian function can handle failures at the communication controller level higher than the physical layer. If the physical layer fails in hardware, communication monitoring with the scheduler that is the original communication controller processing unit is possible. In the case where a double failure occurs in the bus guardian function as a part, there is no way to protect communication between normal nodes, which is a very big problem from the viewpoint of reliability.
Furthermore, this bus guardian function requires that each node be equipped with a scheduler, and as a result, sufficient reliability cannot be ensured for a large cost risk.

また、前述のTDMA通信方式においては、各ノードがTime−Trigger動作で情報伝達を実行するために、frameを送信するタイミング(time−slot)が固定されており、受信ノードは異常検出しても送信ノードへ通信する方法がない。つまり、故障ノードをバスから切り離すためのフェールセーフ機能が実装されていないこととなっている。   Further, in the above-described TDMA communication method, since each node executes information transmission by the Time-Trigger operation, the timing (time-slot) at which the frame is transmitted is fixed, and even if the receiving node detects an abnormality. There is no way to communicate to the sending node. That is, the fail-safe function for disconnecting the failed node from the bus is not implemented.

そこで、本発明は、TDMA通信方式を用いた車載LAN通信のフェールセーフ機能の実現を目的として、通信プロトコルとハードウェアに新規な機能、仕様をインプリメントすることで、前記目的を達成することを提案するものである。   Therefore, the present invention proposes to achieve the above object by implementing new functions and specifications in the communication protocol and hardware for the purpose of realizing a fail-safe function of in-vehicle LAN communication using the TDMA communication method. To do.

本発明の解決しようとする課題は以上のごとくであり、次にこの課題を解決するための手段を説明する。   The problem to be solved by the present invention is as described above. Next, means for solving the problem will be described.

即ち、請求項1に記載のごとく、
複数のノードと、
前記複数の各ノードと1対1で接続され、前記各ノードを終端するとともに、内部の通信データバスを介して前記各ノード間での通信を実現する中継ノードが在り、
前記各ノード間における前記中継ノードを介したデータ通信が、TDMA通信方式にて行われるネットワークの通信システムであって、
TDMA通信スケジュールの各サイクルには、
データ通信を行うための複数の通信用time−slotと、
異常通知用time−slotが割り当てられ、
前記各通信用time−slotのタイミングでは、
或る送信ノードからの送信データが前記中継ノードを介して送信され、
前記異常通知用time−slotのタイミングでは、
前記各ノードにて行われる受信データのエラーチェックの結果データが、前記各ノードから前記中継ノードにそれぞれ送信されるものとし、
前記中継ノードは、受信した前記結果データに基づいて、
特定の或るノードを、前記通信データバスから切り離すものとする。
That is, as described in claim 1,
Multiple nodes,
There is a relay node that is connected to each of the plurality of nodes in a one-to-one manner, terminates the nodes, and realizes communication between the nodes via an internal communication data bus.
A network communication system in which data communication between the nodes via the relay node is performed by a TDMA communication method,
Each cycle of the TDMA communication schedule includes
A plurality of communication time-slots for performing data communication;
An abnormality notification time-slot is assigned,
At the timing of each communication time-slot,
Transmission data from a certain transmission node is transmitted via the relay node,
At the timing of the abnormality notification time-slot,
The result data of the error check of the received data performed at each node shall be transmitted from each node to the relay node, respectively.
The relay node is based on the received result data,
It is assumed that a certain node is disconnected from the communication data bus.

また、請求項2に記載のごとく、
前記各ノードには、
前記各通信用time−slotで受信する受信データのエラーチェックを行う機能と、
前記異常通知用time−slotのタイミングに、前記エラーチェックの結果データを前記中継ノードに送信する機能が設けられ、
前記中継ノードには、
前記通信データバスと前記各ノードの間にそれぞれ設けられ、前記各ノードを前記通信データバスから切り離す機能を有する閉塞処理機能部と、
前記各閉塞処理機能部と制御信号バスを介して接続されるスターコントローラが設けられ、
前記スターコントローラは、
前記結果データに基づいて、或るノードについてのエラーが閾値を超えた場合には、
前記或るノードを、前記或るノードが接続される前記閉塞処理機能部によって、前記通信データバスから切り離すこととする。
Moreover, as described in claim 2,
Each of the nodes includes
A function of performing an error check on received data received in each communication time-slot;
A function of transmitting the result data of the error check to the relay node at the timing of the abnormality notification time-slot;
The relay node includes
A block processing function unit provided between the communication data bus and each node, and having a function of disconnecting each node from the communication data bus;
A star controller connected to each blockage processing function unit via a control signal bus is provided,
The star controller is
Based on the result data, if an error for a certain node exceeds a threshold,
The certain node is separated from the communication data bus by the blocking processing function unit to which the certain node is connected.

また、請求項3に記載のごとく、
前記結果データは、
前記各通信用time−slotにおける受信データについてのエラーの有無を、エラー有り「1」、エラー無し「0」として表現されるbit列であり、
前記スターコントローラには、
前記各ノードから受信する結果データの「1」の数を、各ノードについてカウントする異常検出カウンタが設けられ、
前記スターコントローラは、
前記異常検出カウンタの或るノードについての値が閾値TH1を超えた場合には、
前記ノードを、前記ノードが接続される前記閉塞処理機能部によって、前記通信データバスから切り離すこととする。
Moreover, as described in claim 3,
The result data is
A bit string representing whether or not there is an error in the received data in each communication time-slot as “1” with error and “0” without error,
In the star controller,
An abnormality detection counter that counts the number of “1” of the result data received from each node for each node is provided,
The star controller is
When the value of a certain node of the abnormality detection counter exceeds a threshold value TH1,
The node is separated from the communication data bus by the blocking processing function unit to which the node is connected.

また、請求項4に記載のごとく、
前記スターコントローラには、
前記各ノードから受信する結果データの「1」の数を、各通信用time−slotについてカウントする異常通知カウンタが設けられ、
前記スターコントローラは、
前記異常通知カウンタの或る通信用time−slotについての値が閾値TH3を超えた場合には、
前記或る通信用time−slotにおいて送信ノードとされているノードを、
当該ノードが接続される前記閉塞処理機能部によって、前記通信データバスから切り離すこととする。
Moreover, as described in claim 4,
In the star controller,
An abnormality notification counter that counts the number of result data “1” received from each node for each communication time-slot is provided,
The star controller is
When the value for a certain communication time-slot of the abnormality notification counter exceeds a threshold TH3,
A node that is a transmission node in the certain communication time-slot,
The block processing function unit to which the node is connected is disconnected from the communication data bus.

また、請求項5に記載のごとく、
前記複数のノードと、
前記中継ノードから構成されるスターが複数あって、
前記各中継ノード同士が通信接続されるネットワークの通信システムであって、
前記各スターの各中継ノードには、
前記通信データバスと接続されるとともに、
他のスターの中継ノードと接続される対向スター通信機能部が設けられ、
或るスターの中継ノードの前記スターコントローラにおいて、
前記異常通知カウンタの或る通信用time−slotのカウンタ値が閾値TH2を超えた場合であって、その或る通信用time−slotにおいて送信ノードとされているノードが、他のスターの配下である場合には、
前記スターの前記スターコントローラは、前記対向スター通信機能部を介し、前記スターの前記スターコントローラに対し、異常通知フラグを前記異常通知用time−slotのタイミングで通知し、
前記スターの前記スターコントローラは、前記或る通信用time−slotについての異常通知カウンタのカウンタ値に、前記閾値TH2を加算し、
加算後の異常通知カウンタのカウンタ値が、前記閾値TH3を超えた場合には、
前記或る通信用time−slotにおいて送信ノードとされているノードを、
当該ノードが接続される前記閉塞処理機能部によって、前記通信データバスから切り離すこととする。
Moreover, as described in claim 5,
The plurality of nodes;
There are multiple stars composed of the relay nodes,
A network communication system in which the relay nodes are connected to each other,
In each relay node of each star,
Connected to the communication data bus,
An opposing star communication function unit connected to other star relay nodes is provided,
In the star controller of a relay node of a star,
When a counter value of a certain communication time-slot of the abnormality notification counter exceeds a threshold value TH2, a node that is a transmission node in the certain communication time-slot is under the control of another star. If there is
The star controller of the star notifies the star controller of the star via the opposing star communication function unit of an abnormality notification flag at the timing of the abnormality notification time-slot,
The star controller of the star adds the threshold value TH2 to the counter value of the abnormality notification counter for the certain communication time-slot,
When the counter value of the abnormality notification counter after addition exceeds the threshold value TH3,
A node that is a transmission node in the certain communication time-slot,
The block processing function unit to which the node is connected is disconnected from the communication data bus.

また、請求項6に記載のごとく、
前記スター間での異常通知用time−slotにおける異常通知フラグの送信は、
前記異常通知フラグの送信に関するTDMA通信スケジュールの各サイクルの異常通知用time−slotの利用が、
各スターについて順番に割り当てられることで、
或るスターから他のスター、他のスターから或るスターへの異常通知フラグの送信が、順次行われるようにする。
Moreover, as described in claim 6,
The transmission of the abnormality notification flag in the abnormality notification time-slot between the stars is as follows.
Use of the abnormality notification time-slot of each cycle of the TDMA communication schedule related to transmission of the abnormality notification flag is as follows.
By assigning each star in turn,
Transmission of an abnormality notification flag from a certain star to another star and from another star to a certain star is sequentially performed.

本発明では、中継ノードが、異常に関連するノードを通信データバスから切り離す、即ち、バスオフ機能を有することになり、TDMA通信による通信システムにおいてフェールセーフ機能を実現することができ、より高品質なネットワークの確保が可能となる。
また、既存のTDMA通信プロトコルとハードウェアに新規な機能、仕様をインプリメントすることで、TDMA通信方式を用いた車載LAN通信のフェールセーフ機能を実現することができる。
In the present invention, the relay node disconnects the node related to the abnormality from the communication data bus, that is, has a bus-off function, can realize a fail-safe function in a communication system using TDMA communication, and can achieve higher quality. A network can be secured.
Further, by implementing new functions and specifications in the existing TDMA communication protocol and hardware, a fail-safe function for in-vehicle LAN communication using the TDMA communication method can be realized.

本実施例の通信システムは、
図1及び図2に示すごとく、
複数のノード#A−1〜#A−4と、
前記複数の各ノード#A−1〜#A−4と1対1で接続され、前記各ノード#A−1〜#A−4を終端するとともに、内部の通信データバス10Aを介して前記各ノード#A−1〜#A−4間での通信を実現する中継ノードRAが在り、
前記各ノード#A−1〜#A−4間における前記中継ノードRAを介したデータ通信が、
TDMA通信方式にて行われるネットワークの通信システムであって、
図3乃至図5に示すごとく、
TDMA通信スケジュールの各サイクルには、
データ通信を行うための複数の通信用time−slot(slot#0〜slot#7)と、
異常通知用time−slot(slot#8)が割り当てられ、
前記各通信用time−slotのタイミングでは、
或る送信ノードからの送信データが前記中継ノードRAを介して送信され、
前記異常通知用time−slotのタイミングでは、
前記各ノード#A−1〜#A−4にて行われる受信データのエラーチェックの結果データKDが、前記各ノード#A−1〜#A−4から前記中継ノードRAにそれぞれ送信されるものとし、
前記中継ノードRAは、受信した前記結果データKDに基づいて、
特定の或るノード#A−1〜#A−4を、前記通信データバス10Aから切り離すものである。
The communication system of this embodiment is
As shown in FIG. 1 and FIG.
A plurality of nodes # A-1 to # A-4;
The nodes # A-1 to # A-4 are connected in a one-to-one relationship, terminate the nodes # A-1 to # A-4, and each of the nodes via an internal communication data bus 10A. There is a relay node RA that realizes communication between the nodes # A-1 to # A-4,
Data communication via the relay node RA between the nodes # A-1 to # A-4
A communication system of a network performed by a TDMA communication method,
As shown in FIGS.
Each cycle of the TDMA communication schedule includes
A plurality of communication time-slots (slot # 0 to slot # 7) for data communication;
An abnormality notification time-slot (slot # 8) is assigned,
At the timing of each communication time-slot,
Transmission data from a certain transmission node is transmitted via the relay node RA,
At the timing of the abnormality notification time-slot,
Result data KD of received data error check performed at each of the nodes # A-1 to # A-4 is transmitted from the nodes # A-1 to # A-4 to the relay node RA, respectively. age,
The relay node RA is based on the received result data KD,
Certain nodes # A-1 to # A-4 are disconnected from the communication data bus 10A.

以上の構成では、中継ノードRAが、異常に関連するノード#A−1〜#A−4を通信データバス10Aから切り離す、即ち、バスオフ機能を有することになり、TDMA通信による通信システムにおいてフェールセーフ機能を実現することができ、より高品質なネットワークの確保が可能となる。   In the above configuration, the relay node RA disconnects the nodes # A-1 to # A-4 related to the abnormality from the communication data bus 10A, that is, has a bus-off function. Functions can be realized, and a higher quality network can be secured.

また、従来のTDMA通信スケジュールの概念において、例えば、FlexRayプロトコルの場合では、Symbol−windowとして割り当てられ、定常的には利用されることがないtime−slotを、異常通知用time−slotとして利用することで、本実施例を実施することができる。
つまり、既存のプロトコルに対して親和性が高く、本実施例の実施に際しては、既存技術からの変更差分が少なくて済むことになる。
Further, in the concept of the conventional TDMA communication schedule, for example, in the case of the FlexRay protocol, a time-slot assigned as a symbol-window and not regularly used is used as a time-slot for abnormality notification. Thus, this embodiment can be implemented.
That is, it has a high affinity for the existing protocol, and when the present embodiment is implemented, the change difference from the existing technology can be reduced.

また、FlexRayプロトコルに関連するX−by−Wireアプリケーションに適用するTDMA通信システムにおいては、広帯域伝送であるため、電気的特性を満足するための中継ノード(スター機構)が必要とされるものであるが、この中継ノードへの追加機能として前述のフェールセーフ機能を実装できるので、通信主体となる各ノード#A−1〜#A−4側にバスオフの機能を持たせる構成(各ノード#A−1〜#A−4で対処する方式)と比較すると、ハードウェアとしてのコストの低減化を図ることができる。   In addition, in the TDMA communication system applied to the X-by-Wire application related to the FlexRay protocol, since it is broadband transmission, a relay node (star mechanism) for satisfying electrical characteristics is required. However, since the fail-safe function described above can be implemented as an additional function to this relay node, a configuration in which each node # A-1 to # A-4 serving as a communication entity has a bus-off function (each node # A- 1) to # A-4, the cost as hardware can be reduced.

以下、各構成の詳細、実施形態について説明する。
図1に示すごとく、本実施例は、複数のノード#A−1〜#A−4と、前記複数の各ノード#A−1〜#A−4と1対1で接続される中継ノードRAからスターAが構成されるネットワークへの適用を考慮したものである。
また、図1の構成では、複数のノード#A−1〜#A−4/#B−1〜#B−4と、中継ノードRA・RBからそれぞれ構成されるスターA・Bにて構成されている。
Hereinafter, details of each configuration and embodiments will be described.
As shown in FIG. 1, in this embodiment, a plurality of nodes # A-1 to # A-4 and a relay node RA connected to each of the plurality of nodes # A-1 to # A-4 on a one-to-one basis. In consideration of application to a network in which star A is configured.
In addition, the configuration of FIG. 1 includes a plurality of nodes # A-1 to # A-4 / # B-1 to # B-4 and stars A and B each composed of relay nodes RA and RB. ing.

また、図3に示すごとく、TDMA通信スケジュールにおいては、各サイクルにおいて、前記ノード数(スターA・Bで合計8個)の通信用time−slot(slot#0〜#7)と、異常通知用time−slot(slot#8)が割り当てられている。
また、図3に示すごとく、各サイクルの通信用time−slotは、
slot#0:ノード#A−1→ノード#B−1
slot#1:ノード#B−1→ノード#A−1
slot#2:ノード#A−2→ノード#B−2
slot#3:ノード#B−2→ノード#A−2
slot#4:ノード#A−3→ノード#B−3
slot#5:ノード#B−3→ノード#A−3
slot#6:ノード#A−4→ノード#B−4
slot#7:ノード#B−4→ノード#A−4
のように、各通信用time−slotにおいて、或る特定のノードが送信ノードとなり、他の特定のノードに向けてのデータ通信が実施される。
Further, as shown in FIG. 3, in the TDMA communication schedule, in each cycle, the number of nodes for communication (slots # 0 to # 7) for the number of nodes (a total of eight stars A and B) and abnormality notifications are used. time-slot (slot # 8) is assigned.
Moreover, as shown in FIG. 3, the time-slot for communication in each cycle is
slot # 0: node # A-1 → node # B-1
slot # 1: node # B-1 → node # A-1
slot # 2: node # A-2 → node # B-2
slot # 3: node # B-2 → node # A-2
slot # 4: node # A-3 → node # B-3
slot # 5: node # B-3 → node # A-3
slot # 6: node # A-4 → node # B-4
slot # 7: node # B-4 → node # A-4
As described above, in each communication time-slot, a specific node becomes a transmission node, and data communication toward another specific node is performed.

また、各通信用time−slotにおける送信データは、特定のノードの他、ネットワーク内においてデータがブロードャストされ、通信用time−slotにおいて受信ノードとされているノードの他のノードにおいても、データが受信される。各ノードにおいては、受信データのエラーチェック後、受信データが自ノード宛であるか否かを判断し、自ノード宛である場合は、そのデータを取り込む。   In addition, the transmission data in each communication time-slot is received by other nodes than the specific node, the data being broadcast in the network, and the node that is the receiving node in the communication time-slot. Is done. In each node, after checking the error of the received data, it is determined whether the received data is addressed to the own node. If the received data is addressed to the own node, the data is fetched.

また、図3に示すごとく、前記TDMA通信スケジュールにおいて、異常通知用time−slotは、各サイクルの最後にある通信用time−slotの次に割り当てられている。
また、図5に示すごとく、前記異常通知用time−slotは、前記通信用time−slot(ネットワークのノード数(中継ノードを除く))と同数に分割、即ち、#0〜#7で8分割されており、それぞれ、異常通知用time−slot#0〜#7として割り当てられている。
Further, as shown in FIG. 3, in the TDMA communication schedule, the abnormality notification time-slot is allocated next to the communication time-slot at the end of each cycle.
Further, as shown in FIG. 5, the abnormality notification time-slot is divided into the same number as the communication time-slot (the number of nodes in the network (excluding relay nodes)), that is, divided into 8 by # 0 to # 7. Are assigned as abnormality notification time-slots # 0 to # 7, respectively.

また、図4に示すごとく、異常通知用time−slotでは、各ノード#A−1〜#A−4から中継ノードRA、各ノード#B−1〜#B−4から中継ノードRBへと、それぞれ、後述するエラーチェックの結果データKDが送信される。また、この異常通知用time−slotでは、前記各中継ノードRA・RBは、それぞれ、各ノードを終端することとなるため、前記結果データKDは、中継ノードRA・RB内に収容されることになる。   Also, as shown in FIG. 4, in the abnormality notification time-slot, from each node # A-1 to # A-4 to the relay node RA, from each node # B-1 to # B-4 to the relay node RB, In each case, error check result data KD described later is transmitted. Further, in this abnormality notification time-slot, each relay node RA / RB terminates each node, so that the result data KD is accommodated in the relay node RA / RB. Become.

また、図1に示す前記各ノード#A−1〜#A−4/#B−1〜#B−4には、それぞれ、TDMA通信スケジュールの通信用time−slotで受信する受信データのエラーチェックを行う機能が設けられている。
また、このエラーチェックは、各通信用time−slotで受信した有効データに対してFCS−Check(フレーム・チェック・シーケンス・チェック)を実行して、受信データの正常性判定を実施するものである。
Further, each of the nodes # A-1 to # A-4 / # B-1 to # B-4 shown in FIG. 1 checks the error of the received data received in the communication time-slot of the TDMA communication schedule. There is a function to do this.
Also, this error check is to perform normality determination of received data by executing FCS-Check (frame check sequence check) on valid data received in each communication time-slot. .

また、このエラーチェックの結果は、図6に示すごとくであり、例えば、サイクル#1のノード#A−1については、「00100010」のビット列で表される。このビット列は、通信用time−slotの順番に対応して、エラー検出された通信用time−slotについて「1」、エラー検出されなかった通信用time−slotを「0」のビットで表すこととしており、「00100010」である場合では、通信用time−slot#2・#6の受信データでエラー検出され、その他の通信用time−slotの受信データは正常であるものとされる。   The result of this error check is as shown in FIG. 6. For example, the node # A- 1 in cycle # 1 is represented by a bit string “00100010”. This bit string is represented by “1” for the communication time-slot in which the error is detected and “0” for the communication time-slot in which no error is detected, corresponding to the order of the communication time-slot. In the case of “00100010”, an error is detected in the reception data of communication time-slots # 2 and # 6, and the reception data of other communication time-slots is assumed to be normal.

また、前記各ノード#A−1〜#A−4/#B−1〜#B−4には、図4に示すごとく、それぞれ、各通信用time−slotにおけるエラーチェックの結果のビット列を結果データKDとして、前記異常通知用time−slotのタイミングで中継ノードRA/RBへと送信する機能が設けられている。この結果データKDは、前述のごとく、前記各通信用time−slotにおける受信データについてのエラーの有無を、エラー有り「1」、エラー無し「0」として表現されるビット列である。
尚、このノード#A−1〜#A−4は、車載LANにおいては、ECU(電子制御ユニット)といわれる機能・構成を具備するものである。
Further, as shown in FIG. 4, each of the nodes # A-1 to # A-4 / # B-1 to # B-4 receives a bit string as a result of an error check in each communication time-slot. A function of transmitting data KD to the relay node RA / RB at the timing of the abnormality notification time-slot is provided. As described above, the result data KD is a bit string in which the presence / absence of an error in the received data in each communication time-slot is expressed as “1” with error and “0” without error.
The nodes # A-1 to # A-4 have a function and configuration called an ECU (electronic control unit) in the in-vehicle LAN.

そして、図4に示すごとく、前記異常通知用time−slotでは、前記各ノード#A−1〜#A−4/#B−1〜#B−4にて行われる受信データのエラーチェックの結果データKDが、前記各ノード#A−1〜#A−4/#B−1〜#B−4から前記中継ノードRA/RBにそれぞれ送信される。   As shown in FIG. 4, in the abnormality notification time-slot, the result of the error check of the received data performed at each of the nodes # A-1 to # A-4 / # B-1 to # B-4. Data KD is transmitted from each of the nodes # A-1 to # A-4 / # B-1 to # B-4 to the relay node RA / RB.

また、図2に示すごとく、前記中継ノードRA・RBは、それぞれ、前記各ノード#A−1〜#A−4/#B−1〜#B−4を終端するとともに、内部の通信データバス10A・10Bを介して前記各ノード#A−1〜#A−4、#B−1〜#B−4間での通信を実現すべく構成されている。   Further, as shown in FIG. 2, the relay nodes RA and RB each terminate the nodes # A-1 to # A-4 / # B-1 to # B-4 and have an internal communication data bus. 10A and 10B are configured to realize communication between the nodes # A-1 to # A-4 and # B-1 to # B-4.

また、図2に示すごとく、スターAにつき、前記中継ノードRAには、前記通信データバス10Aと前記各ノード#A−1〜#A−4の間にそれぞれ設けられ、前記各ノード#A−1〜#A−4を前記通信データバス10Aから切り離す機能を有する閉塞処理機能部#C−1〜#C−4が設けられる。この閉塞処理機能部#C−1〜#C−4については、スターBの中継ノードRBにおいても同様である。   Further, as shown in FIG. 2, for the star A, the relay node RA is provided between the communication data bus 10A and each of the nodes # A-1 to # A-4, and each of the nodes # A- Blocking processing function units # C-1 to # C-4 having a function of disconnecting 1 to # A-4 from the communication data bus 10A are provided. The same applies to the blocking processing function units # C-1 to # C-4 in the relay node RB of the star B.

また、図2に示すごとく、スターAにつき、前記中継ノードRAには、前記各閉塞処理機能部#C−1〜#C−4と制御信号バス11Aを介して接続されるスターコントローラSAが設けられており、前記各閉塞処理機能部#C−1〜#C−4は、スターコントローラSAからの指令によって、それぞれ、前述のノード#A−1〜#A−4の通信データバス10Aからの切り離しの機能を実行する。このスターコントローラSAと制御信号バス11Aについては、スターBの中継ノードRBにおいても同様である。   Further, as shown in FIG. 2, for the star A, the relay node RA is provided with a star controller SA connected to the block processing function units # C-1 to # C-4 via the control signal bus 11A. The block processing function units # C-1 to # C-4 are connected to the communication data bus 10A of the nodes # A-1 to # A-4, respectively, according to a command from the star controller SA. Perform the detach function. The same applies to the star controller SA and the control signal bus 11A in the relay node RB of the star B.

また、図2に示すごとく、前記スターコントローラSA・SBは、前記結果データKDに基づいて、自配下の或るノードについてのエラーが閾値を超えた場合には、前記或るノードを、前記或るノードが接続される前記閉塞処理機能部によって、前記通信データバス10Aから切り離すこととするものである。
例えば、中継ノードRAのスターコントローラSAにおいて、自配下にあるノード#A−1についてのエラーが閾値を超えた場合には、前記閉塞処理機能部#C−1によって、ノード#A−1を通信データバス10Aから切り離すものである。
In addition, as shown in FIG. 2, the star controller SA / SB determines that the certain node is the one or more when the error of a certain node under its control exceeds a threshold based on the result data KD. The block processing function unit to which the node to be connected is disconnected from the communication data bus 10A.
For example, in the star controller SA of the relay node RA, when the error for the node # A-1 under its control exceeds a threshold, the block processing function unit # C-1 communicates the node # A-1 It is separated from the data bus 10A.

また、前記スターコントローラSAにおけるエラーの閾値の取扱に関し、図6に示すごとく、前記スターコントローラSAには、前記各ノード#A−1〜#A−4から受信する結果データKDの「1」の数を、各ノードについてカウントする異常検出カウンタDCが設けられている(図において水平方向の「1」の個数をカウントする)。
そして、前記スターコントローラSAは、各サイクルについて各ノード#A−1〜#A−4から送信されてくる結果データKDの「1」の数を、前記異常検出カウンタDCにより累積してカウントし、前記異常検出カウンタDCの或るノード(例えば、#A−1)についての値が閾値TH1を超えた場合には、前記ノード(#A−1)を、前記ノード(#A−1)が接続される前記閉塞処理機能部(#C−1)によって、前記通信データバス10Aから切り離すこととしている。
Further, regarding the handling of the error threshold value in the star controller SA, as shown in FIG. 6, the star controller SA has “1” of the result data KD received from the nodes # A-1 to # A-4. An abnormality detection counter DC that counts the number of each node is provided (counting the number of “1” in the horizontal direction in the figure).
Then, the star controller SA counts the number of “1” s of the result data KD transmitted from the nodes # A-1 to # A-4 for each cycle by the abnormality detection counter DC, When the value of a certain node (for example, # A-1) of the abnormality detection counter DC exceeds a threshold value TH1, the node (# A-1) is connected to the node (# A-1). The blockage processing function unit (# C-1) is disconnected from the communication data bus 10A.

前記異常検出カウンタDCは、図6に示すごとく、例えば、サイクル#1でのノード#A−1からの結果データKDのビット列は、「00100010」であり、「1」の数が2個あるため、「2」(10進数)としてカウントする。また、次のサイクル#2では、ノード#1についての結果データKD「00110110」の「1」の数が4個あり、既に計上したサイクル#1でのカウント「2」に、サイクル#2での「1」の個数4が加算され、異常検出カウンタDCにおいては、カウンタ値「6」として計上される。
尚、この異常検出カウンタDCは、スターBの中継ノードRBのスターコントローラSBにおいても同様の構成とされる。
In the abnormality detection counter DC, for example, the bit string of the result data KD from the node # A-1 in cycle # 1 is “00100010” and there are two “1” s as shown in FIG. , “2” (decimal number). Further, in the next cycle # 2, the number of “1” s in the result data KD “00110110” for the node # 1 is four, and the count “2” in the already counted cycle # 1 is added to the cycle # 2. The number 4 of “1” is added and counted as a counter value “6” in the abnormality detection counter DC.
The abnormality detection counter DC has the same configuration in the star controller SB of the relay node RB of the star B.

そして、このように計上される異常検出カウンタDCのカウンタ値が、閾値TH1を超えた場合には、該当するノードについて、通信データバス10Aからの切り離しを行うものである。
図7は、サイクル#1〜サイクル#nにおける異常検出カウンタDCによるカウンタ値の変化ついて示すものであり、サイクル#nにおいて、スターAのノード#A−1については、カウンタ値が「26」となっている。そして、前記閾値TH1を「25」として設定している場合では、カウンタ値「26」の値が、閾値TH1「25」を超えたことになるので、中継ノードRAのスターコントローラSAは、ノード#A−1を通信データバス10Aから切り離すものである。
Then, when the counter value of the abnormality detection counter DC counted in this way exceeds the threshold value TH1, the corresponding node is disconnected from the communication data bus 10A.
FIG. 7 shows a change in the counter value by the abnormality detection counter DC in cycle # 1 to cycle #n. In cycle #n, the counter value of node # A-1 of star A is “26”. It has become. When the threshold value TH1 is set as “25”, the value of the counter value “26” exceeds the threshold value TH1 “25”. Therefore, the star controller SA of the relay node RA determines the node # A-1 is disconnected from the communication data bus 10A.

ここで、異常検出カウンタDCのカウンタ値は、ノード#A−1においてエラーが検出された回数(図7の例では、「26」)を計上するものであり、ノード#A−1では、このカウンタ値だけエラーが検出されたということになる。
そして、このエラーの検出が閾値TH1(図7の例では「25」)を超えた場合には、前記スターコントローラSAでは、該当するノード#A−1ではエラー検出が多発しており、このエラー検出は誤検出であるものと推定し、該当するノード#A−1を故障であると判断するものである。
以上のように、各ノードからのエラーチェックの結果に基づいて、各ノードについてのエラー回数を診断することで、異常が発生している(正常なエラーチェックが行われていない)と推定されるノードの切り離しを行うものである。
Here, the counter value of the abnormality detection counter DC counts the number of times an error is detected in the node # A-1 (“26” in the example of FIG. 7). This means that an error has been detected for the counter value.
If this error detection exceeds the threshold value TH1 (“25” in the example of FIG. 7), the star controller SA frequently detects errors in the corresponding node # A-1, and this error The detection is presumed to be a false detection, and the corresponding node # A-1 is determined to be a failure.
As described above, it is estimated that an abnormality has occurred (normal error check has not been performed) by diagnosing the number of errors for each node based on the result of error check from each node. The node is disconnected.

また、前記スターコントローラSAにおけるエラーの閾値の取扱に関し、図6に示すごとく、前記スターコントローラSAには、前記各ノードから受信する結果データKDの「1」の数を、各通信用time−slotについてカウントする異常通知カウンタTCが設けられている(図において垂直方向の「1」の個数をカウントする)。
そして、前記スターコントローラSAは、各サイクルについて各ノード#A−1〜#A−4から送信されてくる結果データKDの「1」の数を、通信用time−slot毎で前記異常通知カウンタTCにより累積してカウントし、前記異常通知カウンタTCの或る通信用time−slotについての値が閾値TH3を超えた場合には、前記或る通信用time−slotにおいて送信ノードとされているノード(例えば、#A−1)を、当該ノード(#A−1)が接続される前記閉塞処理機能部(#C−1)によって、前記通信データバス10Aから切り離すこととしている。
Further, regarding the handling of the error threshold value in the star controller SA, as shown in FIG. 6, the star controller SA stores the number of “1” in the result data KD received from each node as the time-slot for each communication. An abnormality notification counter TC is provided for counting the number of “1” in the vertical direction in the figure).
Then, the star controller SA calculates the number of “1” s of the result data KD transmitted from the nodes # A-1 to # A-4 for each cycle for each communication time-slot. If the value of the abnormality notification counter TC for a certain communication time-slot exceeds a threshold value TH3, the node (the transmission node in the certain communication time-slot) ( For example, # A-1) is separated from the communication data bus 10A by the blocking processing function unit (# C-1) to which the node (# A-1) is connected.

前記異常通知カウンタTCは、図6に示すごとく、例えば、サイクル#1の通信用time−slot#2における「1」の数が2個あるため、「2」(10進数)としてカウントする。また、次のサイクル#2では、通信用time−slot#2における「1」の数が2個あり、既に計上したサイクル#1でのカウント「2」に、サイクル#2での「1」の個数2が加算され、異常通知カウンタTCにおいては、カウンタ値「4」として計上される。
尚、この異常通知カウンタTCは、スターBの中継ノードRBのスターコントローラSBにおいても同様の構成とされる。
As shown in FIG. 6, the abnormality notification counter TC counts as “2” (decimal number) because there are two “1” s in the communication time-slot # 2 in cycle # 1, for example. In the next cycle # 2, there are two “1” s in the communication time-slot # 2, and the count “2” in cycle # 1 that has already been accounted for is “1” in cycle # 2. The number 2 is added and counted as a counter value “4” in the abnormality notification counter TC.
This abnormality notification counter TC has the same configuration in the star controller SB of the relay node RB of the star B.

そして、このように計上される異常通知カウンタTCのカウンタ値が、閾値TH3を超えた場合には、該当するノードについて、通信データバス10Aからの切り離しを行うものである。
図8は、サイクル#1〜サイクル#nにおける異常通知カウンタTCによるカウンタ値の変化ついて示すものであり、サイクル#nにおいて、スターAの通信用time−slot#6については、カウンタ値が「51」となっている。そして、前記閾値TH3を「50」として設定している場合では、カウンタ値「51」の値が、閾値TH3「50」を超えたことになるので、中継ノードRAのスターコントローラSAは、通信用time−slot#6において送信ノードとされているノード#A−4を通信データバス10Aから切り離すものである。
Then, when the counter value of the abnormality notification counter TC thus counted exceeds the threshold value TH3, the corresponding node is disconnected from the communication data bus 10A.
FIG. 8 shows the change of the counter value by the abnormality notification counter TC in cycle # 1 to cycle #n. In cycle #n, the counter value is “51” for communication time-slot # 6 of star A. " When the threshold value TH3 is set to “50”, the value of the counter value “51” exceeds the threshold value TH3 “50”, so that the star controller SA of the relay node RA The node # A-4, which is the transmission node in time-slot # 6, is disconnected from the communication data bus 10A.

ここで、異常通知カウンタTCのカウンタ値は、通信用time−slot#6においてエラーが検出された回数(図8の例では、「51」)を計上するものであり、ノード#A−4から送信されたデータは、受信側ノード(ノード#A−4も含む)にて、合計してカウンタ値だけエラーが検出されたということになる。
そして、このエラーの検出が閾値TH3(図8の例では「50」)を超えた場合には、前記スターコントローラSAでは、該当するノード#A−4から送信されるデータは、各ノードによるエラーチェックによってエラーが検出される回数が多く、ノード#A−4から送信されるデータは正常でないものと推定し、該当するノード#A−4を故障であると判断するものである。
以上のように、各通信用time−slotについてのエラーチェックの結果に基づいて、各通信用time−slotについてのエラー回数を診断することで、異常が発生している(異常なデータを送信している)と推定されるノードの切り離しを行うものである。
Here, the counter value of the abnormality notification counter TC counts the number of times an error is detected in the communication time-slot # 6 (“51” in the example of FIG. 8). In the transmitted data, the receiving side node (including the node # A-4) adds up to detect the error by the counter value in total.
If this error detection exceeds a threshold TH3 (“50” in the example of FIG. 8), the star controller SA transmits data transmitted from the corresponding node # A-4 to the error by each node. An error is detected many times by the check, and it is estimated that the data transmitted from the node # A-4 is not normal, and the corresponding node # A-4 is determined to be faulty.
As described above, an abnormality has occurred by diagnosing the number of errors for each communication time-slot based on the result of the error check for each communication time-slot (transmitting abnormal data). Node that is estimated to be separated).

また、前記異常通知カウンタTCに関し、図1及び図2に示すごとく、前記複数のノード#A−1〜#A−4/#B−1〜#B−4と、前記中継ノードRA・RBから構成されるスターA・Bが複数あって、前記各中継ノードRA・RB同士が通信接続されるネットワークの通信システムにおいては、各中継ノードRA・RBのスターコントローラSA・SB間で、互いの異常通知カウンタTCのカウンタ値に関して情報交換を行う必要がある。   As for the abnormality notification counter TC, as shown in FIGS. 1 and 2, the plurality of nodes # A-1 to # A-4 / # B-1 to # B-4 and the relay nodes RA and RB In a communication system of a network in which a plurality of stars A and B are configured and the relay nodes RA and RB are connected to each other, an abnormality occurs between the star controllers SA and SB of the relay nodes RA and RB. It is necessary to exchange information regarding the counter value of the notification counter TC.

これは、図4に示すごとく、前記異常通知用time−slotにおいて、各スターA/Bでは、各ノード#A−1〜#A−4/#B−1〜#B−4から中継ノードRA/RBへの結果データKDの送信が行われるものであるが、この結果データKDは、それぞれ、中継ノードRA/RBで終端されるため、中継ノードRBへはスターA側の結果データKD、中継ノードRBへはスターB側の結果データKDがそれぞれ送信されないこととなっている。   As shown in FIG. 4, in the abnormality notification time-slot, in each star A / B, each node # A-1 to # A-4 / # B-1 to # B-4 relays the relay node RA. The result data KD is transmitted to / RB, but since the result data KD is terminated at the relay node RA / RB, the result data KD on the star A side is relayed to the relay node RB. The result data KD on the star B side is not transmitted to the node RB.

そして、例えば、図8のサイクル#nにおいて、中継ノードRAの異常通知カウンタTCの通信用time−slot#3についてのカウンタ値が「31」となっている場合(このことは、中継ノードRAの配下にあるノード#A−1〜#A−4によるエラーチェックにより、中継ノードRBの配下にあるノード#B−2から送信されたデータについて31回のエラー検出がされたことを意味する)、このエラー検出の結果、即ち、ノード#B−2からの送信データについて、数多くのエラー検出が行われているということを、中継ノードRBへ通知してあげる必要がある。   For example, in the cycle #n of FIG. 8, when the counter value for the communication time-slot # 3 of the abnormality notification counter TC of the relay node RA is “31” (this means that the relay node RA Means that 31 errors have been detected for the data transmitted from the node # B-2 subordinate to the relay node RB by the error check by the subordinate nodes # A-1 to # A-4) It is necessary to notify the relay node RB that the result of this error detection, that is, a large number of errors have been detected for the transmission data from the node # B-2.

さらに、図8の例でいえば、サイクル#nにおいて、スターA側の異常通知カウンタTCにおいては、通信用time−slot#3につきカウンタ値「31」となっている一方、スターB側の異常通知カウンタTCにおいては、通信用time−slot#3につきカウンタ値「25」となっている。このことは、ネットワーク内の中継ノードRA・RBを除く全てのノード#A−1〜#A−4、#B−1〜#B−4において、通信用time−slot#3の受信データにつき、合計で「51」回のエラーが検出されたことを意味する。そして、この「51」という値は前記閾値TH3「50」を超えるものであることから、スターコントローラSBにより、通信用time−slot#3において送信ノードとされている#B−2を通信データバス10B(図2参照)からの切り離しを行おうとするものである。   Further, in the example of FIG. 8, in the cycle #n, the star A side abnormality notification counter TC has a counter value “31” for the communication time-slot # 3, while the star B side abnormality is not detected. In the notification counter TC, the counter value is “25” for communication time-slot # 3. This means that all the nodes # A-1 to # A-4 and # B-1 to # B-4 except the relay nodes RA and RB in the network have received data of the communication time-slot # 3. This means that “51” errors have been detected in total. Since the value “51” exceeds the threshold value TH3 “50”, the star controller SB sets # B-2, which is the transmission node in the communication time-slot # 3, to the communication data bus. It is intended to be disconnected from 10B (see FIG. 2).

そして、以上のスターA/B間での異常通知カウンタTCのカウンタ値に関する情報交換につき、本実施例では、図8に示すごとく、前記異常通知カウンタTCについて閾値TH2(図8の例では「30」)を設けることで対応することとしている。
即ち、図1及び図2に示すごとく、前記複数のノード#A−1〜#A−4/#B−1〜#B−4と、前記中継ノードRA・RBから構成されるスターA・Bが複数あって、前記各中継ノードRA・RB同士が通信接続されるネットワークの通信システムであって、前記各スターA・Bの各中継ノードRA・RBには、前記通信データバス10A・10Bと接続されるとともに、他のスターA/Bの中継ノードRA/RBと接続され、各中継ノードRA/RB間での通信を確立する機能を有する対向スター通信機能部HA/HBを設ける構成とする。
Then, regarding the information exchange regarding the counter value of the abnormality notification counter TC between the above star A / B, in this embodiment, as shown in FIG. 8, the threshold TH2 (“30 in the example of FIG. 8) is set for the abnormality notification counter TC. )).
That is, as shown in FIGS. 1 and 2, a star A / B composed of the plurality of nodes # A-1 to # A-4 / # B-1 to # B-4 and the relay nodes RA and RB. A plurality of relay nodes RA and RB are connected to each other, and each relay node RA and RB of each star A and B includes the communication data buses 10A and 10B. Connected and connected to the relay node RA / RB of the other star A / B, and provided with an opposing star communication function unit HA / HB having a function of establishing communication between the relay nodes RA / RB .

そして、図8に示すごとく、或るスターAの中継ノードRAの前記スターコントローラSAにおいて、前記異常通知カウンタTCの或る通信用time−slot(#3)のカウンタ値(「31」)が閾値TH2(「30」)を超えた場合であって、その或る通信用time−slot(#3)において送信ノードとされているノード(#B−3)が、他のスターBの配下である場合には、前記スターAの前記スターコントローラSAは、前記対向スター通信機能部HA・HBを介し、前記スターBの前記スターコントローラSBに対し、異常通知フラグFを前記異常通知用time−slotのタイミングで通知し(図4参照)、前記スターBの前記スターコントローラSBは、前記或る通信用time−slot(#3)についての異常通知カウンタTCのカウンタ値(「26」)に、前記閾値TH2(「30」)を加算し、加算後の異常通知カウンタTCのカウンタ値(「56」)が、前記閾値TH3(「50」)を超えた場合には、前記或る通信用time−slot(#3)において送信ノードとされているノード(#B−3)を、当該ノード(#B−3)が接続される前記閉塞処理機能部(#C−3)によって、前記通信データバス10Bから切り離すこととするものである。
尚、閾値TH2と閾値TH3の関係は、0<TH2<TH3の関係となっている。
Then, as shown in FIG. 8, in the star controller SA of the relay node RA of a certain star A, the counter value (“31”) of a certain communication time-slot (# 3) of the abnormality notification counter TC is a threshold value. When TH2 (“30”) is exceeded, the node (# B-3) that is the transmission node in the certain communication time-slot (# 3) is under the control of another star B In this case, the star controller SA of the star A sets an abnormality notification flag F to the star controller SB of the star B via the opposite star communication function unit HA / HB. Notification is made at the timing (see FIG. 4), and the star controller SB of the star B detects an abnormality in the certain communication time-slot (# 3). The threshold value TH2 (“30”) is added to the counter value (“26”) of the intelligent counter TC, and the counter value (“56”) of the abnormality notification counter TC after the addition is added to the threshold value TH3 (“50”). If the node exceeds #, the blocking process in which the node (# B-3) is connected to the node (# B-3) that is the transmission node in the certain communication time-slot (# 3) The functional unit (# C-3) is disconnected from the communication data bus 10B.
The relationship between the threshold value TH2 and the threshold value TH3 is 0 <TH2 <TH3.

また、図8に示すごとく、前記スターA・B間での異常通知用time−slotにおける異常通知フラグFの送信は、前記異常通知フラグFの送信に関するTDMA通信スケジュールの各サイクルの異常通知用time−slotの利用が、各スターA・Bについて順番に割り当てられることで、或るスターAから他のスターB、他のスターBから或るスターAへの異常通知フラグの送信が、順次行われるようになっている。本実施例では、odd(奇数サイクル)において、スターAからスターBへの通信機会が割り当てられ、even(偶数サイクル)において、スターBからスターAへの通信機会が割り当てられるようになっている。   Further, as shown in FIG. 8, the transmission of the abnormality notification flag F in the abnormality notification time-slot between the stars A and B is performed for the abnormality notification time of each cycle of the TDMA communication schedule related to the transmission of the abnormality notification flag F. -Slot usage is sequentially assigned to each star A and B, so that an abnormality notification flag is sequentially transmitted from a certain star A to another star B and from another star B to a certain star A. It is like that. In this embodiment, a communication opportunity from star A to star B is assigned in odd (odd cycle), and a communication opportunity from star B to star A is assigned in even (even cycle).

以上の構成により、図8の例のサイクル#nにおいて、スターA側の異常通知カウンタTCの通信用time−slot(#3)において閾値H2超えが生じた場合には、次のサイクル#n+1において、スターAからスターBへの異常通知フラグFの送信がされる。
ここで、前記異常通知フラグFは、閾値TH2超えが生じた通信用time−slot(#3)について、「1」のbitを付加したビット列であり、本実施例では、8つの通信用time−slotが存在するため、8ビットで構成される。そして、スターB側の異常通知カウンタTCにおいては、「1」のbitが付された通信用time−slot(#3)について、閾値TH2が加算される(「26」+「30」→「56」)。
With the above configuration, in the cycle #n in the example of FIG. 8, when the threshold H2 exceeds the communication time-slot (# 3) of the abnormality notification counter TC on the star A side, in the next cycle # n + 1 The abnormality notification flag F is transmitted from the star A to the star B.
Here, the abnormality notification flag F is a bit string to which a bit of “1” is added for the communication time-slot (# 3) in which the threshold value TH2 has been exceeded, and in this embodiment, eight communication time- Since slot exists, it is composed of 8 bits. Then, in the abnormality notification counter TC on the star B side, the threshold value TH2 is added to the communication time-slot (# 3) with the bit “1” (“26” + “30” → “56”). ").

また、以上のように、実際の異常通知カウンタTCのカウンタ値(「30」)を送信するのではなく、異常通知フラグFにて閾値TH2超えを通知する形態とすることによれば、少数のビット数の使用により、必要な情報の交換を実施することができ、また、関連する通信用time−slotをビット列の位置で特定できるものとなる。   In addition, as described above, instead of transmitting the actual abnormality notification counter TC counter value (“30”), the abnormality notification flag F is used to notify that the threshold value TH2 has been exceeded. By using the number of bits, necessary information can be exchanged, and the related communication time-slot can be specified by the position of the bit string.

また、以上の構成によれば、スターA/B間(中継ノードRA/RB間(対向スター通信機能部HA・HB間))の通信を、TDMA通信スケジュールの異常通知用time−slotにインバンドさせる形態で実現することができ、この異常通知カウンタTCのカウンタ値に関する情報交換について別の信号線を確保する必要もなく、シンプルなハードウェア構成を実現することができる。   Further, according to the above configuration, communication between star A / B (between relay nodes RA / RB (between opposing star communication function units HA and HB)) is in-band in the TDMA communication schedule abnormality notification time-slot. It is possible to realize a simple hardware configuration without having to secure another signal line for information exchange regarding the counter value of the abnormality notification counter TC.

また、以上に述べた各閾値TH1・TH2・TH3の設定値については、上記の設定例に限定されるものではなく、適宜、信頼性を確保する上で適切な値が設定される。尚、前述のごとく、閾値TH2・TH3については、0<TH2<TH3の関係とする必要がある。   Further, the setting values of the threshold values TH1, TH2, and TH3 described above are not limited to the above setting examples, and appropriate values are set as appropriate for ensuring reliability. As described above, the threshold values TH2 and TH3 need to have a relationship of 0 <TH2 <TH3.

また、ノードの切り離し後におけるTDMA通信の確保に関し、TDMA通信スケジュールの同期用のシンクロフレームの生成機能をノード側に設ける構成とする他、中継ノード側に実装してノードの切り離し後の通信を確保する形態としてもよく、このように中継ノード側に実装することによれば、より高レベルなフェールセーフを実現できることとなる。   In addition, with regard to ensuring TDMA communication after node disconnection, a synchronization frame generation function for synchronizing the TDMA communication schedule is provided on the node side, and it is implemented on the relay node side to ensure communication after node disconnection. In this way, by implementing the relay node on the relay node side as described above, a higher level of failsafe can be realized.

次に、以上に述べた処理について、図9及び図10に示すフローチャートを用いて説明する。
まず、異常検出カウンタDCのカウンタ値に基づく閉塞処理に関し、図9に示すごとく、スターコントローラは、異常検出カウンタDCのカウンタ値を累積し(ステップS31)、異常検出カウンタDCのカウンタ値が閾値TH1を超えた場合には(ステップS32)、閾値TH1を超えたノードについて閉塞処理を実行する(ステップS33)。ここでの閉塞処理は、前述のごとく、受信ノードでのエラーの誤検出を推定するものである。
Next, the processing described above will be described using the flowcharts shown in FIGS.
First, regarding the blocking process based on the counter value of the abnormality detection counter DC, as shown in FIG. 9, the star controller accumulates the counter value of the abnormality detection counter DC (step S31), and the counter value of the abnormality detection counter DC is the threshold value TH1. When exceeding (step S32), the blocking process is executed for the node exceeding the threshold value TH1 (step S33). As described above, the blocking process here estimates erroneous detection of an error at the receiving node.

また、異常通知カウンタTCのカウンタ値に基づく閉塞処理に関し、図9に示すごとく、スターコントローラは、自配下ノードの異常通知カウンタTCにつき(ステップS34)、異常通知カウンタTCのカウンタ値を累積し(ステップS35)、異常通知カウンタTCのカウンタ値が閾値TH3を超えた場合には(ステップS36)、対応する通信用time−slotにおいて送信ノードとされているノードについて閉塞処理を実行する(ステップS37)。ここでの閉塞処理は、前述のごとく、送信ノードから送信されるデータは正常でないものと推定するものである。   Further, regarding the blocking process based on the counter value of the abnormality notification counter TC, as shown in FIG. 9, the star controller accumulates the counter value of the abnormality notification counter TC for the abnormality notification counter TC of the subordinate node (step S34) ( When the counter value of the abnormality notification counter TC exceeds the threshold value TH3 (step S35), the blocking process is executed for the node that is the transmission node in the corresponding communication time-slot (step S37). . As described above, the blocking process here estimates that the data transmitted from the transmission node is not normal.

また、異常通知カウンタTCのカウンタ値に基づく異常通知フラグF(図8参照)のスターA/B間での通信に関し、図9に示すごとく、スターコントローラは、他のスターの配下にあるノードが送信ノードとなっている通信用time−slotの異常通知カウンタTCについて(ステップS34)、異常通知カウンタTCのカウンタ値を累積し(ステップS38)、異常通知カウンタTCのカウンタ値が閾値TH2を超えた場合には(ステップS39)、異常通知フラグFにおいて該当する通信用time−slotについて「1」のbitを立て(ステップS40)、異常通知フラグFを対向スターへと送信する(ステップS41)。また、この異常通知フラグFの送信後は、「1」のbit立てを行った通信用time−slotのカウンタ値について、前記閾値TH2を差し引くカウンタ補正を実施する(ステップS42)(図8に示すTH2減算カウンタ補正参照)。これは、スターA・Bにおいて異常通知カウンタTCの同期を図る、つまり、カウンタ値を重複させない(エラー回数のカウントを重複させない)ことを意図するものである。また、異常通知フラグFについてもリセットを実施し、時回の通知に備えることとする(ステップS43)。   Further, regarding the communication between the star A / B of the abnormality notification flag F (see FIG. 8) based on the counter value of the abnormality notification counter TC, as shown in FIG. 9, the star controller has a node under the control of another star. Regarding the abnormality notification counter TC of the communication time-slot serving as the transmission node (step S34), the counter value of the abnormality notification counter TC is accumulated (step S38), and the counter value of the abnormality notification counter TC exceeds the threshold value TH2. In this case (step S39), a bit “1” is set for the corresponding communication time-slot in the abnormality notification flag F (step S40), and the abnormality notification flag F is transmitted to the opposite star (step S41). Further, after the transmission of the abnormality notification flag F, counter correction is performed by subtracting the threshold value TH2 for the counter value of the communication time-slot for which “1” is set (step S42) (shown in FIG. 8). (Refer to TH2 subtraction counter correction). This is intended to synchronize the abnormality notification counter TC in the stars A and B, that is, to prevent the counter values from being duplicated (the error count is not duplicated). In addition, the abnormality notification flag F is also reset to prepare for the time notification (step S43).

また、異常通知カウンタTCのカウンタ値に基づく閉塞処理に関し、図10に示すごとく、異常通知フラグFを受取った側のスターにおいては、異常通知フラグFにおいて「1」のbit立てがされている通信用time−slotについて(ステップS51)、閾値H2を加算し(ステップS52)、加算後のカウンタ値が閾値TH3よりも大きい場合には(ステップS53)、対応する通信用time−slotにおいて送信ノードとされているノードについて閉塞処理を実行する(ステップS54)。   Further, regarding the blocking process based on the counter value of the abnormality notification counter TC, as shown in FIG. 10, in the star on the side that has received the abnormality notification flag F, the communication in which “1” is set in the abnormality notification flag F. For the time-slot for use (step S51), the threshold value H2 is added (step S52). When the counter value after addition is larger than the threshold value TH3 (step S53), the communication node-slot in the corresponding communication time-slot The blocking process is executed for the node that has been set (step S54).

以上が本実施例の通信システムの構成であり、図1乃至図8に示すごとく、
複数のノード#A−1〜#A−4と、
前記複数の各ノード#A−1〜#A−4と1対1で接続され、前記各ノード#A−1〜#A−4を終端するとともに、内部の通信データバス10Aを介して前記各ノード#A−1〜#A−4間での通信を実現する中継ノードRAが在り、
前記各ノード#A−1〜#A−4間における前記中継ノードRAを介したデータ通信が、
TDMA通信方式にて行われるネットワークの通信システムであって、
TDMA通信スケジュールの各サイクルには、
データ通信を行うための複数の通信用time−slot(slot#0〜slot#7)と、
異常通知用time−slot(slot#8)が割り当てられ、
前記各通信用time−slotのタイミングでは、
或る送信ノードからの送信データが前記中継ノードRAを介して送信され、
前記異常通知用time−slotのタイミングでは、
前記各ノード#A−1〜#A−4にて行われる受信データのエラーチェックの結果データKDが、前記各ノード#A−1〜#A−4から前記中継ノードRAにそれぞれ送信されるものとし、
前記中継ノードRAは、受信した前記結果データKDに基づいて、
特定の或るノード#A−1〜#A−4を、前記通信データバス10Aから切り離すものである。
The above is the configuration of the communication system of the present embodiment, as shown in FIGS.
A plurality of nodes # A-1 to # A-4;
The nodes # A-1 to # A-4 are connected in a one-to-one relationship, terminate the nodes # A-1 to # A-4, and each of the nodes via an internal communication data bus 10A. There is a relay node RA that realizes communication between the nodes # A-1 to # A-4,
Data communication via the relay node RA between the nodes # A-1 to # A-4
A communication system of a network performed by a TDMA communication method,
Each cycle of the TDMA communication schedule includes
A plurality of communication time-slots (slot # 0 to slot # 7) for data communication;
An abnormality notification time-slot (slot # 8) is assigned,
At the timing of each communication time-slot,
Transmission data from a certain transmission node is transmitted via the relay node RA,
At the timing of the abnormality notification time-slot,
Result data KD of received data error check performed at each of the nodes # A-1 to # A-4 is transmitted from the nodes # A-1 to # A-4 to the relay node RA, respectively. age,
The relay node RA is based on the received result data KD,
Certain nodes # A-1 to # A-4 are disconnected from the communication data bus 10A.

また、前記各ノード#A−1〜#A−4には、
前記各通信用time−slotで受信する受信データのエラーチェックを行う機能と、
前記異常通知用time−slotのタイミングに、前記エラーチェックの結果データKDを前記中継ノードRAに送信する機能が設けられ、
前記中継ノードRAには、
前記通信データバス10Aと前記各ノード#A−1〜#A−4の間にそれぞれ設けられ、前記各ノード#A−1〜#A−4を前記通信データバス10Aから切り離す機能を有する閉塞処理機能部#C−1〜#C−4と、
前記各閉塞処理機能部#C−1〜#C−4と制御信号バス11Aを介して接続されるスターコントローラSAが設けられ、
前記スターコントローラSAは、
前記結果データKDに基づいて、或るノード(例えば、#A−1)についてのエラーが閾値を超えた場合には、
前記或るノード(#A−1)を、前記或るノード(#A−1)が接続される前記閉塞処理機能部(#C−1)によって、前記通信データバス10Aから切り離すこととするものである。
Each of the nodes # A-1 to # A-4 has
A function of performing an error check on received data received in each communication time-slot;
A function of transmitting the error check result data KD to the relay node RA at the timing of the abnormality notification time-slot;
The relay node RA includes
Blocking process provided between the communication data bus 10A and the nodes # A-1 to # A-4 and having a function of disconnecting the nodes # A-1 to # A-4 from the communication data bus 10A Functional units # C-1 to # C-4;
A star controller SA connected to each block processing function unit # C-1 to # C-4 via a control signal bus 11A is provided,
The star controller SA is
Based on the result data KD, when an error for a certain node (for example, # A-1) exceeds a threshold,
The certain node (# A-1) is disconnected from the communication data bus 10A by the blocking processing function unit (# C-1) to which the certain node (# A-1) is connected. It is.

また、前記結果データKDは、
前記各通信用time−slotにおける受信データについてのエラーの有無を、エラー有り「1」、エラー無し「0」として表現されるbit列であり、
前記スターコントローラSAには、
前記各ノード#A−1〜#A−4から受信する結果データKDの「1」の数を、各ノードについてカウントする異常検出カウンタDCが設けられ、
前記スターコントローラSAは、
前記異常検出カウンタDCの或るノード(例えば、#A−1)についての値が閾値TH1を超えた場合には、
前記ノード(#A−1)を、前記ノード(#A−1)が接続される前記閉塞処理機能部(#C−1)によって、前記通信データバス10Aから切り離すこととするものである。
The result data KD is
A bit string representing whether or not there is an error in the received data in each communication time-slot as “1” with error and “0” without error,
The star controller SA includes
An abnormality detection counter DC is provided that counts the number of “1” of the result data KD received from each of the nodes # A-1 to # A-4 for each node;
The star controller SA is
When the value for a certain node (for example, # A-1) of the abnormality detection counter DC exceeds the threshold value TH1,
The node (# A-1) is disconnected from the communication data bus 10A by the blocking processing function unit (# C-1) to which the node (# A-1) is connected.

また、前記スターコントローラSAには、
前記各ノードから受信する結果データKDの「1」の数を、各通信用time−slotについてカウントする異常通知カウンタTCが設けられ、
前記スターコントローラSAは、
前記異常通知カウンタTCの或る通信用time−slotについての値が閾値TH3を超えた場合には、
前記或る通信用time−slotにおいて送信ノードとされているノード(例えば、#A−1)を、
当該ノード(#A−1)が接続される前記閉塞処理機能部(#C−1)によって、前記通信データバス10Aから切り離すこととするものである。
The star controller SA includes
An abnormality notification counter TC that counts the number of “1” of the result data KD received from each node for each communication time-slot is provided,
The star controller SA is
When the value for a certain communication time-slot of the abnormality notification counter TC exceeds a threshold value TH3,
A node (for example, # A-1) that is a transmission node in the certain communication time-slot,
The block processing function unit (# C-1) to which the node (# A-1) is connected is disconnected from the communication data bus 10A.

また、前記複数のノード#A−1〜#A−4/#B−1〜#B−4と、
前記中継ノードRA・RBから構成されるスターA・Bが複数あって、
前記各中継ノードRA・RB同士が通信接続されるネットワークの通信システムであって、
前記各スターA・Bの各中継ノードRA・RBには、
前記通信データバス10A・10Bと接続されるとともに、
他のスターA/Bの中継ノードRA/RBと接続される対向スター通信機能部HA/HBが設けられ、
或るスターAの中継ノードRAの前記スターコントローラSAにおいて、
前記異常通知カウンタTCの或る通信用time−slotのカウンタ値が閾値TH2を超えた場合であって、その或る通信用time−slotにおいて送信ノードとされているノード(#B−1)が、他のスターBの配下である場合には、
前記スターAの前記スターコントローラSAは、前記対向スター通信機能部HA・HBを介し、前記スターBの前記スターコントローラSBに対し、異常通知フラグを前記異常通知用time−slotのタイミングで通知し、
前記スターBの前記スターコントローラSBは、前記或る通信用time−slotについての異常通知カウンタTCのカウンタ値に、前記閾値TH2を加算し、
加算後の異常通知カウンタTCのカウンタ値が、前記閾値TH3を超えた場合には、
前記或る通信用time−slotにおいて送信ノードとされているノード(例えば、#B−1)を、
当該ノード(#B−1)が接続される前記閉塞処理機能部(#C−1)によって、前記通信データバス10Bから切り離すこととするものである。
The plurality of nodes # A-1 to # A-4 / # B-1 to # B-4,
There are a plurality of stars A and B composed of the relay nodes RA and RB,
A network communication system in which the relay nodes RA and RB are connected to each other;
In each relay node RA / RB of each star A / B,
Connected to the communication data buses 10A and 10B,
The opposite star communication function unit HA / HB connected to the relay node RA / RB of the other star A / B is provided,
In the star controller SA of a relay node RA of a certain star A,
When the counter value of a certain communication time-slot of the abnormality notification counter TC exceeds a threshold value TH2, a node (# B-1) which is a transmission node in the certain communication time-slot is If you ’re under the control of another star B,
The star controller SA of the star A notifies the star controller SB of the star B of an abnormality notification flag at the timing of the abnormality notification time-slot via the opposing star communication function unit HA / HB.
The star controller SB of the star B adds the threshold value TH2 to the counter value of the abnormality notification counter TC for the certain communication time-slot,
When the counter value of the abnormality notification counter TC after addition exceeds the threshold value TH3,
A node (for example, # B-1) that is a transmission node in the certain communication time-slot,
The block processing function unit (# C-1) to which the node (# B-1) is connected is disconnected from the communication data bus 10B.

また、前記スターA・B間での異常通知用time−slotにおける異常通知フラグの送信は、
前記異常通知フラグの送信に関するTDMA通信スケジュールの各サイクルの異常通知用time−slotの利用が、
各スターについて順番に割り当てられることで、
或るスターから他のスター、他のスターから或るスターへの異常通知フラグの送信が、順次行われるようになっている。
The transmission of the abnormality notification flag in the abnormality notification time-slot between the stars A and B is as follows:
Use of the abnormality notification time-slot of each cycle of the TDMA communication schedule related to transmission of the abnormality notification flag is as follows.
By assigning each star in turn,
Transmission of an abnormality notification flag from a certain star to another star and from another star to a certain star is sequentially performed.

また、以上では、複数のスターA・Bについての適用について説明したが、以上の構成はスターが一つの構成についても適用可能であることはいうまでもない。尚、スターが一つで構成される場合には、前記閾値TH2及び対向スター通信機能部に関する仕様を省略することができる。
また、TDMA通信スケジュールに割り当ての例についてもあくまでも一例であり、上記の例に限定されるものではない。
In the above description, the application to a plurality of stars A and B has been described. However, it goes without saying that the above configuration can also be applied to a single star configuration. In addition, when a single star is configured, specifications regarding the threshold value TH2 and the opposing star communication function unit can be omitted.
Further, the example of assignment to the TDMA communication schedule is merely an example, and is not limited to the above example.

また、以上に述べた異常検出カウンタDC、及び、異常通知カウンタTCの二つのカウンタについて、それぞれ閾値を設けて異常検出を行う構成とすることによれば、異常検出カウンタDCについては、受信ノードについての異常の有無、異常通知カウンタTCについては、送信ノードについての異常の有無について診断することが可能となり、この診断結果を障害ノードの切り分けの際の指針の一つとして利用することができる。   In addition, according to the configuration in which the abnormality detection counter DC and the abnormality notification counter TC described above are configured to perform abnormality detection by providing respective threshold values, the abnormality detection counter DC is about the receiving node. As for the presence / absence of the abnormality and the abnormality notification counter TC, it is possible to diagnose the presence / absence of an abnormality in the transmitting node, and the diagnosis result can be used as one of the guidelines for identifying the faulty node.

また、図6に示すごとく、異常検出カウンタDCについての水平方向のビット数カウント、異常通知カウンタTCについての垂直方向のビット数カウント、の両方によってエラー状況を診断することにより、各ノードにおける送信・受信データのエラーの検出が、自検出・他検出の両方で実施されることになり、より精度の高い(誤判断のない)閉塞処理の実施が可能となる。   In addition, as shown in FIG. 6, the error condition is diagnosed by both the horizontal bit count for the abnormality detection counter DC and the vertical bit count for the abnormality notification counter TC, so that transmission / reception at each node is performed. Detection of an error in received data is performed by both self-detection and other detection, and it is possible to perform blockage processing with higher accuracy (no erroneous determination).

そして、以上の構成によれば、既存のTDMA通信プロトコルとハードウェアに新規な機能、仕様をインプリメントすることで、TDMA通信方式を用いた車載LAN通信のフェールセーフ機能を実現することができる。   And according to the above structure, the fail safe function of the vehicle-mounted LAN communication using a TDMA communication system is realizable by implementing a new function and specification in the existing TDMA communication protocol and hardware.

実施例に係るネットワーク構成について示す図。The figure shown about the network structure which concerns on an Example. 中継ノード内の構成について示す図。The figure shown about the structure in a relay node. TDMA通信スケジュールのTime−slotの割り当てについて示す図。The figure shown about allocation of Time-slot of a TDMA communication schedule. 異常通知用time−slotにおいて実施される通信内容について示す図。The figure shown about the communication content implemented in time-slot for abnormality notification. 異常通知用time−slotにおけるTime−slotの割り当てについて示す図。The figure shown about allocation of Time-slot in time-slot for abnormality notification. 異常検出カウンタDC、異常通知カウンタTCのカウントの概念について示す図。The figure which shows about the concept of the count of abnormality detection counter DC and abnormality notification counter TC. 異常検出カウンタDCの経時的な変化について示す図。The figure which shows about the time-dependent change of the abnormality detection counter DC. 異常通知カウンタTCの経時的な変化について示す図。The figure which shows about a time-dependent change of the abnormality notification counter TC. 自配下ノードの閉塞処理、及び、異常通知フラグの通知のフローについて示す図。The figure shown about the blockade process of a subordinate node, and the notification flow of an abnormality notification flag. 異常通知フラグに基づく自配下ノードの閉塞処理について示す図。The figure shown about the obstruction | occlusion process of a subordinate node based on an abnormality notification flag.

符号の説明Explanation of symbols

A スター
RA 中継ノード
#A−1 ノード
10A 通信データバス
11A 制御信号バス
#C−1 閉塞処理機能部
SA スターコントローラ
HA 対向スター通信機能部
A star RA relay node # A-1 node 10A communication data bus 11A control signal bus # C-1 block processing function unit SA star controller HA opposite star communication function unit

Claims (6)

複数のノードと、
前記複数の各ノードと1対1で接続され、前記各ノードを終端するとともに、内部の通信データバスを介して前記各ノード間での通信を実現する中継ノードが在り、
前記各ノード間における前記中継ノードを介したデータ通信が、TDMA通信方式にて行われるネットワークの通信システムであって、
TDMA通信スケジュールの各サイクルには、
データ通信を行うための複数の通信用time−slotと、
異常通知用time−slotが割り当てられ、
前記各通信用time−slotのタイミングでは、
或る送信ノードからの送信データが前記中継ノードを介して送信され、
前記異常通知用time−slotのタイミングでは、
前記各ノードにて行われる受信データのエラーチェックの結果データが、前記各ノードから前記中継ノードにそれぞれ送信されるものとし、
前記中継ノードは、受信した前記結果データに基づいて、
特定の或るノードを、前記通信データバスから切り離すものとする、通信システム。
Multiple nodes,
There is a relay node that is connected to each of the plurality of nodes in a one-to-one manner, terminates the nodes, and realizes communication between the nodes via an internal communication data bus.
A network communication system in which data communication between the nodes via the relay node is performed by a TDMA communication method,
Each cycle of the TDMA communication schedule includes
A plurality of communication time-slots for performing data communication;
An abnormality notification time-slot is assigned,
At the timing of each communication time-slot,
Transmission data from a certain transmission node is transmitted via the relay node,
At the timing of the abnormality notification time-slot,
The result data of the error check of the received data performed at each node shall be transmitted from each node to the relay node, respectively.
The relay node is based on the received result data,
A communication system in which a certain node is disconnected from the communication data bus.
前記各ノードには、
前記各通信用time−slotで受信する受信データのエラーチェックを行う機能と、
前記異常通知用time−slotのタイミングに、前記エラーチェックの結果データを前記中継ノードに送信する機能が設けられ、
前記中継ノードには、
前記通信データバスと前記各ノードの間にそれぞれ設けられ、前記各ノードを前記通信データバスから切り離す機能を有する閉塞処理機能部と、
前記各閉塞処理機能部と制御信号バスを介して接続されるスターコントローラが設けられ、
前記スターコントローラは、
前記結果データに基づいて、或るノードについてのエラーが閾値を超えた場合には、
前記或るノードを、前記或るノードが接続される前記閉塞処理機能部によって、前記通信データバスから切り離すこととする、
ことを特徴とする、請求項1に記載の通信システム。
Each of the nodes includes
A function of performing an error check on received data received in each communication time-slot;
A function of transmitting the result data of the error check to the relay node at the timing of the abnormality notification time-slot;
The relay node includes
A block processing function unit provided between the communication data bus and each node, and having a function of disconnecting each node from the communication data bus;
A star controller connected to each blockage processing function unit via a control signal bus is provided,
The star controller is
Based on the result data, if an error for a certain node exceeds a threshold,
The certain node is separated from the communication data bus by the blocking processing function unit to which the certain node is connected.
The communication system according to claim 1, wherein:
前記結果データは、
前記各通信用time−slotにおける受信データについてのエラーの有無を、エラー有り「1」、エラー無し「0」として表現されるbit列であり、
前記スターコントローラには、
前記各ノードから受信する結果データの「1」の数を、各ノードについてカウントする異常検出カウンタが設けられ、
前記スターコントローラは、
前記異常検出カウンタの或るノードについての値が閾値TH1を超えた場合には、
前記ノードを、前記ノードが接続される前記閉塞処理機能部によって、前記通信データバスから切り離すこととする、
ことを特徴とする、請求項2に記載の通信システム。
The result data is
A bit string representing whether or not there is an error in the received data in each communication time-slot as “1” with error and “0” without error,
In the star controller,
An abnormality detection counter that counts the number of “1” of the result data received from each node for each node is provided,
The star controller is
When the value of a certain node of the abnormality detection counter exceeds a threshold value TH1,
The node is separated from the communication data bus by the blocking processing function unit to which the node is connected.
The communication system according to claim 2, wherein:
前記スターコントローラには、
前記各ノードから受信する結果データの「1」の数を、各通信用time−slotについてカウントする異常通知カウンタが設けられ、
前記スターコントローラは、
前記異常通知カウンタの或る通信用time−slotについての値が閾値TH3を超えた場合には、
前記或る通信用time−slotにおいて送信ノードとされているノードを、
当該ノードが接続される前記閉塞処理機能部によって、前記通信データバスから切り離すこととする、
ことを特徴とする、請求項3に記載の通信システム。
In the star controller,
An abnormality notification counter that counts the number of result data “1” received from each node for each communication time-slot is provided,
The star controller is
When the value for a certain communication time-slot of the abnormality notification counter exceeds a threshold TH3,
A node that is a transmission node in the certain communication time-slot,
The block processing function unit to which the node is connected is disconnected from the communication data bus.
The communication system according to claim 3, wherein:
前記複数のノードと、
前記中継ノードから構成されるスターが複数あって、
前記各中継ノード同士が通信接続されるネットワークの通信システムであって、
前記各スターの各中継ノードには、
前記通信データバスと接続されるとともに、
他のスターの中継ノードと接続される対向スター通信機能部が設けられ、
或るスターの中継ノードの前記スターコントローラにおいて、
前記異常通知カウンタの或る通信用time−slotのカウンタ値が閾値TH2を超えた場合であって、その或る通信用time−slotにおいて送信ノードとされているノードが、他のスターの配下である場合には、
前記スターの前記スターコントローラは、前記対向スター通信機能部を介し、前記スターの前記スターコントローラに対し、異常通知フラグを前記異常通知用time−slotのタイミングで通知し、
前記スターの前記スターコントローラは、前記或る通信用time−slotについての異常通知カウンタのカウンタ値に、前記閾値TH2を加算し、
加算後の異常通知カウンタのカウンタ値が、前記閾値TH3を超えた場合には、
前記或る通信用time−slotにおいて送信ノードとされているノードを、
当該ノードが接続される前記閉塞処理機能部によって、前記通信データバスから切り離すこととする、
ことを特徴とする、請求項4に記載の通信システム。
The plurality of nodes;
There are multiple stars composed of the relay nodes,
A network communication system in which the relay nodes are connected to each other,
In each relay node of each star,
Connected to the communication data bus,
An opposing star communication function unit connected to other star relay nodes is provided,
In the star controller of a relay node of a star,
When a counter value of a certain communication time-slot of the abnormality notification counter exceeds a threshold value TH2, a node that is a transmission node in the certain communication time-slot is under the control of another star. If there is
The star controller of the star notifies the star controller of the star via the opposing star communication function unit of an abnormality notification flag at the timing of the abnormality notification time-slot,
The star controller of the star adds the threshold value TH2 to the counter value of the abnormality notification counter for the certain communication time-slot,
When the counter value of the abnormality notification counter after addition exceeds the threshold value TH3,
A node that is a transmission node in the certain communication time-slot,
The block processing function unit to which the node is connected is disconnected from the communication data bus.
The communication system according to claim 4, wherein:
前記スター間での異常通知用time−slotにおける異常通知フラグの送信は、
前記異常通知フラグの送信に関するTDMA通信スケジュールの各サイクルの異常通知用time−slotの利用が、
各スターについて順番に割り当てられることで、
或るスターから他のスター、他のスターから或るスターへの異常通知フラグの送信が、順次行われるようにする、
ことを特徴とする、請求項5に記載の通信システム。
The transmission of the abnormality notification flag in the abnormality notification time-slot between the stars is as follows.
Use of the abnormality notification time-slot of each cycle of the TDMA communication schedule related to transmission of the abnormality notification flag is as follows.
By assigning each star in turn,
The transmission of the abnormality notification flag from one star to another star and from another star to one star is performed sequentially.
The communication system according to claim 5, wherein:
JP2005348205A 2005-12-01 2005-12-01 Communication system Pending JP2007158534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005348205A JP2007158534A (en) 2005-12-01 2005-12-01 Communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005348205A JP2007158534A (en) 2005-12-01 2005-12-01 Communication system

Publications (1)

Publication Number Publication Date
JP2007158534A true JP2007158534A (en) 2007-06-21

Family

ID=38242352

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005348205A Pending JP2007158534A (en) 2005-12-01 2005-12-01 Communication system

Country Status (1)

Country Link
JP (1) JP2007158534A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010011093A (en) * 2008-06-27 2010-01-14 Hitachi Ltd Distributed system
US10044564B2 (en) 2011-06-10 2018-08-07 Robert Bosch Gmbh Connecting node for a communications network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010011093A (en) * 2008-06-27 2010-01-14 Hitachi Ltd Distributed system
US10044564B2 (en) 2011-06-10 2018-08-07 Robert Bosch Gmbh Connecting node for a communications network

Similar Documents

Publication Publication Date Title
US9356830B2 (en) Communication device for a redundantly operable industrial communication network and method for operating the communication device
US8898364B2 (en) Method, system, and bus coupler for exchanging data between a higher-level network and a lower-level network
CA2729489A1 (en) Method for detecting a defective node
JP5033199B2 (en) Node of distributed communication system, node coupled to distributed communication system, and monitoring apparatus
CN105700510B (en) The disperse errors detection method and CAN communication system of CAN communication system
CA2968432C (en) Bus participant device and method for the operation of a bus participant device
US20090262649A1 (en) Bus guardian with improved channel monitoring
US11016463B2 (en) Control and data-transfer system, gateway module, I/O module, and method for process control
JP7280082B2 (en) Fraud detection method, fraud detection device and program
JP2010503305A (en) Intelligent star coupler for time trigger communication and method for communication between nodes in a network using a time trigger protocol
US11909748B2 (en) Anti-fraud control system, monitoring device, and anti-fraud control method
US20080313426A1 (en) Information Processing Apparatus and Information Processing Method
CN103023713A (en) System and method for testing a communications network having a central bus guardian (CBG)
US10491317B2 (en) Method for operating a network arrangement, network system and network arrangement
JP6410914B1 (en) Serial communication system
JP6332060B2 (en) In-vehicle network
JP2007158534A (en) Communication system
US8189497B2 (en) Error detection and suppression in a TDMA-based network node
JP4287734B2 (en) Network equipment
CN111512663A (en) Slave failure monitoring device for a master of a multiplex network
JP6024604B2 (en) Communication device
JP2008022079A (en) Communication network system and notice method of reception diagnostic result
JP5459117B2 (en) Data transmission apparatus and data transmission method
JP5458863B2 (en) Data transmission apparatus and data transmission method
CN115001898A (en) Network equipment redundant communication system and method