JPH02214397A - Remote monitor controller - Google Patents

Remote monitor controller

Info

Publication number
JPH02214397A
JPH02214397A JP1035371A JP3537189A JPH02214397A JP H02214397 A JPH02214397 A JP H02214397A JP 1035371 A JP1035371 A JP 1035371A JP 3537189 A JP3537189 A JP 3537189A JP H02214397 A JPH02214397 A JP H02214397A
Authority
JP
Japan
Prior art keywords
time
station
slave
slave station
master
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
JP1035371A
Other languages
Japanese (ja)
Inventor
Takeshi Watanabe
猛 渡辺
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1035371A priority Critical patent/JPH02214397A/en
Publication of JPH02214397A publication Critical patent/JPH02214397A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve accuracy for time matching at a slave-slave station without provision of a master clock for each slave station by allowing each slave station to set a time matching period time again at a period shorter than a time matching period time in a master station by an internal counter and sending the time synchronizing data to the slave-slave station for time matching. CONSTITUTION:When a slave station receives a time synchronizing data, the slave station B starts an internal timer 11 immediately and the time matching period time is set at a period shorter than the time matching period time in the master station immediately again. When the time is reached, it is informed to a transmission section 10. When an interrupt signal for time matching to the slave-slave station is inputted by the internal timer in the transmission section, the time synchronizing data comprising the HDLC procedure is generated and when the interrupt input signal at the time matching start point of time is inputted, the time synchronizing data is sent to a slave-slave station C and after the transmission, the transmission protocol with the slave-slave station is interrupted and the flag transmission by the HDLC procedure is started. When the interrupt signal is inputted, the transmission section applies transmission processing the execution data representing the start of execution according to the HDLC format. The slave-slave station receiving the signal applies time matching similar to a conventional slave station.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、ハイレベル・データリンク制御手順(以下H
DLC伝送方式と称す)を用いて制御所(親局)と被制
御所(孫局)間で、中断局(子局)を介して被制御機器
の監視制御に必要な情報を伝送し合う遠方監視制御装置
において、親局と孫局間の時刻合せを行なう時刻同期デ
ータを親局から子局を介して孫局へ伝送する遠方監視制
御装置に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention provides a high-level data link control procedure (hereinafter referred to as H
DLC transmission method) is used to transmit information necessary for monitoring and controlling controlled equipment between a control center (master station) and a controlled station (substation) via an interrupted station (slave station). The present invention relates to a remote monitoring and control device that transmits time synchronization data for synchronizing time between a parent station and a grandchild station from a parent station to a grandchild station via a child station.

(従来の技術) 従来、HDLC伝送方式を用いて親局及び子局間で情報
を伝送し合う遠方監視制御装置においては、事故情報を
解析する目的で付加された時刻情報の精度を向上させる
ために、親局と子局との間で定期的に時刻合、せが行な
われていた。
(Prior art) Conventionally, in remote monitoring and control devices that transmit information between a master station and a slave station using the HDLC transmission method, in order to improve the accuracy of time information added for the purpose of analyzing accident information, In addition, time synchronization was performed regularly between the master station and slave stations.

しかし親局から子局を介して孫局への時刻合せは行なわ
れていなかった。従ってここでは従来の親局と子局との
間の時刻同期方法について説明する。
However, the time was not synchronized from the master station to the grandchild stations via the slave stations. Therefore, a conventional time synchronization method between a master station and a slave station will be explained here.

第3図はその概略構成例を示し、また第4図は親時計か
ら送出される割込信号の様子を示す、なお、第3図では
親局と子局との関係を1体1の場合の構成例としている
Figure 3 shows an example of its schematic configuration, and Figure 4 shows the interrupt signal sent from the master clock. In Figure 3, the relationship between the master station and slave stations is shown in the case of one unit. This is a configuration example.

すなわち、第3図において親局Aは、入力部32゜メイ
ンマイクロプロセッサ33.伝送部34から構成され、
入力部32.メインマイクロプロセッサ33及び伝送部
34は内部バスで接続されている。
That is, in FIG. 3, the master station A has an input section 32, a main microprocessor 33. Consists of a transmission section 34,
Input section 32. The main microprocessor 33 and the transmission section 34 are connected via an internal bus.

伝送部34には、親時計31から定周期(T)、例えば
1分毎に割込信号が入力されるようになっている。
The transmission unit 34 is configured to receive an interrupt signal from the master clock 31 at regular intervals (T), for example, every minute.

入力部32は親時計31からの時刻情報を取込み、これ
を内部バスを通してメインマイクロプロセッサ33に受
は渡すものである。
The input unit 32 takes in time information from the master clock 31 and passes it to the main microprocessor 33 via an internal bus.

メインマイクロプロセッサ33は、この入力部32より
時刻情報を受は取ると子局に対する時刻合せのための割
込入力信号の認識を行なう機能を備えており、例えばT
=1分、To=1時間とし、毎正時毎に時刻合せを行な
う場合、メインマイクロプロセッサ33は毎正時1分前
を認識するとその旨を伝送部34に知らせるようになっ
ている。
The main microprocessor 33 has a function of receiving and receiving time information from the input section 32 and recognizing an interrupt input signal for time adjustment to a slave station.
= 1 minute, To = 1 hour, and when the time is set every hour on the hour, when the main microprocessor 33 recognizes one minute before every hour, it notifies the transmission unit 34 of this fact.

さらに伝送部34はHDLC手順の伝送プロトコル等の
伝送処理を行なうようになっており、サブマイクロプロ
セッサを備えている。
Furthermore, the transmission section 34 is adapted to perform transmission processing such as transmission protocols of HDLC procedures, and is equipped with a sub-microprocessor.

伝送部34は、メインマイクロプロセッサ33から毎正
時1分前の信号が入力されると、次に親時計31から出
される割込入力信号が時刻合せを開始すべき信号である
ことを認識すると同時に、HDLC伝送手順に定義され
るコントロールフィールド中の旧(Unnumbere
d Information)コマンド及びアドレスフ
ィールド中のグローバルアドレスにて構成される時刻合
せのための、時刻同期データを生成し、時刻合せ開始時
点での割込入力信号(Ill)が入力される一定時間(
to )前に、前記時刻同期データを送信する。そして
時刻同期データ送信後、子局Bとの伝送プロトコル処理
を中断し、HDLC伝送手順で定義されたフラグの伝送
を開始し、割込入力信号(In)待ち状態に入る機能を
有している。
When the transmission section 34 receives the signal one minute before the hour from the main microprocessor 33, it recognizes that the next interrupt input signal output from the master clock 31 is the signal to start time adjustment. At the same time, the old (Unnumber) in the control field defined in the HDLC transmission procedure
d Information) Generates time synchronization data for time adjustment consisting of a command and a global address in the address field, and generates a certain period of time (when an interrupt input signal (Ill) is input at the start of time adjustment).
to ) before transmitting the time synchronization data. After transmitting the time synchronized data, it has the function of interrupting the transmission protocol processing with slave station B, starting the transmission of the flag defined in the HDLC transmission procedure, and entering the interrupt input signal (In) wait state. .

伝送部34は、前記一定時間(to )後、つまり割込
入力信号(In)が入力された時点で子局Bに対して実
行開始を示す実行データを旧コマンド及びグローバルア
ドレスを用いて送信する手段を備える。
The transmission unit 34 transmits execution data indicating the start of execution to the slave station B after the predetermined time (to), that is, when the interrupt input signal (In) is input, using the old command and the global address. Have the means.

一方、子局Bの伝送部36は、親局からの前記予め送ら
れてくる時刻同期データを入力処理し、入力後一旦他の
処理を中断することにより、親局Aからの次に送られて
くる実行データが入力されると直ちに時刻合せに移行す
ることが可能となるような手段を備える。
On the other hand, the transmission unit 36 of the slave station B inputs and processes the time synchronization data sent in advance from the master station, and after the input, temporarily suspends other processing, so that the transmission unit 36 transmits the time synchronization data sent from the master station The present invention is equipped with a means that enables the time adjustment to be started immediately when the next execution data is input.

以上示した如く、従来、親局と子局との間の時刻同期方
法では、親局においては、予め子局へ時刻同期データを
送っておくことにより、ス子局においては、−旦他の処
理を中断することにより、子局での時刻合せを行なう際
の精度を向上させ、さらに旧コマンド、グローバルアド
レスで構成された時刻同期データを用いることにより、
再送手順に伴なう不足となる遅れ時間要因を除去し、時
刻合せを行なっていた。
As shown above, in the conventional time synchronization method between a master station and a slave station, the master station sends time synchronization data to the slave station in advance, and the slave station - By interrupting processing, the accuracy of time synchronization at slave stations is improved, and by using time synchronization data made up of old commands and global addresses,
The time delay factor caused by the retransmission procedure was eliminated and the time was adjusted.

(発明が解決しようとする課題) 従来、親局と子局構成においては、以上述べた如く、時
刻合せを行なっていた。しかし親局と子局と孫局構成に
おける時刻合せを考えた場合、上記親局と子局と同じ方
法にて時刻合せを行なおうとすると、子局毎に前記親局
における親時計装置を備えなければならなくなり、経済
的な面から実際上具備不可能である。
(Problems to be Solved by the Invention) Conventionally, in the configuration of a master station and a slave station, time synchronization has been performed as described above. However, when considering time synchronization in a master station, slave station, and grandchild station configuration, if you try to synchronize the time using the same method as the master station and slave stations described above, each slave station must have a master clock device in the master station. This would be practically impossible from an economical point of view.

また、仮に親局と同じ親時計を子局毎に備え、前記親局
と子局と同様の方法で子局と孫局の間で時刻合せが可能
としても、今度は、親時計相互の誤差の問題、あるいは
、複数の親時計の保守の問題等により、孫局での時刻合
せを行なう際の精度を向上させることが器しくなるとい
う欠点がある。
Furthermore, even if each slave station is equipped with the same master clock as the master station, and it is possible to synchronize the time between the slave station and the grandchild station in the same manner as the master station and slave stations, the difference between the master clocks will be There is a drawback that it becomes difficult to improve the accuracy when setting the time at the grand station due to problems such as maintenance of a plurality of master clocks or the like.

本発明は上記事情に鑑みてなされたものであり、子局毎
に親時計を備える方式を考えることなく、孫局での時刻
合せを行なう際の精度を向上させることができる遠方監
視制御装置を提供することを目的としている。
The present invention has been made in view of the above-mentioned circumstances, and provides a remote monitoring and control device that can improve the accuracy of time adjustment at substations without considering a system in which a master clock is provided for each substation. is intended to provide.

[U明の構成] (課題を解決するための手段) 本発明は上記の目的を達成するため、HDLC伝送手順
に従って伝送プロトコル処理を行ない、制御所(親局)
と中継局(子局)と被制御所(孫局)との間で監視に必
要な情報を伝送し合って被制御機器を監視制御する遠方
監視制御装置において、親局では、親時計から定周期毎
に送出される割込み信号に基づいて予め定められた時刻
合せ周期時間の一定時間前であるか否かを判定する判定
手段と、この判定手段により一定時間前であると判定さ
れると直ちにHDLC伝送手順に定義されるコントロー
ルフィールド中の旧(tlnnuibered Inf
orma−tion)コマンド及びアドレスフィールド
中のグローバルアドレスにて構成される時刻合せを行な
う時刻同期データを子局へ送信する手段と、前記時刻合
せ周期時間には、前記旧コマンド及びグローバルアドレ
スにて構成される実行開始を示す実行データを子局へ送
信する手段とを備え、子局では、親局からの前記予め送
られてくる時刻同期データを入力処理する手段と、入力
後一旦他の処理を中断し、親局からの前記一定時間後に
送られてくる実行データが入力すると直ちに時刻合せに
移行する手段と、時刻合せ後、起動され前記親局におけ
る親時計と同じ定周期時間カウンドした後割込信号を出
力する内部タイマと、この内部カウンタにて前記親局に
おける時刻合せ周期時間より短い周期にて再度時刻合せ
周期時間を設定する手段と、当該子局にて新たに設定さ
れた時刻合せ周期時間の一定時間前であるか否かを判定
する判定手段と、この判定手段により一定時間前である
と判定されると直ちにHDLC伝送手順に定義されるコ
ントロールフィールド中のUIコマンド及びアドレスフ
ィールド中のグローバルアドレスにて構成される時刻合
せを行なう時刻同期データを孫局へ送信する手段と、前
記再度設定された時刻合せ周期時間には、実行開始を示
す実行データを孫局へ送信する手段を備え、 孫局では、子局からの前記予め送られてくる時刻同期デ
ータを入力処理する手段と、入力後、旦他の処理を中断
し、子局からの前記一定時間後に送られてくる実行デー
タが入力すると°直ちに時刻合せに移行する手段を備え
るよう構成しな。
[Configuration of Umei] (Means for solving the problem) In order to achieve the above object, the present invention performs transmission protocol processing according to the HDLC transmission procedure, and
In a remote monitoring and control device that monitors and controls a controlled device by transmitting the information necessary for monitoring between a relay station (slave station) and a controlled station (grandchild station), the master station receives the settings from the master clock. A determining means for determining whether or not a predetermined time period has elapsed before a predetermined time adjustment cycle time based on an interrupt signal sent every cycle; The old (tlnnuibered Inf) in the control field defined in the HDLC transmission procedure.
orma-tion) means for transmitting time synchronization data for time adjustment made up of a command and a global address in an address field to a slave station; The slave station includes a means for inputting and processing the time synchronization data sent in advance from the master station, and a means for inputting and processing the time synchronization data sent in advance from the master station, and a means for processing the time synchronization data sent in advance from the master station, and a means for transmitting execution data indicating the start of execution of the data to the slave station. means for interrupting the process and immediately transitioning to time adjustment when execution data sent from the master station after the predetermined period of time is input; an internal timer for outputting a time adjustment signal, a means for resetting the time adjustment cycle time using the internal counter at a shorter cycle than the time adjustment cycle time at the master station, and a means for setting the time adjustment cycle time newly set at the slave station. A determining means for determining whether or not a certain period of time has elapsed before the periodic time, and a UI command in the control field and an address field defined in the HDLC transmission procedure as soon as it is determined by this determining means that the certain period of time has elapsed. means for transmitting time synchronization data for time adjustment configured by a global address to the substation, and means for transmitting execution data indicating the start of execution to the substation at the re-set time adjustment cycle time. In preparation, the sub-station has a means for inputting and processing the time synchronization data sent in advance from the slave station, and after inputting, interrupts other processing and executes the time synchronization data sent from the slave station after the certain period of time. Do not configure it so that it has a means to immediately shift to time adjustment when data is input.

(作 用) 親局の入力部は親時計からの時刻情報を取込み、これを
内部バスを介してメインマイクロプロセッサに受は渡す
、又、伝送部には親時計からの割込信号が入力される。
(Function) The input section of the master station receives time information from the master clock and passes it to the main microprocessor via the internal bus, and the transmission section receives interrupt signals from the master clock. Ru.

メインマイクロプロセッサは入力部からの時刻情報を受
は取ると、例えば毎正時毎に時刻合せを行なう場合では
毎正時1分前である旨を伝送部34に知らせ、これを受
けた伝送部はHDLC手順の伝送プロトコル等の伝送処
理を行なう。
When the main microprocessor receives the time information from the input section, it notifies the transmission section 34 that it is one minute before the hour if the time is to be adjusted every hour on the hour. performs transmission processing such as the transmission protocol of the HDLC procedure.

また伝送部は前記した毎正時1分前信号を受けると、 
HDLC伝送手順で定義されるフォーマットにしたがい
時刻同期データを生成し、時刻合せの割込入力信号が入
力される一定時間(to )前に子局に対して時刻同期
データを送信する。
In addition, when the transmission section receives the above-mentioned signal one minute before the hour,
Time synchronization data is generated according to the format defined by the HDLC transmission procedure, and is transmitted to the slave station a certain time (to) before the time adjustment interrupt input signal is input.

更に一定時間(to )後に子局に対して時刻データを
送信する。
Furthermore, after a certain period of time (to), time data is transmitted to the slave station.

一方、子局では子局が時刻同期データを受信すると、直
ちに内部タイマを起動して親局における時刻合せ周期時
間より雉い周期にて再度時刻合せ周期時間が設定される
。そして、その時間に達すると、その旨を伝送部10へ
知らせる。また、伝送部では内部タイマによって孫局へ
の時刻合せの割込信号が入力されると、HDLC手順に
て構成される時刻同期データを生成し、時刻合せ開始時
点での割込入力信号が入力されると、時刻同期データを
孫局へ送信し、この送信後孫局との伝送プロトコルを中
断し、HDLC伝送手順によるフラグ伝送を開始する。
On the other hand, when the slave station receives the time synchronization data, it immediately starts an internal timer and sets the time adjustment cycle time again at a cycle shorter than the time synchronization cycle time at the master station. When the time has come, the transmitter 10 is notified of this fact. In addition, when the transmission unit receives an interrupt signal for time adjustment to the substation by an internal timer, it generates time synchronization data configured by the HDLC procedure, and the interrupt input signal at the time of starting time adjustment is input. Then, the time synchronization data is transmitted to the grandchild station, and after this transmission, the transmission protocol with the grandchild station is interrupted, and flag transmission using the HDLC transmission procedure is started.

その後割込信号が入力されると伝送部は実行開始を示す
実行データをHDLCフォーマットにしたがって送信処
理する。これを受けた孫局は従来の子局と同様に時刻合
せをする。
Thereafter, when an interrupt signal is input, the transmission section transmits execution data indicating the start of execution according to the HDLC format. The grandchild station that receives this adjusts the time in the same way as a conventional slave station.

(実施例) 以下図面を参照して実施例を説明する。(Example) Examples will be described below with reference to the drawings.

第1図は本発明による遠方監視制御装置の一実施例の構
成図であり、親局と子局と孫局との関係が1対1対1の
場合を示す。
FIG. 1 is a block diagram of an embodiment of a remote monitoring and control device according to the present invention, and shows a case where the relationship between a master station, a slave station, and a grandchild station is one-to-one.

第1図において、親局Aにおける構成は、第3図のそれ
と同じであるなめ、ここではその説明を省略する。
In FIG. 1, the configuration of the master station A is the same as that in FIG. 3, so its explanation will be omitted here.

一方、子局Bの伝送部36は親局Aからの予め送られて
くる時刻同期データを入力処理し、入力後一旦他の処理
を中断することにより、次に送られてくる親局Aからの
実行データが入力されると、直ちに時刻合せに移行する
ことが可能となるような手段を備える。
On the other hand, the transmission unit 36 of the slave station B inputs and processes the time synchronization data sent in advance from the master station A, and after the input, temporarily suspends other processing, so that the transmission unit 36 receives the time synchronization data sent from the master station A next. The apparatus is equipped with a means for immediately starting time adjustment when the execution data is input.

内部タイマ11は、上記子局Bにおける時刻合せ後起動
され、親局Aにおける親時計31と同じ定周期時間T=
1分カウンドした後、割込信号を出力する。すなわち子
局における内部タイマ11から送出される割込信号の様
子は第4図のそれと同じとなる。さらにこの内部タイマ
11には、親局Aにおける時刻合せ周期時間より短い周
期にて、再度時刻合せ周期時間を設定する機能を備えて
おり、例えばTo−1時間とすると3分周した20分周
期でカウンドアツプする。メインマイクロプロセッサ3
5は、前記20分周期1分前を認識すると、その旨を伝
送部10に知らせるようになっている。
The internal timer 11 is started after the time is set in the slave station B, and the internal timer 11 is started at the same fixed period time T= as the master clock 31 in the master station A.
After counting for one minute, an interrupt signal is output. That is, the state of the interrupt signal sent from the internal timer 11 in the slave station is the same as that shown in FIG. Furthermore, this internal timer 11 has a function to set the time adjustment cycle time again at a cycle shorter than the time adjustment cycle time at the master station A. For example, if To-1 time is set, the frequency is divided by 3 to 20 minutes. Count up with . Main microprocessor 3
5 is configured to notify the transmission unit 10 of this fact when it recognizes one minute before the 20-minute period.

さらに伝送部10は、メインマイクロプロセッサ35か
ら前記20分周期1分前の信号が入力されると、次に内
部タイマ11から出される割込入力信号が孫局Cに対す
る時刻合せを開始すべき信号であることを認識し、同時
に、HDLC伝送手順に定義される、コントロールフィ
ールド中のUl(υnnumbered In−fOr
latiOn )コマンド及びアドレスフィールド中の
グローバルアドレスにて構成される時刻合せのための時
刻同期データを生成する。さらにこの伝送部10は、孫
局Cへの時刻合せ開始時点での割込入力信号(In)が
入力される一定時間(to )前に、現状の孫局Cとの
伝送プロトコル処理を中断し、HDLC伝送手順で定義
されたフラグの伝送を開始し、割込入力信号(In>待
ち状態に入る機能を有している。
Further, when the transmission section 10 receives the signal from the main microprocessor 35 for one minute before the 20-minute period, the next interrupt input signal output from the internal timer 11 is a signal to start time adjustment for the substation C. At the same time, Ul(υnnumbered In-fOr) in the control field defined in the HDLC transmission procedure
latiOn) Generates time synchronization data for time adjustment consisting of the command and the global address in the address field. Furthermore, this transmission unit 10 interrupts the current transmission protocol processing with the grand station C before a certain period of time (to) when the interrupt input signal (In) at the start of time adjustment to the grand station C is input. , has the function of starting the transmission of the flag defined in the HDLC transmission procedure and entering the interrupt input signal (In> wait state).

伝送部10は、前記一定時間<to>ft−つまり割込
入力信号(In )が入力された時点で、孫局Cに対し
て実行開始を示す実行データを旧コマンド及び、グロー
バルアドレスを用いて送信する手段を備える。
The transmission unit 10 transmits execution data indicating the start of execution to the grand station C using the old command and the global address at the time when the interrupt input signal (In) is input for the certain period of time <to>ft-, that is, when the interrupt input signal (In) is input. A means for transmitting is provided.

