JPS6333995A - Time synchronizing method in remote supervisory equipment - Google Patents

Time synchronizing method in remote supervisory equipment

Info

Publication number
JPS6333995A
JPS6333995A JP17950186A JP17950186A JPS6333995A JP S6333995 A JPS6333995 A JP S6333995A JP 17950186 A JP17950186 A JP 17950186A JP 17950186 A JP17950186 A JP 17950186A JP S6333995 A JPS6333995 A JP S6333995A
Authority
JP
Japan
Prior art keywords
time
station
slave
clock
master station
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
JP17950186A
Other languages
Japanese (ja)
Other versions
JPH078070B2 (en
Inventor
Junichiro Tsukamoto
塚本 順一郎
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP17950186A priority Critical patent/JPH078070B2/en
Publication of JPS6333995A publication Critical patent/JPS6333995A/en
Publication of JPH078070B2 publication Critical patent/JPH078070B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To synchronize the clock of a master station and the clock of a slave station automatically gradually by correcting a set time signal based on the difference of the time between the set time signal added with a transmission delay time sent from the master station and the clock of the slave station. CONSTITUTION:The time t0 (date, hour, minute, second, milli-second) to be set periodically from the master station 0 and a set command signal are sent to each slave station. In this case, the time t0 to be set is the addition of the time of the master clock, the delay time from the master station 0 to the slave station and the time from the send of the set time to the sending of the set command signal. After the time of slave clocks CL1, CL2 just before rewrite is sent to the master station 0, the time is rewritten at the slave station. The master station comapres the time 0 sent to the slave station and to be set with the times t1, t2 just before the rewrite and sent from the slave station. The difference is the difference of the time between the slave clocks CL1, CL2 and the real slave clock considered by the master station 0 and the time t0' to be set next is corrected to decrease the difference and then the error is controlled to be close to zero gradually.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、遠方監視装置における親局と子局とに設置
された時計の時刻を同期化させる方法に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] 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
は動作やデータの記録を行なうタイプライタ、CPoは
演算処理回路、DOl、は出力回路、DIoは入力回路
、TCはタイプライタ制御回路、CL、は親時計回路。
[Prior Art] FIG. 4 is a diagram for explaining a time synchronization method in a conventional remote monitoring device disclosed in, for example, Japanese Patent Application Laid-Open No. 56-116199. In FIG. station,
1 and 2 are slave stations, GP is a display panel that shows the status of each slave station, and a CD
is a control console for issuing control commands to each slave station 1 and 2, TW
is a typewriter for recording operations and data, CPo is an arithmetic processing circuit, DOl is an output circuit, DIo is an input circuit, TC is a typewriter control circuit, and CL is a master clock circuit.

TR,は符号送受信回路、MD、は変復調回路である。TR is a code transmitting/receiving circuit, and MD is a modulation/demodulation circuit.

また子局1,2において、符号CPよ、cp2は演算処
理回路、MDi、 MD、は変復調回路、TRえ。
In slave stations 1 and 2, symbols CP, cp2 are arithmetic processing circuits, MDi and MD are modulation/demodulation circuits, and TR.

TR,は符号送受信回路、DIl、DI2は入力回路、
Dol、Do、は出力回路、CL、、CL2は子時計回
路である。さらに、Ll、L、はそれぞれ親局0と子局
1,2とを結ぶ信号伝送路である。
TR, is a code transmitting/receiving circuit, DIl, DI2 are input circuits,
Dol and Do are output circuits, and CL, CL2 are slave clock circuits. Furthermore, Ll and L are signal transmission paths connecting the master station 0 and the slave stations 1 and 2, respectively.

次に親局Oと子局1,2との各時計の時刻同期化の手法
について説明する。この時刻同期化に際しては、親局0
の演算処理回路CP0は設定すべき時刻to (例えば
午前0時0分0秒0ミリ秒)を送信する。各子局1,2
では、これを受信し演算処理回路CP1.CP2が設定
すべき時刻t0を記憶して次に到来する設定指令を待つ
Next, a method of synchronizing the clocks of the master station O and the slave stations 1 and 2 will be explained. During this time synchronization, the master station 0
The arithmetic processing circuit CP0 transmits the time to (for example, 0:00:00:00:00 am) to be set. Each slave station 1, 2
Then, this is received and the arithmetic processing circuit CP1. CP2 stores the time t0 to be set and waits for the next setting command.

親局Oは各子局1,2までの伝送遅延時間に相当すると
考えられる予め設定された時間τミリ秒前に設定指令信
号を発し、これが子局1,2に到着すると、演算処理回
路CPよ、CP、は各々の子時計CL□、CL2を時刻
t。に設定する。
The master station O issues a setting command signal a preset time τ milliseconds ago, which is considered to correspond to the transmission delay time to each slave station 1, 2, and when this signal reaches the slave stations 1, 2, the arithmetic processing circuit CP , CP, sets each child clock CL□, CL2 to time t. Set to .

[発明が解決しようとする問題点コ しかしながら、このような従来の遠方監視装置における
時刻同期化方法は以上にように構成されているので、伝
送遅延予想時間τミリ秒は固定値であり、これにより信
号伝送路が変わり、伝送遅延時間が変化した場合には、
親局と子局との時計に誤差を生じる。近年、信号伝送路
の信頼度を上げるために、常用回線、迂回回線等のごと
き信号伝送路を2ルート以上設け、一方が故障の場合に
は自動的に他方に切り換えることを行なったり。
[Problems to be Solved by the Invention] However, since the time synchronization method in such a conventional remote monitoring device is configured as described above, the expected transmission delay time τ milliseconds is a fixed value; If the signal transmission path changes and the transmission delay time changes,
An error occurs in the clocks of the master station and slave station. In recent years, in order to increase the reliability of signal transmission lines, two or more signal transmission lines, such as regular lines and detour lines, have been established, and if one fails, the system automatically switches to the other.

更には途中に交換装置を設けたりすることが行なわれる
が、この場合は伝送遅延時間が毎回変わるおそれがある
Furthermore, a switching device may be provided in the middle, but in this case, the transmission delay time may change each time.

一方、電力系統の高電化に伴い保護継電器等の動作時間
も短くなり、その事故解析には上記伝送遅延予想時間の
差による誤差も無視できなくなってきている。
On the other hand, as power systems become more highly electrified, the operating time of protective relays and the like is becoming shorter, and errors due to the difference in expected transmission delay times cannot be ignored in accident analysis.

この発明は上記のような問題点を解消するためになされ
たもので、親局および子局の時計を自動的に同期化でき
るようにした遠方監視装置における時刻同期化方法を得
ることを目的とする。
This invention was made to solve the above-mentioned problems, and its purpose is to provide a time synchronization method for a remote monitoring device that can automatically synchronize the clocks of a master station and a slave station. do.

[問題点を解決するための手段] この発明に係る遠方監視装置における時刻同期化方法は
、親局と子局とにそれぞれ時計をもつ遠方監視装置にお
いて、上記親局より時刻設定値信号と設定指令信号とを
上記子局に伝送して上記子局の時計を修正するとともに
、修正直前の上記子局における時計の時刻情報を上記親
局に伝送して上記親局から伝送される上記時刻設定値信
号に修正を加えることにより、上記の親局と子局との各
時計の時刻を同期化させるようにしたものである。
[Means for Solving the Problems] A time synchronization method in a remote monitoring device according to the present invention provides a time synchronization method for a remote monitoring device in which a master station and a slave station each have a clock. A command signal is transmitted to the slave station to correct the clock of the slave station, and time information of the clock in the slave station immediately before correction is transmitted to the master station, and the time setting is transmitted from the master station. By modifying the value signal, the time of each clock of the above-mentioned master station and slave station can be synchronized.

[作 用] この発明における遠方監視装置における時刻同期化方法
では、親局より送られてくる伝送遅延時間を加味した設
定時刻信号と子局の時計の時刻の差に基づき設定時刻信
号が補正され、これにより親局の時計と子局の時計とは
徐々に自動的に同期化されてゆく。
[Function] In the time synchronization method for a remote monitoring device according to the present invention, the set time signal is corrected based on the difference between the set time signal that takes into account the transmission delay time sent from the master station and the time of the clock of the slave station. As a result, the clocks of the master station and the clocks of the slave stations are gradually automatically synchronized.

[発明の実施例] 以下、この発明の一実施例を図について説明する。第1
図はこの発明の一実施例としての時刻同期化方法を実施
するための遠方監視装置を示す系統ブロック図であるが
、この第1図において、0は親局、1,2は子局、GP
は各子局の状態を示す表示盤、CDは各子局1,2に制
御指令を発するための制御卓、TWは動作やデータの記
録を行なうタイプライタ、CPoは演算処理回路、DO
oは出力回路、DI。は入力回路、TCはタイプライタ
制御回路、CL、は親時計回路、MEM、はメモリ、 
D、1. Do2は復調回路、M、1.M、2は変調回
路、Rott R,、は符号受信回路、S Oll S
O2は符号送信回路である。
[Embodiment of the Invention] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. 1st
The figure is a system block diagram showing a remote monitoring device for implementing a time synchronization method as an embodiment of the present invention. In this figure, 0 is a master station, 1 and 2 are slave stations, GP
is a display panel that shows the status of each slave station, CD is a control console for issuing control commands to each slave station 1 and 2, TW is a typewriter for recording operations and data, CPo is an arithmetic processing circuit, DO
o is the output circuit, DI. is the input circuit, TC is the typewriter control circuit, CL is the master clock circuit, MEM is the memory,
D.1. Do2 is a demodulation circuit, M, 1. M, 2 is a modulation circuit, Rott R, is a code receiving circuit, S Oll S
O2 is a code transmission circuit.

また子局1,2において、符号CP□、cp2は演算処
理回路、DI0.Di2は入力回路、DO□。
Further, in slave stations 1 and 2, symbols CP□ and cp2 are arithmetic processing circuits, DI0. Di2 is an input circuit, DO□.

DO2は出力回路、CL□、CL、は子時計回路である
。MEMよ、MEM2はメモリ、DL、D2は復調回路
、M工、M2は変調回路、S工9S2は符号送信回路で
ある。さらに、Ll、 L、はそれぞれ親局Oと子局1
,2とを結ぶ信号伝送路である。
DO2 is an output circuit, and CL□ and CL are slave clock circuits. MEM, MEM2 is a memory, DL and D2 are demodulation circuits, M and M2 are modulation circuits, and S 9S2 is a code transmission circuit. Furthermore, Ll and L are the master station O and slave station 1, respectively.
, 2.

次に動作について説明する。子局1または2において、
保護継電器の動作信号やしゃ断器等の状態信号は入力回
路DI、またはDI2を通して入力され、その発生時刻
を各子局1,2の子時計回路CLよまたはCL2より読
み取り、時刻と発生事象とを合わせて親局Oに伝送して
いる。従って、各子局の子時計の同期がとれていない場
合には、親局0にて子局より送られてくる情報を発生順
に並ベることができず運転員の判断を誤らせるおそれが
ある。
Next, the operation will be explained. At slave station 1 or 2,
Operation signals of protective relays and status signals of circuit breakers, etc. are input through the input circuit DI or DI2, and the time of occurrence is read from the slave clock circuit CL or CL2 of each slave station 1, 2, and the time and occurrence event are calculated. It is also transmitted to the master station O. Therefore, if the slave clocks of each slave station are not synchronized, master station 0 may not be able to arrange the information sent from the slave stations in the order of occurrence, which may lead to erroneous judgment by the operator. .

このため、親局Oより定期的に設定すべき時刻to (
日2時2分2秒、ミリ秒)と設定指令信号とを各子局に
送信する。この際、設定すべき時刻し。は親時計の時刻
に親局Oより子局までの伝送遅延時間および設定すべき
時刻を送信してから設定指令信号を送信するまでの時間
を加算しである。
Therefore, the time to (
(2:02:02, milliseconds) and a setting command signal to each slave station. At this time, set the time. is the time of the master clock, the transmission delay time from the master station O to the slave station, and the time from transmitting the time to be set until transmitting the setting command signal.

子局側では、第2図に示すとおり、設定すべき時刻t。On the slave station side, as shown in FIG. 2, the time t to be set.

をメモリMEM1.MEM2にて記憶し設定指令信号を
待つ。設定指令信号を受けると子時計CL1.CL、の
時刻をtoに書き換えるわけであるが、書き換える直前
の子時計CL、、CL2の時刻を親局Oに伝送してから
書き換える。
The memory MEM1. Store in MEM2 and wait for setting command signal. When the setting command signal is received, the slave clock CL1. The time of CL, is rewritten to to, but the time of the slave clock CL, CL2 immediately before being rewritten is transmitted to the master station O, and then rewritten.

親局Oでは子局に送信した設定すべき時刻t0と子局よ
り伝送されてくる書き換え直前の時刻t□+ tzとを
比較する。この差が親局0で考えている子時計CL□、
CL、の時刻と実際の子時計の時刻との差であり、この
差が小さくなるように次回の設定すべき時刻t。′を補
正する。
The master station O compares the time t0 to be set transmitted to the slave station with the time t□+tz immediately before rewriting transmitted from the slave station. This difference is the child clock CL□ considered by the master station 0,
This is the difference between the time of CL and the actual time of the slave clock, and the next time t should be set so that this difference becomes smaller. ′ is corrected.

なお、1回で補正しようとすると、ハンチングを起こす
おそれもあるため、過去数千回の誤差の平均分を補正す
るとか、誤差の何分の−ずつ補正する(つまりゲインを
小さくする)とかの方法により、徐々に誤差を零に近づ
けるよう制御する。
Note that if you try to correct it in one go, there is a risk of hunting, so you may want to correct the average error over several thousand times in the past, or correct it in increments of a fraction of the error (in other words, reduce the gain). This method controls the error so that it gradually approaches zero.

なお、上記の実施例では、書き換え直前の時刻情報を親
局に送って補正を計算する例を示したが、第3図に示す
ごとく、子局側にメモリMEM○、。
In the above embodiment, an example was shown in which the time information immediately before rewriting is sent to the master station to calculate the correction, but as shown in FIG. 3, the slave station has a memory MEM○.

MEMO,を持って、親局より送信されてくる設定すべ
き時刻と書き換え直前の子時計の時刻との差を過去数十
回分記憶し、これらのデータに基づいて補正値を補正値
計算回路AC,,AC2で計算し、この補正値を親局か
ら送られてくる情報に加算して設定すべき時刻としても
良い。
MEMO, the correction value calculation circuit AC stores the difference between the time to be set sent from the master station and the time of the child clock immediately before rewriting for several dozen times in the past, and calculates the correction value based on these data. , , AC2, and this correction value may be added to the information sent from the master station to set the time.

また、補正値の算出方法として過去数千回の誤差の平均
をとる方式について説明したが、もつと安定したシステ
ムとするため、必要な伝達関数を通してもよいことはい
うまでもない。
In addition, as a method of calculating the correction value, a method of averaging the past several thousand errors has been described, but it goes without saying that necessary transfer functions may be used in order to obtain a stable system.

[発明の効果] 以上のようにこの発明によれば、伝送遅延時間等の補正
を自動的に修正するように構成したので、信号伝送ルー
トが変更になったり、伝送路途中の遅延時間が変化して
も、自動的に親局の時計と子局の時計の同期をとること
ができる効果がある。
[Effects of the Invention] As described above, according to the present invention, corrections for transmission delay time, etc. are automatically corrected, so even if the signal transmission route is changed or the delay time in the middle of the transmission path changes. This has the effect of automatically synchronizing the clocks of the master station and the clocks of the slave stations.

【図面の簡単な説明】[Brief explanation of drawings]

第1〜3図は本発明の一実施例としての遠方監視装置に
おける時刻同期化方法を実施するための装置を示すもの
で、第1図はその系統ブロック図、第2図はその子局側
での機能を説明するためのブロック図、第3図はその子
局側での機能を説明するための他の例を示すブロック図
であり、第4図は従来の遠方監視装置における時刻同期
化方法を実施するための装置を示す系統ブロック図であ
る。 図におイテ、0−親局、1.2−子局、AC,。 AC,−補正値計算回路、CD−制御卓、CL、−親時
計回路、CL工、CL、−子時計回路、cpo。 cp工、cp、−演算処理回路、D z t D z 
t D OL tDo2−復調回路、D1.、DI2.
DI、−入力回路、Do。、Dol、Do、−出力回路
、GP−表示盤、Ll、 L2−信号伝送路、M□+ 
Mg2 M、、。 M、2−変調回路、MEM、、MEM、、MEMOl。 M E M O,−−メモリ、R1,R,、R,、、R
,2−・・符号受信回路、S x t S 2 t S
 o t t S o 2−符号送信回路、TW−・−
タイプライタ。 なお、図中、同一符号は同一、又は相当部分を示す。
Figures 1 to 3 show a device for implementing the time synchronization method in a remote monitoring device as an embodiment of the present invention. Figure 1 is a system block diagram thereof, and Figure 2 is a slave station side thereof. FIG. 3 is a block diagram showing another example to explain the functions on the slave station side, and FIG. 4 shows a time synchronization method in a conventional remote monitoring device. FIG. 2 is a system block diagram showing an apparatus for implementing the method. In the figure, 0-master station, 1.2-slave station, AC,. AC, - correction value calculation circuit, CD - control console, CL, - master clock circuit, CL engineering, CL, - child clock circuit, cpo. cp engineering, cp, - arithmetic processing circuit, D z t D z
tDOL tDo2--demodulation circuit, D1. , DI2.
DI, - input circuit, Do. , Dol, Do, -output circuit, GP-display panel, Ll, L2-signal transmission line, M□+
Mg2 M,. M,2-Modulation circuit,MEM,,MEM,,MEMOl. M E M O, --Memory, R1, R,, R,,, R
, 2-... code receiving circuit, S x t S 2 t S
o t t S o 2-code transmission circuit, TW-・-
typewriter. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】 (I)親局と子局とにそれぞれ時計をもつ遠方監視装置
において、上記親局より時刻設定値信号と設定指令信号
とを上記子局に伝送して上記子局の時計を修正するとと
もに、修正直前の上記子局における時計の時刻情報を上
記親局に伝送して上記親局から伝送される上記時刻設定
値信号に修正を加えることにより、上記の親局と子局と
の各時計の時刻を同期化させることを特徴とする遠方監
視装置における時刻同期化方法。 (2)修正直前の上記子局の時計の時刻情報を上記子局
に蓄積しこの蓄積データにより上記親局から伝送される
上記時刻設定値信号を修正することを特徴とする特許請
求の範囲第1項記載の遠方監視装置における時刻同期化
方法。
[Scope of Claims] (I) In a remote monitoring device in which a master station and a slave station each have a clock, a time setting value signal and a setting command signal are transmitted from the master station to the slave station, and the slave station By correcting the clock, transmitting the time information of the clock in the slave station immediately before the correction to the master station, and correcting the time setting value signal transmitted from the master station, the master station and slave station can A time synchronization method in a remote monitoring device, characterized by synchronizing the time of each clock with a station. (2) The time information of the clock of the slave station immediately before correction is stored in the slave station, and the time setting value signal transmitted from the master station is corrected using this accumulated data. A time synchronization method in a remote monitoring device according to item 1.
JP17950186A 1986-07-29 1986-07-29 Time synchronization method in remote monitoring device Expired - Fee Related JPH078070B2 (en)

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 true JPS6333995A (en) 1988-02-13
JPH078070B2 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)

Also Published As

Publication number Publication date
JPH078070B2 (en) 1995-01-30

Similar Documents

Publication Publication Date Title
US5887029A (en) Method of scheduling spatially separated control events with an industrial controller
EP0185348B1 (en) Method and apparatus for synchronizing the timing subsystems of the physical modules of a local area network
EP0546339B1 (en) Distributed control system
US5519726A (en) Industrial controller with coordinated timing
JPS6194433A (en) Control system for serial bus
EP0613271A2 (en) Method and apparatus for time synchronization of bus type local area networks including hierarchical networks
JPH0668799B2 (en) Remote monitoring control system
JPH10154991A (en) Control system using plc
JPS6333995A (en) Time synchronizing method in remote supervisory equipment
JPS631126A (en) Time synchronizing method for data transmission system
JPH07280970A (en) Monitoring control system with time synchronizing function
JPH0462081B2 (en)
JPH065309B2 (en) Time synchronization method
JPS60237523A (en) Controller for internal timepiece
JP2840038B2 (en) Operation control method
JPS6378697A (en) Remote supervisory and controlling equipment
JP2724883B2 (en) Time matching method of distributed system and train operation management system
JPS6234845A (en) Dispersion type train operation control method
JPH08129563A (en) Time setting system for decentralized control system
JPS61120298A (en) Real time control system for telemetering slave equipment
JPH07280969A (en) Monitoring control system with time synchronizing function
JPH0458237B2 (en)
JPS61206332A (en) Transmission synchronous controller
JPH0898263A (en) Remote supervisory and control equipment and time synchronizing device
JPH06165265A (en) Remote supervisory and controlling equipment

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees