JP2014236478A - Clock signal supply system and standby clock signal output device - Google Patents

Clock signal supply system and standby clock signal output device Download PDF

Info

Publication number
JP2014236478A
JP2014236478A JP2013118978A JP2013118978A JP2014236478A JP 2014236478 A JP2014236478 A JP 2014236478A JP 2013118978 A JP2013118978 A JP 2013118978A JP 2013118978 A JP2013118978 A JP 2013118978A JP 2014236478 A JP2014236478 A JP 2014236478A
Authority
JP
Japan
Prior art keywords
clock signal
communication bus
clock
supply system
reference time
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
JP2013118978A
Other languages
Japanese (ja)
Inventor
潤人 小野
Hiroto Ono
潤人 小野
英樹 加島
Hideki Kashima
英樹 加島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2013118978A priority Critical patent/JP2014236478A/en
Publication of JP2014236478A publication Critical patent/JP2014236478A/en
Pending legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a highly reliable communication system by multiplexing a clock signal supply source.SOLUTION: A communication system includes: a master node 1 having a main clock generator 10; and a plurality of sub-nodes 2 each having a standby clock generator 20. The master node 1 supplies a clock signal for synchronously operating a plurality of nodes, connected to a communication bus 3, to the communication bus. Each sub-node 2 monitors the presence of absence of a clock signal propagating on the communication bus 3, and supplies a clock signal generated by a clock oscillator 24 to the communication bus 3, on condition that a predetermined reference time elapses in a state that the clock signal on the communication bus 3 breaks.

Description

本発明は、複数のノードを同期して動作させるためのクロック信号を通信バスに出力するクロック信号供給システムに関する。   The present invention relates to a clock signal supply system that outputs a clock signal for operating a plurality of nodes in synchronization to a communication bus.

従来、通信バスを利用する通信システムにおいて、複数のノードを同期させるためのクロック信号を発生させるクロック発生装置(マスタノード)の故障等により、クロック信号が送信されない場合、予備のクロック発生装置(サブマスタノード)が代理でクロック信号を供給する技術が知られている(特許文献1参照)。このようにすることで、通信システムの高信頼化を実現できるとされている。   Conventionally, in a communication system using a communication bus, when a clock signal is not transmitted due to a failure of a clock generator (master node) that generates a clock signal for synchronizing a plurality of nodes, a spare clock generator (sub A technique in which a master node) supplies a clock signal on behalf is known (see Patent Document 1). By doing so, it is said that high reliability of the communication system can be realized.

特開2013−30932号公報JP2013-30932A

特許文献1に記載の通信システムでは、マスタノードの代理としてクロック信号を出力できるサブマスタノードは1つのみである。つまり、マスタノードとサブマスタノードとを合わせても、クロック信号の供給源を二重化することしかできない。そこで、より高い信頼性を実現する上で更なる改善の余地がある。   In the communication system described in Patent Document 1, there is only one sub-master node that can output a clock signal as a proxy for the master node. That is, even if the master node and the sub master node are combined, the supply source of the clock signal can only be duplicated. Therefore, there is room for further improvement in realizing higher reliability.

本発明は、上記課題を解決するためになされたものであり、クロック信号の供給源の多重化により通信システムの更なる高信頼化を実現するための技術を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a technique for realizing higher reliability of a communication system by multiplexing clock signal supply sources.

本発明のクロック信号供給システムは、通信バスに接続された複数のノードを同期して動作させるための所定のクロック信号を通信バスに出力する主クロック信号出力装置と、複数の予備クロック信号出力装置とを備える。予備クロック信号出力装置は、クロック信号を生成する生成手段と、制御手段とを備える。制御手段は、通信バス上を伝搬するクロック信号の有無を監視し、通信バス上のクロック信号が途絶えた状態で所定の基準時間が経過したことを条件に、生成手段により生成されるクロック信号を通信バスに出力する。   A clock signal supply system according to the present invention includes a main clock signal output device that outputs a predetermined clock signal for synchronously operating a plurality of nodes connected to a communication bus to the communication bus, and a plurality of spare clock signal output devices. With. The spare clock signal output device includes a generating unit that generates a clock signal and a control unit. The control means monitors the presence or absence of a clock signal propagating on the communication bus, and determines the clock signal generated by the generation means on the condition that a predetermined reference time has passed with the clock signal on the communication bus being interrupted. Output to the communication bus.

本発明のクロック信号供給システムには、主クロック信号出力装置の予備として用いることのできる予備クロック信号出力装置が複数備えられている。複数の予備クロック信号出力装置は、各自でバス上を伝搬するクロック信号の有無を監視しており、クロック信号が途絶えた状態が一定時間継続したと判断したときにクロック信号を通信バスに出力するようになっている。このような構成によれば、主クロック信号出力装置だけでなく、一部の予備クロック信号出力装置からもクロック信号を出力できなくなった状況下であっても、残りの正常な予備クロック信号出力装置からクロック信号の出力を行うことができる。本発明におけるクロック信号の供給源の多重化により通信システムの更なる高信頼化を実現できる。   The clock signal supply system of the present invention includes a plurality of spare clock signal output devices that can be used as spares for the main clock signal output device. The plurality of spare clock signal output devices each monitor the presence or absence of a clock signal propagating on the bus, and output the clock signal to the communication bus when it is determined that the state in which the clock signal has been interrupted has continued for a certain period of time. It is like that. According to such a configuration, not only the main clock signal output device but also the remaining normal spare clock signal output devices even under the situation where the clock signal cannot be output from some spare clock signal output devices. Can output a clock signal. Further reliability of the communication system can be realized by multiplexing clock signal supply sources in the present invention.

通信システムの概略構成を示すブロック図。1 is a block diagram showing a schematic configuration of a communication system. 通信システムにおけるクロック信号の供給状況の一例を示す説明図。Explanatory drawing which shows an example of the supply condition of the clock signal in a communication system. クロック供給開始処理の手順を示すフローチャート。The flowchart which shows the procedure of a clock supply start process. クロック重複回避処理の手順を示すフローチャート。The flowchart which shows the procedure of a clock duplication avoidance process.

以下、本発明の一実施形態を図面に基づいて説明する。なお、本発明は下記の実施形態に限定されるものではなく様々な態様にて実施することが可能である。
[通信システムの構成の説明]
実施形態の通信システムは、車両に搭載されるものであり、図1に示すとおり、マスタノード1と、複数(1,2,…N)のサブノード2とが、車内通信ネットワークの通信路である通信バス3に接続されている。なお、通信バス3には、通信装置として、車両に備えられた機器類を制御する複数の電子制御装置(ECU、図示なし)が接続されている。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In addition, this invention is not limited to the following embodiment, It is possible to implement in various aspects.
[Description of configuration of communication system]
The communication system according to the embodiment is mounted on a vehicle. As shown in FIG. 1, the master node 1 and a plurality (1, 2,... N) of sub-nodes 2 are communication paths of the in-vehicle communication network. It is connected to the communication bus 3. The communication bus 3 is connected with a plurality of electronic control devices (ECU, not shown) that control devices provided in the vehicle as communication devices.

マスタノード1には、所定周波数のクロック信号を通信バスに供給する電子制御装置であるメインクロック発生部10が設けられている。クロック信号は、通信バス3に接続されている各種ECUの動作を同期させるための基準信号である。メインクロック発生部10は、クロック発振器11により生成される所定周波数のクロック信号を通信バスに出力する。クロック発振器11は、例えば水晶振動子等の安定した周波数で発信する振動子を用いた発信回路である。   The master node 1 is provided with a main clock generator 10 which is an electronic control device that supplies a clock signal having a predetermined frequency to the communication bus. The clock signal is a reference signal for synchronizing the operations of various ECUs connected to the communication bus 3. The main clock generator 10 outputs a clock signal having a predetermined frequency generated by the clock oscillator 11 to the communication bus. The clock oscillator 11 is a transmission circuit using a vibrator that emits at a stable frequency, such as a crystal vibrator.

サブノード2には、マスタノード1の故障等によりクロック信号が通信バスに供給されないときの予備として、マスタノード1と同様のクロック信号を通信バスに供給する予備クロック発生部20が設けられている。なお、以下の説明において、複数のサブノード2を個々に区別する場合、サブノード(1)、サブノード(2)…といった具合に番号を付けて表記する。なお、マスタノード1及びサブノード2は、クロック信号を供給する専用の装置として設けられるものであってもよいし、車両に備えられた機器類を制御する複数のECUに組込まれているものであってもよい。   The sub node 2 is provided with a spare clock generator 20 that supplies a clock signal similar to that of the master node 1 to the communication bus as a spare when the clock signal is not supplied to the communication bus due to a failure of the master node 1 or the like. In the following description, when a plurality of subnodes 2 are individually distinguished, numbers such as subnode (1), subnode (2). Note that the master node 1 and the sub node 2 may be provided as dedicated devices for supplying a clock signal, or may be incorporated in a plurality of ECUs that control devices provided in the vehicle. May be.

予備クロック発生部20は、制御部21とクロック発振器24とを備える。制御部21は、例えばマイクロコンピュータを中心に構成される電子回路であり、クロック信号の供給に関する各種制御を行う。制御部21は、ソフトウェア又はハードウェアによって実現される機能的構成として、経過時間を判定する時間判定部22と、通信バス3を伝搬するクロック信号の有無を検出するクロック検出部23とを備える。クロック発振器24は、例えば水晶振動子等の安定した周波数で発信する振動子を用いた発信回路であり、メインクロック発生部10が備えるクロック発振器11と同等のクロック信号を発生する。   The spare clock generation unit 20 includes a control unit 21 and a clock oscillator 24. The control unit 21 is an electronic circuit mainly composed of a microcomputer, for example, and performs various controls related to the supply of a clock signal. The control unit 21 includes a time determination unit 22 that determines the elapsed time and a clock detection unit 23 that detects the presence or absence of a clock signal propagating through the communication bus 3 as functional configurations realized by software or hardware. The clock oscillator 24 is a transmission circuit using a vibrator that emits at a stable frequency, such as a crystal vibrator, and generates a clock signal equivalent to the clock oscillator 11 included in the main clock generator 10.

制御部21は、クロック検出部23によって通信バス3にクロック信号が供給されているか否かを監視する。正常な状態では、マスタノード1のメインクロック発生部10により供給されるクロック信号が通信バス3から検出される。もし、何らかの異常により通信バス3のクロック信号が途絶えた場合、制御部21は、クロック信号が途絶えた状態で経過した時間を時間判定部22により判定する。そして、クロック信号が途絶えた状態で所定の基準時間が経過したことを条件に、クロック発振器20がクロック信号を通信バス3に供給し始める。   The control unit 21 monitors whether or not a clock signal is supplied to the communication bus 3 by the clock detection unit 23. In a normal state, a clock signal supplied from the main clock generator 10 of the master node 1 is detected from the communication bus 3. If the clock signal of the communication bus 3 is interrupted due to some abnormality, the control unit 21 uses the time determination unit 22 to determine the elapsed time when the clock signal is interrupted. Then, the clock oscillator 20 starts to supply the clock signal to the communication bus 3 on condition that a predetermined reference time has passed with the clock signal being interrupted.

なお、第1実施形態として、各サブノード2の予備クロック発生部20には、互いに異なる基準時間が予め設定してあるものとする。このようにすることで、各サブノード2がクロック信号の供給を開始するタイミングを意図的にずらし、同一のタイミングで複数のサブノード2からクロック信号が重複して供給されないようになっている。一方、第2実施形態では、各サブノード2の予備クロック発生部20が、所定のタイミングでランダムな基準時間を設定するものとする。このようにすることで、各サブノード2の基準時間をばらつかせ、同一のタイミングで複数のサブノード2からクロック信号が重複して供給されないようになっている。   In the first embodiment, different reference times are set in advance in the spare clock generator 20 of each sub-node 2. In this way, the timing at which each sub-node 2 starts supplying the clock signal is intentionally shifted so that the clock signals are not redundantly supplied from the plurality of sub-nodes 2 at the same timing. On the other hand, in the second embodiment, it is assumed that the spare clock generation unit 20 of each sub node 2 sets a random reference time at a predetermined timing. By doing so, the reference time of each sub-node 2 is varied, so that clock signals are not supplied redundantly from a plurality of sub-nodes 2 at the same timing.

