JP2008022078A - Communication network system and startup method thereof - Google Patents

Communication network system and startup method thereof Download PDF

Info

Publication number
JP2008022078A
JP2008022078A JP2006189750A JP2006189750A JP2008022078A JP 2008022078 A JP2008022078 A JP 2008022078A JP 2006189750 A JP2006189750 A JP 2006189750A JP 2006189750 A JP2006189750 A JP 2006189750A JP 2008022078 A JP2008022078 A JP 2008022078A
Authority
JP
Japan
Prior art keywords
startup
node
communication
synchronization
frame
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
JP2006189750A
Other languages
Japanese (ja)
Other versions
JP4862521B2 (en
Inventor
勉 ▲高▼木
Tsutomu Takagi
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP2006189750A priority Critical patent/JP4862521B2/en
Publication of JP2008022078A publication Critical patent/JP2008022078A/en
Application granted granted Critical
Publication of JP4862521B2 publication Critical patent/JP4862521B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To start an ordinary communication operation by surely executing startup processing while effectively suppressing the generation of branches by making the number of startup nodes to a necessary minimum. <P>SOLUTION: At least one of non-startup nodes not subscribing to a startup process is set as a synchronous backup node 100. When the synchronous backup node 100 detects that synchronous frames transmitted from the startup nodes are deficient due to the occurrence of a failure or the like in one of the startup nodes subscribing to the startup process, the synchronous backup node 100 subscribes to the startup process and transmits a pseudo synchronous frame simulating the synchronous frame to a communication bus 10. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、時分割多重型の通信ネットワークシステム、及び、時分割多重型の通信ネットワークシステムのスタートアップ方法に関する。   The present invention relates to a time division multiplexing communication network system and a time-division multiplexing communication network system startup method.

車両に搭載される通信ネットワークシステムのプロトコルの1種として、FlexRay(Daimler Chrysler AGの登録商標)と呼ばれる通信プロトコルが知られている。このFlexRayは、高い信頼性を確保しながら最大10Mbps程度の通信速度を実現するものであり、車両走行に直接関わる部分の電子化制御(X−by−wire)を実用化する上での重要な技術として注目されている。   A communication protocol called FlexRay (registered trademark of Daimler Chrysler AG) is known as one type of protocol for a communication network system mounted on a vehicle. This FlexRay realizes a maximum communication speed of about 10 Mbps while ensuring high reliability, and is important in putting electronic control (X-by-wire) directly related to vehicle running into practical use. It is attracting attention as a technology.

通信プロトコルとしてFlexRayを採用する通信ネットワークシステムでは、ネットワーク上の各ノードの同期をとるために、システム起動後、通常の通信動作が開始される前の準備段階での処理として、スタートアップと呼ばれる処理が行われる。   In a communication network system that employs FlexRay as a communication protocol, in order to synchronize each node on the network, a process called startup is performed as a process in a preparation stage after the system is started and before normal communication operation is started. Done.

FlexRayでのスタートアップのプロセスは、ネットワーク上の各ノードのうちで、スタートアップノードとして予め定められた複数のノードにより実行される。スタートアップノードは、電源が投入された後、自ノードの起動や通信機能の設定などの通信開始準備処理(ウェイクアップ)を行う。そして、通信開始準備処理が最も早く完了したスタートアップノードが、まず、自分のタイミングで各通信周期毎に通信バス上に同期フレームを送出し続ける。その後、次に通信開始準備処理が終了したスタートアップノードが、通信バス上の同期フレームを所定回数受信した後、当該同期フレームに追従して同期フレームを送出する。そして、これら2つのスタートアップノードが、お互いの同期フレームの送受信タイミングをもとに時間認識のずれを補正しながら同期することで、通信の同期が確立する。その後、その他のスタートアップノードやスタートアップノード以外の他のノードが、2つのスタートアップノードから送出された同期フレームを所定回数受信した後、これら2つのスタートアップノードのタイミングに合わせて通信に参加することで、通常の通信動作が開始される。なお、このようなFlexRayにおけるスタートアッププロセスについては、下記非特許文献1に詳細が記載されている。
「FlexRay Communication System Protocol Specification Version2.1 RevisionA」,2005年12月,p.156
The startup process in FlexRay is executed by a plurality of nodes predetermined as startup nodes among the nodes on the network. After the power is turned on, the startup node performs communication start preparation processing (wakeup) such as activation of its own node and setting of a communication function. Then, the start-up node that completed the communication start preparation process first continues to send out a synchronization frame on the communication bus at each communication cycle at its own timing. After that, the start-up node that has completed the communication start preparation process next receives the synchronization frame on the communication bus a predetermined number of times, and then transmits the synchronization frame following the synchronization frame. Then, these two startup nodes synchronize while correcting a time recognition shift based on the transmission / reception timings of the mutual synchronization frames, thereby establishing communication synchronization. After that, other startup nodes and other nodes other than the startup node receive the synchronization frame transmitted from the two startup nodes a predetermined number of times, and then participate in communication in accordance with the timing of these two startup nodes. Normal communication operation is started. The details of such a startup process in FlexRay are described in Non-Patent Document 1 below.
“FlexRay Communication System Protocol Specification Version 2.1 Revision A”, December 2005, p. 156

ところで、通信プロトコルとしてFlexRayを採用する通信ネットワークシステムにおいて、ネットワークの規模が大きくなってノード数及び通信バスの長さが増大した場合には、分派と呼ばれる現象が生じてネットワーク上に複数の同期グループが発生してしまう場合があることが分かってきた。これは、物理的に離れた位置に接続されている複数のスタートアップノードがほぼ同時に通信開始準備処理を完了して、それぞれが独立して同期フレームの送出を開始した場合に、残りのスタートアップノードが、それぞれ自ノードに近い方のスタートアップノードに追従して同期をとることにより生じるものと考えられる。したがって、この分派と呼ばれる現象を有効抑制するためには、スタートアップノードの数に制限を加えて、最小限のスタートアップノードでスタートアップ処理が行われるようにすることが望まれる。   By the way, in a communication network system that employs FlexRay as a communication protocol, when the size of the network increases and the number of nodes and the length of the communication bus increase, a phenomenon called branching occurs and a plurality of synchronization groups are created on the network. Has been found to occur. This is because when a plurality of startup nodes connected to physically distant locations complete the communication start preparation process at the same time and each of them starts sending a synchronous frame independently, the remaining startup nodes This is considered to be caused by following and synchronizing with the startup node closer to the own node. Therefore, in order to effectively suppress this phenomenon called division, it is desired to limit the number of startup nodes so that startup processing is performed with the minimum number of startup nodes.

しかしながら、スタートアップノードの数を最小限とした場合には、何れかのスタートアップノードに故障が発生して同期フレームを送信できなくなると、通信の同期が確立されずに、通常の通信動作を開始することができなくなるという問題が生じる。   However, when the number of startup nodes is minimized, if a failure occurs in one of the startup nodes and the synchronization frame cannot be transmitted, normal communication operation is started without establishing communication synchronization. The problem of being unable to do so arises.

本発明は、以上のような従来の実情に鑑みて創案されたものであって、スタートアップノードの数を必要最小限にして分派の発生を有効に抑制しながら、スタートアップ処理を確実に行って通常の通信動作を開始させることができる通信ネットワークシステム及び通信ネットワークシステムのスタートアップ方法を提供することを目的としている。   The present invention was devised in view of the conventional situation as described above, and normally performs startup processing reliably while effectively suppressing the occurrence of branching by minimizing the number of startup nodes. It is an object of the present invention to provide a communication network system and a communication network system start-up method capable of starting the communication operation.

本発明は、システム起動時に少なくとも2つのスタートアップノードが同期フレームを通信バス上に送出することで通信の同期を確立し、他のノードがスタートアップノードのタイミングに合わせて通信に参加することで通常の通信動作が開始される時分割多重型の通信ネットワークシステムを対象とする。このような時分割多重通信型の通信ネットワークシステムにおいて、本発明では、スタートアップノード以外の他のノードの少なくとも1つに、スタートアップノードから送出される同期フレームに不足が生じているときに当該同期フレームを摸擬した擬似同期フレームを通信バス上に送出する機能を持たせることで、上述した課題を解決する。   In the present invention, at least two startup nodes establish synchronization of communication by sending a synchronization frame on a communication bus at the time of system startup, and other nodes participate in communication in accordance with the timing of the startup node. A time division multiplexing communication network system in which communication operation is started is targeted. In such a time division multiplex communication type communication network system, in the present invention, when there is a shortage in the synchronization frame transmitted from the startup node in at least one of the nodes other than the startup node, the synchronization frame The above-described problem is solved by providing a function of sending a pseudo-synchronous frame that simulates the above to the communication bus.

本発明によれば、何れかのスタートアップノードに故障が発生して同期フレームを送出できなくなった場合に、スタートアップノード以外の他のノードから通信バス上に擬似同期フレームが送出されるので、スタートアップノードの数を必要最小限にして分派の発生を有効に抑制しながら、スタートアップ処理を確実に行って通常の通信動作を開始させることができる。   According to the present invention, when a failure occurs in any of the startup nodes and the synchronization frame cannot be transmitted, a pseudo synchronization frame is transmitted on the communication bus from a node other than the startup node. The normal communication operation can be started by reliably performing the start-up process while effectively suppressing the occurrence of the shard by minimizing the number of scramblers.

以下、本発明の実施形態として、図1に示すようにノードA〜Eの5つのノードがネットワーク上のノードとして通信バス10に接続された通信ネットワークシステムに本発明を適用した例について、具体的に説明する。この図1に示す通信ネットワークシステムは、通信プロトコルとしてFlexRayを採用しており、ノードAおよびノードEの2つのノードが、スタートアッププロセスにおいて同期フレームを送出する機能を有するスタートアップノードであり、残りのノードB,C,Dが、ノードAおよびノードEによって通信の同期が確立された後に通信に参加する非スタートアップノードである。   As an embodiment of the present invention, an example in which the present invention is applied to a communication network system in which five nodes A to E are connected to the communication bus 10 as nodes on the network as shown in FIG. Explained. The communication network system shown in FIG. 1 employs FlexRay as a communication protocol, and two nodes, node A and node E, are startup nodes having a function of transmitting a synchronization frame in a startup process, and the remaining nodes B, C, and D are non-startup nodes that participate in communication after communication synchronization is established by node A and node E.

スタートアップノードであるノードAおよびノードEは、システム起動時に電源が投入されると、自ノードの起動や通信機能の設定などの通信開始準備処理を行う。そして、通信開始準備処理が終了したノードから順番にコールドスタート・リスンと呼ばれる状態に入り、予め定められた所定時間の間、通信バス10上の信号を監視する。ここで、例えばノードAがノードEよりも先に通信開始準備処理が終了したとすると、ノードAは、通信バス10上の信号を検出することなく所定時間の監視が終了することになるので、所定時間の監視が終了した段階で通信バス10上にCAS(collision avoidance symbol)と呼ばれる信号を送出し、スタートアッププロセスを牽引するリーディングノードとなる。一方、ノードAの後に通信開始準備処理が終了したノードEは、所定時間の監視を行っている間にノードAから通信バス10上に送出されたCASを検出するので、ノードAに追従してスタートアッププロセスを行うフォローイングノードとなる。   When the power is turned on at the time of system startup, the node A and the node E, which are startup nodes, perform communication start preparation processing such as startup of the own node and setting of communication functions. Then, a state called “cold start listen” is entered in order from the node where the communication start preparation processing is completed, and the signal on the communication bus 10 is monitored for a predetermined time. Here, for example, if the node A completes the communication start preparation process before the node E, the node A ends monitoring for a predetermined time without detecting a signal on the communication bus 10. When monitoring for a predetermined time is completed, a signal called CAS (collision avoidance symbol) is transmitted on the communication bus 10 to become a leading node that leads the startup process. On the other hand, the node E that has completed the communication start preparation process after the node A detects the CAS sent from the node A onto the communication bus 10 while monitoring for a predetermined time, and therefore follows the node A. Become a following node for the startup process.

リーディングノードとなったノードAは、CASを通信バス10上に送出した後、自ノードのタイミングで各通信周期毎に通信バス10上に同期フレームを送出し続ける。一方、フォローイングノードとなったノードEは、ノードAが通信バス10上に送出した同期フレームを4回受信するまで待機し、ノードAからの同期フレームを4回受信したら、次の通信周期から、ノードAからの同期フレームに追従して自ノードの同期フレームを通信バス10上に送出し続ける。そして、これらノードAとノードEとが、お互いの同期フレームの送受信タイミングをもとに時間認識のずれを補正しながら同期することで、通信の同期を確立させる。   Node A, which has become the leading node, sends CAS onto the communication bus 10 and then continues to send a synchronization frame onto the communication bus 10 at each communication cycle at the timing of its own node. On the other hand, the node E that has become the following node waits until the node A receives the synchronization frame sent out on the communication bus 10 four times. When the node E receives the synchronization frame four times, the next communication cycle starts. Then, following the synchronization frame from the node A, the synchronization frame of the own node is continuously sent out on the communication bus 10. Then, the nodes A and E synchronize while correcting the time recognition shift based on the transmission / reception timings of the mutual synchronization frames, thereby establishing communication synchronization.

また、非スタートアップノードであるノードB,C,Dは、通信開始準備処理が終了した後、スタートアップノードであるノードAおよびノードEからの同期フレームを4回受信するまで待機し、ノードAおよびノードEからの同期フレームを4回受信したら、これらノードAおよびノードEのタイミングに合わせて自ノードのフレームを送信することで、通信に参加する。これにより、通常の通信動作が開始されることになる。   The nodes B, C, and D that are non-startup nodes wait until the synchronization frames from the node A and the node E that are the startup nodes are received four times after the communication start preparation process is completed. When the synchronization frame from E is received four times, the frame of the own node is transmitted in accordance with the timings of these nodes A and E to participate in communication. As a result, a normal communication operation is started.

FlexRayのフレーム・フォーマットを図2に概略的に示す。FlexRayのフレームは、図2に示すように、ヘッダ・セグメント(5バイト)と、ペイロード・セグメント(0〜254バイト)と、トレイラ・セグメント(3バイト)の3つのセグメントで構成される。ヘッダ・セグメントには、送信するデータに関するヘッダ情報が格納され、ペイロード・セグメントには、データそのものが格納される。また、トレイラ・セグメントはフレーム全体でエラーがあるかどうかをチェックする機能を持ち、ヘッダ・セグメントとペイロード・セグメントをCRC(Cyclic Redundancy Check)にかけた結果が格納される。   The FlexRay frame format is schematically shown in FIG. As shown in FIG. 2, the FlexRay frame is composed of three segments: a header segment (5 bytes), a payload segment (0 to 254 bytes), and a trailer segment (3 bytes). Header information related to data to be transmitted is stored in the header segment, and data itself is stored in the payload segment. In addition, the trailer segment has a function of checking whether there is an error in the entire frame, and stores a result of subjecting the header segment and the payload segment to CRC (Cyclic Redundancy Check).

ヘッダ・セグメントに格納されるヘッダ情報の中には、1ビットの同期フレーム・インジケータと1ビットのスタートアップフレーム・インジケータとが含まれている。同期フレーム・インジケータは、そのフレームが同期フレームであるかどうかを示すフラグであり、スタートアップフレーム・インジケータは、そのフレームがスタートアッププロセスで送信されるフレームであるかどうかを示すフラグである。本実施形態の通信ネットワークシステムでは、スタートアップノードであるノードAおよびノードEがスタートアッププロセスの中で通信バス10上に送出する同期フレームは、これら同期フレーム・インジケータの値とスタートアップフレーム・インジケータの値とがともに「1」、つまりフラグオンを示す値となっている。   The header information stored in the header segment includes a 1-bit synchronization frame indicator and a 1-bit startup frame indicator. The synchronization frame indicator is a flag indicating whether or not the frame is a synchronization frame, and the startup frame indicator is a flag indicating whether or not the frame is a frame transmitted in the startup process. In the communication network system according to the present embodiment, the synchronization frames transmitted from the startup nodes Node A and Node E onto the communication bus 10 during the startup process include the values of the synchronization frame indicator and the startup frame indicator. Are both “1”, that is, a value indicating flag on.

本実施形態の通信ネットワークシステムは、上述したスタートアッププロセスを経て通常の通信動作に移行することを基本とするが、スタートアップノードをノードAとノードEとの2つのノードに限定しているため、分派と呼ばれる現象を有効に抑制できる反面、ノードAとノードEの何れかに故障が発生して同期フレームが送出されない場合には、スタートアッププロセスが完了せずに通常の通信動作に移行できなくなる虞がある。そこで、本実施形態の通信ネットワークシステムでは、非スタートアップノードであるノードB,C,Dの少なくとも何れかに、スタートアップノードから送出される同期フレームに不足が生じているときに当該同期フレームを摸擬した擬似同期フレームを通信バス10上に送出する機能を持たせ、ノードAとノードEの何れかに故障が発生して同期フレームが送出されない場合であっても、スタートアッププロセスを完了させて通常の通信動作に移行できるようにしている。   The communication network system of the present embodiment is basically shifted to the normal communication operation through the above-described startup process, but the startup node is limited to two nodes, node A and node E. However, if a synchronization frame is not transmitted due to a failure in either node A or node E, the startup process may not be completed and the normal communication operation may not be performed. is there. Therefore, in the communication network system according to the present embodiment, the synchronization frame is simulated when there is a shortage in the synchronization frame transmitted from the startup node in at least one of the nodes B, C, and D that are non-startup nodes. A function to send out the pseudo-synchronous frame on the communication bus 10, and even if a failure occurs in either node A or node E and the synchronous frame is not sent out, the startup process is completed and It is possible to shift to communication operation.

具体的に説明すると、スタートアップノードであるノードAとノードEの双方が正常であり、ノードAがリーディングノード、ノードEがフォローイングノードになった場合、図3(a)に示すように、まず、ノードAが通信周期ごとに同期フレームを通信バス10上に送出する。そして、ノードEが4通信周期(T1〜T5)に亘りノードAから送出された同期フレームを正常に受信すると、ノードAからの同期フレームを基準に通信周期内の自ノードに割り当てられた送信タイミングを認識し、次の通信周期から、自ノードに割り当てられた送信タイミングで同期フレームを通信バス10上に送出する。その後、ノードAとノードEとが、お互いの同期フレームの送受信タイミングをもとに時間認識のずれを補正しながら同期することで、通信の同期を確立させる。また、非スタートアップノードであるノードB,C,Dは、ノードAからの同期フレームとノードEからの同期フレームとの双方を4通信周期(T5〜T9)に亘り正常に受信すると、スタートアッププロセスが正常に完了したと判断して、これらノードAおよびノードEからの同期フレームを基準に通信周期内の自ノードに割り当てられた送信タイミングをそれぞれ認識する。そして、ノードB,C,Dが、次の通信周期から、自ノードに割り当てられた送信タイミングでそれぞれフレームを送出することで通信に参加し、通常の通信動作が開始される。   More specifically, when both the start-up nodes A and E are normal, the node A becomes a leading node, and the node E becomes a following node, as shown in FIG. Node A sends out a synchronization frame onto the communication bus 10 every communication cycle. When the node E normally receives the synchronization frame transmitted from the node A over four communication cycles (T1 to T5), the transmission timing assigned to the own node within the communication cycle with reference to the synchronization frame from the node A And the synchronization frame is transmitted onto the communication bus 10 at the transmission timing assigned to the own node from the next communication cycle. Thereafter, the node A and the node E synchronize while correcting the time recognition shift based on the transmission / reception timings of the mutual synchronization frames, thereby establishing communication synchronization. Further, when nodes B, C, and D, which are non-startup nodes, normally receive both the synchronization frame from node A and the synchronization frame from node E over four communication cycles (T5 to T9), the startup process is performed. It is determined that the transmission is normally completed, and the transmission timings assigned to the own node in the communication cycle are recognized based on the synchronization frames from these nodes A and E, respectively. Then, the nodes B, C, and D participate in the communication by transmitting frames at the transmission timing assigned to the node from the next communication cycle, and the normal communication operation is started.

ここで、例えばノードEのフレーム送信機能に故障が発生し、フレームEが同期フレームの送出を行えない状況にあるとする。この場合、図3(b)に示すように、ノードAからの同期フレームが通信バス10上に4回送出された後の4通信周期(T5〜T9)において、本来通信バス10上に送出されるべきノードEからの同期フレームが、通信バス10上に送出されていない状態となる。このため、正常時であればノードAが同期フレームを送出してから8通信周期が経過した時点(T9)でスタートアッププロセスが完了し、次の通信周期から非スタートアップノードB,C,Dが通信に参加して通常の通信動作が行われるはずであるが、ノードEから同期フレームが送出されないためにスタートアッププロセスが完了せずに、非スタートアップノードB,C,Dが通信に参加できないことになる。そこで、本実施形態の通信ネットワークシステムでは、非スタートアップノードB,C,Dの少なくとも何れかに、スタートアップノードから送出される同期フレームに不足が生じているときに当該同期フレームを摸擬した擬似同期フレームを通信バス10上に送出する機能を持たせるようにしている。   Here, for example, it is assumed that a failure occurs in the frame transmission function of the node E, and the frame E is in a state where the synchronization frame cannot be transmitted. In this case, as shown in FIG. 3B, the synchronization frame from the node A is originally transmitted onto the communication bus 10 in the four communication cycles (T5 to T9) after being transmitted onto the communication bus 10 four times. The synchronization frame from the node E to be transmitted is not sent on the communication bus 10. For this reason, if it is normal, the startup process is completed when eight communication cycles have elapsed after node A sends out the synchronization frame (T9), and the non-startup nodes B, C, and D communicate from the next communication cycle. The normal communication operation should be performed by participating in the network, but since the synchronization frame is not transmitted from the node E, the startup process is not completed and the non-startup nodes B, C, and D cannot participate in the communication. . Therefore, in the communication network system according to the present embodiment, when at least one of the non-startup nodes B, C, and D has a shortage in the synchronization frame transmitted from the startup node, pseudo synchronization that simulates the synchronization frame A function of sending a frame onto the communication bus 10 is provided.

例えば、ノードBに擬似同期フレームを送出する機能を持たせた場合、ノードBは、ノードAが同期フレームを送出してから8通信周期が経過した時点(T9)で、ノードEからの同期フレームの不足によりスタートアッププロセスが完了していないことを検出し、ノードAからの同期フレームを基準に通信周期内の自ノードに割り当てられた送信タイミングを認識して、次の通信周期から、自ノードに割り当てられた送信タイミングで擬似同期フレームを通信バス10上に送出する。そして、ノードAとノードBとが同期することで通信の同期が確立し、ノードB以外の非スタートアップノードであるノードC,Dと同期フレームが送信できないノードEは、ノードAからの同期フレームとノードBからの擬似同期フレームとの双方を4通信周期(T9〜T12)に亘り正常に受信すると、スタートアッププロセスが正常に完了したと判断して、これらノードAからの同期フレームとノードBからの擬似同期フレームとを基準に通信周期内の自ノードに割り当てられた送信タイミングをそれぞれ認識し、次の通信周期から、自ノードに割り当てられた送信タイミングでそれぞれフレームを送出することで通信に参加し、通常の通信動作が開始される。   For example, when the node B has a function of transmitting a pseudo synchronization frame, the node B transmits a synchronization frame from the node E when eight communication cycles have elapsed after the node A transmits the synchronization frame (T9). It is detected that the start-up process is not completed due to the shortage of the node, and the transmission timing assigned to the own node within the communication cycle is recognized based on the synchronization frame from the node A, and from the next communication cycle to the own node A pseudo synchronization frame is transmitted onto the communication bus 10 at the assigned transmission timing. Node A and Node B synchronize with each other to establish communication synchronization. Nodes C and D, which are non-startup nodes other than Node B, cannot transmit a synchronization frame. When both of the pseudo synchronization frames from Node B are normally received over four communication periods (T9 to T12), it is determined that the startup process has been completed normally, and the synchronization frames from Node A and Node B Recognize each transmission timing assigned to its own node within the communication cycle based on the pseudo-synchronous frame, and participate in communication by sending each frame at the transmission timing assigned to this node from the next communication cycle. Normal communication operation is started.

なお、非スタートアップノードであるノードBが同期フレームの不足を検出して通信バス10上に送出する擬似同期フレームは、上述したフレーム・フォーマットのヘッダ・セグメントに格納される同期フレーム・インジケータの値とスタートアップフレーム・インジケータの値とをともに「1」としたフレームである。つまり、非スタートアップノードであるノードBは、スタートアップノードであるノードAまたはノードEが何らかの不具合により同期フレームを出力できない場合にのみ、同期フレーム・インジケータの値とスタートアップフレーム・インジケータの値とを「1」とした擬似同期フレームを出力する。   Note that the pseudo-synchronous frame that node B, which is a non-startup node, detects a lack of synchronization frames and sends it out on the communication bus 10 includes the value of the synchronization frame indicator stored in the header segment of the frame format described above. This is a frame in which the value of the start-up frame indicator is both “1”. That is, the node B that is a non-startup node sets the value of the synchronization frame indicator and the value of the startup frame indicator to “1” only when the node A or node E that is the startup node cannot output a synchronization frame due to some trouble. Is output.

[実施例]
次に、本実施形態の通信ネットワークシステムにおいて、スタートアッププロセスで同期フレームの不足を検出して擬似同期フレームを送出する機能を有する非スタートアップノードの具体例(第1実施例、第2実施例)について、詳細に説明する。なお、以下の各実施例では、このような機能を有する非スタートアップノードを「同期バックアップノード」と表記して説明する。図1に示した構成の通信ネットワークシステムにおいては、非スタートアップノードであるノードB,C,Dのうちの何れか、或いはその全てが同期バックアップノードとなる。また、以下の各実施例は同期バックアップノードの具体例を示したものであり、同期バックアップノードの構成や動作はこれらの実施例で説明するものに限定されるものではなく、スタートアッププロセスで同期フレームの不足を検出して擬似同期フレームを送出する機能を実現できるものであれば、様々な変形が可能であることは勿論である。
[Example]
Next, in the communication network system of the present embodiment, specific examples (first and second examples) of a non-startup node having a function of detecting a lack of synchronization frames in a startup process and transmitting a pseudo synchronization frame This will be described in detail. In the following embodiments, a non-startup node having such a function will be described as “synchronous backup node”. In the communication network system having the configuration shown in FIG. 1, any one or all of the non-startup nodes B, C, D are synchronous backup nodes. In addition, the following embodiments show specific examples of the synchronous backup node, and the configuration and operation of the synchronous backup node are not limited to those described in these embodiments. Needless to say, various modifications are possible as long as the function of detecting the shortage and transmitting the pseudo synchronization frame can be realized.

<第1実施例>
図4は、第1実施例の同期バックアップノード100の内部構成を示す図である。本実施例の同期バックアップノード100は、通信に参加できる条件が成立してからの経過時間をカウントし、所定時間内に通信の同期が確立されない場合に、同期フレームに不足が生じていると判断して擬似同期フレームを送信する例であり、主要な構成要素として、送信処理部110と、受信処理部120と、同期制御部130と、バックアップ制御部140と、バスドライバ150とを備えている。
<First embodiment>
FIG. 4 is a diagram illustrating an internal configuration of the synchronous backup node 100 according to the first embodiment. The synchronous backup node 100 according to the present embodiment counts the elapsed time since the condition for participation in communication is established, and determines that the synchronization frame is deficient when communication synchronization is not established within a predetermined time. In this example, a pseudo-synchronous frame is transmitted, and includes a transmission processing unit 110, a reception processing unit 120, a synchronization control unit 130, a backup control unit 140, and a bus driver 150 as main components. .

送信処理部110は、フレームの送信処理を行う部分であり、送信データを準備する送信バッファ111、送信フレームの選択を行うセレクタ112、送信フレームをFlexRayプロトコルにあわせたフレームのかたちにエンコードする送信フレームエンコーダ113、送信フレームを通信バス10上に送出するかどうかの選択を行うセレクタ114、セレクタ112やセレクタ114の動作を制御して目的とする送信フレームを通信バス10上に送出させる送信制御部115から構成されている。   The transmission processing unit 110 is a part that performs transmission processing of a frame, and includes a transmission buffer 111 that prepares transmission data, a selector 112 that selects a transmission frame, and a transmission frame that encodes the transmission frame into a frame conforming to the FlexRay protocol. Encoder 113, selector 114 for selecting whether to send a transmission frame on communication bus 10, transmission control unit 115 for controlling the operation of selector 112 and selector 114 to send the desired transmission frame onto communication bus 10. It is composed of

本実施例の同期バックアップノード100では、この送信処理部110の送信バッファ111に、送信フレームA、送信フレームB、送信フレームCがそれぞれ格納されており、これら3つの送信フレームA,B,Cを選択的に通信バス10上に送出することが可能となっている。これら3つの送信フレームA,B,Cのうち、送信フレームBが、ヘッダ情報の中の同期フレーム・インジケータとスタートアップフレーム・インジケータの値が「1」とされた擬似同期フレームである。この送信フレームBは、スタートアッププロセスにおいて、スタートアップノードからの同期フレームに不足が生じていることが検出された場合にのみ、セレクタ112により選択されて通信バス10上に送出される。   In the synchronous backup node 100 of the present embodiment, a transmission frame A, a transmission frame B, and a transmission frame C are stored in the transmission buffer 111 of the transmission processing unit 110, and these three transmission frames A, B, and C are stored. The data can be selectively transmitted onto the communication bus 10. Of these three transmission frames A, B, and C, the transmission frame B is a pseudo synchronization frame in which the values of the synchronization frame indicator and the startup frame indicator in the header information are set to “1”. This transmission frame B is selected by the selector 112 and transmitted onto the communication bus 10 only when it is detected in the startup process that the synchronization frame from the startup node is insufficient.

受信処理部120は、フレームの受信処理を行う部分であり、通信バス10上に送出された送信フレームのうち、目的とするフレームのみを受信フレームとして取り込むセレクタ121と、セレクタ121による受信タイミングの制御を行う受信制御部122とから構成されている。   The reception processing unit 120 is a part that performs frame reception processing. Among the transmission frames transmitted on the communication bus 10, a selector 121 that takes only a target frame as a reception frame, and control of reception timing by the selector 121. It is comprised from the reception control part 122 which performs.

同期制御部130は、クロック同期によりネットワーク上の共通時間であるグローバルタイムを認識して、送信処理部110や受信処理部120による処理のタイミングを制御する部分である。   The synchronization control unit 130 is a part that recognizes a global time, which is a common time on the network, by clock synchronization and controls the timing of processing by the transmission processing unit 110 and the reception processing unit 120.

バックアップ制御部140は、本実施例の同期バックアップノード100において特徴的な部分であり、パワーオンリセット等の後、自ノードの起動や通信機能の設定などの通信開始準備処理が完了して通信に参加できる条件(ネットワーク起動条件)が成立するとスタートし、タイムアウトするとスタートアップ起動信号を出力するスタートアップタイマ141と、スタートアップタイマ141から出力されるスタートアップ起動信号をオン/オフするスイッチ142とから構成されている。   The backup control unit 140 is a characteristic part of the synchronous backup node 100 according to the present embodiment, and after power-on reset or the like, communication start preparation processing such as activation of its own node or setting of a communication function is completed and communication is performed. The system is composed of a start-up timer 141 that starts when a condition for participation (network start-up condition) is satisfied, and outputs a start-up start-up signal when time-out occurs, and a switch 142 that turns on / off the start-up start-up signal output from the start-up timer 141. .

バスドライバ150は、送信処理部110や受信処理部120で扱うデータを通信バス10上で送受信するために、電圧レベルと論理レベルとの変換を行う物理層ドライバである。   The bus driver 150 is a physical layer driver that converts between a voltage level and a logic level in order to transmit / receive data handled by the transmission processing unit 110 and the reception processing unit 120 on the communication bus 10.

次に、以上のように構成される本実施例の同期バックアップノード100のシステム起動時における動作について説明する。   Next, the operation at the time of system startup of the synchronous backup node 100 of the present embodiment configured as described above will be described.

システム起動時にスタートアップノード(図1に示した例ではノードAおよびノードE)が正常に動作している場合、同期バックアップノード100は非スタートアップノードであるため、ネットワーク起動条件が成立してもスタートアッププロセスには加入せず、スタートアップノードが通信の同期を確立するのを、同期制御部130にて監視する状態に入る。それと同時に、バックアップ制御部140において、ネットワーク起動条件の成立に伴いスタートアップタイマ141を起動する。   If the startup nodes (node A and node E in the example shown in FIG. 1) are operating normally at the time of system startup, the synchronous backup node 100 is a non-startup node, so even if the network startup conditions are met, the startup process The synchronization control unit 130 monitors that the start-up node establishes communication synchronization. At the same time, the backup control unit 140 starts the startup timer 141 when the network start condition is satisfied.

スタートアップタイマ141は、タイムアウトするとスタートアッププロセスに加入して擬似同期フレームを送出するモードに入るためのスタートアップ起動信号を出力する。スタートアップタイマ141のタイムアウト出力は、スイッチ142を介して同期制御部130に接続されている。また、スイッチ142は、同期制御部130からスタートアッププロセスの完了を示すスタートアップ完了信号が出力されると開放され、スタートアップタイマ141のタイムアウト出力と同期制御部130とを切り離す。   When a time-out occurs, the start-up timer 141 outputs a start-up start signal for entering a mode for joining a start-up process and transmitting a pseudo synchronization frame. The timeout output of the startup timer 141 is connected to the synchronization control unit 130 via the switch 142. Further, the switch 142 is released when a startup completion signal indicating completion of the startup process is output from the synchronization control unit 130, and disconnects the timeout output of the startup timer 141 from the synchronization control unit 130.

ここで、スタートアップタイマ141は、スタートアッププロセスが正常に完了する時間(システムの規模などに応じて異なる値でありシステム設計時に求まる)よりも若干長い時間に設定されている。このため、スタートアップノードが正常に動作している場合は、スタートアップタイマ141がタイムアウトするより前に同期制御部130からスタートアップ完了信号が出力され、スイッチ142が開放されるので、スタートアップ起動信号が同期制御部130に入力されることはなく、擬似同期フレーム(送信フレームB)の送出は行われない。   Here, the start-up timer 141 is set to a time slightly longer than the time for normally completing the start-up process (which differs depending on the scale of the system and the like and is obtained at the time of system design). For this reason, when the startup node is operating normally, the startup completion signal is output from the synchronization control unit 130 before the startup timer 141 times out, and the switch 142 is opened, so the startup activation signal is synchronized. It is not input to the unit 130, and the pseudo synchronization frame (transmission frame B) is not transmitted.

一方、システム起動時にスタートアップノードの何れかに故障などが生じて同期フレームが送出されていない場合には、スタートアップタイマ141がタイムアウトするまでにスタートアッププロセスが完了しないため、スイッチ142がオンのままスタートアップタイマ141がタイムアウトして、スタートアップ起動信号が同期制御部130に入力される。この場合、同期制御部130は、送信処理部110の送信制御部115に対してスタートアッププロセスへの加入を示すコマンドを通知する。そして、送信処理部110の送信制御部115が、同期制御部130からのコマンドに応じてセレクタ112やセレクタ114の動作を制御し、擬似同期フレームである送信フレームBを通信バス10上に送出させる。   On the other hand, if a synchronization frame is not transmitted because of a failure in one of the startup nodes at the time of system startup, the startup process is not completed before the startup timer 141 times out, so the startup timer remains switched on. 141 times out and a start-up activation signal is input to the synchronization control unit 130. In this case, the synchronization control unit 130 notifies the transmission control unit 115 of the transmission processing unit 110 of a command indicating participation in the startup process. Then, the transmission control unit 115 of the transmission processing unit 110 controls the operation of the selector 112 and the selector 114 according to the command from the synchronization control unit 130, and transmits the transmission frame B that is a pseudo synchronization frame onto the communication bus 10. .

図5は、本実施例の同期バックアップノード100において、ネットワーク起動条件が成立してから通常の通信動作が開始されるまでの間の処理の流れを概略的に示すフローチャートである。   FIG. 5 is a flowchart schematically showing a flow of processing in the synchronous backup node 100 according to the present embodiment from when the network activation condition is established to when normal communication operation is started.

本実施例の同期バックアップノード100は、ネットワーク起動条件が成立すると、まず、ステップS1において、バックアップ制御部140のスタートアップタイマ141を起動する。そして、スタートアップタイマ141を起動した状態で、ステップS2において、同期制御部130によりスタートアッププロセスが完了したかどうかを監視し、スタートアッププロセスが完了すれば、ステップS3において、通常の通信加入動作、つまりスタートアップノードのタイミングに合わせて送信フレームAまたは送信フレームBを通信バス10上に送出する動作が行われ、その後、通常の通信動作に移行する。一方、スタートアッププロセスが完了する前にスタートアップタイマ141がタイムアウト(ステップS4で肯定判定)すると、ステップS5において、スタートアッププロセスに加入する動作、つまり擬似同期フレームである送信フレームBを通信バス10上に送出する動作が行われ、その後、通信の同期が確立して他の非スタートアップノードが通信に加入した段階で、通常の通信動作に移行する。本実施例の同期バックアップノード100が以上のように動作することにより、スタートアップノードの故障により通常の通信動作が開始されないという事態を有効に回避することができる。   When the network activation condition is satisfied, the synchronous backup node 100 of the present embodiment first activates the startup timer 141 of the backup control unit 140 in step S1. Then, in a state in which the startup timer 141 is activated, in step S2, the synchronization control unit 130 monitors whether the startup process is completed. If the startup process is completed, in step S3, a normal communication subscription operation, that is, startup An operation of sending the transmission frame A or the transmission frame B onto the communication bus 10 is performed in accordance with the timing of the node, and then the normal communication operation is performed. On the other hand, if the start-up timer 141 times out before the start-up process is completed (Yes in step S4), an operation for joining the start-up process, that is, a transmission frame B that is a pseudo-synchronous frame is sent on the communication bus 10 in step S5. Then, when communication synchronization is established and another non-startup node joins the communication, a normal communication operation is performed. By operating the synchronous backup node 100 of the present embodiment as described above, it is possible to effectively avoid a situation in which a normal communication operation is not started due to a failure of the startup node.

<第2実施例>
図6は、第2実施例の同期バックアップノード200の内部構成を示す図である。本実施例の同期バックアップノード200は、通信バス10上の同期フレームの送信状態を監視して、スタートアップノードの少なくとも何れかからの同期フレームが送信されていない場合に、同期フレームに不足が生じていると判断して擬似同期フレームを送信する例であり、上述した第1実施例のバックアップノード100におけるバックアップ制御部140に代えて、バックアップ制御部210を備えたものである。なお、本実施例の同期バックアップノード200におけるその他の構成は、第1実施例のバックアップノード100と共通であるので、以下、第1実施例のバックアップノード100と共通の構成については同一の符号を付して説明を省略する。
<Second embodiment>
FIG. 6 is a diagram illustrating an internal configuration of the synchronous backup node 200 according to the second embodiment. The synchronous backup node 200 according to the present embodiment monitors the transmission state of the synchronization frame on the communication bus 10, and when the synchronization frame is not transmitted from at least one of the startup nodes, the synchronization frame is insufficient. In this example, a pseudo-synchronous frame is transmitted and a backup control unit 210 is provided instead of the backup control unit 140 in the backup node 100 of the first embodiment described above. Since the other configurations of the synchronous backup node 200 of this embodiment are the same as those of the backup node 100 of the first embodiment, the same reference numerals are used for the configurations common to the backup node 100 of the first embodiment. A description thereof will be omitted.

本実施例の同期バックアップノード200におけるバックアップ制御部210は、スタートアッププロセスが行われている間に通信バス10から入力されるフレームを直接監視して、スタートアップノードからの同期フレームが全て正常に送信されているかどうかを判定するスタートアップ同期フレーム不足検出部211を備える。このスタートアップ同期フレーム不足検出部211は、スタートアッププロセスが行われている間に、何れかのスタートアップノードからの同期フレームが通信バス10上に送信されていないことを検出すると、同期制御部130に対して、スタートアッププロセスに加入して擬似同期フレームを送出するモードに入るためのスタートアップ起動信号を出力する。   The backup control unit 210 in the synchronous backup node 200 of this embodiment directly monitors the frame input from the communication bus 10 during the startup process, and all the synchronous frames from the startup node are normally transmitted. A start-up synchronization frame shortage detection unit 211 that determines whether or not When the startup synchronization frame shortage detecting unit 211 detects that a synchronization frame from any startup node is not transmitted on the communication bus 10 during the startup process, the startup synchronization frame shortage detecting unit 211 detects the synchronization control unit 130. A startup activation signal for entering a mode for joining the startup process and transmitting a pseudo-synchronous frame is output.

次に、以上のように構成される本実施例の同期バックアップノード200のシステム起動時における動作について説明する。   Next, the operation at the time of system startup of the synchronous backup node 200 of the present embodiment configured as described above will be described.

システム起動時にスタートアップノード(図1に示した例ではノードAおよびノードE)が正常に動作している場合、同期バックアップノード200は非スタートアップノードであるため、ネットワーク起動条件が成立してもスタートアッププロセスには加入せず、スタートアップノードが通信の同期を確立するのを、同期制御部130にて監視する状態に入る。それと同時に、バックアップ制御部210のスタートアップ同期フレーム不足検出部211により、通信バス10から入力されるフレームが監視され、スタートアップノードであるノードAおよびノードEからの同期フレームが全て正常に送信されているかどうかが判定される。   If the startup nodes (node A and node E in the example shown in FIG. 1) are operating normally when the system is started up, the synchronous backup node 200 is a non-startup node. The synchronization control unit 130 monitors that the start-up node establishes communication synchronization. At the same time, the start-up synchronization frame shortage detection unit 211 of the backup control unit 210 monitors the frames input from the communication bus 10 and whether all the synchronization frames from the start-up nodes Node A and Node E are transmitted normally. Whether it is determined.

ここで、スタートアップノードであるノードAおよびノードEが正常に動作していれば、通信バス10上に送出されているべき全ての同期フレームが通信バス10上に送出されているので、スタートアップ同期フレーム不足検出部211からのスタートアップ起動信号が同期制御部130に入力されることはなく、擬似同期フレーム(送信フレームB)の送出は行われない。   Here, if the start-up nodes A and E are operating normally, all the synchronization frames that should be sent out on the communication bus 10 have been sent out on the communication bus 10, so that the startup synchronization frame The startup activation signal from the shortage detection unit 211 is not input to the synchronization control unit 130, and the pseudo synchronization frame (transmission frame B) is not transmitted.

一方、システム起動時にノードAまたはノードEの何れかに故障などが生じて同期フレームが送出されていない場合には、スタートアップ同期フレーム不足検出部211により同期フレームの不足が検出され、スタートアップ同期フレーム不足検出部211が出力するスタートアップ起動信号が同期制御部130に入力される。この場合、同期制御部130は、送信処理部110の送信制御部115に対してスタートアッププロセスへの加入を示すコマンドを通知する。そして、送信処理部110の送信制御部115が、同期制御部130からのコマンドに応じてセレクタ112やセレクタ114の動作を制御し、擬似同期フレームである送信フレームBを通信バス10上に送出させる。   On the other hand, if a synchronization frame has not been sent due to a failure in either node A or node E when the system is started, the startup synchronization frame shortage detection unit 211 detects the lack of a synchronization frame, and the startup synchronization frame is insufficient. A startup activation signal output from the detection unit 211 is input to the synchronization control unit 130. In this case, the synchronization control unit 130 notifies the transmission control unit 115 of the transmission processing unit 110 of a command indicating participation in the startup process. Then, the transmission control unit 115 of the transmission processing unit 110 controls the operation of the selector 112 and the selector 114 according to the command from the synchronization control unit 130, and transmits the transmission frame B that is a pseudo synchronization frame onto the communication bus 10. .

図7は、本実施例の同期バックアップノード200において、ネットワーク起動条件が成立してから通常の通信動作が開始されるまでの間の処理の流れを概略的に示すフローチャートである。なお、この図7は、スタートアップノードであるノードAおよびノードEのうち、ノードAがスタートアッププロセスを牽引するリーディングノード、ノードEがノードAに追従してスタートアッププロセスを行うフォローイングノードとなる場合の例である。   FIG. 7 is a flowchart schematically showing a flow of processing in the synchronous backup node 200 according to the present embodiment from when the network activation condition is established to when normal communication operation is started. FIG. 7 shows a case where, among the nodes A and E, which are startup nodes, the node A is a leading node that leads the startup process, and the node E is a following node that follows the node A and performs the startup process. It is an example.

本実施例の同期バックアップノード200では、ネットワーク起動条件が成立すると、まず、ステップS11において、バックアップ制御部210のスタートアップ同期フレーム検出部211が、ノードAからの同期フレームが通信バス10上に規定回数(例えば4回)送出されているかどうかを判定し、ノードAからの同期フレームが規定回数送出されていれば、次のステップS12において、ノードAからの同期フレームとノードEからの同期フレームの双方が通信バス10上に規定回数(例えば4回)送出されているかどうかを判定する。そして、このステップS12での判定でノードAからの同期フレームとノードEからの同期フレームとを共に規定回数検出できれば、ステップS13において、通常の通信加入動作、つまりスタートアップノードのタイミングに合わせて送信フレームAまたは送信フレームBを通信バス10上に送出する動作が行われ、その後、通常の通信動作に移行する。一方、ステップS11の判定でノードAからの同期フレームを規定回数検出できなかった場合、或いはステップS12の判定でノードAおよびノードEからの同期フレームを規定回数検出できなかった場合には、ステップS14において、スタートアッププロセスに加入する動作、つまり擬似同期フレームである送信フレームBを通信バス10上に送出する動作が行われ、その後、通信の同期が確立して他の非スタートアップノードが通信に加入した段階で、通常の通信動作に移行する。本実施例の同期バックアップノード200が以上のように動作することにより、スタートアップノードの故障により通常の通信動作が開始されないという事態を有効に回避することができる。   In the synchronous backup node 200 of this embodiment, when the network activation condition is satisfied, first, in step S11, the startup synchronization frame detection unit 211 of the backup control unit 210 causes the synchronization frame from the node A to be transmitted a predetermined number of times on the communication bus 10. It is determined whether or not (for example, 4 times) has been transmitted, and if the synchronization frame from node A has been transmitted a prescribed number of times, both the synchronization frame from node A and the synchronization frame from node E are both sent in the next step S12. Is transmitted on the communication bus 10 a predetermined number of times (for example, four times). If both the synchronization frame from node A and the synchronization frame from node E can be detected a predetermined number of times in the determination in step S12, in step S13, the transmission frame is synchronized with the normal communication joining operation, that is, the startup node timing. The operation of sending A or the transmission frame B onto the communication bus 10 is performed, and then the normal communication operation is performed. On the other hand, if the synchronization frame from node A cannot be detected a predetermined number of times in the determination in step S11, or if the synchronization frame from node A and node E cannot be detected a predetermined number of times in the determination in step S12, step S14 , The operation of joining the startup process, that is, the operation of sending the transmission frame B, which is a pseudo-synchronous frame, to the communication bus 10 is performed, and then communication synchronization is established and other non-startup nodes join the communication. Transition to normal communication operation at the stage. By operating the synchronous backup node 200 of this embodiment as described above, it is possible to effectively avoid a situation in which a normal communication operation is not started due to a failure of the startup node.

以上、具体的な例を挙げながら詳細に説明したように、本実施形態の通信ネットワークシステムでは、非スタートアップノードであるノードB,C,Dの少なくとも何れかを同期バックアップノードとし、スタートアップノードであるノードAおよびノードEから送出される同期フレームに不足が生じているときに擬似同期フレームを通信バス10上に送出する機能を持たせるようにしているので、スタートアップノードをノードAおよびノードEの2つに限定して分派の発生を有効に抑制しながら、ノードAとノードEの何れかに故障が発生して同期フレームが送出されない場合であっても、同期バックアップノードのバックアップによってスタートアッププロセスを確実に完了させて、通常の通信動作を開始させることができる。   As described above in detail with specific examples, in the communication network system of this embodiment, at least one of the nodes B, C, and D that are non-startup nodes is a synchronous backup node and is a startup node. Since there is a function to send a pseudo-synchronous frame onto the communication bus 10 when there is a shortage in the synchronous frames sent from the node A and the node E, the startup nodes are the nodes A and E. The start-up process is ensured by the backup of the synchronous backup node even if a failure occurs in either node A or node E and the synchronous frame is not sent out, while effectively suppressing the occurrence of splitting And normal communication operation can be started.

なお、以上説明した通信ネットワークシステムは本発明の一適用例を例示したものであり、本発明の技術的範囲は、以上の説明で開示した内容に限定されるものではなく、これらの開示から容易に導き得る様々な代替技術も含まれることは勿論である。   Note that the communication network system described above exemplifies an application example of the present invention, and the technical scope of the present invention is not limited to the contents disclosed in the above description, and is easy from these disclosures. Of course, various alternative technologies that can lead to the above are also included.

本発明を適用した通信ネットワークシステムの全体構成を示す図である。1 is a diagram illustrating an overall configuration of a communication network system to which the present invention is applied. FlexRayプロトコルにおけるフレーム・フォーマットを示す図である。It is a figure which shows the frame format in a FlexRay protocol. システム起動時に行われるスタートアッププロセスを説明する図であり、(a)は正常時の様子を示す図、(b)はスタートアップノードであるノードEから同期フレームが送出されない異常時の様子を示す図である。It is a figure explaining the startup process performed at the time of system starting, (a) is a figure which shows the mode at the time of normality, (b) is a figure which shows the mode at the time of abnormality when the synchronous frame is not sent out from the node E which is a startup node. is there. 第1実施例の同期バックアップノードの内部構成を示す図である。It is a figure which shows the internal structure of the synchronous backup node of 1st Example. 第1実施例の同期バックアップノードにおいて、ネットワーク起動条件が成立してから通常の通信動作が開始されるまでの間の処理の流れを概略的に示すフローチャートである。6 is a flowchart schematically showing a flow of processing from when a network activation condition is established until a normal communication operation is started in the synchronous backup node of the first embodiment. 第2実施例の同期バックアップノードの内部構成を示す図である。It is a figure which shows the internal structure of the synchronous backup node of 2nd Example. 第2実施例の同期バックアップノードにおいて、ネットワーク起動条件が成立してから通常の通信動作が開始されるまでの間の処理の流れを概略的に示すフローチャートである。6 is a flowchart schematically showing a flow of processing from when a network activation condition is satisfied until a normal communication operation is started in the synchronous backup node of the second embodiment.

符号の説明Explanation of symbols

10 通信バス
100 同期バックアップノード
110 送信処理部
120 受信処理部部
130 同期制御部
140 バックアップ制御部
141 スタートアップタイマ
142 スイッチ
150 バスドライバ
200 同期バックアップノード
210 バックアップ制御部
211 スタートアップ同期フレーム不足検出部
DESCRIPTION OF SYMBOLS 10 Communication bus 100 Synchronous backup node 110 Transmission processing part 120 Reception processing part 130 Synchronization control part 140 Backup control part 141 Startup timer 142 Switch 150 Bus driver 200 Synchronous backup node 210 Backup control part 211 Startup synchronous frame shortage detection part

Claims (4)

システム起動時に少なくとも2つのスタートアップノードが同期フレームを通信バス上に送出することで通信の同期を確立し、他のノードが前記スタートアップノードのタイミングに合わせて通信に参加することで通常の通信動作が開始される時分割多重型の通信ネットワークシステムにおいて、
前記スタートアップノード以外の他のノードの少なくとも1つが、前記スタートアップノードから送出される同期フレームに不足が生じているときに当該同期フレームを摸擬した擬似同期フレームを前記通信バス上に送出する擬似同期フレーム送信手段を備えることを特徴とする通信ネットワークシステム。
At the time of system startup, at least two startup nodes establish a synchronization of communication by sending a synchronization frame on the communication bus, and other nodes participate in the communication in accordance with the timing of the startup node, thereby performing a normal communication operation. In the time-division multiplex communication network system to be started,
Pseudo-synchronization in which at least one of the other nodes other than the startup node sends out a pseudo-synchronization frame imitating the synchronization frame on the communication bus when there is a shortage in the synchronization frame transmitted from the startup node A communication network system comprising frame transmission means.
前記擬似同期フレーム送信手段は、通信に参加できる条件が成立してからの経過時間をカウントし、所定時間内に通信の同期が確立されない場合に、前記同期フレームに不足が生じていると判断して前記擬似同期フレームを送信することを特徴とする請求項1に記載の通信ネットワークシステム。   The pseudo-synchronous frame transmission means counts the elapsed time since the condition for participation in communication is established, and determines that the synchronization frame is deficient when communication synchronization is not established within a predetermined time. The communication network system according to claim 1, wherein the pseudo synchronization frame is transmitted. 前記擬似同期フレーム送信手段は、前記通信バス上の同期フレームの送信状態を監視して、前記スタートアップノードの少なくとも何れかからの同期フレームが送信されていない場合に、前記同期フレームに不足が生じていると判断して前記擬似同期フレームを送信することを特徴とする請求項1に記載の通信ネットワークシステム。   The pseudo synchronization frame transmission means monitors the transmission state of the synchronization frame on the communication bus, and when the synchronization frame is not transmitted from at least one of the startup nodes, the synchronization frame is insufficient. The communication network system according to claim 1, wherein the pseudo-synchronization frame is transmitted after being determined to be present. システム起動時に少なくとも2つのスタートアップノードが同期フレームを送信することで通信の同期を確立し、他のノードが前記スタートアップノードのタイミングに合わせて通信に参加することで通常の通信動作が開始される時分割多重型の通信ネットワークシステムのスタートアップ方法であって、
前記スタートアップノード以外の他のノードの少なくとも1つが、前記スタートアップノードから送出される同期フレームに不足が生じているときに当該同期フレームを摸擬した擬似同期フレームを前記通信バス上に送出することを特徴とする通信ネットワークシステムのスタートアップ方法。
When at least two startup nodes establish synchronization of communication by transmitting a synchronization frame at the time of system startup, and normal communication operation is started when another node participates in communication in accordance with the timing of the startup node A startup method for a division multiplexing communication network system,
When at least one of the nodes other than the startup node has a shortage in the synchronization frame transmitted from the startup node, the pseudo synchronization frame imitating the synchronization frame is transmitted on the communication bus. A start-up method for a communication network system.
JP2006189750A 2006-07-10 2006-07-10 Communication network system and startup method thereof Expired - Fee Related JP4862521B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006189750A JP4862521B2 (en) 2006-07-10 2006-07-10 Communication network system and startup method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006189750A JP4862521B2 (en) 2006-07-10 2006-07-10 Communication network system and startup method thereof

Publications (2)

Publication Number Publication Date
JP2008022078A true JP2008022078A (en) 2008-01-31
JP4862521B2 JP4862521B2 (en) 2012-01-25

Family

ID=39077742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006189750A Expired - Fee Related JP4862521B2 (en) 2006-07-10 2006-07-10 Communication network system and startup method thereof

Country Status (1)

Country Link
JP (1) JP4862521B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010056919A (en) * 2008-08-28 2010-03-11 Mitsubishi Electric Corp Network system
JP2011024100A (en) * 2009-07-17 2011-02-03 Denso Corp Communication system
JP2011193373A (en) * 2010-03-16 2011-09-29 Hitachi Automotive Systems Ltd Communication apparatus and communication system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11284650A (en) * 1998-03-31 1999-10-15 Mitsubishi Electric Corp Network communication system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11284650A (en) * 1998-03-31 1999-10-15 Mitsubishi Electric Corp Network communication system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010056919A (en) * 2008-08-28 2010-03-11 Mitsubishi Electric Corp Network system
JP2011024100A (en) * 2009-07-17 2011-02-03 Denso Corp Communication system
JP2011193373A (en) * 2010-03-16 2011-09-29 Hitachi Automotive Systems Ltd Communication apparatus and communication system

Also Published As

Publication number Publication date
JP4862521B2 (en) 2012-01-25

Similar Documents

Publication Publication Date Title
JP4946646B2 (en) Communication network system and wakeup method for unwakened node
EP3016306B1 (en) Method and apparatus for providing in-vehicle network time synchronization using redundant grandmaster
JP4917649B2 (en) Network and method for setting a time reference for nodes in the network
JP4871395B2 (en) Intelligent star coupler for time trigger communication and method for communication between nodes in a network using a time trigger protocol
KR101519793B1 (en) Network system for vehicle and data transmission method of a different kind communication controller in the same system
CN110830276B (en) EtherCAT communication system and method based on cold redundancy mechanism
US8306004B2 (en) Communication network system having high-ranking network and low-ranking networks, interchange terminal connecting high-ranking network and low-ranking network, microcomputer controlling connection between transmission line of low-ranking network and transmission line of high-ranking network, and communication transmitter-receiver connected with transmission line of low-ranking network and transmission line of high-ranking network
US7822070B2 (en) Bus station and system and method of maintaining synchronizing of a bus station
US20100061404A1 (en) Method for starting a communication system, a communication system having a communication medium and a plurality of subscribers connected thereto, and subscribers of such a communication system
US6145008A (en) Conflict free time-triggered method and apparatus for the transmission of messages in a distributed real-time computer system
US11281284B2 (en) Power consumption reduction in USB 2.0 redriver and in eUSB2 repeater
JP4862521B2 (en) Communication network system and startup method thereof
US20060233193A1 (en) Time-triggered communication system and method for the synchronized start of a dual-channel network
JP2008022072A (en) Communication network system and error verification method
US7680034B2 (en) Redundant control systems and methods
US9323629B2 (en) Method for managing path failures of OSEK networks
JP4994280B2 (en) Route change type network device and system
JP2007281800A (en) Automatic synchronization signal switching device and its method
US11849373B2 (en) Wireless communication system with central communication unit arranged to communicate with subscriber communication units
EP2698949B1 (en) METHOD AND SYSTEM FOR SETTING DETECTION FRAME TIMEOUT DURATION OF ETHERNET NODEs
JP2008236217A (en) Flexray network connecting method, flexray network and electronic control unit for flexray network
US10891242B2 (en) Embedded USB2 (eUSB2) repeater operation
CN106664212B (en) Switch unit, Ethernet network and method for activating components in an Ethernet network
JP2007299120A (en) Equalization system for duplicated programmable controller
JP2008022079A (en) Communication network system and notice method of reception diagnostic result

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090626

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110614

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: 20111011

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: 20111024

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

Free format text: PAYMENT UNTIL: 20141118

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees