JPH078070B2 - Time synchronization method in remote monitoring device - Google Patents
Time synchronization method in remote monitoring deviceInfo
- Publication number
- JPH078070B2 JPH078070B2 JP17950186A JP17950186A JPH078070B2 JP H078070 B2 JPH078070 B2 JP H078070B2 JP 17950186 A JP17950186 A JP 17950186A JP 17950186 A JP17950186 A JP 17950186A JP H078070 B2 JPH078070 B2 JP H078070B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- slave station
- station
- setting signal
- slave
- 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.)
- Expired - Fee Related
Links
Landscapes
- Selective Calling Equipment (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] この発明は、遠方監視装置における親局と子局とに設置
された時計の時刻を同期化させる方法に関するものであ
る。The present invention relates to a method for synchronizing the times of clocks installed in a master station and a slave station in a remote monitoring device.
[従来の技術] 第4図は例えば特開昭56−116199号公報に示された従来
の遠方監視装置における時刻同期化方法を説明するため
の図であり、この第4図において、0は親局、1,2は子
局、GPは各子局の状態を示す表示盤、CDは各子局1,2に
制御指令を発するための制御卓、TWは動作やデータの記
録を行なうタイプライタ、CP0は演算処理回路、DO0は出
力回路、DI0は入力回路、TCはタイプライタ制御回路、C
L0は親時計回路、TR0は符号送受信回路、MD0は変復調回
路である。[Prior Art] FIG. 4 is a diagram for explaining a time synchronization method in a conventional distant monitoring device disclosed in, for example, Japanese Patent Laid-Open No. 56-116199, in which 0 is a parent. Stations, 1 and 2 are slave stations, GP is a display panel showing the status of each slave station, CD is a control console for issuing control commands to each slave station 1, 2 and TW is a typewriter that records operations and data. , CP 0 is an arithmetic processing circuit, DO 0 is an output circuit, DI 0 is an input circuit, TC is a typewriter control circuit, C
L 0 is a master clock circuit, TR 0 is a code transmission / reception circuit, and MD 0 is a modulation / demodulation circuit.
また子局1,2において、符号CP1,CP2は演算処理回路、M
D1,MD2は変復調回路、TR1,TR2は符号送受信回路、D
I1,DI2は入力回路、DO1,DO2は出力回路、CL1,CL2は
子時計回路である。さらに、L1,L2はそれぞれ親局0と
子局1,2を結ぶ信号伝送路である。In the slave stations 1 and 2, the symbols CP 1 and CP 2 are arithmetic processing circuits and M
D 1 and MD 2 are modulation / demodulation circuits, TR 1 and TR 2 are code transmission / reception circuits, D
I 1 and DI 2 are input circuits, DO 1 and DO 2 are output circuits, and CL 1 and CL 2 are child clock circuits. Further, L 1 and L 2 are signal transmission lines connecting the master station 0 and the slave stations 1 and 2, respectively.
次に親局0と子局1,2との各時計の時刻同期化の手法に
ついて説明する。この時刻同期化に際しては、親局0の
演算処理回路CP0は設定すべき時刻t0(例えば午前0時
0分0秒0ミリ秒)を送信する。各子局1,2では、これ
を受信し演算処理回路CP1,CP2が設定すべき時刻t0を記
憶して次に到来する設定指令を待つ。Next, a method for synchronizing the clocks of the master station 0 and the slave stations 1 and 2 will be described. At the time of time synchronization, the arithmetic processing circuit CP 0 of the master station 0 transmits the time t 0 to be set (for example, 0: 00: 00: 00 ms). Each of the slave stations 1 and 2 receives this, stores the time t 0 to be set by the arithmetic processing circuits CP 1 and CP 2 , and waits for the next setting command.
親局0は各子局1,2までの伝送遅延時間に相当すると考
えられる予め設定された時間τミリ秒前に設定指令信号
を発し、これが子局1,2に到着すると、演算処理回路C
P1,CP2は各々の子時計CL1,CL2を時刻t0に設定する。The master station 0 issues a setting command signal before a preset time τ millisecond which is considered to correspond to the transmission delay time to each slave station 1, 2, and when this arrives at the slave stations 1, 2, the arithmetic processing circuit C
P 1 and CP 2 set their respective child clocks CL 1 and CL 2 at time t 0 .
[発明が解決しようとする問題点] しかしながら、このような従来の遠方監視装置における
時刻同期化方法は以上のように構成されているので、伝
送遅延予想時間τミリ秒は固定値であり、これにより信
号伝送路が変わり、伝送遅延時間が変化した場合には、
親局と子局との時計に誤差を生じる。近年、信号伝送路
の信頼度を上げるために、常用回線,迂回回線等のごと
き信号伝送路を2ルート以上設け、一方が故障の場合に
は自動的に他方に切り換えることを行なつたり、更には
途中に交換装置を設けたりすることが行なわれるが、こ
の場合は伝送遅延時間が毎回変わるおそれがある。[Problems to be Solved by the Invention] However, since the conventional time synchronization method in such a remote monitoring device is configured as described above, the expected transmission delay time τ millisecond is a fixed value. If the signal transmission path changes due to, and the transmission delay time changes,
There is an error in the clocks of the master station and slave stations. In recent years, in order to increase the reliability of the signal transmission line, two or more signal transmission lines such as a regular line and a detour line are provided, and if one fails, it is automatically switched to the other. A switching device may be provided on the way, but in this case, the transmission delay time may change every time.
一方、電力系統の高度化に伴い保護継電器等の動作時間
も短くなり、その事故解析には上記伝送遅延予想時間の
差による誤差も無視できなくなつてきている。On the other hand, as the power system becomes more sophisticated, the operating time of protective relays, etc. has become shorter, and the error due to the difference in the above-mentioned predicted transmission delays cannot be ignored in the accident analysis.
この発明は上記のような問題点を解消するためになされ
たもので、親局および子局の時計を自動的に同期化でき
るようにした遠方監視装置における時刻同期化方法を得
ることを目的とする。The present invention has been made to solve the above problems, and an object of the present invention is to obtain a time synchronization method in a remote monitoring device capable of automatically synchronizing clocks of a master station and a slave station. To do.
[問題点を解決するための手段] 本発明は上記目的を達成するため、 請求項1では、親局と子局とにそれぞれ時計を持つ遠方
監視装置において、 上記親局は、定期的に、時刻設定信号と設定指令信号と
を上記子局に伝送し、 上記子局は上記時刻設定信号をメモリに記憶して上記設
定指令信号により子局における時計を修正し、次回に伝
送する時刻設定信号の時刻もしくは子局における修正に
際して、上記時刻設定信号の時刻と修正直前の上記子局
における時計の時刻との差に基づく補正を行なう動作
を、当該差が無くなるまで、行なう構成とした。[Means for Solving the Problems] In order to achieve the above object, the present invention provides a remote monitoring device according to claim 1, wherein the remote station has clocks in the master station and the slave station. The time setting signal and the setting command signal are transmitted to the slave station, and the slave station stores the time setting signal in the memory, corrects the clock in the slave station by the setting command signal, and transmits the time setting signal next time. When the time is corrected or in the slave station, the correction operation based on the difference between the time of the time setting signal and the time of the clock in the slave station immediately before the correction is performed until the difference disappears.
請求項2では、子局は、設定指令信号を受信すると、修
正直前の当該子局における時計を上記親局に伝送し、 上記親局は子局からの上記時刻と上記時刻設定信号の時
刻との差が小さくなるように次回に上記子局に伝送する
時刻設定信号の時刻を補正し、上記親局と上記子局は、
当該差が無くなるまで時刻設定信号と時刻情報のやりと
りを行なう構成とした。In claim 2, when the slave station receives the setting command signal, it transmits the clock in the slave station immediately before correction to the master station, and the master station receives the time from the slave station and the time of the time setting signal. The time of the time setting signal to be transmitted to the slave station next time is corrected so that the difference between
The time setting signal and the time information are exchanged until the difference disappears.
請求項3では、時刻設定信号の時刻と修正直前の子局の
時計の時刻との差を子局側で多数回分蓄積し、子局は蓄
積データに基づいて、補正値を演算し、受信した上記時
刻設定信号の時刻を上記補正値により補正する構成とし
た。In claim 3, the difference between the time of the time setting signal and the time of the clock of the slave station immediately before the correction is accumulated many times on the slave station side, and the slave station calculates and receives the correction value based on the accumulated data and receives it. The time of the time setting signal is corrected by the correction value.
[作用] この発明における遠方監視装置における時刻同期化方法
では、親局より送られてくる伝送遅延時間を加味した設
定時刻信号と子局の時計の時刻の差に基づき設定時刻信
号が補正され、これにより親局の時計と子局の時計とは
徐々に自動的に同期化されてゆく。[Operation] In the time synchronization method in the remote monitoring device according to the present invention, the set time signal is corrected based on the difference between the set time signal including the transmission delay time sent from the master station and the time of the clock of the slave station, As a result, the master station clock and the slave station clock are gradually and automatically synchronized.
[発明の実施例] 以下、この発明の一実施例を図について説明する。第1
図はこの発明の一実施例としての時刻同期化方法を実施
するための遠方監視装置を示す系統ブロツク図である
が、この第1図において、0は親局、1,2は子局、GPは
各子局の状態を示す表示盤、CDは各子局1,2に制御指令
を発するための制御卓、TWは動作やデータの記録を行な
うタイプライタ、CP0は演算処理回路、DO0は出力回路、
DI0は入力回路、TCはタイプライタ制御回路、CL0は親時
計回路、MEM0はメモリ、D01,D02は復調回路、M01,M02は
変調回路、R01,R02は符号受信回路、S01,S02は符号送信
回路である。[Embodiment of the Invention] An embodiment of the present invention will be described below with reference to the drawings. First
FIG. 1 is a system block diagram showing a distant monitoring device for carrying out a time synchronization method as an embodiment of the present invention. In FIG. 1, 0 is a master station, 1 and 2 are slave stations, and a GP. Is a display board showing the status of each slave station, CD is a control console for issuing control commands to each slave station 1, 2, TW is a typewriter for recording operations and data, CP 0 is an arithmetic processing circuit, DO 0 Is the output circuit,
DI 0 is an input circuit, TC is a typewriter control circuit, CL 0 is a master clock circuit, MEM 0 is a memory, D 01 and D 02 are demodulation circuits, M 01 and M 02 are modulation circuits, and R 01 and R 02 are codes. The receiving circuit and S 01 and S 02 are code transmitting circuits.
また子局1,2において、符号CP1,CP2は演算処理回路、DI
1,DI2は入力回路、DO1,DO2は出力回路、CL1,CL2は子時
計回路である。MEM1,MEM2はメモリ、D1,D2は復調回路、
M1,M2は変調回路、S1,S2は符号送信回路である。さら
に、L1,L2はそれぞれ親局0と子局1,2とを結ぶ信号伝送
路である。In the slave stations 1 and 2, the symbols CP 1 and CP 2 are arithmetic processing circuits and DI
1 , 1 and DI 2 are input circuits, DO 1 and DO 2 are output circuits, and CL 1 and CL 2 are child clock circuits. MEM 1 and MEM 2 are memories, D 1 and D 2 are demodulation circuits,
M 1 and M 2 are modulation circuits, and S 1 and S 2 are code transmission circuits. Further, L 1 and L 2 are signal transmission paths connecting the master station 0 and the slave stations 1 and 2 , respectively.
次に動作について説明する。子局1または2において、
保護継電器の動作信号やしや断器等の状態信号は入力回
路DI1またはDI2を通して入力され、その発生時刻を各子
局1,2の子時計回路CL1またはCL2より読み取り、時刻と
発生事象とを合わせて親局0に伝送している。従つて、
各子局の子時計の同期がとれていない場合には、親局0
にて子局より送られてくる情報を発生順に並べることが
できず運転員の判断を誤らせるおそれがある。Next, the operation will be described. In slave station 1 or 2,
The operating signal of the protective relay, the status signal of the breaker, etc. are input through the input circuit DI 1 or DI 2 , and the occurrence time is read from the slave clock circuit CL 1 or CL 2 of each slave station 1, 2 and It is transmitted to the master station 0 together with the occurrence event. Therefore,
When the slave clocks of each slave station are not synchronized, the master station 0
Since the information sent from the slave station cannot be arranged in the order of occurrence, the operator's judgment may be erroneous.
このため、親局0より定期的に設定すべき時刻t0(日,
時,分,秒,ミリ秒)と設定指令信号とを各子局に送信
する。この際、設定すべき時刻t0は親時計の時刻に親局
0より子局までの伝送遅延時間および設定すべき時刻を
送信してから設定指令信号を送信するまでの時間を加算
してある。Therefore, the time t 0 (day,
(Hour, minute, second, millisecond) and setting command signal are transmitted to each slave station. At this time, the time t 0 to be set is the time of the master clock plus the transmission delay time from the master station 0 to the slave station and the time from transmitting the time to be set to transmitting the setting command signal. .
子局側では、第2図に示すとおり、設定すべき時刻t0を
メモリMEM1,MEM2にて記憶し設定指令信号を待つ。設定
指令信号を受けると子時計CL1,CL2の時刻をt0に書き換
えるわけであるが、書き換える直前の子時計CL1,CL2の
時刻を親局0に伝送してから書き換える。As shown in FIG. 2, the slave station stores the time t 0 to be set in the memories MEM 1 and MEM 2 and waits for a setting command signal. When the setting command signal is received, the time of the child clocks CL 1 and CL 2 is rewritten to t 0 , but the time of the child clocks CL 1 and CL 2 immediately before rewriting is transmitted to the master station 0 and then rewritten.
親局0では子局に送信した設定すべき時刻t0と子局より
伝送されてくる書き換え直前の時刻t1,t2とを比較す
る。この差が親局0で考えている子時計CL1,CL2の時刻
と実際の子時計の時刻との差であり、この差が小さくな
るように次回の設定すべき時刻t0′を補正する。The master station 0 compares the time t 0 to be set transmitted to the slave station with the times t 1 and t 2 immediately before rewriting transmitted from the slave station. This difference is the difference between the time of the child clocks CL 1 and CL 2 considered by the master station 0 and the time of the actual child clock, and the next time t 0 ′ to be set is corrected so that this difference becomes smaller. To do.
なお、1回で補正しようとすると、ハンチングを起こす
おそれもあるため、過去数十回の誤差の平均分を補正す
るとか、誤差の何分の一ずつ補正する(つまりゲインを
小さくする)とかの方法により、徐々に誤差を零に近づ
けるよう制御する。Since there is a risk of hunting if the correction is performed once, it is necessary to correct the average of the errors of the past tens of times or to correct the error by a fraction (that is, reduce the gain). The error is controlled so as to gradually approach zero by the method.
なお、上記の実施例では、書き換え直前の時刻情報を親
局に送つて補正を計算する例を示したが、第3図に示す
ごとく、子局側にメモリMEMO1,MEMO2を持つて、親局よ
り送信されてくる設定すべき時刻と書き換え直前の子時
計の時刻との差を過去数十回分記憶し、これらのデータ
に基づいて補正値を補正値計算回路AC1,AC2で計算し、
この補正値を親局から送られてくる情報に加算して設定
すべき時刻としても良い。In the above embodiment, the example in which the time information immediately before rewriting is sent to the master station to calculate the correction is shown. However, as shown in FIG. 3, the slave stations have memories MEMO 1 and MEMO 2 . The difference between the time to be set sent from the master station and the time on the slave clock immediately before rewriting is stored for the past tens of times, and the correction value is calculated by the correction value calculation circuits AC 1 and AC 2 based on these data. Then
This correction value may be added to the information sent from the master station and used as the time to be set.
また、補正値の算出方法として過去数十回の誤差の平均
をとる方式について説明したが、もつと安定したシステ
ムとするため、必要な伝達関数を通してもよいことはい
うまでもない。Further, as the method of calculating the correction value, the method of averaging the errors of several tens of times in the past has been described, but it goes without saying that a necessary transfer function may be passed in order to have a stable system.
[発明の効果] 以上のようにこの発明によれば、伝送遅延時間等の補正
を自動的に修正するように構成したので、信号伝送ルー
トが変更になつたり、伝送路途中の遅延時間が変化して
も、自動的に親局の時計と子局の時計の同期をとること
ができる効果がある。As described above, according to the present invention, the correction of the transmission delay time and the like is automatically corrected, so that the signal transmission route is changed or the delay time in the middle of the transmission path is changed. Even in this case, there is an effect that the clock of the master station and the clock of the slave station can be automatically synchronized.
第1〜3図は本発明の一実施例としての遠方監視装置に
おける時刻同期化方法を実施するための装置を示すもの
で、第1図はその系統ブロツク図、第2図はその子局側
での機能を説明するためのブロツク図、第3図はその子
局側での機能を説明するための他の例を示すブロツク図
であり、第4図は従来の遠方監視装置における時刻同期
化方法を実施するための装置を示す系統ブロツク図であ
る。 図において、0…親局、1,2…子局、AC1,AC2…補正値計
算回路、CD…制御卓、CL0…親時計回路、CL1,CL2…子時
計回路、CP0,CP1,CP2…演算処理回路、D1,D2,D01,D02…
復調回路、DI0,DI1,DI2…入力回路、DO0,DO1,DO2…出力
回路、GP…表示盤、L1,L2…信号伝送路、M1,M2,M01,M02
…変調回路、MEM1,MEM2,MEMO1,MEMO2…メモリ、R1,R2,R
01,R02…符号受信回路、S1,S2,S01,S02…符号送信回
路、TW…タイプライタ。 なお、図中、同一符号は同一、又は相当部分を示す。1 to 3 show an apparatus for carrying out a time synchronization method in a remote monitoring apparatus as an embodiment of the present invention. FIG. 1 is a system block diagram thereof, and FIG. 2 is a slave station side thereof. FIG. 3 is a block diagram for explaining the function of FIG. 3, FIG. 3 is a block diagram showing another example for explaining the function on the slave station side, and FIG. 4 shows a time synchronization method in a conventional remote monitoring device. It is a systematic block diagram which shows the apparatus for implementing. In the figure, 0 ... Master station, 1, 2 ... Slave station, AC 1 , AC 2 ... Correction value calculation circuit, CD ... Control console, CL 0 ... Master clock circuit, CL 1 , CL 2 ... Slave clock circuit, CP 0 , CP 1 , CP 2 … Operation processing circuit, D 1 ,, D 2 , D 01 , D 02 …
Demodulation circuit, DI 0 , DI 1 , DI 2 ... Input circuit, DO 0 , DO 1 , DO 2 ... Output circuit, GP ... Display panel, L 1 , L 2 ... Signal transmission line, M 1 , M 2 , M 01 , M 02
… Modulation circuit, MEM 1 , MEM 2 ,, MEMO 1 , MEMO 2 … Memory, R 1 , R 2 ,, R
01 , R 02 ... Code receiving circuit, S 1 , S 2 , S 01 , S 02 ... Code transmitting circuit, TW ... Typewriter. In the drawings, the same reference numerals indicate the same or corresponding parts.
Claims (3)
視装置において、 上記親局は、定期的に、時刻設定信号と設定指令信号と
を上記子局に伝送し、 上記子局は上記時刻設定信号をメモリに記憶して上記設
定指令信号により子局における時計を修正し、次回に親
局から伝送される時刻設定信号の時刻、もしくは子局に
おける時刻の修正に際して、上記時刻設定信号の時刻
と、修正直前の上記子局における時計の時刻との差に基
づく補正を行なう動作を、当該差が無くなるまで、行な
うことを特徴とする遠方監視装置における時刻同期化方
法。1. A remote monitoring device having clocks in a master station and a slave station, wherein the master station periodically transmits a time setting signal and a setting command signal to the slave station, and the slave station When the time setting signal is stored in the memory and the clock at the slave station is corrected by the setting command signal, and the time of the time setting signal transmitted from the master station next time or the time at the slave station is corrected, the time setting signal is changed. The time synchronization method in the remote monitoring device, characterized in that the operation of performing correction based on the difference between the time and the time of the clock in the slave station immediately before correction is performed until the difference disappears.
直前の当該子局における時計を上記親局に伝送し、上記
親局は子局からの上記時刻と上記時刻設定信号の時刻と
の差が小さくなるように次回に上記子局に伝送する時刻
設定信号の時刻を補正し、上記親局と上記子局は、当該
差が無くなるまで時刻設定信号と時刻情報のやりとりを
行なうことを特徴とする特許請求の範囲第1項記載の遠
方監視装置における時刻同期化方法。2. Upon receiving the setting command signal, the slave station transmits the clock in the slave station immediately before correction to the master station, and the master station receives the time from the slave station and the time of the time setting signal. The time of the time setting signal to be transmitted to the slave station next time is corrected so that the difference becomes smaller, and the master station and the slave station may exchange the time setting signal and the time information until the difference disappears. A time synchronization method in a remote monitoring device according to claim 1.
計の時刻との差を子局側で多数回分蓄積し、子局は蓄積
データに基づいて、補正値を演算し、受信した上記時刻
設定信号の時刻を上記補正値により補正することを特徴
とする特許請求の範囲第1項記載の遠方監視装置におけ
る時刻同期化方法。3. The difference between the time of the time setting signal and the time of the clock of the slave station immediately before correction is accumulated many times on the slave station side, and the slave station calculates and receives a correction value based on the accumulated data and receives it. The time synchronization method in the remote monitoring device according to claim 1, wherein the time of the time setting signal is corrected by the correction value.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17950186A JPH078070B2 (en) | 1986-07-29 | 1986-07-29 | Time synchronization method in remote monitoring device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17950186A JPH078070B2 (en) | 1986-07-29 | 1986-07-29 | Time synchronization method in remote monitoring device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6333995A JPS6333995A (en) | 1988-02-13 |
| JPH078070B2 true JPH078070B2 (en) | 1995-01-30 |
Family
ID=16066918
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17950186A Expired - Fee Related JPH078070B2 (en) | 1986-07-29 | 1986-07-29 | Time synchronization method in remote monitoring device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH078070B2 (en) |
-
1986
- 1986-07-29 JP JP17950186A patent/JPH078070B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6333995A (en) | 1988-02-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4807259A (en) | Time synchronization method in data transmission system | |
| US5088021A (en) | Apparatus and method for guaranteed data store in redundant controllers of a process control system | |
| JP3863119B2 (en) | Substation monitoring and control system | |
| US5887029A (en) | Method of scheduling spatially separated control events with an industrial controller | |
| US4860001A (en) | Remote monitoring and controlling system | |
| EP0742507A1 (en) | Method and apparatus for synchronizing flight management computers | |
| EP0613271B1 (en) | Method and apparatus for time synchronization of bus type local area networks including hierarchical networks | |
| JPS6194433A (en) | Control system for serial bus | |
| US5519726A (en) | Industrial controller with coordinated timing | |
| US5504878A (en) | Method and apparatus for synchronizing plural time-of-day (TOD) clocks with a central TOD reference over non-dedicated serial links using an on-time event (OTE) character | |
| JPH10154991A (en) | Control system using plc | |
| JPH078070B2 (en) | Time synchronization method in remote monitoring device | |
| JPH065309B2 (en) | Time synchronization method | |
| JP2834895B2 (en) | Network system time adjustment device | |
| WO1982001438A1 (en) | Remote supervisory control unit | |
| JPS6342920B2 (en) | ||
| JPS631126A (en) | Time synchronizing method for data transmission system | |
| JPH1069304A (en) | Control system | |
| JPH0253268B2 (en) | ||
| JP2840038B2 (en) | Operation control method | |
| JP2724883B2 (en) | Time matching method of distributed system and train operation management system | |
| JPS6378697A (en) | Remote supervisory and controlling equipment | |
| JPH08129563A (en) | Time-stamping method for distributed control system | |
| JPS60237523A (en) | Controller for internal timepiece | |
| JPH07134187A (en) | Time adjustment and time calculation method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |