JP2723281B2 - Remote monitoring and control device - Google Patents

Remote monitoring and control device

Info

Publication number
JP2723281B2
JP2723281B2 JP1035372A JP3537289A JP2723281B2 JP 2723281 B2 JP2723281 B2 JP 2723281B2 JP 1035372 A JP1035372 A JP 1035372A JP 3537289 A JP3537289 A JP 3537289A JP 2723281 B2 JP2723281 B2 JP 2723281B2
Authority
JP
Japan
Prior art keywords
time
data
station
slave station
transmission
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
Application number
JP1035372A
Other languages
Japanese (ja)
Other versions
JPH02214398A (en
Inventor
猛 渡辺
裕 森山
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 JP1035372A priority Critical patent/JP2723281B2/en
Publication of JPH02214398A publication Critical patent/JPH02214398A/en
Application granted granted Critical
Publication of JP2723281B2 publication Critical patent/JP2723281B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Selective Calling Equipment (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、ハイレベル・データリンク制御手順(以下
HDLC伝送方式と称す)を用いて制御所(親局)及び被制
御所(子局)間で被制御機器の監視制御に必要な情報を
伝送し合う遠方監視制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial application field) The present invention relates to a high-level data link control procedure (hereinafter referred to as a "high-level data link control procedure").
The present invention relates to a remote monitoring control device that transmits information necessary for monitoring and controlling a controlled device between a control station (master station) and a controlled station (slave station) using an HDLC transmission method).

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

第4図はその概略構成例を示し、また第5図は親時計
から送出される割込信号の様子を示す。なお、第4図で
は親局と子局との関係を1対1の場合として示す。すな
わち、第4図において、親局Aは、メインマイクロプロ
セッサ41とこれとは別に伝送部に備えられたサブマイク
ロプロセッサ42とから構成されており、このサブマイク
ロプロセッサ42には親時計43から定周期(T)、例えば
1分毎に割込信号が入力される。
FIG. 4 shows an example of a schematic configuration thereof, and FIG. 5 shows a state of an interrupt signal transmitted from the master clock. In FIG. 4, the relationship between the master station and the slave stations is shown as a one-to-one case. That is, in FIG. 4, the master station A is composed of a main microprocessor 41 and a sub-microprocessor 42 provided separately from the main microprocessor 41. An interrupt signal is input at a period (T), for example, every minute.

一方、子局Bはメインマイクロプロゼンサ44と伝送部
に備えられたサブマイクロプロセッサ45とから構成され
る。
On the other hand, the slave station B comprises a main microprocessor 44 and a sub-microprocessor 45 provided in the transmission section.

上記構成の遠方監視制御装置において、親局と子局と
の間で時刻合せを行なうには、親時計43より親局Aのサ
ブマイクロプロセッサ42に定周期(T)、例えば1分毎
に割込信号が送出される。このとき、親局Aでは内部に
備えられているタイマ(図示せず)に予め設定された定
周期T0(T<T0)、例えば毎正時毎に前記親時計43より
入力される割込信号に従って時刻同期データを子局Bへ
送信するようにしている。第5図はその信号の様子は示
しており。T0が定周期毎に時刻同期データを送出して時
刻合せを開始すべき周期、……Tn-1,Tn,Tn+1,……は
時刻合せを開始すべき割込入力時点、……(In-1),
(In),(In+1),……は割込入力時点での親時計から
の割込入力信号である。
In the remote monitoring control apparatus having the above configuration, in order to set the time between the master station and the slave station, the master clock 43 sends the sub-microprocessor 42 of the master station A to the sub-microprocessor 42 at a fixed period (T), for example, every minute. Is sent. At this time, in the master station A, a fixed period T 0 (T <T 0 ) set in advance in a timer (not shown) provided therein, for example, a timer input from the master clock 43 every hour. The time synchronization data is transmitted to the slave station B according to the input signal. FIG. 5 shows the state of the signal. T 0 is a period in which time synchronization data is transmitted at regular intervals to start time adjustment.... T n−1 , T n , T n + 1 ,. , …… (I n-1 ),
(I n ), (I n + 1 ),... Are interrupt input signals from the master clock at the time of interrupt input.

そして、親局Aでは時刻合せ開始時点での割込入力信
号(In)が入力される一定時間(t0)前に現状の子局と
の伝送プロトコル処理を中断し、割込入力信号(In)待
ち状態に入る。この場合、親時計43からの割込信号はメ
インマイクロプロセッサ41とは別のサブマイクロプロセ
ッサ42に入力して割込入力信号に対する処理を専用に行
なうようにしている。したがってメインマイクロプロセ
ッサ41で親時計43からの割込信号に対する入力処理を行
なう場合に比して、遅れ時間(t1)の誤差要因を最小と
することができる。
Then, the master station A interrupts the current transmission protocol processing with the slave station a predetermined time (t 0 ) before the interrupt input signal (I n ) is input at the time of the start of the time adjustment, and the interrupt input signal ( I n ) Enter wait state. In this case, the interrupt signal from the master clock 43 is input to a sub-microprocessor 42 different from the main microprocessor 41, so that processing for the interrupt input signal is performed exclusively. Therefore, the error factor of the delay time (t 1 ) can be minimized as compared with the case where the main microprocessor 41 performs the input process for the interrupt signal from the master clock 43.

親局Aは割込入力信号の待ち状態に入ると、HDLC伝送
手順で定義されたフラグ(01111110の8ビットである)
の伝送を開始する。したがって、非同期型の変復調器を
用いる場合でもビット同期の確立は可能である。
When the master station A enters the waiting state for the interrupt input signal, the flag defined by the HDLC transmission procedure (the 8 bits of 01111110) is used.
Start transmission. Therefore, it is possible to establish bit synchronization even when using an asynchronous modem.

次にフラグの伝送終了時刻合せ開始割込時点(Tn)に
おいて、割込信号がサブマイクロプロセッサ42に入力さ
れると、親局Aは時刻同期データ送信処理へ移行する。
この時刻同期データが送信処理され子局Bに対して時刻
合せが行なわれる。
Next, when an interrupt signal is input to the sub-microprocessor 42 at the transmission end time adjustment start time (T n ) of the flag, the master station A shifts to time synchronous data transmission processing.
The time synchronization data is transmitted, and the time is adjusted for the slave station B.

第6図は親局Aでの割込信号の入力処理から子局Bで
の割込処理までの様子と伝送データの状態を示してお
り、t1は親局割込信号の入力処理に対する遅れ時間(伝
送データ状態は伝送プロトコル)、tuは割込受付け待ち
状態での0〜8ビットの範囲での不定遅れ時間(伝送状
態はフラグ伝送)、t2は時刻同期データ送信処理時間
(伝送状態は時刻同期データの伝送)、t3はモデムの通
搬遅れ等も含めた時刻同期データの伝送路遅れ時間、t4
は子局Bでの時刻同期データが割込入力され、時刻合せ
が完了するまでの子局割込処理遅れ時間である。
Figure 6 shows the state of a state with the transmission data to the interrupt processing in the input processing slave station B of the interrupt signal in the parent station A, t 1 is delayed with respect to the input process of the master station interrupt signal time (transmission data state transmission protocol), t u is undefined delay time (transmission state flag transmitted) at 0-8 in the range of bits in the interrupt reception wait state, t 2 is the time synchronous data transmission processing time (transmission state of time synchronization data transmission), t 3 is a transmission path delay time of the time synchronization data, including the Tsu搬delay in the modem, t 4
Is the slave station interrupt processing delay time until the time synchronization data at the slave station B is interrupted and input and the time adjustment is completed.

以上(t1),(tu),(t2),(t3),(t4)までの
時間遅れの加算値が時刻データ補正値(Δt)となり、
従来子局では(Δt)の値を受信した時刻データに加算
して時刻合せを行なっていた。
The added value of the time delay until (t 1 ), (t u ), (t 2 ), (t 3 ), and (t 4 ) becomes the time data correction value (Δt),
Conventionally, in the slave station, the time is adjusted by adding the value of (Δt) to the received time data.

さらに、このような構成の遠方監視制御装置において
親局と子局との間で時刻合せを行なうための伝送フォー
マットは、第7図に示すようなHDLC伝送手順フォーマッ
トとなる。ここで情報フィールド中には、第4図に示し
た子局Bに対応した局アドレスと時刻合せのための時刻
同期データが含まれる。
Further, in the remote monitoring control apparatus having such a configuration, a transmission format for performing time adjustment between the master station and the slave station is an HDLC transmission procedure format as shown in FIG. Here, the information field includes the station address corresponding to the slave station B shown in FIG. 4 and time synchronization data for time adjustment.

(発明が解決しようとする課題) このように従来の遠方監視制御装置における親局から
子局へ時刻データを伝送して時刻合せを行なう方式にお
いては、受信バッファのオーバーフロー等、何らかの要
因で子局において時刻同期データが受け取れなかった場
合には、HDLC伝送手順に従って親局に対して再送要求を
行ない、親局からは再び前記時刻同期データが送られて
くることになる。
(Problems to be Solved by the Invention) As described above, in the conventional method of transmitting time data from the master station to the slave station and adjusting the time in the remote monitoring and control apparatus, the slave station may be reset for some reason such as an overflow of the reception buffer. When the time synchronization data is not received in the above, a retransmission request is made to the master station according to the HDLC transmission procedure, and the time synchronization data is sent again from the master station.

この場合、仮に1回の再送で子局Bにおける時刻同期
データの受信がうまく行なわれても、その間の再送手順
による新たな不定遅れ時間(tr)により、通常の時刻デ
ータ補正値(Δt)では、補正ができなくなるという欠
点がある。
In this case, even if the time synchronization data is successfully received in the slave station B by one retransmission, the normal time data correction value (Δt) is obtained by a new indefinite delay time (t r ) due to the retransmission procedure during that time. However, there is a disadvantage that correction cannot be performed.

さらに、この場合の再送要求は、システムで定義する
HDLC伝送手順の再送要求回数まで最大行なわれ、時刻の
ずれが益々増大する可能性も存在している。また子局B
での時刻同期データが割込入力され、時刻合せが完了す
るまでの子局割込処理遅れ時間(t4)は、子局Bでの処
理状態に伴なう割込処理へ移行するまでの不定遅れ時間
要因を含む。
Further, the retransmission request in this case is defined by the system.
It is performed up to the number of retransmission requests in the HDLC transmission procedure, and there is a possibility that the time lag will further increase. In addition, slave station B
The slave station interrupt processing delay time (t 4 ) until the time synchronization data is interrupted and input and the time adjustment is completed is determined by the time until the transition to the interrupt processing accompanying the processing state in the slave station B. Includes variable delay factor.

本発明は上記事情に鑑みてなされたものであり、子局
での時刻合せを行なう際の精度を向上させることができ
る遠方監視制御装置を提供することを目的としている。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a remote monitoring control device that can improve the accuracy of time setting in a slave station.

[発明の構成] (課題を解決するための手段) 本発明は上記の目的を達成するため、HDLC伝送手段に
従って伝送プロトコル処理を行ない、制御所(親局)と
被制御所(子局)との間で監視制御に必要な情報を伝送
し合って被制御機器を監視制御する遠方監視制御装置に
おいて、親局では、親時計から定周期毎に送出される割
込信号を取り込んで、その割込信号が時刻合わせを開始
すべき時刻であると認識する手段と、前記時刻合わせ開
始時刻後の毎正時の所定時間前に、時刻合わせを開始す
べき信号を認識したとき、前記HDLC手順に定義されるコ
ントロールフィールド中のUI(Unnumbered Informatio
n)コマンドにて構成される時刻合わせのための時刻周
期データを生成すると共に、現状の子局との送伝プロト
コル処理を中断して前記時刻周期データを送信する手段
を備え、子局では、親局から送られてくる時刻同期デー
タを受信したとき、当該データがUIコマンドで構成され
た時刻同期データであるか否かを判定する手段と、前記
判定結果がUIコマンドによるものであると判定されれば
受信に失敗した場合であっても親局に対して再送要求を
することなく当該受信データを破棄する手段と前記判定
結果がUIコマンドによるものでないと判定されたとき当
該受信データはデータエラーとして処理する手段とを備
えた。
[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, the present invention performs transmission protocol processing in accordance with HDLC transmission means, and controls a control station (master station) and a controlled station (slave station). In a remote monitoring control device that monitors and controls a controlled device by transmitting information necessary for monitoring control between the master station, the master station fetches an interrupt signal sent from the master clock at regular intervals, and Means for recognizing that the input signal is a time to start time adjustment, and when the signal to start time adjustment is recognized a predetermined time before every hour after the time adjustment start time, UI (Unnumbered Informatio) in defined control field
n) means for generating time cycle data for time adjustment configured by a command, and transmitting the time cycle data by interrupting the transmission protocol processing with the current slave station; Means for determining whether the data is time-synchronized data composed of a UI command when receiving time-synchronized data sent from the master station, and determining that the determination result is based on the UI command If the reception fails, the means for discarding the received data without making a retransmission request to the master station even if the reception fails, and when the determination result is determined not to be based on the UI command, the received data is the data. Means for processing as an error.

(作用) 親局では親時計からの時刻情報が入力部11を介してメ
インマイクロプロセッサに入力されると、その時刻情報
が時刻合せを開始すべき時刻であるかを判定する。ここ
で時刻合せを開始すべき時刻であると判定されると伝送
部13に対してその旨を知らせる。伝送部13は次に親時計
から時刻合せを開始すべき信号が出力されると、UIコマ
ンドにて構成される時刻同期データを生成する。そして
時刻合せ開始時点において割込入力信号(In)が入力さ
れる一定時間(t0)前であることが判定されると、現状
の子局との送信プロトコル処理を中断し、HDLC伝送手順
で定義れたフラグの伝送を開始する。そして割込信号の
入力後、伝送部13は時刻同期データの送信処理を行な
う。
(Operation) When the time information from the master clock is input to the main microprocessor via the input unit 11, the master station determines whether the time information is the time to start the time adjustment. Here, when it is determined that it is time to start the time adjustment, the transmission unit 13 is notified of that. Next, when a signal to start time adjustment is output from the master clock, the transmission unit 13 generates time synchronization data constituted by a UI command. If it is determined at the start of the time adjustment that the current time is before a predetermined time (t 0 ) at which the interrupt input signal (I n ) is input, the current transmission protocol processing with the slave station is interrupted, and the HDLC transmission procedure is performed. Start transmission of the flag defined in. After the input of the interrupt signal, the transmission unit 13 performs a transmission process of the time synchronization data.

次に、子局では時刻同期データの割込処理を行ない、
これがUIコマンドで構成された時刻同期データであるか
否かを判定し、UIコマンドであると判定されると、受信
に失敗した場合であっても、再送要求はせずに受信デー
タを破棄する。
Next, the slave station performs the time synchronization data interrupt processing,
Determine whether this is time-synchronized data composed of UI commands, and if it is determined to be a UI command, discard the received data without requesting retransmission even if reception fails .

(実施例) 以下図面を参照して実施例を説明する。(Example) Hereinafter, an example is described with reference to drawings.

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

第1図において、10は親時計であって子局Bに対して
時刻合せを行なうために定周期(T)毎に割込信号を発
生する。また親局Aは入力部11,メインマイクロプロセ
ッサ12,伝送部13から構成され、入力部11,メインマイク
ロプロセッサ12及び伝送部13は夫々内部バスで接続され
ている。以下に各構成要素の機能を説明する。
In FIG. 1, reference numeral 10 denotes a master clock, which generates an interrupt signal at regular intervals (T) in order to set the time for the slave station B. The master station A includes an input unit 11, a main microprocessor 12, and a transmission unit 13. The input unit 11, the main microprocessor 12, and the transmission unit 13 are connected to each other via an internal bus. The function of each component will be described below.

入力部11は親時計10からの時刻情報を取り込み、これ
を内部バスを通してメインマイクロプロセッサ12に受け
渡す。メインマイクロプロセッサ12は、この入力部11よ
り時刻情報を受け取ると、子局に対する時刻合せのため
の割込入力信号の認識を行なう機能を備えており、例え
ばT=1分,T0=1時間とし、毎正時毎に時刻合せを行
なう場合、メインマイクロプロセッサ12は、毎正時1分
前を認識するとその旨を伝送部13に知らせるようになっ
ている。伝送部13はHDLC手順の伝送プロトコル等の伝送
処理を行なうもので、親時計10から定周期毎に送出され
る割込信号が入力されるようになっており、サブマイク
ロプロセッサを備えている。そして、この伝送部13は、
メインマイクロプロセッサ12から毎正時1分前の信号が
入力されると、次に親時計10から出される割込入力信号
が時刻合せを開始すべき信号であることを認識すると同
時に、HDLC伝送手順に定義されるコントロールフィール
ド中のUI(Unnumberd Information)コマンドにて構成
される時刻合せのための時刻同期データを生成する。
The input unit 11 takes in the time information from the master clock 10 and transfers it to the main microprocessor 12 through the internal bus. When the main microprocessor 12 receives the time information from the input unit 11, it has a function of recognizing an interrupt input signal for time setting for the slave station. For example, T = 1 minute, T 0 = 1 hour When the time is adjusted every hour, when the main microprocessor 12 recognizes one minute before the hour, the main microprocessor 12 notifies the transmission unit 13 of the fact. The transmission unit 13 performs a transmission process such as a transmission protocol of the HDLC procedure, receives an interrupt signal transmitted from the master clock 10 at regular intervals, and includes a sub-microprocessor. And this transmission unit 13
When a signal one minute before the hour is input from the main microprocessor 12, it recognizes that the next interrupt input signal to be output from the master clock 10 is a signal to start time adjustment, and, at the same time, recognizes the HDLC transmission procedure. Generates time synchronization data for time adjustment configured by a UI (Unnumbered Information) command in the control field defined in the above.

さらに、この伝送部13は、時刻合せ開始時点での割込
入力信号(In)が入力される一定時間(t0)前に、現状
の子局との伝送プロトコル処理を中断してHDLC伝送手順
で定義されたフラグの伝送を開始し、割込入力信号
(In)待ち状態に入る機能を有している。
Further, the transmission unit 13 interrupts the current transmission protocol processing with the slave station before a predetermined time (t 0 ) at which the interrupt input signal (I n ) at the time of the start of the time adjustment is input, and performs the HDLC transmission. It has the function of starting transmission of the flag defined in the procedure and entering a state of waiting for an interrupt input signal (I n ).

一方、子局Bは第4図に示す従来構成と同じである。
即ち、伝送部15にあるサブマイクロプロセッサは親局か
らの上記時刻同期データを割込みによって入力処理す
る。但し、子局Bにおいて伝送部15は、受信バッファの
オーバーフロー等何らかの要因で時刻同期データが受け
取れなかった場合には、下記の入力処理を行なう手段を
備える。即ち、受信した時刻同期データは、UIコマンド
にて構成されているため、上記時刻同期データの受信に
失敗した場合でも、HDLC伝送手順に従い、再送要求には
移行せず受信データの破棄を行なう。
On the other hand, the slave station B has the same configuration as the conventional configuration shown in FIG.
That is, the sub-microprocessor in the transmission unit 15 processes the time synchronization data from the master station by interruption. However, in the slave station B, the transmission unit 15 includes means for performing the following input processing when time synchronization data cannot be received due to some reason such as overflow of the reception buffer. That is, since the received time synchronization data is composed of UI commands, even if the reception of the time synchronization data fails, the received data is discarded according to the HDLC transmission procedure without shifting to the retransmission request.

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

先ず、ステップS21にて、親時計10からの時刻情報が
入力部11を介してメインマイクロプロセッサ12に入力さ
れると、その時刻情報が時刻合せを開始すべき時刻、例
えば毎正時1分前か否かを判定する。ここで時刻合せを
行なうべき時刻であることが判定されると、ステップS2
2において、伝送部13に対してその旨を知らせる。ステ
ップS23において伝送部13は、次に親時計10から出力さ
れる割込信号(In)が、時刻合せを開始すべき信号であ
ることを認識すると同時に、UIコマンドにて構成される
時刻同期データを生成する。ステップS23において時刻
合せ開始時点での割込入力信号(In)が入力される一定
時間(t0)前であることが判定されると、ステップS25
にて現状の子局との伝送プロトコル処理を中断し、HDLC
伝送手順で定義されたフラグの伝送を開始する。ステッ
プS26にて割込信号(In)の入力が認識されると、ステ
ップS27にて、伝送部13は時刻同期データの送信処理を
行なう。このような処理を経て時刻同期データは伝送路
を介して親局Aから子局Bへ送られる。
First, in step S21, when the time information from the master clock 10 is input to the main microprocessor 12 via the input unit 11, the time information is used to start the time adjustment, for example, one minute before the hour. It is determined whether or not. If it is determined that it is time to set the time, step S2
In 2, the transmission unit 13 is notified of the fact. Step transmitting unit 13 in S23, the next interrupt signal which is output from the master clock 10 (I n) is, at the same time recognizes that it is a signal to start the time-setting, and time synchronization at UI command Generate data. If it is determined in step S23 that the current time is before a fixed time (t 0 ) before the interrupt input signal (I n ) is input at the time of starting the time adjustment, step S25 is performed.
Suspends the transmission protocol processing with the current slave station at
Start transmission of the flag defined in the transmission procedure. When the input of the interrupt signal (I n ) is recognized in step S26, in step S27, the transmission unit 13 performs a process of transmitting time synchronous data. Through such processing, the time synchronization data is sent from the master station A to the slave station B via the transmission path.

一方、子局BではステップS28にて時刻同期データの
割込処理を行なう。ステップS28にてUIコマンドで構成
された時刻同期データであるかどうか判定し、ステップ
S29にてUIコマンドであることが判定されると、ステッ
プS30にて受信に失敗した場合でも再送要求へは移行せ
ずステップS31にて受信データの破棄を行なう。ステッ
プS29にてUIコマンドでない時はステップS32にてデータ
エラーとしてエラー処理される。
On the other hand, the slave station B performs an interrupt process of the time synchronization data in step S28. In step S28, it is determined whether or not the time synchronization data is configured by the UI command,
If it is determined in S29 that the received command is a UI command, the received data is discarded in step S31 without shifting to the retransmission request even if the reception fails in step S30. If it is not a UI command in step S29, an error processing is performed as a data error in step S32.

上記実施例からも明らかなように、子局における時刻
同期データの再送要求へは移行しないので、再送手順に
伴なう新たな不定遅れ時間(tr)を除去することがで
き、子局での時刻合せを行なう場合の精度を向上させる
ことができる。
As is clear from the above embodiment, since the process does not shift to the retransmission request of the time synchronization data in the slave station, a new indefinite delay time (t r ) accompanying the retransmission procedure can be eliminated, and Can be improved when the time is adjusted.

前記実施例では時刻同期データはUIコマンドにて構成
されている場合について説明したが、これに限定される
ものではなく、アドレスフィールドをグローバルアドレ
スにしてもよい。これにより、第3図に示すような親局
と子局の関係が1対nの場合の構成でも、一斉同報的に
データを送信することができ、各子局は、同時に時刻同
期データを取り込むので、子局間誤差の精度を向上させ
ることができる。
In the above embodiment, the case where the time synchronization data is constituted by the UI command has been described. However, the present invention is not limited to this, and the address field may be a global address. Thus, even in a configuration in which the relationship between the master station and the slave stations is 1: n as shown in FIG. 3, data can be transmitted simultaneously and simultaneously, and each slave station can simultaneously transmit the time synchronization data. Since the data is captured, the accuracy of the error between slave stations can be improved.