[クロック信号の供給状況の一例]
本実施形態の通信システムにおけるクロック信号の供給状況の一例について、図2を参照しながら説明する。
[Example of clock signal supply status]
An example of the supply status of the clock signal in the communication system of this embodiment will be described with reference to FIG.

図2の事例では、マスタノード1によるクロック信号(メインクロック)の供給が停止した状況を想定している。このとき、各サブノード2は、通信バス3を伝搬するクロック信号の有無を監視しながら、経過時間を計測する。なお、図2の事例では、サブノード(1)がクロック信号の出力を開始する基準時間をt1、サブノード(2)がクロック信号の出力を開始する基準時間をt2とする(ただし、t1<t2)。   In the example of FIG. 2, it is assumed that the supply of the clock signal (main clock) by the master node 1 is stopped. At this time, each subnode 2 measures the elapsed time while monitoring the presence or absence of a clock signal propagating through the communication bus 3. In the case of FIG. 2, the reference time at which the subnode (1) starts outputting the clock signal is t1, and the reference time at which the subnode (2) starts outputting the clock signal is t2 (where t1 <t2). .

クロック信号が検出されなくなってから基準時間t1を経過した時点で、本来であれば、サブノード(1)がマスタノード1に代わってクロック信号の供給を開始する。しかしながら、ここでは、何らかの異常によりサブノード(1)もクロック信号を供給できないと仮定する。そのままクロック信号が検出されないまま基準時間t2を経過した時点で、サブノード(2)がマスタノード1やサブノード(1)に代わってクロック信号の供給を開始する。これにより、通信バス3に再びクロック信号が供給されることになる。このとき、他のサブノード2は、クロック信号の供給が再開されることで経過時間のカウントを止めて、通信バス3上のクロック信号の供給状況を監視する。このように、本実施形態の通信システムでは、マスタノード1だけでなく、一部のサブノード2からもクロック信号を供給できなくなった状況下であっても、正常に動作するサブノード2が存在する限り通信バス3にクロック信号を供給できるようになっている。   Originally, when the reference time t1 has elapsed after the clock signal is no longer detected, the sub-node (1) starts to supply the clock signal instead of the master node 1. However, here, it is assumed that the sub-node (1) cannot supply the clock signal due to some abnormality. When the reference time t2 elapses without detecting the clock signal as it is, the subnode (2) starts supplying the clock signal in place of the master node 1 and the subnode (1). As a result, the clock signal is supplied to the communication bus 3 again. At this time, the other subnode 2 stops counting the elapsed time by restarting the supply of the clock signal, and monitors the supply status of the clock signal on the communication bus 3. As described above, in the communication system according to the present embodiment, as long as there is a sub-node 2 that operates normally even in a situation where the clock signal cannot be supplied not only from the master node 1 but also from some sub-nodes 2. A clock signal can be supplied to the communication bus 3.

[クロック供給開始処理(第1実施形態)の説明]
各サブノード2に備えられた予備クロック発生部20の制御部21が実行するクロック供給開始処理(第1実施形態)の手順について、図3のフローチャートを参照しながら説明する。この処理は、所定の制御周期で繰返し実行される。
[Description of Clock Supply Start Processing (First Embodiment)]
The procedure of the clock supply start process (first embodiment) executed by the control unit 21 of the spare clock generation unit 20 provided in each sub-node 2 will be described with reference to the flowchart of FIG. This process is repeatedly executed at a predetermined control cycle.

S100では、制御部21は、通信バス3にクロック信号が供給されているか否かを判定する。通信バス3にクロック信号が供給されている場合(S100:YES)、制御部21は本処理を終了する。一方、通信バス3にクロック信号が供給されていない場合(S100:NO)、制御部21はS102に進む。   In S <b> 100, the control unit 21 determines whether a clock signal is supplied to the communication bus 3. When the clock signal is supplied to the communication bus 3 (S100: YES), the control unit 21 ends this process. On the other hand, when the clock signal is not supplied to the communication bus 3 (S100: NO), the control unit 21 proceeds to S102.

S102では、制御部21は、今回のクロック供給開始処理を開始した時点から所定の基準時間を経過したか否かを判定する。なお、第1実施形態では、個々のサブノード2ごとに異なる基準時間が予め登録されていることを前提とする。基準時間を経過していない場合(S102:NO)、制御部21はS100に戻る。基準時間を経過した場合(S102:YES)、制御部21はS104に進む。S104では、制御部21は、クロック発振器24で生成されるクロック信号を通信バス3に供給し始める。   In S102, the control unit 21 determines whether or not a predetermined reference time has elapsed since the start of the current clock supply start process. In the first embodiment, it is assumed that a different reference time is registered in advance for each sub-node 2. When the reference time has not elapsed (S102: NO), the control unit 21 returns to S100. When the reference time has elapsed (S102: YES), the control unit 21 proceeds to S104. In S <b> 104, the control unit 21 starts supplying the clock signal generated by the clock oscillator 24 to the communication bus 3.

[クロック重複回避処理(第2実施形態)の説明]
上述の第1実施形態のクロック供給開始処理では、個々のサブノード2ごとに異なる基準時間が予め設定されている事例について説明した。これとは別の第2実施形態として、各サブノード2が独自にランダムの基準時間を設定する構成であってもよい。具体的には、スレーブノード2が起動して初回のクロック供給開始処理を実施するときに、制御部21がランダムの基準時間をセットし、以降、セットしたランダムの基準時間に基づいてクロック供給開始処理を繰返し実行する。なお、第2実施形態のクロック供給開始処理については、初回時にランダムな基準時間を設定する手順が含まれる以外は、上述の第1実施形態のクロック供給開始処理(図2参照)と同様であるので、ここでの説明は省略する。
[Description of Clock Duplication Avoidance Processing (Second Embodiment)]
In the above-described clock supply start process of the first embodiment, the case where a different reference time is preset for each individual sub-node 2 has been described. As a second embodiment different from this, a configuration in which each sub-node 2 independently sets a random reference time may be used. Specifically, when the slave node 2 starts up and performs the initial clock supply start processing, the control unit 21 sets a random reference time, and thereafter starts clock supply based on the set random reference time. Repeat the process. Note that the clock supply start process of the second embodiment is the same as the clock supply start process of the first embodiment described above (see FIG. 2) except that a procedure for setting a random reference time at the first time is included. Therefore, explanation here is omitted.

ただし、各サブノード2がそれぞれ独自にランダムな基準時間を設定する場合、稀に複数のサブノード2の間でクロック信号の供給を開始するタイミングが重複し、通信バス3上に複数の供給源からなるクロック信号が混在する可能性がある。そのような場合、通信バス3上を伝搬するクロック信号が不安定になるため、クロック信号の重複を回避する措置が必要となる。そこで、各サブノード2に備えられた予備クロック発生部20の制御部21が実行するクロック重複開始処理(第2実施形態)の手順について、図4のフローチャートを参照しながら説明する。この処理は、サブノード2の予備クロック発生部20がクロック信号を通信バス3に供給しているときに、所定の制御周期で繰返し実行される。   However, when each sub-node 2 sets its own random reference time, the timing for starting the supply of the clock signal rarely overlaps between the plurality of sub-nodes 2, and a plurality of supply sources are provided on the communication bus 3. Clock signals may be mixed. In such a case, since the clock signal propagating on the communication bus 3 becomes unstable, it is necessary to take measures to avoid duplication of the clock signal. Therefore, the procedure of the clock duplication start process (second embodiment) executed by the control unit 21 of the spare clock generation unit 20 provided in each sub-node 2 will be described with reference to the flowchart of FIG. This process is repeatedly executed at a predetermined control period when the spare clock generator 20 of the sub node 2 supplies the clock signal to the communication bus 3.

S200では、制御部21は、クロック検出部23によるクロック信号の検出結果に基づいて、クロック発振器24から出力されているクロック信号と通信バス3上のクロック信号とが不一致であるか否かを判定する。自らが出力するクロック信号と、通信バス3上のクロック信号とが不一致であるということは、複数のクロック信号の供給源から通信バス3にクロック信号が重複して供給されていることを意味する。クロック信号が一致する場合(S200:NO)、制御部21は本処理を終了する。一方、クロック信号が不一致である場合(S200:YES)、制御部21はS202に進む。   In S <b> 200, the control unit 21 determines whether or not the clock signal output from the clock oscillator 24 and the clock signal on the communication bus 3 do not match based on the detection result of the clock signal by the clock detection unit 23. To do. The fact that the clock signal output by itself does not match the clock signal on the communication bus 3 means that the clock signal is supplied to the communication bus 3 redundantly from a plurality of clock signal supply sources. . When the clock signals match (S200: NO), the control unit 21 ends this process. On the other hand, when the clock signals do not match (S200: YES), the control unit 21 proceeds to S202.

S202では、制御部21は、基準時間をランダムな時間に再セットする。次のS204では、制御部21は、通信バス3へのクロック信号の供給を停止する。S206では、制御部21は、時間判定部22による経過時間のカウントをリセットして、経過時間の計測を開始する。そして、S208では、制御部21は、時間判定部22により計測された経過時間が、S202で再セットした基準時間以上になったか否かを判定する。経過時間が基準時間未満である場合(S208:NO)、制御部21はS208を繰返す。そして、経過時間が基準時間以上になった場合(S208:YES)、制御部21はS210に進む。   In S202, the control unit 21 resets the reference time to a random time. In the next S204, the control unit 21 stops supplying the clock signal to the communication bus 3. In S206, the control unit 21 resets the elapsed time count by the time determination unit 22 and starts measuring the elapsed time. In S208, the control unit 21 determines whether or not the elapsed time measured by the time determination unit 22 is equal to or more than the reference time reset in S202. When the elapsed time is less than the reference time (S208: NO), the control unit 21 repeats S208. When the elapsed time becomes equal to or longer than the reference time (S208: YES), the control unit 21 proceeds to S210.

S210では、制御部21は、通信バス3上にクロック信号が供給されているか否かを判定する。通信バス3上にクロック信号が供給されている場合(S210:YES)、制御部21は本処理を終了する。一方、通信バス3上にクロック信号が供給されてない場合(S210:NO)、制御部21はS212に進む。S212では、制御部21は、通信バス3に対するクロック信号の供給を再開して、本処理を終了する。   In S <b> 210, the control unit 21 determines whether or not a clock signal is supplied on the communication bus 3. When the clock signal is supplied on the communication bus 3 (S210: YES), the control unit 21 ends this process. On the other hand, when the clock signal is not supplied on the communication bus 3 (S210: NO), the control unit 21 proceeds to S212. In S212, the control unit 21 resumes the supply of the clock signal to the communication bus 3, and ends this process.

なお、第2実施形態では、初回時のクロック供給開始処理でランダムな基準時間のセットを行い、基準時間の再セットはクロック重複回避処理においてクロック信号の重複が検出されたときに限り行う。クロック信号が重複した場合のみ基準時間を再セットすることで、複数のサブノード2の間で基準時間が重複する確率を低下させることができる。   In the second embodiment, a random reference time is set in the first clock supply start process, and the reference time is reset only when a clock signal overlap is detected in the clock overlap avoidance process. By resetting the reference time only when the clock signals overlap, the probability that the reference times overlap among the plurality of subnodes 2 can be reduced.

[効果]
実施形態の通信システムによれば、以下の効果を奏する。
マスタノード1が備えるメインクロック発生部10の予備として用いることのできる予備クロック発生部20を備える複数のサブノード2を備えることで、クロック信号の供給源を多重化して通信システムの更なる高信頼化を実現できる。
[effect]
The communication system according to the embodiment has the following effects.
By providing a plurality of subnodes 2 including a spare clock generator 20 that can be used as a spare for the main clock generator 10 provided in the master node 1, the clock signal supply sources can be multiplexed to further increase the reliability of the communication system. Can be realized.

第1実施形態では、サブノード2ごとに異なる基準時間が予め設定されていることで、クロック信号の供給を開始するタイミングが重複することを回避できる。また、第2実施形態では、各サブノード2が独自にランダムな基準時間を設定することで、クロック信号の供給を開始するタイミングが重複しにくくなっている。万一、複数のサブノードによるクロック信号の供給が重複した場合、再度基準時間を設定しなおすことで、クロック信号の重複を解消できるようになっている。   In the first embodiment, since different reference times are set in advance for each of the sub-nodes 2, it is possible to avoid overlapping timings at which clock signal supply is started. Further, in the second embodiment, each sub-node 2 sets a random reference time independently, thereby making it difficult to overlap the timing for starting the supply of the clock signal. In the unlikely event that the supply of clock signals by a plurality of subnodes overlaps, the reference time is reset and the overlap of clock signals can be eliminated.

1…マスタノード、10…メインクロック発生部、11…クロック発振器、2…サブノード、20…予備クロック発生部、21…制御部、22…時間判定部、23…クロック検出部、24…クロック発振器、3…通信バス。   DESCRIPTION OF SYMBOLS 1 ... Master node, 10 ... Main clock generation part, 11 ... Clock oscillator, 2 ... Sub node, 20 ... Preliminary clock generation part, 21 ... Control part, 22 ... Time determination part, 23 ... Clock detection part, 24 ... Clock oscillator, 3. Communication bus.

Claims (5)

通信バス(3)に接続された複数のノードを同期して動作させるための所定のクロック信号を前記通信バスに出力する主クロック信号出力装置(1)と、
複数の予備クロック信号出力装置(2)とを備え、
前記予備クロック信号出力装置は、
前記クロック信号を生成する生成手段(24)と、
前記通信バス上を伝搬する前記クロック信号の有無を監視し、前記通信バス上の前記クロック信号が途絶えた状態で所定の基準時間が経過したことを条件に、前記生成手段により生成される前記クロック信号を前記通信バスに出力する制御手段(21)とを備えること、
を特徴とするクロック信号供給システム。
A main clock signal output device (1) for outputting a predetermined clock signal for synchronously operating a plurality of nodes connected to the communication bus (3) to the communication bus;
A plurality of spare clock signal output devices (2),
The preliminary clock signal output device comprises:
Generating means (24) for generating the clock signal;
Monitoring the presence or absence of the clock signal propagating on the communication bus, and generating the clock generated by the generation means on the condition that a predetermined reference time has passed with the clock signal on the communication bus being interrupted Control means (21) for outputting a signal to the communication bus,
A clock signal supply system characterized by the above.
請求項1に記載のクロック信号供給システムにおいて、
前記基準時間は、前記予備クロック信号出力装置ごとに異なる時間が予め設定されていること、
を特徴とするクロック信号供給システム。
The clock signal supply system according to claim 1,
The reference time is set in advance different time for each spare clock signal output device,
A clock signal supply system characterized by the above.
請求項1に記載のクロック信号供給システムにおいて、
前記予備クロック信号出力装置は、
前記制御手段は、前記基準時間としてランダムな時間長を決定し、前記通信バス上の前記クロック信号が途絶えた状態で前記基準時間が経過したことを条件に、前記クロック信号を前記通信バスに出力すること、
を特徴とするクロック信号供給システム。
The clock signal supply system according to claim 1,
The preliminary clock signal output device comprises:
The control means determines a random time length as the reference time, and outputs the clock signal to the communication bus on condition that the reference time has passed with the clock signal on the communication bus being interrupted To do,
A clock signal supply system characterized by the above.
請求項3に記載のクロック信号供給システムにおいて、
前記制御手段は、前記クロック信号を前記通信バスに出力しているときに前記通信バス上を伝搬する前記クロック信号の重複の有無を監視し、前記クロック信号の重複を検出した場合、前記基準時間としてランダムな時間長を再度決定し、前記クロック信号の出力を停止した後、再決定した前記基準時間が経過し、かつ前記通信バス上に前記クロック信号が伝搬していないことを条件に、前記クロック信号の出力を再開すること、
を特徴とするクロック信号供給システム。
The clock signal supply system according to claim 3, wherein
The control means monitors the presence or absence of duplication of the clock signal propagating on the communication bus when outputting the clock signal to the communication bus, and detects the duplication of the clock signal, the reference time As described above, the random time length is determined again, and after the output of the clock signal is stopped, the re-determined reference time has elapsed, and the clock signal is not propagated on the communication bus. Resuming the output of the clock signal,
A clock signal supply system characterized by the above.
請求項1ないし請求項4の何れか1項に記載のクロック信号供給システムに用いられる前記予備クロック信号出力装置。   The said preliminary | backup clock signal output device used for the clock signal supply system of any one of Claim 1 thru | or 4.
JP2013118978A 2013-06-05 2013-06-05 Clock signal supply system and standby clock signal output device Pending JP2014236478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013118978A JP2014236478A (en) 2013-06-05 2013-06-05 Clock signal supply system and standby clock signal output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013118978A JP2014236478A (en) 2013-06-05 2013-06-05 Clock signal supply system and standby clock signal output device

Publications (1)

Publication Number Publication Date
JP2014236478A true JP2014236478A (en) 2014-12-15

Family

ID=52138853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013118978A Pending JP2014236478A (en) 2013-06-05 2013-06-05 Clock signal supply system and standby clock signal output device

Country Status (1)

Country Link
JP (1) JP2014236478A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0490016A (en) * 1990-08-01 1992-03-24 Mitsubishi Electric Corp Data processor
JPH04312159A (en) * 1991-04-10 1992-11-04 Takaoka Electric Mfg Co Ltd System clock compensation system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0490016A (en) * 1990-08-01 1992-03-24 Mitsubishi Electric Corp Data processor
JPH04312159A (en) * 1991-04-10 1992-11-04 Takaoka Electric Mfg Co Ltd System clock compensation system

Similar Documents

Publication Publication Date Title
JP4571668B2 (en) Method and communication system for establishing a global time base in a time-controlled communication system
JP5601357B2 (en) Electronic control unit
JP2009201334A (en) Double-system train control device
JP2010500228A (en) Method for activating a communication system, communication system having a communication medium and a plurality of subscribers connected thereto, and a subscriber of this type of communication system
JP5712783B2 (en) Electronic control unit, in-vehicle network, data transmission method
JP5347831B2 (en) Communications system
US20100257400A1 (en) Network loop healing apparatus and methods
JP2010004321A (en) Time tracking system and time tracking apparatus
JP2010182103A (en) Distributed control system
JP2014236478A (en) Clock signal supply system and standby clock signal output device
WO2015143801A1 (en) Method and apparatus for processing anomaly of clock synchronization network element, and system thereof
US7237152B2 (en) Fail-operational global time reference in a redundant synchronous data bus system
JP2016119616A (en) Ring type network system, and master node thereof
US20120275473A1 (en) Shelf of a network synchronization device, and network synchronization device
JP2013098916A (en) Relay system, and relay device constituting the same
US20150382051A1 (en) Time synchronizing method, time connecting system, time master instrument, and time slave instrument
JP2011151530A (en) Synchronization method of communication system, communication system, and master station
CN113726469A (en) Time synchronization method, device, vehicle controller and storage medium
JP5223809B2 (en) Synchronous communication system
JP6024604B2 (en) Communication device
JP2020088568A (en) Electronic control device
JP2015216438A (en) Time synchronization system, master unit and slave unit, and time synchronization method
JP2014222847A (en) Communication system
JP6455286B2 (en) Communication apparatus and link establishment method
KR20130093941A (en) Home-network system based on rs-485

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150715

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160510

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20161108