なお、孫局Cにおける構成は第3図の子局と同じなので
ここではその説明を省略する。
Note that the configuration of the grandchild station C is the same as that of the child station in FIG. 3, so the explanation thereof will be omitted here.

次に上記のように構成された遠方監視制御装置の作用を
、第2図に示すフローチャートを参照して説明する。
Next, the operation of the remote monitoring and control device configured as described above will be explained with reference to the flowchart shown in FIG.

この場合、親局と孫局との関係は、従来の親局及び子局
と同じであるため、ここでは子局のみの作用について説
明する。先ずステップS21にて時刻同期データの割込
処理を行なう0次いでステップ822にて旧コマンドで
構成された時刻同期データであるかどうかを判定し旧コ
マンドであることが判定されると、ステップ823にて
受信に失敗した場合でも再送要求へは移行せずステップ
824にて受信データの破棄を行なう、又、ステップ3
22にて旧コマンドでない時は、ステップ825にてデ
ータエラーとしてエラー処理される。
In this case, since the relationship between the master station and the slave stations is the same as that of the conventional master station and slave stations, only the operation of the slave stations will be described here. First, in step S21, interrupt processing of time synchronized data is performed.Next, in step 822, it is determined whether or not the time synchronized data is composed of an old command.If it is determined that the command is an old command, the process proceeds to step 823. Even if reception fails in step 824, the received data is discarded in step 824 without proceeding to a retransmission request.
If the command is not an old command in step 822, it is processed as a data error in step 825.

ステップ323にて時刻同期データを受信すると、直ち
にステップ826にて内部タイマ11を起動させ、カウ
ンドを開始する。内部タイマ11により、親局Aにおけ
る時刻合せ周期時間より短い周期にて再度時刻合せ周期
時間が設定され、ステップS27にてその時刻合せを開
始すべき時刻、例えば20分周期1分前か否かを判定す
る。このステップS27にて孫局への時刻合せを行なう
べき時刻であることが判定されると、ステップ328に
てその旨を伝送部10へ知らせる。
Immediately upon receiving the time synchronization data in step 323, the internal timer 11 is activated in step 826 to start counting. The internal timer 11 sets the time adjustment cycle time again at a cycle shorter than the time adjustment cycle time at the master station A, and in step S27 it is determined whether the time to start the time adjustment is, for example, 1 minute before the 20 minute cycle. Determine. If it is determined in this step S27 that it is the time at which the time should be adjusted to the grandchild station, the transmission unit 10 is notified of this in step 328.

ステップ829において伝送部10は、次に内部タイマ
11から出力される割込信号(In)が孫局への時刻合
せを開始すべき信号であることを認識すると同時に、旧
コマンド、グローバルアドレスにて構成される時刻同期
データを生成する。
In step 829, the transmission unit 10 recognizes that the interrupt signal (In) output from the internal timer 11 is a signal to start time adjustment to the grand station, and at the same time, transmits the old command and global address. Generate time synchronization data configured.

ステップS30において時刻合せ開始時点での割込入力
信号(■α)が入力される一定時間<to>前であるこ
とが判定されると、ステップS31にてステップS29
で生成した旧コマンドにて構成される時刻同期データを
送信し、送信後現状の孫局Cとの伝送プロトコルを中断
し、HDLC伝送手順で定義されたフラグの伝送を開始
する。
If it is determined in step S30 that the interrupt input signal (■α) at the time of starting time adjustment is inputted a certain time <to> before, step S31 proceeds to step S29.
The time synchronization data composed of the old command generated in is transmitted, and after transmission, the current transmission protocol with grand station C is interrupted, and transmission of the flag defined in the HDLC transmission procedure is started.

ステップS32にて割込信号(In)の入力が認識され
ると、ステップS33にて伝送部10は時刻開始を示す
実行データをやはり旧コマンド、グローバルアドレスを
用いて送信処理する。このような処理を経て時刻同期デ
ータは伝送路を介して子局Bから孫局Cへ送られる。
When the input of the interrupt signal (In) is recognized in step S32, the transmission unit 10 transmits execution data indicating the start of time in step S33, also using the old command and global address. After such processing, the time synchronization data is sent from slave station B to grandchild station C via the transmission path.