その他の親、子局におけく内部処理は、前記実施例と
全く同様である。最後に、再送要求処理を行なわないこ
とによる、データの欠損に対しては、例えば毎正時行な
っていた時刻同期データの送信を30分毎に行なうといっ
た方法にて対処可能である。
The other internal processes in the parent and slave stations are exactly the same as in the above embodiment. Finally, data loss due to not performing the retransmission request process can be dealt with by a method of transmitting the time synchronization data, which has been performed every hour, every 30 minutes, for example.

上記実施例からも明らかなように、子局において、親
局からの時刻同期データを予め入力処理した後、一旦他
の処理を中断し、次の時刻合せの実行開始に備えるた
め、子局割込処理遅れ時間(t4)に含まれる不定遅れ時
間要因を除去することができ、子局での時刻合せを行な
う場合の精度を向上させることができる。
As is clear from the above-described embodiment, in the slave station, after inputting the time synchronization data from the master station in advance, temporarily suspending other processing and preparing for the start of execution of the next time adjustment. The factor of the indefinite delay time included in the delay time (t 4 ) can be eliminated, and the accuracy of time adjustment in the slave station can be improved.

[発明の効果] 以上述べたように本発明によれば、時刻同期データを
伝送する場合、再送手順に伴なう不定遅れ時間要因や、
子局における割込処理遅れ時間に含まれる不定遅れ時間
要因を除去するようにしたので、子局に対して時刻合せ
を行なう際の精度を向上させることの可能な遠方監視制
御装置を提供することができる。
[Effects of the Invention] As described above, according to the present invention, when time-synchronous data is transmitted, an indefinite delay factor accompanying a retransmission procedure,
An object of the present invention is to provide a remote monitoring control device capable of improving the accuracy of time setting for a slave station by removing an indefinite delay factor included in an interrupt processing delay time in the slave station. Can be.

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

第1図は本発明による遠方監視制御装置の一実施例を示
す構成図、第2図は同実施例の作用を説明するためのフ
ローチャート、第3図は本発明の他の実施例を示す構成
図、第4図は従来の遠方監視制御装置の一例を示す構成
図、第5図は親時計からの割込入力信号の様子を示す
図、第6図は従来の各処理における時間遅れ要因と送信
データの状態を示す図、第7図はHDLC伝送手順のフォー
マットを示す図である。 1…親局、B…子局、10…親時計、11…入力部 12…親局メインマイクロプロセッサ、13…親局伝送部 14…子局メインマイクロプロセッサ、15…子局伝送部
FIG. 1 is a block diagram showing an embodiment of a remote monitoring control apparatus according to the present invention, FIG. 2 is a flowchart for explaining the operation of the embodiment, and FIG. 3 is a configuration showing another embodiment of the present invention. FIG. 4, FIG. 4 is a block diagram showing an example of a conventional remote monitoring control device, FIG. 5 is a diagram showing the state of an interrupt input signal from a master clock, and FIG. FIG. 7 is a diagram showing a state of transmission data, and FIG. 7 is a diagram showing a format of an HDLC transmission procedure. DESCRIPTION OF SYMBOLS 1 ... master station, B ... slave station, 10 ... master clock, 11 ... input part 12 ... master station main microprocessor, 13 ... master station transmission part 14 ... slave station main microprocessor, 15 ... slave station transmission part

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】HDLC伝送手段に従って伝送プロトコル処理
を行ない、制御所(親局)と被制御所(子局)との間で
監視制御に必要な情報を伝送し合って被制御機器を監視
制御する遠方監視制御装置において、親局では、親時計
から定周期毎に送出される割込信号を取り込んで、その
割込信号が時刻合わせを開始すべき時刻であると認識す
る手段と、前記時刻合わせ開始時刻後の毎正時の所定時
間前に、時刻合わせを開始すべき信号を認識したとき、
前記HDLC手順に定義されるコントロールフィールド中の
UI(Unnumbered Information)コマンドにて構成される
時刻合わせのための時刻同期データを生成すると共に、
現状の子局との伝送プロトコル処理を中断して前記時刻
同期データを送信する手段を備え、子局では、親局から
送られてくる時刻同期データを受信したとき、当該デー
タがUIコマンドで構成された時刻同期データであるか否
かを判定する手段と、前記判定結果がUIコマンドによる
ものであると判定されれば受信に失敗した場合であって
も親局に対して再送要求をすることなく当該受信データ
を破棄する手段と、前記判定結果がUIコマンドによるも
のでないと判定されたとき当該受信データはデータエラ
ーとして処理する手段とを備えたことを特徴とする遠方
監視制御装置。
1. A transmission protocol process is performed in accordance with HDLC transmission means, and information necessary for monitoring and control is transmitted between a control station (master station) and a controlled station (slave station) to monitor and control a controlled device. In the remote monitoring control device, the master station captures an interrupt signal transmitted from the master clock at regular intervals, and recognizes that the interrupt signal is a time to start time adjustment. When a signal to start time adjustment is recognized a predetermined time before every hour after the adjustment start time,
In the control field defined in the HDLC procedure
In addition to generating time synchronization data for time adjustment consisting of UI (Unnumbered Information) commands,
A means for interrupting the current transmission protocol processing with the slave station and transmitting the time synchronization data is provided. When the slave station receives the time synchronization data sent from the master station, the data is configured by a UI command. Means for determining whether or not the received time-synchronized data is obtained, and, if the result of the determination is determined to be based on a UI command, requesting a retransmission to the master station even if reception fails. A means for discarding the received data, and a means for processing the received data as a data error when it is determined that the determination result is not based on a UI command.
JP1035372A 1989-02-15 1989-02-15 Remote monitoring and control device Expired - Fee Related JP2723281B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1035372A JP2723281B2 (en) 1989-02-15 1989-02-15 Remote monitoring and control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1035372A JP2723281B2 (en) 1989-02-15 1989-02-15 Remote monitoring and control device

Publications (2)

Publication Number Publication Date
JPH02214398A JPH02214398A (en) 1990-08-27
JP2723281B2 true JP2723281B2 (en) 1998-03-09

Family

ID=12440068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1035372A Expired - Fee Related JP2723281B2 (en) 1989-02-15 1989-02-15 Remote monitoring and control device

Country Status (1)

Country Link
JP (1) JP2723281B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3442685B2 (en) * 1999-05-14 2003-09-02 三菱電機株式会社 Remote monitoring and control system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57145461A (en) * 1981-03-05 1982-09-08 Sumitomo Electric Ind Ltd Communication control system
JPS63314995A (en) * 1987-06-18 1988-12-22 Toshiba Corp Time synchronizer in remote supervisory and controlling equipment

Also Published As

Publication number Publication date
JPH02214398A (en) 1990-08-27

Similar Documents

Publication Publication Date Title
JP2723281B2 (en) Remote monitoring and control device
JP3085448B2 (en) Communications system
JPH06303684A (en) Remote supervisory controller
JP2815922B2 (en) Remote monitoring and control device
JP2821091B2 (en) Remote monitoring control device and time synchronization device
JP2534274B2 (en) Cable core wire switching method
JPH10164666A (en) Time synchronizing method
JPS60236088A (en) Synchronizing system of network
JPH0160853B2 (en)
JP2821162B2 (en) Data line termination equipment
JPH0485654A (en) Control method for microprocessor
JP3050155B2 (en) Printing equipment
JPH02128544A (en) Transmission master determining system
JPH0715419A (en) Controller for device
JPS63314995A (en) Time synchronizer in remote supervisory and controlling equipment
JPH11287878A (en) Time synchronizing method
JPS63185246A (en) Communication repeating system
JPH06253032A (en) Time synchronization processing method for distribution information processing system
JPH02257734A (en) Master relay system in loop transmission line
JPH04192746A (en) Device and method for transmitting data
JPH09270783A (en) Frame synchronization device
JPH0418738B2 (en)
JPH0654036A (en) Remote supervisory controller
JPH0435242A (en) Start-stop synchronization type serial communication system
JPS62199166A (en) Data communication equipment

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees