JPH09319407A - Time synchronizing method for distributed system - Google Patents
Time synchronizing method for distributed systemInfo
- Publication number
- JPH09319407A JPH09319407A JP8135228A JP13522896A JPH09319407A JP H09319407 A JPH09319407 A JP H09319407A JP 8135228 A JP8135228 A JP 8135228A JP 13522896 A JP13522896 A JP 13522896A JP H09319407 A JPH09319407 A JP H09319407A
- Authority
- JP
- Japan
- Prior art keywords
- time
- input
- controller
- distributed system
- controllers
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 14
- 230000001360 synchronised effect Effects 0.000 abstract description 9
- 230000005540 biological transmission Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Landscapes
- Multi Processors (AREA)
- Control By Computers (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、上位コントローラ
と二つ以上の下位コントローラとで構成される分散シス
テムの時刻同期方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a time synchronization method for a distributed system composed of an upper controller and two or more lower controllers.
【0002】[0002]
【従来の技術】上位コントローラと二つ以上の下位コン
トローラとで構成される分散システムでは、各下位コン
トローラ間で時刻を同期させる必要がある。このため、
上位コントローラから下位コントローラに時刻情報を伝
送して、各下位コントローラ間で時刻を同期させる方法
が一般的に取られている。2. Description of the Related Art In a distributed system composed of an upper controller and two or more lower controllers, it is necessary to synchronize the time among the lower controllers. For this reason,
Generally, a method of transmitting time information from a higher-order controller to a lower-order controller and synchronizing the time between the respective lower-order controllers is adopted.
【0003】具体的には、図2に示されるように従来の
分散システムを原子力もしくは火力プラントなどのプラ
ント制御装置に適用した場合、上位コントローラである
主コントローラ11から下位コントローラである複数の
入出力カード12に周期的に時刻情報を伝送し、この時
刻情報に基づいて各入出力カード12間で時刻を同期さ
せている。Specifically, when the conventional distributed system is applied to a plant control device such as a nuclear power plant or a thermal power plant as shown in FIG. 2, a main controller 11 as an upper controller to a plurality of input / outputs as lower controllers. Time information is periodically transmitted to the card 12, and the time is synchronized between the input / output cards 12 based on this time information.
【0004】しかし、主コントローラ11から各入出力
カード12に伝送される時刻情報には一定の伝送遅れが
あり、しかもこの伝送遅れは主コントローラ11から入
出力カード12までの伝送距離によって異なるため、伝
送遅れ以下の精度、例えばミリ秒以下の精度で各入出力
カード12間の時刻同期をとることは難しい。However, the time information transmitted from the main controller 11 to each input / output card 12 has a certain transmission delay, and this transmission delay differs depending on the transmission distance from the main controller 11 to the input / output card 12. It is difficult to synchronize the time between the input / output cards 12 with an accuracy equal to or less than the transmission delay, for example, an accuracy equal to or less than milliseconds.
【0005】[0005]
【発明が解決しようとする課題】上述したように従来の
分散システムでは、上位コントローラから下位コントロ
ーラに時刻情報を伝送することで各下位コントローラ間
の時刻同期をとっていたため、時刻情報の伝送遅れによ
って、時刻をミリ秒以下といった精度で同期させること
は難しいという問題があった。本発明は、下位コントロ
ーラ間の時刻同期を高精度に行うことのできる分散シス
テムの時刻同期方法を提供することを目的とする。As described above, in the conventional distributed system, since the time information is transmitted from the upper controller to the lower controller to synchronize the time between the lower controllers, there is a delay in transmitting the time information. However, there is a problem that it is difficult to synchronize the time with an accuracy of millisecond or less. It is an object of the present invention to provide a time synchronization method for a distributed system, which can perform time synchronization between lower controllers with high accuracy.
【0006】[0006]
【課題を解決するための手段】上記課題を解決するため
本発明は、上位コントローラと二つ以上の下位コントロ
ーラとで構成される分散システムの時刻同期方法におい
て、上位コントローラから二つ以上の下位コントローラ
に分以上の時刻を表す時刻情報を周期的に伝送して各下
位コントローラ間で分以上の時刻を同期させ、二つ以上
の下位コントローラのうち予め設定された一つの下位コ
ントローラから他の下位コントローラに所定の同期信号
を周期的に伝送して各下位コントローラ間で秒以下の時
刻を同期させることを特徴とする。In order to solve the above-mentioned problems, the present invention provides a time synchronization method for a distributed system comprising an upper controller and two or more lower controllers, in which the upper controller has two or more lower controllers. , The time information indicating the time of more than a minute is periodically transmitted to synchronize the time of more than a minute between the lower controllers, and one lower controller preset from two or more lower controllers to another lower controller. Is characterized in that a predetermined synchronization signal is periodically transmitted to synchronize the time less than a second between the subordinate controllers.
【0007】このような構成の分散システムの時刻同期
方法では、各下位コントローラ間の分以上の時刻を上位
コントローラから下位コントローラに伝送される時刻情
報によって同期させ、秒以下の時刻を下位コントローラ
間で伝送される同期信号によって同期させる。従って、
仮に上位コントローラから下位コントローラに伝送され
る時刻情報に伝送遅れが発生しても、その伝送遅れが1
分以内であれば各下位コントローラ間で分以上の時刻同
期をとることができ、秒以下の時刻同期は、この処理と
は別にコントローラ間で伝送される同期信号によってと
ることができる。In the time synchronization method of the distributed system having such a configuration, the time of minutes or more between the lower controllers is synchronized by the time information transmitted from the upper controller to the lower controller, and the time of seconds or less is controlled between the lower controllers. It is synchronized by the synchronizing signal transmitted. Therefore,
Even if there is a transmission delay in the time information transmitted from the upper controller to the lower controller, the transmission delay is 1
If it is within a minute, time synchronization of more than a minute can be achieved between the respective lower controllers, and time synchronization of a second or less can be achieved by a synchronization signal transmitted between the controllers separately from this processing.
【0008】このように、各下位コントローラ間で時刻
を同期させる処理を分以上と秒以下とに分けることによ
り、下位コントローラ間の時刻同期を高精度に行うこと
ができる。As described above, by dividing the processing for synchronizing the time between the respective lower controllers into minutes or more and seconds or less, the time synchronization between the lower controllers can be performed with high accuracy.
【0009】[0009]
【発明の実施の形態】図1は、本発明の一実施形態に係
る分散システムの時刻同期方法を原子力もしくは火力プ
ラントなどのプラント制御装置に適用した場合のシステ
ム構成を示しており、このシステムは、上位コントロー
ラである主コントローラ1と下位コントローラである入
出力カード2a〜2dとで構成されている。ここで、入
出力カード2a〜2dは、それぞれ水晶発振子を用いた
タイマによって1ミリ秒分解能で秒以下の時刻を管理で
きるものする。また、入出力カード2aは、入出力カー
ド2a〜2d間で秒以下の時刻同期をとるための基準コ
ントローラであり、所定の接点パルスを出力するパルス
出力回路3が設けられている。また、他の入出力カード
2b〜2dには、この接点パルスが入力されるパルス入
力回路4が設けられている。1 shows a system configuration when a time synchronization method for a distributed system according to an embodiment of the present invention is applied to a plant control device such as a nuclear power plant or a thermal power plant. , A main controller 1 which is an upper controller and input / output cards 2a to 2d which are lower controllers. Here, each of the input / output cards 2a to 2d is capable of managing time less than a second with a resolution of 1 millisecond by a timer using a crystal oscillator. Further, the input / output card 2a is a reference controller for synchronizing the time between the input / output cards 2a to 2d in seconds or less, and is provided with a pulse output circuit 3 for outputting a predetermined contact pulse. Further, the other input / output cards 2b to 2d are provided with a pulse input circuit 4 to which this contact pulse is input.
【0010】主コントローラ1は入出力カード2a〜2
dに分以上の時刻を表す時刻情報を1分毎に伝送する。
入出力カード2a〜2dは、この時刻情報に基づいて分
以上の時刻を同期させる。The main controller 1 is composed of input / output cards 2a-2
Time information indicating a time longer than a minute is transmitted to d every minute.
The input / output cards 2a to 2d synchronize the time of minutes or more based on this time information.
【0011】一方、基準コントローラである入出力カー
ド2aは、パルス出力回路3を介して他の入出力カード
2b〜2dに同期信号である接点パルスを60秒毎に出
力する。入出力カード2b〜2dは、パルス入力回路4
から入力された接点パルスにによって秒以下の時刻を同
期させる。このようにすることで、入出力カード2a〜
2d間で秒以下の時刻同期をとることができる。On the other hand, the input / output card 2a, which is the reference controller, outputs a contact pulse, which is a synchronizing signal, to the other input / output cards 2b to 2d via the pulse output circuit 3 every 60 seconds. The input / output cards 2b to 2d include the pulse input circuit 4
The time less than a second is synchronized with the contact pulse input from. By doing this, the input / output cards 2a-
It is possible to achieve time synchronization of 2 seconds or less between 2d.
【0012】すなわち、本実施形態では入出力カード2
a〜2d間で時刻同期をとるための処理を分以上と秒以
下とに分け、分以上の時刻を主コントローラ1から伝送
される時刻情報によって同期させ、秒以下の時刻を入出
力カード2a〜2d間で伝送される接点パルスによって
同期させる。That is, in this embodiment, the input / output card 2
The processing for time synchronization between a to 2d is divided into minutes and more and seconds and less, minutes and more times are synchronized by time information transmitted from the main controller 1, and times less than seconds are input / output cards 2a to It is synchronized by the contact pulse transmitted between 2d.
【0013】従って、仮に主コントローラ1から入出力
カード2a〜2dに伝送された時刻情報に伝送遅れが発
生しても、その伝送遅れが時刻情報の伝送周期以内、す
なわち1分以内であれば、分以上の時刻同期をとること
が可能であり、秒以下の時刻同期はこの処理とは別に行
われる。すなわち、時刻情報の伝送遅れによってシステ
ム全体が影響を受けることがない。Therefore, even if a transmission delay occurs in the time information transmitted from the main controller 1 to the input / output cards 2a to 2d, if the transmission delay is within the transmission cycle of the time information, that is, within 1 minute, Time synchronization of minutes or more can be achieved, and time synchronization of seconds or less is performed separately from this processing. That is, the entire system is not affected by the transmission delay of the time information.
【0014】また、上述したように、入出力カード2a
〜2dは、1ミリ秒分解能で時刻を管理しているので、
これらの時刻同期をミリ秒精度でとることができ、例え
ば1ミリ秒の時刻分解能を必要とする処理を入出力カー
ド2a〜2dで分散処理することが可能になる。Further, as described above, the input / output card 2a
Since ~ 2d manages time with 1 millisecond resolution,
These time synchronizations can be achieved with millisecond precision, and, for example, processing that requires time resolution of 1 millisecond can be distributed to the input / output cards 2a to 2d.
【0015】このように、本実施形態に係る分散システ
ムの時刻同期方法では、従来のように上位コントローラ
から通信される時刻情報のみに基づいて下位コントロー
ラの時刻を同期させる方法に比べて、高精度で時刻同期
をとることができるため、分散システムの時刻同期に対
して特に高い精度が必要である用途、例えば原子力、火
力もしくは化学などのプラント制御、またはイベントレ
コーダなどに適用した場合に有効である。As described above, the time synchronization method of the distributed system according to the present embodiment has higher accuracy than the conventional method of synchronizing the time of the lower controller based only on the time information communicated from the upper controller. Since it is possible to synchronize time with, it is effective when it is applied to applications that require particularly high accuracy for time synchronization of distributed systems, such as plant control of nuclear power, thermal power or chemicals, or event recorders. .
【0016】[0016]
【発明の効果】以上説明したように本発明によれば、各
下位コントローラ間で時刻を同期させる処理を分以上と
秒以下とに分けることにより、下位コントローラ間の時
刻同期を高精度に行うことのできる分散システムの時刻
同期方法を提供することができる。As described above, according to the present invention, the time synchronization between the lower controllers can be performed with high accuracy by dividing the processing for synchronizing the time between the respective lower controllers into minutes or more and seconds or less. It is possible to provide a time synchronization method for a distributed system that can achieve the above.
【図1】本発明の一実施形態に係る分散システムの時刻
同期方法を説明するためのシステム構成図FIG. 1 is a system configuration diagram for explaining a time synchronization method for a distributed system according to an embodiment of the present invention.
【図2】従来の分散システムの時刻同期方法を説明する
ためのシステム構成図FIG. 2 is a system configuration diagram for explaining a conventional time synchronization method for a distributed system.
1…主コントローラ 2a〜2d…入出力カード 3…パルス出力回路 4…パルス入力回路 11…主コントローラ 12…入出力カード 1 ... Main controller 2a-2d ... I / O card 3 ... Pulse output circuit 4 ... Pulse input circuit 11 ... Main controller 12 ... I / O card
Claims (1)
ローラとで構成される分散システムの時刻同期方法にお
いて、 前記上位コントローラから前記二つ以上の下位コントロ
ーラに分以上の時刻を表す時刻情報を周期的に伝送して
各下位コントローラ間で分以上の時刻を同期させ、 前記二つ以上の下位コントローラのうち予め設定された
一つの下位コントローラから他の下位コントローラに所
定の同期信号を周期的に伝送して各下位コントローラ間
で秒以下の時刻を同期させることを特徴とする分散シス
テムの時刻同期方法。1. A time synchronization method for a distributed system comprising an upper controller and two or more lower controllers, wherein the upper controller periodically sends time information indicating minutes or more to the two or more lower controllers. To synchronize the time of more than a minute between each lower controller, and periodically transmit a predetermined synchronization signal from one preset lower controller of the two or more lower controllers to another lower controller. And a time synchronization method for a distributed system, characterized in that each subordinate controller synchronizes time less than a second.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8135228A JPH09319407A (en) | 1996-05-29 | 1996-05-29 | Time synchronizing method for distributed system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8135228A JPH09319407A (en) | 1996-05-29 | 1996-05-29 | Time synchronizing method for distributed system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH09319407A true JPH09319407A (en) | 1997-12-12 |
Family
ID=15146818
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8135228A Withdrawn JPH09319407A (en) | 1996-05-29 | 1996-05-29 | Time synchronizing method for distributed system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH09319407A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100735230B1 (en) * | 2006-05-02 | 2007-07-03 | 삼성전자주식회사 | Time Synchronization Method in Distributed Control System |
-
1996
- 1996-05-29 JP JP8135228A patent/JPH09319407A/en not_active Withdrawn
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100735230B1 (en) * | 2006-05-02 | 2007-07-03 | 삼성전자주식회사 | Time Synchronization Method in Distributed Control System |
| US7831000B2 (en) | 2006-05-02 | 2010-11-09 | Samsung Electronics Co., Ltd. | Method for time synchronization in distributed control system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6284043B2 (en) | Process control system | |
| CA2206746A1 (en) | Method of operating a drive system and device for carrying out the method | |
| JPH10154991A (en) | Control system using plc | |
| EP2730988A2 (en) | Systems and methods for segment synchronization | |
| EP2221684A2 (en) | Distributed control system | |
| CN105553592A (en) | IMA processor system clock synchronization method | |
| EP3876442B1 (en) | Distributed network time synchronization | |
| JPH1069304A (en) | Control system | |
| JP6523226B2 (en) | Time synchronization control system | |
| JPS61161568A (en) | Information transmission system | |
| EP0175748B1 (en) | Parallel synchronous operation | |
| CA2239317A1 (en) | Method and apparatus for synchronizing signals | |
| KR100202686B1 (en) | Distributed Devices with Independent Clock Sources | |
| US5969550A (en) | Method and apparatus for mutual synchronization of ASIC devices | |
| EP2510408A1 (en) | Method, system, and apparatus for archiving networked data | |
| JPS603007A (en) | Synchronization system of distributed numerical control system | |
| KR100395216B1 (en) | System synchronizer and method of bus system | |
| JP2588290B2 (en) | Data input / output system | |
| KR100455340B1 (en) | Synchronized signal generation circuit | |
| JPH0438508A (en) | Clock supplying device | |
| JP2513032B2 (en) | Microcomputer input control circuit | |
| JPS59127164A (en) | Multi-system synchronizer | |
| KR100407341B1 (en) | How to improve the accuracy of visual information of exchange system | |
| CN117784759A (en) | Test equipment and method for vehicle controller | |
| JPH0395660A (en) | System time setting method for plural central processing unit method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20030805 |