上記実施例からも明らかなように、子局毎に親時計装置
を備えることがないので経済的な面からも有効となり、
また複数の親時計相互の誤差の問題、保守の問題を除去
することができる。さらに子局と孫局との時刻合せ周期
時間を親局と子局との時刻合せ周期時間より短くするこ
とにより、子局が介在することによる孫局の誤差を小さ
くすることができ、孫局での時刻合せを行なう場合の精
度を向上させることができる。
As is clear from the above embodiment, since there is no need to provide a master clock device for each slave station, it is effective from an economical point of view.
Furthermore, problems of mutual errors between multiple master clocks and maintenance problems can be eliminated. Furthermore, by making the time adjustment cycle time between the slave station and the grandchild station shorter than the time synchronization cycle time between the master station and the slave station, it is possible to reduce errors in the grandchild station due to the intervention of the slave station. The accuracy of time adjustment can be improved.

[発明の効果コ 以上説明したように、本発明によれば時刻同期データを
伝送する場合、子局毎に親時計装置を備えることがなく
、又、子局と孫局との時刻合せ周期時間を親局と子局と
の時刻合せ同期時間より雉くすることにより、孫局に対
して時刻合せを行なう際の精度を向上させることができ
る遠方監視制御装置を提供することができる。
[Effects of the Invention] As explained above, according to the present invention, when transmitting time synchronization data, it is not necessary to provide a master clock device for each slave station, and the time synchronization cycle time between the slave station and the grandchild station is By making the time adjustment synchronization time of the master station and the slave station shorter, it is possible to provide a remote monitoring and control device that can improve the accuracy when adjusting the time of the grandchild station.

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

第1図は本発明による遠方監視制御装置の一実施例を示
す構成図、第2図は同実施例の子局Bにおける作用を説
明するためのフローチャート、第3図は従来の遠方監視
制御装置の一例を示す構成図、第4図は親時計からの割
込入力信号の様子を示す図である。 10、13.34.36・・・伝送部 11・・・タイマ 12、33.35・・・メインマイクロプロセッサ31
・・・親時計      32・・・入力部A・・・親
局    B・・・子局    C・・・孫局第1図 第 図 第 図
FIG. 1 is a block diagram showing an embodiment of a remote monitoring and control device according to the present invention, FIG. 2 is a flowchart for explaining the operation of the same embodiment at slave station B, and FIG. 3 is a conventional remote monitoring and control device. FIG. 4 is a block diagram showing an example of the configuration, and FIG. 4 is a diagram showing the state of an interrupt input signal from the master clock. 10, 13.34.36... Transmission section 11... Timer 12, 33.35... Main microprocessor 31
...Master clock 32...Input section A...Master station B...Slave station C...Grand station Fig. 1 Fig. Fig.

Claims (1)

【特許請求の範囲】 HDLC伝送手順に従って伝送プロトコル処理を行ない
、制御所(親局)と中継局(子局)と被制御所(孫局)
との間で監視、制御に必要な情報を伝送し合って被制御
機器を監視制御する遠方監視制御装置において、 親局では、親時計から定周期毎に送出される割込み信号
に基づいて予め定められた時刻合せ周期時間の一定時間
前であるか否かを判定する判定手段と、この判定手段に
より一定時間前であると判定されると直ちにHDLC伝
送手順に定義されるコントロールフィールド中のUI(
Unnumbered Informa−tion)コ
マンド及びアドレスフィールド中のグローバルアドレス
にて構成される時刻合せを行なう時刻同期データを子局
へ送信する手段と、前記時刻合せ周期時間には、前記旧
コマンド及びグローバルアドレスにて構成される実行開
始を示す実行データを子局へ送信する手段とを備え、 子局では、親局からの前記予め送られてくる時刻同期デ
ータを入力処理する手段と、入力後一旦他の処理を中断
し、親局からの前記一定時間後に送られてくる実行デー
タが入力すると直ちに時刻合せに移行する手段と、時刻
合せ後、起動され前記親局における親時計と同じ定周期
時間カウンドした後割込信号を出力する内部タイマと、
この内部カウンタにて前記親局における時刻合せ周期時
間より短い周期にて再度時刻合せ周期時間を設定する手
段と、当該子局にて新たに設定された時刻合せ周期時間
の一定時間前であるか否かを判定する判定手段と、この
判定手段により一定時間前であると判定されると直ちに
HDLC伝送手順に定義されるコントロールフィールド
中のUIコマンド及びアドレスフィールド中のグローバ
ルアドレスにて構成される時刻合せを行なう時刻同期デ
ータを孫局へ送信する手段と、前記再度設定された時刻
合せ周期時間には、実行開始を示す実行データを孫局へ
送信する手段を備え、 孫局では、子局からの前記予め送られてくる時刻同期デ
ータを入力処理する手段と、入力後、一旦他の処理を中
断し、子局からの前記一定時間後に送られてくる実行デ
ータが入力すると直ちに時刻合せに移行する手段を備え
たことを特徴とする遠方監視制御装置。
[Claims] Transmission protocol processing is performed according to the HDLC transmission procedure, and the control center (master station), relay station (slave station), and controlled station (grand station)
In a remote monitoring and control device that monitors and controls controlled equipment by transmitting information necessary for monitoring and control between the master station and A determination means for determining whether or not the time has come before the specified time adjustment cycle time;
means for transmitting to a slave station time synchronization data for time adjustment consisting of a command (Unnumbered Information) and a global address in an address field; means for transmitting execution data indicating the start of the configured execution to the slave station, and the slave station includes means for inputting and processing the time synchronization data sent in advance from the master station; and means to immediately shift to time adjustment upon input of execution data sent from the master station after the predetermined period of time; and after the time adjustment, the means is activated and counts the same fixed period time as the master clock in the master station. An internal timer that outputs an interrupt signal,
means for setting the time adjustment cycle time again using this internal counter at a shorter cycle than the time adjustment cycle time at the master station; A determination means for determining whether or not the time has passed, and a time composed of a UI command in the control field and a global address in the address field defined in the HDLC transmission procedure as soon as the determination means determines that it is a certain time ago. means for transmitting time synchronization data for synchronization to the substation; and means for transmitting execution data indicating the start of execution to the substation at the re-set time adjustment cycle time; means for inputting and processing the time synchronization data sent in advance, and after inputting, temporarily suspending other processing, and immediately transitioning to time adjustment when execution data sent from the slave station after the certain period of time is input; A remote monitoring and control device characterized by comprising means for:
JP1035371A 1989-02-15 1989-02-15 Remote monitor controller Pending JPH02214397A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1035371A JPH02214397A (en) 1989-02-15 1989-02-15 Remote monitor controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1035371A JPH02214397A (en) 1989-02-15 1989-02-15 Remote monitor controller

Publications (1)

Publication Number Publication Date
JPH02214397A true JPH02214397A (en) 1990-08-27

Family

ID=12440040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1035371A Pending JPH02214397A (en) 1989-02-15 1989-02-15 Remote monitor controller

Country Status (1)

Country Link
JP (1) JPH02214397A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0504907A2 (en) * 1991-03-22 1992-09-23 Mitsubishi Denki Kabushiki Kaisha Communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0504907A2 (en) * 1991-03-22 1992-09-23 Mitsubishi Denki Kabushiki Kaisha Communication system
EP0504907A3 (en) * 1991-03-22 1994-10-19 Mitsubishi Electric Corp Communication system

Similar Documents

Publication Publication Date Title
CN107147467B (en) A kind of TTE terminal system internal time synchronization system and method
JP3748204B2 (en) Periodic control synchronization system
US9323286B2 (en) Ad-hoc synchronization of industrial control networks
JPH08123520A (en) Driving control commanding device, system and method for controlling synchronism between plural driving control commanders
JPH02214397A (en) Remote monitor controller
JP2723281B2 (en) Remote monitoring and control device
JPH07280971A (en) Monitor control system with the synchronizing function
JPH07280970A (en) Monitoring control system with time synchronizing function
TWI735401B (en) Communication device, communication system, communication method and program
JP2815922B2 (en) Remote monitoring and control device
JPH06303684A (en) Remote supervisory controller
JP3085448B2 (en) Communications system
JPH09115083A (en) Remote supervisory and control equipment
JP2821091B2 (en) Remote monitoring control device and time synchronization device
JPH08328691A (en) Time synchronization device in remote supervisory controller
JPH0876822A (en) Drive control command device and synchronization control system and method for plural drive control command devices
JPH10164666A (en) Time synchronizing method
JPH07280969A (en) Monitoring control system with time synchronizing function
JPS63314995A (en) Time synchronizer in remote supervisory and controlling equipment
JPH02257734A (en) Master relay system in loop transmission line
JP3368691B2 (en) Data sampling synchronization method
JP2534274B2 (en) Cable core wire switching method
JP2847151B2 (en) Time division multiplex data transmission method
JPH03101347A (en) Remote control system
JPH0631249U (en) Synchronous control data transmission system